Daily bump.
[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 12143 "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 12249 "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 gnu*)
14985 version_type=linux
14986 need_lib_prefix=no
14987 need_version=no
14988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14989 soname_spec='${libname}${release}${shared_ext}$major'
14990 shlibpath_var=LD_LIBRARY_PATH
14991 hardcode_into_libs=yes
14992 ;;
14993
14994 haiku*)
14995 version_type=linux
14996 need_lib_prefix=no
14997 need_version=no
14998 dynamic_linker="$host_os runtime_loader"
14999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15000 soname_spec='${libname}${release}${shared_ext}$major'
15001 shlibpath_var=LIBRARY_PATH
15002 shlibpath_overrides_runpath=yes
15003 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15004 hardcode_into_libs=yes
15005 ;;
15006
15007 hpux9* | hpux10* | hpux11*)
15008 # Give a soname corresponding to the major version so that dld.sl refuses to
15009 # link against other versions.
15010 version_type=sunos
15011 need_lib_prefix=no
15012 need_version=no
15013 case $host_cpu in
15014 ia64*)
15015 shrext_cmds='.so'
15016 hardcode_into_libs=yes
15017 dynamic_linker="$host_os dld.so"
15018 shlibpath_var=LD_LIBRARY_PATH
15019 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15021 soname_spec='${libname}${release}${shared_ext}$major'
15022 if test "X$HPUX_IA64_MODE" = X32; then
15023 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15024 else
15025 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15026 fi
15027 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15028 ;;
15029 hppa*64*)
15030 shrext_cmds='.sl'
15031 hardcode_into_libs=yes
15032 dynamic_linker="$host_os dld.sl"
15033 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15034 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15038 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15039 ;;
15040 *)
15041 shrext_cmds='.sl'
15042 dynamic_linker="$host_os dld.sl"
15043 shlibpath_var=SHLIB_PATH
15044 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15046 soname_spec='${libname}${release}${shared_ext}$major'
15047 ;;
15048 esac
15049 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15050 postinstall_cmds='chmod 555 $lib'
15051 # or fails outright, so override atomically:
15052 install_override_mode=555
15053 ;;
15054
15055 interix[3-9]*)
15056 version_type=linux
15057 need_lib_prefix=no
15058 need_version=no
15059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15060 soname_spec='${libname}${release}${shared_ext}$major'
15061 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15062 shlibpath_var=LD_LIBRARY_PATH
15063 shlibpath_overrides_runpath=no
15064 hardcode_into_libs=yes
15065 ;;
15066
15067 irix5* | irix6* | nonstopux*)
15068 case $host_os in
15069 nonstopux*) version_type=nonstopux ;;
15070 *)
15071 if test "$lt_cv_prog_gnu_ld" = yes; then
15072 version_type=linux
15073 else
15074 version_type=irix
15075 fi ;;
15076 esac
15077 need_lib_prefix=no
15078 need_version=no
15079 soname_spec='${libname}${release}${shared_ext}$major'
15080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15081 case $host_os in
15082 irix5* | nonstopux*)
15083 libsuff= shlibsuff=
15084 ;;
15085 *)
15086 case $LD in # libtool.m4 will add one of these switches to LD
15087 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15088 libsuff= shlibsuff= libmagic=32-bit;;
15089 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15090 libsuff=32 shlibsuff=N32 libmagic=N32;;
15091 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15092 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15093 *) libsuff= shlibsuff= libmagic=never-match;;
15094 esac
15095 ;;
15096 esac
15097 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15098 shlibpath_overrides_runpath=no
15099 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15100 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15101 hardcode_into_libs=yes
15102 ;;
15103
15104 # No shared lib support for Linux oldld, aout, or coff.
15105 linux*oldld* | linux*aout* | linux*coff*)
15106 dynamic_linker=no
15107 ;;
15108
15109 # This must be Linux ELF.
15110
15111 # uclinux* changes (here and below) have been submitted to the libtool
15112 # project, but have not yet been accepted: they are GCC-local changes
15113 # for the time being. (See
15114 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15115 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15116 version_type=linux
15117 need_lib_prefix=no
15118 need_version=no
15119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15120 soname_spec='${libname}${release}${shared_ext}$major'
15121 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15122 shlibpath_var=LD_LIBRARY_PATH
15123 shlibpath_overrides_runpath=no
15124
15125 # Some binutils ld are patched to set DT_RUNPATH
15126 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 lt_cv_shlibpath_overrides_runpath=no
15130 save_LDFLAGS=$LDFLAGS
15131 save_libdir=$libdir
15132 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15133 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15134 if test x$gcc_no_link = xyes; then
15135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15136 fi
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139
15140 int
15141 main ()
15142 {
15143
15144 ;
15145 return 0;
15146 }
15147 _ACEOF
15148 if ac_fn_cxx_try_link "$LINENO"; then :
15149 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15150 lt_cv_shlibpath_overrides_runpath=yes
15151 fi
15152 fi
15153 rm -f core conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15155 LDFLAGS=$save_LDFLAGS
15156 libdir=$save_libdir
15157
15158 fi
15159
15160 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15161
15162 # This implies no fast_install, which is unacceptable.
15163 # Some rework will be needed to allow for fast_install
15164 # before this can be enabled.
15165 hardcode_into_libs=yes
15166
15167 # Append ld.so.conf contents to the search path
15168 if test -f /etc/ld.so.conf; then
15169 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' ' '`
15170 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15171 fi
15172
15173 # We used to test for /lib/ld.so.1 and disable shared libraries on
15174 # powerpc, because MkLinux only supported shared libraries with the
15175 # GNU dynamic linker. Since this was broken with cross compilers,
15176 # most powerpc-linux boxes support dynamic linking these days and
15177 # people can always --disable-shared, the test was removed, and we
15178 # assume the GNU/Linux dynamic linker is in use.
15179 dynamic_linker='GNU/Linux ld.so'
15180 ;;
15181
15182 netbsd*)
15183 version_type=sunos
15184 need_lib_prefix=no
15185 need_version=no
15186 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15189 dynamic_linker='NetBSD (a.out) ld.so'
15190 else
15191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15192 soname_spec='${libname}${release}${shared_ext}$major'
15193 dynamic_linker='NetBSD ld.elf_so'
15194 fi
15195 shlibpath_var=LD_LIBRARY_PATH
15196 shlibpath_overrides_runpath=yes
15197 hardcode_into_libs=yes
15198 ;;
15199
15200 newsos6)
15201 version_type=linux
15202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203 shlibpath_var=LD_LIBRARY_PATH
15204 shlibpath_overrides_runpath=yes
15205 ;;
15206
15207 *nto* | *qnx*)
15208 version_type=qnx
15209 need_lib_prefix=no
15210 need_version=no
15211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212 soname_spec='${libname}${release}${shared_ext}$major'
15213 shlibpath_var=LD_LIBRARY_PATH
15214 shlibpath_overrides_runpath=no
15215 hardcode_into_libs=yes
15216 dynamic_linker='ldqnx.so'
15217 ;;
15218
15219 openbsd*)
15220 version_type=sunos
15221 sys_lib_dlsearch_path_spec="/usr/lib"
15222 need_lib_prefix=no
15223 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15224 case $host_os in
15225 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15226 *) need_version=no ;;
15227 esac
15228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15229 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15230 shlibpath_var=LD_LIBRARY_PATH
15231 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15232 case $host_os in
15233 openbsd2.[89] | openbsd2.[89].*)
15234 shlibpath_overrides_runpath=no
15235 ;;
15236 *)
15237 shlibpath_overrides_runpath=yes
15238 ;;
15239 esac
15240 else
15241 shlibpath_overrides_runpath=yes
15242 fi
15243 ;;
15244
15245 os2*)
15246 libname_spec='$name'
15247 shrext_cmds=".dll"
15248 need_lib_prefix=no
15249 library_names_spec='$libname${shared_ext} $libname.a'
15250 dynamic_linker='OS/2 ld.exe'
15251 shlibpath_var=LIBPATH
15252 ;;
15253
15254 osf3* | osf4* | osf5*)
15255 version_type=osf
15256 need_lib_prefix=no
15257 need_version=no
15258 soname_spec='${libname}${release}${shared_ext}$major'
15259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260 shlibpath_var=LD_LIBRARY_PATH
15261 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15262 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15263 ;;
15264
15265 rdos*)
15266 dynamic_linker=no
15267 ;;
15268
15269 solaris*)
15270 version_type=linux
15271 need_lib_prefix=no
15272 need_version=no
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec='${libname}${release}${shared_ext}$major'
15275 shlibpath_var=LD_LIBRARY_PATH
15276 shlibpath_overrides_runpath=yes
15277 hardcode_into_libs=yes
15278 # ldd complains unless libraries are executable
15279 postinstall_cmds='chmod +x $lib'
15280 ;;
15281
15282 sunos4*)
15283 version_type=sunos
15284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15285 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15286 shlibpath_var=LD_LIBRARY_PATH
15287 shlibpath_overrides_runpath=yes
15288 if test "$with_gnu_ld" = yes; then
15289 need_lib_prefix=no
15290 fi
15291 need_version=yes
15292 ;;
15293
15294 sysv4 | sysv4.3*)
15295 version_type=linux
15296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297 soname_spec='${libname}${release}${shared_ext}$major'
15298 shlibpath_var=LD_LIBRARY_PATH
15299 case $host_vendor in
15300 sni)
15301 shlibpath_overrides_runpath=no
15302 need_lib_prefix=no
15303 runpath_var=LD_RUN_PATH
15304 ;;
15305 siemens)
15306 need_lib_prefix=no
15307 ;;
15308 motorola)
15309 need_lib_prefix=no
15310 need_version=no
15311 shlibpath_overrides_runpath=no
15312 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15313 ;;
15314 esac
15315 ;;
15316
15317 sysv4*MP*)
15318 if test -d /usr/nec ;then
15319 version_type=linux
15320 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15321 soname_spec='$libname${shared_ext}.$major'
15322 shlibpath_var=LD_LIBRARY_PATH
15323 fi
15324 ;;
15325
15326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15327 version_type=freebsd-elf
15328 need_lib_prefix=no
15329 need_version=no
15330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15331 soname_spec='${libname}${release}${shared_ext}$major'
15332 shlibpath_var=LD_LIBRARY_PATH
15333 shlibpath_overrides_runpath=yes
15334 hardcode_into_libs=yes
15335 if test "$with_gnu_ld" = yes; then
15336 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15337 else
15338 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15339 case $host_os in
15340 sco3.2v5*)
15341 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15342 ;;
15343 esac
15344 fi
15345 sys_lib_dlsearch_path_spec='/usr/lib'
15346 ;;
15347
15348 tpf*)
15349 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15350 version_type=linux
15351 need_lib_prefix=no
15352 need_version=no
15353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15354 shlibpath_var=LD_LIBRARY_PATH
15355 shlibpath_overrides_runpath=no
15356 hardcode_into_libs=yes
15357 ;;
15358
15359 uts4*)
15360 version_type=linux
15361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15362 soname_spec='${libname}${release}${shared_ext}$major'
15363 shlibpath_var=LD_LIBRARY_PATH
15364 ;;
15365
15366 *)
15367 dynamic_linker=no
15368 ;;
15369 esac
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15371 $as_echo "$dynamic_linker" >&6; }
15372 test "$dynamic_linker" = no && can_build_shared=no
15373
15374 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15375 if test "$GCC" = yes; then
15376 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15377 fi
15378
15379 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15380 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15381 fi
15382 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15383 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15384 fi
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
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15424 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15425 hardcode_action_CXX=
15426 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15427 test -n "$runpath_var_CXX" ||
15428 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15429
15430 # We can hardcode non-existent directories.
15431 if test "$hardcode_direct_CXX" != no &&
15432 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15433 # have to relink, otherwise we might link with an installed library
15434 # when we should be linking with a yet-to-be-installed one
15435 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15436 test "$hardcode_minus_L_CXX" != no; then
15437 # Linking always hardcodes the temporary library directory.
15438 hardcode_action_CXX=relink
15439 else
15440 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15441 hardcode_action_CXX=immediate
15442 fi
15443 else
15444 # We cannot hardcode anything, or else we can only hardcode existing
15445 # directories.
15446 hardcode_action_CXX=unsupported
15447 fi
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15449 $as_echo "$hardcode_action_CXX" >&6; }
15450
15451 if test "$hardcode_action_CXX" = relink ||
15452 test "$inherit_rpath_CXX" = yes; then
15453 # Fast installation is not supported
15454 enable_fast_install=no
15455 elif test "$shlibpath_overrides_runpath" = yes ||
15456 test "$enable_shared" = no; then
15457 # Fast installation is not necessary
15458 enable_fast_install=needless
15459 fi
15460
15461
15462
15463
15464
15465
15466
15467 fi # test -n "$compiler"
15468
15469 CC=$lt_save_CC
15470 LDCXX=$LD
15471 LD=$lt_save_LD
15472 GCC=$lt_save_GCC
15473 with_gnu_ld=$lt_save_with_gnu_ld
15474 lt_cv_path_LDCXX=$lt_cv_path_LD
15475 lt_cv_path_LD=$lt_save_path_LD
15476 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15477 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15478 fi # test "$_lt_caught_CXX_error" != yes
15479
15480 ac_ext=c
15481 ac_cpp='$CPP $CPPFLAGS'
15482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498 ac_config_commands="$ac_config_commands libtool"
15499
15500
15501
15502
15503 # Only expand once:
15504
15505
15506
15507
15508
15509 case $host in
15510 *-cygwin* | *-mingw*)
15511 # 'host' will be top-level target in the case of a target lib,
15512 # we must compare to with_cross_host to decide if this is a native
15513 # or cross-compiler and select where to install dlls appropriately.
15514 if test -n "$with_cross_host" &&
15515 test x"$with_cross_host" != x"no"; then
15516 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15517 else
15518 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15519 fi
15520 ;;
15521 *)
15522 lt_host_flags=
15523 ;;
15524 esac
15525
15526
15527
15528
15529
15530
15531 if test "$enable_vtable_verify" = yes; then
15532 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15533 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15534 fi
15535
15536
15537 # libtool variables for C++ shared and position-independent compiles.
15538 #
15539 # Use glibcxx_lt_pic_flag to designate the automake variable
15540 # used to encapsulate the default libtool approach to creating objects
15541 # with position-independent code. Default: -prefer-pic.
15542 #
15543 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15544 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15545 #
15546 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15547 # creating position-independent objects. This varies with the target
15548 # hardware and operating system, but is often: -DPIC -fPIC.
15549 if test "$enable_shared" = yes; then
15550 glibcxx_lt_pic_flag="-prefer-pic"
15551 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15552 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15553
15554 else
15555 glibcxx_lt_pic_flag=
15556 glibcxx_compiler_pic_flag=
15557 glibcxx_compiler_shared_flag=
15558 fi
15559
15560
15561
15562
15563 # Override the libtool's pic_flag and pic_mode.
15564 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15565 # NB: this impacts --with-pic and --without-pic.
15566 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15567 pic_mode='default'
15568
15569 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15570 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15571
15572 # Possibly disable most of the library.
15573 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15574 ## than just ignoring the results. Faster /and/ more correct, win win.
15575
15576 # Check whether --enable-hosted-libstdcxx was given.
15577 if test "${enable_hosted_libstdcxx+set}" = set; then :
15578 enableval=$enable_hosted_libstdcxx;
15579 else
15580 case "$host" in
15581 arm*-*-symbianelf*)
15582 enable_hosted_libstdcxx=no
15583 ;;
15584 *)
15585 enable_hosted_libstdcxx=yes
15586 ;;
15587 esac
15588 fi
15589
15590 if test "$enable_hosted_libstdcxx" = no; then
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15592 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15593 is_hosted=no
15594 hosted_define=0
15595 enable_abi_check=no
15596 enable_libstdcxx_pch=no
15597 else
15598 is_hosted=yes
15599 hosted_define=1
15600 fi
15601
15602
15603 cat >>confdefs.h <<_ACEOF
15604 #define _GLIBCXX_HOSTED $hosted_define
15605 _ACEOF
15606
15607
15608
15609 # Enable descriptive messages to standard output on termination.
15610
15611 # Check whether --enable-libstdcxx-verbose was given.
15612 if test "${enable_libstdcxx_verbose+set}" = set; then :
15613 enableval=$enable_libstdcxx_verbose;
15614 else
15615 enable_libstdcxx_verbose=yes
15616 fi
15617
15618 if test x"$enable_libstdcxx_verbose" = xyes; then
15619 verbose_define=1
15620 else
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15622 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15623 verbose_define=0
15624 fi
15625
15626 cat >>confdefs.h <<_ACEOF
15627 #define _GLIBCXX_VERBOSE $verbose_define
15628 _ACEOF
15629
15630
15631
15632 # Enable compiler support that doesn't require linking.
15633
15634 # Check whether --enable-libstdcxx-pch was given.
15635 if test "${enable_libstdcxx_pch+set}" = set; then :
15636 enableval=$enable_libstdcxx_pch;
15637 case "$enableval" in
15638 yes|no) ;;
15639 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15640 esac
15641
15642 else
15643 enable_libstdcxx_pch=$is_hosted
15644 fi
15645
15646
15647 if test $enable_libstdcxx_pch = yes; then
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15649 $as_echo_n "checking for compiler with PCH support... " >&6; }
15650 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15651 $as_echo_n "(cached) " >&6
15652 else
15653 ac_save_CXXFLAGS="$CXXFLAGS"
15654 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15655
15656 ac_ext=cpp
15657 ac_cpp='$CXXCPP $CPPFLAGS'
15658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15661
15662 echo '#include <math.h>' > conftest.h
15663 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15664 -o conftest.h.gch 1>&5 2>&1 &&
15665 echo '#error "pch failed"' > conftest.h &&
15666 echo '#include "conftest.h"' > conftest.cc &&
15667 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15668 then
15669 glibcxx_cv_prog_CXX_pch=yes
15670 else
15671 glibcxx_cv_prog_CXX_pch=no
15672 fi
15673 rm -f conftest*
15674 CXXFLAGS=$ac_save_CXXFLAGS
15675 ac_ext=c
15676 ac_cpp='$CPP $CPPFLAGS'
15677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15680
15681
15682 fi
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15684 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15685 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15686 fi
15687
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15689 $as_echo_n "checking for enabled PCH... " >&6; }
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15691 $as_echo "$enable_libstdcxx_pch" >&6; }
15692
15693
15694 if test $enable_libstdcxx_pch = yes; then
15695 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15696 else
15697 glibcxx_PCHFLAGS=""
15698 fi
15699
15700
15701
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15703 $as_echo_n "checking for thread model used by GCC... " >&6; }
15704 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15706 $as_echo "$target_thread_file" >&6; }
15707
15708 case $target_thread_file in
15709 aix) thread_header=config/rs6000/gthr-aix.h ;;
15710 dce) thread_header=config/pa/gthr-dce.h ;;
15711 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15712 lynx) thread_header=config/gthr-lynx.h ;;
15713 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15714 posix) thread_header=gthr-posix.h ;;
15715 rtems) thread_header=config/gthr-rtems.h ;;
15716 single) thread_header=gthr-single.h ;;
15717 tpf) thread_header=config/s390/gthr-tpf.h ;;
15718 vxworks) thread_header=config/gthr-vxworks.h ;;
15719 win32) thread_header=config/i386/gthr-win32.h ;;
15720 esac
15721
15722
15723
15724
15725
15726 ac_ext=cpp
15727 ac_cpp='$CXXCPP $CPPFLAGS'
15728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15731
15732 old_CXXFLAGS="$CXXFLAGS"
15733
15734 # Do link tests if possible, instead asm tests, limited to some platforms
15735 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15736 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15737 atomic_builtins_link_tests=no
15738 if test x$gcc_no_link != xyes; then
15739 # Can do link tests. Limit to some tested platforms
15740 case "$host" in
15741 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15742 atomic_builtins_link_tests=yes
15743 ;;
15744 esac
15745 fi
15746
15747 if test x$atomic_builtins_link_tests = xyes; then
15748
15749 # Do link tests.
15750
15751 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15752
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15754 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15755 if ${glibcxx_cv_atomic_bool+:} false; then :
15756 $as_echo_n "(cached) " >&6
15757 else
15758
15759 if test x$gcc_no_link = xyes; then
15760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15761 fi
15762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15763 /* end confdefs.h. */
15764
15765 int
15766 main ()
15767 {
15768 typedef bool atomic_type;
15769 atomic_type c1;
15770 atomic_type c2;
15771 atomic_type c3(0);
15772 // N.B. __atomic_fetch_add is not supported for bool.
15773 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15774 __ATOMIC_RELAXED);
15775 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15776 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15777
15778 ;
15779 return 0;
15780 }
15781 _ACEOF
15782 if ac_fn_cxx_try_link "$LINENO"; then :
15783 glibcxx_cv_atomic_bool=yes
15784 else
15785 glibcxx_cv_atomic_bool=no
15786 fi
15787 rm -f core conftest.err conftest.$ac_objext \
15788 conftest$ac_exeext conftest.$ac_ext
15789
15790 fi
15791
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15793 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15794
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15796 $as_echo_n "checking for atomic builtins for short... " >&6; }
15797 if ${glibcxx_cv_atomic_short+:} false; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15800
15801 if test x$gcc_no_link = xyes; then
15802 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15803 fi
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15806
15807 int
15808 main ()
15809 {
15810 typedef short atomic_type;
15811 atomic_type c1;
15812 atomic_type c2;
15813 atomic_type c3(0);
15814 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15815 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15816 __ATOMIC_RELAXED);
15817 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15818 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15819
15820 ;
15821 return 0;
15822 }
15823 _ACEOF
15824 if ac_fn_cxx_try_link "$LINENO"; then :
15825 glibcxx_cv_atomic_short=yes
15826 else
15827 glibcxx_cv_atomic_short=no
15828 fi
15829 rm -f core conftest.err conftest.$ac_objext \
15830 conftest$ac_exeext conftest.$ac_ext
15831
15832 fi
15833
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15835 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15836
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15838 $as_echo_n "checking for atomic builtins for int... " >&6; }
15839 if ${glibcxx_cv_atomic_int+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842
15843 if test x$gcc_no_link = xyes; then
15844 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15845 fi
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848
15849 int
15850 main ()
15851 {
15852 typedef int atomic_type;
15853 atomic_type c1;
15854 atomic_type c2;
15855 atomic_type c3(0);
15856 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15857 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15858 __ATOMIC_RELAXED);
15859 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15860 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15861
15862 ;
15863 return 0;
15864 }
15865 _ACEOF
15866 if ac_fn_cxx_try_link "$LINENO"; then :
15867 glibcxx_cv_atomic_int=yes
15868 else
15869 glibcxx_cv_atomic_int=no
15870 fi
15871 rm -f core conftest.err conftest.$ac_objext \
15872 conftest$ac_exeext conftest.$ac_ext
15873
15874 fi
15875
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15877 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15878
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15880 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15881 if ${glibcxx_cv_atomic_long_long+:} false; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15884
15885 if test x$gcc_no_link = xyes; then
15886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15887 fi
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15890
15891 int
15892 main ()
15893 {
15894 typedef long long atomic_type;
15895 atomic_type c1;
15896 atomic_type c2;
15897 atomic_type c3(0);
15898 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15899 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15900 __ATOMIC_RELAXED);
15901 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15902 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15903
15904 ;
15905 return 0;
15906 }
15907 _ACEOF
15908 if ac_fn_cxx_try_link "$LINENO"; then :
15909 glibcxx_cv_atomic_long_long=yes
15910 else
15911 glibcxx_cv_atomic_long_long=no
15912 fi
15913 rm -f core conftest.err conftest.$ac_objext \
15914 conftest$ac_exeext conftest.$ac_ext
15915
15916 fi
15917
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15919 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15920
15921 else
15922
15923 # Do asm tests.
15924
15925 # Compile unoptimized.
15926 CXXFLAGS='-O0 -S'
15927
15928 # Fake what AC_TRY_COMPILE does.
15929
15930 cat > conftest.$ac_ext << EOF
15931 #line 15941 "configure"
15932 int main()
15933 {
15934 typedef bool atomic_type;
15935 atomic_type c1;
15936 atomic_type c2;
15937 atomic_type c3(0);
15938 // N.B. __atomic_fetch_add is not supported for bool.
15939 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15940 __ATOMIC_RELAXED);
15941 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15942 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15943
15944 return 0;
15945 }
15946 EOF
15947
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15949 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15951 (eval $ac_compile) 2>&5
15952 ac_status=$?
15953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15954 test $ac_status = 0; }; then
15955 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15956 glibcxx_cv_atomic_bool=no
15957 else
15958 glibcxx_cv_atomic_bool=yes
15959 fi
15960 fi
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15962 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15963 rm -f conftest*
15964
15965 cat > conftest.$ac_ext << EOF
15966 #line 15976 "configure"
15967 int main()
15968 {
15969 typedef short atomic_type;
15970 atomic_type c1;
15971 atomic_type c2;
15972 atomic_type c3(0);
15973 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15974 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15975 __ATOMIC_RELAXED);
15976 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15977 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15978
15979 return 0;
15980 }
15981 EOF
15982
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15984 $as_echo_n "checking for atomic builtins for short... " >&6; }
15985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15986 (eval $ac_compile) 2>&5
15987 ac_status=$?
15988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15989 test $ac_status = 0; }; then
15990 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15991 glibcxx_cv_atomic_short=no
15992 else
15993 glibcxx_cv_atomic_short=yes
15994 fi
15995 fi
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15997 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15998 rm -f conftest*
15999
16000 cat > conftest.$ac_ext << EOF
16001 #line 16011 "configure"
16002 int main()
16003 {
16004 // NB: _Atomic_word not necessarily int.
16005 typedef int atomic_type;
16006 atomic_type c1;
16007 atomic_type c2;
16008 atomic_type c3(0);
16009 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16010 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16011 __ATOMIC_RELAXED);
16012 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16013 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16014
16015 return 0;
16016 }
16017 EOF
16018
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16020 $as_echo_n "checking for atomic builtins for int... " >&6; }
16021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16022 (eval $ac_compile) 2>&5
16023 ac_status=$?
16024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16025 test $ac_status = 0; }; then
16026 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16027 glibcxx_cv_atomic_int=no
16028 else
16029 glibcxx_cv_atomic_int=yes
16030 fi
16031 fi
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16033 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16034 rm -f conftest*
16035
16036 cat > conftest.$ac_ext << EOF
16037 #line 16047 "configure"
16038 int main()
16039 {
16040 typedef long long atomic_type;
16041 atomic_type c1;
16042 atomic_type c2;
16043 atomic_type c3(0);
16044 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16045 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16046 __ATOMIC_RELAXED);
16047 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16048 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16049
16050 return 0;
16051 }
16052 EOF
16053
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16055 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16057 (eval $ac_compile) 2>&5
16058 ac_status=$?
16059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16060 test $ac_status = 0; }; then
16061 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16062 glibcxx_cv_atomic_long_long=no
16063 else
16064 glibcxx_cv_atomic_long_long=yes
16065 fi
16066 fi
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16068 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16069 rm -f conftest*
16070
16071 fi
16072
16073 CXXFLAGS="$old_CXXFLAGS"
16074 ac_ext=c
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16079
16080
16081 # Set atomicity_dir to builtins if all but the long long test above passes,
16082 # or if the builtins were already chosen (e.g. by configure.host).
16083 if { test "$glibcxx_cv_atomic_bool" = yes \
16084 && test "$glibcxx_cv_atomic_short" = yes \
16085 && test "$glibcxx_cv_atomic_int" = yes; } \
16086 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16087
16088 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16089
16090 atomicity_dir=cpu/generic/atomicity_builtins
16091 fi
16092
16093 # If still generic, set to mutex.
16094 if test $atomicity_dir = "cpu/generic" ; then
16095 atomicity_dir=cpu/generic/atomicity_mutex
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16097 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16098 if test "x$target_thread_file" = xsingle; then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16100 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16102 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16103 else
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16105 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16107 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16108 fi
16109 fi
16110
16111
16112
16113
16114
16115 # Check whether --with-libstdcxx-lock-policy was given.
16116 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16117 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16118 else
16119 libstdcxx_atomic_lock_policy=auto
16120 fi
16121
16122
16123 case "$libstdcxx_atomic_lock_policy" in
16124 atomic|mutex|auto) ;;
16125 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16126 esac
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16128 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16129
16130 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16131
16132 ac_ext=cpp
16133 ac_cpp='$CXXCPP $CPPFLAGS'
16134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16137
16138 ac_save_CXXFLAGS="$CXXFLAGS"
16139
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16142
16143 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16144 # error "No 2-byte compare-and-swap"
16145 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16146 # error "No 4-byte compare-and-swap"
16147 #endif
16148
16149 int
16150 main ()
16151 {
16152
16153 ;
16154 return 0;
16155 }
16156 _ACEOF
16157 if ac_fn_cxx_try_compile "$LINENO"; then :
16158 libstdcxx_atomic_lock_policy=atomic
16159 else
16160 libstdcxx_atomic_lock_policy=mutex
16161 fi
16162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16168
16169 CXXFLAGS="$ac_save_CXXFLAGS"
16170 fi
16171
16172 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16174 $as_echo "atomic" >&6; }
16175
16176 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16177
16178 else
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16180 $as_echo "mutex" >&6; }
16181 fi
16182
16183
16184
16185
16186 # Fake what AC_TRY_COMPILE does, without linking as this is
16187 # unnecessary for this test.
16188
16189 cat > conftest.$ac_ext << EOF
16190 #line 16200 "configure"
16191 int main()
16192 {
16193 _Decimal32 d1;
16194 _Decimal64 d2;
16195 _Decimal128 d3;
16196 return 0;
16197 }
16198 EOF
16199
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16201 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16203 (eval $ac_compile) 2>&5
16204 ac_status=$?
16205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16206 test $ac_status = 0; }; then
16207
16208 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16209
16210 enable_dfp=yes
16211 else
16212 enable_dfp=no
16213 fi
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16215 $as_echo "$enable_dfp" >&6; }
16216 rm -f conftest*
16217
16218
16219
16220
16221 ac_ext=cpp
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16226
16227
16228 # Fake what AC_TRY_COMPILE does, without linking as this is
16229 # unnecessary for this test.
16230
16231 cat > conftest.$ac_ext << EOF
16232 #line 16242 "configure"
16233 template<typename T1, typename T2>
16234 struct same
16235 { typedef T2 type; };
16236
16237 template<typename T>
16238 struct same<T, T>;
16239
16240 int main()
16241 {
16242 typename same<long, __int128>::type i1;
16243 typename same<long long, __int128>::type i2;
16244 }
16245 EOF
16246
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16248 $as_echo_n "checking for __int128... " >&6; }
16249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16250 (eval $ac_compile) 2>&5
16251 ac_status=$?
16252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16253 test $ac_status = 0; }; then
16254
16255 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16256
16257 enable_int128=yes
16258 else
16259 enable_int128=no
16260 fi
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16262 $as_echo "$enable_int128" >&6; }
16263 rm -f conftest*
16264
16265 cat > conftest.$ac_ext << EOF
16266 #line 16276 "configure"
16267 template<typename T1, typename T2>
16268 struct same
16269 { typedef T2 type; };
16270
16271 template<typename T>
16272 struct same<T, T>;
16273
16274 int main()
16275 {
16276 typename same<double, __float128>::type f1;
16277 typename same<long double, __float128>::type f2;
16278 }
16279 EOF
16280
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16282 $as_echo_n "checking for __float128... " >&6; }
16283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16284 (eval $ac_compile) 2>&5
16285 ac_status=$?
16286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16287 test $ac_status = 0; }; then
16288 enable_float128=yes
16289 else
16290 enable_float128=no
16291 fi
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16293 $as_echo "$enable_float128" >&6; }
16294
16295 rm -f conftest*
16296
16297 ac_ext=c
16298 ac_cpp='$CPP $CPPFLAGS'
16299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16302
16303
16304 if test "$enable_float128" = yes; then
16305 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16306 fi
16307
16308 # Checks for compiler support that doesn't require linking.
16309
16310 # All these tests are for C++; save the language and the compiler flags.
16311 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16312 # found in GLIBCXX_CONFIGURE.
16313
16314 ac_ext=cpp
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16319
16320 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16321 ac_save_CXXFLAGS="$CXXFLAGS"
16322
16323 # Check for -ffunction-sections -fdata-sections
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16325 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16326 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16329 int foo; void bar() { };
16330 int
16331 main ()
16332 {
16333
16334 ;
16335 return 0;
16336 }
16337 _ACEOF
16338 if ac_fn_cxx_try_compile "$LINENO"; then :
16339 ac_fdsections=yes
16340 else
16341 ac_fdsections=no
16342 fi
16343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16344 if test "$ac_test_CXXFLAGS" = set; then
16345 CXXFLAGS="$ac_save_CXXFLAGS"
16346 else
16347 # this is the suspicious part
16348 CXXFLAGS=''
16349 fi
16350 if test x"$ac_fdsections" = x"yes"; then
16351 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16352 fi
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16354 $as_echo "$ac_fdsections" >&6; }
16355
16356 ac_ext=c
16357 ac_cpp='$CPP $CPPFLAGS'
16358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16361
16362
16363
16364
16365 # Enable all the variable C++ runtime options that don't require linking.
16366
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16368 $as_echo_n "checking for underlying I/O to use... " >&6; }
16369 # Check whether --enable-cstdio was given.
16370 if test "${enable_cstdio+set}" = set; then :
16371 enableval=$enable_cstdio;
16372 case "$enableval" in
16373 stdio|stdio_posix|stdio_pure) ;;
16374 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16375 esac
16376
16377 else
16378 enable_cstdio=stdio
16379 fi
16380
16381
16382
16383 # The only available I/O model is based on stdio, via basic_file_stdio.
16384 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16385 # to get a file descriptor and then uses read(3) and write(3) with it.
16386 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16387 case ${enable_cstdio} in
16388 stdio*)
16389 CSTDIO_H=config/io/c_io_stdio.h
16390 BASIC_FILE_H=config/io/basic_file_stdio.h
16391 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16393 $as_echo "stdio" >&6; }
16394
16395 if test "x$enable_cstdio" = "xstdio_pure" ; then
16396
16397 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16398
16399 fi
16400 ;;
16401 esac
16402
16403
16404
16405
16406
16407
16408 # Check whether --enable-clocale was given.
16409 if test "${enable_clocale+set}" = set; then :
16410 enableval=$enable_clocale;
16411 case "$enableval" in
16412 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16413 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16414 esac
16415
16416 else
16417 enable_clocale=auto
16418 fi
16419
16420
16421
16422 # Deal with gettext issues. Default to not using it (=no) until we detect
16423 # support for it later. Let the user turn it off via --e/d, but let that
16424 # default to on for easier handling.
16425 USE_NLS=no
16426 # Check whether --enable-nls was given.
16427 if test "${enable_nls+set}" = set; then :
16428 enableval=$enable_nls;
16429 else
16430 enable_nls=yes
16431 fi
16432
16433
16434 # Either a known package, or "auto"
16435 if test $enable_clocale = no || test $enable_clocale = yes; then
16436 enable_clocale=auto
16437 fi
16438 enable_clocale_flag=$enable_clocale
16439
16440 # Probe for locale model to use if none specified.
16441 # Default to "generic".
16442 if test $enable_clocale_flag = auto; then
16443 case ${target_os} in
16444 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16445 enable_clocale_flag=gnu
16446 ;;
16447 darwin*)
16448 enable_clocale_flag=darwin
16449 ;;
16450 dragonfly* | freebsd*)
16451 enable_clocale_flag=dragonfly
16452 ;;
16453 openbsd*)
16454 enable_clocale_flag=newlib
16455 ;;
16456 *)
16457 if test x"$with_newlib" = x"yes"; then
16458 enable_clocale_flag=newlib
16459 else
16460 enable_clocale_flag=generic
16461 fi
16462 ;;
16463 esac
16464 fi
16465
16466 # Sanity check model, and test for special functionality.
16467 if test $enable_clocale_flag = gnu; then
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16470
16471 #include <features.h>
16472 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16473 _GLIBCXX_ok
16474 #endif
16475
16476 _ACEOF
16477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16478 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16479 enable_clocale_flag=gnu
16480 else
16481 enable_clocale_flag=generic
16482 fi
16483 rm -f conftest*
16484
16485
16486 # Set it to scream when it hurts.
16487 ac_save_CFLAGS="$CFLAGS"
16488 CFLAGS="-Wimplicit-function-declaration -Werror"
16489
16490 # Use strxfrm_l if available.
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #define _GNU_SOURCE 1
16494 #include <string.h>
16495 #include <locale.h>
16496 int
16497 main ()
16498 {
16499 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16500 ;
16501 return 0;
16502 }
16503 _ACEOF
16504 if ac_fn_c_try_compile "$LINENO"; then :
16505
16506 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16507
16508 fi
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510
16511 # Use strerror_l if available.
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16514 #define _GNU_SOURCE 1
16515 #include <string.h>
16516 #include <locale.h>
16517 int
16518 main ()
16519 {
16520 __locale_t loc; strerror_l(5, loc);
16521 ;
16522 return 0;
16523 }
16524 _ACEOF
16525 if ac_fn_c_try_compile "$LINENO"; then :
16526
16527 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16528
16529 fi
16530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16531
16532 CFLAGS="$ac_save_CFLAGS"
16533 fi
16534
16535 # Perhaps use strerror_r if available, and strerror_l isn't.
16536 ac_save_CFLAGS="$CFLAGS"
16537 CFLAGS="-Wimplicit-function-declaration -Werror"
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #define _GNU_SOURCE 1
16541 #include <string.h>
16542 #include <locale.h>
16543 int
16544 main ()
16545 {
16546 char s[128]; strerror_r(5, s, 128);
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 if ac_fn_c_try_compile "$LINENO"; then :
16552
16553 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16554
16555 fi
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16557 CFLAGS="$ac_save_CFLAGS"
16558
16559 # Set configure bits for specified locale package
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16561 $as_echo_n "checking for C locale to use... " >&6; }
16562 case ${enable_clocale_flag} in
16563 generic)
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16565 $as_echo "generic" >&6; }
16566
16567 CLOCALE_H=config/locale/generic/c_locale.h
16568 CLOCALE_CC=config/locale/generic/c_locale.cc
16569 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16570 CCOLLATE_CC=config/locale/generic/collate_members.cc
16571 CCTYPE_CC=config/locale/generic/ctype_members.cc
16572 CMESSAGES_H=config/locale/generic/messages_members.h
16573 CMESSAGES_CC=config/locale/generic/messages_members.cc
16574 CMONEY_CC=config/locale/generic/monetary_members.cc
16575 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16576 CTIME_H=config/locale/generic/time_members.h
16577 CTIME_CC=config/locale/generic/time_members.cc
16578 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16579 ;;
16580 darwin)
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16582 $as_echo "darwin" >&6; }
16583
16584 CLOCALE_H=config/locale/generic/c_locale.h
16585 CLOCALE_CC=config/locale/generic/c_locale.cc
16586 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16587 CCOLLATE_CC=config/locale/generic/collate_members.cc
16588 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16589 CMESSAGES_H=config/locale/generic/messages_members.h
16590 CMESSAGES_CC=config/locale/generic/messages_members.cc
16591 CMONEY_CC=config/locale/generic/monetary_members.cc
16592 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16593 CTIME_H=config/locale/generic/time_members.h
16594 CTIME_CC=config/locale/generic/time_members.cc
16595 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16596 ;;
16597
16598 dragonfly)
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16600 $as_echo "dragonfly or freebsd" >&6; }
16601
16602 CLOCALE_H=config/locale/dragonfly/c_locale.h
16603 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16604 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16605 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16606 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16607 CMESSAGES_H=config/locale/generic/messages_members.h
16608 CMESSAGES_CC=config/locale/generic/messages_members.cc
16609 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16610 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16611 CTIME_H=config/locale/dragonfly/time_members.h
16612 CTIME_CC=config/locale/dragonfly/time_members.cc
16613 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16614 ;;
16615
16616 gnu)
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16618 $as_echo "gnu" >&6; }
16619
16620 # Declare intention to use gettext, and add support for specific
16621 # languages.
16622 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16623 ALL_LINGUAS="de fr"
16624
16625 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16626 # Extract the first word of "msgfmt", so it can be a program name with args.
16627 set dummy msgfmt; ac_word=$2
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16629 $as_echo_n "checking for $ac_word... " >&6; }
16630 if ${ac_cv_prog_check_msgfmt+:} false; then :
16631 $as_echo_n "(cached) " >&6
16632 else
16633 if test -n "$check_msgfmt"; then
16634 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16635 else
16636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16637 for as_dir in $PATH
16638 do
16639 IFS=$as_save_IFS
16640 test -z "$as_dir" && as_dir=.
16641 for ac_exec_ext in '' $ac_executable_extensions; do
16642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16643 ac_cv_prog_check_msgfmt="yes"
16644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16645 break 2
16646 fi
16647 done
16648 done
16649 IFS=$as_save_IFS
16650
16651 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16652 fi
16653 fi
16654 check_msgfmt=$ac_cv_prog_check_msgfmt
16655 if test -n "$check_msgfmt"; then
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16657 $as_echo "$check_msgfmt" >&6; }
16658 else
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16660 $as_echo "no" >&6; }
16661 fi
16662
16663
16664 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16665 USE_NLS=yes
16666 fi
16667 # Export the build objects.
16668 for ling in $ALL_LINGUAS; do \
16669 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16670 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16671 done
16672
16673
16674
16675 CLOCALE_H=config/locale/gnu/c_locale.h
16676 CLOCALE_CC=config/locale/gnu/c_locale.cc
16677 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16678 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16679 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16680 CMESSAGES_H=config/locale/gnu/messages_members.h
16681 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16682 CMONEY_CC=config/locale/gnu/monetary_members.cc
16683 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16684 CTIME_H=config/locale/gnu/time_members.h
16685 CTIME_CC=config/locale/gnu/time_members.cc
16686 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16687 ;;
16688 ieee_1003.1-2001)
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16690 $as_echo "IEEE 1003.1" >&6; }
16691
16692 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16693 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16694 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16695 CCOLLATE_CC=config/locale/generic/collate_members.cc
16696 CCTYPE_CC=config/locale/generic/ctype_members.cc
16697 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16698 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16699 CMONEY_CC=config/locale/generic/monetary_members.cc
16700 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16701 CTIME_H=config/locale/generic/time_members.h
16702 CTIME_CC=config/locale/generic/time_members.cc
16703 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16704 ;;
16705 newlib)
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16707 $as_echo "newlib" >&6; }
16708
16709 CLOCALE_H=config/locale/generic/c_locale.h
16710 CLOCALE_CC=config/locale/generic/c_locale.cc
16711 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16712 CCOLLATE_CC=config/locale/generic/collate_members.cc
16713 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16714 CMESSAGES_H=config/locale/generic/messages_members.h
16715 CMESSAGES_CC=config/locale/generic/messages_members.cc
16716 CMONEY_CC=config/locale/generic/monetary_members.cc
16717 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16718 CTIME_H=config/locale/generic/time_members.h
16719 CTIME_CC=config/locale/generic/time_members.cc
16720 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16721 ;;
16722 esac
16723
16724 # This is where the testsuite looks for locale catalogs, using the
16725 # -DLOCALEDIR define during testsuite compilation.
16726 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16727
16728
16729 # A standalone libintl (e.g., GNU libintl) may be in use.
16730 if test $USE_NLS = yes; then
16731 for ac_header in libintl.h
16732 do :
16733 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16734 if test "x$ac_cv_header_libintl_h" = xyes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_LIBINTL_H 1
16737 _ACEOF
16738
16739 else
16740 USE_NLS=no
16741 fi
16742
16743 done
16744
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16746 $as_echo_n "checking for library containing gettext... " >&6; }
16747 if ${ac_cv_search_gettext+:} false; then :
16748 $as_echo_n "(cached) " >&6
16749 else
16750 ac_func_search_save_LIBS=$LIBS
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16753
16754 /* Override any GCC internal prototype to avoid an error.
16755 Use char because int might match the return type of a GCC
16756 builtin and then its argument prototype would still apply. */
16757 #ifdef __cplusplus
16758 extern "C"
16759 #endif
16760 char gettext ();
16761 int
16762 main ()
16763 {
16764 return gettext ();
16765 ;
16766 return 0;
16767 }
16768 _ACEOF
16769 for ac_lib in '' intl; do
16770 if test -z "$ac_lib"; then
16771 ac_res="none required"
16772 else
16773 ac_res=-l$ac_lib
16774 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16775 fi
16776 if test x$gcc_no_link = xyes; then
16777 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16778 fi
16779 if ac_fn_c_try_link "$LINENO"; then :
16780 ac_cv_search_gettext=$ac_res
16781 fi
16782 rm -f core conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext
16784 if ${ac_cv_search_gettext+:} false; then :
16785 break
16786 fi
16787 done
16788 if ${ac_cv_search_gettext+:} false; then :
16789
16790 else
16791 ac_cv_search_gettext=no
16792 fi
16793 rm conftest.$ac_ext
16794 LIBS=$ac_func_search_save_LIBS
16795 fi
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16797 $as_echo "$ac_cv_search_gettext" >&6; }
16798 ac_res=$ac_cv_search_gettext
16799 if test "$ac_res" != no; then :
16800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16801
16802 else
16803 USE_NLS=no
16804 fi
16805
16806 fi
16807 if test $USE_NLS = yes; then
16808
16809 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16810
16811 fi
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16829 $as_echo_n "checking for std::allocator base class... " >&6; }
16830 # Check whether --enable-libstdcxx-allocator was given.
16831 if test "${enable_libstdcxx_allocator+set}" = set; then :
16832 enableval=$enable_libstdcxx_allocator;
16833 case "$enableval" in
16834 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16835 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16836 esac
16837
16838 else
16839 enable_libstdcxx_allocator=auto
16840 fi
16841
16842
16843
16844 # If they didn't use this option switch, or if they specified --enable
16845 # with no specific model, we'll have to look for one. If they
16846 # specified --disable (???), do likewise.
16847 if test $enable_libstdcxx_allocator = no ||
16848 test $enable_libstdcxx_allocator = yes;
16849 then
16850 enable_libstdcxx_allocator=auto
16851 fi
16852
16853 # Either a known package, or "auto". Auto implies the default choice
16854 # for a particular platform.
16855 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16856
16857 # Probe for host-specific support if no specific model is specified.
16858 # Default to "new".
16859 if test $enable_libstdcxx_allocator_flag = auto; then
16860 case ${target_os} in
16861 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16862 enable_libstdcxx_allocator_flag=new
16863 ;;
16864 *)
16865 enable_libstdcxx_allocator_flag=new
16866 ;;
16867 esac
16868 fi
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16870 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16871
16872
16873 # Set configure bits for specified locale package
16874 case ${enable_libstdcxx_allocator_flag} in
16875 bitmap)
16876 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16877 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16878 ;;
16879 malloc)
16880 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16881 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16882 ;;
16883 mt)
16884 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16885 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16886 ;;
16887 new)
16888 ALLOCATOR_H=config/allocator/new_allocator_base.h
16889 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16890 ;;
16891 pool)
16892 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16893 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16894 ;;
16895 esac
16896
16897
16898
16899
16900
16901
16902 # Check whether --enable-cheaders-obsolete was given.
16903 if test "${enable_cheaders_obsolete+set}" = set; then :
16904 enableval=$enable_cheaders_obsolete;
16905 case "$enableval" in
16906 yes|no) ;;
16907 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16908 esac
16909
16910 else
16911 enable_cheaders_obsolete=no
16912 fi
16913
16914
16915 # Check whether --enable-cheaders was given.
16916 if test "${enable_cheaders+set}" = set; then :
16917 enableval=$enable_cheaders;
16918 case "$enableval" in
16919 c|c_global|c_std) ;;
16920 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16921 esac
16922
16923 else
16924 enable_cheaders=$c_model
16925 fi
16926
16927
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16929 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16930 if test $enable_cheaders = c_std ; then
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16932 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16933 { $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
16934 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16935 if test $enable_cheaders_obsolete != yes ; then
16936 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16937 fi
16938 fi
16939
16940 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16941
16942 # Allow overrides to configure.host here.
16943 if test $enable_cheaders = c_global; then
16944 c_compatibility=yes
16945 fi
16946
16947
16948
16949
16950
16951
16952
16953 # Check whether --enable-long-long was given.
16954 if test "${enable_long_long+set}" = set; then :
16955 enableval=$enable_long_long;
16956 case "$enableval" in
16957 yes|no) ;;
16958 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16959 esac
16960
16961 else
16962 enable_long_long=yes
16963 fi
16964
16965
16966 if test $enable_long_long = yes; then
16967
16968 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16969
16970 fi
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16972 $as_echo_n "checking for enabled long long specializations... " >&6; }
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16974 $as_echo "$enable_long_long" >&6; }
16975
16976
16977 # Check whether --enable-wchar_t was given.
16978 if test "${enable_wchar_t+set}" = set; then :
16979 enableval=$enable_wchar_t;
16980 case "$enableval" in
16981 yes|no) ;;
16982 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16983 esac
16984
16985 else
16986 enable_wchar_t=yes
16987 fi
16988
16989
16990
16991 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16992 for ac_header in wchar.h
16993 do :
16994 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16995 if test "x$ac_cv_header_wchar_h" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_WCHAR_H 1
16998 _ACEOF
16999 ac_has_wchar_h=yes
17000 else
17001 ac_has_wchar_h=no
17002 fi
17003
17004 done
17005
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17007 $as_echo_n "checking for mbstate_t... " >&6; }
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <wchar.h>
17011 int
17012 main ()
17013 {
17014 mbstate_t teststate;
17015 ;
17016 return 0;
17017 }
17018 _ACEOF
17019 if ac_fn_c_try_compile "$LINENO"; then :
17020 have_mbstate_t=yes
17021 else
17022 have_mbstate_t=no
17023 fi
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17026 $as_echo "$have_mbstate_t" >&6; }
17027 if test x"$have_mbstate_t" = xyes; then
17028
17029 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17030
17031 fi
17032
17033 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17034 # ac_has_wchar_h.
17035 for ac_header in wctype.h
17036 do :
17037 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17038 if test "x$ac_cv_header_wctype_h" = xyes; then :
17039 cat >>confdefs.h <<_ACEOF
17040 #define HAVE_WCTYPE_H 1
17041 _ACEOF
17042 ac_has_wctype_h=yes
17043 else
17044 ac_has_wctype_h=no
17045 fi
17046
17047 done
17048
17049
17050 if test x"$enable_wchar_t" = x"yes"; then
17051
17052
17053 ac_ext=cpp
17054 ac_cpp='$CXXCPP $CPPFLAGS'
17055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17058
17059
17060 if test x"$ac_has_wchar_h" = xyes &&
17061 test x"$ac_has_wctype_h" = xyes; then
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <wchar.h>
17065 #include <stddef.h>
17066 wint_t i;
17067 long l = WEOF;
17068 long j = WCHAR_MIN;
17069 long k = WCHAR_MAX;
17070 namespace test
17071 {
17072 using ::btowc;
17073 using ::fgetwc;
17074 using ::fgetws;
17075 using ::fputwc;
17076 using ::fputws;
17077 using ::fwide;
17078 using ::fwprintf;
17079 using ::fwscanf;
17080 using ::getwc;
17081 using ::getwchar;
17082 using ::mbrlen;
17083 using ::mbrtowc;
17084 using ::mbsinit;
17085 using ::mbsrtowcs;
17086 using ::putwc;
17087 using ::putwchar;
17088 using ::swprintf;
17089 using ::swscanf;
17090 using ::ungetwc;
17091 using ::vfwprintf;
17092 using ::vswprintf;
17093 using ::vwprintf;
17094 using ::wcrtomb;
17095 using ::wcscat;
17096 using ::wcschr;
17097 using ::wcscmp;
17098 using ::wcscoll;
17099 using ::wcscpy;
17100 using ::wcscspn;
17101 using ::wcsftime;
17102 using ::wcslen;
17103 using ::wcsncat;
17104 using ::wcsncmp;
17105 using ::wcsncpy;
17106 using ::wcspbrk;
17107 using ::wcsrchr;
17108 using ::wcsrtombs;
17109 using ::wcsspn;
17110 using ::wcsstr;
17111 using ::wcstod;
17112 using ::wcstok;
17113 using ::wcstol;
17114 using ::wcstoul;
17115 using ::wcsxfrm;
17116 using ::wctob;
17117 using ::wmemchr;
17118 using ::wmemcmp;
17119 using ::wmemcpy;
17120 using ::wmemmove;
17121 using ::wmemset;
17122 using ::wprintf;
17123 using ::wscanf;
17124 }
17125
17126 int
17127 main ()
17128 {
17129
17130 ;
17131 return 0;
17132 }
17133 _ACEOF
17134 if ac_fn_cxx_try_compile "$LINENO"; then :
17135
17136 else
17137 enable_wchar_t=no
17138 fi
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 else
17141 enable_wchar_t=no
17142 fi
17143
17144 ac_ext=c
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17149
17150 fi
17151
17152 if test x"$enable_wchar_t" = x"yes"; then
17153
17154 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17155
17156 fi
17157
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17159 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17161 $as_echo "$enable_wchar_t" >&6; }
17162
17163
17164
17165 # Check whether --enable-c99 was given.
17166 if test "${enable_c99+set}" = set; then :
17167 enableval=$enable_c99;
17168 case "$enableval" in
17169 yes|no) ;;
17170 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17171 esac
17172
17173 else
17174 enable_c99=yes
17175 fi
17176
17177
17178
17179 if test x"$enable_c99" = x"yes"; then
17180
17181 ac_ext=cpp
17182 ac_cpp='$CXXCPP $CPPFLAGS'
17183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17186
17187
17188 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17189 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17190 # to be spuriously enabled.
17191 ac_save_CXXFLAGS="$CXXFLAGS"
17192 CXXFLAGS="$CXXFLAGS -std=c++98"
17193 ac_save_LIBS="$LIBS"
17194 ac_save_gcc_no_link="$gcc_no_link"
17195
17196 if test x$gcc_no_link != xyes; then
17197 # Use -fno-exceptions to that the C driver can link these tests without
17198 # hitting undefined references to personality routines.
17199 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17201 $as_echo_n "checking for sin in -lm... " >&6; }
17202 if ${ac_cv_lib_m_sin+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_check_lib_save_LIBS=$LIBS
17206 LIBS="-lm $LIBS"
17207 if test x$gcc_no_link = xyes; then
17208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17209 fi
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212
17213 /* Override any GCC internal prototype to avoid an error.
17214 Use char because int might match the return type of a GCC
17215 builtin and then its argument prototype would still apply. */
17216 #ifdef __cplusplus
17217 extern "C"
17218 #endif
17219 char sin ();
17220 int
17221 main ()
17222 {
17223 return sin ();
17224 ;
17225 return 0;
17226 }
17227 _ACEOF
17228 if ac_fn_cxx_try_link "$LINENO"; then :
17229 ac_cv_lib_m_sin=yes
17230 else
17231 ac_cv_lib_m_sin=no
17232 fi
17233 rm -f core conftest.err conftest.$ac_objext \
17234 conftest$ac_exeext conftest.$ac_ext
17235 LIBS=$ac_check_lib_save_LIBS
17236 fi
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17238 $as_echo "$ac_cv_lib_m_sin" >&6; }
17239 if test "x$ac_cv_lib_m_sin" = xyes; then :
17240 LIBS="$LIBS -lm"
17241 else
17242
17243 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17244 gcc_no_link=yes
17245
17246 fi
17247
17248 fi
17249
17250 # Check for the existence of <math.h> functions used if C99 is enabled.
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17252 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17253 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256
17257 if test x$gcc_no_link = xyes; then
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 #include <math.h>
17261 volatile double d1, d2;
17262 volatile int i;
17263 int
17264 main ()
17265 {
17266 i = fpclassify(d1);
17267 i = isfinite(d1);
17268 i = isinf(d1);
17269 i = isnan(d1);
17270 i = isnormal(d1);
17271 i = signbit(d1);
17272 i = isgreater(d1, d2);
17273 i = isgreaterequal(d1, d2);
17274 i = isless(d1, d2);
17275 i = islessequal(d1, d2);
17276 i = islessgreater(d1, d2);
17277 i = islessgreater(d1, d2);
17278 i = isunordered(d1, d2);
17279
17280 ;
17281 return 0;
17282 }
17283 _ACEOF
17284 if ac_fn_cxx_try_compile "$LINENO"; then :
17285 glibcxx_cv_c99_math_cxx98=yes
17286 else
17287 glibcxx_cv_c99_math_cxx98=no
17288 fi
17289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 else
17291 if test x$gcc_no_link = xyes; then
17292 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17293 fi
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 #include <math.h>
17297 volatile double d1, d2;
17298 volatile int i;
17299 int
17300 main ()
17301 {
17302 i = fpclassify(d1);
17303 i = isfinite(d1);
17304 i = isinf(d1);
17305 i = isnan(d1);
17306 i = isnormal(d1);
17307 i = signbit(d1);
17308 i = isgreater(d1, d2);
17309 i = isgreaterequal(d1, d2);
17310 i = isless(d1, d2);
17311 i = islessequal(d1, d2);
17312 i = islessgreater(d1, d2);
17313 i = islessgreater(d1, d2);
17314 i = isunordered(d1, d2);
17315
17316 ;
17317 return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_cxx_try_link "$LINENO"; then :
17321 glibcxx_cv_c99_math_cxx98=yes
17322 else
17323 glibcxx_cv_c99_math_cxx98=no
17324 fi
17325 rm -f core conftest.err conftest.$ac_objext \
17326 conftest$ac_exeext conftest.$ac_ext
17327 fi
17328
17329 fi
17330
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17332 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17333 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17334
17335 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17336
17337 fi
17338
17339 # Check for the existence of <complex.h> complex math functions.
17340 # This is necessary even though libstdc++ uses the builtin versions
17341 # of these functions, because if the builtin cannot be used, a reference
17342 # to the library function is emitted.
17343 for ac_header in tgmath.h
17344 do :
17345 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17346 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17347 cat >>confdefs.h <<_ACEOF
17348 #define HAVE_TGMATH_H 1
17349 _ACEOF
17350 ac_has_tgmath_h=yes
17351 else
17352 ac_has_tgmath_h=no
17353 fi
17354
17355 done
17356
17357 for ac_header in complex.h
17358 do :
17359 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17360 if test "x$ac_cv_header_complex_h" = xyes; then :
17361 cat >>confdefs.h <<_ACEOF
17362 #define HAVE_COMPLEX_H 1
17363 _ACEOF
17364 ac_has_complex_h=yes
17365 else
17366 ac_has_complex_h=no
17367 fi
17368
17369 done
17370
17371 if test x"$ac_has_complex_h" = x"yes"; then
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17373 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17374 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17377
17378 if test x$gcc_no_link = xyes; then
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 #include <complex.h>
17382 typedef __complex__ float float_type;
17383 typedef __complex__ double double_type;
17384 typedef __complex__ long double ld_type;
17385 volatile float_type tmpf;
17386 volatile double_type tmpd;
17387 volatile ld_type tmpld;
17388 volatile float f;
17389 volatile double d;
17390 volatile long double ld;
17391 int
17392 main ()
17393 {
17394 f = cabsf(tmpf);
17395 f = cargf(tmpf);
17396 tmpf = ccosf(tmpf);
17397 tmpf = ccoshf(tmpf);
17398 tmpf = cexpf(tmpf);
17399 tmpf = clogf(tmpf);
17400 tmpf = csinf(tmpf);
17401 tmpf = csinhf(tmpf);
17402 tmpf = csqrtf(tmpf);
17403 tmpf = ctanf(tmpf);
17404 tmpf = ctanhf(tmpf);
17405 tmpf = cpowf(tmpf, tmpf);
17406 tmpf = cprojf(tmpf);
17407 d = cabs(tmpd);
17408 d = carg(tmpd);
17409 tmpd = ccos(tmpd);
17410 tmpd = ccosh(tmpd);
17411 tmpd = cexp(tmpd);
17412 tmpd = clog(tmpd);
17413 tmpd = csin(tmpd);
17414 tmpd = csinh(tmpd);
17415 tmpd = csqrt(tmpd);
17416 tmpd = ctan(tmpd);
17417 tmpd = ctanh(tmpd);
17418 tmpd = cpow(tmpd, tmpd);
17419 tmpd = cproj(tmpd);
17420 ld = cabsl(tmpld);
17421 ld = cargl(tmpld);
17422 tmpld = ccosl(tmpld);
17423 tmpld = ccoshl(tmpld);
17424 tmpld = cexpl(tmpld);
17425 tmpld = clogl(tmpld);
17426 tmpld = csinl(tmpld);
17427 tmpld = csinhl(tmpld);
17428 tmpld = csqrtl(tmpld);
17429 tmpld = ctanl(tmpld);
17430 tmpld = ctanhl(tmpld);
17431 tmpld = cpowl(tmpld, tmpld);
17432 tmpld = cprojl(tmpld);
17433
17434 ;
17435 return 0;
17436 }
17437 _ACEOF
17438 if ac_fn_cxx_try_compile "$LINENO"; then :
17439 glibcxx_cv_c99_complex_cxx98=yes
17440 else
17441 glibcxx_cv_c99_complex_cxx98=no
17442 fi
17443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17444 else
17445 if test x$gcc_no_link = xyes; then
17446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17447 fi
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #include <complex.h>
17451 typedef __complex__ float float_type;
17452 typedef __complex__ double double_type;
17453 typedef __complex__ long double ld_type;
17454 volatile float_type tmpf;
17455 volatile double_type tmpd;
17456 volatile ld_type tmpld;
17457 volatile float f;
17458 volatile double d;
17459 volatile long double ld;
17460 int
17461 main ()
17462 {
17463 f = cabsf(tmpf);
17464 f = cargf(tmpf);
17465 tmpf = ccosf(tmpf);
17466 tmpf = ccoshf(tmpf);
17467 tmpf = cexpf(tmpf);
17468 tmpf = clogf(tmpf);
17469 tmpf = csinf(tmpf);
17470 tmpf = csinhf(tmpf);
17471 tmpf = csqrtf(tmpf);
17472 tmpf = ctanf(tmpf);
17473 tmpf = ctanhf(tmpf);
17474 tmpf = cpowf(tmpf, tmpf);
17475 tmpf = cprojf(tmpf);
17476 d = cabs(tmpd);
17477 d = carg(tmpd);
17478 tmpd = ccos(tmpd);
17479 tmpd = ccosh(tmpd);
17480 tmpd = cexp(tmpd);
17481 tmpd = clog(tmpd);
17482 tmpd = csin(tmpd);
17483 tmpd = csinh(tmpd);
17484 tmpd = csqrt(tmpd);
17485 tmpd = ctan(tmpd);
17486 tmpd = ctanh(tmpd);
17487 tmpd = cpow(tmpd, tmpd);
17488 tmpd = cproj(tmpd);
17489 ld = cabsl(tmpld);
17490 ld = cargl(tmpld);
17491 tmpld = ccosl(tmpld);
17492 tmpld = ccoshl(tmpld);
17493 tmpld = cexpl(tmpld);
17494 tmpld = clogl(tmpld);
17495 tmpld = csinl(tmpld);
17496 tmpld = csinhl(tmpld);
17497 tmpld = csqrtl(tmpld);
17498 tmpld = ctanl(tmpld);
17499 tmpld = ctanhl(tmpld);
17500 tmpld = cpowl(tmpld, tmpld);
17501 tmpld = cprojl(tmpld);
17502
17503 ;
17504 return 0;
17505 }
17506 _ACEOF
17507 if ac_fn_cxx_try_link "$LINENO"; then :
17508 glibcxx_cv_c99_complex_cxx98=yes
17509 else
17510 glibcxx_cv_c99_complex_cxx98=no
17511 fi
17512 rm -f core conftest.err conftest.$ac_objext \
17513 conftest$ac_exeext conftest.$ac_ext
17514 fi
17515
17516 fi
17517
17518 fi
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17520 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17521 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17522
17523 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17524
17525 fi
17526
17527 # Check for the existence in <stdio.h> of vscanf, et. al.
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17529 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17530 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533
17534 if test x$gcc_no_link = xyes; then
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 #include <stdio.h>
17538 #include <stdarg.h>
17539 void foo(char* fmt, ...)
17540 {
17541 va_list args; va_start(args, fmt);
17542 vfscanf(stderr, "%i", args);
17543 vscanf("%i", args);
17544 vsnprintf(fmt, 0, "%i", args);
17545 vsscanf(fmt, "%i", args);
17546 snprintf(fmt, 0, "%i");
17547 }
17548 int
17549 main ()
17550 {
17551
17552 ;
17553 return 0;
17554 }
17555 _ACEOF
17556 if ac_fn_cxx_try_compile "$LINENO"; then :
17557 glibcxx_cv_c99_stdio_cxx98=yes
17558 else
17559 glibcxx_cv_c99_stdio_cxx98=no
17560 fi
17561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17562 else
17563 if test x$gcc_no_link = xyes; then
17564 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17565 fi
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 #include <stdio.h>
17569 #include <stdarg.h>
17570 void foo(char* fmt, ...)
17571 {
17572 va_list args; va_start(args, fmt);
17573 vfscanf(stderr, "%i", args);
17574 vscanf("%i", args);
17575 vsnprintf(fmt, 0, "%i", args);
17576 vsscanf(fmt, "%i", args);
17577 snprintf(fmt, 0, "%i");
17578 }
17579 int
17580 main ()
17581 {
17582
17583 ;
17584 return 0;
17585 }
17586 _ACEOF
17587 if ac_fn_cxx_try_link "$LINENO"; then :
17588 glibcxx_cv_c99_stdio_cxx98=yes
17589 else
17590 glibcxx_cv_c99_stdio_cxx98=no
17591 fi
17592 rm -f core conftest.err conftest.$ac_objext \
17593 conftest$ac_exeext conftest.$ac_ext
17594 fi
17595
17596 fi
17597
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17599 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17600 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17601
17602 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17603
17604 fi
17605
17606 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17608 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17609 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17610 $as_echo_n "(cached) " >&6
17611 else
17612
17613 if test x$gcc_no_link = xyes; then
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <stdlib.h>
17617 volatile float f;
17618 volatile long double ld;
17619 volatile unsigned long long ll;
17620 lldiv_t mydivt;
17621 int
17622 main ()
17623 {
17624 char* tmp;
17625 f = strtof("gnu", &tmp);
17626 ld = strtold("gnu", &tmp);
17627 ll = strtoll("gnu", &tmp, 10);
17628 ll = strtoull("gnu", &tmp, 10);
17629 ll = llabs(10);
17630 mydivt = lldiv(10,1);
17631 ll = mydivt.quot;
17632 ll = mydivt.rem;
17633 ll = atoll("10");
17634 _Exit(0);
17635
17636 ;
17637 return 0;
17638 }
17639 _ACEOF
17640 if ac_fn_cxx_try_compile "$LINENO"; then :
17641 glibcxx_cv_c99_stdlib_cxx98=yes
17642 else
17643 glibcxx_cv_c99_stdlib_cxx98=no
17644 fi
17645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 else
17647 if test x$gcc_no_link = xyes; then
17648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17649 fi
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 #include <stdlib.h>
17653 volatile float f;
17654 volatile long double ld;
17655 volatile unsigned long long ll;
17656 lldiv_t mydivt;
17657 int
17658 main ()
17659 {
17660 char* tmp;
17661 f = strtof("gnu", &tmp);
17662 ld = strtold("gnu", &tmp);
17663 ll = strtoll("gnu", &tmp, 10);
17664 ll = strtoull("gnu", &tmp, 10);
17665 ll = llabs(10);
17666 mydivt = lldiv(10,1);
17667 ll = mydivt.quot;
17668 ll = mydivt.rem;
17669 ll = atoll("10");
17670 _Exit(0);
17671
17672 ;
17673 return 0;
17674 }
17675 _ACEOF
17676 if ac_fn_cxx_try_link "$LINENO"; then :
17677 glibcxx_cv_c99_stdlib_cxx98=yes
17678 else
17679 glibcxx_cv_c99_stdlib_cxx98=no
17680 fi
17681 rm -f core conftest.err conftest.$ac_objext \
17682 conftest$ac_exeext conftest.$ac_ext
17683 fi
17684
17685 fi
17686
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17688 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17689 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17690
17691 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17692
17693 fi
17694
17695 # Check for the existence in <wchar.h> of wcstold, etc.
17696 if test x"$ac_has_wchar_h" = xyes &&
17697 test x"$ac_has_wctype_h" = xyes; then
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17699 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17700 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <wchar.h>
17707 namespace test
17708 {
17709 using ::wcstold;
17710 using ::wcstoll;
17711 using ::wcstoull;
17712 }
17713
17714 int
17715 main ()
17716 {
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 if ac_fn_cxx_try_compile "$LINENO"; then :
17723 glibcxx_cv_c99_wchar_cxx98=yes
17724 else
17725 glibcxx_cv_c99_wchar_cxx98=no
17726 fi
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728
17729 fi
17730
17731
17732 # Checks for wide character functions that may not be present.
17733 # Injection of these is wrapped with guard macros.
17734 # NB: only put functions here, instead of immediately above, if
17735 # absolutely necessary.
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 #include <wchar.h>
17739 namespace test { using ::vfwscanf; }
17740 int
17741 main ()
17742 {
17743
17744 ;
17745 return 0;
17746 }
17747 _ACEOF
17748 if ac_fn_cxx_try_compile "$LINENO"; then :
17749
17750 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17751
17752 fi
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test { using ::vswscanf; }
17759 int
17760 main ()
17761 {
17762
17763 ;
17764 return 0;
17765 }
17766 _ACEOF
17767 if ac_fn_cxx_try_compile "$LINENO"; then :
17768
17769 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17770
17771 fi
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17776 #include <wchar.h>
17777 namespace test { using ::vwscanf; }
17778 int
17779 main ()
17780 {
17781
17782 ;
17783 return 0;
17784 }
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17787
17788 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17789
17790 fi
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <wchar.h>
17796 namespace test { using ::wcstof; }
17797 int
17798 main ()
17799 {
17800
17801 ;
17802 return 0;
17803 }
17804 _ACEOF
17805 if ac_fn_cxx_try_compile "$LINENO"; then :
17806
17807 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17808
17809 fi
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 #include <wctype.h>
17815 int
17816 main ()
17817 {
17818 wint_t t; int i = iswblank(t);
17819 ;
17820 return 0;
17821 }
17822 _ACEOF
17823 if ac_fn_cxx_try_compile "$LINENO"; then :
17824
17825 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17826
17827 fi
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17831 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17832 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17833
17834 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17835
17836 fi
17837 fi
17838
17839 # Option parsed, now set things appropriately.
17840 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17841 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17842 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17843 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17844 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17845 enable_c99=no;
17846 else
17847
17848 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17849
17850 fi
17851
17852 gcc_no_link="$ac_save_gcc_no_link"
17853 LIBS="$ac_save_LIBS"
17854 CXXFLAGS="$ac_save_CXXFLAGS"
17855 ac_ext=c
17856 ac_cpp='$CPP $CPPFLAGS'
17857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17860
17861
17862
17863 ac_ext=cpp
17864 ac_cpp='$CXXCPP $CPPFLAGS'
17865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17868
17869
17870 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17871 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17872 ac_save_CXXFLAGS="$CXXFLAGS"
17873 CXXFLAGS="$CXXFLAGS -std=c++11"
17874 ac_save_LIBS="$LIBS"
17875 ac_save_gcc_no_link="$gcc_no_link"
17876
17877 if test x$gcc_no_link != xyes; then
17878 # Use -fno-exceptions to that the C driver can link these tests without
17879 # hitting undefined references to personality routines.
17880 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17882 $as_echo_n "checking for sin in -lm... " >&6; }
17883 if ${ac_cv_lib_m_sin+:} false; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886 ac_check_lib_save_LIBS=$LIBS
17887 LIBS="-lm $LIBS"
17888 if test x$gcc_no_link = xyes; then
17889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17890 fi
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893
17894 /* Override any GCC internal prototype to avoid an error.
17895 Use char because int might match the return type of a GCC
17896 builtin and then its argument prototype would still apply. */
17897 #ifdef __cplusplus
17898 extern "C"
17899 #endif
17900 char sin ();
17901 int
17902 main ()
17903 {
17904 return sin ();
17905 ;
17906 return 0;
17907 }
17908 _ACEOF
17909 if ac_fn_cxx_try_link "$LINENO"; then :
17910 ac_cv_lib_m_sin=yes
17911 else
17912 ac_cv_lib_m_sin=no
17913 fi
17914 rm -f core conftest.err conftest.$ac_objext \
17915 conftest$ac_exeext conftest.$ac_ext
17916 LIBS=$ac_check_lib_save_LIBS
17917 fi
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17919 $as_echo "$ac_cv_lib_m_sin" >&6; }
17920 if test "x$ac_cv_lib_m_sin" = xyes; then :
17921 LIBS="$LIBS -lm"
17922 else
17923
17924 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17925 gcc_no_link=yes
17926
17927 fi
17928
17929 fi
17930
17931 # Check for the existence of <math.h> functions used if C99 is enabled.
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17933 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17934 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17935 $as_echo_n "(cached) " >&6
17936 else
17937
17938 if test x$gcc_no_link = xyes; then
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17941 #include <math.h>
17942 volatile double d1, d2;
17943 volatile int i;
17944 int
17945 main ()
17946 {
17947 i = fpclassify(d1);
17948 i = isfinite(d1);
17949 i = isinf(d1);
17950 i = isnan(d1);
17951 i = isnormal(d1);
17952 i = signbit(d1);
17953 i = isgreater(d1, d2);
17954 i = isgreaterequal(d1, d2);
17955 i = isless(d1, d2);
17956 i = islessequal(d1, d2);
17957 i = islessgreater(d1, d2);
17958 i = islessgreater(d1, d2);
17959 i = isunordered(d1, d2);
17960
17961 ;
17962 return 0;
17963 }
17964 _ACEOF
17965 if ac_fn_cxx_try_compile "$LINENO"; then :
17966 glibcxx_cv_c99_math_cxx11=yes
17967 else
17968 glibcxx_cv_c99_math_cxx11=no
17969 fi
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 else
17972 if test x$gcc_no_link = xyes; then
17973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17974 fi
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <math.h>
17978 volatile double d1, d2;
17979 volatile int i;
17980 int
17981 main ()
17982 {
17983 i = fpclassify(d1);
17984 i = isfinite(d1);
17985 i = isinf(d1);
17986 i = isnan(d1);
17987 i = isnormal(d1);
17988 i = signbit(d1);
17989 i = isgreater(d1, d2);
17990 i = isgreaterequal(d1, d2);
17991 i = isless(d1, d2);
17992 i = islessequal(d1, d2);
17993 i = islessgreater(d1, d2);
17994 i = islessgreater(d1, d2);
17995 i = isunordered(d1, d2);
17996
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 if ac_fn_cxx_try_link "$LINENO"; then :
18002 glibcxx_cv_c99_math_cxx11=yes
18003 else
18004 glibcxx_cv_c99_math_cxx11=no
18005 fi
18006 rm -f core conftest.err conftest.$ac_objext \
18007 conftest$ac_exeext conftest.$ac_ext
18008 fi
18009
18010 fi
18011
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18013 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18014 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18015
18016 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18017
18018 fi
18019
18020 # Check for the existence of <complex.h> complex math functions.
18021 # This is necessary even though libstdc++ uses the builtin versions
18022 # of these functions, because if the builtin cannot be used, a reference
18023 # to the library function is emitted.
18024 for ac_header in tgmath.h
18025 do :
18026 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18027 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18028 cat >>confdefs.h <<_ACEOF
18029 #define HAVE_TGMATH_H 1
18030 _ACEOF
18031 ac_has_tgmath_h=yes
18032 else
18033 ac_has_tgmath_h=no
18034 fi
18035
18036 done
18037
18038 for ac_header in complex.h
18039 do :
18040 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18041 if test "x$ac_cv_header_complex_h" = xyes; then :
18042 cat >>confdefs.h <<_ACEOF
18043 #define HAVE_COMPLEX_H 1
18044 _ACEOF
18045 ac_has_complex_h=yes
18046 else
18047 ac_has_complex_h=no
18048 fi
18049
18050 done
18051
18052 if test x"$ac_has_complex_h" = x"yes"; then
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18054 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18055 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18058
18059 if test x$gcc_no_link = xyes; then
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18062 #include <complex.h>
18063 typedef __complex__ float float_type;
18064 typedef __complex__ double double_type;
18065 typedef __complex__ long double ld_type;
18066 volatile float_type tmpf;
18067 volatile double_type tmpd;
18068 volatile ld_type tmpld;
18069 volatile float f;
18070 volatile double d;
18071 volatile long double ld;
18072 int
18073 main ()
18074 {
18075 f = cabsf(tmpf);
18076 f = cargf(tmpf);
18077 tmpf = ccosf(tmpf);
18078 tmpf = ccoshf(tmpf);
18079 tmpf = cexpf(tmpf);
18080 tmpf = clogf(tmpf);
18081 tmpf = csinf(tmpf);
18082 tmpf = csinhf(tmpf);
18083 tmpf = csqrtf(tmpf);
18084 tmpf = ctanf(tmpf);
18085 tmpf = ctanhf(tmpf);
18086 tmpf = cpowf(tmpf, tmpf);
18087 tmpf = cprojf(tmpf);
18088 d = cabs(tmpd);
18089 d = carg(tmpd);
18090 tmpd = ccos(tmpd);
18091 tmpd = ccosh(tmpd);
18092 tmpd = cexp(tmpd);
18093 tmpd = clog(tmpd);
18094 tmpd = csin(tmpd);
18095 tmpd = csinh(tmpd);
18096 tmpd = csqrt(tmpd);
18097 tmpd = ctan(tmpd);
18098 tmpd = ctanh(tmpd);
18099 tmpd = cpow(tmpd, tmpd);
18100 tmpd = cproj(tmpd);
18101 ld = cabsl(tmpld);
18102 ld = cargl(tmpld);
18103 tmpld = ccosl(tmpld);
18104 tmpld = ccoshl(tmpld);
18105 tmpld = cexpl(tmpld);
18106 tmpld = clogl(tmpld);
18107 tmpld = csinl(tmpld);
18108 tmpld = csinhl(tmpld);
18109 tmpld = csqrtl(tmpld);
18110 tmpld = ctanl(tmpld);
18111 tmpld = ctanhl(tmpld);
18112 tmpld = cpowl(tmpld, tmpld);
18113 tmpld = cprojl(tmpld);
18114
18115 ;
18116 return 0;
18117 }
18118 _ACEOF
18119 if ac_fn_cxx_try_compile "$LINENO"; then :
18120 glibcxx_cv_c99_complex_cxx11=yes
18121 else
18122 glibcxx_cv_c99_complex_cxx11=no
18123 fi
18124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18125 else
18126 if test x$gcc_no_link = xyes; then
18127 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18128 fi
18129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18131 #include <complex.h>
18132 typedef __complex__ float float_type;
18133 typedef __complex__ double double_type;
18134 typedef __complex__ long double ld_type;
18135 volatile float_type tmpf;
18136 volatile double_type tmpd;
18137 volatile ld_type tmpld;
18138 volatile float f;
18139 volatile double d;
18140 volatile long double ld;
18141 int
18142 main ()
18143 {
18144 f = cabsf(tmpf);
18145 f = cargf(tmpf);
18146 tmpf = ccosf(tmpf);
18147 tmpf = ccoshf(tmpf);
18148 tmpf = cexpf(tmpf);
18149 tmpf = clogf(tmpf);
18150 tmpf = csinf(tmpf);
18151 tmpf = csinhf(tmpf);
18152 tmpf = csqrtf(tmpf);
18153 tmpf = ctanf(tmpf);
18154 tmpf = ctanhf(tmpf);
18155 tmpf = cpowf(tmpf, tmpf);
18156 tmpf = cprojf(tmpf);
18157 d = cabs(tmpd);
18158 d = carg(tmpd);
18159 tmpd = ccos(tmpd);
18160 tmpd = ccosh(tmpd);
18161 tmpd = cexp(tmpd);
18162 tmpd = clog(tmpd);
18163 tmpd = csin(tmpd);
18164 tmpd = csinh(tmpd);
18165 tmpd = csqrt(tmpd);
18166 tmpd = ctan(tmpd);
18167 tmpd = ctanh(tmpd);
18168 tmpd = cpow(tmpd, tmpd);
18169 tmpd = cproj(tmpd);
18170 ld = cabsl(tmpld);
18171 ld = cargl(tmpld);
18172 tmpld = ccosl(tmpld);
18173 tmpld = ccoshl(tmpld);
18174 tmpld = cexpl(tmpld);
18175 tmpld = clogl(tmpld);
18176 tmpld = csinl(tmpld);
18177 tmpld = csinhl(tmpld);
18178 tmpld = csqrtl(tmpld);
18179 tmpld = ctanl(tmpld);
18180 tmpld = ctanhl(tmpld);
18181 tmpld = cpowl(tmpld, tmpld);
18182 tmpld = cprojl(tmpld);
18183
18184 ;
18185 return 0;
18186 }
18187 _ACEOF
18188 if ac_fn_cxx_try_link "$LINENO"; then :
18189 glibcxx_cv_c99_complex_cxx11=yes
18190 else
18191 glibcxx_cv_c99_complex_cxx11=no
18192 fi
18193 rm -f core conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext conftest.$ac_ext
18195 fi
18196
18197 fi
18198
18199 fi
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18201 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18202 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18203
18204 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18205
18206 fi
18207
18208 # Check for the existence in <stdio.h> of vscanf, et. al.
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18210 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18211 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18212 $as_echo_n "(cached) " >&6
18213 else
18214
18215 if test x$gcc_no_link = xyes; then
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18218 #include <stdio.h>
18219 #include <stdarg.h>
18220 void foo(char* fmt, ...)
18221 {
18222 va_list args; va_start(args, fmt);
18223 vfscanf(stderr, "%i", args);
18224 vscanf("%i", args);
18225 vsnprintf(fmt, 0, "%i", args);
18226 vsscanf(fmt, "%i", args);
18227 snprintf(fmt, 0, "%i");
18228 }
18229 int
18230 main ()
18231 {
18232
18233 ;
18234 return 0;
18235 }
18236 _ACEOF
18237 if ac_fn_cxx_try_compile "$LINENO"; then :
18238 glibcxx_cv_c99_stdio_cxx11=yes
18239 else
18240 glibcxx_cv_c99_stdio_cxx11=no
18241 fi
18242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18243 else
18244 if test x$gcc_no_link = xyes; then
18245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18246 fi
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <stdio.h>
18250 #include <stdarg.h>
18251 void foo(char* fmt, ...)
18252 {
18253 va_list args; va_start(args, fmt);
18254 vfscanf(stderr, "%i", args);
18255 vscanf("%i", args);
18256 vsnprintf(fmt, 0, "%i", args);
18257 vsscanf(fmt, "%i", args);
18258 snprintf(fmt, 0, "%i");
18259 }
18260 int
18261 main ()
18262 {
18263
18264 ;
18265 return 0;
18266 }
18267 _ACEOF
18268 if ac_fn_cxx_try_link "$LINENO"; then :
18269 glibcxx_cv_c99_stdio_cxx11=yes
18270 else
18271 glibcxx_cv_c99_stdio_cxx11=no
18272 fi
18273 rm -f core conftest.err conftest.$ac_objext \
18274 conftest$ac_exeext conftest.$ac_ext
18275 fi
18276
18277 fi
18278
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18280 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18281 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18282
18283 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18284
18285 fi
18286
18287 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18289 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18290 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18293
18294 if test x$gcc_no_link = xyes; then
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <stdlib.h>
18298 volatile float f;
18299 volatile long double ld;
18300 volatile unsigned long long ll;
18301 lldiv_t mydivt;
18302 int
18303 main ()
18304 {
18305 char* tmp;
18306 f = strtof("gnu", &tmp);
18307 ld = strtold("gnu", &tmp);
18308 ll = strtoll("gnu", &tmp, 10);
18309 ll = strtoull("gnu", &tmp, 10);
18310 ll = llabs(10);
18311 mydivt = lldiv(10,1);
18312 ll = mydivt.quot;
18313 ll = mydivt.rem;
18314 ll = atoll("10");
18315 _Exit(0);
18316
18317 ;
18318 return 0;
18319 }
18320 _ACEOF
18321 if ac_fn_cxx_try_compile "$LINENO"; then :
18322 glibcxx_cv_c99_stdlib_cxx11=yes
18323 else
18324 glibcxx_cv_c99_stdlib_cxx11=no
18325 fi
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18327 else
18328 if test x$gcc_no_link = xyes; then
18329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 fi
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 #include <stdlib.h>
18334 volatile float f;
18335 volatile long double ld;
18336 volatile unsigned long long ll;
18337 lldiv_t mydivt;
18338 int
18339 main ()
18340 {
18341 char* tmp;
18342 f = strtof("gnu", &tmp);
18343 ld = strtold("gnu", &tmp);
18344 ll = strtoll("gnu", &tmp, 10);
18345 ll = strtoull("gnu", &tmp, 10);
18346 ll = llabs(10);
18347 mydivt = lldiv(10,1);
18348 ll = mydivt.quot;
18349 ll = mydivt.rem;
18350 ll = atoll("10");
18351 _Exit(0);
18352
18353 ;
18354 return 0;
18355 }
18356 _ACEOF
18357 if ac_fn_cxx_try_link "$LINENO"; then :
18358 glibcxx_cv_c99_stdlib_cxx11=yes
18359 else
18360 glibcxx_cv_c99_stdlib_cxx11=no
18361 fi
18362 rm -f core conftest.err conftest.$ac_objext \
18363 conftest$ac_exeext conftest.$ac_ext
18364 fi
18365
18366 fi
18367
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18369 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18370 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18371
18372 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18373
18374 fi
18375
18376 # Check for the existence in <wchar.h> of wcstold, etc.
18377 if test x"$ac_has_wchar_h" = xyes &&
18378 test x"$ac_has_wctype_h" = xyes; then
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18380 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18381 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18382 $as_echo_n "(cached) " >&6
18383 else
18384
18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18387 #include <wchar.h>
18388 namespace test
18389 {
18390 using ::wcstold;
18391 using ::wcstoll;
18392 using ::wcstoull;
18393 }
18394
18395 int
18396 main ()
18397 {
18398
18399 ;
18400 return 0;
18401 }
18402 _ACEOF
18403 if ac_fn_cxx_try_compile "$LINENO"; then :
18404 glibcxx_cv_c99_wchar_cxx11=yes
18405 else
18406 glibcxx_cv_c99_wchar_cxx11=no
18407 fi
18408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18409
18410 fi
18411
18412
18413 # Checks for wide character functions that may not be present.
18414 # Injection of these is wrapped with guard macros.
18415 # NB: only put functions here, instead of immediately above, if
18416 # absolutely necessary.
18417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18419 #include <wchar.h>
18420 namespace test { using ::vfwscanf; }
18421 int
18422 main ()
18423 {
18424
18425 ;
18426 return 0;
18427 }
18428 _ACEOF
18429 if ac_fn_cxx_try_compile "$LINENO"; then :
18430
18431 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18432
18433 fi
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18435
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 #include <wchar.h>
18439 namespace test { using ::vswscanf; }
18440 int
18441 main ()
18442 {
18443
18444 ;
18445 return 0;
18446 }
18447 _ACEOF
18448 if ac_fn_cxx_try_compile "$LINENO"; then :
18449
18450 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18451
18452 fi
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 #include <wchar.h>
18458 namespace test { using ::vwscanf; }
18459 int
18460 main ()
18461 {
18462
18463 ;
18464 return 0;
18465 }
18466 _ACEOF
18467 if ac_fn_cxx_try_compile "$LINENO"; then :
18468
18469 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18470
18471 fi
18472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476 #include <wchar.h>
18477 namespace test { using ::wcstof; }
18478 int
18479 main ()
18480 {
18481
18482 ;
18483 return 0;
18484 }
18485 _ACEOF
18486 if ac_fn_cxx_try_compile "$LINENO"; then :
18487
18488 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18489
18490 fi
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 #include <wctype.h>
18496 int
18497 main ()
18498 {
18499 wint_t t; int i = iswblank(t);
18500 ;
18501 return 0;
18502 }
18503 _ACEOF
18504 if ac_fn_cxx_try_compile "$LINENO"; then :
18505
18506 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18507
18508 fi
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18512 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18513 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18514
18515 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18516
18517 fi
18518 fi
18519
18520 gcc_no_link="$ac_save_gcc_no_link"
18521 LIBS="$ac_save_LIBS"
18522 CXXFLAGS="$ac_save_CXXFLAGS"
18523 ac_ext=c
18524 ac_cpp='$CPP $CPPFLAGS'
18525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18528
18529 fi
18530
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18532 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18534 $as_echo "$enable_c99" >&6; }
18535
18536
18537 # Check whether --enable-concept-checks was given.
18538 if test "${enable_concept_checks+set}" = set; then :
18539 enableval=$enable_concept_checks;
18540 case "$enableval" in
18541 yes|no) ;;
18542 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18543 esac
18544
18545 else
18546 enable_concept_checks=no
18547 fi
18548
18549
18550 if test $enable_concept_checks = yes; then
18551
18552 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18553
18554 fi
18555
18556
18557 # Check whether --enable-libstdcxx-debug-flags was given.
18558 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18559 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18560 xno | x) enable_libstdcxx_debug_flags= ;;
18561 x-*) ;;
18562 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18563 esac
18564 else
18565 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18566 fi
18567
18568
18569
18570 # Option parsed, now set things appropriately
18571 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18572
18573
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18575 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18576
18577
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18579 $as_echo_n "checking for additional debug build... " >&6; }
18580 skip_debug_build=
18581 # Check whether --enable-libstdcxx-debug was given.
18582 if test "${enable_libstdcxx_debug+set}" = set; then :
18583 enableval=$enable_libstdcxx_debug;
18584 case "$enableval" in
18585 yes|no) ;;
18586 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18587 esac
18588
18589 else
18590 enable_libstdcxx_debug=no
18591 fi
18592
18593
18594 if test x$enable_libstdcxx_debug = xyes; then
18595 if test -f $toplevel_builddir/../stage_final \
18596 && test -f $toplevel_builddir/../stage_current; then
18597 stage_final=`cat $toplevel_builddir/../stage_final`
18598 stage_current=`cat $toplevel_builddir/../stage_current`
18599 if test x$stage_current != x$stage_final ; then
18600 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18601 enable_libstdcxx_debug=no
18602 fi
18603 fi
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18606 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18607
18608
18609
18610
18611 enable_parallel=no;
18612
18613 # See if configured libgomp/omp.h exists. (libgomp may be in
18614 # noconfigdirs but not explicitly disabled.)
18615 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18616 enable_parallel=yes;
18617 else
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18619 $as_echo "$as_me: target-libgomp not built" >&6;}
18620 fi
18621
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18623 $as_echo_n "checking for parallel mode support... " >&6; }
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18625 $as_echo "$enable_parallel" >&6; }
18626
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18628 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18629 # Check whether --enable-cxx-flags was given.
18630 if test "${enable_cxx_flags+set}" = set; then :
18631 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18632 xno | x) enable_cxx_flags= ;;
18633 x-*) ;;
18634 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18635 esac
18636 else
18637 enable_cxx_flags=
18638 fi
18639
18640
18641
18642 # Run through flags (either default or command-line) and set anything
18643 # extra (e.g., #defines) that must accompany particular g++ options.
18644 if test -n "$enable_cxx_flags"; then
18645 for f in $enable_cxx_flags; do
18646 case "$f" in
18647 -fhonor-std) ;;
18648 -*) ;;
18649 *) # and we're trying to pass /what/ exactly?
18650 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18651 esac
18652 done
18653 fi
18654
18655 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18657 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18658
18659
18660
18661 # Check whether --enable-fully-dynamic-string was given.
18662 if test "${enable_fully_dynamic_string+set}" = set; then :
18663 enableval=$enable_fully_dynamic_string;
18664 case "$enableval" in
18665 yes|no) ;;
18666 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18667 esac
18668
18669 else
18670 enable_fully_dynamic_string=no
18671 fi
18672
18673
18674 if test $enable_fully_dynamic_string = yes; then
18675 enable_fully_dynamic_string_def=1
18676 else
18677 enable_fully_dynamic_string_def=0
18678 fi
18679
18680 cat >>confdefs.h <<_ACEOF
18681 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18682 _ACEOF
18683
18684
18685
18686
18687 # Check whether --enable-extern-template was given.
18688 if test "${enable_extern_template+set}" = set; then :
18689 enableval=$enable_extern_template;
18690 case "$enableval" in
18691 yes|no) ;;
18692 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18693 esac
18694
18695 else
18696 enable_extern_template=yes
18697 fi
18698
18699
18700
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18702 $as_echo_n "checking for extern template support... " >&6; }
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18704 $as_echo "$enable_extern_template" >&6; }
18705
18706
18707
18708
18709
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18711 $as_echo_n "checking for custom python install directory... " >&6; }
18712
18713 # Check whether --with-python-dir was given.
18714 if test "${with_python_dir+set}" = set; then :
18715 withval=$with_python_dir; with_python_dir=$withval
18716 else
18717 with_python_dir="no"
18718 fi
18719
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18721 $as_echo "${with_python_dir}" >&6; }
18722
18723 # Needed for installing Python modules during make install.
18724 python_mod_dir="${with_python_dir}"
18725
18726
18727
18728
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18730 $as_echo_n "checking for -Werror... " >&6; }
18731 # Check whether --enable-werror was given.
18732 if test "${enable_werror+set}" = set; then :
18733 enableval=$enable_werror;
18734 case "$enableval" in
18735 yes|no) ;;
18736 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18737 esac
18738
18739 else
18740 enable_werror=no
18741 fi
18742
18743
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18745 $as_echo "$enable_werror" >&6; }
18746
18747
18748
18749
18750 # Check whether --enable-vtable-verify was given.
18751 if test "${enable_vtable_verify+set}" = set; then :
18752 enableval=$enable_vtable_verify;
18753 case "$enableval" in
18754 yes|no) ;;
18755 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18756 esac
18757
18758 else
18759 enable_vtable_verify=no
18760 fi
18761
18762
18763
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18765 $as_echo_n "checking for vtable verify support... " >&6; }
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18767 $as_echo "$enable_vtable_verify" >&6; }
18768
18769 vtv_cygmin=no
18770 if test $enable_vtable_verify = yes; then
18771 case ${target_os} in
18772 cygwin*|mingw32*)
18773 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18774 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18775 vtv_cygmin=yes
18776 ;;
18777 darwin*)
18778 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18779 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18780 ;;
18781 solaris2*)
18782 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18783 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18784 ;;
18785 *)
18786 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18787 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18788 ;;
18789 esac
18790 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18791 else
18792 VTV_CXXFLAGS=
18793 VTV_PCH_CXXFLAGS=
18794 VTV_CXXLINKFLAGS=
18795 fi
18796
18797
18798
18799
18800 if test x$vtv_cygmin = xyes; then
18801 VTV_CYGMIN_TRUE=
18802 VTV_CYGMIN_FALSE='#'
18803 else
18804 VTV_CYGMIN_TRUE='#'
18805 VTV_CYGMIN_FALSE=
18806 fi
18807
18808
18809
18810
18811 # Checks for operating systems support that doesn't require linking.
18812
18813
18814
18815 ac_ext=cpp
18816 ac_cpp='$CXXCPP $CPPFLAGS'
18817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18820
18821 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18822 # and we don't need a declaration for C++14 anyway.
18823 ac_save_CXXFLAGS="$CXXFLAGS"
18824 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18825
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18827 $as_echo_n "checking for gets declaration... " >&6; }
18828 if ${glibcxx_cv_gets+:} false; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18831
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <stdio.h>
18835 namespace test
18836 {
18837 using ::gets;
18838 }
18839
18840 _ACEOF
18841 if ac_fn_cxx_try_compile "$LINENO"; then :
18842 glibcxx_cv_gets=yes
18843 else
18844 glibcxx_cv_gets=no
18845
18846 fi
18847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18848 fi
18849
18850
18851 if test $glibcxx_cv_gets = yes; then
18852
18853 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18854
18855 fi
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18857 $as_echo "$glibcxx_cv_gets" >&6; }
18858
18859 CXXFLAGS="$ac_save_CXXFLAGS"
18860 ac_ext=c
18861 ac_cpp='$CPP $CPPFLAGS'
18862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18865
18866
18867
18868
18869
18870 ac_ext=cpp
18871 ac_cpp='$CXXCPP $CPPFLAGS'
18872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18875
18876 ac_save_CXXFLAGS="$CXXFLAGS"
18877 CXXFLAGS="$CXXFLAGS -std=c++11"
18878
18879 case "$host" in
18880 *-*-solaris2.*)
18881 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18882 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18884 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18885 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18886 $as_echo_n "(cached) " >&6
18887 else
18888
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18891 #include <math.h>
18892 #undef isfinite
18893 namespace std {
18894 inline bool isfinite(float __x)
18895 { return __builtin_isfinite(__x); }
18896 }
18897
18898 _ACEOF
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 glibcxx_cv_math11_fp_overload=no
18901 else
18902 glibcxx_cv_math11_fp_overload=yes
18903
18904 fi
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906 fi
18907
18908
18909 # autoheader cannot handle indented templates.
18910
18911
18912 if test $glibcxx_cv_math11_fp_overload = yes; then
18913 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18914
18915 fi
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18917 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18918
18919 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18920 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18922 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18923 if ${glibcxx_cv_math11_int_overload+:} false; then :
18924 $as_echo_n "(cached) " >&6
18925 else
18926
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 #include <math.h>
18930 namespace std {
18931 template<typename _Tp>
18932 struct __is_integer;
18933 template<>
18934 struct __is_integer<int>
18935 {
18936 enum { __value = 1 };
18937 };
18938 }
18939 namespace __gnu_cxx {
18940 template<bool, typename>
18941 struct __enable_if;
18942 template<typename _Tp>
18943 struct __enable_if<true, _Tp>
18944 { typedef _Tp __type; };
18945 }
18946 namespace std {
18947 template<typename _Tp>
18948 constexpr typename __gnu_cxx::__enable_if
18949 <__is_integer<_Tp>::__value, double>::__type
18950 log2(_Tp __x)
18951 { return __builtin_log2(__x); }
18952 }
18953 int
18954 main (void)
18955 {
18956 int i = 1000;
18957 return std::log2(i);
18958 }
18959
18960 _ACEOF
18961 if ac_fn_cxx_try_compile "$LINENO"; then :
18962 glibcxx_cv_math11_int_overload=no
18963 else
18964 glibcxx_cv_math11_int_overload=yes
18965
18966 fi
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 fi
18969
18970
18971 # autoheader cannot handle indented templates.
18972
18973
18974 if test $glibcxx_cv_math11_int_overload = yes; then
18975 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18976
18977 fi
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18979 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18980 ;;
18981 *)
18982 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18983 # functions (instead of or as well as the C99 generic macros) then we
18984 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18985 # and must use the ones from <math.h> instead.
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18987 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18988 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18989 $as_echo_n "(cached) " >&6
18990 else
18991
18992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18993 /* end confdefs.h. */
18994 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18995 #include <math.h>
18996 #undef isinf
18997 namespace std {
18998 using ::isinf;
18999 bool isinf(float);
19000 bool isinf(long double);
19001 }
19002 using std::isinf;
19003 bool b = isinf(0.0);
19004
19005 _ACEOF
19006 if ac_fn_cxx_try_compile "$LINENO"; then :
19007 glibcxx_cv_obsolete_isinf=yes
19008 else
19009 glibcxx_cv_obsolete_isinf=no
19010
19011 fi
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19013 fi
19014
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19016 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19017 if test $glibcxx_cv_obsolete_isinf = yes; then
19018
19019 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19020
19021 fi
19022
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19024 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19025 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19028
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19031 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19032 #include <math.h>
19033 #undef isnan
19034 namespace std {
19035 using ::isnan;
19036 bool isnan(float);
19037 bool isnan(long double);
19038 }
19039 using std::isnan;
19040 bool b = isnan(0.0);
19041
19042 _ACEOF
19043 if ac_fn_cxx_try_compile "$LINENO"; then :
19044 glibcxx_cv_obsolete_isnan=yes
19045 else
19046 glibcxx_cv_obsolete_isnan=no
19047
19048 fi
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19050 fi
19051
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19053 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19054 if test $glibcxx_cv_obsolete_isnan = yes; then
19055
19056 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19057
19058 fi
19059 ;;
19060 esac
19061
19062 CXXFLAGS="$ac_save_CXXFLAGS"
19063 ac_ext=c
19064 ac_cpp='$CPP $CPPFLAGS'
19065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19068
19069
19070
19071
19072 # Test uchar.h.
19073 for ac_header in uchar.h
19074 do :
19075 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19076 if test "x$ac_cv_header_uchar_h" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_UCHAR_H 1
19079 _ACEOF
19080 ac_has_uchar_h=yes
19081 else
19082 ac_has_uchar_h=no
19083 fi
19084
19085 done
19086
19087
19088
19089 ac_ext=cpp
19090 ac_cpp='$CXXCPP $CPPFLAGS'
19091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19094
19095 ac_save_CXXFLAGS="$CXXFLAGS"
19096 CXXFLAGS="$CXXFLAGS -std=c++11"
19097
19098 if test x"$ac_has_uchar_h" = x"yes"; then
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19100 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103 #include <uchar.h>
19104 #ifdef __STDC_UTF_16__
19105 long i = __STDC_UTF_16__;
19106 #endif
19107 #ifdef __STDC_UTF_32__
19108 long j = __STDC_UTF_32__;
19109 #endif
19110 namespace test
19111 {
19112 using ::c16rtomb;
19113 using ::c32rtomb;
19114 using ::mbrtoc16;
19115 using ::mbrtoc32;
19116 }
19117
19118 int
19119 main ()
19120 {
19121
19122 ;
19123 return 0;
19124 }
19125 _ACEOF
19126 if ac_fn_cxx_try_compile "$LINENO"; then :
19127 ac_c11_uchar_cxx11=yes
19128 else
19129 ac_c11_uchar_cxx11=no
19130 fi
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19132 else
19133 ac_c11_uchar_cxx11=no
19134 fi
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19136 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19137 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19138
19139 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19140
19141 fi
19142
19143 CXXFLAGS="$ac_save_CXXFLAGS"
19144 ac_ext=c
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149
19150
19151
19152 # For the streamoff typedef.
19153
19154
19155
19156 ac_ext=cpp
19157 ac_cpp='$CXXCPP $CPPFLAGS'
19158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19161
19162
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19164 $as_echo_n "checking for int64_t... " >&6; }
19165 if ${glibcxx_cv_INT64_T+:} false; then :
19166 $as_echo_n "(cached) " >&6
19167 else
19168
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19171 #include <stdint.h>
19172 int
19173 main ()
19174 {
19175 int64_t var;
19176 ;
19177 return 0;
19178 }
19179 _ACEOF
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 glibcxx_cv_INT64_T=yes
19182 else
19183 glibcxx_cv_INT64_T=no
19184 fi
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186
19187 fi
19188
19189
19190 if test $glibcxx_cv_INT64_T = yes; then
19191
19192 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19193
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19195 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19196
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19198 $as_echo_n "checking for int64_t as long... " >&6; }
19199 if ${glibcxx_cv_int64_t_long+:} false; then :
19200 $as_echo_n "(cached) " >&6
19201 else
19202
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <stdint.h>
19206 template<typename, typename> struct same { enum { value = -1 }; };
19207 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19208 int array[same<int64_t, long>::value];
19209 int
19210 main ()
19211 {
19212
19213 ;
19214 return 0;
19215 }
19216 _ACEOF
19217 if ac_fn_cxx_try_compile "$LINENO"; then :
19218 glibcxx_cv_int64_t_long=yes
19219 else
19220 glibcxx_cv_int64_t_long=no
19221 fi
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223
19224 fi
19225
19226
19227 if test $glibcxx_cv_int64_t_long = yes; then
19228
19229 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19230
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19232 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19233 fi
19234
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19236 $as_echo_n "checking for int64_t as long long... " >&6; }
19237 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19238 $as_echo_n "(cached) " >&6
19239 else
19240
19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 #include <stdint.h>
19244 template<typename, typename> struct same { enum { value = -1 }; };
19245 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19246 int array[same<int64_t, long long>::value];
19247 int
19248 main ()
19249 {
19250
19251 ;
19252 return 0;
19253 }
19254 _ACEOF
19255 if ac_fn_cxx_try_compile "$LINENO"; then :
19256 glibcxx_cv_int64_t_long_long=yes
19257 else
19258 glibcxx_cv_int64_t_long_long=no
19259 fi
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261
19262 fi
19263
19264
19265 if test $glibcxx_cv_int64_t_long_long = yes; then
19266
19267 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19268
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19270 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19271 fi
19272 fi
19273
19274 ac_ext=c
19275 ac_cpp='$CPP $CPPFLAGS'
19276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19279
19280
19281
19282 # For LFS support.
19283
19284
19285 ac_ext=cpp
19286 ac_cpp='$CXXCPP $CPPFLAGS'
19287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19290
19291 ac_save_CXXFLAGS="$CXXFLAGS"
19292 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19294 $as_echo_n "checking for LFS support... " >&6; }
19295 if ${glibcxx_cv_LFS+:} false; then :
19296 $as_echo_n "(cached) " >&6
19297 else
19298
19299 if test x$gcc_no_link = xyes; then
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 #include <unistd.h>
19303 #include <stdio.h>
19304 #include <sys/stat.h>
19305
19306 int
19307 main ()
19308 {
19309 FILE* fp;
19310 fopen64("t", "w");
19311 fseeko64(fp, 0, SEEK_CUR);
19312 ftello64(fp);
19313 lseek64(1, 0, SEEK_CUR);
19314 struct stat64 buf;
19315 fstat64(1, &buf);
19316 ;
19317 return 0;
19318 }
19319 _ACEOF
19320 if ac_fn_cxx_try_compile "$LINENO"; then :
19321 glibcxx_cv_LFS=yes
19322 else
19323 glibcxx_cv_LFS=no
19324 fi
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 else
19327 if test x$gcc_no_link = xyes; then
19328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 fi
19330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19332 #include <unistd.h>
19333 #include <stdio.h>
19334 #include <sys/stat.h>
19335
19336 int
19337 main ()
19338 {
19339 FILE* fp;
19340 fopen64("t", "w");
19341 fseeko64(fp, 0, SEEK_CUR);
19342 ftello64(fp);
19343 lseek64(1, 0, SEEK_CUR);
19344 struct stat64 buf;
19345 fstat64(1, &buf);
19346 ;
19347 return 0;
19348 }
19349 _ACEOF
19350 if ac_fn_cxx_try_link "$LINENO"; then :
19351 glibcxx_cv_LFS=yes
19352 else
19353 glibcxx_cv_LFS=no
19354 fi
19355 rm -f core conftest.err conftest.$ac_objext \
19356 conftest$ac_exeext conftest.$ac_ext
19357 fi
19358
19359 fi
19360
19361 if test $glibcxx_cv_LFS = yes; then
19362
19363 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19364
19365 fi
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19367 $as_echo "$glibcxx_cv_LFS" >&6; }
19368 CXXFLAGS="$ac_save_CXXFLAGS"
19369 ac_ext=c
19370 ac_cpp='$CPP $CPPFLAGS'
19371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374
19375
19376
19377 # For showmanyc_helper().
19378 for ac_header in sys/ioctl.h sys/filio.h
19379 do :
19380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19385 _ACEOF
19386
19387 fi
19388
19389 done
19390
19391
19392
19393
19394 ac_ext=cpp
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399
19400 ac_save_CXXFLAGS="$CXXFLAGS"
19401 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19402
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19404 $as_echo_n "checking for poll... " >&6; }
19405 if ${glibcxx_cv_POLL+:} false; then :
19406 $as_echo_n "(cached) " >&6
19407 else
19408
19409 if test x$gcc_no_link = xyes; then
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <poll.h>
19413 int
19414 main ()
19415 {
19416 struct pollfd pfd[1];
19417 pfd[0].events = POLLIN;
19418 poll(pfd, 1, 0);
19419 ;
19420 return 0;
19421 }
19422 _ACEOF
19423 if ac_fn_cxx_try_compile "$LINENO"; then :
19424 glibcxx_cv_POLL=yes
19425 else
19426 glibcxx_cv_POLL=no
19427 fi
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 else
19430 if test x$gcc_no_link = xyes; then
19431 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 fi
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <poll.h>
19436 int
19437 main ()
19438 {
19439 struct pollfd pfd[1];
19440 pfd[0].events = POLLIN;
19441 poll(pfd, 1, 0);
19442 ;
19443 return 0;
19444 }
19445 _ACEOF
19446 if ac_fn_cxx_try_link "$LINENO"; then :
19447 glibcxx_cv_POLL=yes
19448 else
19449 glibcxx_cv_POLL=no
19450 fi
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext conftest.$ac_ext
19453 fi
19454
19455 fi
19456
19457 if test $glibcxx_cv_POLL = yes; then
19458
19459 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19460
19461 fi
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19463 $as_echo "$glibcxx_cv_POLL" >&6; }
19464
19465 CXXFLAGS="$ac_save_CXXFLAGS"
19466 ac_ext=c
19467 ac_cpp='$CPP $CPPFLAGS'
19468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19471
19472
19473
19474
19475
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19481
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19486 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19487 if ${glibcxx_cv_S_ISREG+:} false; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19490
19491 if test x$gcc_no_link = xyes; then
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <sys/stat.h>
19495 int
19496 main ()
19497 {
19498 struct stat buffer;
19499 fstat(0, &buffer);
19500 S_ISREG(buffer.st_mode);
19501 ;
19502 return 0;
19503 }
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506 glibcxx_cv_S_ISREG=yes
19507 else
19508 glibcxx_cv_S_ISREG=no
19509 fi
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 else
19512 if test x$gcc_no_link = xyes; then
19513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 fi
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <sys/stat.h>
19518 int
19519 main ()
19520 {
19521 struct stat buffer;
19522 fstat(0, &buffer);
19523 S_ISREG(buffer.st_mode);
19524 ;
19525 return 0;
19526 }
19527 _ACEOF
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529 glibcxx_cv_S_ISREG=yes
19530 else
19531 glibcxx_cv_S_ISREG=no
19532 fi
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19535 fi
19536
19537 fi
19538
19539 if ${glibcxx_cv_S_IFREG+:} false; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542
19543 if test x$gcc_no_link = xyes; then
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <sys/stat.h>
19547 int
19548 main ()
19549 {
19550 struct stat buffer;
19551 fstat(0, &buffer);
19552 S_IFREG & buffer.st_mode;
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 if ac_fn_cxx_try_compile "$LINENO"; then :
19558 glibcxx_cv_S_IFREG=yes
19559 else
19560 glibcxx_cv_S_IFREG=no
19561 fi
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19566 fi
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #include <sys/stat.h>
19570 int
19571 main ()
19572 {
19573 struct stat buffer;
19574 fstat(0, &buffer);
19575 S_IFREG & buffer.st_mode;
19576 ;
19577 return 0;
19578 }
19579 _ACEOF
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 glibcxx_cv_S_IFREG=yes
19582 else
19583 glibcxx_cv_S_IFREG=no
19584 fi
19585 rm -f core conftest.err conftest.$ac_objext \
19586 conftest$ac_exeext conftest.$ac_ext
19587 fi
19588
19589 fi
19590
19591 res=no
19592 if test $glibcxx_cv_S_ISREG = yes; then
19593
19594 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19595
19596 res=S_ISREG
19597 elif test $glibcxx_cv_S_IFREG = yes; then
19598
19599 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19600
19601 res=S_IFREG
19602 fi
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19604 $as_echo "$res" >&6; }
19605
19606 CXXFLAGS="$ac_save_CXXFLAGS"
19607 ac_ext=c
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19612
19613
19614
19615 # For xsputn_2().
19616 for ac_header in sys/uio.h
19617 do :
19618 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19619 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_SYS_UIO_H 1
19622 _ACEOF
19623
19624 fi
19625
19626 done
19627
19628
19629
19630
19631 ac_ext=cpp
19632 ac_cpp='$CXXCPP $CPPFLAGS'
19633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636
19637 ac_save_CXXFLAGS="$CXXFLAGS"
19638 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19639
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19641 $as_echo_n "checking for writev... " >&6; }
19642 if ${glibcxx_cv_WRITEV+:} false; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645
19646 if test x$gcc_no_link = xyes; then
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <sys/uio.h>
19650 int
19651 main ()
19652 {
19653 struct iovec iov[2];
19654 writev(0, iov, 0);
19655 ;
19656 return 0;
19657 }
19658 _ACEOF
19659 if ac_fn_cxx_try_compile "$LINENO"; then :
19660 glibcxx_cv_WRITEV=yes
19661 else
19662 glibcxx_cv_WRITEV=no
19663 fi
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668 fi
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #include <sys/uio.h>
19672 int
19673 main ()
19674 {
19675 struct iovec iov[2];
19676 writev(0, iov, 0);
19677 ;
19678 return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_cxx_try_link "$LINENO"; then :
19682 glibcxx_cv_WRITEV=yes
19683 else
19684 glibcxx_cv_WRITEV=no
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19688 fi
19689
19690 fi
19691
19692 if test $glibcxx_cv_WRITEV = yes; then
19693
19694 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19695
19696 fi
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19698 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19699
19700 CXXFLAGS="$ac_save_CXXFLAGS"
19701 ac_ext=c
19702 ac_cpp='$CPP $CPPFLAGS'
19703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19706
19707
19708
19709 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19710 # so that the check is done with the C compiler (not C++).
19711 # Checking with C++ can break a canadian cross build if either
19712 # file does not exist in C but does in C++.
19713 for ac_header in fenv.h complex.h
19714 do :
19715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19720 _ACEOF
19721
19722 fi
19723
19724 done
19725
19726
19727 # For C99 support to TR1.
19728
19729
19730
19731 ac_ext=cpp
19732 ac_cpp='$CXXCPP $CPPFLAGS'
19733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19736
19737
19738 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19739 # undefined and fake C99 facilities may be spuriously enabled.
19740 ac_save_CXXFLAGS="$CXXFLAGS"
19741 CXXFLAGS="$CXXFLAGS -std=c++98"
19742
19743 # Check for the existence of <complex.h> complex math functions used
19744 # by tr1/complex.
19745 for ac_header in complex.h
19746 do :
19747 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19748 if test "x$ac_cv_header_complex_h" = xyes; then :
19749 cat >>confdefs.h <<_ACEOF
19750 #define HAVE_COMPLEX_H 1
19751 _ACEOF
19752 ac_has_complex_h=yes
19753 else
19754 ac_has_complex_h=no
19755 fi
19756
19757 done
19758
19759 ac_c99_complex_tr1=no;
19760 if test x"$ac_has_complex_h" = x"yes"; then
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19762 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19765 #include <complex.h>
19766 int
19767 main ()
19768 {
19769 typedef __complex__ float float_type; float_type tmpf;
19770 cacosf(tmpf);
19771 casinf(tmpf);
19772 catanf(tmpf);
19773 cacoshf(tmpf);
19774 casinhf(tmpf);
19775 catanhf(tmpf);
19776 typedef __complex__ double double_type; double_type tmpd;
19777 cacos(tmpd);
19778 casin(tmpd);
19779 catan(tmpd);
19780 cacosh(tmpd);
19781 casinh(tmpd);
19782 catanh(tmpd);
19783 typedef __complex__ long double ld_type; ld_type tmpld;
19784 cacosl(tmpld);
19785 casinl(tmpld);
19786 catanl(tmpld);
19787 cacoshl(tmpld);
19788 casinhl(tmpld);
19789 catanhl(tmpld);
19790
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 if ac_fn_cxx_try_compile "$LINENO"; then :
19796 ac_c99_complex_tr1=yes
19797 else
19798 ac_c99_complex_tr1=no
19799 fi
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 fi
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19803 $as_echo "$ac_c99_complex_tr1" >&6; }
19804 if test x"$ac_c99_complex_tr1" = x"yes"; then
19805
19806 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19807
19808 fi
19809
19810 # Check for the existence of <ctype.h> functions.
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19812 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19813 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19814 $as_echo_n "(cached) " >&6
19815 else
19816
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #include <ctype.h>
19820 int
19821 main ()
19822 {
19823 int ch;
19824 int ret;
19825 ret = isblank(ch);
19826
19827 ;
19828 return 0;
19829 }
19830 _ACEOF
19831 if ac_fn_cxx_try_compile "$LINENO"; then :
19832 glibcxx_cv_c99_ctype_tr1=yes
19833 else
19834 glibcxx_cv_c99_ctype_tr1=no
19835 fi
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19837
19838 fi
19839
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19841 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19842 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19843
19844 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19845
19846 fi
19847
19848 # Check for the existence of <fenv.h> functions.
19849 for ac_header in fenv.h
19850 do :
19851 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19852 if test "x$ac_cv_header_fenv_h" = xyes; then :
19853 cat >>confdefs.h <<_ACEOF
19854 #define HAVE_FENV_H 1
19855 _ACEOF
19856 ac_has_fenv_h=yes
19857 else
19858 ac_has_fenv_h=no
19859 fi
19860
19861 done
19862
19863 ac_c99_fenv_tr1=no;
19864 if test x"$ac_has_fenv_h" = x"yes"; then
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19866 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19869 #include <fenv.h>
19870 int
19871 main ()
19872 {
19873 int except, mode;
19874 fexcept_t* pflag;
19875 fenv_t* penv;
19876 int ret;
19877 ret = feclearexcept(except);
19878 ret = fegetexceptflag(pflag, except);
19879 ret = feraiseexcept(except);
19880 ret = fesetexceptflag(pflag, except);
19881 ret = fetestexcept(except);
19882 ret = fegetround();
19883 ret = fesetround(mode);
19884 ret = fegetenv(penv);
19885 ret = feholdexcept(penv);
19886 ret = fesetenv(penv);
19887 ret = feupdateenv(penv);
19888
19889 ;
19890 return 0;
19891 }
19892 _ACEOF
19893 if ac_fn_cxx_try_compile "$LINENO"; then :
19894 ac_c99_fenv_tr1=yes
19895 else
19896 ac_c99_fenv_tr1=no
19897 fi
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899 fi
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19901 $as_echo "$ac_c99_fenv_tr1" >&6; }
19902 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19903
19904 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19905
19906 fi
19907
19908 # Check for the existence of <stdint.h> types.
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19910 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19911 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19912 $as_echo_n "(cached) " >&6
19913 else
19914
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19917 #define __STDC_LIMIT_MACROS
19918 #define __STDC_CONSTANT_MACROS
19919 #include <stdint.h>
19920 int
19921 main ()
19922 {
19923 typedef int8_t my_int8_t;
19924 my_int8_t i8 = INT8_MIN;
19925 i8 = INT8_MAX;
19926 typedef int16_t my_int16_t;
19927 my_int16_t i16 = INT16_MIN;
19928 i16 = INT16_MAX;
19929 typedef int32_t my_int32_t;
19930 my_int32_t i32 = INT32_MIN;
19931 i32 = INT32_MAX;
19932 typedef int64_t my_int64_t;
19933 my_int64_t i64 = INT64_MIN;
19934 i64 = INT64_MAX;
19935 typedef int_fast8_t my_int_fast8_t;
19936 my_int_fast8_t if8 = INT_FAST8_MIN;
19937 if8 = INT_FAST8_MAX;
19938 typedef int_fast16_t my_int_fast16_t;
19939 my_int_fast16_t if16 = INT_FAST16_MIN;
19940 if16 = INT_FAST16_MAX;
19941 typedef int_fast32_t my_int_fast32_t;
19942 my_int_fast32_t if32 = INT_FAST32_MIN;
19943 if32 = INT_FAST32_MAX;
19944 typedef int_fast64_t my_int_fast64_t;
19945 my_int_fast64_t if64 = INT_FAST64_MIN;
19946 if64 = INT_FAST64_MAX;
19947 typedef int_least8_t my_int_least8_t;
19948 my_int_least8_t il8 = INT_LEAST8_MIN;
19949 il8 = INT_LEAST8_MAX;
19950 typedef int_least16_t my_int_least16_t;
19951 my_int_least16_t il16 = INT_LEAST16_MIN;
19952 il16 = INT_LEAST16_MAX;
19953 typedef int_least32_t my_int_least32_t;
19954 my_int_least32_t il32 = INT_LEAST32_MIN;
19955 il32 = INT_LEAST32_MAX;
19956 typedef int_least64_t my_int_least64_t;
19957 my_int_least64_t il64 = INT_LEAST64_MIN;
19958 il64 = INT_LEAST64_MAX;
19959 typedef intmax_t my_intmax_t;
19960 my_intmax_t im = INTMAX_MAX;
19961 im = INTMAX_MIN;
19962 typedef intptr_t my_intptr_t;
19963 my_intptr_t ip = INTPTR_MAX;
19964 ip = INTPTR_MIN;
19965 typedef uint8_t my_uint8_t;
19966 my_uint8_t ui8 = UINT8_MAX;
19967 ui8 = UINT8_MAX;
19968 typedef uint16_t my_uint16_t;
19969 my_uint16_t ui16 = UINT16_MAX;
19970 ui16 = UINT16_MAX;
19971 typedef uint32_t my_uint32_t;
19972 my_uint32_t ui32 = UINT32_MAX;
19973 ui32 = UINT32_MAX;
19974 typedef uint64_t my_uint64_t;
19975 my_uint64_t ui64 = UINT64_MAX;
19976 ui64 = UINT64_MAX;
19977 typedef uint_fast8_t my_uint_fast8_t;
19978 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19979 uif8 = UINT_FAST8_MAX;
19980 typedef uint_fast16_t my_uint_fast16_t;
19981 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19982 uif16 = UINT_FAST16_MAX;
19983 typedef uint_fast32_t my_uint_fast32_t;
19984 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19985 uif32 = UINT_FAST32_MAX;
19986 typedef uint_fast64_t my_uint_fast64_t;
19987 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19988 uif64 = UINT_FAST64_MAX;
19989 typedef uint_least8_t my_uint_least8_t;
19990 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19991 uil8 = UINT_LEAST8_MAX;
19992 typedef uint_least16_t my_uint_least16_t;
19993 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19994 uil16 = UINT_LEAST16_MAX;
19995 typedef uint_least32_t my_uint_least32_t;
19996 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19997 uil32 = UINT_LEAST32_MAX;
19998 typedef uint_least64_t my_uint_least64_t;
19999 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20000 uil64 = UINT_LEAST64_MAX;
20001 typedef uintmax_t my_uintmax_t;
20002 my_uintmax_t uim = UINTMAX_MAX;
20003 uim = UINTMAX_MAX;
20004 typedef uintptr_t my_uintptr_t;
20005 my_uintptr_t uip = UINTPTR_MAX;
20006 uip = UINTPTR_MAX;
20007
20008 ;
20009 return 0;
20010 }
20011 _ACEOF
20012 if ac_fn_cxx_try_compile "$LINENO"; then :
20013 glibcxx_cv_c99_stdint_tr1=yes
20014 else
20015 glibcxx_cv_c99_stdint_tr1=no
20016 fi
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20018
20019 fi
20020
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20022 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20023 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20024
20025 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20026
20027 fi
20028
20029 # Check for the existence of <math.h> functions.
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20031 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20032 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20033 $as_echo_n "(cached) " >&6
20034 else
20035
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20038 #include <math.h>
20039 int
20040 main ()
20041 {
20042 typedef double_t my_double_t;
20043 typedef float_t my_float_t;
20044 acosh(0.0);
20045 acoshf(0.0f);
20046 acoshl(0.0l);
20047 asinh(0.0);
20048 asinhf(0.0f);
20049 asinhl(0.0l);
20050 atanh(0.0);
20051 atanhf(0.0f);
20052 atanhl(0.0l);
20053 cbrt(0.0);
20054 cbrtf(0.0f);
20055 cbrtl(0.0l);
20056 copysign(0.0, 0.0);
20057 copysignf(0.0f, 0.0f);
20058 copysignl(0.0l, 0.0l);
20059 erf(0.0);
20060 erff(0.0f);
20061 erfl(0.0l);
20062 erfc(0.0);
20063 erfcf(0.0f);
20064 erfcl(0.0l);
20065 exp2(0.0);
20066 exp2f(0.0f);
20067 exp2l(0.0l);
20068 expm1(0.0);
20069 expm1f(0.0f);
20070 expm1l(0.0l);
20071 fdim(0.0, 0.0);
20072 fdimf(0.0f, 0.0f);
20073 fdiml(0.0l, 0.0l);
20074 fma(0.0, 0.0, 0.0);
20075 fmaf(0.0f, 0.0f, 0.0f);
20076 fmal(0.0l, 0.0l, 0.0l);
20077 fmax(0.0, 0.0);
20078 fmaxf(0.0f, 0.0f);
20079 fmaxl(0.0l, 0.0l);
20080 fmin(0.0, 0.0);
20081 fminf(0.0f, 0.0f);
20082 fminl(0.0l, 0.0l);
20083 hypot(0.0, 0.0);
20084 hypotf(0.0f, 0.0f);
20085 hypotl(0.0l, 0.0l);
20086 ilogb(0.0);
20087 ilogbf(0.0f);
20088 ilogbl(0.0l);
20089 lgamma(0.0);
20090 lgammaf(0.0f);
20091 lgammal(0.0l);
20092 #ifndef __APPLE__ /* see below */
20093 llrint(0.0);
20094 llrintf(0.0f);
20095 llrintl(0.0l);
20096 llround(0.0);
20097 llroundf(0.0f);
20098 llroundl(0.0l);
20099 #endif
20100 log1p(0.0);
20101 log1pf(0.0f);
20102 log1pl(0.0l);
20103 log2(0.0);
20104 log2f(0.0f);
20105 log2l(0.0l);
20106 logb(0.0);
20107 logbf(0.0f);
20108 logbl(0.0l);
20109 lrint(0.0);
20110 lrintf(0.0f);
20111 lrintl(0.0l);
20112 lround(0.0);
20113 lroundf(0.0f);
20114 lroundl(0.0l);
20115 nan(0);
20116 nanf(0);
20117 nanl(0);
20118 nearbyint(0.0);
20119 nearbyintf(0.0f);
20120 nearbyintl(0.0l);
20121 nextafter(0.0, 0.0);
20122 nextafterf(0.0f, 0.0f);
20123 nextafterl(0.0l, 0.0l);
20124 nexttoward(0.0, 0.0);
20125 nexttowardf(0.0f, 0.0f);
20126 nexttowardl(0.0l, 0.0l);
20127 remainder(0.0, 0.0);
20128 remainderf(0.0f, 0.0f);
20129 remainderl(0.0l, 0.0l);
20130 remquo(0.0, 0.0, 0);
20131 remquof(0.0f, 0.0f, 0);
20132 remquol(0.0l, 0.0l, 0);
20133 rint(0.0);
20134 rintf(0.0f);
20135 rintl(0.0l);
20136 round(0.0);
20137 roundf(0.0f);
20138 roundl(0.0l);
20139 scalbln(0.0, 0l);
20140 scalblnf(0.0f, 0l);
20141 scalblnl(0.0l, 0l);
20142 scalbn(0.0, 0);
20143 scalbnf(0.0f, 0);
20144 scalbnl(0.0l, 0);
20145 tgamma(0.0);
20146 tgammaf(0.0f);
20147 tgammal(0.0l);
20148 trunc(0.0);
20149 truncf(0.0f);
20150 truncl(0.0l);
20151
20152 ;
20153 return 0;
20154 }
20155 _ACEOF
20156 if ac_fn_cxx_try_compile "$LINENO"; then :
20157 glibcxx_cv_c99_math_tr1=yes
20158 else
20159 glibcxx_cv_c99_math_tr1=no
20160 fi
20161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20162
20163 fi
20164
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20166 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20167 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20168
20169 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20170
20171
20172 case "${target_os}" in
20173 darwin*)
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20175 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20176 if ${glibcxx_cv_c99_math_llround+:} false; then :
20177 $as_echo_n "(cached) " >&6
20178 else
20179
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 #include <math.h>
20183 int
20184 main ()
20185 {
20186 llrint(0.0);
20187 llrintf(0.0f);
20188 llrintl(0.0l);
20189 llround(0.0);
20190 llroundf(0.0f);
20191 llroundl(0.0l);
20192
20193 ;
20194 return 0;
20195 }
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 glibcxx_cv_c99_math_llround=yes
20199 else
20200 glibcxx_cv_c99_math_llround=no
20201 fi
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20203
20204 fi
20205
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20207 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20208 ;;
20209 esac
20210 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20211
20212 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20213
20214 fi
20215 fi
20216
20217 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20218 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20219 ac_c99_inttypes_tr1=no;
20220 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20222 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20225 #include <inttypes.h>
20226 int
20227 main ()
20228 {
20229 intmax_t i, numer, denom, base;
20230 const char* s;
20231 char** endptr;
20232 intmax_t ret = imaxabs(i);
20233 imaxdiv_t dret = imaxdiv(numer, denom);
20234 ret = strtoimax(s, endptr, base);
20235 uintmax_t uret = strtoumax(s, endptr, base);
20236
20237 ;
20238 return 0;
20239 }
20240 _ACEOF
20241 if ac_fn_cxx_try_compile "$LINENO"; then :
20242 ac_c99_inttypes_tr1=yes
20243 else
20244 ac_c99_inttypes_tr1=no
20245 fi
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 fi
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20249 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20250 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20251
20252 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20253
20254 fi
20255
20256 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20257 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20258 ac_c99_inttypes_wchar_t_tr1=no;
20259 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20261 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <inttypes.h>
20265 int
20266 main ()
20267 {
20268 intmax_t base;
20269 const wchar_t* s;
20270 wchar_t** endptr;
20271 intmax_t ret = wcstoimax(s, endptr, base);
20272 uintmax_t uret = wcstoumax(s, endptr, base);
20273
20274 ;
20275 return 0;
20276 }
20277 _ACEOF
20278 if ac_fn_cxx_try_compile "$LINENO"; then :
20279 ac_c99_inttypes_wchar_t_tr1=yes
20280 else
20281 ac_c99_inttypes_wchar_t_tr1=no
20282 fi
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284 fi
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20286 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20287 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20288
20289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20290
20291 fi
20292
20293 # Check for the existence of the <stdbool.h> header.
20294 for ac_header in stdbool.h
20295 do :
20296 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_STDBOOL_H 1
20300 _ACEOF
20301
20302 fi
20303
20304 done
20305
20306
20307 # Check for the existence of the <stdalign.h> header.
20308 for ac_header in stdalign.h
20309 do :
20310 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20312 cat >>confdefs.h <<_ACEOF
20313 #define HAVE_STDALIGN_H 1
20314 _ACEOF
20315
20316 fi
20317
20318 done
20319
20320
20321 CXXFLAGS="$ac_save_CXXFLAGS"
20322 ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20327
20328
20329
20330 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20331
20332
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20334 $as_echo_n "checking for the value of EOF... " >&6; }
20335 if ${glibcxx_cv_stdio_eof+:} false; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20338
20339 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20340
20341 else
20342 as_fn_error $? "computing EOF failed" "$LINENO" 5
20343 fi
20344
20345
20346 fi
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20348 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20349
20350 cat >>confdefs.h <<_ACEOF
20351 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20352 _ACEOF
20353
20354
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20356 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20357 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20358 $as_echo_n "(cached) " >&6
20359 else
20360
20361 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20362
20363 else
20364 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20365 fi
20366
20367
20368 fi
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20370 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20371
20372 cat >>confdefs.h <<_ACEOF
20373 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20374 _ACEOF
20375
20376
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20378 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20379 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20380 $as_echo_n "(cached) " >&6
20381 else
20382
20383 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20384
20385 else
20386 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20387 fi
20388
20389
20390 fi
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20392 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20393
20394 cat >>confdefs.h <<_ACEOF
20395 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20396 _ACEOF
20397
20398
20399
20400 # For gettimeofday support.
20401
20402
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20404 $as_echo_n "checking for gettimeofday... " >&6; }
20405
20406
20407 ac_ext=cpp
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20412
20413 ac_save_CXXFLAGS="$CXXFLAGS"
20414 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20415
20416 ac_has_gettimeofday=no;
20417 for ac_header in sys/time.h
20418 do :
20419 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20420 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20421 cat >>confdefs.h <<_ACEOF
20422 #define HAVE_SYS_TIME_H 1
20423 _ACEOF
20424 ac_has_sys_time_h=yes
20425 else
20426 ac_has_sys_time_h=no
20427 fi
20428
20429 done
20430
20431 if test x"$ac_has_sys_time_h" = x"yes"; then
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20433 $as_echo_n "checking for gettimeofday... " >&6; }
20434 if test x$gcc_no_link = xyes; then
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <sys/time.h>
20438 int
20439 main ()
20440 {
20441 timeval tv; gettimeofday(&tv, 0);
20442 ;
20443 return 0;
20444 }
20445 _ACEOF
20446 if ac_fn_cxx_try_compile "$LINENO"; then :
20447 ac_has_gettimeofday=yes
20448 else
20449 ac_has_gettimeofday=no
20450 fi
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 else
20453 if test x$gcc_no_link = xyes; then
20454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20455 fi
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #include <sys/time.h>
20459 int
20460 main ()
20461 {
20462 timeval tv; gettimeofday(&tv, 0);
20463 ;
20464 return 0;
20465 }
20466 _ACEOF
20467 if ac_fn_cxx_try_link "$LINENO"; then :
20468 ac_has_gettimeofday=yes
20469 else
20470 ac_has_gettimeofday=no
20471 fi
20472 rm -f core conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20474 fi
20475
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20477 $as_echo "$ac_has_gettimeofday" >&6; }
20478 fi
20479
20480 if test x"$ac_has_gettimeofday" = x"yes"; then
20481
20482 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20483
20484 fi
20485
20486 CXXFLAGS="$ac_save_CXXFLAGS"
20487 ac_ext=c
20488 ac_cpp='$CPP $CPPFLAGS'
20489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20492
20493
20494
20495 # For clock_gettime, nanosleep and sched_yield support.
20496
20497
20498 # Check whether --enable-libstdcxx-time was given.
20499 if test "${enable_libstdcxx_time+set}" = set; then :
20500 enableval=$enable_libstdcxx_time;
20501 case "$enableval" in
20502 yes|no|rt) ;;
20503 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20504 esac
20505
20506 else
20507 enable_libstdcxx_time=auto
20508 fi
20509
20510
20511
20512
20513 ac_ext=cpp
20514 ac_cpp='$CXXCPP $CPPFLAGS'
20515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20518
20519 ac_save_CXXFLAGS="$CXXFLAGS"
20520 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20521 ac_save_LIBS="$LIBS"
20522
20523 ac_has_clock_monotonic=no
20524 ac_has_clock_realtime=no
20525 ac_has_nanosleep=no
20526 ac_has_sched_yield=no
20527
20528 if test x"$enable_libstdcxx_time" = x"auto"; then
20529
20530 case "${target_os}" in
20531 cygwin*)
20532 ac_has_nanosleep=yes
20533 ;;
20534 darwin*)
20535 ac_has_nanosleep=yes
20536 ac_has_sched_yield=yes
20537 ;;
20538 # VxWorks has nanosleep as soon as the kernel is configured with
20539 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20540 vxworks*)
20541 ac_has_nanosleep=yes
20542 ;;
20543 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20544 # Don't use link test for freestanding library, in case gcc_no_link=yes
20545 if test x"$is_hosted" = xyes; then
20546 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20548 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20549 if ${ac_cv_search_clock_gettime+:} false; then :
20550 $as_echo_n "(cached) " >&6
20551 else
20552 ac_func_search_save_LIBS=$LIBS
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20555
20556 /* Override any GCC internal prototype to avoid an error.
20557 Use char because int might match the return type of a GCC
20558 builtin and then its argument prototype would still apply. */
20559 #ifdef __cplusplus
20560 extern "C"
20561 #endif
20562 char clock_gettime ();
20563 int
20564 main ()
20565 {
20566 return clock_gettime ();
20567 ;
20568 return 0;
20569 }
20570 _ACEOF
20571 for ac_lib in '' rt; do
20572 if test -z "$ac_lib"; then
20573 ac_res="none required"
20574 else
20575 ac_res=-l$ac_lib
20576 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20577 fi
20578 if test x$gcc_no_link = xyes; then
20579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20580 fi
20581 if ac_fn_cxx_try_link "$LINENO"; then :
20582 ac_cv_search_clock_gettime=$ac_res
20583 fi
20584 rm -f core conftest.err conftest.$ac_objext \
20585 conftest$ac_exeext
20586 if ${ac_cv_search_clock_gettime+:} false; then :
20587 break
20588 fi
20589 done
20590 if ${ac_cv_search_clock_gettime+:} false; then :
20591
20592 else
20593 ac_cv_search_clock_gettime=no
20594 fi
20595 rm conftest.$ac_ext
20596 LIBS=$ac_func_search_save_LIBS
20597 fi
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20599 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20600 ac_res=$ac_cv_search_clock_gettime
20601 if test "$ac_res" != no; then :
20602 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20603
20604 fi
20605
20606 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20607 ac_has_clock_monotonic=yes
20608 ac_has_clock_realtime=yes
20609 fi
20610 fi
20611 ac_has_nanosleep=yes
20612 ac_has_sched_yield=yes
20613 ;;
20614 freebsd*|netbsd*|dragonfly*|rtems*)
20615 ac_has_clock_monotonic=yes
20616 ac_has_clock_realtime=yes
20617 ac_has_nanosleep=yes
20618 ac_has_sched_yield=yes
20619 ;;
20620 openbsd*)
20621 ac_has_clock_monotonic=yes
20622 ac_has_clock_realtime=yes
20623 ac_has_nanosleep=yes
20624 ;;
20625 solaris*)
20626 ac_has_clock_monotonic=yes
20627 ac_has_clock_realtime=yes
20628 ac_has_nanosleep=yes
20629 ac_has_sched_yield=yes
20630 ;;
20631 uclinux*)
20632 ac_has_nanosleep=yes
20633 ac_has_sched_yield=yes
20634 esac
20635
20636 elif test x"$enable_libstdcxx_time" != x"no"; then
20637
20638 if test x"$enable_libstdcxx_time" = x"rt"; then
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20640 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20641 if ${ac_cv_search_clock_gettime+:} 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 clock_gettime ();
20655 int
20656 main ()
20657 {
20658 return clock_gettime ();
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_clock_gettime=$ac_res
20675 fi
20676 rm -f core conftest.err conftest.$ac_objext \
20677 conftest$ac_exeext
20678 if ${ac_cv_search_clock_gettime+:} false; then :
20679 break
20680 fi
20681 done
20682 if ${ac_cv_search_clock_gettime+:} false; then :
20683
20684 else
20685 ac_cv_search_clock_gettime=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_clock_gettime" >&5
20691 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20692 ac_res=$ac_cv_search_clock_gettime
20693 if test "$ac_res" != no; then :
20694 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20695
20696 fi
20697
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20699 $as_echo_n "checking for library containing nanosleep... " >&6; }
20700 if ${ac_cv_search_nanosleep+:} false; then :
20701 $as_echo_n "(cached) " >&6
20702 else
20703 ac_func_search_save_LIBS=$LIBS
20704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705 /* end confdefs.h. */
20706
20707 /* Override any GCC internal prototype to avoid an error.
20708 Use char because int might match the return type of a GCC
20709 builtin and then its argument prototype would still apply. */
20710 #ifdef __cplusplus
20711 extern "C"
20712 #endif
20713 char nanosleep ();
20714 int
20715 main ()
20716 {
20717 return nanosleep ();
20718 ;
20719 return 0;
20720 }
20721 _ACEOF
20722 for ac_lib in '' rt; do
20723 if test -z "$ac_lib"; then
20724 ac_res="none required"
20725 else
20726 ac_res=-l$ac_lib
20727 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20728 fi
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 if ac_fn_cxx_try_link "$LINENO"; then :
20733 ac_cv_search_nanosleep=$ac_res
20734 fi
20735 rm -f core conftest.err conftest.$ac_objext \
20736 conftest$ac_exeext
20737 if ${ac_cv_search_nanosleep+:} false; then :
20738 break
20739 fi
20740 done
20741 if ${ac_cv_search_nanosleep+:} false; then :
20742
20743 else
20744 ac_cv_search_nanosleep=no
20745 fi
20746 rm conftest.$ac_ext
20747 LIBS=$ac_func_search_save_LIBS
20748 fi
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20750 $as_echo "$ac_cv_search_nanosleep" >&6; }
20751 ac_res=$ac_cv_search_nanosleep
20752 if test "$ac_res" != no; then :
20753 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20754
20755 fi
20756
20757 else
20758 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20759 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20760
20761 fi
20762
20763 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20764 if test "x$ac_cv_func_nanosleep" = xyes; then :
20765
20766 fi
20767
20768 fi
20769
20770 case "$ac_cv_search_clock_gettime" in
20771 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20772 ;;
20773 esac
20774 case "$ac_cv_search_nanosleep" in
20775 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20776 ;;
20777 esac
20778
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20780 $as_echo_n "checking for library containing sched_yield... " >&6; }
20781 if ${ac_cv_search_sched_yield+:} false; then :
20782 $as_echo_n "(cached) " >&6
20783 else
20784 ac_func_search_save_LIBS=$LIBS
20785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20787
20788 /* Override any GCC internal prototype to avoid an error.
20789 Use char because int might match the return type of a GCC
20790 builtin and then its argument prototype would still apply. */
20791 #ifdef __cplusplus
20792 extern "C"
20793 #endif
20794 char sched_yield ();
20795 int
20796 main ()
20797 {
20798 return sched_yield ();
20799 ;
20800 return 0;
20801 }
20802 _ACEOF
20803 for ac_lib in '' rt; do
20804 if test -z "$ac_lib"; then
20805 ac_res="none required"
20806 else
20807 ac_res=-l$ac_lib
20808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20809 fi
20810 if test x$gcc_no_link = xyes; then
20811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20812 fi
20813 if ac_fn_cxx_try_link "$LINENO"; then :
20814 ac_cv_search_sched_yield=$ac_res
20815 fi
20816 rm -f core conftest.err conftest.$ac_objext \
20817 conftest$ac_exeext
20818 if ${ac_cv_search_sched_yield+:} false; then :
20819 break
20820 fi
20821 done
20822 if ${ac_cv_search_sched_yield+:} false; then :
20823
20824 else
20825 ac_cv_search_sched_yield=no
20826 fi
20827 rm conftest.$ac_ext
20828 LIBS=$ac_func_search_save_LIBS
20829 fi
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20831 $as_echo "$ac_cv_search_sched_yield" >&6; }
20832 ac_res=$ac_cv_search_sched_yield
20833 if test "$ac_res" != no; then :
20834 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20835
20836 fi
20837
20838
20839 case "$ac_cv_search_sched_yield" in
20840 -lrt*)
20841 if test x"$enable_libstdcxx_time" = x"rt"; then
20842 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20843 ac_has_sched_yield=yes
20844 fi
20845 ;;
20846 *)
20847 ac_has_sched_yield=yes
20848 ;;
20849 esac
20850
20851 for ac_header in unistd.h
20852 do :
20853 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20854 if test "x$ac_cv_header_unistd_h" = xyes; then :
20855 cat >>confdefs.h <<_ACEOF
20856 #define HAVE_UNISTD_H 1
20857 _ACEOF
20858 ac_has_unistd_h=yes
20859 else
20860 ac_has_unistd_h=no
20861 fi
20862
20863 done
20864
20865
20866 if test x"$ac_has_unistd_h" = x"yes"; then
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20868 $as_echo_n "checking for monotonic clock... " >&6; }
20869 if test x$gcc_no_link = xyes; then
20870 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20871 fi
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #include <unistd.h>
20875 #include <time.h>
20876
20877 int
20878 main ()
20879 {
20880 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20881 timespec tp;
20882 #endif
20883 clock_gettime(CLOCK_MONOTONIC, &tp);
20884
20885 ;
20886 return 0;
20887 }
20888 _ACEOF
20889 if ac_fn_cxx_try_link "$LINENO"; then :
20890 ac_has_clock_monotonic=yes
20891 else
20892 ac_has_clock_monotonic=no
20893 fi
20894 rm -f core conftest.err conftest.$ac_objext \
20895 conftest$ac_exeext conftest.$ac_ext
20896
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20898 $as_echo "$ac_has_clock_monotonic" >&6; }
20899
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20901 $as_echo_n "checking for realtime clock... " >&6; }
20902 if test x$gcc_no_link = xyes; then
20903 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20904 fi
20905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20906 /* end confdefs.h. */
20907 #include <unistd.h>
20908 #include <time.h>
20909
20910 int
20911 main ()
20912 {
20913 #if _POSIX_TIMERS > 0
20914 timespec tp;
20915 #endif
20916 clock_gettime(CLOCK_REALTIME, &tp);
20917
20918 ;
20919 return 0;
20920 }
20921 _ACEOF
20922 if ac_fn_cxx_try_link "$LINENO"; then :
20923 ac_has_clock_realtime=yes
20924 else
20925 ac_has_clock_realtime=no
20926 fi
20927 rm -f core conftest.err conftest.$ac_objext \
20928 conftest$ac_exeext conftest.$ac_ext
20929
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20931 $as_echo "$ac_has_clock_realtime" >&6; }
20932
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20934 $as_echo_n "checking for nanosleep... " >&6; }
20935 if test x$gcc_no_link = xyes; then
20936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20937 fi
20938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20940 #include <unistd.h>
20941 #include <time.h>
20942
20943 int
20944 main ()
20945 {
20946 #if _POSIX_TIMERS > 0
20947 timespec tp;
20948 #endif
20949 nanosleep(&tp, 0);
20950
20951 ;
20952 return 0;
20953 }
20954 _ACEOF
20955 if ac_fn_cxx_try_link "$LINENO"; then :
20956 ac_has_nanosleep=yes
20957 else
20958 ac_has_nanosleep=no
20959 fi
20960 rm -f core conftest.err conftest.$ac_objext \
20961 conftest$ac_exeext conftest.$ac_ext
20962
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20964 $as_echo "$ac_has_nanosleep" >&6; }
20965 fi
20966 fi
20967
20968 if test x"$ac_has_clock_monotonic" != x"yes"; then
20969 case ${target_os} in
20970 linux* | uclinux*)
20971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20972 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #include <unistd.h>
20976 #include <time.h>
20977 #include <sys/syscall.h>
20978
20979 int
20980 main ()
20981 {
20982 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20983 timespec tp;
20984 #endif
20985 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20986 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20987
20988 ;
20989 return 0;
20990 }
20991 _ACEOF
20992 if ac_fn_cxx_try_compile "$LINENO"; then :
20993 ac_has_clock_gettime_syscall=yes
20994 else
20995 ac_has_clock_gettime_syscall=no
20996 fi
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20999 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21000 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21001
21002 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21003
21004 ac_has_clock_monotonic=yes
21005 ac_has_clock_realtime=yes
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21007 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21009 /* end confdefs.h. */
21010 #include <time.h>
21011 #include <sys/syscall.h>
21012
21013 int
21014 main ()
21015 {
21016 #ifdef SYS_clock_gettime64
21017 #if SYS_clock_gettime64 != SYS_clock_gettime
21018 // We need to use SYS_clock_gettime and libc appears to
21019 // also know about the SYS_clock_gettime64 syscall.
21020 // Check that userspace doesn't use time64 version of timespec.
21021 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21022 "struct timespec must be compatible with SYS_clock_gettime");
21023 #endif
21024 #endif
21025
21026 ;
21027 return 0;
21028 }
21029 _ACEOF
21030 if ac_fn_cxx_try_compile "$LINENO"; then :
21031 ac_timespec_matches_syscall=yes
21032 else
21033 ac_timespec_matches_syscall=no
21034 fi
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21037 $as_echo "$ac_timespec_matches_syscall" >&6; }
21038 if test x"$ac_timespec_matches_syscall" = no; then
21039 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21040 fi
21041 fi;;
21042 esac
21043 fi
21044
21045 if test x"$ac_has_clock_monotonic" = x"yes"; then
21046
21047 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21048
21049 fi
21050
21051 if test x"$ac_has_clock_realtime" = x"yes"; then
21052
21053 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21054
21055 fi
21056
21057 if test x"$ac_has_sched_yield" = x"yes"; then
21058
21059 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21060
21061 fi
21062
21063 if test x"$ac_has_nanosleep" = x"yes"; then
21064
21065 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21066
21067 else
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21069 $as_echo_n "checking for sleep... " >&6; }
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072 #include <unistd.h>
21073 int
21074 main ()
21075 {
21076 sleep(1)
21077 ;
21078 return 0;
21079 }
21080 _ACEOF
21081 if ac_fn_cxx_try_compile "$LINENO"; then :
21082 ac_has_sleep=yes
21083 else
21084 ac_has_sleep=no
21085 fi
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21087 if test x"$ac_has_sleep" = x"yes"; then
21088
21089 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21090
21091 fi
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21093 $as_echo "$ac_has_sleep" >&6; }
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21095 $as_echo_n "checking for usleep... " >&6; }
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #include <unistd.h>
21099 int
21100 main ()
21101 {
21102 sleep(1);
21103 usleep(100);
21104 ;
21105 return 0;
21106 }
21107 _ACEOF
21108 if ac_fn_cxx_try_compile "$LINENO"; then :
21109 ac_has_usleep=yes
21110 else
21111 ac_has_usleep=no
21112 fi
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 if test x"$ac_has_usleep" = x"yes"; then
21115
21116 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21117
21118 fi
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21120 $as_echo "$ac_has_usleep" >&6; }
21121 fi
21122
21123 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21124 ac_no_sleep=yes
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21126 $as_echo_n "checking for Sleep... " >&6; }
21127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21129 #include <windows.h>
21130 int
21131 main ()
21132 {
21133 Sleep(1)
21134 ;
21135 return 0;
21136 }
21137 _ACEOF
21138 if ac_fn_cxx_try_compile "$LINENO"; then :
21139 ac_has_win32_sleep=yes
21140 else
21141 ac_has_win32_sleep=no
21142 fi
21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21144 if test x"$ac_has_win32_sleep" = x"yes"; then
21145
21146 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21147
21148 ac_no_sleep=no
21149 fi
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21151 $as_echo "$ac_has_win32_sleep" >&6; }
21152 fi
21153
21154 if test x"$ac_no_sleep" = x"yes"; then
21155
21156 $as_echo "#define NO_SLEEP 1" >>confdefs.h
21157
21158 fi
21159
21160
21161
21162 CXXFLAGS="$ac_save_CXXFLAGS"
21163 LIBS="$ac_save_LIBS"
21164 ac_ext=c
21165 ac_cpp='$CPP $CPPFLAGS'
21166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21169
21170
21171
21172 # Check for tmpnam which is obsolescent in POSIX.1-2008
21173
21174 ac_ext=cpp
21175 ac_cpp='$CXXCPP $CPPFLAGS'
21176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21179
21180 ac_save_CXXFLAGS="$CXXFLAGS"
21181 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21183 $as_echo_n "checking for tmpnam... " >&6; }
21184 if ${glibcxx_cv_TMPNAM+:} false; then :
21185 $as_echo_n "(cached) " >&6
21186 else
21187 if test x$gcc_no_link = xyes; then
21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h. */
21190 #include <stdio.h>
21191 int
21192 main ()
21193 {
21194 char *tmp = tmpnam(NULL);
21195 ;
21196 return 0;
21197 }
21198 _ACEOF
21199 if ac_fn_cxx_try_compile "$LINENO"; then :
21200 glibcxx_cv_TMPNAM=yes
21201 else
21202 glibcxx_cv_TMPNAM=no
21203 fi
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 else
21206 if test x$gcc_no_link = xyes; then
21207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21208 fi
21209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21210 /* end confdefs.h. */
21211 #include <stdio.h>
21212 int
21213 main ()
21214 {
21215 char *tmp = tmpnam(NULL);
21216 ;
21217 return 0;
21218 }
21219 _ACEOF
21220 if ac_fn_cxx_try_link "$LINENO"; then :
21221 glibcxx_cv_TMPNAM=yes
21222 else
21223 glibcxx_cv_TMPNAM=no
21224 fi
21225 rm -f core conftest.err conftest.$ac_objext \
21226 conftest$ac_exeext conftest.$ac_ext
21227 fi
21228
21229 fi
21230
21231 if test $glibcxx_cv_TMPNAM = yes; then
21232
21233 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21234
21235 fi
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21237 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21238 CXXFLAGS="$ac_save_CXXFLAGS"
21239 ac_ext=c
21240 ac_cpp='$CPP $CPPFLAGS'
21241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21244
21245
21246
21247 # For pthread_cond_clockwait
21248
21249
21250
21251 ac_ext=cpp
21252 ac_cpp='$CXXCPP $CPPFLAGS'
21253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21256
21257 ac_save_CXXFLAGS="$CXXFLAGS"
21258 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21259 ac_save_LIBS="$LIBS"
21260 LIBS="$LIBS -lpthread"
21261
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21263 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21264 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21265 $as_echo_n "(cached) " >&6
21266 else
21267
21268 if test x$gcc_no_link = xyes; then
21269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21270 /* end confdefs.h. */
21271 #include <pthread.h>
21272 int
21273 main ()
21274 {
21275 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21276 ;
21277 return 0;
21278 }
21279 _ACEOF
21280 if ac_fn_cxx_try_compile "$LINENO"; then :
21281 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21282 else
21283 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21284 fi
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21286 else
21287 if test x$gcc_no_link = xyes; then
21288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21289 fi
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21292 #include <pthread.h>
21293 int
21294 main ()
21295 {
21296 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21297 ;
21298 return 0;
21299 }
21300 _ACEOF
21301 if ac_fn_cxx_try_link "$LINENO"; then :
21302 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21303 else
21304 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21305 fi
21306 rm -f core conftest.err conftest.$ac_objext \
21307 conftest$ac_exeext conftest.$ac_ext
21308 fi
21309
21310 fi
21311
21312 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21313
21314 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21315
21316 fi
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21318 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21319
21320 CXXFLAGS="$ac_save_CXXFLAGS"
21321 LIBS="$ac_save_LIBS"
21322 ac_ext=c
21323 ac_cpp='$CPP $CPPFLAGS'
21324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21327
21328
21329
21330 # For pthread_mutex_clocklock
21331
21332
21333
21334 ac_ext=cpp
21335 ac_cpp='$CXXCPP $CPPFLAGS'
21336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21339
21340 ac_save_CXXFLAGS="$CXXFLAGS"
21341 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21342 ac_save_LIBS="$LIBS"
21343 LIBS="$LIBS -lpthread"
21344
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21346 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21347 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21348 $as_echo_n "(cached) " >&6
21349 else
21350
21351 if test x$gcc_no_link = xyes; then
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354 #include <pthread.h>
21355 int
21356 main ()
21357 {
21358 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21359 ;
21360 return 0;
21361 }
21362 _ACEOF
21363 if ac_fn_cxx_try_compile "$LINENO"; then :
21364 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21365 else
21366 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21367 fi
21368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 else
21370 if test x$gcc_no_link = xyes; then
21371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21372 fi
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21375 #include <pthread.h>
21376 int
21377 main ()
21378 {
21379 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21380 ;
21381 return 0;
21382 }
21383 _ACEOF
21384 if ac_fn_cxx_try_link "$LINENO"; then :
21385 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21386 else
21387 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21388 fi
21389 rm -f core conftest.err conftest.$ac_objext \
21390 conftest$ac_exeext conftest.$ac_ext
21391 fi
21392
21393 fi
21394
21395 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21396
21397 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21398
21399 fi
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21401 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21402
21403 CXXFLAGS="$ac_save_CXXFLAGS"
21404 LIBS="$ac_save_LIBS"
21405 ac_ext=c
21406 ac_cpp='$CPP $CPPFLAGS'
21407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21410
21411
21412
21413 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21414
21415
21416
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21422
21423 ac_save_CXXFLAGS="$CXXFLAGS"
21424 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21425 ac_save_LIBS="$LIBS"
21426 LIBS="$LIBS -lpthread"
21427
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21429 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21430 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21431 $as_echo_n "(cached) " >&6
21432 else
21433
21434 if test x$gcc_no_link = xyes; then
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <pthread.h>
21438 int
21439 main ()
21440 {
21441 pthread_rwlock_t rwl; struct timespec ts;
21442 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21443 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21444 ;
21445 return 0;
21446 }
21447 _ACEOF
21448 if ac_fn_cxx_try_compile "$LINENO"; then :
21449 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21450 else
21451 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21452 fi
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454 else
21455 if test x$gcc_no_link = xyes; then
21456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21457 fi
21458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21459 /* end confdefs.h. */
21460 #include <pthread.h>
21461 int
21462 main ()
21463 {
21464 pthread_rwlock_t rwl; struct timespec ts;
21465 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21466 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21467 ;
21468 return 0;
21469 }
21470 _ACEOF
21471 if ac_fn_cxx_try_link "$LINENO"; then :
21472 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21473 else
21474 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21475 fi
21476 rm -f core conftest.err conftest.$ac_objext \
21477 conftest$ac_exeext conftest.$ac_ext
21478 fi
21479
21480 fi
21481
21482 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21483
21484 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21485
21486 fi
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21488 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21489
21490 CXXFLAGS="$ac_save_CXXFLAGS"
21491 LIBS="$ac_save_LIBS"
21492 ac_ext=c
21493 ac_cpp='$CPP $CPPFLAGS'
21494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21497
21498
21499
21500
21501 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21502 if test "x$ac_cv_header_locale_h" = xyes; then :
21503
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21505 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21506 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21507 $as_echo_n "(cached) " >&6
21508 else
21509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h. */
21511 #include <locale.h>
21512 int
21513 main ()
21514 {
21515 return LC_MESSAGES
21516 ;
21517 return 0;
21518 }
21519 _ACEOF
21520 if ac_fn_c_try_compile "$LINENO"; then :
21521 ac_cv_val_LC_MESSAGES=yes
21522 else
21523 ac_cv_val_LC_MESSAGES=no
21524 fi
21525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21526 fi
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21528 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21529 if test $ac_cv_val_LC_MESSAGES = yes; then
21530
21531 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21532
21533 fi
21534
21535 fi
21536
21537
21538
21539
21540 # For hardware_concurrency
21541 for ac_header in sys/sysinfo.h
21542 do :
21543 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21544 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21545 cat >>confdefs.h <<_ACEOF
21546 #define HAVE_SYS_SYSINFO_H 1
21547 _ACEOF
21548
21549 fi
21550
21551 done
21552
21553
21554
21555
21556 ac_ext=cpp
21557 ac_cpp='$CXXCPP $CPPFLAGS'
21558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21561
21562 ac_save_CXXFLAGS="$CXXFLAGS"
21563 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21564
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21566 $as_echo_n "checking for get_nprocs... " >&6; }
21567 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21568 $as_echo_n "(cached) " >&6
21569 else
21570
21571 if test x$gcc_no_link = xyes; then
21572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h. */
21574 #include <sys/sysinfo.h>
21575 int
21576 main ()
21577 {
21578 int n = get_nprocs();
21579 ;
21580 return 0;
21581 }
21582 _ACEOF
21583 if ac_fn_cxx_try_compile "$LINENO"; then :
21584 glibcxx_cv_GET_NPROCS=yes
21585 else
21586 glibcxx_cv_GET_NPROCS=no
21587 fi
21588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21589 else
21590 if test x$gcc_no_link = xyes; then
21591 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21592 fi
21593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21594 /* end confdefs.h. */
21595 #include <sys/sysinfo.h>
21596 int
21597 main ()
21598 {
21599 int n = get_nprocs();
21600 ;
21601 return 0;
21602 }
21603 _ACEOF
21604 if ac_fn_cxx_try_link "$LINENO"; then :
21605 glibcxx_cv_GET_NPROCS=yes
21606 else
21607 glibcxx_cv_GET_NPROCS=no
21608 fi
21609 rm -f core conftest.err conftest.$ac_objext \
21610 conftest$ac_exeext conftest.$ac_ext
21611 fi
21612
21613 fi
21614
21615 if test $glibcxx_cv_GET_NPROCS = yes; then
21616
21617 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21618
21619 fi
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21621 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21622
21623 CXXFLAGS="$ac_save_CXXFLAGS"
21624 ac_ext=c
21625 ac_cpp='$CPP $CPPFLAGS'
21626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21629
21630
21631 for ac_header in unistd.h
21632 do :
21633 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21634 if test "x$ac_cv_header_unistd_h" = xyes; then :
21635 cat >>confdefs.h <<_ACEOF
21636 #define HAVE_UNISTD_H 1
21637 _ACEOF
21638
21639 fi
21640
21641 done
21642
21643
21644
21645
21646 ac_ext=cpp
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21651
21652 ac_save_CXXFLAGS="$CXXFLAGS"
21653 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21654
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21656 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21657 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21658 $as_echo_n "(cached) " >&6
21659 else
21660
21661 if test x$gcc_no_link = xyes; then
21662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21664 #include <unistd.h>
21665 int
21666 main ()
21667 {
21668 int n = sysconf(_SC_NPROCESSORS_ONLN);
21669 ;
21670 return 0;
21671 }
21672 _ACEOF
21673 if ac_fn_cxx_try_compile "$LINENO"; then :
21674 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21675 else
21676 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21677 fi
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679 else
21680 if test x$gcc_no_link = xyes; then
21681 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21682 fi
21683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h. */
21685 #include <unistd.h>
21686 int
21687 main ()
21688 {
21689 int n = sysconf(_SC_NPROCESSORS_ONLN);
21690 ;
21691 return 0;
21692 }
21693 _ACEOF
21694 if ac_fn_cxx_try_link "$LINENO"; then :
21695 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21696 else
21697 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21698 fi
21699 rm -f core conftest.err conftest.$ac_objext \
21700 conftest$ac_exeext conftest.$ac_ext
21701 fi
21702
21703 fi
21704
21705 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21706
21707 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21708
21709 fi
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21711 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21712
21713 CXXFLAGS="$ac_save_CXXFLAGS"
21714 ac_ext=c
21715 ac_cpp='$CPP $CPPFLAGS'
21716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21719
21720
21721
21722
21723
21724 ac_ext=cpp
21725 ac_cpp='$CXXCPP $CPPFLAGS'
21726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21729
21730 ac_save_CXXFLAGS="$CXXFLAGS"
21731 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21732
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21734 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21735 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21736 $as_echo_n "(cached) " >&6
21737 else
21738
21739 if test x$gcc_no_link = xyes; then
21740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21741 /* end confdefs.h. */
21742 #include <unistd.h>
21743 int
21744 main ()
21745 {
21746 int n = sysconf(_SC_NPROC_ONLN);
21747 ;
21748 return 0;
21749 }
21750 _ACEOF
21751 if ac_fn_cxx_try_compile "$LINENO"; then :
21752 glibcxx_cv_SC_NPROC_ONLN=yes
21753 else
21754 glibcxx_cv_SC_NPROC_ONLN=no
21755 fi
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 else
21758 if test x$gcc_no_link = xyes; then
21759 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21760 fi
21761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21762 /* end confdefs.h. */
21763 #include <unistd.h>
21764 int
21765 main ()
21766 {
21767 int n = sysconf(_SC_NPROC_ONLN);
21768 ;
21769 return 0;
21770 }
21771 _ACEOF
21772 if ac_fn_cxx_try_link "$LINENO"; then :
21773 glibcxx_cv_SC_NPROC_ONLN=yes
21774 else
21775 glibcxx_cv_SC_NPROC_ONLN=no
21776 fi
21777 rm -f core conftest.err conftest.$ac_objext \
21778 conftest$ac_exeext conftest.$ac_ext
21779 fi
21780
21781 fi
21782
21783 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21784
21785 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21786
21787 fi
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21789 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21790
21791 CXXFLAGS="$ac_save_CXXFLAGS"
21792 ac_ext=c
21793 ac_cpp='$CPP $CPPFLAGS'
21794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21797
21798
21799
21800
21801
21802 ac_ext=cpp
21803 ac_cpp='$CXXCPP $CPPFLAGS'
21804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21807
21808 ac_save_CXXFLAGS="$CXXFLAGS"
21809 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21810
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21812 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21813 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21814 $as_echo_n "(cached) " >&6
21815 else
21816
21817 if test x$gcc_no_link = xyes; then
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21820 #include <pthread.h>
21821 int
21822 main ()
21823 {
21824 int n = pthread_num_processors_np();
21825 ;
21826 return 0;
21827 }
21828 _ACEOF
21829 if ac_fn_cxx_try_compile "$LINENO"; then :
21830 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21831 else
21832 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21833 fi
21834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21835 else
21836 if test x$gcc_no_link = xyes; then
21837 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21838 fi
21839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21840 /* end confdefs.h. */
21841 #include <pthread.h>
21842 int
21843 main ()
21844 {
21845 int n = pthread_num_processors_np();
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 if ac_fn_cxx_try_link "$LINENO"; then :
21851 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21852 else
21853 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21854 fi
21855 rm -f core conftest.err conftest.$ac_objext \
21856 conftest$ac_exeext conftest.$ac_ext
21857 fi
21858
21859 fi
21860
21861 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21862
21863 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21864
21865 fi
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21867 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21868
21869 CXXFLAGS="$ac_save_CXXFLAGS"
21870 ac_ext=c
21871 ac_cpp='$CPP $CPPFLAGS'
21872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875
21876
21877
21878
21879
21880 ac_ext=cpp
21881 ac_cpp='$CXXCPP $CPPFLAGS'
21882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21885
21886 ac_save_CXXFLAGS="$CXXFLAGS"
21887 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21888
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21890 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21891 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21892 $as_echo_n "(cached) " >&6
21893 else
21894
21895 if test x$gcc_no_link = xyes; then
21896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21897 /* end confdefs.h. */
21898
21899 #include <stddef.h>
21900 #include <sys/sysctl.h>
21901
21902 int
21903 main ()
21904 {
21905
21906 int count;
21907 size_t size = sizeof(count);
21908 int mib[] = { CTL_HW, HW_NCPU };
21909 sysctl(mib, 2, &count, &size, NULL, 0);
21910
21911 ;
21912 return 0;
21913 }
21914 _ACEOF
21915 if ac_fn_cxx_try_compile "$LINENO"; then :
21916 glibcxx_cv_SYSCTL_HW_NCPU=yes
21917 else
21918 glibcxx_cv_SYSCTL_HW_NCPU=no
21919 fi
21920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21921 else
21922 if test x$gcc_no_link = xyes; then
21923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21924 fi
21925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h. */
21927
21928 #include <stddef.h>
21929 #include <sys/sysctl.h>
21930
21931 int
21932 main ()
21933 {
21934
21935 int count;
21936 size_t size = sizeof(count);
21937 int mib[] = { CTL_HW, HW_NCPU };
21938 sysctl(mib, 2, &count, &size, NULL, 0);
21939
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 if ac_fn_cxx_try_link "$LINENO"; then :
21945 glibcxx_cv_SYSCTL_HW_NCPU=yes
21946 else
21947 glibcxx_cv_SYSCTL_HW_NCPU=no
21948 fi
21949 rm -f core conftest.err conftest.$ac_objext \
21950 conftest$ac_exeext conftest.$ac_ext
21951 fi
21952
21953 fi
21954
21955 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21956
21957 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21958
21959 fi
21960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21961 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21962
21963 CXXFLAGS="$ac_save_CXXFLAGS"
21964 ac_ext=c
21965 ac_cpp='$CPP $CPPFLAGS'
21966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21969
21970
21971
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21973 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21974 # Note that this test has to be run with the C language.
21975 # Otherwise, sdt.h will try to include some headers from
21976 # libstdc++ itself.
21977
21978 ac_ext=c
21979 ac_cpp='$CPP $CPPFLAGS'
21980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21983
21984 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21985 $as_echo_n "(cached) " >&6
21986 else
21987
21988 # Because we have to run the test in C, we use grep rather
21989 # than the compiler to check for the bug. The bug is that
21990 # were strings without trailing whitespace, causing g++
21991 # to look for operator"". The pattern searches for the fixed
21992 # output.
21993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h. */
21995
21996 #include <sys/sdt.h>
21997 int f() { STAP_PROBE(hi, bob); }
21998
21999 _ACEOF
22000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22001 $EGREP " \",\" " >/dev/null 2>&1; then :
22002 glibcxx_cv_sys_sdt_h=yes
22003 else
22004 glibcxx_cv_sys_sdt_h=no
22005 fi
22006 rm -f conftest*
22007
22008
22009 fi
22010
22011 ac_ext=c
22012 ac_cpp='$CPP $CPPFLAGS'
22013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22016
22017 if test $glibcxx_cv_sys_sdt_h = yes; then
22018
22019 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22020
22021 fi
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22023 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22024
22025
22026 # Check for available headers.
22027 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22028 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22029 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22030 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22031 wchar.h wctype.h linux/types.h
22032 do :
22033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22036 cat >>confdefs.h <<_ACEOF
22037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22038 _ACEOF
22039
22040 fi
22041
22042 done
22043
22044
22045 for ac_header in linux/random.h
22046 do :
22047 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22048 # include <linux/types.h>
22049 #endif
22050
22051 "
22052 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22053 cat >>confdefs.h <<_ACEOF
22054 #define HAVE_LINUX_RANDOM_H 1
22055 _ACEOF
22056
22057 fi
22058
22059 done
22060
22061
22062 for ac_header in xlocale.h
22063 do :
22064 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22065 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22066 cat >>confdefs.h <<_ACEOF
22067 #define HAVE_XLOCALE_H 1
22068 _ACEOF
22069
22070 fi
22071
22072 done
22073
22074
22075 # Only do link tests if native. Else, hardcode.
22076 if $GLIBCXX_IS_NATIVE; then
22077
22078 # We can do more elaborate tests that assume a working linker.
22079 CANADIAN=no
22080
22081
22082
22083 # Check whether --with-gnu-ld was given.
22084 if test "${with_gnu_ld+set}" = set; then :
22085 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22086 else
22087 with_gnu_ld=no
22088 fi
22089
22090 ac_prog=ld
22091 if test "$GCC" = yes; then
22092 # Check if gcc -print-prog-name=ld gives a path.
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22094 $as_echo_n "checking for ld used by $CC... " >&6; }
22095 case $host in
22096 *-*-mingw*)
22097 # gcc leaves a trailing carriage return which upsets mingw
22098 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22099 *)
22100 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22101 esac
22102 case $ac_prog in
22103 # Accept absolute paths.
22104 [\\/]* | ?:[\\/]*)
22105 re_direlt='/[^/][^/]*/\.\./'
22106 # Canonicalize the pathname of ld
22107 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22108 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22109 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22110 done
22111 test -z "$LD" && LD="$ac_prog"
22112 ;;
22113 "")
22114 # If it fails, then pretend we aren't using GCC.
22115 ac_prog=ld
22116 ;;
22117 *)
22118 # If it is relative, then search for the first ld in PATH.
22119 with_gnu_ld=unknown
22120 ;;
22121 esac
22122 elif test "$with_gnu_ld" = yes; then
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22124 $as_echo_n "checking for GNU ld... " >&6; }
22125 else
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22127 $as_echo_n "checking for non-GNU ld... " >&6; }
22128 fi
22129 if ${lt_cv_path_LD+:} false; then :
22130 $as_echo_n "(cached) " >&6
22131 else
22132 if test -z "$LD"; then
22133 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22134 for ac_dir in $PATH; do
22135 IFS="$lt_save_ifs"
22136 test -z "$ac_dir" && ac_dir=.
22137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22138 lt_cv_path_LD="$ac_dir/$ac_prog"
22139 # Check to see if the program is GNU ld. I'd rather use --version,
22140 # but apparently some variants of GNU ld only accept -v.
22141 # Break only if it was the GNU/non-GNU ld that we prefer.
22142 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22143 *GNU* | *'with BFD'*)
22144 test "$with_gnu_ld" != no && break
22145 ;;
22146 *)
22147 test "$with_gnu_ld" != yes && break
22148 ;;
22149 esac
22150 fi
22151 done
22152 IFS="$lt_save_ifs"
22153 else
22154 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22155 fi
22156 fi
22157
22158 LD="$lt_cv_path_LD"
22159 if test -n "$LD"; then
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22161 $as_echo "$LD" >&6; }
22162 else
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22165 fi
22166 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22168 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22169 if ${lt_cv_prog_gnu_ld+:} false; then :
22170 $as_echo_n "(cached) " >&6
22171 else
22172 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22173 case `$LD -v 2>&1 </dev/null` in
22174 *GNU* | *'with BFD'*)
22175 lt_cv_prog_gnu_ld=yes
22176 ;;
22177 *)
22178 lt_cv_prog_gnu_ld=no
22179 ;;
22180 esac
22181 fi
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22183 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22184 with_gnu_ld=$lt_cv_prog_gnu_ld
22185
22186
22187
22188
22189
22190
22191
22192 # If we're not using GNU ld, then there's no point in even trying these
22193 # tests. Check for that first. We should have already tested for gld
22194 # by now (in libtool), but require it now just to be safe...
22195 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22196 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22197
22198
22199
22200 # The name set by libtool depends on the version of libtool. Shame on us
22201 # for depending on an impl detail, but c'est la vie. Older versions used
22202 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22203 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22204 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22205 # set (hence we're using an older libtool), then set it.
22206 if test x${with_gnu_ld+set} != xset; then
22207 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22208 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22209 with_gnu_ld=no
22210 else
22211 with_gnu_ld=$ac_cv_prog_gnu_ld
22212 fi
22213 fi
22214
22215 # Start by getting the version number. I think the libtool test already
22216 # does some of this, but throws away the result.
22217 glibcxx_ld_is_gold=no
22218 if test x"$with_gnu_ld" = x"yes"; then
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22220 $as_echo_n "checking for ld version... " >&6; }
22221
22222 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22223 glibcxx_ld_is_gold=yes
22224 fi
22225 ldver=`$LD --version 2>/dev/null |
22226 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22227
22228 glibcxx_gnu_ld_version=`echo $ldver | \
22229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22231 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22232 fi
22233
22234 # Set --gc-sections.
22235 glibcxx_have_gc_sections=no
22236 if test "$glibcxx_ld_is_gold" = "yes"; then
22237 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22238 glibcxx_have_gc_sections=yes
22239 fi
22240 else
22241 glibcxx_gcsections_min_ld=21602
22242 if test x"$with_gnu_ld" = x"yes" &&
22243 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22244 glibcxx_have_gc_sections=yes
22245 fi
22246 fi
22247 if test "$glibcxx_have_gc_sections" = "yes"; then
22248 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22249 # NB: This flag only works reliably after 2.16.1. Configure tests
22250 # for this are difficult, so hard wire a value that should work.
22251
22252 ac_test_CFLAGS="${CFLAGS+set}"
22253 ac_save_CFLAGS="$CFLAGS"
22254 CFLAGS='-Wl,--gc-sections'
22255
22256 # Check for -Wl,--gc-sections
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22258 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22259 if test x$gcc_no_link = xyes; then
22260 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22261 fi
22262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22263 /* end confdefs.h. */
22264 int one(void) { return 1; }
22265 int two(void) { return 2; }
22266
22267 int
22268 main ()
22269 {
22270 two();
22271 ;
22272 return 0;
22273 }
22274 _ACEOF
22275 if ac_fn_c_try_link "$LINENO"; then :
22276 ac_gcsections=yes
22277 else
22278 ac_gcsections=no
22279 fi
22280 rm -f core conftest.err conftest.$ac_objext \
22281 conftest$ac_exeext conftest.$ac_ext
22282 if test "$ac_gcsections" = "yes"; then
22283 rm -f conftest.c
22284 touch conftest.c
22285 if $CC -c conftest.c; then
22286 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22287 grep "Warning: gc-sections option ignored" > /dev/null; then
22288 ac_gcsections=no
22289 fi
22290 fi
22291 rm -f conftest.c conftest.o conftest
22292 fi
22293 if test "$ac_gcsections" = "yes"; then
22294 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22295 fi
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22297 $as_echo "$ac_gcsections" >&6; }
22298
22299 if test "$ac_test_CFLAGS" = set; then
22300 CFLAGS="$ac_save_CFLAGS"
22301 else
22302 # this is the suspicious part
22303 CFLAGS=''
22304 fi
22305 fi
22306
22307 # Set -z,relro.
22308 # Note this is only for shared objects.
22309 ac_ld_relro=no
22310 if test x"$with_gnu_ld" = x"yes"; then
22311 # cygwin and mingw uses PE, which has no ELF relro support,
22312 # multi target ld may confuse configure machinery
22313 case "$host" in
22314 *-*-cygwin*)
22315 ;;
22316 *-*-mingw*)
22317 ;;
22318 *)
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22322 if test -n "$cxx_z_relo"; then
22323 OPT_LDFLAGS="-Wl,-z,relro"
22324 ac_ld_relro=yes
22325 fi
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22327 $as_echo "$ac_ld_relro" >&6; }
22328 esac
22329 fi
22330
22331 # Set linker optimization flags.
22332 if test x"$with_gnu_ld" = x"yes"; then
22333 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22334 fi
22335
22336
22337
22338
22339
22340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22341 ac_save_CXXFLAGS="$CXXFLAGS"
22342 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22343
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22345 $as_echo_n "checking for sin in -lm... " >&6; }
22346 if ${ac_cv_lib_m_sin+:} false; then :
22347 $as_echo_n "(cached) " >&6
22348 else
22349 ac_check_lib_save_LIBS=$LIBS
22350 LIBS="-lm $LIBS"
22351 if test x$gcc_no_link = xyes; then
22352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22353 fi
22354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22355 /* end confdefs.h. */
22356
22357 /* Override any GCC internal prototype to avoid an error.
22358 Use char because int might match the return type of a GCC
22359 builtin and then its argument prototype would still apply. */
22360 #ifdef __cplusplus
22361 extern "C"
22362 #endif
22363 char sin ();
22364 int
22365 main ()
22366 {
22367 return sin ();
22368 ;
22369 return 0;
22370 }
22371 _ACEOF
22372 if ac_fn_c_try_link "$LINENO"; then :
22373 ac_cv_lib_m_sin=yes
22374 else
22375 ac_cv_lib_m_sin=no
22376 fi
22377 rm -f core conftest.err conftest.$ac_objext \
22378 conftest$ac_exeext conftest.$ac_ext
22379 LIBS=$ac_check_lib_save_LIBS
22380 fi
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22382 $as_echo "$ac_cv_lib_m_sin" >&6; }
22383 if test "x$ac_cv_lib_m_sin" = xyes; then :
22384 libm="-lm"
22385 fi
22386
22387 ac_save_LIBS="$LIBS"
22388 LIBS="$LIBS $libm"
22389
22390
22391
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22393 $as_echo_n "checking for isinf declaration... " >&6; }
22394 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22395 if ${glibcxx_cv_func_isinf_use+:} false; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22398
22399
22400 ac_ext=cpp
22401 ac_cpp='$CXXCPP $CPPFLAGS'
22402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22405
22406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22408 #include <math.h>
22409 #ifdef HAVE_IEEEFP_H
22410 #include <ieeefp.h>
22411 #endif
22412
22413 int
22414 main ()
22415 {
22416 isinf(0);
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 if ac_fn_cxx_try_compile "$LINENO"; then :
22422 glibcxx_cv_func_isinf_use=yes
22423 else
22424 glibcxx_cv_func_isinf_use=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 ac_ext=c
22428 ac_cpp='$CPP $CPPFLAGS'
22429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22432
22433
22434 fi
22435
22436 fi
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22438 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22439
22440 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22441 for ac_func in isinf
22442 do :
22443 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22444 if test "x$ac_cv_func_isinf" = xyes; then :
22445 cat >>confdefs.h <<_ACEOF
22446 #define HAVE_ISINF 1
22447 _ACEOF
22448
22449 fi
22450 done
22451
22452 else
22453
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22455 $as_echo_n "checking for _isinf declaration... " >&6; }
22456 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22457 if ${glibcxx_cv_func__isinf_use+:} false; then :
22458 $as_echo_n "(cached) " >&6
22459 else
22460
22461
22462 ac_ext=cpp
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22467
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22470 #include <math.h>
22471 #ifdef HAVE_IEEEFP_H
22472 #include <ieeefp.h>
22473 #endif
22474
22475 int
22476 main ()
22477 {
22478 _isinf(0);
22479 ;
22480 return 0;
22481 }
22482 _ACEOF
22483 if ac_fn_cxx_try_compile "$LINENO"; then :
22484 glibcxx_cv_func__isinf_use=yes
22485 else
22486 glibcxx_cv_func__isinf_use=no
22487 fi
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494
22495
22496 fi
22497
22498 fi
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22500 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22501
22502 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22503 for ac_func in _isinf
22504 do :
22505 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22506 if test "x$ac_cv_func__isinf" = xyes; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define HAVE__ISINF 1
22509 _ACEOF
22510
22511 fi
22512 done
22513
22514 fi
22515 fi
22516
22517
22518
22519
22520
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22522 $as_echo_n "checking for isnan declaration... " >&6; }
22523 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22524 if ${glibcxx_cv_func_isnan_use+:} false; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22527
22528
22529 ac_ext=cpp
22530 ac_cpp='$CXXCPP $CPPFLAGS'
22531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22534
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22537 #include <math.h>
22538 #ifdef HAVE_IEEEFP_H
22539 #include <ieeefp.h>
22540 #endif
22541
22542 int
22543 main ()
22544 {
22545 isnan(0);
22546 ;
22547 return 0;
22548 }
22549 _ACEOF
22550 if ac_fn_cxx_try_compile "$LINENO"; then :
22551 glibcxx_cv_func_isnan_use=yes
22552 else
22553 glibcxx_cv_func_isnan_use=no
22554 fi
22555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22556 ac_ext=c
22557 ac_cpp='$CPP $CPPFLAGS'
22558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22561
22562
22563 fi
22564
22565 fi
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22567 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22568
22569 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22570 for ac_func in isnan
22571 do :
22572 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22573 if test "x$ac_cv_func_isnan" = xyes; then :
22574 cat >>confdefs.h <<_ACEOF
22575 #define HAVE_ISNAN 1
22576 _ACEOF
22577
22578 fi
22579 done
22580
22581 else
22582
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22584 $as_echo_n "checking for _isnan declaration... " >&6; }
22585 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22586 if ${glibcxx_cv_func__isnan_use+:} false; then :
22587 $as_echo_n "(cached) " >&6
22588 else
22589
22590
22591 ac_ext=cpp
22592 ac_cpp='$CXXCPP $CPPFLAGS'
22593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22596
22597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22599 #include <math.h>
22600 #ifdef HAVE_IEEEFP_H
22601 #include <ieeefp.h>
22602 #endif
22603
22604 int
22605 main ()
22606 {
22607 _isnan(0);
22608 ;
22609 return 0;
22610 }
22611 _ACEOF
22612 if ac_fn_cxx_try_compile "$LINENO"; then :
22613 glibcxx_cv_func__isnan_use=yes
22614 else
22615 glibcxx_cv_func__isnan_use=no
22616 fi
22617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623
22624
22625 fi
22626
22627 fi
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22629 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22630
22631 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22632 for ac_func in _isnan
22633 do :
22634 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22635 if test "x$ac_cv_func__isnan" = xyes; then :
22636 cat >>confdefs.h <<_ACEOF
22637 #define HAVE__ISNAN 1
22638 _ACEOF
22639
22640 fi
22641 done
22642
22643 fi
22644 fi
22645
22646
22647
22648
22649
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22651 $as_echo_n "checking for finite declaration... " >&6; }
22652 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22653 if ${glibcxx_cv_func_finite_use+:} false; then :
22654 $as_echo_n "(cached) " >&6
22655 else
22656
22657
22658 ac_ext=cpp
22659 ac_cpp='$CXXCPP $CPPFLAGS'
22660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22663
22664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22665 /* end confdefs.h. */
22666 #include <math.h>
22667 #ifdef HAVE_IEEEFP_H
22668 #include <ieeefp.h>
22669 #endif
22670
22671 int
22672 main ()
22673 {
22674 finite(0);
22675 ;
22676 return 0;
22677 }
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680 glibcxx_cv_func_finite_use=yes
22681 else
22682 glibcxx_cv_func_finite_use=no
22683 fi
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22690
22691
22692 fi
22693
22694 fi
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22696 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22697
22698 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22699 for ac_func in finite
22700 do :
22701 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22702 if test "x$ac_cv_func_finite" = xyes; then :
22703 cat >>confdefs.h <<_ACEOF
22704 #define HAVE_FINITE 1
22705 _ACEOF
22706
22707 fi
22708 done
22709
22710 else
22711
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22713 $as_echo_n "checking for _finite declaration... " >&6; }
22714 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22715 if ${glibcxx_cv_func__finite_use+:} false; then :
22716 $as_echo_n "(cached) " >&6
22717 else
22718
22719
22720 ac_ext=cpp
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22725
22726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727 /* end confdefs.h. */
22728 #include <math.h>
22729 #ifdef HAVE_IEEEFP_H
22730 #include <ieeefp.h>
22731 #endif
22732
22733 int
22734 main ()
22735 {
22736 _finite(0);
22737 ;
22738 return 0;
22739 }
22740 _ACEOF
22741 if ac_fn_cxx_try_compile "$LINENO"; then :
22742 glibcxx_cv_func__finite_use=yes
22743 else
22744 glibcxx_cv_func__finite_use=no
22745 fi
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22752
22753
22754 fi
22755
22756 fi
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22758 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22759
22760 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22761 for ac_func in _finite
22762 do :
22763 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22764 if test "x$ac_cv_func__finite" = xyes; then :
22765 cat >>confdefs.h <<_ACEOF
22766 #define HAVE__FINITE 1
22767 _ACEOF
22768
22769 fi
22770 done
22771
22772 fi
22773 fi
22774
22775
22776
22777
22778
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22780 $as_echo_n "checking for sincos declaration... " >&6; }
22781 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22782 if ${glibcxx_cv_func_sincos_use+:} false; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22785
22786
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22792
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 /* end confdefs.h. */
22795 #include <math.h>
22796 int
22797 main ()
22798 {
22799 sincos(0, 0, 0);
22800 ;
22801 return 0;
22802 }
22803 _ACEOF
22804 if ac_fn_cxx_try_compile "$LINENO"; then :
22805 glibcxx_cv_func_sincos_use=yes
22806 else
22807 glibcxx_cv_func_sincos_use=no
22808 fi
22809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22810 ac_ext=c
22811 ac_cpp='$CPP $CPPFLAGS'
22812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22815
22816
22817 fi
22818
22819 fi
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22821 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22822
22823 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22824 for ac_func in sincos
22825 do :
22826 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22827 if test "x$ac_cv_func_sincos" = xyes; then :
22828 cat >>confdefs.h <<_ACEOF
22829 #define HAVE_SINCOS 1
22830 _ACEOF
22831
22832 fi
22833 done
22834
22835 else
22836
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22838 $as_echo_n "checking for _sincos declaration... " >&6; }
22839 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22840 if ${glibcxx_cv_func__sincos_use+:} false; then :
22841 $as_echo_n "(cached) " >&6
22842 else
22843
22844
22845 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 #include <math.h>
22854 int
22855 main ()
22856 {
22857 _sincos(0, 0, 0);
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__sincos_use=yes
22864 else
22865 glibcxx_cv_func__sincos_use=no
22866 fi
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22873
22874
22875 fi
22876
22877 fi
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22879 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22880
22881 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22882 for ac_func in _sincos
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22885 if test "x$ac_cv_func__sincos" = xyes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__SINCOS 1
22888 _ACEOF
22889
22890 fi
22891 done
22892
22893 fi
22894 fi
22895
22896
22897
22898
22899
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22901 $as_echo_n "checking for fpclass declaration... " >&6; }
22902 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22903 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22904 $as_echo_n "(cached) " >&6
22905 else
22906
22907
22908 ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22913
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916 #include <math.h>
22917 #ifdef HAVE_IEEEFP_H
22918 #include <ieeefp.h>
22919 #endif
22920
22921 int
22922 main ()
22923 {
22924 fpclass(0);
22925 ;
22926 return 0;
22927 }
22928 _ACEOF
22929 if ac_fn_cxx_try_compile "$LINENO"; then :
22930 glibcxx_cv_func_fpclass_use=yes
22931 else
22932 glibcxx_cv_func_fpclass_use=no
22933 fi
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 ac_ext=c
22936 ac_cpp='$CPP $CPPFLAGS'
22937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22940
22941
22942 fi
22943
22944 fi
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22946 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22947
22948 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22949 for ac_func in fpclass
22950 do :
22951 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22952 if test "x$ac_cv_func_fpclass" = xyes; then :
22953 cat >>confdefs.h <<_ACEOF
22954 #define HAVE_FPCLASS 1
22955 _ACEOF
22956
22957 fi
22958 done
22959
22960 else
22961
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22963 $as_echo_n "checking for _fpclass declaration... " >&6; }
22964 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22965 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22966 $as_echo_n "(cached) " >&6
22967 else
22968
22969
22970 ac_ext=cpp
22971 ac_cpp='$CXXCPP $CPPFLAGS'
22972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22975
22976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h. */
22978 #include <math.h>
22979 #ifdef HAVE_IEEEFP_H
22980 #include <ieeefp.h>
22981 #endif
22982
22983 int
22984 main ()
22985 {
22986 _fpclass(0);
22987 ;
22988 return 0;
22989 }
22990 _ACEOF
22991 if ac_fn_cxx_try_compile "$LINENO"; then :
22992 glibcxx_cv_func__fpclass_use=yes
22993 else
22994 glibcxx_cv_func__fpclass_use=no
22995 fi
22996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997 ac_ext=c
22998 ac_cpp='$CPP $CPPFLAGS'
22999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23002
23003
23004 fi
23005
23006 fi
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23008 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23009
23010 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23011 for ac_func in _fpclass
23012 do :
23013 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23014 if test "x$ac_cv_func__fpclass" = xyes; then :
23015 cat >>confdefs.h <<_ACEOF
23016 #define HAVE__FPCLASS 1
23017 _ACEOF
23018
23019 fi
23020 done
23021
23022 fi
23023 fi
23024
23025
23026
23027
23028
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23030 $as_echo_n "checking for qfpclass declaration... " >&6; }
23031 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23032 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23033 $as_echo_n "(cached) " >&6
23034 else
23035
23036
23037 ac_ext=cpp
23038 ac_cpp='$CXXCPP $CPPFLAGS'
23039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23042
23043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23044 /* end confdefs.h. */
23045 #include <math.h>
23046 #ifdef HAVE_IEEEFP_H
23047 #include <ieeefp.h>
23048 #endif
23049
23050 int
23051 main ()
23052 {
23053 qfpclass(0);
23054 ;
23055 return 0;
23056 }
23057 _ACEOF
23058 if ac_fn_cxx_try_compile "$LINENO"; then :
23059 glibcxx_cv_func_qfpclass_use=yes
23060 else
23061 glibcxx_cv_func_qfpclass_use=no
23062 fi
23063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23064 ac_ext=c
23065 ac_cpp='$CPP $CPPFLAGS'
23066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23069
23070
23071 fi
23072
23073 fi
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23075 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23076
23077 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23078 for ac_func in qfpclass
23079 do :
23080 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23081 if test "x$ac_cv_func_qfpclass" = xyes; then :
23082 cat >>confdefs.h <<_ACEOF
23083 #define HAVE_QFPCLASS 1
23084 _ACEOF
23085
23086 fi
23087 done
23088
23089 else
23090
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23092 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23093 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23094 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23095 $as_echo_n "(cached) " >&6
23096 else
23097
23098
23099 ac_ext=cpp
23100 ac_cpp='$CXXCPP $CPPFLAGS'
23101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23104
23105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23106 /* end confdefs.h. */
23107 #include <math.h>
23108 #ifdef HAVE_IEEEFP_H
23109 #include <ieeefp.h>
23110 #endif
23111
23112 int
23113 main ()
23114 {
23115 _qfpclass(0);
23116 ;
23117 return 0;
23118 }
23119 _ACEOF
23120 if ac_fn_cxx_try_compile "$LINENO"; then :
23121 glibcxx_cv_func__qfpclass_use=yes
23122 else
23123 glibcxx_cv_func__qfpclass_use=no
23124 fi
23125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23126 ac_ext=c
23127 ac_cpp='$CPP $CPPFLAGS'
23128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23131
23132
23133 fi
23134
23135 fi
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23137 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23138
23139 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23140 for ac_func in _qfpclass
23141 do :
23142 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23143 if test "x$ac_cv_func__qfpclass" = xyes; then :
23144 cat >>confdefs.h <<_ACEOF
23145 #define HAVE__QFPCLASS 1
23146 _ACEOF
23147
23148 fi
23149 done
23150
23151 fi
23152 fi
23153
23154
23155
23156
23157
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23159 $as_echo_n "checking for hypot declaration... " >&6; }
23160 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23161 if ${glibcxx_cv_func_hypot_use+:} false; then :
23162 $as_echo_n "(cached) " >&6
23163 else
23164
23165
23166 ac_ext=cpp
23167 ac_cpp='$CXXCPP $CPPFLAGS'
23168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23171
23172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23173 /* end confdefs.h. */
23174 #include <math.h>
23175 int
23176 main ()
23177 {
23178 hypot(0, 0);
23179 ;
23180 return 0;
23181 }
23182 _ACEOF
23183 if ac_fn_cxx_try_compile "$LINENO"; then :
23184 glibcxx_cv_func_hypot_use=yes
23185 else
23186 glibcxx_cv_func_hypot_use=no
23187 fi
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23189 ac_ext=c
23190 ac_cpp='$CPP $CPPFLAGS'
23191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23194
23195
23196 fi
23197
23198 fi
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23200 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23201
23202 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23203 for ac_func in hypot
23204 do :
23205 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23206 if test "x$ac_cv_func_hypot" = xyes; then :
23207 cat >>confdefs.h <<_ACEOF
23208 #define HAVE_HYPOT 1
23209 _ACEOF
23210
23211 fi
23212 done
23213
23214 else
23215
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23217 $as_echo_n "checking for _hypot declaration... " >&6; }
23218 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23219 if ${glibcxx_cv_func__hypot_use+:} false; then :
23220 $as_echo_n "(cached) " >&6
23221 else
23222
23223
23224 ac_ext=cpp
23225 ac_cpp='$CXXCPP $CPPFLAGS'
23226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23229
23230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h. */
23232 #include <math.h>
23233 int
23234 main ()
23235 {
23236 _hypot(0, 0);
23237 ;
23238 return 0;
23239 }
23240 _ACEOF
23241 if ac_fn_cxx_try_compile "$LINENO"; then :
23242 glibcxx_cv_func__hypot_use=yes
23243 else
23244 glibcxx_cv_func__hypot_use=no
23245 fi
23246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23247 ac_ext=c
23248 ac_cpp='$CPP $CPPFLAGS'
23249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23252
23253
23254 fi
23255
23256 fi
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23258 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23259
23260 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23261 for ac_func in _hypot
23262 do :
23263 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23264 if test "x$ac_cv_func__hypot" = xyes; then :
23265 cat >>confdefs.h <<_ACEOF
23266 #define HAVE__HYPOT 1
23267 _ACEOF
23268
23269 fi
23270 done
23271
23272 fi
23273 fi
23274
23275
23276
23277
23278
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23280 $as_echo_n "checking for float trig functions... " >&6; }
23281 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23282 $as_echo_n "(cached) " >&6
23283 else
23284
23285
23286 ac_ext=cpp
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291
23292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23294 #include <math.h>
23295 int
23296 main ()
23297 {
23298 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23299 ;
23300 return 0;
23301 }
23302 _ACEOF
23303 if ac_fn_cxx_try_compile "$LINENO"; then :
23304 glibcxx_cv_func_float_trig_use=yes
23305 else
23306 glibcxx_cv_func_float_trig_use=no
23307 fi
23308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309 ac_ext=c
23310 ac_cpp='$CPP $CPPFLAGS'
23311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23314
23315 fi
23316
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23318 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23319 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23320 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23321 do :
23322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23325 cat >>confdefs.h <<_ACEOF
23326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23327 _ACEOF
23328
23329 fi
23330 done
23331
23332 else
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23334 $as_echo_n "checking for _float trig functions... " >&6; }
23335 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23336 $as_echo_n "(cached) " >&6
23337 else
23338
23339
23340 ac_ext=cpp
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23345
23346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23347 /* end confdefs.h. */
23348 #include <math.h>
23349 int
23350 main ()
23351 {
23352 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23353 ;
23354 return 0;
23355 }
23356 _ACEOF
23357 if ac_fn_cxx_try_compile "$LINENO"; then :
23358 glibcxx_cv_func__float_trig_use=yes
23359 else
23360 glibcxx_cv_func__float_trig_use=no
23361 fi
23362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23363 ac_ext=c
23364 ac_cpp='$CPP $CPPFLAGS'
23365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23368
23369 fi
23370
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23372 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23373 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23374 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23375 do :
23376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23381 _ACEOF
23382
23383 fi
23384 done
23385
23386 fi
23387 fi
23388
23389
23390
23391
23392
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23394 $as_echo_n "checking for float round functions... " >&6; }
23395 if ${glibcxx_cv_func_float_round_use+:} false; then :
23396 $as_echo_n "(cached) " >&6
23397 else
23398
23399
23400 ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408 #include <math.h>
23409 int
23410 main ()
23411 {
23412 ceilf (0); floorf (0);
23413 ;
23414 return 0;
23415 }
23416 _ACEOF
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func_float_round_use=yes
23419 else
23420 glibcxx_cv_func_float_round_use=no
23421 fi
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 ac_ext=c
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23428
23429 fi
23430
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23432 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23433 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23434 for ac_func in ceilf floorf
23435 do :
23436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23439 cat >>confdefs.h <<_ACEOF
23440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23441 _ACEOF
23442
23443 fi
23444 done
23445
23446 else
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23448 $as_echo_n "checking for _float round functions... " >&6; }
23449 if ${glibcxx_cv_func__float_round_use+:} false; then :
23450 $as_echo_n "(cached) " >&6
23451 else
23452
23453
23454 ac_ext=cpp
23455 ac_cpp='$CXXCPP $CPPFLAGS'
23456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459
23460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23461 /* end confdefs.h. */
23462 #include <math.h>
23463 int
23464 main ()
23465 {
23466 _ceilf (0); _floorf (0);
23467 ;
23468 return 0;
23469 }
23470 _ACEOF
23471 if ac_fn_cxx_try_compile "$LINENO"; then :
23472 glibcxx_cv_func__float_round_use=yes
23473 else
23474 glibcxx_cv_func__float_round_use=no
23475 fi
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 ac_ext=c
23478 ac_cpp='$CPP $CPPFLAGS'
23479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23482
23483 fi
23484
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23486 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23487 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23488 for ac_func in _ceilf _floorf
23489 do :
23490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23493 cat >>confdefs.h <<_ACEOF
23494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23495 _ACEOF
23496
23497 fi
23498 done
23499
23500 fi
23501 fi
23502
23503
23504
23505
23506
23507
23508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23509 $as_echo_n "checking for expf declaration... " >&6; }
23510 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23511 if ${glibcxx_cv_func_expf_use+:} false; then :
23512 $as_echo_n "(cached) " >&6
23513 else
23514
23515
23516 ac_ext=cpp
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521
23522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23524 #include <math.h>
23525 #ifdef HAVE_IEEEFP_H
23526 #include <ieeefp.h>
23527 #endif
23528
23529 int
23530 main ()
23531 {
23532 expf(0);
23533 ;
23534 return 0;
23535 }
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538 glibcxx_cv_func_expf_use=yes
23539 else
23540 glibcxx_cv_func_expf_use=no
23541 fi
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548
23549
23550 fi
23551
23552 fi
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23554 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23555
23556 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23557 for ac_func in expf
23558 do :
23559 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23560 if test "x$ac_cv_func_expf" = xyes; then :
23561 cat >>confdefs.h <<_ACEOF
23562 #define HAVE_EXPF 1
23563 _ACEOF
23564
23565 fi
23566 done
23567
23568 else
23569
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23571 $as_echo_n "checking for _expf declaration... " >&6; }
23572 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23573 if ${glibcxx_cv_func__expf_use+:} false; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23576
23577
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23587 #ifdef HAVE_IEEEFP_H
23588 #include <ieeefp.h>
23589 #endif
23590
23591 int
23592 main ()
23593 {
23594 _expf(0);
23595 ;
23596 return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600 glibcxx_cv_func__expf_use=yes
23601 else
23602 glibcxx_cv_func__expf_use=no
23603 fi
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614 fi
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23616 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23617
23618 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23619 for ac_func in _expf
23620 do :
23621 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23622 if test "x$ac_cv_func__expf" = xyes; then :
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE__EXPF 1
23625 _ACEOF
23626
23627 fi
23628 done
23629
23630 fi
23631 fi
23632
23633
23634
23635
23636
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23638 $as_echo_n "checking for isnanf declaration... " >&6; }
23639 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23640 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23643
23644
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23654 #ifdef HAVE_IEEEFP_H
23655 #include <ieeefp.h>
23656 #endif
23657
23658 int
23659 main ()
23660 {
23661 isnanf(0);
23662 ;
23663 return 0;
23664 }
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func_isnanf_use=yes
23668 else
23669 glibcxx_cv_func_isnanf_use=no
23670 fi
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677
23678
23679 fi
23680
23681 fi
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23683 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23684
23685 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23686 for ac_func in isnanf
23687 do :
23688 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23689 if test "x$ac_cv_func_isnanf" = xyes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ISNANF 1
23692 _ACEOF
23693
23694 fi
23695 done
23696
23697 else
23698
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23700 $as_echo_n "checking for _isnanf declaration... " >&6; }
23701 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23702 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23705
23706
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23716 #ifdef HAVE_IEEEFP_H
23717 #include <ieeefp.h>
23718 #endif
23719
23720 int
23721 main ()
23722 {
23723 _isnanf(0);
23724 ;
23725 return 0;
23726 }
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func__isnanf_use=yes
23730 else
23731 glibcxx_cv_func__isnanf_use=no
23732 fi
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23739
23740
23741 fi
23742
23743 fi
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23745 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23746
23747 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23748 for ac_func in _isnanf
23749 do :
23750 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23751 if test "x$ac_cv_func__isnanf" = xyes; then :
23752 cat >>confdefs.h <<_ACEOF
23753 #define HAVE__ISNANF 1
23754 _ACEOF
23755
23756 fi
23757 done
23758
23759 fi
23760 fi
23761
23762
23763
23764
23765
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23767 $as_echo_n "checking for isinff declaration... " >&6; }
23768 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23769 if ${glibcxx_cv_func_isinff_use+:} false; then :
23770 $as_echo_n "(cached) " >&6
23771 else
23772
23773
23774 ac_ext=cpp
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23779
23780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h. */
23782 #include <math.h>
23783 #ifdef HAVE_IEEEFP_H
23784 #include <ieeefp.h>
23785 #endif
23786
23787 int
23788 main ()
23789 {
23790 isinff(0);
23791 ;
23792 return 0;
23793 }
23794 _ACEOF
23795 if ac_fn_cxx_try_compile "$LINENO"; then :
23796 glibcxx_cv_func_isinff_use=yes
23797 else
23798 glibcxx_cv_func_isinff_use=no
23799 fi
23800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23801 ac_ext=c
23802 ac_cpp='$CPP $CPPFLAGS'
23803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23806
23807
23808 fi
23809
23810 fi
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23812 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23813
23814 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23815 for ac_func in isinff
23816 do :
23817 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23818 if test "x$ac_cv_func_isinff" = xyes; then :
23819 cat >>confdefs.h <<_ACEOF
23820 #define HAVE_ISINFF 1
23821 _ACEOF
23822
23823 fi
23824 done
23825
23826 else
23827
23828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23829 $as_echo_n "checking for _isinff declaration... " >&6; }
23830 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23831 if ${glibcxx_cv_func__isinff_use+:} false; then :
23832 $as_echo_n "(cached) " >&6
23833 else
23834
23835
23836 ac_ext=cpp
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841
23842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23843 /* end confdefs.h. */
23844 #include <math.h>
23845 #ifdef HAVE_IEEEFP_H
23846 #include <ieeefp.h>
23847 #endif
23848
23849 int
23850 main ()
23851 {
23852 _isinff(0);
23853 ;
23854 return 0;
23855 }
23856 _ACEOF
23857 if ac_fn_cxx_try_compile "$LINENO"; then :
23858 glibcxx_cv_func__isinff_use=yes
23859 else
23860 glibcxx_cv_func__isinff_use=no
23861 fi
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863 ac_ext=c
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23868
23869
23870 fi
23871
23872 fi
23873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23874 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23875
23876 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23877 for ac_func in _isinff
23878 do :
23879 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23880 if test "x$ac_cv_func__isinff" = xyes; then :
23881 cat >>confdefs.h <<_ACEOF
23882 #define HAVE__ISINFF 1
23883 _ACEOF
23884
23885 fi
23886 done
23887
23888 fi
23889 fi
23890
23891
23892
23893
23894
23895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23896 $as_echo_n "checking for atan2f declaration... " >&6; }
23897 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23898 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23899 $as_echo_n "(cached) " >&6
23900 else
23901
23902
23903 ac_ext=cpp
23904 ac_cpp='$CXXCPP $CPPFLAGS'
23905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23908
23909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23910 /* end confdefs.h. */
23911 #include <math.h>
23912 int
23913 main ()
23914 {
23915 atan2f(0, 0);
23916 ;
23917 return 0;
23918 }
23919 _ACEOF
23920 if ac_fn_cxx_try_compile "$LINENO"; then :
23921 glibcxx_cv_func_atan2f_use=yes
23922 else
23923 glibcxx_cv_func_atan2f_use=no
23924 fi
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23926 ac_ext=c
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23931
23932
23933 fi
23934
23935 fi
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23937 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23938
23939 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23940 for ac_func in atan2f
23941 do :
23942 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23943 if test "x$ac_cv_func_atan2f" = xyes; then :
23944 cat >>confdefs.h <<_ACEOF
23945 #define HAVE_ATAN2F 1
23946 _ACEOF
23947
23948 fi
23949 done
23950
23951 else
23952
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23954 $as_echo_n "checking for _atan2f declaration... " >&6; }
23955 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23956 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23957 $as_echo_n "(cached) " >&6
23958 else
23959
23960
23961 ac_ext=cpp
23962 ac_cpp='$CXXCPP $CPPFLAGS'
23963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23966
23967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23968 /* end confdefs.h. */
23969 #include <math.h>
23970 int
23971 main ()
23972 {
23973 _atan2f(0, 0);
23974 ;
23975 return 0;
23976 }
23977 _ACEOF
23978 if ac_fn_cxx_try_compile "$LINENO"; then :
23979 glibcxx_cv_func__atan2f_use=yes
23980 else
23981 glibcxx_cv_func__atan2f_use=no
23982 fi
23983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23984 ac_ext=c
23985 ac_cpp='$CPP $CPPFLAGS'
23986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23989
23990
23991 fi
23992
23993 fi
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23995 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23996
23997 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23998 for ac_func in _atan2f
23999 do :
24000 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24001 if test "x$ac_cv_func__atan2f" = xyes; then :
24002 cat >>confdefs.h <<_ACEOF
24003 #define HAVE__ATAN2F 1
24004 _ACEOF
24005
24006 fi
24007 done
24008
24009 fi
24010 fi
24011
24012
24013
24014
24015
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24017 $as_echo_n "checking for fabsf declaration... " >&6; }
24018 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24019 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24020 $as_echo_n "(cached) " >&6
24021 else
24022
24023
24024 ac_ext=cpp
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24029
24030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h. */
24032 #include <math.h>
24033 #ifdef HAVE_IEEEFP_H
24034 #include <ieeefp.h>
24035 #endif
24036
24037 int
24038 main ()
24039 {
24040 fabsf(0);
24041 ;
24042 return 0;
24043 }
24044 _ACEOF
24045 if ac_fn_cxx_try_compile "$LINENO"; then :
24046 glibcxx_cv_func_fabsf_use=yes
24047 else
24048 glibcxx_cv_func_fabsf_use=no
24049 fi
24050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24051 ac_ext=c
24052 ac_cpp='$CPP $CPPFLAGS'
24053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24056
24057
24058 fi
24059
24060 fi
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24062 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24063
24064 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24065 for ac_func in fabsf
24066 do :
24067 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24068 if test "x$ac_cv_func_fabsf" = xyes; then :
24069 cat >>confdefs.h <<_ACEOF
24070 #define HAVE_FABSF 1
24071 _ACEOF
24072
24073 fi
24074 done
24075
24076 else
24077
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24079 $as_echo_n "checking for _fabsf declaration... " >&6; }
24080 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24081 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24082 $as_echo_n "(cached) " >&6
24083 else
24084
24085
24086 ac_ext=cpp
24087 ac_cpp='$CXXCPP $CPPFLAGS'
24088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24091
24092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h. */
24094 #include <math.h>
24095 #ifdef HAVE_IEEEFP_H
24096 #include <ieeefp.h>
24097 #endif
24098
24099 int
24100 main ()
24101 {
24102 _fabsf(0);
24103 ;
24104 return 0;
24105 }
24106 _ACEOF
24107 if ac_fn_cxx_try_compile "$LINENO"; then :
24108 glibcxx_cv_func__fabsf_use=yes
24109 else
24110 glibcxx_cv_func__fabsf_use=no
24111 fi
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113 ac_ext=c
24114 ac_cpp='$CPP $CPPFLAGS'
24115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24118
24119
24120 fi
24121
24122 fi
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24124 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24125
24126 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24127 for ac_func in _fabsf
24128 do :
24129 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24130 if test "x$ac_cv_func__fabsf" = xyes; then :
24131 cat >>confdefs.h <<_ACEOF
24132 #define HAVE__FABSF 1
24133 _ACEOF
24134
24135 fi
24136 done
24137
24138 fi
24139 fi
24140
24141
24142
24143
24144
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24146 $as_echo_n "checking for fmodf declaration... " >&6; }
24147 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24148 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24149 $as_echo_n "(cached) " >&6
24150 else
24151
24152
24153 ac_ext=cpp
24154 ac_cpp='$CXXCPP $CPPFLAGS'
24155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24158
24159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24161 #include <math.h>
24162 int
24163 main ()
24164 {
24165 fmodf(0, 0);
24166 ;
24167 return 0;
24168 }
24169 _ACEOF
24170 if ac_fn_cxx_try_compile "$LINENO"; then :
24171 glibcxx_cv_func_fmodf_use=yes
24172 else
24173 glibcxx_cv_func_fmodf_use=no
24174 fi
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176 ac_ext=c
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24181
24182
24183 fi
24184
24185 fi
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24187 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24188
24189 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24190 for ac_func in fmodf
24191 do :
24192 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24193 if test "x$ac_cv_func_fmodf" = xyes; then :
24194 cat >>confdefs.h <<_ACEOF
24195 #define HAVE_FMODF 1
24196 _ACEOF
24197
24198 fi
24199 done
24200
24201 else
24202
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24204 $as_echo_n "checking for _fmodf declaration... " >&6; }
24205 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24206 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24207 $as_echo_n "(cached) " >&6
24208 else
24209
24210
24211 ac_ext=cpp
24212 ac_cpp='$CXXCPP $CPPFLAGS'
24213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24216
24217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h. */
24219 #include <math.h>
24220 int
24221 main ()
24222 {
24223 _fmodf(0, 0);
24224 ;
24225 return 0;
24226 }
24227 _ACEOF
24228 if ac_fn_cxx_try_compile "$LINENO"; then :
24229 glibcxx_cv_func__fmodf_use=yes
24230 else
24231 glibcxx_cv_func__fmodf_use=no
24232 fi
24233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24234 ac_ext=c
24235 ac_cpp='$CPP $CPPFLAGS'
24236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24239
24240
24241 fi
24242
24243 fi
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24245 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24246
24247 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24248 for ac_func in _fmodf
24249 do :
24250 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24251 if test "x$ac_cv_func__fmodf" = xyes; then :
24252 cat >>confdefs.h <<_ACEOF
24253 #define HAVE__FMODF 1
24254 _ACEOF
24255
24256 fi
24257 done
24258
24259 fi
24260 fi
24261
24262
24263
24264
24265
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24267 $as_echo_n "checking for frexpf declaration... " >&6; }
24268 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24269 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24270 $as_echo_n "(cached) " >&6
24271 else
24272
24273
24274 ac_ext=cpp
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24279
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24282 #include <math.h>
24283 int
24284 main ()
24285 {
24286 frexpf(0, 0);
24287 ;
24288 return 0;
24289 }
24290 _ACEOF
24291 if ac_fn_cxx_try_compile "$LINENO"; then :
24292 glibcxx_cv_func_frexpf_use=yes
24293 else
24294 glibcxx_cv_func_frexpf_use=no
24295 fi
24296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24302
24303
24304 fi
24305
24306 fi
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24308 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24309
24310 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24311 for ac_func in frexpf
24312 do :
24313 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24314 if test "x$ac_cv_func_frexpf" = xyes; then :
24315 cat >>confdefs.h <<_ACEOF
24316 #define HAVE_FREXPF 1
24317 _ACEOF
24318
24319 fi
24320 done
24321
24322 else
24323
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24325 $as_echo_n "checking for _frexpf declaration... " >&6; }
24326 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24327 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24328 $as_echo_n "(cached) " >&6
24329 else
24330
24331
24332 ac_ext=cpp
24333 ac_cpp='$CXXCPP $CPPFLAGS'
24334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24337
24338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h. */
24340 #include <math.h>
24341 int
24342 main ()
24343 {
24344 _frexpf(0, 0);
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350 glibcxx_cv_func__frexpf_use=yes
24351 else
24352 glibcxx_cv_func__frexpf_use=no
24353 fi
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 ac_ext=c
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24360
24361
24362 fi
24363
24364 fi
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24366 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24367
24368 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24369 for ac_func in _frexpf
24370 do :
24371 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24372 if test "x$ac_cv_func__frexpf" = xyes; then :
24373 cat >>confdefs.h <<_ACEOF
24374 #define HAVE__FREXPF 1
24375 _ACEOF
24376
24377 fi
24378 done
24379
24380 fi
24381 fi
24382
24383
24384
24385
24386
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24388 $as_echo_n "checking for hypotf declaration... " >&6; }
24389 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24390 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24391 $as_echo_n "(cached) " >&6
24392 else
24393
24394
24395 ac_ext=cpp
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24400
24401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h. */
24403 #include <math.h>
24404 int
24405 main ()
24406 {
24407 hypotf(0, 0);
24408 ;
24409 return 0;
24410 }
24411 _ACEOF
24412 if ac_fn_cxx_try_compile "$LINENO"; then :
24413 glibcxx_cv_func_hypotf_use=yes
24414 else
24415 glibcxx_cv_func_hypotf_use=no
24416 fi
24417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418 ac_ext=c
24419 ac_cpp='$CPP $CPPFLAGS'
24420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24423
24424
24425 fi
24426
24427 fi
24428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24429 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24430
24431 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24432 for ac_func in hypotf
24433 do :
24434 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24435 if test "x$ac_cv_func_hypotf" = xyes; then :
24436 cat >>confdefs.h <<_ACEOF
24437 #define HAVE_HYPOTF 1
24438 _ACEOF
24439
24440 fi
24441 done
24442
24443 else
24444
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24446 $as_echo_n "checking for _hypotf declaration... " >&6; }
24447 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24448 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24451
24452
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24458
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24462 int
24463 main ()
24464 {
24465 _hypotf(0, 0);
24466 ;
24467 return 0;
24468 }
24469 _ACEOF
24470 if ac_fn_cxx_try_compile "$LINENO"; then :
24471 glibcxx_cv_func__hypotf_use=yes
24472 else
24473 glibcxx_cv_func__hypotf_use=no
24474 fi
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 ac_ext=c
24477 ac_cpp='$CPP $CPPFLAGS'
24478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24481
24482
24483 fi
24484
24485 fi
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24487 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24488
24489 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24490 for ac_func in _hypotf
24491 do :
24492 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24493 if test "x$ac_cv_func__hypotf" = xyes; then :
24494 cat >>confdefs.h <<_ACEOF
24495 #define HAVE__HYPOTF 1
24496 _ACEOF
24497
24498 fi
24499 done
24500
24501 fi
24502 fi
24503
24504
24505
24506
24507
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24509 $as_echo_n "checking for ldexpf declaration... " >&6; }
24510 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24511 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24512 $as_echo_n "(cached) " >&6
24513 else
24514
24515
24516 ac_ext=cpp
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24521
24522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h. */
24524 #include <math.h>
24525 int
24526 main ()
24527 {
24528 ldexpf(0, 0);
24529 ;
24530 return 0;
24531 }
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_ldexpf_use=yes
24535 else
24536 glibcxx_cv_func_ldexpf_use=no
24537 fi
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24544
24545
24546 fi
24547
24548 fi
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24550 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24551
24552 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24553 for ac_func in ldexpf
24554 do :
24555 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24556 if test "x$ac_cv_func_ldexpf" = xyes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LDEXPF 1
24559 _ACEOF
24560
24561 fi
24562 done
24563
24564 else
24565
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24567 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24568 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24569 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24572
24573
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24579
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24583 int
24584 main ()
24585 {
24586 _ldexpf(0, 0);
24587 ;
24588 return 0;
24589 }
24590 _ACEOF
24591 if ac_fn_cxx_try_compile "$LINENO"; then :
24592 glibcxx_cv_func__ldexpf_use=yes
24593 else
24594 glibcxx_cv_func__ldexpf_use=no
24595 fi
24596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24597 ac_ext=c
24598 ac_cpp='$CPP $CPPFLAGS'
24599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24602
24603
24604 fi
24605
24606 fi
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24608 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24609
24610 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24611 for ac_func in _ldexpf
24612 do :
24613 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24614 if test "x$ac_cv_func__ldexpf" = xyes; then :
24615 cat >>confdefs.h <<_ACEOF
24616 #define HAVE__LDEXPF 1
24617 _ACEOF
24618
24619 fi
24620 done
24621
24622 fi
24623 fi
24624
24625
24626
24627
24628
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24630 $as_echo_n "checking for logf declaration... " >&6; }
24631 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24632 if ${glibcxx_cv_func_logf_use+:} false; then :
24633 $as_echo_n "(cached) " >&6
24634 else
24635
24636
24637 ac_ext=cpp
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24642
24643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24644 /* end confdefs.h. */
24645 #include <math.h>
24646 #ifdef HAVE_IEEEFP_H
24647 #include <ieeefp.h>
24648 #endif
24649
24650 int
24651 main ()
24652 {
24653 logf(0);
24654 ;
24655 return 0;
24656 }
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_logf_use=yes
24660 else
24661 glibcxx_cv_func_logf_use=no
24662 fi
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24669
24670
24671 fi
24672
24673 fi
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24675 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24676
24677 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24678 for ac_func in logf
24679 do :
24680 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24681 if test "x$ac_cv_func_logf" = xyes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_LOGF 1
24684 _ACEOF
24685
24686 fi
24687 done
24688
24689 else
24690
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24692 $as_echo_n "checking for _logf declaration... " >&6; }
24693 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24694 if ${glibcxx_cv_func__logf_use+:} false; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24697
24698
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 #ifdef HAVE_IEEEFP_H
24709 #include <ieeefp.h>
24710 #endif
24711
24712 int
24713 main ()
24714 {
24715 _logf(0);
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721 glibcxx_cv_func__logf_use=yes
24722 else
24723 glibcxx_cv_func__logf_use=no
24724 fi
24725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726 ac_ext=c
24727 ac_cpp='$CPP $CPPFLAGS'
24728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731
24732
24733 fi
24734
24735 fi
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24737 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24738
24739 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24740 for ac_func in _logf
24741 do :
24742 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24743 if test "x$ac_cv_func__logf" = xyes; then :
24744 cat >>confdefs.h <<_ACEOF
24745 #define HAVE__LOGF 1
24746 _ACEOF
24747
24748 fi
24749 done
24750
24751 fi
24752 fi
24753
24754
24755
24756
24757
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24759 $as_echo_n "checking for log10f declaration... " >&6; }
24760 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24761 if ${glibcxx_cv_func_log10f_use+:} false; then :
24762 $as_echo_n "(cached) " >&6
24763 else
24764
24765
24766 ac_ext=cpp
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24771
24772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h. */
24774 #include <math.h>
24775 #ifdef HAVE_IEEEFP_H
24776 #include <ieeefp.h>
24777 #endif
24778
24779 int
24780 main ()
24781 {
24782 log10f(0);
24783 ;
24784 return 0;
24785 }
24786 _ACEOF
24787 if ac_fn_cxx_try_compile "$LINENO"; then :
24788 glibcxx_cv_func_log10f_use=yes
24789 else
24790 glibcxx_cv_func_log10f_use=no
24791 fi
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793 ac_ext=c
24794 ac_cpp='$CPP $CPPFLAGS'
24795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24798
24799
24800 fi
24801
24802 fi
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24804 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24805
24806 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24807 for ac_func in log10f
24808 do :
24809 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24810 if test "x$ac_cv_func_log10f" = xyes; then :
24811 cat >>confdefs.h <<_ACEOF
24812 #define HAVE_LOG10F 1
24813 _ACEOF
24814
24815 fi
24816 done
24817
24818 else
24819
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24821 $as_echo_n "checking for _log10f declaration... " >&6; }
24822 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24823 if ${glibcxx_cv_func__log10f_use+:} false; then :
24824 $as_echo_n "(cached) " >&6
24825 else
24826
24827
24828 ac_ext=cpp
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24833
24834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24835 /* end confdefs.h. */
24836 #include <math.h>
24837 #ifdef HAVE_IEEEFP_H
24838 #include <ieeefp.h>
24839 #endif
24840
24841 int
24842 main ()
24843 {
24844 _log10f(0);
24845 ;
24846 return 0;
24847 }
24848 _ACEOF
24849 if ac_fn_cxx_try_compile "$LINENO"; then :
24850 glibcxx_cv_func__log10f_use=yes
24851 else
24852 glibcxx_cv_func__log10f_use=no
24853 fi
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855 ac_ext=c
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24860
24861
24862 fi
24863
24864 fi
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24866 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24867
24868 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24869 for ac_func in _log10f
24870 do :
24871 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24872 if test "x$ac_cv_func__log10f" = xyes; then :
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE__LOG10F 1
24875 _ACEOF
24876
24877 fi
24878 done
24879
24880 fi
24881 fi
24882
24883
24884
24885
24886
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24888 $as_echo_n "checking for modff declaration... " >&6; }
24889 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24890 if ${glibcxx_cv_func_modff_use+:} false; then :
24891 $as_echo_n "(cached) " >&6
24892 else
24893
24894
24895 ac_ext=cpp
24896 ac_cpp='$CXXCPP $CPPFLAGS'
24897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24900
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24903 #include <math.h>
24904 int
24905 main ()
24906 {
24907 modff(0, 0);
24908 ;
24909 return 0;
24910 }
24911 _ACEOF
24912 if ac_fn_cxx_try_compile "$LINENO"; then :
24913 glibcxx_cv_func_modff_use=yes
24914 else
24915 glibcxx_cv_func_modff_use=no
24916 fi
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 ac_ext=c
24919 ac_cpp='$CPP $CPPFLAGS'
24920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24923
24924
24925 fi
24926
24927 fi
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24929 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24930
24931 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24932 for ac_func in modff
24933 do :
24934 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24935 if test "x$ac_cv_func_modff" = xyes; then :
24936 cat >>confdefs.h <<_ACEOF
24937 #define HAVE_MODFF 1
24938 _ACEOF
24939
24940 fi
24941 done
24942
24943 else
24944
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24946 $as_echo_n "checking for _modff declaration... " >&6; }
24947 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24948 if ${glibcxx_cv_func__modff_use+:} false; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24951
24952
24953 ac_ext=cpp
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24958
24959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24960 /* end confdefs.h. */
24961 #include <math.h>
24962 int
24963 main ()
24964 {
24965 _modff(0, 0);
24966 ;
24967 return 0;
24968 }
24969 _ACEOF
24970 if ac_fn_cxx_try_compile "$LINENO"; then :
24971 glibcxx_cv_func__modff_use=yes
24972 else
24973 glibcxx_cv_func__modff_use=no
24974 fi
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976 ac_ext=c
24977 ac_cpp='$CPP $CPPFLAGS'
24978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24981
24982
24983 fi
24984
24985 fi
24986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24987 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24988
24989 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24990 for ac_func in _modff
24991 do :
24992 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24993 if test "x$ac_cv_func__modff" = xyes; then :
24994 cat >>confdefs.h <<_ACEOF
24995 #define HAVE__MODFF 1
24996 _ACEOF
24997
24998 fi
24999 done
25000
25001 fi
25002 fi
25003
25004
25005
25006
25007
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25009 $as_echo_n "checking for modf declaration... " >&6; }
25010 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25011 if ${glibcxx_cv_func_modf_use+:} false; then :
25012 $as_echo_n "(cached) " >&6
25013 else
25014
25015
25016 ac_ext=cpp
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25021
25022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25023 /* end confdefs.h. */
25024 #include <math.h>
25025 int
25026 main ()
25027 {
25028 modf(0, 0);
25029 ;
25030 return 0;
25031 }
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034 glibcxx_cv_func_modf_use=yes
25035 else
25036 glibcxx_cv_func_modf_use=no
25037 fi
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25044
25045
25046 fi
25047
25048 fi
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25050 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25051
25052 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25053 for ac_func in modf
25054 do :
25055 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25056 if test "x$ac_cv_func_modf" = xyes; then :
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE_MODF 1
25059 _ACEOF
25060
25061 fi
25062 done
25063
25064 else
25065
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25067 $as_echo_n "checking for _modf declaration... " >&6; }
25068 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25069 if ${glibcxx_cv_func__modf_use+:} false; then :
25070 $as_echo_n "(cached) " >&6
25071 else
25072
25073
25074 ac_ext=cpp
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25079
25080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25081 /* end confdefs.h. */
25082 #include <math.h>
25083 int
25084 main ()
25085 {
25086 _modf(0, 0);
25087 ;
25088 return 0;
25089 }
25090 _ACEOF
25091 if ac_fn_cxx_try_compile "$LINENO"; then :
25092 glibcxx_cv_func__modf_use=yes
25093 else
25094 glibcxx_cv_func__modf_use=no
25095 fi
25096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25097 ac_ext=c
25098 ac_cpp='$CPP $CPPFLAGS'
25099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25102
25103
25104 fi
25105
25106 fi
25107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25108 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25109
25110 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25111 for ac_func in _modf
25112 do :
25113 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25114 if test "x$ac_cv_func__modf" = xyes; then :
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE__MODF 1
25117 _ACEOF
25118
25119 fi
25120 done
25121
25122 fi
25123 fi
25124
25125
25126
25127
25128
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25130 $as_echo_n "checking for powf declaration... " >&6; }
25131 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25132 if ${glibcxx_cv_func_powf_use+:} false; then :
25133 $as_echo_n "(cached) " >&6
25134 else
25135
25136
25137 ac_ext=cpp
25138 ac_cpp='$CXXCPP $CPPFLAGS'
25139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25142
25143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h. */
25145 #include <math.h>
25146 int
25147 main ()
25148 {
25149 powf(0, 0);
25150 ;
25151 return 0;
25152 }
25153 _ACEOF
25154 if ac_fn_cxx_try_compile "$LINENO"; then :
25155 glibcxx_cv_func_powf_use=yes
25156 else
25157 glibcxx_cv_func_powf_use=no
25158 fi
25159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25160 ac_ext=c
25161 ac_cpp='$CPP $CPPFLAGS'
25162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25165
25166
25167 fi
25168
25169 fi
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25171 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25172
25173 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25174 for ac_func in powf
25175 do :
25176 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25177 if test "x$ac_cv_func_powf" = xyes; then :
25178 cat >>confdefs.h <<_ACEOF
25179 #define HAVE_POWF 1
25180 _ACEOF
25181
25182 fi
25183 done
25184
25185 else
25186
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25188 $as_echo_n "checking for _powf declaration... " >&6; }
25189 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25190 if ${glibcxx_cv_func__powf_use+:} false; then :
25191 $as_echo_n "(cached) " >&6
25192 else
25193
25194
25195 ac_ext=cpp
25196 ac_cpp='$CXXCPP $CPPFLAGS'
25197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25200
25201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25202 /* end confdefs.h. */
25203 #include <math.h>
25204 int
25205 main ()
25206 {
25207 _powf(0, 0);
25208 ;
25209 return 0;
25210 }
25211 _ACEOF
25212 if ac_fn_cxx_try_compile "$LINENO"; then :
25213 glibcxx_cv_func__powf_use=yes
25214 else
25215 glibcxx_cv_func__powf_use=no
25216 fi
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 ac_ext=c
25219 ac_cpp='$CPP $CPPFLAGS'
25220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25223
25224
25225 fi
25226
25227 fi
25228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25229 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25230
25231 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25232 for ac_func in _powf
25233 do :
25234 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25235 if test "x$ac_cv_func__powf" = xyes; then :
25236 cat >>confdefs.h <<_ACEOF
25237 #define HAVE__POWF 1
25238 _ACEOF
25239
25240 fi
25241 done
25242
25243 fi
25244 fi
25245
25246
25247
25248
25249
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25251 $as_echo_n "checking for sqrtf declaration... " >&6; }
25252 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25253 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25254 $as_echo_n "(cached) " >&6
25255 else
25256
25257
25258 ac_ext=cpp
25259 ac_cpp='$CXXCPP $CPPFLAGS'
25260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25263
25264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25265 /* end confdefs.h. */
25266 #include <math.h>
25267 #ifdef HAVE_IEEEFP_H
25268 #include <ieeefp.h>
25269 #endif
25270
25271 int
25272 main ()
25273 {
25274 sqrtf(0);
25275 ;
25276 return 0;
25277 }
25278 _ACEOF
25279 if ac_fn_cxx_try_compile "$LINENO"; then :
25280 glibcxx_cv_func_sqrtf_use=yes
25281 else
25282 glibcxx_cv_func_sqrtf_use=no
25283 fi
25284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25285 ac_ext=c
25286 ac_cpp='$CPP $CPPFLAGS'
25287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25290
25291
25292 fi
25293
25294 fi
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25296 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25297
25298 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25299 for ac_func in sqrtf
25300 do :
25301 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25302 if test "x$ac_cv_func_sqrtf" = xyes; then :
25303 cat >>confdefs.h <<_ACEOF
25304 #define HAVE_SQRTF 1
25305 _ACEOF
25306
25307 fi
25308 done
25309
25310 else
25311
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25313 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25314 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25315 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25318
25319
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328 #include <math.h>
25329 #ifdef HAVE_IEEEFP_H
25330 #include <ieeefp.h>
25331 #endif
25332
25333 int
25334 main ()
25335 {
25336 _sqrtf(0);
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 if ac_fn_cxx_try_compile "$LINENO"; then :
25342 glibcxx_cv_func__sqrtf_use=yes
25343 else
25344 glibcxx_cv_func__sqrtf_use=no
25345 fi
25346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25347 ac_ext=c
25348 ac_cpp='$CPP $CPPFLAGS'
25349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25352
25353
25354 fi
25355
25356 fi
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25358 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25359
25360 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25361 for ac_func in _sqrtf
25362 do :
25363 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25364 if test "x$ac_cv_func__sqrtf" = xyes; then :
25365 cat >>confdefs.h <<_ACEOF
25366 #define HAVE__SQRTF 1
25367 _ACEOF
25368
25369 fi
25370 done
25371
25372 fi
25373 fi
25374
25375
25376
25377
25378
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25380 $as_echo_n "checking for sincosf declaration... " >&6; }
25381 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25382 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25383 $as_echo_n "(cached) " >&6
25384 else
25385
25386
25387 ac_ext=cpp
25388 ac_cpp='$CXXCPP $CPPFLAGS'
25389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25392
25393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25394 /* end confdefs.h. */
25395 #include <math.h>
25396 int
25397 main ()
25398 {
25399 sincosf(0, 0, 0);
25400 ;
25401 return 0;
25402 }
25403 _ACEOF
25404 if ac_fn_cxx_try_compile "$LINENO"; then :
25405 glibcxx_cv_func_sincosf_use=yes
25406 else
25407 glibcxx_cv_func_sincosf_use=no
25408 fi
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410 ac_ext=c
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25415
25416
25417 fi
25418
25419 fi
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25421 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25422
25423 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25424 for ac_func in sincosf
25425 do :
25426 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25427 if test "x$ac_cv_func_sincosf" = xyes; then :
25428 cat >>confdefs.h <<_ACEOF
25429 #define HAVE_SINCOSF 1
25430 _ACEOF
25431
25432 fi
25433 done
25434
25435 else
25436
25437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25438 $as_echo_n "checking for _sincosf declaration... " >&6; }
25439 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25440 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25441 $as_echo_n "(cached) " >&6
25442 else
25443
25444
25445 ac_ext=cpp
25446 ac_cpp='$CXXCPP $CPPFLAGS'
25447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25450
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 #include <math.h>
25454 int
25455 main ()
25456 {
25457 _sincosf(0, 0, 0);
25458 ;
25459 return 0;
25460 }
25461 _ACEOF
25462 if ac_fn_cxx_try_compile "$LINENO"; then :
25463 glibcxx_cv_func__sincosf_use=yes
25464 else
25465 glibcxx_cv_func__sincosf_use=no
25466 fi
25467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25468 ac_ext=c
25469 ac_cpp='$CPP $CPPFLAGS'
25470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25473
25474
25475 fi
25476
25477 fi
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25479 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25480
25481 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25482 for ac_func in _sincosf
25483 do :
25484 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25485 if test "x$ac_cv_func__sincosf" = xyes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define HAVE__SINCOSF 1
25488 _ACEOF
25489
25490 fi
25491 done
25492
25493 fi
25494 fi
25495
25496
25497
25498
25499
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25501 $as_echo_n "checking for finitef declaration... " >&6; }
25502 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25503 if ${glibcxx_cv_func_finitef_use+:} false; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25506
25507
25508 ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25513
25514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25516 #include <math.h>
25517 #ifdef HAVE_IEEEFP_H
25518 #include <ieeefp.h>
25519 #endif
25520
25521 int
25522 main ()
25523 {
25524 finitef(0);
25525 ;
25526 return 0;
25527 }
25528 _ACEOF
25529 if ac_fn_cxx_try_compile "$LINENO"; then :
25530 glibcxx_cv_func_finitef_use=yes
25531 else
25532 glibcxx_cv_func_finitef_use=no
25533 fi
25534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25535 ac_ext=c
25536 ac_cpp='$CPP $CPPFLAGS'
25537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25540
25541
25542 fi
25543
25544 fi
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25546 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25547
25548 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25549 for ac_func in finitef
25550 do :
25551 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25552 if test "x$ac_cv_func_finitef" = xyes; then :
25553 cat >>confdefs.h <<_ACEOF
25554 #define HAVE_FINITEF 1
25555 _ACEOF
25556
25557 fi
25558 done
25559
25560 else
25561
25562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25563 $as_echo_n "checking for _finitef declaration... " >&6; }
25564 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25565 if ${glibcxx_cv_func__finitef_use+:} false; then :
25566 $as_echo_n "(cached) " >&6
25567 else
25568
25569
25570 ac_ext=cpp
25571 ac_cpp='$CXXCPP $CPPFLAGS'
25572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25575
25576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h. */
25578 #include <math.h>
25579 #ifdef HAVE_IEEEFP_H
25580 #include <ieeefp.h>
25581 #endif
25582
25583 int
25584 main ()
25585 {
25586 _finitef(0);
25587 ;
25588 return 0;
25589 }
25590 _ACEOF
25591 if ac_fn_cxx_try_compile "$LINENO"; then :
25592 glibcxx_cv_func__finitef_use=yes
25593 else
25594 glibcxx_cv_func__finitef_use=no
25595 fi
25596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25597 ac_ext=c
25598 ac_cpp='$CPP $CPPFLAGS'
25599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25602
25603
25604 fi
25605
25606 fi
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25608 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25609
25610 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25611 for ac_func in _finitef
25612 do :
25613 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25614 if test "x$ac_cv_func__finitef" = xyes; then :
25615 cat >>confdefs.h <<_ACEOF
25616 #define HAVE__FINITEF 1
25617 _ACEOF
25618
25619 fi
25620 done
25621
25622 fi
25623 fi
25624
25625
25626
25627
25628
25629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25630 $as_echo_n "checking for long double trig functions... " >&6; }
25631 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25632 $as_echo_n "(cached) " >&6
25633 else
25634
25635
25636 ac_ext=cpp
25637 ac_cpp='$CXXCPP $CPPFLAGS'
25638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25641
25642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25643 /* end confdefs.h. */
25644 #include <math.h>
25645 int
25646 main ()
25647 {
25648 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25649 ;
25650 return 0;
25651 }
25652 _ACEOF
25653 if ac_fn_cxx_try_compile "$LINENO"; then :
25654 glibcxx_cv_func_long_double_trig_use=yes
25655 else
25656 glibcxx_cv_func_long_double_trig_use=no
25657 fi
25658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25659 ac_ext=c
25660 ac_cpp='$CPP $CPPFLAGS'
25661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25664
25665 fi
25666
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25668 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25669 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25670 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25671 do :
25672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25674 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25675 cat >>confdefs.h <<_ACEOF
25676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25677 _ACEOF
25678
25679 fi
25680 done
25681
25682 else
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25684 $as_echo_n "checking for _long double trig functions... " >&6; }
25685 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25686 $as_echo_n "(cached) " >&6
25687 else
25688
25689
25690 ac_ext=cpp
25691 ac_cpp='$CXXCPP $CPPFLAGS'
25692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25695
25696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25697 /* end confdefs.h. */
25698 #include <math.h>
25699 int
25700 main ()
25701 {
25702 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25703 ;
25704 return 0;
25705 }
25706 _ACEOF
25707 if ac_fn_cxx_try_compile "$LINENO"; then :
25708 glibcxx_cv_func__long_double_trig_use=yes
25709 else
25710 glibcxx_cv_func__long_double_trig_use=no
25711 fi
25712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25713 ac_ext=c
25714 ac_cpp='$CPP $CPPFLAGS'
25715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25718
25719 fi
25720
25721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25722 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25723 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25724 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25725 do :
25726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25728 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25729 cat >>confdefs.h <<_ACEOF
25730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25731 _ACEOF
25732
25733 fi
25734 done
25735
25736 fi
25737 fi
25738
25739
25740
25741
25742
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25744 $as_echo_n "checking for long double round functions... " >&6; }
25745 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25746 $as_echo_n "(cached) " >&6
25747 else
25748
25749
25750 ac_ext=cpp
25751 ac_cpp='$CXXCPP $CPPFLAGS'
25752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25755
25756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25758 #include <math.h>
25759 int
25760 main ()
25761 {
25762 ceill (0); floorl (0);
25763 ;
25764 return 0;
25765 }
25766 _ACEOF
25767 if ac_fn_cxx_try_compile "$LINENO"; then :
25768 glibcxx_cv_func_long_double_round_use=yes
25769 else
25770 glibcxx_cv_func_long_double_round_use=no
25771 fi
25772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25773 ac_ext=c
25774 ac_cpp='$CPP $CPPFLAGS'
25775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25778
25779 fi
25780
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25782 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25783 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25784 for ac_func in ceill floorl
25785 do :
25786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25789 cat >>confdefs.h <<_ACEOF
25790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25791 _ACEOF
25792
25793 fi
25794 done
25795
25796 else
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25798 $as_echo_n "checking for _long double round functions... " >&6; }
25799 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25800 $as_echo_n "(cached) " >&6
25801 else
25802
25803
25804 ac_ext=cpp
25805 ac_cpp='$CXXCPP $CPPFLAGS'
25806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25809
25810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25811 /* end confdefs.h. */
25812 #include <math.h>
25813 int
25814 main ()
25815 {
25816 _ceill (0); _floorl (0);
25817 ;
25818 return 0;
25819 }
25820 _ACEOF
25821 if ac_fn_cxx_try_compile "$LINENO"; then :
25822 glibcxx_cv_func__long_double_round_use=yes
25823 else
25824 glibcxx_cv_func__long_double_round_use=no
25825 fi
25826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25827 ac_ext=c
25828 ac_cpp='$CPP $CPPFLAGS'
25829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25832
25833 fi
25834
25835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25836 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25837 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25838 for ac_func in _ceill _floorl
25839 do :
25840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25843 cat >>confdefs.h <<_ACEOF
25844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25845 _ACEOF
25846
25847 fi
25848 done
25849
25850 fi
25851 fi
25852
25853
25854
25855
25856
25857
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25859 $as_echo_n "checking for isnanl declaration... " >&6; }
25860 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25861 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25862 $as_echo_n "(cached) " >&6
25863 else
25864
25865
25866 ac_ext=cpp
25867 ac_cpp='$CXXCPP $CPPFLAGS'
25868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25871
25872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25873 /* end confdefs.h. */
25874 #include <math.h>
25875 #ifdef HAVE_IEEEFP_H
25876 #include <ieeefp.h>
25877 #endif
25878
25879 int
25880 main ()
25881 {
25882 isnanl(0);
25883 ;
25884 return 0;
25885 }
25886 _ACEOF
25887 if ac_fn_cxx_try_compile "$LINENO"; then :
25888 glibcxx_cv_func_isnanl_use=yes
25889 else
25890 glibcxx_cv_func_isnanl_use=no
25891 fi
25892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25893 ac_ext=c
25894 ac_cpp='$CPP $CPPFLAGS'
25895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25898
25899
25900 fi
25901
25902 fi
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25904 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25905
25906 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25907 for ac_func in isnanl
25908 do :
25909 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25910 if test "x$ac_cv_func_isnanl" = xyes; then :
25911 cat >>confdefs.h <<_ACEOF
25912 #define HAVE_ISNANL 1
25913 _ACEOF
25914
25915 fi
25916 done
25917
25918 else
25919
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25921 $as_echo_n "checking for _isnanl declaration... " >&6; }
25922 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25923 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25924 $as_echo_n "(cached) " >&6
25925 else
25926
25927
25928 ac_ext=cpp
25929 ac_cpp='$CXXCPP $CPPFLAGS'
25930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25933
25934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25935 /* end confdefs.h. */
25936 #include <math.h>
25937 #ifdef HAVE_IEEEFP_H
25938 #include <ieeefp.h>
25939 #endif
25940
25941 int
25942 main ()
25943 {
25944 _isnanl(0);
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__isnanl_use=yes
25951 else
25952 glibcxx_cv_func__isnanl_use=no
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964 fi
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25966 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25967
25968 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25969 for ac_func in _isnanl
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25972 if test "x$ac_cv_func__isnanl" = xyes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__ISNANL 1
25975 _ACEOF
25976
25977 fi
25978 done
25979
25980 fi
25981 fi
25982
25983
25984
25985
25986
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25988 $as_echo_n "checking for isinfl declaration... " >&6; }
25989 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25990 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25993
25994
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26007
26008 int
26009 main ()
26010 {
26011 isinfl(0);
26012 ;
26013 return 0;
26014 }
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_isinfl_use=yes
26018 else
26019 glibcxx_cv_func_isinfl_use=no
26020 fi
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027
26028
26029 fi
26030
26031 fi
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26033 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26034
26035 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26036 for ac_func in isinfl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26039 if test "x$ac_cv_func_isinfl" = xyes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_ISINFL 1
26042 _ACEOF
26043
26044 fi
26045 done
26046
26047 else
26048
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26050 $as_echo_n "checking for _isinfl declaration... " >&6; }
26051 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26052 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26055
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26069
26070 int
26071 main ()
26072 {
26073 _isinfl(0);
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__isinfl_use=yes
26080 else
26081 glibcxx_cv_func__isinfl_use=no
26082 fi
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089
26090
26091 fi
26092
26093 fi
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26095 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26096
26097 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26098 for ac_func in _isinfl
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26101 if test "x$ac_cv_func__isinfl" = xyes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__ISINFL 1
26104 _ACEOF
26105
26106 fi
26107 done
26108
26109 fi
26110 fi
26111
26112
26113
26114
26115
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26117 $as_echo_n "checking for atan2l declaration... " >&6; }
26118 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26119 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26122
26123
26124 ac_ext=cpp
26125 ac_cpp='$CXXCPP $CPPFLAGS'
26126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26129
26130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h. */
26132 #include <math.h>
26133 int
26134 main ()
26135 {
26136 atan2l(0, 0);
26137 ;
26138 return 0;
26139 }
26140 _ACEOF
26141 if ac_fn_cxx_try_compile "$LINENO"; then :
26142 glibcxx_cv_func_atan2l_use=yes
26143 else
26144 glibcxx_cv_func_atan2l_use=no
26145 fi
26146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26147 ac_ext=c
26148 ac_cpp='$CPP $CPPFLAGS'
26149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26152
26153
26154 fi
26155
26156 fi
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26158 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26159
26160 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26161 for ac_func in atan2l
26162 do :
26163 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26164 if test "x$ac_cv_func_atan2l" = xyes; then :
26165 cat >>confdefs.h <<_ACEOF
26166 #define HAVE_ATAN2L 1
26167 _ACEOF
26168
26169 fi
26170 done
26171
26172 else
26173
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26175 $as_echo_n "checking for _atan2l declaration... " >&6; }
26176 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26177 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26178 $as_echo_n "(cached) " >&6
26179 else
26180
26181
26182 ac_ext=cpp
26183 ac_cpp='$CXXCPP $CPPFLAGS'
26184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26187
26188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26189 /* end confdefs.h. */
26190 #include <math.h>
26191 int
26192 main ()
26193 {
26194 _atan2l(0, 0);
26195 ;
26196 return 0;
26197 }
26198 _ACEOF
26199 if ac_fn_cxx_try_compile "$LINENO"; then :
26200 glibcxx_cv_func__atan2l_use=yes
26201 else
26202 glibcxx_cv_func__atan2l_use=no
26203 fi
26204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205 ac_ext=c
26206 ac_cpp='$CPP $CPPFLAGS'
26207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26210
26211
26212 fi
26213
26214 fi
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26216 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26217
26218 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26219 for ac_func in _atan2l
26220 do :
26221 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26222 if test "x$ac_cv_func__atan2l" = xyes; then :
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE__ATAN2L 1
26225 _ACEOF
26226
26227 fi
26228 done
26229
26230 fi
26231 fi
26232
26233
26234
26235
26236
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26238 $as_echo_n "checking for expl declaration... " >&6; }
26239 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26240 if ${glibcxx_cv_func_expl_use+:} false; then :
26241 $as_echo_n "(cached) " >&6
26242 else
26243
26244
26245 ac_ext=cpp
26246 ac_cpp='$CXXCPP $CPPFLAGS'
26247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26250
26251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h. */
26253 #include <math.h>
26254 #ifdef HAVE_IEEEFP_H
26255 #include <ieeefp.h>
26256 #endif
26257
26258 int
26259 main ()
26260 {
26261 expl(0);
26262 ;
26263 return 0;
26264 }
26265 _ACEOF
26266 if ac_fn_cxx_try_compile "$LINENO"; then :
26267 glibcxx_cv_func_expl_use=yes
26268 else
26269 glibcxx_cv_func_expl_use=no
26270 fi
26271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26272 ac_ext=c
26273 ac_cpp='$CPP $CPPFLAGS'
26274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277
26278
26279 fi
26280
26281 fi
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26283 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26284
26285 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26286 for ac_func in expl
26287 do :
26288 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26289 if test "x$ac_cv_func_expl" = xyes; then :
26290 cat >>confdefs.h <<_ACEOF
26291 #define HAVE_EXPL 1
26292 _ACEOF
26293
26294 fi
26295 done
26296
26297 else
26298
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26300 $as_echo_n "checking for _expl declaration... " >&6; }
26301 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26302 if ${glibcxx_cv_func__expl_use+:} false; then :
26303 $as_echo_n "(cached) " >&6
26304 else
26305
26306
26307 ac_ext=cpp
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26312
26313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26314 /* end confdefs.h. */
26315 #include <math.h>
26316 #ifdef HAVE_IEEEFP_H
26317 #include <ieeefp.h>
26318 #endif
26319
26320 int
26321 main ()
26322 {
26323 _expl(0);
26324 ;
26325 return 0;
26326 }
26327 _ACEOF
26328 if ac_fn_cxx_try_compile "$LINENO"; then :
26329 glibcxx_cv_func__expl_use=yes
26330 else
26331 glibcxx_cv_func__expl_use=no
26332 fi
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 ac_ext=c
26335 ac_cpp='$CPP $CPPFLAGS'
26336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339
26340
26341 fi
26342
26343 fi
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26345 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26346
26347 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26348 for ac_func in _expl
26349 do :
26350 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26351 if test "x$ac_cv_func__expl" = xyes; then :
26352 cat >>confdefs.h <<_ACEOF
26353 #define HAVE__EXPL 1
26354 _ACEOF
26355
26356 fi
26357 done
26358
26359 fi
26360 fi
26361
26362
26363
26364
26365
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26367 $as_echo_n "checking for fabsl declaration... " >&6; }
26368 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26369 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26372
26373
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26379
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 #include <math.h>
26383 #ifdef HAVE_IEEEFP_H
26384 #include <ieeefp.h>
26385 #endif
26386
26387 int
26388 main ()
26389 {
26390 fabsl(0);
26391 ;
26392 return 0;
26393 }
26394 _ACEOF
26395 if ac_fn_cxx_try_compile "$LINENO"; then :
26396 glibcxx_cv_func_fabsl_use=yes
26397 else
26398 glibcxx_cv_func_fabsl_use=no
26399 fi
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26401 ac_ext=c
26402 ac_cpp='$CPP $CPPFLAGS'
26403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26406
26407
26408 fi
26409
26410 fi
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26412 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26413
26414 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26415 for ac_func in fabsl
26416 do :
26417 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26418 if test "x$ac_cv_func_fabsl" = xyes; then :
26419 cat >>confdefs.h <<_ACEOF
26420 #define HAVE_FABSL 1
26421 _ACEOF
26422
26423 fi
26424 done
26425
26426 else
26427
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26429 $as_echo_n "checking for _fabsl declaration... " >&6; }
26430 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26431 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26432 $as_echo_n "(cached) " >&6
26433 else
26434
26435
26436 ac_ext=cpp
26437 ac_cpp='$CXXCPP $CPPFLAGS'
26438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444 #include <math.h>
26445 #ifdef HAVE_IEEEFP_H
26446 #include <ieeefp.h>
26447 #endif
26448
26449 int
26450 main ()
26451 {
26452 _fabsl(0);
26453 ;
26454 return 0;
26455 }
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func__fabsl_use=yes
26459 else
26460 glibcxx_cv_func__fabsl_use=no
26461 fi
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26468
26469
26470 fi
26471
26472 fi
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26474 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26475
26476 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26477 for ac_func in _fabsl
26478 do :
26479 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26480 if test "x$ac_cv_func__fabsl" = xyes; then :
26481 cat >>confdefs.h <<_ACEOF
26482 #define HAVE__FABSL 1
26483 _ACEOF
26484
26485 fi
26486 done
26487
26488 fi
26489 fi
26490
26491
26492
26493
26494
26495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26496 $as_echo_n "checking for fmodl declaration... " >&6; }
26497 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26498 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26499 $as_echo_n "(cached) " >&6
26500 else
26501
26502
26503 ac_ext=cpp
26504 ac_cpp='$CXXCPP $CPPFLAGS'
26505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26508
26509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26510 /* end confdefs.h. */
26511 #include <math.h>
26512 int
26513 main ()
26514 {
26515 fmodl(0, 0);
26516 ;
26517 return 0;
26518 }
26519 _ACEOF
26520 if ac_fn_cxx_try_compile "$LINENO"; then :
26521 glibcxx_cv_func_fmodl_use=yes
26522 else
26523 glibcxx_cv_func_fmodl_use=no
26524 fi
26525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26526 ac_ext=c
26527 ac_cpp='$CPP $CPPFLAGS'
26528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26531
26532
26533 fi
26534
26535 fi
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26537 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26538
26539 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26540 for ac_func in fmodl
26541 do :
26542 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26543 if test "x$ac_cv_func_fmodl" = xyes; then :
26544 cat >>confdefs.h <<_ACEOF
26545 #define HAVE_FMODL 1
26546 _ACEOF
26547
26548 fi
26549 done
26550
26551 else
26552
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26554 $as_echo_n "checking for _fmodl declaration... " >&6; }
26555 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26556 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26557 $as_echo_n "(cached) " >&6
26558 else
26559
26560
26561 ac_ext=cpp
26562 ac_cpp='$CXXCPP $CPPFLAGS'
26563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26566
26567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26568 /* end confdefs.h. */
26569 #include <math.h>
26570 int
26571 main ()
26572 {
26573 _fmodl(0, 0);
26574 ;
26575 return 0;
26576 }
26577 _ACEOF
26578 if ac_fn_cxx_try_compile "$LINENO"; then :
26579 glibcxx_cv_func__fmodl_use=yes
26580 else
26581 glibcxx_cv_func__fmodl_use=no
26582 fi
26583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584 ac_ext=c
26585 ac_cpp='$CPP $CPPFLAGS'
26586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26589
26590
26591 fi
26592
26593 fi
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26595 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26596
26597 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26598 for ac_func in _fmodl
26599 do :
26600 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26601 if test "x$ac_cv_func__fmodl" = xyes; then :
26602 cat >>confdefs.h <<_ACEOF
26603 #define HAVE__FMODL 1
26604 _ACEOF
26605
26606 fi
26607 done
26608
26609 fi
26610 fi
26611
26612
26613
26614
26615
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26617 $as_echo_n "checking for frexpl declaration... " >&6; }
26618 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26619 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26622
26623
26624 ac_ext=cpp
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26629
26630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 /* end confdefs.h. */
26632 #include <math.h>
26633 int
26634 main ()
26635 {
26636 frexpl(0, 0);
26637 ;
26638 return 0;
26639 }
26640 _ACEOF
26641 if ac_fn_cxx_try_compile "$LINENO"; then :
26642 glibcxx_cv_func_frexpl_use=yes
26643 else
26644 glibcxx_cv_func_frexpl_use=no
26645 fi
26646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26647 ac_ext=c
26648 ac_cpp='$CPP $CPPFLAGS'
26649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26652
26653
26654 fi
26655
26656 fi
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26658 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26659
26660 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26661 for ac_func in frexpl
26662 do :
26663 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26664 if test "x$ac_cv_func_frexpl" = xyes; then :
26665 cat >>confdefs.h <<_ACEOF
26666 #define HAVE_FREXPL 1
26667 _ACEOF
26668
26669 fi
26670 done
26671
26672 else
26673
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26675 $as_echo_n "checking for _frexpl declaration... " >&6; }
26676 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26677 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26678 $as_echo_n "(cached) " >&6
26679 else
26680
26681
26682 ac_ext=cpp
26683 ac_cpp='$CXXCPP $CPPFLAGS'
26684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26687
26688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26689 /* end confdefs.h. */
26690 #include <math.h>
26691 int
26692 main ()
26693 {
26694 _frexpl(0, 0);
26695 ;
26696 return 0;
26697 }
26698 _ACEOF
26699 if ac_fn_cxx_try_compile "$LINENO"; then :
26700 glibcxx_cv_func__frexpl_use=yes
26701 else
26702 glibcxx_cv_func__frexpl_use=no
26703 fi
26704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26705 ac_ext=c
26706 ac_cpp='$CPP $CPPFLAGS'
26707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26710
26711
26712 fi
26713
26714 fi
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26716 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26717
26718 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26719 for ac_func in _frexpl
26720 do :
26721 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26722 if test "x$ac_cv_func__frexpl" = xyes; then :
26723 cat >>confdefs.h <<_ACEOF
26724 #define HAVE__FREXPL 1
26725 _ACEOF
26726
26727 fi
26728 done
26729
26730 fi
26731 fi
26732
26733
26734
26735
26736
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26738 $as_echo_n "checking for hypotl declaration... " >&6; }
26739 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26740 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26741 $as_echo_n "(cached) " >&6
26742 else
26743
26744
26745 ac_ext=cpp
26746 ac_cpp='$CXXCPP $CPPFLAGS'
26747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26750
26751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26752 /* end confdefs.h. */
26753 #include <math.h>
26754 int
26755 main ()
26756 {
26757 hypotl(0, 0);
26758 ;
26759 return 0;
26760 }
26761 _ACEOF
26762 if ac_fn_cxx_try_compile "$LINENO"; then :
26763 glibcxx_cv_func_hypotl_use=yes
26764 else
26765 glibcxx_cv_func_hypotl_use=no
26766 fi
26767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26768 ac_ext=c
26769 ac_cpp='$CPP $CPPFLAGS'
26770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26773
26774
26775 fi
26776
26777 fi
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26779 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26780
26781 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26782 for ac_func in hypotl
26783 do :
26784 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26785 if test "x$ac_cv_func_hypotl" = xyes; then :
26786 cat >>confdefs.h <<_ACEOF
26787 #define HAVE_HYPOTL 1
26788 _ACEOF
26789
26790 fi
26791 done
26792
26793 else
26794
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26796 $as_echo_n "checking for _hypotl declaration... " >&6; }
26797 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26798 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26799 $as_echo_n "(cached) " >&6
26800 else
26801
26802
26803 ac_ext=cpp
26804 ac_cpp='$CXXCPP $CPPFLAGS'
26805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26808
26809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h. */
26811 #include <math.h>
26812 int
26813 main ()
26814 {
26815 _hypotl(0, 0);
26816 ;
26817 return 0;
26818 }
26819 _ACEOF
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func__hypotl_use=yes
26822 else
26823 glibcxx_cv_func__hypotl_use=no
26824 fi
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 ac_ext=c
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26831
26832
26833 fi
26834
26835 fi
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26837 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26838
26839 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26840 for ac_func in _hypotl
26841 do :
26842 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26843 if test "x$ac_cv_func__hypotl" = xyes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE__HYPOTL 1
26846 _ACEOF
26847
26848 fi
26849 done
26850
26851 fi
26852 fi
26853
26854
26855
26856
26857
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26859 $as_echo_n "checking for ldexpl declaration... " >&6; }
26860 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26861 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26864
26865
26866 ac_ext=cpp
26867 ac_cpp='$CXXCPP $CPPFLAGS'
26868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26871
26872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26873 /* end confdefs.h. */
26874 #include <math.h>
26875 int
26876 main ()
26877 {
26878 ldexpl(0, 0);
26879 ;
26880 return 0;
26881 }
26882 _ACEOF
26883 if ac_fn_cxx_try_compile "$LINENO"; then :
26884 glibcxx_cv_func_ldexpl_use=yes
26885 else
26886 glibcxx_cv_func_ldexpl_use=no
26887 fi
26888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26889 ac_ext=c
26890 ac_cpp='$CPP $CPPFLAGS'
26891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26894
26895
26896 fi
26897
26898 fi
26899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26900 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26901
26902 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26903 for ac_func in ldexpl
26904 do :
26905 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26906 if test "x$ac_cv_func_ldexpl" = xyes; then :
26907 cat >>confdefs.h <<_ACEOF
26908 #define HAVE_LDEXPL 1
26909 _ACEOF
26910
26911 fi
26912 done
26913
26914 else
26915
26916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26917 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26918 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26919 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26920 $as_echo_n "(cached) " >&6
26921 else
26922
26923
26924 ac_ext=cpp
26925 ac_cpp='$CXXCPP $CPPFLAGS'
26926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26929
26930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26931 /* end confdefs.h. */
26932 #include <math.h>
26933 int
26934 main ()
26935 {
26936 _ldexpl(0, 0);
26937 ;
26938 return 0;
26939 }
26940 _ACEOF
26941 if ac_fn_cxx_try_compile "$LINENO"; then :
26942 glibcxx_cv_func__ldexpl_use=yes
26943 else
26944 glibcxx_cv_func__ldexpl_use=no
26945 fi
26946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26947 ac_ext=c
26948 ac_cpp='$CPP $CPPFLAGS'
26949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26952
26953
26954 fi
26955
26956 fi
26957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26958 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26959
26960 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26961 for ac_func in _ldexpl
26962 do :
26963 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26964 if test "x$ac_cv_func__ldexpl" = xyes; then :
26965 cat >>confdefs.h <<_ACEOF
26966 #define HAVE__LDEXPL 1
26967 _ACEOF
26968
26969 fi
26970 done
26971
26972 fi
26973 fi
26974
26975
26976
26977
26978
26979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26980 $as_echo_n "checking for logl declaration... " >&6; }
26981 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26982 if ${glibcxx_cv_func_logl_use+:} false; then :
26983 $as_echo_n "(cached) " >&6
26984 else
26985
26986
26987 ac_ext=cpp
26988 ac_cpp='$CXXCPP $CPPFLAGS'
26989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26992
26993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26994 /* end confdefs.h. */
26995 #include <math.h>
26996 #ifdef HAVE_IEEEFP_H
26997 #include <ieeefp.h>
26998 #endif
26999
27000 int
27001 main ()
27002 {
27003 logl(0);
27004 ;
27005 return 0;
27006 }
27007 _ACEOF
27008 if ac_fn_cxx_try_compile "$LINENO"; then :
27009 glibcxx_cv_func_logl_use=yes
27010 else
27011 glibcxx_cv_func_logl_use=no
27012 fi
27013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27014 ac_ext=c
27015 ac_cpp='$CPP $CPPFLAGS'
27016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27019
27020
27021 fi
27022
27023 fi
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27025 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27026
27027 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27028 for ac_func in logl
27029 do :
27030 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27031 if test "x$ac_cv_func_logl" = xyes; then :
27032 cat >>confdefs.h <<_ACEOF
27033 #define HAVE_LOGL 1
27034 _ACEOF
27035
27036 fi
27037 done
27038
27039 else
27040
27041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27042 $as_echo_n "checking for _logl declaration... " >&6; }
27043 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27044 if ${glibcxx_cv_func__logl_use+:} false; then :
27045 $as_echo_n "(cached) " >&6
27046 else
27047
27048
27049 ac_ext=cpp
27050 ac_cpp='$CXXCPP $CPPFLAGS'
27051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27054
27055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27056 /* end confdefs.h. */
27057 #include <math.h>
27058 #ifdef HAVE_IEEEFP_H
27059 #include <ieeefp.h>
27060 #endif
27061
27062 int
27063 main ()
27064 {
27065 _logl(0);
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 if ac_fn_cxx_try_compile "$LINENO"; then :
27071 glibcxx_cv_func__logl_use=yes
27072 else
27073 glibcxx_cv_func__logl_use=no
27074 fi
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27081
27082
27083 fi
27084
27085 fi
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27087 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27088
27089 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27090 for ac_func in _logl
27091 do :
27092 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27093 if test "x$ac_cv_func__logl" = xyes; then :
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE__LOGL 1
27096 _ACEOF
27097
27098 fi
27099 done
27100
27101 fi
27102 fi
27103
27104
27105
27106
27107
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27109 $as_echo_n "checking for log10l declaration... " >&6; }
27110 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27111 if ${glibcxx_cv_func_log10l_use+:} false; then :
27112 $as_echo_n "(cached) " >&6
27113 else
27114
27115
27116 ac_ext=cpp
27117 ac_cpp='$CXXCPP $CPPFLAGS'
27118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27121
27122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h. */
27124 #include <math.h>
27125 #ifdef HAVE_IEEEFP_H
27126 #include <ieeefp.h>
27127 #endif
27128
27129 int
27130 main ()
27131 {
27132 log10l(0);
27133 ;
27134 return 0;
27135 }
27136 _ACEOF
27137 if ac_fn_cxx_try_compile "$LINENO"; then :
27138 glibcxx_cv_func_log10l_use=yes
27139 else
27140 glibcxx_cv_func_log10l_use=no
27141 fi
27142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27143 ac_ext=c
27144 ac_cpp='$CPP $CPPFLAGS'
27145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27148
27149
27150 fi
27151
27152 fi
27153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27154 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27155
27156 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27157 for ac_func in log10l
27158 do :
27159 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27160 if test "x$ac_cv_func_log10l" = xyes; then :
27161 cat >>confdefs.h <<_ACEOF
27162 #define HAVE_LOG10L 1
27163 _ACEOF
27164
27165 fi
27166 done
27167
27168 else
27169
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27171 $as_echo_n "checking for _log10l declaration... " >&6; }
27172 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27173 if ${glibcxx_cv_func__log10l_use+:} false; then :
27174 $as_echo_n "(cached) " >&6
27175 else
27176
27177
27178 ac_ext=cpp
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27183
27184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27185 /* end confdefs.h. */
27186 #include <math.h>
27187 #ifdef HAVE_IEEEFP_H
27188 #include <ieeefp.h>
27189 #endif
27190
27191 int
27192 main ()
27193 {
27194 _log10l(0);
27195 ;
27196 return 0;
27197 }
27198 _ACEOF
27199 if ac_fn_cxx_try_compile "$LINENO"; then :
27200 glibcxx_cv_func__log10l_use=yes
27201 else
27202 glibcxx_cv_func__log10l_use=no
27203 fi
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27205 ac_ext=c
27206 ac_cpp='$CPP $CPPFLAGS'
27207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27210
27211
27212 fi
27213
27214 fi
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27216 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27217
27218 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27219 for ac_func in _log10l
27220 do :
27221 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27222 if test "x$ac_cv_func__log10l" = xyes; then :
27223 cat >>confdefs.h <<_ACEOF
27224 #define HAVE__LOG10L 1
27225 _ACEOF
27226
27227 fi
27228 done
27229
27230 fi
27231 fi
27232
27233
27234
27235
27236
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27238 $as_echo_n "checking for modfl declaration... " >&6; }
27239 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27240 if ${glibcxx_cv_func_modfl_use+:} false; then :
27241 $as_echo_n "(cached) " >&6
27242 else
27243
27244
27245 ac_ext=cpp
27246 ac_cpp='$CXXCPP $CPPFLAGS'
27247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27250
27251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27253 #include <math.h>
27254 int
27255 main ()
27256 {
27257 modfl(0, 0);
27258 ;
27259 return 0;
27260 }
27261 _ACEOF
27262 if ac_fn_cxx_try_compile "$LINENO"; then :
27263 glibcxx_cv_func_modfl_use=yes
27264 else
27265 glibcxx_cv_func_modfl_use=no
27266 fi
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 ac_ext=c
27269 ac_cpp='$CPP $CPPFLAGS'
27270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27273
27274
27275 fi
27276
27277 fi
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27279 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27280
27281 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27282 for ac_func in modfl
27283 do :
27284 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27285 if test "x$ac_cv_func_modfl" = xyes; then :
27286 cat >>confdefs.h <<_ACEOF
27287 #define HAVE_MODFL 1
27288 _ACEOF
27289
27290 fi
27291 done
27292
27293 else
27294
27295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27296 $as_echo_n "checking for _modfl declaration... " >&6; }
27297 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27298 if ${glibcxx_cv_func__modfl_use+:} false; then :
27299 $as_echo_n "(cached) " >&6
27300 else
27301
27302
27303 ac_ext=cpp
27304 ac_cpp='$CXXCPP $CPPFLAGS'
27305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27308
27309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27310 /* end confdefs.h. */
27311 #include <math.h>
27312 int
27313 main ()
27314 {
27315 _modfl(0, 0);
27316 ;
27317 return 0;
27318 }
27319 _ACEOF
27320 if ac_fn_cxx_try_compile "$LINENO"; then :
27321 glibcxx_cv_func__modfl_use=yes
27322 else
27323 glibcxx_cv_func__modfl_use=no
27324 fi
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 ac_ext=c
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27331
27332
27333 fi
27334
27335 fi
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27337 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27338
27339 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27340 for ac_func in _modfl
27341 do :
27342 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27343 if test "x$ac_cv_func__modfl" = xyes; then :
27344 cat >>confdefs.h <<_ACEOF
27345 #define HAVE__MODFL 1
27346 _ACEOF
27347
27348 fi
27349 done
27350
27351 fi
27352 fi
27353
27354
27355
27356
27357
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27359 $as_echo_n "checking for powl declaration... " >&6; }
27360 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27361 if ${glibcxx_cv_func_powl_use+:} false; then :
27362 $as_echo_n "(cached) " >&6
27363 else
27364
27365
27366 ac_ext=cpp
27367 ac_cpp='$CXXCPP $CPPFLAGS'
27368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27371
27372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27373 /* end confdefs.h. */
27374 #include <math.h>
27375 int
27376 main ()
27377 {
27378 powl(0, 0);
27379 ;
27380 return 0;
27381 }
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_powl_use=yes
27385 else
27386 glibcxx_cv_func_powl_use=no
27387 fi
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27394
27395
27396 fi
27397
27398 fi
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27400 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27401
27402 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27403 for ac_func in powl
27404 do :
27405 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27406 if test "x$ac_cv_func_powl" = xyes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_POWL 1
27409 _ACEOF
27410
27411 fi
27412 done
27413
27414 else
27415
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27417 $as_echo_n "checking for _powl declaration... " >&6; }
27418 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27419 if ${glibcxx_cv_func__powl_use+:} false; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27422
27423
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27433 int
27434 main ()
27435 {
27436 _powl(0, 0);
27437 ;
27438 return 0;
27439 }
27440 _ACEOF
27441 if ac_fn_cxx_try_compile "$LINENO"; then :
27442 glibcxx_cv_func__powl_use=yes
27443 else
27444 glibcxx_cv_func__powl_use=no
27445 fi
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27452
27453
27454 fi
27455
27456 fi
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27458 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27459
27460 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27461 for ac_func in _powl
27462 do :
27463 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27464 if test "x$ac_cv_func__powl" = xyes; then :
27465 cat >>confdefs.h <<_ACEOF
27466 #define HAVE__POWL 1
27467 _ACEOF
27468
27469 fi
27470 done
27471
27472 fi
27473 fi
27474
27475
27476
27477
27478
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27480 $as_echo_n "checking for sqrtl declaration... " >&6; }
27481 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27482 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27483 $as_echo_n "(cached) " >&6
27484 else
27485
27486
27487 ac_ext=cpp
27488 ac_cpp='$CXXCPP $CPPFLAGS'
27489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27492
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495 #include <math.h>
27496 #ifdef HAVE_IEEEFP_H
27497 #include <ieeefp.h>
27498 #endif
27499
27500 int
27501 main ()
27502 {
27503 sqrtl(0);
27504 ;
27505 return 0;
27506 }
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_sqrtl_use=yes
27510 else
27511 glibcxx_cv_func_sqrtl_use=no
27512 fi
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27519
27520
27521 fi
27522
27523 fi
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27525 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27526
27527 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27528 for ac_func in sqrtl
27529 do :
27530 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27531 if test "x$ac_cv_func_sqrtl" = xyes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_SQRTL 1
27534 _ACEOF
27535
27536 fi
27537 done
27538
27539 else
27540
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27542 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27543 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27544 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27547
27548
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 #ifdef HAVE_IEEEFP_H
27559 #include <ieeefp.h>
27560 #endif
27561
27562 int
27563 main ()
27564 {
27565 _sqrtl(0);
27566 ;
27567 return 0;
27568 }
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func__sqrtl_use=yes
27572 else
27573 glibcxx_cv_func__sqrtl_use=no
27574 fi
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581
27582
27583 fi
27584
27585 fi
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27587 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27588
27589 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27590 for ac_func in _sqrtl
27591 do :
27592 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27593 if test "x$ac_cv_func__sqrtl" = xyes; then :
27594 cat >>confdefs.h <<_ACEOF
27595 #define HAVE__SQRTL 1
27596 _ACEOF
27597
27598 fi
27599 done
27600
27601 fi
27602 fi
27603
27604
27605
27606
27607
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27609 $as_echo_n "checking for sincosl declaration... " >&6; }
27610 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27611 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27612 $as_echo_n "(cached) " >&6
27613 else
27614
27615
27616 ac_ext=cpp
27617 ac_cpp='$CXXCPP $CPPFLAGS'
27618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27621
27622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27623 /* end confdefs.h. */
27624 #include <math.h>
27625 int
27626 main ()
27627 {
27628 sincosl(0, 0, 0);
27629 ;
27630 return 0;
27631 }
27632 _ACEOF
27633 if ac_fn_cxx_try_compile "$LINENO"; then :
27634 glibcxx_cv_func_sincosl_use=yes
27635 else
27636 glibcxx_cv_func_sincosl_use=no
27637 fi
27638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27639 ac_ext=c
27640 ac_cpp='$CPP $CPPFLAGS'
27641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27644
27645
27646 fi
27647
27648 fi
27649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27650 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27651
27652 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27653 for ac_func in sincosl
27654 do :
27655 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27656 if test "x$ac_cv_func_sincosl" = xyes; then :
27657 cat >>confdefs.h <<_ACEOF
27658 #define HAVE_SINCOSL 1
27659 _ACEOF
27660
27661 fi
27662 done
27663
27664 else
27665
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27667 $as_echo_n "checking for _sincosl declaration... " >&6; }
27668 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27669 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27670 $as_echo_n "(cached) " >&6
27671 else
27672
27673
27674 ac_ext=cpp
27675 ac_cpp='$CXXCPP $CPPFLAGS'
27676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27679
27680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27681 /* end confdefs.h. */
27682 #include <math.h>
27683 int
27684 main ()
27685 {
27686 _sincosl(0, 0, 0);
27687 ;
27688 return 0;
27689 }
27690 _ACEOF
27691 if ac_fn_cxx_try_compile "$LINENO"; then :
27692 glibcxx_cv_func__sincosl_use=yes
27693 else
27694 glibcxx_cv_func__sincosl_use=no
27695 fi
27696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27697 ac_ext=c
27698 ac_cpp='$CPP $CPPFLAGS'
27699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27702
27703
27704 fi
27705
27706 fi
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27708 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27709
27710 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27711 for ac_func in _sincosl
27712 do :
27713 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27714 if test "x$ac_cv_func__sincosl" = xyes; then :
27715 cat >>confdefs.h <<_ACEOF
27716 #define HAVE__SINCOSL 1
27717 _ACEOF
27718
27719 fi
27720 done
27721
27722 fi
27723 fi
27724
27725
27726
27727
27728
27729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27730 $as_echo_n "checking for finitel declaration... " >&6; }
27731 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27732 if ${glibcxx_cv_func_finitel_use+:} false; then :
27733 $as_echo_n "(cached) " >&6
27734 else
27735
27736
27737 ac_ext=cpp
27738 ac_cpp='$CXXCPP $CPPFLAGS'
27739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27742
27743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27744 /* end confdefs.h. */
27745 #include <math.h>
27746 #ifdef HAVE_IEEEFP_H
27747 #include <ieeefp.h>
27748 #endif
27749
27750 int
27751 main ()
27752 {
27753 finitel(0);
27754 ;
27755 return 0;
27756 }
27757 _ACEOF
27758 if ac_fn_cxx_try_compile "$LINENO"; then :
27759 glibcxx_cv_func_finitel_use=yes
27760 else
27761 glibcxx_cv_func_finitel_use=no
27762 fi
27763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27764 ac_ext=c
27765 ac_cpp='$CPP $CPPFLAGS'
27766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27769
27770
27771 fi
27772
27773 fi
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27775 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27776
27777 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27778 for ac_func in finitel
27779 do :
27780 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27781 if test "x$ac_cv_func_finitel" = xyes; then :
27782 cat >>confdefs.h <<_ACEOF
27783 #define HAVE_FINITEL 1
27784 _ACEOF
27785
27786 fi
27787 done
27788
27789 else
27790
27791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27792 $as_echo_n "checking for _finitel declaration... " >&6; }
27793 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27794 if ${glibcxx_cv_func__finitel_use+:} false; then :
27795 $as_echo_n "(cached) " >&6
27796 else
27797
27798
27799 ac_ext=cpp
27800 ac_cpp='$CXXCPP $CPPFLAGS'
27801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27804
27805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27806 /* end confdefs.h. */
27807 #include <math.h>
27808 #ifdef HAVE_IEEEFP_H
27809 #include <ieeefp.h>
27810 #endif
27811
27812 int
27813 main ()
27814 {
27815 _finitel(0);
27816 ;
27817 return 0;
27818 }
27819 _ACEOF
27820 if ac_fn_cxx_try_compile "$LINENO"; then :
27821 glibcxx_cv_func__finitel_use=yes
27822 else
27823 glibcxx_cv_func__finitel_use=no
27824 fi
27825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27826 ac_ext=c
27827 ac_cpp='$CPP $CPPFLAGS'
27828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27831
27832
27833 fi
27834
27835 fi
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27837 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27838
27839 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27840 for ac_func in _finitel
27841 do :
27842 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27843 if test "x$ac_cv_func__finitel" = xyes; then :
27844 cat >>confdefs.h <<_ACEOF
27845 #define HAVE__FINITEL 1
27846 _ACEOF
27847
27848 fi
27849 done
27850
27851 fi
27852 fi
27853
27854
27855
27856
27857 LIBS="$ac_save_LIBS"
27858 CXXFLAGS="$ac_save_CXXFLAGS"
27859
27860
27861 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27862 ac_save_CXXFLAGS="$CXXFLAGS"
27863 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27864
27865
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27867 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27868 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27869 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27870 $as_echo_n "(cached) " >&6
27871 else
27872
27873
27874 ac_ext=cpp
27875 ac_cpp='$CXXCPP $CPPFLAGS'
27876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27879
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27882 #include <stdlib.h>
27883 int
27884 main ()
27885 {
27886 at_quick_exit(0);
27887 ;
27888 return 0;
27889 }
27890 _ACEOF
27891 if ac_fn_cxx_try_compile "$LINENO"; then :
27892 glibcxx_cv_func_at_quick_exit_use=yes
27893 else
27894 glibcxx_cv_func_at_quick_exit_use=no
27895 fi
27896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27897 ac_ext=c
27898 ac_cpp='$CPP $CPPFLAGS'
27899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27902
27903
27904 fi
27905
27906 fi
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27908 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27909 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27910 for ac_func in at_quick_exit
27911 do :
27912 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27913 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27914 cat >>confdefs.h <<_ACEOF
27915 #define HAVE_AT_QUICK_EXIT 1
27916 _ACEOF
27917
27918 fi
27919 done
27920
27921 fi
27922
27923
27924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27925 $as_echo_n "checking for quick_exit declaration... " >&6; }
27926 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27927 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27928 $as_echo_n "(cached) " >&6
27929 else
27930
27931
27932 ac_ext=cpp
27933 ac_cpp='$CXXCPP $CPPFLAGS'
27934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27937
27938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27939 /* end confdefs.h. */
27940 #include <stdlib.h>
27941 int
27942 main ()
27943 {
27944 quick_exit(0);
27945 ;
27946 return 0;
27947 }
27948 _ACEOF
27949 if ac_fn_cxx_try_compile "$LINENO"; then :
27950 glibcxx_cv_func_quick_exit_use=yes
27951 else
27952 glibcxx_cv_func_quick_exit_use=no
27953 fi
27954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27955 ac_ext=c
27956 ac_cpp='$CPP $CPPFLAGS'
27957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27960
27961
27962 fi
27963
27964 fi
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27966 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27967 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27968 for ac_func in quick_exit
27969 do :
27970 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27971 if test "x$ac_cv_func_quick_exit" = xyes; then :
27972 cat >>confdefs.h <<_ACEOF
27973 #define HAVE_QUICK_EXIT 1
27974 _ACEOF
27975
27976 fi
27977 done
27978
27979 fi
27980
27981
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27983 $as_echo_n "checking for strtold declaration... " >&6; }
27984 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27985 if ${glibcxx_cv_func_strtold_use+:} false; then :
27986 $as_echo_n "(cached) " >&6
27987 else
27988
27989
27990 ac_ext=cpp
27991 ac_cpp='$CXXCPP $CPPFLAGS'
27992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27995
27996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27997 /* end confdefs.h. */
27998 #include <stdlib.h>
27999 int
28000 main ()
28001 {
28002 strtold(0, 0);
28003 ;
28004 return 0;
28005 }
28006 _ACEOF
28007 if ac_fn_cxx_try_compile "$LINENO"; then :
28008 glibcxx_cv_func_strtold_use=yes
28009 else
28010 glibcxx_cv_func_strtold_use=no
28011 fi
28012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28013 ac_ext=c
28014 ac_cpp='$CPP $CPPFLAGS'
28015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28018
28019
28020 fi
28021
28022 fi
28023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28024 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28025 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28026 for ac_func in strtold
28027 do :
28028 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28029 if test "x$ac_cv_func_strtold" = xyes; then :
28030 cat >>confdefs.h <<_ACEOF
28031 #define HAVE_STRTOLD 1
28032 _ACEOF
28033
28034 fi
28035 done
28036
28037 fi
28038
28039
28040
28041
28042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28043 $as_echo_n "checking for strtof declaration... " >&6; }
28044 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28045 if ${glibcxx_cv_func_strtof_use+:} false; then :
28046 $as_echo_n "(cached) " >&6
28047 else
28048
28049
28050 ac_ext=cpp
28051 ac_cpp='$CXXCPP $CPPFLAGS'
28052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28055
28056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28057 /* end confdefs.h. */
28058 #include <stdlib.h>
28059 int
28060 main ()
28061 {
28062 strtof(0, 0);
28063 ;
28064 return 0;
28065 }
28066 _ACEOF
28067 if ac_fn_cxx_try_compile "$LINENO"; then :
28068 glibcxx_cv_func_strtof_use=yes
28069 else
28070 glibcxx_cv_func_strtof_use=no
28071 fi
28072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28073 ac_ext=c
28074 ac_cpp='$CPP $CPPFLAGS'
28075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28078
28079
28080 fi
28081
28082 fi
28083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28084 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28085 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28086 for ac_func in strtof
28087 do :
28088 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28089 if test "x$ac_cv_func_strtof" = xyes; then :
28090 cat >>confdefs.h <<_ACEOF
28091 #define HAVE_STRTOF 1
28092 _ACEOF
28093
28094 fi
28095 done
28096
28097 fi
28098
28099
28100
28101
28102 CXXFLAGS="$ac_save_CXXFLAGS"
28103
28104
28105 # For /dev/random and /dev/urandom for std::random_device.
28106
28107
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28109 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28110 if ${glibcxx_cv_dev_random+:} false; then :
28111 $as_echo_n "(cached) " >&6
28112 else
28113
28114 if test -r /dev/random && test -r /dev/urandom; then
28115 ## For MSys environment the test above is detected as false-positive
28116 ## on mingw-targets. So disable it explicitly for them.
28117 case ${target_os} in
28118 *mingw*) glibcxx_cv_dev_random=no ;;
28119 *) glibcxx_cv_dev_random=yes ;;
28120 esac
28121 else
28122 glibcxx_cv_dev_random=no;
28123 fi
28124
28125 fi
28126
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28128 $as_echo "$glibcxx_cv_dev_random" >&6; }
28129
28130 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28131
28132 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28133
28134
28135 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28136
28137 fi
28138
28139
28140
28141 # For TLS support.
28142
28143
28144 # Check whether --enable-tls was given.
28145 if test "${enable_tls+set}" = set; then :
28146 enableval=$enable_tls;
28147 case "$enableval" in
28148 yes|no) ;;
28149 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28150 esac
28151
28152 else
28153 enable_tls=yes
28154 fi
28155
28156
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28158 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28159 if ${gcc_cv_have_tls+:} false; then :
28160 $as_echo_n "(cached) " >&6
28161 else
28162
28163 if test "$cross_compiling" = yes; then :
28164 if test x$gcc_no_link = xyes; then
28165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28166 fi
28167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28168 /* end confdefs.h. */
28169 __thread int a; int b; int main() { return a = b; }
28170 _ACEOF
28171 if ac_fn_c_try_link "$LINENO"; then :
28172 chktls_save_LDFLAGS="$LDFLAGS"
28173 case $host in
28174 *-*-linux* | -*-uclinuxfdpic*)
28175 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28176 ;;
28177 esac
28178 chktls_save_CFLAGS="$CFLAGS"
28179 CFLAGS="-fPIC $CFLAGS"
28180 if test x$gcc_no_link = xyes; then
28181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28182 fi
28183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184 /* end confdefs.h. */
28185 int f() { return 0; }
28186 _ACEOF
28187 if ac_fn_c_try_link "$LINENO"; then :
28188 if test x$gcc_no_link = xyes; then
28189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28190 fi
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 /* end confdefs.h. */
28193 __thread int a; int b; int f() { return a = b; }
28194 _ACEOF
28195 if ac_fn_c_try_link "$LINENO"; then :
28196 gcc_cv_have_tls=yes
28197 else
28198 gcc_cv_have_tls=no
28199 fi
28200 rm -f core conftest.err conftest.$ac_objext \
28201 conftest$ac_exeext conftest.$ac_ext
28202 else
28203 gcc_cv_have_tls=yes
28204 fi
28205 rm -f core conftest.err conftest.$ac_objext \
28206 conftest$ac_exeext conftest.$ac_ext
28207 CFLAGS="$chktls_save_CFLAGS"
28208 LDFLAGS="$chktls_save_LDFLAGS"
28209 else
28210 gcc_cv_have_tls=no
28211 fi
28212 rm -f core conftest.err conftest.$ac_objext \
28213 conftest$ac_exeext conftest.$ac_ext
28214
28215
28216 else
28217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28218 /* end confdefs.h. */
28219 __thread int a; int b; int main() { return a = b; }
28220 _ACEOF
28221 if ac_fn_c_try_run "$LINENO"; then :
28222 chktls_save_LDFLAGS="$LDFLAGS"
28223 LDFLAGS="-static $LDFLAGS"
28224 if test x$gcc_no_link = xyes; then
28225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28226 fi
28227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28228 /* end confdefs.h. */
28229 int main() { return 0; }
28230 _ACEOF
28231 if ac_fn_c_try_link "$LINENO"; then :
28232 if test "$cross_compiling" = yes; then :
28233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28235 as_fn_error $? "cannot run test program while cross compiling
28236 See \`config.log' for more details" "$LINENO" 5; }
28237 else
28238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h. */
28240 __thread int a; int b; int main() { return a = b; }
28241 _ACEOF
28242 if ac_fn_c_try_run "$LINENO"; then :
28243 gcc_cv_have_tls=yes
28244 else
28245 gcc_cv_have_tls=no
28246 fi
28247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28248 conftest.$ac_objext conftest.beam conftest.$ac_ext
28249 fi
28250
28251 else
28252 gcc_cv_have_tls=yes
28253 fi
28254 rm -f core conftest.err conftest.$ac_objext \
28255 conftest$ac_exeext conftest.$ac_ext
28256 LDFLAGS="$chktls_save_LDFLAGS"
28257 if test $gcc_cv_have_tls = yes; then
28258 chktls_save_CFLAGS="$CFLAGS"
28259 thread_CFLAGS=failed
28260 for flag in '' '-pthread' '-lpthread'; do
28261 CFLAGS="$flag $chktls_save_CFLAGS"
28262 if test x$gcc_no_link = xyes; then
28263 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28264 fi
28265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h. */
28267 #include <pthread.h>
28268 void *g(void *d) { return NULL; }
28269 int
28270 main ()
28271 {
28272 pthread_t t; pthread_create(&t,NULL,g,NULL);
28273 ;
28274 return 0;
28275 }
28276 _ACEOF
28277 if ac_fn_c_try_link "$LINENO"; then :
28278 thread_CFLAGS="$flag"
28279 fi
28280 rm -f core conftest.err conftest.$ac_objext \
28281 conftest$ac_exeext conftest.$ac_ext
28282 if test "X$thread_CFLAGS" != Xfailed; then
28283 break
28284 fi
28285 done
28286 CFLAGS="$chktls_save_CFLAGS"
28287 if test "X$thread_CFLAGS" != Xfailed; then
28288 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28289 if test "$cross_compiling" = yes; then :
28290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28292 as_fn_error $? "cannot run test program while cross compiling
28293 See \`config.log' for more details" "$LINENO" 5; }
28294 else
28295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28296 /* end confdefs.h. */
28297 #include <pthread.h>
28298 __thread int a;
28299 static int *volatile a_in_other_thread;
28300 static void *
28301 thread_func (void *arg)
28302 {
28303 a_in_other_thread = &a;
28304 return (void *)0;
28305 }
28306 int
28307 main ()
28308 {
28309 pthread_t thread;
28310 void *thread_retval;
28311 int *volatile a_in_main_thread;
28312 a_in_main_thread = &a;
28313 if (pthread_create (&thread, (pthread_attr_t *)0,
28314 thread_func, (void *)0))
28315 return 0;
28316 if (pthread_join (thread, &thread_retval))
28317 return 0;
28318 return (a_in_other_thread == a_in_main_thread);
28319 ;
28320 return 0;
28321 }
28322 _ACEOF
28323 if ac_fn_c_try_run "$LINENO"; then :
28324 gcc_cv_have_tls=yes
28325 else
28326 gcc_cv_have_tls=no
28327 fi
28328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28329 conftest.$ac_objext conftest.beam conftest.$ac_ext
28330 fi
28331
28332 CFLAGS="$chktls_save_CFLAGS"
28333 fi
28334 fi
28335 else
28336 gcc_cv_have_tls=no
28337 fi
28338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28339 conftest.$ac_objext conftest.beam conftest.$ac_ext
28340 fi
28341
28342 fi
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28344 $as_echo "$gcc_cv_have_tls" >&6; }
28345 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28346
28347 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28348
28349 fi
28350
28351 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28352 do :
28353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28356 cat >>confdefs.h <<_ACEOF
28357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28358 _ACEOF
28359
28360 fi
28361 done
28362
28363 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28364 do :
28365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28370 _ACEOF
28371
28372 fi
28373 done
28374
28375 for ac_func in _wfopen
28376 do :
28377 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28378 if test "x$ac_cv_func__wfopen" = xyes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE__WFOPEN 1
28381 _ACEOF
28382
28383 fi
28384 done
28385
28386
28387 # C11 functions for C++17 library
28388 for ac_func in timespec_get
28389 do :
28390 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28391 if test "x$ac_cv_func_timespec_get" = xyes; then :
28392 cat >>confdefs.h <<_ACEOF
28393 #define HAVE_TIMESPEC_GET 1
28394 _ACEOF
28395
28396 fi
28397 done
28398
28399
28400 # For Networking TS.
28401 for ac_func in sockatmark
28402 do :
28403 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28404 if test "x$ac_cv_func_sockatmark" = xyes; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define HAVE_SOCKATMARK 1
28407 _ACEOF
28408
28409 fi
28410 done
28411
28412
28413 # Non-standard functions used by C++17 std::from_chars
28414 for ac_func in uselocale
28415 do :
28416 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28417 if test "x$ac_cv_func_uselocale" = xyes; then :
28418 cat >>confdefs.h <<_ACEOF
28419 #define HAVE_USELOCALE 1
28420 _ACEOF
28421
28422 fi
28423 done
28424
28425
28426 # For iconv support.
28427
28428 if test "X$prefix" = "XNONE"; then
28429 acl_final_prefix="$ac_default_prefix"
28430 else
28431 acl_final_prefix="$prefix"
28432 fi
28433 if test "X$exec_prefix" = "XNONE"; then
28434 acl_final_exec_prefix='${prefix}'
28435 else
28436 acl_final_exec_prefix="$exec_prefix"
28437 fi
28438 acl_save_prefix="$prefix"
28439 prefix="$acl_final_prefix"
28440 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28441 prefix="$acl_save_prefix"
28442
28443
28444 # Check whether --with-gnu-ld was given.
28445 if test "${with_gnu_ld+set}" = set; then :
28446 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28447 else
28448 with_gnu_ld=no
28449 fi
28450
28451 # Prepare PATH_SEPARATOR.
28452 # The user is always right.
28453 if test "${PATH_SEPARATOR+set}" != set; then
28454 echo "#! /bin/sh" >conf$$.sh
28455 echo "exit 0" >>conf$$.sh
28456 chmod +x conf$$.sh
28457 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28458 PATH_SEPARATOR=';'
28459 else
28460 PATH_SEPARATOR=:
28461 fi
28462 rm -f conf$$.sh
28463 fi
28464 ac_prog=ld
28465 if test "$GCC" = yes; then
28466 # Check if gcc -print-prog-name=ld gives a path.
28467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28468 $as_echo_n "checking for ld used by GCC... " >&6; }
28469 case $host in
28470 *-*-mingw*)
28471 # gcc leaves a trailing carriage return which upsets mingw
28472 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28473 *)
28474 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28475 esac
28476 case $ac_prog in
28477 # Accept absolute paths.
28478 [\\/]* | [A-Za-z]:[\\/]*)
28479 re_direlt='/[^/][^/]*/\.\./'
28480 # Canonicalize the path of ld
28481 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28482 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28483 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28484 done
28485 test -z "$LD" && LD="$ac_prog"
28486 ;;
28487 "")
28488 # If it fails, then pretend we aren't using GCC.
28489 ac_prog=ld
28490 ;;
28491 *)
28492 # If it is relative, then search for the first ld in PATH.
28493 with_gnu_ld=unknown
28494 ;;
28495 esac
28496 elif test "$with_gnu_ld" = yes; then
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28498 $as_echo_n "checking for GNU ld... " >&6; }
28499 else
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28501 $as_echo_n "checking for non-GNU ld... " >&6; }
28502 fi
28503 if ${acl_cv_path_LD+:} false; then :
28504 $as_echo_n "(cached) " >&6
28505 else
28506 if test -z "$LD"; then
28507 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28508 for ac_dir in $PATH; do
28509 test -z "$ac_dir" && ac_dir=.
28510 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28511 acl_cv_path_LD="$ac_dir/$ac_prog"
28512 # Check to see if the program is GNU ld. I'd rather use --version,
28513 # but apparently some GNU ld's only accept -v.
28514 # Break only if it was the GNU/non-GNU ld that we prefer.
28515 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28516 test "$with_gnu_ld" != no && break
28517 else
28518 test "$with_gnu_ld" != yes && break
28519 fi
28520 fi
28521 done
28522 IFS="$ac_save_ifs"
28523 else
28524 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28525 fi
28526 fi
28527
28528 LD="$acl_cv_path_LD"
28529 if test -n "$LD"; then
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28531 $as_echo "$LD" >&6; }
28532 else
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28534 $as_echo "no" >&6; }
28535 fi
28536 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28538 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28539 if ${acl_cv_prog_gnu_ld+:} false; then :
28540 $as_echo_n "(cached) " >&6
28541 else
28542 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28543 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28544 acl_cv_prog_gnu_ld=yes
28545 else
28546 acl_cv_prog_gnu_ld=no
28547 fi
28548 fi
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28550 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28551 with_gnu_ld=$acl_cv_prog_gnu_ld
28552
28553
28554
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28556 $as_echo_n "checking for shared library run path origin... " >&6; }
28557 if ${acl_cv_rpath+:} false; then :
28558 $as_echo_n "(cached) " >&6
28559 else
28560
28561 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28562 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28563 . ./conftest.sh
28564 rm -f ./conftest.sh
28565 acl_cv_rpath=done
28566
28567 fi
28568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28569 $as_echo "$acl_cv_rpath" >&6; }
28570 wl="$acl_cv_wl"
28571 libext="$acl_cv_libext"
28572 shlibext="$acl_cv_shlibext"
28573 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28574 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28575 hardcode_direct="$acl_cv_hardcode_direct"
28576 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28577 # Check whether --enable-rpath was given.
28578 if test "${enable_rpath+set}" = set; then :
28579 enableval=$enable_rpath; :
28580 else
28581 enable_rpath=yes
28582 fi
28583
28584
28585
28586
28587
28588
28589
28590
28591 use_additional=yes
28592
28593 acl_save_prefix="$prefix"
28594 prefix="$acl_final_prefix"
28595 acl_save_exec_prefix="$exec_prefix"
28596 exec_prefix="$acl_final_exec_prefix"
28597
28598 eval additional_includedir=\"$includedir\"
28599 eval additional_libdir=\"$libdir\"
28600
28601 exec_prefix="$acl_save_exec_prefix"
28602 prefix="$acl_save_prefix"
28603
28604
28605 # Check whether --with-libiconv-prefix was given.
28606 if test "${with_libiconv_prefix+set}" = set; then :
28607 withval=$with_libiconv_prefix;
28608 if test "X$withval" = "Xno"; then
28609 use_additional=no
28610 else
28611 if test "X$withval" = "X"; then
28612
28613 acl_save_prefix="$prefix"
28614 prefix="$acl_final_prefix"
28615 acl_save_exec_prefix="$exec_prefix"
28616 exec_prefix="$acl_final_exec_prefix"
28617
28618 eval additional_includedir=\"$includedir\"
28619 eval additional_libdir=\"$libdir\"
28620
28621 exec_prefix="$acl_save_exec_prefix"
28622 prefix="$acl_save_prefix"
28623
28624 else
28625 additional_includedir="$withval/include"
28626 additional_libdir="$withval/lib"
28627 fi
28628 fi
28629
28630 fi
28631
28632
28633 # Check whether --with-libiconv-type was given.
28634 if test "${with_libiconv_type+set}" = set; then :
28635 withval=$with_libiconv_type; with_libiconv_type=$withval
28636 else
28637 with_libiconv_type=auto
28638 fi
28639
28640 lib_type=`eval echo \$with_libiconv_type`
28641
28642 LIBICONV=
28643 LTLIBICONV=
28644 INCICONV=
28645 rpathdirs=
28646 ltrpathdirs=
28647 names_already_handled=
28648 names_next_round='iconv '
28649 while test -n "$names_next_round"; do
28650 names_this_round="$names_next_round"
28651 names_next_round=
28652 for name in $names_this_round; do
28653 already_handled=
28654 for n in $names_already_handled; do
28655 if test "$n" = "$name"; then
28656 already_handled=yes
28657 break
28658 fi
28659 done
28660 if test -z "$already_handled"; then
28661 names_already_handled="$names_already_handled $name"
28662 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28663 eval value=\"\$HAVE_LIB$uppername\"
28664 if test -n "$value"; then
28665 if test "$value" = yes; then
28666 eval value=\"\$LIB$uppername\"
28667 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28668 eval value=\"\$LTLIB$uppername\"
28669 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28670 else
28671 :
28672 fi
28673 else
28674 found_dir=
28675 found_la=
28676 found_so=
28677 found_a=
28678 if test $use_additional = yes; then
28679 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28680 found_dir="$additional_libdir"
28681 found_so="$additional_libdir/lib$name.$shlibext"
28682 if test -f "$additional_libdir/lib$name.la"; then
28683 found_la="$additional_libdir/lib$name.la"
28684 fi
28685 elif test x$lib_type != xshared; then
28686 if test -f "$additional_libdir/lib$name.$libext"; then
28687 found_dir="$additional_libdir"
28688 found_a="$additional_libdir/lib$name.$libext"
28689 if test -f "$additional_libdir/lib$name.la"; then
28690 found_la="$additional_libdir/lib$name.la"
28691 fi
28692 fi
28693 fi
28694 fi
28695 if test "X$found_dir" = "X"; then
28696 for x in $LDFLAGS $LTLIBICONV; do
28697
28698 acl_save_prefix="$prefix"
28699 prefix="$acl_final_prefix"
28700 acl_save_exec_prefix="$exec_prefix"
28701 exec_prefix="$acl_final_exec_prefix"
28702 eval x=\"$x\"
28703 exec_prefix="$acl_save_exec_prefix"
28704 prefix="$acl_save_prefix"
28705
28706 case "$x" in
28707 -L*)
28708 dir=`echo "X$x" | sed -e 's/^X-L//'`
28709 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28710 found_dir="$dir"
28711 found_so="$dir/lib$name.$shlibext"
28712 if test -f "$dir/lib$name.la"; then
28713 found_la="$dir/lib$name.la"
28714 fi
28715 elif test x$lib_type != xshared; then
28716 if test -f "$dir/lib$name.$libext"; then
28717 found_dir="$dir"
28718 found_a="$dir/lib$name.$libext"
28719 if test -f "$dir/lib$name.la"; then
28720 found_la="$dir/lib$name.la"
28721 fi
28722 fi
28723 fi
28724 ;;
28725 esac
28726 if test "X$found_dir" != "X"; then
28727 break
28728 fi
28729 done
28730 fi
28731 if test "X$found_dir" != "X"; then
28732 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28733 if test "X$found_so" != "X"; then
28734 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28735 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28736 else
28737 haveit=
28738 for x in $ltrpathdirs; do
28739 if test "X$x" = "X$found_dir"; then
28740 haveit=yes
28741 break
28742 fi
28743 done
28744 if test -z "$haveit"; then
28745 ltrpathdirs="$ltrpathdirs $found_dir"
28746 fi
28747 if test "$hardcode_direct" = yes; then
28748 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28749 else
28750 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28751 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28752 haveit=
28753 for x in $rpathdirs; do
28754 if test "X$x" = "X$found_dir"; then
28755 haveit=yes
28756 break
28757 fi
28758 done
28759 if test -z "$haveit"; then
28760 rpathdirs="$rpathdirs $found_dir"
28761 fi
28762 else
28763 haveit=
28764 for x in $LDFLAGS $LIBICONV; do
28765
28766 acl_save_prefix="$prefix"
28767 prefix="$acl_final_prefix"
28768 acl_save_exec_prefix="$exec_prefix"
28769 exec_prefix="$acl_final_exec_prefix"
28770 eval x=\"$x\"
28771 exec_prefix="$acl_save_exec_prefix"
28772 prefix="$acl_save_prefix"
28773
28774 if test "X$x" = "X-L$found_dir"; then
28775 haveit=yes
28776 break
28777 fi
28778 done
28779 if test -z "$haveit"; then
28780 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28781 fi
28782 if test "$hardcode_minus_L" != no; then
28783 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28784 else
28785 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28786 fi
28787 fi
28788 fi
28789 fi
28790 else
28791 if test "X$found_a" != "X"; then
28792 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28793 else
28794 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28795 fi
28796 fi
28797 additional_includedir=
28798 case "$found_dir" in
28799 */lib | */lib/)
28800 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28801 additional_includedir="$basedir/include"
28802 ;;
28803 esac
28804 if test "X$additional_includedir" != "X"; then
28805 if test "X$additional_includedir" != "X/usr/include"; then
28806 haveit=
28807 if test "X$additional_includedir" = "X/usr/local/include"; then
28808 if test -n "$GCC"; then
28809 case $host_os in
28810 linux*) haveit=yes;;
28811 esac
28812 fi
28813 fi
28814 if test -z "$haveit"; then
28815 for x in $CPPFLAGS $INCICONV; do
28816
28817 acl_save_prefix="$prefix"
28818 prefix="$acl_final_prefix"
28819 acl_save_exec_prefix="$exec_prefix"
28820 exec_prefix="$acl_final_exec_prefix"
28821 eval x=\"$x\"
28822 exec_prefix="$acl_save_exec_prefix"
28823 prefix="$acl_save_prefix"
28824
28825 if test "X$x" = "X-I$additional_includedir"; then
28826 haveit=yes
28827 break
28828 fi
28829 done
28830 if test -z "$haveit"; then
28831 if test -d "$additional_includedir"; then
28832 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28833 fi
28834 fi
28835 fi
28836 fi
28837 fi
28838 if test -n "$found_la"; then
28839 save_libdir="$libdir"
28840 case "$found_la" in
28841 */* | *\\*) . "$found_la" ;;
28842 *) . "./$found_la" ;;
28843 esac
28844 libdir="$save_libdir"
28845 for dep in $dependency_libs; do
28846 case "$dep" in
28847 -L*)
28848 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28849 if test "X$additional_libdir" != "X/usr/lib"; then
28850 haveit=
28851 if test "X$additional_libdir" = "X/usr/local/lib"; then
28852 if test -n "$GCC"; then
28853 case $host_os in
28854 linux*) haveit=yes;;
28855 esac
28856 fi
28857 fi
28858 if test -z "$haveit"; then
28859 haveit=
28860 for x in $LDFLAGS $LIBICONV; do
28861
28862 acl_save_prefix="$prefix"
28863 prefix="$acl_final_prefix"
28864 acl_save_exec_prefix="$exec_prefix"
28865 exec_prefix="$acl_final_exec_prefix"
28866 eval x=\"$x\"
28867 exec_prefix="$acl_save_exec_prefix"
28868 prefix="$acl_save_prefix"
28869
28870 if test "X$x" = "X-L$additional_libdir"; then
28871 haveit=yes
28872 break
28873 fi
28874 done
28875 if test -z "$haveit"; then
28876 if test -d "$additional_libdir"; then
28877 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28878 fi
28879 fi
28880 haveit=
28881 for x in $LDFLAGS $LTLIBICONV; do
28882
28883 acl_save_prefix="$prefix"
28884 prefix="$acl_final_prefix"
28885 acl_save_exec_prefix="$exec_prefix"
28886 exec_prefix="$acl_final_exec_prefix"
28887 eval x=\"$x\"
28888 exec_prefix="$acl_save_exec_prefix"
28889 prefix="$acl_save_prefix"
28890
28891 if test "X$x" = "X-L$additional_libdir"; then
28892 haveit=yes
28893 break
28894 fi
28895 done
28896 if test -z "$haveit"; then
28897 if test -d "$additional_libdir"; then
28898 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28899 fi
28900 fi
28901 fi
28902 fi
28903 ;;
28904 -R*)
28905 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28906 if test "$enable_rpath" != no; then
28907 haveit=
28908 for x in $rpathdirs; do
28909 if test "X$x" = "X$dir"; then
28910 haveit=yes
28911 break
28912 fi
28913 done
28914 if test -z "$haveit"; then
28915 rpathdirs="$rpathdirs $dir"
28916 fi
28917 haveit=
28918 for x in $ltrpathdirs; do
28919 if test "X$x" = "X$dir"; then
28920 haveit=yes
28921 break
28922 fi
28923 done
28924 if test -z "$haveit"; then
28925 ltrpathdirs="$ltrpathdirs $dir"
28926 fi
28927 fi
28928 ;;
28929 -l*)
28930 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28931 ;;
28932 *.la)
28933 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28934 ;;
28935 *)
28936 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28937 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28938 ;;
28939 esac
28940 done
28941 fi
28942 else
28943 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28944 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28945 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28946 else
28947 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28948 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28949 fi
28950 fi
28951 fi
28952 fi
28953 done
28954 done
28955 if test "X$rpathdirs" != "X"; then
28956 if test -n "$hardcode_libdir_separator"; then
28957 alldirs=
28958 for found_dir in $rpathdirs; do
28959 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28960 done
28961 acl_save_libdir="$libdir"
28962 libdir="$alldirs"
28963 eval flag=\"$hardcode_libdir_flag_spec\"
28964 libdir="$acl_save_libdir"
28965 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28966 else
28967 for found_dir in $rpathdirs; do
28968 acl_save_libdir="$libdir"
28969 libdir="$found_dir"
28970 eval flag=\"$hardcode_libdir_flag_spec\"
28971 libdir="$acl_save_libdir"
28972 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28973 done
28974 fi
28975 fi
28976 if test "X$ltrpathdirs" != "X"; then
28977 for found_dir in $ltrpathdirs; do
28978 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28979 done
28980 fi
28981
28982
28983
28984
28985
28986
28987
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28989 $as_echo_n "checking for iconv... " >&6; }
28990 if ${am_cv_func_iconv+:} false; then :
28991 $as_echo_n "(cached) " >&6
28992 else
28993
28994 am_cv_func_iconv="no, consider installing GNU libiconv"
28995 am_cv_lib_iconv=no
28996 am_save_CPPFLAGS="$CPPFLAGS"
28997 CPPFLAGS="$CPPFLAGS $INCICONV"
28998 if test x$gcc_no_link = xyes; then
28999 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29000 fi
29001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29002 /* end confdefs.h. */
29003 #include <stdlib.h>
29004 #include <iconv.h>
29005 int
29006 main ()
29007 {
29008 iconv_t cd = iconv_open("","");
29009 iconv(cd,NULL,NULL,NULL,NULL);
29010 iconv_close(cd);
29011 ;
29012 return 0;
29013 }
29014 _ACEOF
29015 if ac_fn_c_try_link "$LINENO"; then :
29016 am_cv_func_iconv=yes
29017 fi
29018 rm -f core conftest.err conftest.$ac_objext \
29019 conftest$ac_exeext conftest.$ac_ext
29020 CPPFLAGS="$am_save_CPPFLAGS"
29021
29022 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29023 for _libs in .libs _libs; do
29024 am_save_CPPFLAGS="$CPPFLAGS"
29025 am_save_LIBS="$LIBS"
29026 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29027 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29028 if test x$gcc_no_link = xyes; then
29029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29030 fi
29031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29032 /* end confdefs.h. */
29033 #include <stdlib.h>
29034 #include <iconv.h>
29035 int
29036 main ()
29037 {
29038 iconv_t cd = iconv_open("","");
29039 iconv(cd,NULL,NULL,NULL,NULL);
29040 iconv_close(cd);
29041 ;
29042 return 0;
29043 }
29044 _ACEOF
29045 if ac_fn_c_try_link "$LINENO"; then :
29046 INCICONV="-I../libiconv/include"
29047 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29048 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29049 am_cv_lib_iconv=yes
29050 am_cv_func_iconv=yes
29051 fi
29052 rm -f core conftest.err conftest.$ac_objext \
29053 conftest$ac_exeext conftest.$ac_ext
29054 CPPFLAGS="$am_save_CPPFLAGS"
29055 LIBS="$am_save_LIBS"
29056 if test "$am_cv_func_iconv" = "yes"; then
29057 break
29058 fi
29059 done
29060 fi
29061
29062 if test "$am_cv_func_iconv" != yes; then
29063 am_save_CPPFLAGS="$CPPFLAGS"
29064 am_save_LIBS="$LIBS"
29065 CPPFLAGS="$CPPFLAGS $INCICONV"
29066 LIBS="$LIBS $LIBICONV"
29067 if test x$gcc_no_link = xyes; then
29068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29069 fi
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <stdlib.h>
29073 #include <iconv.h>
29074 int
29075 main ()
29076 {
29077 iconv_t cd = iconv_open("","");
29078 iconv(cd,NULL,NULL,NULL,NULL);
29079 iconv_close(cd);
29080 ;
29081 return 0;
29082 }
29083 _ACEOF
29084 if ac_fn_c_try_link "$LINENO"; then :
29085 am_cv_lib_iconv=yes
29086 am_cv_func_iconv=yes
29087 fi
29088 rm -f core conftest.err conftest.$ac_objext \
29089 conftest$ac_exeext conftest.$ac_ext
29090 CPPFLAGS="$am_save_CPPFLAGS"
29091 LIBS="$am_save_LIBS"
29092 fi
29093
29094 fi
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29096 $as_echo "$am_cv_func_iconv" >&6; }
29097 if test "$am_cv_func_iconv" = yes; then
29098
29099 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29100
29101 fi
29102 if test "$am_cv_lib_iconv" = yes; then
29103
29104 for element in $INCICONV; do
29105 haveit=
29106 for x in $CPPFLAGS; do
29107
29108 acl_save_prefix="$prefix"
29109 prefix="$acl_final_prefix"
29110 acl_save_exec_prefix="$exec_prefix"
29111 exec_prefix="$acl_final_exec_prefix"
29112 eval x=\"$x\"
29113 exec_prefix="$acl_save_exec_prefix"
29114 prefix="$acl_save_prefix"
29115
29116 if test "X$x" = "X$element"; then
29117 haveit=yes
29118 break
29119 fi
29120 done
29121 if test -z "$haveit"; then
29122 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29123 fi
29124 done
29125
29126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29127 $as_echo_n "checking how to link with libiconv... " >&6; }
29128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29129 $as_echo "$LIBICONV" >&6; }
29130 else
29131 LIBICONV=
29132 LTLIBICONV=
29133 fi
29134
29135
29136
29137 if test "$am_cv_func_iconv" = yes; then
29138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29139 $as_echo_n "checking for iconv declaration... " >&6; }
29140 if ${am_cv_proto_iconv+:} false; then :
29141 $as_echo_n "(cached) " >&6
29142 else
29143
29144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29146
29147 #include <stdlib.h>
29148 #include <iconv.h>
29149 extern
29150 #ifdef __cplusplus
29151 "C"
29152 #endif
29153 #if defined(__STDC__) || defined(__cplusplus)
29154 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29155 #else
29156 size_t iconv();
29157 #endif
29158
29159 int
29160 main ()
29161 {
29162
29163 ;
29164 return 0;
29165 }
29166 _ACEOF
29167 if ac_fn_c_try_compile "$LINENO"; then :
29168 am_cv_proto_iconv_arg1=""
29169 else
29170 am_cv_proto_iconv_arg1="const"
29171 fi
29172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29173 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);"
29174 fi
29175
29176 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29178 }$am_cv_proto_iconv" >&5
29179 $as_echo "${ac_t:-
29180 }$am_cv_proto_iconv" >&6; }
29181
29182 cat >>confdefs.h <<_ACEOF
29183 #define ICONV_CONST $am_cv_proto_iconv_arg1
29184 _ACEOF
29185
29186 fi
29187
29188
29189 else
29190
29191 # This lets us hard-code the functionality we know we'll have in the cross
29192 # target environment. "Let" is a sugar-coated word placed on an especially
29193 # dull and tedious hack, actually.
29194 #
29195 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29196 # that involve linking, can't be used:
29197 # "cannot open sim-crt0.o"
29198 # "cannot open crt0.o"
29199 # etc. All this is because there currently exists no unified, consistent
29200 # way for top level CC information to be passed down to target directories:
29201 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29202 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29203 # crosses can be removed.
29204
29205 # If Canadian cross, then don't pick up tools from the build directory.
29206 # Used only in GLIBCXX_EXPORT_INCLUDES.
29207 if test -n "$with_cross_host" &&
29208 test x"$build_alias" != x"$with_cross_host" &&
29209 test x"$build" != x"$target";
29210 then
29211 CANADIAN=yes
29212 else
29213 CANADIAN=no
29214 fi
29215
29216 # Construct crosses by hand, eliminating bits that need ld...
29217 # GLIBCXX_CHECK_MATH_SUPPORT
29218
29219 # First, test for "known" system libraries. We may be using newlib even
29220 # on a hosted environment.
29221 if test "x${with_newlib}" = "xyes"; then
29222 os_include_dir="os/newlib"
29223 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29224
29225
29226 # GLIBCXX_CHECK_STDLIB_SUPPORT
29227 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29228
29229
29230 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29231
29232 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29233
29234 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29235
29236 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29237
29238 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29239
29240 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29241
29242 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29243
29244 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29245
29246 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29247
29248 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29249
29250 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29251
29252 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29253
29254 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29255
29256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29257
29258 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29259
29260 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29261
29262 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29263
29264 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29265
29266 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29267
29268 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29269
29270 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29271
29272 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29273
29274
29275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29276
29277 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29278
29279 else
29280
29281 # Base decisions on target environment.
29282 case "${host}" in
29283 arm*-*-symbianelf*)
29284 # This is a freestanding configuration; there is nothing to do here.
29285 ;;
29286
29287 avr*-*-*)
29288 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29289
29290 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29291
29292 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29293
29294 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29295
29296 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29297
29298 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29299
29300 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29301
29302 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29303
29304 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29305
29306 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29307
29308 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29309
29310 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29311
29312 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29313
29314 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29315
29316 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29317
29318 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29319
29320 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29321
29322 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29323
29324 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29325
29326 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29327
29328 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29329
29330 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29331
29332 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29333
29334 ;;
29335
29336 mips*-sde-elf*)
29337 # These definitions are for the SDE C library rather than newlib.
29338 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29339
29340
29341 # All these tests are for C++; save the language and the compiler flags.
29342 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29343 # found in GLIBCXX_CONFIGURE.
29344
29345 ac_ext=cpp
29346 ac_cpp='$CXXCPP $CPPFLAGS'
29347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29350
29351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29352 ac_save_CXXFLAGS="$CXXFLAGS"
29353
29354 # Check for -ffunction-sections -fdata-sections
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29356 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29357 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 int foo; void bar() { };
29361 int
29362 main ()
29363 {
29364
29365 ;
29366 return 0;
29367 }
29368 _ACEOF
29369 if ac_fn_cxx_try_compile "$LINENO"; then :
29370 ac_fdsections=yes
29371 else
29372 ac_fdsections=no
29373 fi
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 if test "$ac_test_CXXFLAGS" = set; then
29376 CXXFLAGS="$ac_save_CXXFLAGS"
29377 else
29378 # this is the suspicious part
29379 CXXFLAGS=''
29380 fi
29381 if test x"$ac_fdsections" = x"yes"; then
29382 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29383 fi
29384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29385 $as_echo "$ac_fdsections" >&6; }
29386
29387 ac_ext=c
29388 ac_cpp='$CPP $CPPFLAGS'
29389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29392
29393
29394
29395
29396 # If we're not using GNU ld, then there's no point in even trying these
29397 # tests. Check for that first. We should have already tested for gld
29398 # by now (in libtool), but require it now just to be safe...
29399 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29400 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29401
29402
29403
29404 # The name set by libtool depends on the version of libtool. Shame on us
29405 # for depending on an impl detail, but c'est la vie. Older versions used
29406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29409 # set (hence we're using an older libtool), then set it.
29410 if test x${with_gnu_ld+set} != xset; then
29411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29412 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29413 with_gnu_ld=no
29414 else
29415 with_gnu_ld=$ac_cv_prog_gnu_ld
29416 fi
29417 fi
29418
29419 # Start by getting the version number. I think the libtool test already
29420 # does some of this, but throws away the result.
29421 glibcxx_ld_is_gold=no
29422 if test x"$with_gnu_ld" = x"yes"; then
29423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29424 $as_echo_n "checking for ld version... " >&6; }
29425
29426 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29427 glibcxx_ld_is_gold=yes
29428 fi
29429 ldver=`$LD --version 2>/dev/null |
29430 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29431
29432 glibcxx_gnu_ld_version=`echo $ldver | \
29433 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29435 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29436 fi
29437
29438 # Set --gc-sections.
29439 glibcxx_have_gc_sections=no
29440 if test "$glibcxx_ld_is_gold" = "yes"; then
29441 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29442 glibcxx_have_gc_sections=yes
29443 fi
29444 else
29445 glibcxx_gcsections_min_ld=21602
29446 if test x"$with_gnu_ld" = x"yes" &&
29447 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29448 glibcxx_have_gc_sections=yes
29449 fi
29450 fi
29451 if test "$glibcxx_have_gc_sections" = "yes"; then
29452 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29453 # NB: This flag only works reliably after 2.16.1. Configure tests
29454 # for this are difficult, so hard wire a value that should work.
29455
29456 ac_test_CFLAGS="${CFLAGS+set}"
29457 ac_save_CFLAGS="$CFLAGS"
29458 CFLAGS='-Wl,--gc-sections'
29459
29460 # Check for -Wl,--gc-sections
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29462 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29463 if test x$gcc_no_link = xyes; then
29464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29465 fi
29466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29467 /* end confdefs.h. */
29468 int one(void) { return 1; }
29469 int two(void) { return 2; }
29470
29471 int
29472 main ()
29473 {
29474 two();
29475 ;
29476 return 0;
29477 }
29478 _ACEOF
29479 if ac_fn_c_try_link "$LINENO"; then :
29480 ac_gcsections=yes
29481 else
29482 ac_gcsections=no
29483 fi
29484 rm -f core conftest.err conftest.$ac_objext \
29485 conftest$ac_exeext conftest.$ac_ext
29486 if test "$ac_gcsections" = "yes"; then
29487 rm -f conftest.c
29488 touch conftest.c
29489 if $CC -c conftest.c; then
29490 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29491 grep "Warning: gc-sections option ignored" > /dev/null; then
29492 ac_gcsections=no
29493 fi
29494 fi
29495 rm -f conftest.c conftest.o conftest
29496 fi
29497 if test "$ac_gcsections" = "yes"; then
29498 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29499 fi
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29501 $as_echo "$ac_gcsections" >&6; }
29502
29503 if test "$ac_test_CFLAGS" = set; then
29504 CFLAGS="$ac_save_CFLAGS"
29505 else
29506 # this is the suspicious part
29507 CFLAGS=''
29508 fi
29509 fi
29510
29511 # Set -z,relro.
29512 # Note this is only for shared objects.
29513 ac_ld_relro=no
29514 if test x"$with_gnu_ld" = x"yes"; then
29515 # cygwin and mingw uses PE, which has no ELF relro support,
29516 # multi target ld may confuse configure machinery
29517 case "$host" in
29518 *-*-cygwin*)
29519 ;;
29520 *-*-mingw*)
29521 ;;
29522 *)
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29524 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29525 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29526 if test -n "$cxx_z_relo"; then
29527 OPT_LDFLAGS="-Wl,-z,relro"
29528 ac_ld_relro=yes
29529 fi
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29531 $as_echo "$ac_ld_relro" >&6; }
29532 esac
29533 fi
29534
29535 # Set linker optimization flags.
29536 if test x"$with_gnu_ld" = x"yes"; then
29537 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29538 fi
29539
29540
29541
29542
29543
29544 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29545 ac_save_CXXFLAGS="$CXXFLAGS"
29546 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29547
29548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29549 $as_echo_n "checking for sin in -lm... " >&6; }
29550 if ${ac_cv_lib_m_sin+:} false; then :
29551 $as_echo_n "(cached) " >&6
29552 else
29553 ac_check_lib_save_LIBS=$LIBS
29554 LIBS="-lm $LIBS"
29555 if test x$gcc_no_link = xyes; then
29556 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29557 fi
29558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29559 /* end confdefs.h. */
29560
29561 /* Override any GCC internal prototype to avoid an error.
29562 Use char because int might match the return type of a GCC
29563 builtin and then its argument prototype would still apply. */
29564 #ifdef __cplusplus
29565 extern "C"
29566 #endif
29567 char sin ();
29568 int
29569 main ()
29570 {
29571 return sin ();
29572 ;
29573 return 0;
29574 }
29575 _ACEOF
29576 if ac_fn_c_try_link "$LINENO"; then :
29577 ac_cv_lib_m_sin=yes
29578 else
29579 ac_cv_lib_m_sin=no
29580 fi
29581 rm -f core conftest.err conftest.$ac_objext \
29582 conftest$ac_exeext conftest.$ac_ext
29583 LIBS=$ac_check_lib_save_LIBS
29584 fi
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29586 $as_echo "$ac_cv_lib_m_sin" >&6; }
29587 if test "x$ac_cv_lib_m_sin" = xyes; then :
29588 libm="-lm"
29589 fi
29590
29591 ac_save_LIBS="$LIBS"
29592 LIBS="$LIBS $libm"
29593
29594
29595
29596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29597 $as_echo_n "checking for isinf declaration... " >&6; }
29598 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29599 if ${glibcxx_cv_func_isinf_use+:} false; then :
29600 $as_echo_n "(cached) " >&6
29601 else
29602
29603
29604 ac_ext=cpp
29605 ac_cpp='$CXXCPP $CPPFLAGS'
29606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29609
29610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29611 /* end confdefs.h. */
29612 #include <math.h>
29613 #ifdef HAVE_IEEEFP_H
29614 #include <ieeefp.h>
29615 #endif
29616
29617 int
29618 main ()
29619 {
29620 isinf(0);
29621 ;
29622 return 0;
29623 }
29624 _ACEOF
29625 if ac_fn_cxx_try_compile "$LINENO"; then :
29626 glibcxx_cv_func_isinf_use=yes
29627 else
29628 glibcxx_cv_func_isinf_use=no
29629 fi
29630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29631 ac_ext=c
29632 ac_cpp='$CPP $CPPFLAGS'
29633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29636
29637
29638 fi
29639
29640 fi
29641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29642 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29643
29644 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29645 for ac_func in isinf
29646 do :
29647 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29648 if test "x$ac_cv_func_isinf" = xyes; then :
29649 cat >>confdefs.h <<_ACEOF
29650 #define HAVE_ISINF 1
29651 _ACEOF
29652
29653 fi
29654 done
29655
29656 else
29657
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29659 $as_echo_n "checking for _isinf declaration... " >&6; }
29660 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29661 if ${glibcxx_cv_func__isinf_use+:} false; then :
29662 $as_echo_n "(cached) " >&6
29663 else
29664
29665
29666 ac_ext=cpp
29667 ac_cpp='$CXXCPP $CPPFLAGS'
29668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29671
29672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29673 /* end confdefs.h. */
29674 #include <math.h>
29675 #ifdef HAVE_IEEEFP_H
29676 #include <ieeefp.h>
29677 #endif
29678
29679 int
29680 main ()
29681 {
29682 _isinf(0);
29683 ;
29684 return 0;
29685 }
29686 _ACEOF
29687 if ac_fn_cxx_try_compile "$LINENO"; then :
29688 glibcxx_cv_func__isinf_use=yes
29689 else
29690 glibcxx_cv_func__isinf_use=no
29691 fi
29692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29693 ac_ext=c
29694 ac_cpp='$CPP $CPPFLAGS'
29695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29698
29699
29700 fi
29701
29702 fi
29703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29704 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29705
29706 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29707 for ac_func in _isinf
29708 do :
29709 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29710 if test "x$ac_cv_func__isinf" = xyes; then :
29711 cat >>confdefs.h <<_ACEOF
29712 #define HAVE__ISINF 1
29713 _ACEOF
29714
29715 fi
29716 done
29717
29718 fi
29719 fi
29720
29721
29722
29723
29724
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29726 $as_echo_n "checking for isnan declaration... " >&6; }
29727 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29728 if ${glibcxx_cv_func_isnan_use+:} false; then :
29729 $as_echo_n "(cached) " >&6
29730 else
29731
29732
29733 ac_ext=cpp
29734 ac_cpp='$CXXCPP $CPPFLAGS'
29735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29738
29739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29740 /* end confdefs.h. */
29741 #include <math.h>
29742 #ifdef HAVE_IEEEFP_H
29743 #include <ieeefp.h>
29744 #endif
29745
29746 int
29747 main ()
29748 {
29749 isnan(0);
29750 ;
29751 return 0;
29752 }
29753 _ACEOF
29754 if ac_fn_cxx_try_compile "$LINENO"; then :
29755 glibcxx_cv_func_isnan_use=yes
29756 else
29757 glibcxx_cv_func_isnan_use=no
29758 fi
29759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29760 ac_ext=c
29761 ac_cpp='$CPP $CPPFLAGS'
29762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29765
29766
29767 fi
29768
29769 fi
29770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29771 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29772
29773 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29774 for ac_func in isnan
29775 do :
29776 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29777 if test "x$ac_cv_func_isnan" = xyes; then :
29778 cat >>confdefs.h <<_ACEOF
29779 #define HAVE_ISNAN 1
29780 _ACEOF
29781
29782 fi
29783 done
29784
29785 else
29786
29787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29788 $as_echo_n "checking for _isnan declaration... " >&6; }
29789 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29790 if ${glibcxx_cv_func__isnan_use+:} false; then :
29791 $as_echo_n "(cached) " >&6
29792 else
29793
29794
29795 ac_ext=cpp
29796 ac_cpp='$CXXCPP $CPPFLAGS'
29797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29800
29801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29803 #include <math.h>
29804 #ifdef HAVE_IEEEFP_H
29805 #include <ieeefp.h>
29806 #endif
29807
29808 int
29809 main ()
29810 {
29811 _isnan(0);
29812 ;
29813 return 0;
29814 }
29815 _ACEOF
29816 if ac_fn_cxx_try_compile "$LINENO"; then :
29817 glibcxx_cv_func__isnan_use=yes
29818 else
29819 glibcxx_cv_func__isnan_use=no
29820 fi
29821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29822 ac_ext=c
29823 ac_cpp='$CPP $CPPFLAGS'
29824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29827
29828
29829 fi
29830
29831 fi
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29833 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29834
29835 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29836 for ac_func in _isnan
29837 do :
29838 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29839 if test "x$ac_cv_func__isnan" = xyes; then :
29840 cat >>confdefs.h <<_ACEOF
29841 #define HAVE__ISNAN 1
29842 _ACEOF
29843
29844 fi
29845 done
29846
29847 fi
29848 fi
29849
29850
29851
29852
29853
29854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29855 $as_echo_n "checking for finite declaration... " >&6; }
29856 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29857 if ${glibcxx_cv_func_finite_use+:} false; then :
29858 $as_echo_n "(cached) " >&6
29859 else
29860
29861
29862 ac_ext=cpp
29863 ac_cpp='$CXXCPP $CPPFLAGS'
29864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29867
29868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29869 /* end confdefs.h. */
29870 #include <math.h>
29871 #ifdef HAVE_IEEEFP_H
29872 #include <ieeefp.h>
29873 #endif
29874
29875 int
29876 main ()
29877 {
29878 finite(0);
29879 ;
29880 return 0;
29881 }
29882 _ACEOF
29883 if ac_fn_cxx_try_compile "$LINENO"; then :
29884 glibcxx_cv_func_finite_use=yes
29885 else
29886 glibcxx_cv_func_finite_use=no
29887 fi
29888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29889 ac_ext=c
29890 ac_cpp='$CPP $CPPFLAGS'
29891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29894
29895
29896 fi
29897
29898 fi
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29900 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29901
29902 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29903 for ac_func in finite
29904 do :
29905 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29906 if test "x$ac_cv_func_finite" = xyes; then :
29907 cat >>confdefs.h <<_ACEOF
29908 #define HAVE_FINITE 1
29909 _ACEOF
29910
29911 fi
29912 done
29913
29914 else
29915
29916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29917 $as_echo_n "checking for _finite declaration... " >&6; }
29918 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29919 if ${glibcxx_cv_func__finite_use+:} false; then :
29920 $as_echo_n "(cached) " >&6
29921 else
29922
29923
29924 ac_ext=cpp
29925 ac_cpp='$CXXCPP $CPPFLAGS'
29926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29929
29930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29931 /* end confdefs.h. */
29932 #include <math.h>
29933 #ifdef HAVE_IEEEFP_H
29934 #include <ieeefp.h>
29935 #endif
29936
29937 int
29938 main ()
29939 {
29940 _finite(0);
29941 ;
29942 return 0;
29943 }
29944 _ACEOF
29945 if ac_fn_cxx_try_compile "$LINENO"; then :
29946 glibcxx_cv_func__finite_use=yes
29947 else
29948 glibcxx_cv_func__finite_use=no
29949 fi
29950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29951 ac_ext=c
29952 ac_cpp='$CPP $CPPFLAGS'
29953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29956
29957
29958 fi
29959
29960 fi
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29962 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29963
29964 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29965 for ac_func in _finite
29966 do :
29967 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29968 if test "x$ac_cv_func__finite" = xyes; then :
29969 cat >>confdefs.h <<_ACEOF
29970 #define HAVE__FINITE 1
29971 _ACEOF
29972
29973 fi
29974 done
29975
29976 fi
29977 fi
29978
29979
29980
29981
29982
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29984 $as_echo_n "checking for sincos declaration... " >&6; }
29985 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29986 if ${glibcxx_cv_func_sincos_use+:} false; then :
29987 $as_echo_n "(cached) " >&6
29988 else
29989
29990
29991 ac_ext=cpp
29992 ac_cpp='$CXXCPP $CPPFLAGS'
29993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29996
29997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29998 /* end confdefs.h. */
29999 #include <math.h>
30000 int
30001 main ()
30002 {
30003 sincos(0, 0, 0);
30004 ;
30005 return 0;
30006 }
30007 _ACEOF
30008 if ac_fn_cxx_try_compile "$LINENO"; then :
30009 glibcxx_cv_func_sincos_use=yes
30010 else
30011 glibcxx_cv_func_sincos_use=no
30012 fi
30013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30014 ac_ext=c
30015 ac_cpp='$CPP $CPPFLAGS'
30016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30019
30020
30021 fi
30022
30023 fi
30024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30025 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30026
30027 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30028 for ac_func in sincos
30029 do :
30030 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30031 if test "x$ac_cv_func_sincos" = xyes; then :
30032 cat >>confdefs.h <<_ACEOF
30033 #define HAVE_SINCOS 1
30034 _ACEOF
30035
30036 fi
30037 done
30038
30039 else
30040
30041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30042 $as_echo_n "checking for _sincos declaration... " >&6; }
30043 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30044 if ${glibcxx_cv_func__sincos_use+:} false; then :
30045 $as_echo_n "(cached) " >&6
30046 else
30047
30048
30049 ac_ext=cpp
30050 ac_cpp='$CXXCPP $CPPFLAGS'
30051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30054
30055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30056 /* end confdefs.h. */
30057 #include <math.h>
30058 int
30059 main ()
30060 {
30061 _sincos(0, 0, 0);
30062 ;
30063 return 0;
30064 }
30065 _ACEOF
30066 if ac_fn_cxx_try_compile "$LINENO"; then :
30067 glibcxx_cv_func__sincos_use=yes
30068 else
30069 glibcxx_cv_func__sincos_use=no
30070 fi
30071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30072 ac_ext=c
30073 ac_cpp='$CPP $CPPFLAGS'
30074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30077
30078
30079 fi
30080
30081 fi
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30083 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30084
30085 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30086 for ac_func in _sincos
30087 do :
30088 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30089 if test "x$ac_cv_func__sincos" = xyes; then :
30090 cat >>confdefs.h <<_ACEOF
30091 #define HAVE__SINCOS 1
30092 _ACEOF
30093
30094 fi
30095 done
30096
30097 fi
30098 fi
30099
30100
30101
30102
30103
30104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30105 $as_echo_n "checking for fpclass declaration... " >&6; }
30106 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30107 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30108 $as_echo_n "(cached) " >&6
30109 else
30110
30111
30112 ac_ext=cpp
30113 ac_cpp='$CXXCPP $CPPFLAGS'
30114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30117
30118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30119 /* end confdefs.h. */
30120 #include <math.h>
30121 #ifdef HAVE_IEEEFP_H
30122 #include <ieeefp.h>
30123 #endif
30124
30125 int
30126 main ()
30127 {
30128 fpclass(0);
30129 ;
30130 return 0;
30131 }
30132 _ACEOF
30133 if ac_fn_cxx_try_compile "$LINENO"; then :
30134 glibcxx_cv_func_fpclass_use=yes
30135 else
30136 glibcxx_cv_func_fpclass_use=no
30137 fi
30138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30139 ac_ext=c
30140 ac_cpp='$CPP $CPPFLAGS'
30141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30144
30145
30146 fi
30147
30148 fi
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30150 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30151
30152 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30153 for ac_func in fpclass
30154 do :
30155 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30156 if test "x$ac_cv_func_fpclass" = xyes; then :
30157 cat >>confdefs.h <<_ACEOF
30158 #define HAVE_FPCLASS 1
30159 _ACEOF
30160
30161 fi
30162 done
30163
30164 else
30165
30166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30167 $as_echo_n "checking for _fpclass declaration... " >&6; }
30168 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30169 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30170 $as_echo_n "(cached) " >&6
30171 else
30172
30173
30174 ac_ext=cpp
30175 ac_cpp='$CXXCPP $CPPFLAGS'
30176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30179
30180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30181 /* end confdefs.h. */
30182 #include <math.h>
30183 #ifdef HAVE_IEEEFP_H
30184 #include <ieeefp.h>
30185 #endif
30186
30187 int
30188 main ()
30189 {
30190 _fpclass(0);
30191 ;
30192 return 0;
30193 }
30194 _ACEOF
30195 if ac_fn_cxx_try_compile "$LINENO"; then :
30196 glibcxx_cv_func__fpclass_use=yes
30197 else
30198 glibcxx_cv_func__fpclass_use=no
30199 fi
30200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30201 ac_ext=c
30202 ac_cpp='$CPP $CPPFLAGS'
30203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30206
30207
30208 fi
30209
30210 fi
30211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30212 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30213
30214 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30215 for ac_func in _fpclass
30216 do :
30217 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30218 if test "x$ac_cv_func__fpclass" = xyes; then :
30219 cat >>confdefs.h <<_ACEOF
30220 #define HAVE__FPCLASS 1
30221 _ACEOF
30222
30223 fi
30224 done
30225
30226 fi
30227 fi
30228
30229
30230
30231
30232
30233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30234 $as_echo_n "checking for qfpclass declaration... " >&6; }
30235 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30236 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30237 $as_echo_n "(cached) " >&6
30238 else
30239
30240
30241 ac_ext=cpp
30242 ac_cpp='$CXXCPP $CPPFLAGS'
30243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30246
30247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30248 /* end confdefs.h. */
30249 #include <math.h>
30250 #ifdef HAVE_IEEEFP_H
30251 #include <ieeefp.h>
30252 #endif
30253
30254 int
30255 main ()
30256 {
30257 qfpclass(0);
30258 ;
30259 return 0;
30260 }
30261 _ACEOF
30262 if ac_fn_cxx_try_compile "$LINENO"; then :
30263 glibcxx_cv_func_qfpclass_use=yes
30264 else
30265 glibcxx_cv_func_qfpclass_use=no
30266 fi
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268 ac_ext=c
30269 ac_cpp='$CPP $CPPFLAGS'
30270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273
30274
30275 fi
30276
30277 fi
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30279 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30280
30281 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30282 for ac_func in qfpclass
30283 do :
30284 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30285 if test "x$ac_cv_func_qfpclass" = xyes; then :
30286 cat >>confdefs.h <<_ACEOF
30287 #define HAVE_QFPCLASS 1
30288 _ACEOF
30289
30290 fi
30291 done
30292
30293 else
30294
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30296 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30297 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30298 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30299 $as_echo_n "(cached) " >&6
30300 else
30301
30302
30303 ac_ext=cpp
30304 ac_cpp='$CXXCPP $CPPFLAGS'
30305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30308
30309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30310 /* end confdefs.h. */
30311 #include <math.h>
30312 #ifdef HAVE_IEEEFP_H
30313 #include <ieeefp.h>
30314 #endif
30315
30316 int
30317 main ()
30318 {
30319 _qfpclass(0);
30320 ;
30321 return 0;
30322 }
30323 _ACEOF
30324 if ac_fn_cxx_try_compile "$LINENO"; then :
30325 glibcxx_cv_func__qfpclass_use=yes
30326 else
30327 glibcxx_cv_func__qfpclass_use=no
30328 fi
30329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30330 ac_ext=c
30331 ac_cpp='$CPP $CPPFLAGS'
30332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30335
30336
30337 fi
30338
30339 fi
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30341 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30342
30343 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30344 for ac_func in _qfpclass
30345 do :
30346 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30347 if test "x$ac_cv_func__qfpclass" = xyes; then :
30348 cat >>confdefs.h <<_ACEOF
30349 #define HAVE__QFPCLASS 1
30350 _ACEOF
30351
30352 fi
30353 done
30354
30355 fi
30356 fi
30357
30358
30359
30360
30361
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30363 $as_echo_n "checking for hypot declaration... " >&6; }
30364 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30365 if ${glibcxx_cv_func_hypot_use+:} false; then :
30366 $as_echo_n "(cached) " >&6
30367 else
30368
30369
30370 ac_ext=cpp
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30375
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <math.h>
30379 int
30380 main ()
30381 {
30382 hypot(0, 0);
30383 ;
30384 return 0;
30385 }
30386 _ACEOF
30387 if ac_fn_cxx_try_compile "$LINENO"; then :
30388 glibcxx_cv_func_hypot_use=yes
30389 else
30390 glibcxx_cv_func_hypot_use=no
30391 fi
30392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393 ac_ext=c
30394 ac_cpp='$CPP $CPPFLAGS'
30395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30398
30399
30400 fi
30401
30402 fi
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30404 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30405
30406 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30407 for ac_func in hypot
30408 do :
30409 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30410 if test "x$ac_cv_func_hypot" = xyes; then :
30411 cat >>confdefs.h <<_ACEOF
30412 #define HAVE_HYPOT 1
30413 _ACEOF
30414
30415 fi
30416 done
30417
30418 else
30419
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30421 $as_echo_n "checking for _hypot declaration... " >&6; }
30422 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30423 if ${glibcxx_cv_func__hypot_use+:} false; then :
30424 $as_echo_n "(cached) " >&6
30425 else
30426
30427
30428 ac_ext=cpp
30429 ac_cpp='$CXXCPP $CPPFLAGS'
30430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433
30434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30435 /* end confdefs.h. */
30436 #include <math.h>
30437 int
30438 main ()
30439 {
30440 _hypot(0, 0);
30441 ;
30442 return 0;
30443 }
30444 _ACEOF
30445 if ac_fn_cxx_try_compile "$LINENO"; then :
30446 glibcxx_cv_func__hypot_use=yes
30447 else
30448 glibcxx_cv_func__hypot_use=no
30449 fi
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30451 ac_ext=c
30452 ac_cpp='$CPP $CPPFLAGS'
30453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30456
30457
30458 fi
30459
30460 fi
30461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30462 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30463
30464 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30465 for ac_func in _hypot
30466 do :
30467 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30468 if test "x$ac_cv_func__hypot" = xyes; then :
30469 cat >>confdefs.h <<_ACEOF
30470 #define HAVE__HYPOT 1
30471 _ACEOF
30472
30473 fi
30474 done
30475
30476 fi
30477 fi
30478
30479
30480
30481
30482
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30484 $as_echo_n "checking for float trig functions... " >&6; }
30485 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30486 $as_echo_n "(cached) " >&6
30487 else
30488
30489
30490 ac_ext=cpp
30491 ac_cpp='$CXXCPP $CPPFLAGS'
30492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30495
30496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30497 /* end confdefs.h. */
30498 #include <math.h>
30499 int
30500 main ()
30501 {
30502 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30503 ;
30504 return 0;
30505 }
30506 _ACEOF
30507 if ac_fn_cxx_try_compile "$LINENO"; then :
30508 glibcxx_cv_func_float_trig_use=yes
30509 else
30510 glibcxx_cv_func_float_trig_use=no
30511 fi
30512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30513 ac_ext=c
30514 ac_cpp='$CPP $CPPFLAGS'
30515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30518
30519 fi
30520
30521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30522 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30523 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30524 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30525 do :
30526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30528 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30529 cat >>confdefs.h <<_ACEOF
30530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30531 _ACEOF
30532
30533 fi
30534 done
30535
30536 else
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30538 $as_echo_n "checking for _float trig functions... " >&6; }
30539 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30542
30543
30544 ac_ext=cpp
30545 ac_cpp='$CXXCPP $CPPFLAGS'
30546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30549
30550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h. */
30552 #include <math.h>
30553 int
30554 main ()
30555 {
30556 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30557 ;
30558 return 0;
30559 }
30560 _ACEOF
30561 if ac_fn_cxx_try_compile "$LINENO"; then :
30562 glibcxx_cv_func__float_trig_use=yes
30563 else
30564 glibcxx_cv_func__float_trig_use=no
30565 fi
30566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30567 ac_ext=c
30568 ac_cpp='$CPP $CPPFLAGS'
30569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30572
30573 fi
30574
30575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30576 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30577 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30578 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30579 do :
30580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30583 cat >>confdefs.h <<_ACEOF
30584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30585 _ACEOF
30586
30587 fi
30588 done
30589
30590 fi
30591 fi
30592
30593
30594
30595
30596
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30598 $as_echo_n "checking for float round functions... " >&6; }
30599 if ${glibcxx_cv_func_float_round_use+:} false; then :
30600 $as_echo_n "(cached) " >&6
30601 else
30602
30603
30604 ac_ext=cpp
30605 ac_cpp='$CXXCPP $CPPFLAGS'
30606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30609
30610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30611 /* end confdefs.h. */
30612 #include <math.h>
30613 int
30614 main ()
30615 {
30616 ceilf (0); floorf (0);
30617 ;
30618 return 0;
30619 }
30620 _ACEOF
30621 if ac_fn_cxx_try_compile "$LINENO"; then :
30622 glibcxx_cv_func_float_round_use=yes
30623 else
30624 glibcxx_cv_func_float_round_use=no
30625 fi
30626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30627 ac_ext=c
30628 ac_cpp='$CPP $CPPFLAGS'
30629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30632
30633 fi
30634
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30636 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30637 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30638 for ac_func in ceilf floorf
30639 do :
30640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30642 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30643 cat >>confdefs.h <<_ACEOF
30644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30645 _ACEOF
30646
30647 fi
30648 done
30649
30650 else
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30652 $as_echo_n "checking for _float round functions... " >&6; }
30653 if ${glibcxx_cv_func__float_round_use+:} false; then :
30654 $as_echo_n "(cached) " >&6
30655 else
30656
30657
30658 ac_ext=cpp
30659 ac_cpp='$CXXCPP $CPPFLAGS'
30660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30663
30664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30665 /* end confdefs.h. */
30666 #include <math.h>
30667 int
30668 main ()
30669 {
30670 _ceilf (0); _floorf (0);
30671 ;
30672 return 0;
30673 }
30674 _ACEOF
30675 if ac_fn_cxx_try_compile "$LINENO"; then :
30676 glibcxx_cv_func__float_round_use=yes
30677 else
30678 glibcxx_cv_func__float_round_use=no
30679 fi
30680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30681 ac_ext=c
30682 ac_cpp='$CPP $CPPFLAGS'
30683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30686
30687 fi
30688
30689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30690 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30691 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30692 for ac_func in _ceilf _floorf
30693 do :
30694 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30695 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30696 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30697 cat >>confdefs.h <<_ACEOF
30698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30699 _ACEOF
30700
30701 fi
30702 done
30703
30704 fi
30705 fi
30706
30707
30708
30709
30710
30711
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30713 $as_echo_n "checking for expf declaration... " >&6; }
30714 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30715 if ${glibcxx_cv_func_expf_use+:} false; then :
30716 $as_echo_n "(cached) " >&6
30717 else
30718
30719
30720 ac_ext=cpp
30721 ac_cpp='$CXXCPP $CPPFLAGS'
30722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30725
30726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30727 /* end confdefs.h. */
30728 #include <math.h>
30729 #ifdef HAVE_IEEEFP_H
30730 #include <ieeefp.h>
30731 #endif
30732
30733 int
30734 main ()
30735 {
30736 expf(0);
30737 ;
30738 return 0;
30739 }
30740 _ACEOF
30741 if ac_fn_cxx_try_compile "$LINENO"; then :
30742 glibcxx_cv_func_expf_use=yes
30743 else
30744 glibcxx_cv_func_expf_use=no
30745 fi
30746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30747 ac_ext=c
30748 ac_cpp='$CPP $CPPFLAGS'
30749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30752
30753
30754 fi
30755
30756 fi
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30758 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30759
30760 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30761 for ac_func in expf
30762 do :
30763 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30764 if test "x$ac_cv_func_expf" = xyes; then :
30765 cat >>confdefs.h <<_ACEOF
30766 #define HAVE_EXPF 1
30767 _ACEOF
30768
30769 fi
30770 done
30771
30772 else
30773
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30775 $as_echo_n "checking for _expf declaration... " >&6; }
30776 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30777 if ${glibcxx_cv_func__expf_use+:} false; then :
30778 $as_echo_n "(cached) " >&6
30779 else
30780
30781
30782 ac_ext=cpp
30783 ac_cpp='$CXXCPP $CPPFLAGS'
30784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30787
30788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30789 /* end confdefs.h. */
30790 #include <math.h>
30791 #ifdef HAVE_IEEEFP_H
30792 #include <ieeefp.h>
30793 #endif
30794
30795 int
30796 main ()
30797 {
30798 _expf(0);
30799 ;
30800 return 0;
30801 }
30802 _ACEOF
30803 if ac_fn_cxx_try_compile "$LINENO"; then :
30804 glibcxx_cv_func__expf_use=yes
30805 else
30806 glibcxx_cv_func__expf_use=no
30807 fi
30808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30809 ac_ext=c
30810 ac_cpp='$CPP $CPPFLAGS'
30811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814
30815
30816 fi
30817
30818 fi
30819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30820 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30821
30822 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30823 for ac_func in _expf
30824 do :
30825 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30826 if test "x$ac_cv_func__expf" = xyes; then :
30827 cat >>confdefs.h <<_ACEOF
30828 #define HAVE__EXPF 1
30829 _ACEOF
30830
30831 fi
30832 done
30833
30834 fi
30835 fi
30836
30837
30838
30839
30840
30841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30842 $as_echo_n "checking for isnanf declaration... " >&6; }
30843 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30844 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30845 $as_echo_n "(cached) " >&6
30846 else
30847
30848
30849 ac_ext=cpp
30850 ac_cpp='$CXXCPP $CPPFLAGS'
30851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30854
30855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30856 /* end confdefs.h. */
30857 #include <math.h>
30858 #ifdef HAVE_IEEEFP_H
30859 #include <ieeefp.h>
30860 #endif
30861
30862 int
30863 main ()
30864 {
30865 isnanf(0);
30866 ;
30867 return 0;
30868 }
30869 _ACEOF
30870 if ac_fn_cxx_try_compile "$LINENO"; then :
30871 glibcxx_cv_func_isnanf_use=yes
30872 else
30873 glibcxx_cv_func_isnanf_use=no
30874 fi
30875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30876 ac_ext=c
30877 ac_cpp='$CPP $CPPFLAGS'
30878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30881
30882
30883 fi
30884
30885 fi
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30887 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30888
30889 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30890 for ac_func in isnanf
30891 do :
30892 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30893 if test "x$ac_cv_func_isnanf" = xyes; then :
30894 cat >>confdefs.h <<_ACEOF
30895 #define HAVE_ISNANF 1
30896 _ACEOF
30897
30898 fi
30899 done
30900
30901 else
30902
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30904 $as_echo_n "checking for _isnanf declaration... " >&6; }
30905 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30906 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30907 $as_echo_n "(cached) " >&6
30908 else
30909
30910
30911 ac_ext=cpp
30912 ac_cpp='$CXXCPP $CPPFLAGS'
30913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30916
30917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30918 /* end confdefs.h. */
30919 #include <math.h>
30920 #ifdef HAVE_IEEEFP_H
30921 #include <ieeefp.h>
30922 #endif
30923
30924 int
30925 main ()
30926 {
30927 _isnanf(0);
30928 ;
30929 return 0;
30930 }
30931 _ACEOF
30932 if ac_fn_cxx_try_compile "$LINENO"; then :
30933 glibcxx_cv_func__isnanf_use=yes
30934 else
30935 glibcxx_cv_func__isnanf_use=no
30936 fi
30937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30938 ac_ext=c
30939 ac_cpp='$CPP $CPPFLAGS'
30940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30943
30944
30945 fi
30946
30947 fi
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30949 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30950
30951 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30952 for ac_func in _isnanf
30953 do :
30954 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30955 if test "x$ac_cv_func__isnanf" = xyes; then :
30956 cat >>confdefs.h <<_ACEOF
30957 #define HAVE__ISNANF 1
30958 _ACEOF
30959
30960 fi
30961 done
30962
30963 fi
30964 fi
30965
30966
30967
30968
30969
30970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30971 $as_echo_n "checking for isinff declaration... " >&6; }
30972 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30973 if ${glibcxx_cv_func_isinff_use+:} false; then :
30974 $as_echo_n "(cached) " >&6
30975 else
30976
30977
30978 ac_ext=cpp
30979 ac_cpp='$CXXCPP $CPPFLAGS'
30980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30983
30984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30985 /* end confdefs.h. */
30986 #include <math.h>
30987 #ifdef HAVE_IEEEFP_H
30988 #include <ieeefp.h>
30989 #endif
30990
30991 int
30992 main ()
30993 {
30994 isinff(0);
30995 ;
30996 return 0;
30997 }
30998 _ACEOF
30999 if ac_fn_cxx_try_compile "$LINENO"; then :
31000 glibcxx_cv_func_isinff_use=yes
31001 else
31002 glibcxx_cv_func_isinff_use=no
31003 fi
31004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31005 ac_ext=c
31006 ac_cpp='$CPP $CPPFLAGS'
31007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31010
31011
31012 fi
31013
31014 fi
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31016 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31017
31018 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31019 for ac_func in isinff
31020 do :
31021 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31022 if test "x$ac_cv_func_isinff" = xyes; then :
31023 cat >>confdefs.h <<_ACEOF
31024 #define HAVE_ISINFF 1
31025 _ACEOF
31026
31027 fi
31028 done
31029
31030 else
31031
31032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31033 $as_echo_n "checking for _isinff declaration... " >&6; }
31034 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31035 if ${glibcxx_cv_func__isinff_use+:} false; then :
31036 $as_echo_n "(cached) " >&6
31037 else
31038
31039
31040 ac_ext=cpp
31041 ac_cpp='$CXXCPP $CPPFLAGS'
31042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31045
31046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31047 /* end confdefs.h. */
31048 #include <math.h>
31049 #ifdef HAVE_IEEEFP_H
31050 #include <ieeefp.h>
31051 #endif
31052
31053 int
31054 main ()
31055 {
31056 _isinff(0);
31057 ;
31058 return 0;
31059 }
31060 _ACEOF
31061 if ac_fn_cxx_try_compile "$LINENO"; then :
31062 glibcxx_cv_func__isinff_use=yes
31063 else
31064 glibcxx_cv_func__isinff_use=no
31065 fi
31066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31067 ac_ext=c
31068 ac_cpp='$CPP $CPPFLAGS'
31069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31072
31073
31074 fi
31075
31076 fi
31077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31078 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31079
31080 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31081 for ac_func in _isinff
31082 do :
31083 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31084 if test "x$ac_cv_func__isinff" = xyes; then :
31085 cat >>confdefs.h <<_ACEOF
31086 #define HAVE__ISINFF 1
31087 _ACEOF
31088
31089 fi
31090 done
31091
31092 fi
31093 fi
31094
31095
31096
31097
31098
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31100 $as_echo_n "checking for atan2f declaration... " >&6; }
31101 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31102 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31103 $as_echo_n "(cached) " >&6
31104 else
31105
31106
31107 ac_ext=cpp
31108 ac_cpp='$CXXCPP $CPPFLAGS'
31109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31112
31113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31114 /* end confdefs.h. */
31115 #include <math.h>
31116 int
31117 main ()
31118 {
31119 atan2f(0, 0);
31120 ;
31121 return 0;
31122 }
31123 _ACEOF
31124 if ac_fn_cxx_try_compile "$LINENO"; then :
31125 glibcxx_cv_func_atan2f_use=yes
31126 else
31127 glibcxx_cv_func_atan2f_use=no
31128 fi
31129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31130 ac_ext=c
31131 ac_cpp='$CPP $CPPFLAGS'
31132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31135
31136
31137 fi
31138
31139 fi
31140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31141 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31142
31143 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31144 for ac_func in atan2f
31145 do :
31146 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31147 if test "x$ac_cv_func_atan2f" = xyes; then :
31148 cat >>confdefs.h <<_ACEOF
31149 #define HAVE_ATAN2F 1
31150 _ACEOF
31151
31152 fi
31153 done
31154
31155 else
31156
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31158 $as_echo_n "checking for _atan2f declaration... " >&6; }
31159 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31160 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31161 $as_echo_n "(cached) " >&6
31162 else
31163
31164
31165 ac_ext=cpp
31166 ac_cpp='$CXXCPP $CPPFLAGS'
31167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31170
31171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31172 /* end confdefs.h. */
31173 #include <math.h>
31174 int
31175 main ()
31176 {
31177 _atan2f(0, 0);
31178 ;
31179 return 0;
31180 }
31181 _ACEOF
31182 if ac_fn_cxx_try_compile "$LINENO"; then :
31183 glibcxx_cv_func__atan2f_use=yes
31184 else
31185 glibcxx_cv_func__atan2f_use=no
31186 fi
31187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31188 ac_ext=c
31189 ac_cpp='$CPP $CPPFLAGS'
31190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31193
31194
31195 fi
31196
31197 fi
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31199 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31200
31201 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31202 for ac_func in _atan2f
31203 do :
31204 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31205 if test "x$ac_cv_func__atan2f" = xyes; then :
31206 cat >>confdefs.h <<_ACEOF
31207 #define HAVE__ATAN2F 1
31208 _ACEOF
31209
31210 fi
31211 done
31212
31213 fi
31214 fi
31215
31216
31217
31218
31219
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31221 $as_echo_n "checking for fabsf declaration... " >&6; }
31222 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31223 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31224 $as_echo_n "(cached) " >&6
31225 else
31226
31227
31228 ac_ext=cpp
31229 ac_cpp='$CXXCPP $CPPFLAGS'
31230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31233
31234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31235 /* end confdefs.h. */
31236 #include <math.h>
31237 #ifdef HAVE_IEEEFP_H
31238 #include <ieeefp.h>
31239 #endif
31240
31241 int
31242 main ()
31243 {
31244 fabsf(0);
31245 ;
31246 return 0;
31247 }
31248 _ACEOF
31249 if ac_fn_cxx_try_compile "$LINENO"; then :
31250 glibcxx_cv_func_fabsf_use=yes
31251 else
31252 glibcxx_cv_func_fabsf_use=no
31253 fi
31254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31255 ac_ext=c
31256 ac_cpp='$CPP $CPPFLAGS'
31257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31260
31261
31262 fi
31263
31264 fi
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31266 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31267
31268 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31269 for ac_func in fabsf
31270 do :
31271 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31272 if test "x$ac_cv_func_fabsf" = xyes; then :
31273 cat >>confdefs.h <<_ACEOF
31274 #define HAVE_FABSF 1
31275 _ACEOF
31276
31277 fi
31278 done
31279
31280 else
31281
31282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31283 $as_echo_n "checking for _fabsf declaration... " >&6; }
31284 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31285 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31286 $as_echo_n "(cached) " >&6
31287 else
31288
31289
31290 ac_ext=cpp
31291 ac_cpp='$CXXCPP $CPPFLAGS'
31292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31295
31296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31297 /* end confdefs.h. */
31298 #include <math.h>
31299 #ifdef HAVE_IEEEFP_H
31300 #include <ieeefp.h>
31301 #endif
31302
31303 int
31304 main ()
31305 {
31306 _fabsf(0);
31307 ;
31308 return 0;
31309 }
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func__fabsf_use=yes
31313 else
31314 glibcxx_cv_func__fabsf_use=no
31315 fi
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31322
31323
31324 fi
31325
31326 fi
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31328 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31329
31330 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31331 for ac_func in _fabsf
31332 do :
31333 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31334 if test "x$ac_cv_func__fabsf" = xyes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE__FABSF 1
31337 _ACEOF
31338
31339 fi
31340 done
31341
31342 fi
31343 fi
31344
31345
31346
31347
31348
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31350 $as_echo_n "checking for fmodf declaration... " >&6; }
31351 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31352 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31353 $as_echo_n "(cached) " >&6
31354 else
31355
31356
31357 ac_ext=cpp
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31362
31363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h. */
31365 #include <math.h>
31366 int
31367 main ()
31368 {
31369 fmodf(0, 0);
31370 ;
31371 return 0;
31372 }
31373 _ACEOF
31374 if ac_fn_cxx_try_compile "$LINENO"; then :
31375 glibcxx_cv_func_fmodf_use=yes
31376 else
31377 glibcxx_cv_func_fmodf_use=no
31378 fi
31379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31380 ac_ext=c
31381 ac_cpp='$CPP $CPPFLAGS'
31382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31385
31386
31387 fi
31388
31389 fi
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31391 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31392
31393 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31394 for ac_func in fmodf
31395 do :
31396 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31397 if test "x$ac_cv_func_fmodf" = xyes; then :
31398 cat >>confdefs.h <<_ACEOF
31399 #define HAVE_FMODF 1
31400 _ACEOF
31401
31402 fi
31403 done
31404
31405 else
31406
31407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31408 $as_echo_n "checking for _fmodf declaration... " >&6; }
31409 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31410 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31411 $as_echo_n "(cached) " >&6
31412 else
31413
31414
31415 ac_ext=cpp
31416 ac_cpp='$CXXCPP $CPPFLAGS'
31417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31420
31421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h. */
31423 #include <math.h>
31424 int
31425 main ()
31426 {
31427 _fmodf(0, 0);
31428 ;
31429 return 0;
31430 }
31431 _ACEOF
31432 if ac_fn_cxx_try_compile "$LINENO"; then :
31433 glibcxx_cv_func__fmodf_use=yes
31434 else
31435 glibcxx_cv_func__fmodf_use=no
31436 fi
31437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31443
31444
31445 fi
31446
31447 fi
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31449 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31450
31451 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31452 for ac_func in _fmodf
31453 do :
31454 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31455 if test "x$ac_cv_func__fmodf" = xyes; then :
31456 cat >>confdefs.h <<_ACEOF
31457 #define HAVE__FMODF 1
31458 _ACEOF
31459
31460 fi
31461 done
31462
31463 fi
31464 fi
31465
31466
31467
31468
31469
31470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31471 $as_echo_n "checking for frexpf declaration... " >&6; }
31472 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31473 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31474 $as_echo_n "(cached) " >&6
31475 else
31476
31477
31478 ac_ext=cpp
31479 ac_cpp='$CXXCPP $CPPFLAGS'
31480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31483
31484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31485 /* end confdefs.h. */
31486 #include <math.h>
31487 int
31488 main ()
31489 {
31490 frexpf(0, 0);
31491 ;
31492 return 0;
31493 }
31494 _ACEOF
31495 if ac_fn_cxx_try_compile "$LINENO"; then :
31496 glibcxx_cv_func_frexpf_use=yes
31497 else
31498 glibcxx_cv_func_frexpf_use=no
31499 fi
31500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31501 ac_ext=c
31502 ac_cpp='$CPP $CPPFLAGS'
31503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31506
31507
31508 fi
31509
31510 fi
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31512 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31513
31514 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31515 for ac_func in frexpf
31516 do :
31517 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31518 if test "x$ac_cv_func_frexpf" = xyes; then :
31519 cat >>confdefs.h <<_ACEOF
31520 #define HAVE_FREXPF 1
31521 _ACEOF
31522
31523 fi
31524 done
31525
31526 else
31527
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31529 $as_echo_n "checking for _frexpf declaration... " >&6; }
31530 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31531 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31532 $as_echo_n "(cached) " >&6
31533 else
31534
31535
31536 ac_ext=cpp
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31541
31542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31543 /* end confdefs.h. */
31544 #include <math.h>
31545 int
31546 main ()
31547 {
31548 _frexpf(0, 0);
31549 ;
31550 return 0;
31551 }
31552 _ACEOF
31553 if ac_fn_cxx_try_compile "$LINENO"; then :
31554 glibcxx_cv_func__frexpf_use=yes
31555 else
31556 glibcxx_cv_func__frexpf_use=no
31557 fi
31558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31559 ac_ext=c
31560 ac_cpp='$CPP $CPPFLAGS'
31561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31564
31565
31566 fi
31567
31568 fi
31569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31570 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31571
31572 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31573 for ac_func in _frexpf
31574 do :
31575 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31576 if test "x$ac_cv_func__frexpf" = xyes; then :
31577 cat >>confdefs.h <<_ACEOF
31578 #define HAVE__FREXPF 1
31579 _ACEOF
31580
31581 fi
31582 done
31583
31584 fi
31585 fi
31586
31587
31588
31589
31590
31591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31592 $as_echo_n "checking for hypotf declaration... " >&6; }
31593 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31594 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31595 $as_echo_n "(cached) " >&6
31596 else
31597
31598
31599 ac_ext=cpp
31600 ac_cpp='$CXXCPP $CPPFLAGS'
31601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31604
31605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31606 /* end confdefs.h. */
31607 #include <math.h>
31608 int
31609 main ()
31610 {
31611 hypotf(0, 0);
31612 ;
31613 return 0;
31614 }
31615 _ACEOF
31616 if ac_fn_cxx_try_compile "$LINENO"; then :
31617 glibcxx_cv_func_hypotf_use=yes
31618 else
31619 glibcxx_cv_func_hypotf_use=no
31620 fi
31621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31622 ac_ext=c
31623 ac_cpp='$CPP $CPPFLAGS'
31624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31627
31628
31629 fi
31630
31631 fi
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31633 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31634
31635 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31636 for ac_func in hypotf
31637 do :
31638 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31639 if test "x$ac_cv_func_hypotf" = xyes; then :
31640 cat >>confdefs.h <<_ACEOF
31641 #define HAVE_HYPOTF 1
31642 _ACEOF
31643
31644 fi
31645 done
31646
31647 else
31648
31649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31650 $as_echo_n "checking for _hypotf declaration... " >&6; }
31651 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31652 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31653 $as_echo_n "(cached) " >&6
31654 else
31655
31656
31657 ac_ext=cpp
31658 ac_cpp='$CXXCPP $CPPFLAGS'
31659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31662
31663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31664 /* end confdefs.h. */
31665 #include <math.h>
31666 int
31667 main ()
31668 {
31669 _hypotf(0, 0);
31670 ;
31671 return 0;
31672 }
31673 _ACEOF
31674 if ac_fn_cxx_try_compile "$LINENO"; then :
31675 glibcxx_cv_func__hypotf_use=yes
31676 else
31677 glibcxx_cv_func__hypotf_use=no
31678 fi
31679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31680 ac_ext=c
31681 ac_cpp='$CPP $CPPFLAGS'
31682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31685
31686
31687 fi
31688
31689 fi
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31691 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31692
31693 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31694 for ac_func in _hypotf
31695 do :
31696 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31697 if test "x$ac_cv_func__hypotf" = xyes; then :
31698 cat >>confdefs.h <<_ACEOF
31699 #define HAVE__HYPOTF 1
31700 _ACEOF
31701
31702 fi
31703 done
31704
31705 fi
31706 fi
31707
31708
31709
31710
31711
31712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31713 $as_echo_n "checking for ldexpf declaration... " >&6; }
31714 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31715 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31716 $as_echo_n "(cached) " >&6
31717 else
31718
31719
31720 ac_ext=cpp
31721 ac_cpp='$CXXCPP $CPPFLAGS'
31722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31725
31726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31727 /* end confdefs.h. */
31728 #include <math.h>
31729 int
31730 main ()
31731 {
31732 ldexpf(0, 0);
31733 ;
31734 return 0;
31735 }
31736 _ACEOF
31737 if ac_fn_cxx_try_compile "$LINENO"; then :
31738 glibcxx_cv_func_ldexpf_use=yes
31739 else
31740 glibcxx_cv_func_ldexpf_use=no
31741 fi
31742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31743 ac_ext=c
31744 ac_cpp='$CPP $CPPFLAGS'
31745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31748
31749
31750 fi
31751
31752 fi
31753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31754 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31755
31756 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31757 for ac_func in ldexpf
31758 do :
31759 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31760 if test "x$ac_cv_func_ldexpf" = xyes; then :
31761 cat >>confdefs.h <<_ACEOF
31762 #define HAVE_LDEXPF 1
31763 _ACEOF
31764
31765 fi
31766 done
31767
31768 else
31769
31770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31771 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31772 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31773 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31774 $as_echo_n "(cached) " >&6
31775 else
31776
31777
31778 ac_ext=cpp
31779 ac_cpp='$CXXCPP $CPPFLAGS'
31780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31783
31784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31785 /* end confdefs.h. */
31786 #include <math.h>
31787 int
31788 main ()
31789 {
31790 _ldexpf(0, 0);
31791 ;
31792 return 0;
31793 }
31794 _ACEOF
31795 if ac_fn_cxx_try_compile "$LINENO"; then :
31796 glibcxx_cv_func__ldexpf_use=yes
31797 else
31798 glibcxx_cv_func__ldexpf_use=no
31799 fi
31800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31801 ac_ext=c
31802 ac_cpp='$CPP $CPPFLAGS'
31803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31806
31807
31808 fi
31809
31810 fi
31811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31812 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31813
31814 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31815 for ac_func in _ldexpf
31816 do :
31817 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31818 if test "x$ac_cv_func__ldexpf" = xyes; then :
31819 cat >>confdefs.h <<_ACEOF
31820 #define HAVE__LDEXPF 1
31821 _ACEOF
31822
31823 fi
31824 done
31825
31826 fi
31827 fi
31828
31829
31830
31831
31832
31833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31834 $as_echo_n "checking for logf declaration... " >&6; }
31835 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31836 if ${glibcxx_cv_func_logf_use+:} false; then :
31837 $as_echo_n "(cached) " >&6
31838 else
31839
31840
31841 ac_ext=cpp
31842 ac_cpp='$CXXCPP $CPPFLAGS'
31843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31846
31847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31848 /* end confdefs.h. */
31849 #include <math.h>
31850 #ifdef HAVE_IEEEFP_H
31851 #include <ieeefp.h>
31852 #endif
31853
31854 int
31855 main ()
31856 {
31857 logf(0);
31858 ;
31859 return 0;
31860 }
31861 _ACEOF
31862 if ac_fn_cxx_try_compile "$LINENO"; then :
31863 glibcxx_cv_func_logf_use=yes
31864 else
31865 glibcxx_cv_func_logf_use=no
31866 fi
31867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31868 ac_ext=c
31869 ac_cpp='$CPP $CPPFLAGS'
31870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31873
31874
31875 fi
31876
31877 fi
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31879 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31880
31881 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31882 for ac_func in logf
31883 do :
31884 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31885 if test "x$ac_cv_func_logf" = xyes; then :
31886 cat >>confdefs.h <<_ACEOF
31887 #define HAVE_LOGF 1
31888 _ACEOF
31889
31890 fi
31891 done
31892
31893 else
31894
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31896 $as_echo_n "checking for _logf declaration... " >&6; }
31897 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31898 if ${glibcxx_cv_func__logf_use+:} false; then :
31899 $as_echo_n "(cached) " >&6
31900 else
31901
31902
31903 ac_ext=cpp
31904 ac_cpp='$CXXCPP $CPPFLAGS'
31905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31908
31909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31910 /* end confdefs.h. */
31911 #include <math.h>
31912 #ifdef HAVE_IEEEFP_H
31913 #include <ieeefp.h>
31914 #endif
31915
31916 int
31917 main ()
31918 {
31919 _logf(0);
31920 ;
31921 return 0;
31922 }
31923 _ACEOF
31924 if ac_fn_cxx_try_compile "$LINENO"; then :
31925 glibcxx_cv_func__logf_use=yes
31926 else
31927 glibcxx_cv_func__logf_use=no
31928 fi
31929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31930 ac_ext=c
31931 ac_cpp='$CPP $CPPFLAGS'
31932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31935
31936
31937 fi
31938
31939 fi
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31941 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31942
31943 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31944 for ac_func in _logf
31945 do :
31946 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31947 if test "x$ac_cv_func__logf" = xyes; then :
31948 cat >>confdefs.h <<_ACEOF
31949 #define HAVE__LOGF 1
31950 _ACEOF
31951
31952 fi
31953 done
31954
31955 fi
31956 fi
31957
31958
31959
31960
31961
31962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31963 $as_echo_n "checking for log10f declaration... " >&6; }
31964 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31965 if ${glibcxx_cv_func_log10f_use+:} false; then :
31966 $as_echo_n "(cached) " >&6
31967 else
31968
31969
31970 ac_ext=cpp
31971 ac_cpp='$CXXCPP $CPPFLAGS'
31972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31975
31976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31977 /* end confdefs.h. */
31978 #include <math.h>
31979 #ifdef HAVE_IEEEFP_H
31980 #include <ieeefp.h>
31981 #endif
31982
31983 int
31984 main ()
31985 {
31986 log10f(0);
31987 ;
31988 return 0;
31989 }
31990 _ACEOF
31991 if ac_fn_cxx_try_compile "$LINENO"; then :
31992 glibcxx_cv_func_log10f_use=yes
31993 else
31994 glibcxx_cv_func_log10f_use=no
31995 fi
31996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31997 ac_ext=c
31998 ac_cpp='$CPP $CPPFLAGS'
31999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32002
32003
32004 fi
32005
32006 fi
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32008 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32009
32010 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32011 for ac_func in log10f
32012 do :
32013 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32014 if test "x$ac_cv_func_log10f" = xyes; then :
32015 cat >>confdefs.h <<_ACEOF
32016 #define HAVE_LOG10F 1
32017 _ACEOF
32018
32019 fi
32020 done
32021
32022 else
32023
32024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32025 $as_echo_n "checking for _log10f declaration... " >&6; }
32026 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32027 if ${glibcxx_cv_func__log10f_use+:} false; then :
32028 $as_echo_n "(cached) " >&6
32029 else
32030
32031
32032 ac_ext=cpp
32033 ac_cpp='$CXXCPP $CPPFLAGS'
32034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32037
32038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32039 /* end confdefs.h. */
32040 #include <math.h>
32041 #ifdef HAVE_IEEEFP_H
32042 #include <ieeefp.h>
32043 #endif
32044
32045 int
32046 main ()
32047 {
32048 _log10f(0);
32049 ;
32050 return 0;
32051 }
32052 _ACEOF
32053 if ac_fn_cxx_try_compile "$LINENO"; then :
32054 glibcxx_cv_func__log10f_use=yes
32055 else
32056 glibcxx_cv_func__log10f_use=no
32057 fi
32058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32059 ac_ext=c
32060 ac_cpp='$CPP $CPPFLAGS'
32061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32064
32065
32066 fi
32067
32068 fi
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32070 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32071
32072 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32073 for ac_func in _log10f
32074 do :
32075 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32076 if test "x$ac_cv_func__log10f" = xyes; then :
32077 cat >>confdefs.h <<_ACEOF
32078 #define HAVE__LOG10F 1
32079 _ACEOF
32080
32081 fi
32082 done
32083
32084 fi
32085 fi
32086
32087
32088
32089
32090
32091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32092 $as_echo_n "checking for modff declaration... " >&6; }
32093 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32094 if ${glibcxx_cv_func_modff_use+:} false; then :
32095 $as_echo_n "(cached) " >&6
32096 else
32097
32098
32099 ac_ext=cpp
32100 ac_cpp='$CXXCPP $CPPFLAGS'
32101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32104
32105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32106 /* end confdefs.h. */
32107 #include <math.h>
32108 int
32109 main ()
32110 {
32111 modff(0, 0);
32112 ;
32113 return 0;
32114 }
32115 _ACEOF
32116 if ac_fn_cxx_try_compile "$LINENO"; then :
32117 glibcxx_cv_func_modff_use=yes
32118 else
32119 glibcxx_cv_func_modff_use=no
32120 fi
32121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32122 ac_ext=c
32123 ac_cpp='$CPP $CPPFLAGS'
32124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32127
32128
32129 fi
32130
32131 fi
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32133 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32134
32135 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32136 for ac_func in modff
32137 do :
32138 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32139 if test "x$ac_cv_func_modff" = xyes; then :
32140 cat >>confdefs.h <<_ACEOF
32141 #define HAVE_MODFF 1
32142 _ACEOF
32143
32144 fi
32145 done
32146
32147 else
32148
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32150 $as_echo_n "checking for _modff declaration... " >&6; }
32151 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32152 if ${glibcxx_cv_func__modff_use+:} false; then :
32153 $as_echo_n "(cached) " >&6
32154 else
32155
32156
32157 ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h. */
32165 #include <math.h>
32166 int
32167 main ()
32168 {
32169 _modff(0, 0);
32170 ;
32171 return 0;
32172 }
32173 _ACEOF
32174 if ac_fn_cxx_try_compile "$LINENO"; then :
32175 glibcxx_cv_func__modff_use=yes
32176 else
32177 glibcxx_cv_func__modff_use=no
32178 fi
32179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32180 ac_ext=c
32181 ac_cpp='$CPP $CPPFLAGS'
32182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32185
32186
32187 fi
32188
32189 fi
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32191 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32192
32193 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32194 for ac_func in _modff
32195 do :
32196 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32197 if test "x$ac_cv_func__modff" = xyes; then :
32198 cat >>confdefs.h <<_ACEOF
32199 #define HAVE__MODFF 1
32200 _ACEOF
32201
32202 fi
32203 done
32204
32205 fi
32206 fi
32207
32208
32209
32210
32211
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32213 $as_echo_n "checking for modf declaration... " >&6; }
32214 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32215 if ${glibcxx_cv_func_modf_use+:} false; then :
32216 $as_echo_n "(cached) " >&6
32217 else
32218
32219
32220 ac_ext=cpp
32221 ac_cpp='$CXXCPP $CPPFLAGS'
32222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32225
32226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32227 /* end confdefs.h. */
32228 #include <math.h>
32229 int
32230 main ()
32231 {
32232 modf(0, 0);
32233 ;
32234 return 0;
32235 }
32236 _ACEOF
32237 if ac_fn_cxx_try_compile "$LINENO"; then :
32238 glibcxx_cv_func_modf_use=yes
32239 else
32240 glibcxx_cv_func_modf_use=no
32241 fi
32242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32243 ac_ext=c
32244 ac_cpp='$CPP $CPPFLAGS'
32245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32248
32249
32250 fi
32251
32252 fi
32253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32254 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32255
32256 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32257 for ac_func in modf
32258 do :
32259 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32260 if test "x$ac_cv_func_modf" = xyes; then :
32261 cat >>confdefs.h <<_ACEOF
32262 #define HAVE_MODF 1
32263 _ACEOF
32264
32265 fi
32266 done
32267
32268 else
32269
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32271 $as_echo_n "checking for _modf declaration... " >&6; }
32272 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32273 if ${glibcxx_cv_func__modf_use+:} false; then :
32274 $as_echo_n "(cached) " >&6
32275 else
32276
32277
32278 ac_ext=cpp
32279 ac_cpp='$CXXCPP $CPPFLAGS'
32280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32283
32284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32285 /* end confdefs.h. */
32286 #include <math.h>
32287 int
32288 main ()
32289 {
32290 _modf(0, 0);
32291 ;
32292 return 0;
32293 }
32294 _ACEOF
32295 if ac_fn_cxx_try_compile "$LINENO"; then :
32296 glibcxx_cv_func__modf_use=yes
32297 else
32298 glibcxx_cv_func__modf_use=no
32299 fi
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32301 ac_ext=c
32302 ac_cpp='$CPP $CPPFLAGS'
32303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32306
32307
32308 fi
32309
32310 fi
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32312 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32313
32314 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32315 for ac_func in _modf
32316 do :
32317 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32318 if test "x$ac_cv_func__modf" = xyes; then :
32319 cat >>confdefs.h <<_ACEOF
32320 #define HAVE__MODF 1
32321 _ACEOF
32322
32323 fi
32324 done
32325
32326 fi
32327 fi
32328
32329
32330
32331
32332
32333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32334 $as_echo_n "checking for powf declaration... " >&6; }
32335 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32336 if ${glibcxx_cv_func_powf_use+:} false; then :
32337 $as_echo_n "(cached) " >&6
32338 else
32339
32340
32341 ac_ext=cpp
32342 ac_cpp='$CXXCPP $CPPFLAGS'
32343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32346
32347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32348 /* end confdefs.h. */
32349 #include <math.h>
32350 int
32351 main ()
32352 {
32353 powf(0, 0);
32354 ;
32355 return 0;
32356 }
32357 _ACEOF
32358 if ac_fn_cxx_try_compile "$LINENO"; then :
32359 glibcxx_cv_func_powf_use=yes
32360 else
32361 glibcxx_cv_func_powf_use=no
32362 fi
32363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32364 ac_ext=c
32365 ac_cpp='$CPP $CPPFLAGS'
32366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32369
32370
32371 fi
32372
32373 fi
32374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32375 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32376
32377 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32378 for ac_func in powf
32379 do :
32380 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32381 if test "x$ac_cv_func_powf" = xyes; then :
32382 cat >>confdefs.h <<_ACEOF
32383 #define HAVE_POWF 1
32384 _ACEOF
32385
32386 fi
32387 done
32388
32389 else
32390
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32392 $as_echo_n "checking for _powf declaration... " >&6; }
32393 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32394 if ${glibcxx_cv_func__powf_use+:} false; then :
32395 $as_echo_n "(cached) " >&6
32396 else
32397
32398
32399 ac_ext=cpp
32400 ac_cpp='$CXXCPP $CPPFLAGS'
32401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32404
32405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32406 /* end confdefs.h. */
32407 #include <math.h>
32408 int
32409 main ()
32410 {
32411 _powf(0, 0);
32412 ;
32413 return 0;
32414 }
32415 _ACEOF
32416 if ac_fn_cxx_try_compile "$LINENO"; then :
32417 glibcxx_cv_func__powf_use=yes
32418 else
32419 glibcxx_cv_func__powf_use=no
32420 fi
32421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32422 ac_ext=c
32423 ac_cpp='$CPP $CPPFLAGS'
32424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32427
32428
32429 fi
32430
32431 fi
32432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32433 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32434
32435 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32436 for ac_func in _powf
32437 do :
32438 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32439 if test "x$ac_cv_func__powf" = xyes; then :
32440 cat >>confdefs.h <<_ACEOF
32441 #define HAVE__POWF 1
32442 _ACEOF
32443
32444 fi
32445 done
32446
32447 fi
32448 fi
32449
32450
32451
32452
32453
32454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32455 $as_echo_n "checking for sqrtf declaration... " >&6; }
32456 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32457 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32458 $as_echo_n "(cached) " >&6
32459 else
32460
32461
32462 ac_ext=cpp
32463 ac_cpp='$CXXCPP $CPPFLAGS'
32464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32467
32468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32469 /* end confdefs.h. */
32470 #include <math.h>
32471 #ifdef HAVE_IEEEFP_H
32472 #include <ieeefp.h>
32473 #endif
32474
32475 int
32476 main ()
32477 {
32478 sqrtf(0);
32479 ;
32480 return 0;
32481 }
32482 _ACEOF
32483 if ac_fn_cxx_try_compile "$LINENO"; then :
32484 glibcxx_cv_func_sqrtf_use=yes
32485 else
32486 glibcxx_cv_func_sqrtf_use=no
32487 fi
32488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32489 ac_ext=c
32490 ac_cpp='$CPP $CPPFLAGS'
32491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32494
32495
32496 fi
32497
32498 fi
32499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32500 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32501
32502 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32503 for ac_func in sqrtf
32504 do :
32505 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32506 if test "x$ac_cv_func_sqrtf" = xyes; then :
32507 cat >>confdefs.h <<_ACEOF
32508 #define HAVE_SQRTF 1
32509 _ACEOF
32510
32511 fi
32512 done
32513
32514 else
32515
32516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32517 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32518 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32519 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32520 $as_echo_n "(cached) " >&6
32521 else
32522
32523
32524 ac_ext=cpp
32525 ac_cpp='$CXXCPP $CPPFLAGS'
32526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32529
32530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32531 /* end confdefs.h. */
32532 #include <math.h>
32533 #ifdef HAVE_IEEEFP_H
32534 #include <ieeefp.h>
32535 #endif
32536
32537 int
32538 main ()
32539 {
32540 _sqrtf(0);
32541 ;
32542 return 0;
32543 }
32544 _ACEOF
32545 if ac_fn_cxx_try_compile "$LINENO"; then :
32546 glibcxx_cv_func__sqrtf_use=yes
32547 else
32548 glibcxx_cv_func__sqrtf_use=no
32549 fi
32550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32551 ac_ext=c
32552 ac_cpp='$CPP $CPPFLAGS'
32553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32556
32557
32558 fi
32559
32560 fi
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32562 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32563
32564 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32565 for ac_func in _sqrtf
32566 do :
32567 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32568 if test "x$ac_cv_func__sqrtf" = xyes; then :
32569 cat >>confdefs.h <<_ACEOF
32570 #define HAVE__SQRTF 1
32571 _ACEOF
32572
32573 fi
32574 done
32575
32576 fi
32577 fi
32578
32579
32580
32581
32582
32583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32584 $as_echo_n "checking for sincosf declaration... " >&6; }
32585 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32586 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32587 $as_echo_n "(cached) " >&6
32588 else
32589
32590
32591 ac_ext=cpp
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32596
32597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32598 /* end confdefs.h. */
32599 #include <math.h>
32600 int
32601 main ()
32602 {
32603 sincosf(0, 0, 0);
32604 ;
32605 return 0;
32606 }
32607 _ACEOF
32608 if ac_fn_cxx_try_compile "$LINENO"; then :
32609 glibcxx_cv_func_sincosf_use=yes
32610 else
32611 glibcxx_cv_func_sincosf_use=no
32612 fi
32613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32614 ac_ext=c
32615 ac_cpp='$CPP $CPPFLAGS'
32616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32619
32620
32621 fi
32622
32623 fi
32624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32625 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32626
32627 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32628 for ac_func in sincosf
32629 do :
32630 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32631 if test "x$ac_cv_func_sincosf" = xyes; then :
32632 cat >>confdefs.h <<_ACEOF
32633 #define HAVE_SINCOSF 1
32634 _ACEOF
32635
32636 fi
32637 done
32638
32639 else
32640
32641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32642 $as_echo_n "checking for _sincosf declaration... " >&6; }
32643 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32644 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32645 $as_echo_n "(cached) " >&6
32646 else
32647
32648
32649 ac_ext=cpp
32650 ac_cpp='$CXXCPP $CPPFLAGS'
32651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32654
32655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32656 /* end confdefs.h. */
32657 #include <math.h>
32658 int
32659 main ()
32660 {
32661 _sincosf(0, 0, 0);
32662 ;
32663 return 0;
32664 }
32665 _ACEOF
32666 if ac_fn_cxx_try_compile "$LINENO"; then :
32667 glibcxx_cv_func__sincosf_use=yes
32668 else
32669 glibcxx_cv_func__sincosf_use=no
32670 fi
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32672 ac_ext=c
32673 ac_cpp='$CPP $CPPFLAGS'
32674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32677
32678
32679 fi
32680
32681 fi
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32683 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32684
32685 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32686 for ac_func in _sincosf
32687 do :
32688 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32689 if test "x$ac_cv_func__sincosf" = xyes; then :
32690 cat >>confdefs.h <<_ACEOF
32691 #define HAVE__SINCOSF 1
32692 _ACEOF
32693
32694 fi
32695 done
32696
32697 fi
32698 fi
32699
32700
32701
32702
32703
32704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32705 $as_echo_n "checking for finitef declaration... " >&6; }
32706 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32707 if ${glibcxx_cv_func_finitef_use+:} false; then :
32708 $as_echo_n "(cached) " >&6
32709 else
32710
32711
32712 ac_ext=cpp
32713 ac_cpp='$CXXCPP $CPPFLAGS'
32714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32717
32718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32719 /* end confdefs.h. */
32720 #include <math.h>
32721 #ifdef HAVE_IEEEFP_H
32722 #include <ieeefp.h>
32723 #endif
32724
32725 int
32726 main ()
32727 {
32728 finitef(0);
32729 ;
32730 return 0;
32731 }
32732 _ACEOF
32733 if ac_fn_cxx_try_compile "$LINENO"; then :
32734 glibcxx_cv_func_finitef_use=yes
32735 else
32736 glibcxx_cv_func_finitef_use=no
32737 fi
32738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32739 ac_ext=c
32740 ac_cpp='$CPP $CPPFLAGS'
32741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32744
32745
32746 fi
32747
32748 fi
32749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32750 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32751
32752 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32753 for ac_func in finitef
32754 do :
32755 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32756 if test "x$ac_cv_func_finitef" = xyes; then :
32757 cat >>confdefs.h <<_ACEOF
32758 #define HAVE_FINITEF 1
32759 _ACEOF
32760
32761 fi
32762 done
32763
32764 else
32765
32766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32767 $as_echo_n "checking for _finitef declaration... " >&6; }
32768 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32769 if ${glibcxx_cv_func__finitef_use+:} false; then :
32770 $as_echo_n "(cached) " >&6
32771 else
32772
32773
32774 ac_ext=cpp
32775 ac_cpp='$CXXCPP $CPPFLAGS'
32776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32779
32780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32781 /* end confdefs.h. */
32782 #include <math.h>
32783 #ifdef HAVE_IEEEFP_H
32784 #include <ieeefp.h>
32785 #endif
32786
32787 int
32788 main ()
32789 {
32790 _finitef(0);
32791 ;
32792 return 0;
32793 }
32794 _ACEOF
32795 if ac_fn_cxx_try_compile "$LINENO"; then :
32796 glibcxx_cv_func__finitef_use=yes
32797 else
32798 glibcxx_cv_func__finitef_use=no
32799 fi
32800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32801 ac_ext=c
32802 ac_cpp='$CPP $CPPFLAGS'
32803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32806
32807
32808 fi
32809
32810 fi
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32812 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32813
32814 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32815 for ac_func in _finitef
32816 do :
32817 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32818 if test "x$ac_cv_func__finitef" = xyes; then :
32819 cat >>confdefs.h <<_ACEOF
32820 #define HAVE__FINITEF 1
32821 _ACEOF
32822
32823 fi
32824 done
32825
32826 fi
32827 fi
32828
32829
32830
32831
32832
32833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32834 $as_echo_n "checking for long double trig functions... " >&6; }
32835 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32836 $as_echo_n "(cached) " >&6
32837 else
32838
32839
32840 ac_ext=cpp
32841 ac_cpp='$CXXCPP $CPPFLAGS'
32842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32845
32846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32847 /* end confdefs.h. */
32848 #include <math.h>
32849 int
32850 main ()
32851 {
32852 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32853 ;
32854 return 0;
32855 }
32856 _ACEOF
32857 if ac_fn_cxx_try_compile "$LINENO"; then :
32858 glibcxx_cv_func_long_double_trig_use=yes
32859 else
32860 glibcxx_cv_func_long_double_trig_use=no
32861 fi
32862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863 ac_ext=c
32864 ac_cpp='$CPP $CPPFLAGS'
32865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32868
32869 fi
32870
32871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32872 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32873 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32874 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32875 do :
32876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32879 cat >>confdefs.h <<_ACEOF
32880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32881 _ACEOF
32882
32883 fi
32884 done
32885
32886 else
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32888 $as_echo_n "checking for _long double trig functions... " >&6; }
32889 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32890 $as_echo_n "(cached) " >&6
32891 else
32892
32893
32894 ac_ext=cpp
32895 ac_cpp='$CXXCPP $CPPFLAGS'
32896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32899
32900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32901 /* end confdefs.h. */
32902 #include <math.h>
32903 int
32904 main ()
32905 {
32906 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32907 ;
32908 return 0;
32909 }
32910 _ACEOF
32911 if ac_fn_cxx_try_compile "$LINENO"; then :
32912 glibcxx_cv_func__long_double_trig_use=yes
32913 else
32914 glibcxx_cv_func__long_double_trig_use=no
32915 fi
32916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917 ac_ext=c
32918 ac_cpp='$CPP $CPPFLAGS'
32919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32922
32923 fi
32924
32925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32926 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32927 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32928 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32929 do :
32930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32933 cat >>confdefs.h <<_ACEOF
32934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32935 _ACEOF
32936
32937 fi
32938 done
32939
32940 fi
32941 fi
32942
32943
32944
32945
32946
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32948 $as_echo_n "checking for long double round functions... " >&6; }
32949 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32950 $as_echo_n "(cached) " >&6
32951 else
32952
32953
32954 ac_ext=cpp
32955 ac_cpp='$CXXCPP $CPPFLAGS'
32956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32959
32960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32961 /* end confdefs.h. */
32962 #include <math.h>
32963 int
32964 main ()
32965 {
32966 ceill (0); floorl (0);
32967 ;
32968 return 0;
32969 }
32970 _ACEOF
32971 if ac_fn_cxx_try_compile "$LINENO"; then :
32972 glibcxx_cv_func_long_double_round_use=yes
32973 else
32974 glibcxx_cv_func_long_double_round_use=no
32975 fi
32976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32977 ac_ext=c
32978 ac_cpp='$CPP $CPPFLAGS'
32979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32982
32983 fi
32984
32985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32986 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32987 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32988 for ac_func in ceill floorl
32989 do :
32990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32992 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32993 cat >>confdefs.h <<_ACEOF
32994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32995 _ACEOF
32996
32997 fi
32998 done
32999
33000 else
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33002 $as_echo_n "checking for _long double round functions... " >&6; }
33003 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33004 $as_echo_n "(cached) " >&6
33005 else
33006
33007
33008 ac_ext=cpp
33009 ac_cpp='$CXXCPP $CPPFLAGS'
33010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33013
33014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33015 /* end confdefs.h. */
33016 #include <math.h>
33017 int
33018 main ()
33019 {
33020 _ceill (0); _floorl (0);
33021 ;
33022 return 0;
33023 }
33024 _ACEOF
33025 if ac_fn_cxx_try_compile "$LINENO"; then :
33026 glibcxx_cv_func__long_double_round_use=yes
33027 else
33028 glibcxx_cv_func__long_double_round_use=no
33029 fi
33030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33031 ac_ext=c
33032 ac_cpp='$CPP $CPPFLAGS'
33033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33036
33037 fi
33038
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33040 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33041 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33042 for ac_func in _ceill _floorl
33043 do :
33044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33046 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33049 _ACEOF
33050
33051 fi
33052 done
33053
33054 fi
33055 fi
33056
33057
33058
33059
33060
33061
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33063 $as_echo_n "checking for isnanl declaration... " >&6; }
33064 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33065 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33066 $as_echo_n "(cached) " >&6
33067 else
33068
33069
33070 ac_ext=cpp
33071 ac_cpp='$CXXCPP $CPPFLAGS'
33072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33075
33076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33077 /* end confdefs.h. */
33078 #include <math.h>
33079 #ifdef HAVE_IEEEFP_H
33080 #include <ieeefp.h>
33081 #endif
33082
33083 int
33084 main ()
33085 {
33086 isnanl(0);
33087 ;
33088 return 0;
33089 }
33090 _ACEOF
33091 if ac_fn_cxx_try_compile "$LINENO"; then :
33092 glibcxx_cv_func_isnanl_use=yes
33093 else
33094 glibcxx_cv_func_isnanl_use=no
33095 fi
33096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33097 ac_ext=c
33098 ac_cpp='$CPP $CPPFLAGS'
33099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33102
33103
33104 fi
33105
33106 fi
33107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33108 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33109
33110 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33111 for ac_func in isnanl
33112 do :
33113 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33114 if test "x$ac_cv_func_isnanl" = xyes; then :
33115 cat >>confdefs.h <<_ACEOF
33116 #define HAVE_ISNANL 1
33117 _ACEOF
33118
33119 fi
33120 done
33121
33122 else
33123
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33125 $as_echo_n "checking for _isnanl declaration... " >&6; }
33126 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33127 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33128 $as_echo_n "(cached) " >&6
33129 else
33130
33131
33132 ac_ext=cpp
33133 ac_cpp='$CXXCPP $CPPFLAGS'
33134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33137
33138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33139 /* end confdefs.h. */
33140 #include <math.h>
33141 #ifdef HAVE_IEEEFP_H
33142 #include <ieeefp.h>
33143 #endif
33144
33145 int
33146 main ()
33147 {
33148 _isnanl(0);
33149 ;
33150 return 0;
33151 }
33152 _ACEOF
33153 if ac_fn_cxx_try_compile "$LINENO"; then :
33154 glibcxx_cv_func__isnanl_use=yes
33155 else
33156 glibcxx_cv_func__isnanl_use=no
33157 fi
33158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159 ac_ext=c
33160 ac_cpp='$CPP $CPPFLAGS'
33161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164
33165
33166 fi
33167
33168 fi
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33170 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33171
33172 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33173 for ac_func in _isnanl
33174 do :
33175 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33176 if test "x$ac_cv_func__isnanl" = xyes; then :
33177 cat >>confdefs.h <<_ACEOF
33178 #define HAVE__ISNANL 1
33179 _ACEOF
33180
33181 fi
33182 done
33183
33184 fi
33185 fi
33186
33187
33188
33189
33190
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33192 $as_echo_n "checking for isinfl declaration... " >&6; }
33193 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33194 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33195 $as_echo_n "(cached) " >&6
33196 else
33197
33198
33199 ac_ext=cpp
33200 ac_cpp='$CXXCPP $CPPFLAGS'
33201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33204
33205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33206 /* end confdefs.h. */
33207 #include <math.h>
33208 #ifdef HAVE_IEEEFP_H
33209 #include <ieeefp.h>
33210 #endif
33211
33212 int
33213 main ()
33214 {
33215 isinfl(0);
33216 ;
33217 return 0;
33218 }
33219 _ACEOF
33220 if ac_fn_cxx_try_compile "$LINENO"; then :
33221 glibcxx_cv_func_isinfl_use=yes
33222 else
33223 glibcxx_cv_func_isinfl_use=no
33224 fi
33225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33226 ac_ext=c
33227 ac_cpp='$CPP $CPPFLAGS'
33228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33231
33232
33233 fi
33234
33235 fi
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33237 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33238
33239 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33240 for ac_func in isinfl
33241 do :
33242 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33243 if test "x$ac_cv_func_isinfl" = xyes; then :
33244 cat >>confdefs.h <<_ACEOF
33245 #define HAVE_ISINFL 1
33246 _ACEOF
33247
33248 fi
33249 done
33250
33251 else
33252
33253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33254 $as_echo_n "checking for _isinfl declaration... " >&6; }
33255 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33256 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33257 $as_echo_n "(cached) " >&6
33258 else
33259
33260
33261 ac_ext=cpp
33262 ac_cpp='$CXXCPP $CPPFLAGS'
33263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266
33267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33268 /* end confdefs.h. */
33269 #include <math.h>
33270 #ifdef HAVE_IEEEFP_H
33271 #include <ieeefp.h>
33272 #endif
33273
33274 int
33275 main ()
33276 {
33277 _isinfl(0);
33278 ;
33279 return 0;
33280 }
33281 _ACEOF
33282 if ac_fn_cxx_try_compile "$LINENO"; then :
33283 glibcxx_cv_func__isinfl_use=yes
33284 else
33285 glibcxx_cv_func__isinfl_use=no
33286 fi
33287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33288 ac_ext=c
33289 ac_cpp='$CPP $CPPFLAGS'
33290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33293
33294
33295 fi
33296
33297 fi
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33299 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33300
33301 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33302 for ac_func in _isinfl
33303 do :
33304 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33305 if test "x$ac_cv_func__isinfl" = xyes; then :
33306 cat >>confdefs.h <<_ACEOF
33307 #define HAVE__ISINFL 1
33308 _ACEOF
33309
33310 fi
33311 done
33312
33313 fi
33314 fi
33315
33316
33317
33318
33319
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33321 $as_echo_n "checking for atan2l declaration... " >&6; }
33322 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33323 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33324 $as_echo_n "(cached) " >&6
33325 else
33326
33327
33328 ac_ext=cpp
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33333
33334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33335 /* end confdefs.h. */
33336 #include <math.h>
33337 int
33338 main ()
33339 {
33340 atan2l(0, 0);
33341 ;
33342 return 0;
33343 }
33344 _ACEOF
33345 if ac_fn_cxx_try_compile "$LINENO"; then :
33346 glibcxx_cv_func_atan2l_use=yes
33347 else
33348 glibcxx_cv_func_atan2l_use=no
33349 fi
33350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33351 ac_ext=c
33352 ac_cpp='$CPP $CPPFLAGS'
33353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33356
33357
33358 fi
33359
33360 fi
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33362 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33363
33364 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33365 for ac_func in atan2l
33366 do :
33367 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33368 if test "x$ac_cv_func_atan2l" = xyes; then :
33369 cat >>confdefs.h <<_ACEOF
33370 #define HAVE_ATAN2L 1
33371 _ACEOF
33372
33373 fi
33374 done
33375
33376 else
33377
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33379 $as_echo_n "checking for _atan2l declaration... " >&6; }
33380 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33381 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33382 $as_echo_n "(cached) " >&6
33383 else
33384
33385
33386 ac_ext=cpp
33387 ac_cpp='$CXXCPP $CPPFLAGS'
33388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33391
33392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33393 /* end confdefs.h. */
33394 #include <math.h>
33395 int
33396 main ()
33397 {
33398 _atan2l(0, 0);
33399 ;
33400 return 0;
33401 }
33402 _ACEOF
33403 if ac_fn_cxx_try_compile "$LINENO"; then :
33404 glibcxx_cv_func__atan2l_use=yes
33405 else
33406 glibcxx_cv_func__atan2l_use=no
33407 fi
33408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33409 ac_ext=c
33410 ac_cpp='$CPP $CPPFLAGS'
33411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33414
33415
33416 fi
33417
33418 fi
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33420 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33421
33422 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33423 for ac_func in _atan2l
33424 do :
33425 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33426 if test "x$ac_cv_func__atan2l" = xyes; then :
33427 cat >>confdefs.h <<_ACEOF
33428 #define HAVE__ATAN2L 1
33429 _ACEOF
33430
33431 fi
33432 done
33433
33434 fi
33435 fi
33436
33437
33438
33439
33440
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33442 $as_echo_n "checking for expl declaration... " >&6; }
33443 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33444 if ${glibcxx_cv_func_expl_use+:} false; then :
33445 $as_echo_n "(cached) " >&6
33446 else
33447
33448
33449 ac_ext=cpp
33450 ac_cpp='$CXXCPP $CPPFLAGS'
33451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33454
33455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33456 /* end confdefs.h. */
33457 #include <math.h>
33458 #ifdef HAVE_IEEEFP_H
33459 #include <ieeefp.h>
33460 #endif
33461
33462 int
33463 main ()
33464 {
33465 expl(0);
33466 ;
33467 return 0;
33468 }
33469 _ACEOF
33470 if ac_fn_cxx_try_compile "$LINENO"; then :
33471 glibcxx_cv_func_expl_use=yes
33472 else
33473 glibcxx_cv_func_expl_use=no
33474 fi
33475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33476 ac_ext=c
33477 ac_cpp='$CPP $CPPFLAGS'
33478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33481
33482
33483 fi
33484
33485 fi
33486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33487 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33488
33489 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33490 for ac_func in expl
33491 do :
33492 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33493 if test "x$ac_cv_func_expl" = xyes; then :
33494 cat >>confdefs.h <<_ACEOF
33495 #define HAVE_EXPL 1
33496 _ACEOF
33497
33498 fi
33499 done
33500
33501 else
33502
33503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33504 $as_echo_n "checking for _expl declaration... " >&6; }
33505 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33506 if ${glibcxx_cv_func__expl_use+:} false; then :
33507 $as_echo_n "(cached) " >&6
33508 else
33509
33510
33511 ac_ext=cpp
33512 ac_cpp='$CXXCPP $CPPFLAGS'
33513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33516
33517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33518 /* end confdefs.h. */
33519 #include <math.h>
33520 #ifdef HAVE_IEEEFP_H
33521 #include <ieeefp.h>
33522 #endif
33523
33524 int
33525 main ()
33526 {
33527 _expl(0);
33528 ;
33529 return 0;
33530 }
33531 _ACEOF
33532 if ac_fn_cxx_try_compile "$LINENO"; then :
33533 glibcxx_cv_func__expl_use=yes
33534 else
33535 glibcxx_cv_func__expl_use=no
33536 fi
33537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33538 ac_ext=c
33539 ac_cpp='$CPP $CPPFLAGS'
33540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33543
33544
33545 fi
33546
33547 fi
33548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33549 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33550
33551 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33552 for ac_func in _expl
33553 do :
33554 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33555 if test "x$ac_cv_func__expl" = xyes; then :
33556 cat >>confdefs.h <<_ACEOF
33557 #define HAVE__EXPL 1
33558 _ACEOF
33559
33560 fi
33561 done
33562
33563 fi
33564 fi
33565
33566
33567
33568
33569
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33571 $as_echo_n "checking for fabsl declaration... " >&6; }
33572 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33573 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33574 $as_echo_n "(cached) " >&6
33575 else
33576
33577
33578 ac_ext=cpp
33579 ac_cpp='$CXXCPP $CPPFLAGS'
33580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33583
33584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33585 /* end confdefs.h. */
33586 #include <math.h>
33587 #ifdef HAVE_IEEEFP_H
33588 #include <ieeefp.h>
33589 #endif
33590
33591 int
33592 main ()
33593 {
33594 fabsl(0);
33595 ;
33596 return 0;
33597 }
33598 _ACEOF
33599 if ac_fn_cxx_try_compile "$LINENO"; then :
33600 glibcxx_cv_func_fabsl_use=yes
33601 else
33602 glibcxx_cv_func_fabsl_use=no
33603 fi
33604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33605 ac_ext=c
33606 ac_cpp='$CPP $CPPFLAGS'
33607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33610
33611
33612 fi
33613
33614 fi
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33616 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33617
33618 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33619 for ac_func in fabsl
33620 do :
33621 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33622 if test "x$ac_cv_func_fabsl" = xyes; then :
33623 cat >>confdefs.h <<_ACEOF
33624 #define HAVE_FABSL 1
33625 _ACEOF
33626
33627 fi
33628 done
33629
33630 else
33631
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33633 $as_echo_n "checking for _fabsl declaration... " >&6; }
33634 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33635 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33636 $as_echo_n "(cached) " >&6
33637 else
33638
33639
33640 ac_ext=cpp
33641 ac_cpp='$CXXCPP $CPPFLAGS'
33642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33645
33646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33647 /* end confdefs.h. */
33648 #include <math.h>
33649 #ifdef HAVE_IEEEFP_H
33650 #include <ieeefp.h>
33651 #endif
33652
33653 int
33654 main ()
33655 {
33656 _fabsl(0);
33657 ;
33658 return 0;
33659 }
33660 _ACEOF
33661 if ac_fn_cxx_try_compile "$LINENO"; then :
33662 glibcxx_cv_func__fabsl_use=yes
33663 else
33664 glibcxx_cv_func__fabsl_use=no
33665 fi
33666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33667 ac_ext=c
33668 ac_cpp='$CPP $CPPFLAGS'
33669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33672
33673
33674 fi
33675
33676 fi
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33678 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33679
33680 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33681 for ac_func in _fabsl
33682 do :
33683 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33684 if test "x$ac_cv_func__fabsl" = xyes; then :
33685 cat >>confdefs.h <<_ACEOF
33686 #define HAVE__FABSL 1
33687 _ACEOF
33688
33689 fi
33690 done
33691
33692 fi
33693 fi
33694
33695
33696
33697
33698
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33700 $as_echo_n "checking for fmodl declaration... " >&6; }
33701 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33702 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33703 $as_echo_n "(cached) " >&6
33704 else
33705
33706
33707 ac_ext=cpp
33708 ac_cpp='$CXXCPP $CPPFLAGS'
33709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33712
33713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33714 /* end confdefs.h. */
33715 #include <math.h>
33716 int
33717 main ()
33718 {
33719 fmodl(0, 0);
33720 ;
33721 return 0;
33722 }
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func_fmodl_use=yes
33726 else
33727 glibcxx_cv_func_fmodl_use=no
33728 fi
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735
33736
33737 fi
33738
33739 fi
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33741 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33742
33743 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33744 for ac_func in fmodl
33745 do :
33746 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33747 if test "x$ac_cv_func_fmodl" = xyes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE_FMODL 1
33750 _ACEOF
33751
33752 fi
33753 done
33754
33755 else
33756
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33758 $as_echo_n "checking for _fmodl declaration... " >&6; }
33759 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33760 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33761 $as_echo_n "(cached) " >&6
33762 else
33763
33764
33765 ac_ext=cpp
33766 ac_cpp='$CXXCPP $CPPFLAGS'
33767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33770
33771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33772 /* end confdefs.h. */
33773 #include <math.h>
33774 int
33775 main ()
33776 {
33777 _fmodl(0, 0);
33778 ;
33779 return 0;
33780 }
33781 _ACEOF
33782 if ac_fn_cxx_try_compile "$LINENO"; then :
33783 glibcxx_cv_func__fmodl_use=yes
33784 else
33785 glibcxx_cv_func__fmodl_use=no
33786 fi
33787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33788 ac_ext=c
33789 ac_cpp='$CPP $CPPFLAGS'
33790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33793
33794
33795 fi
33796
33797 fi
33798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33799 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33800
33801 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33802 for ac_func in _fmodl
33803 do :
33804 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33805 if test "x$ac_cv_func__fmodl" = xyes; then :
33806 cat >>confdefs.h <<_ACEOF
33807 #define HAVE__FMODL 1
33808 _ACEOF
33809
33810 fi
33811 done
33812
33813 fi
33814 fi
33815
33816
33817
33818
33819
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33821 $as_echo_n "checking for frexpl declaration... " >&6; }
33822 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33823 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33824 $as_echo_n "(cached) " >&6
33825 else
33826
33827
33828 ac_ext=cpp
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33836 #include <math.h>
33837 int
33838 main ()
33839 {
33840 frexpl(0, 0);
33841 ;
33842 return 0;
33843 }
33844 _ACEOF
33845 if ac_fn_cxx_try_compile "$LINENO"; then :
33846 glibcxx_cv_func_frexpl_use=yes
33847 else
33848 glibcxx_cv_func_frexpl_use=no
33849 fi
33850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=c
33852 ac_cpp='$CPP $CPPFLAGS'
33853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33856
33857
33858 fi
33859
33860 fi
33861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33862 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33863
33864 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33865 for ac_func in frexpl
33866 do :
33867 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33868 if test "x$ac_cv_func_frexpl" = xyes; then :
33869 cat >>confdefs.h <<_ACEOF
33870 #define HAVE_FREXPL 1
33871 _ACEOF
33872
33873 fi
33874 done
33875
33876 else
33877
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33879 $as_echo_n "checking for _frexpl declaration... " >&6; }
33880 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33881 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33882 $as_echo_n "(cached) " >&6
33883 else
33884
33885
33886 ac_ext=cpp
33887 ac_cpp='$CXXCPP $CPPFLAGS'
33888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33891
33892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33893 /* end confdefs.h. */
33894 #include <math.h>
33895 int
33896 main ()
33897 {
33898 _frexpl(0, 0);
33899 ;
33900 return 0;
33901 }
33902 _ACEOF
33903 if ac_fn_cxx_try_compile "$LINENO"; then :
33904 glibcxx_cv_func__frexpl_use=yes
33905 else
33906 glibcxx_cv_func__frexpl_use=no
33907 fi
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909 ac_ext=c
33910 ac_cpp='$CPP $CPPFLAGS'
33911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33914
33915
33916 fi
33917
33918 fi
33919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33920 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33921
33922 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33923 for ac_func in _frexpl
33924 do :
33925 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33926 if test "x$ac_cv_func__frexpl" = xyes; then :
33927 cat >>confdefs.h <<_ACEOF
33928 #define HAVE__FREXPL 1
33929 _ACEOF
33930
33931 fi
33932 done
33933
33934 fi
33935 fi
33936
33937
33938
33939
33940
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33942 $as_echo_n "checking for hypotl declaration... " >&6; }
33943 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33944 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33945 $as_echo_n "(cached) " >&6
33946 else
33947
33948
33949 ac_ext=cpp
33950 ac_cpp='$CXXCPP $CPPFLAGS'
33951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33954
33955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33956 /* end confdefs.h. */
33957 #include <math.h>
33958 int
33959 main ()
33960 {
33961 hypotl(0, 0);
33962 ;
33963 return 0;
33964 }
33965 _ACEOF
33966 if ac_fn_cxx_try_compile "$LINENO"; then :
33967 glibcxx_cv_func_hypotl_use=yes
33968 else
33969 glibcxx_cv_func_hypotl_use=no
33970 fi
33971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33972 ac_ext=c
33973 ac_cpp='$CPP $CPPFLAGS'
33974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33977
33978
33979 fi
33980
33981 fi
33982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33983 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33984
33985 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33986 for ac_func in hypotl
33987 do :
33988 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33989 if test "x$ac_cv_func_hypotl" = xyes; then :
33990 cat >>confdefs.h <<_ACEOF
33991 #define HAVE_HYPOTL 1
33992 _ACEOF
33993
33994 fi
33995 done
33996
33997 else
33998
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34000 $as_echo_n "checking for _hypotl declaration... " >&6; }
34001 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34002 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34003 $as_echo_n "(cached) " >&6
34004 else
34005
34006
34007 ac_ext=cpp
34008 ac_cpp='$CXXCPP $CPPFLAGS'
34009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34012
34013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34014 /* end confdefs.h. */
34015 #include <math.h>
34016 int
34017 main ()
34018 {
34019 _hypotl(0, 0);
34020 ;
34021 return 0;
34022 }
34023 _ACEOF
34024 if ac_fn_cxx_try_compile "$LINENO"; then :
34025 glibcxx_cv_func__hypotl_use=yes
34026 else
34027 glibcxx_cv_func__hypotl_use=no
34028 fi
34029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34030 ac_ext=c
34031 ac_cpp='$CPP $CPPFLAGS'
34032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34035
34036
34037 fi
34038
34039 fi
34040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34041 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34042
34043 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34044 for ac_func in _hypotl
34045 do :
34046 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34047 if test "x$ac_cv_func__hypotl" = xyes; then :
34048 cat >>confdefs.h <<_ACEOF
34049 #define HAVE__HYPOTL 1
34050 _ACEOF
34051
34052 fi
34053 done
34054
34055 fi
34056 fi
34057
34058
34059
34060
34061
34062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34063 $as_echo_n "checking for ldexpl declaration... " >&6; }
34064 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34065 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34066 $as_echo_n "(cached) " >&6
34067 else
34068
34069
34070 ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075
34076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h. */
34078 #include <math.h>
34079 int
34080 main ()
34081 {
34082 ldexpl(0, 0);
34083 ;
34084 return 0;
34085 }
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func_ldexpl_use=yes
34089 else
34090 glibcxx_cv_func_ldexpl_use=no
34091 fi
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34098
34099
34100 fi
34101
34102 fi
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34104 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34105
34106 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34107 for ac_func in ldexpl
34108 do :
34109 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34110 if test "x$ac_cv_func_ldexpl" = xyes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE_LDEXPL 1
34113 _ACEOF
34114
34115 fi
34116 done
34117
34118 else
34119
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34121 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34122 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34123 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34124 $as_echo_n "(cached) " >&6
34125 else
34126
34127
34128 ac_ext=cpp
34129 ac_cpp='$CXXCPP $CPPFLAGS'
34130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34133
34134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34135 /* end confdefs.h. */
34136 #include <math.h>
34137 int
34138 main ()
34139 {
34140 _ldexpl(0, 0);
34141 ;
34142 return 0;
34143 }
34144 _ACEOF
34145 if ac_fn_cxx_try_compile "$LINENO"; then :
34146 glibcxx_cv_func__ldexpl_use=yes
34147 else
34148 glibcxx_cv_func__ldexpl_use=no
34149 fi
34150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34151 ac_ext=c
34152 ac_cpp='$CPP $CPPFLAGS'
34153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34156
34157
34158 fi
34159
34160 fi
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34162 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34163
34164 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34165 for ac_func in _ldexpl
34166 do :
34167 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34168 if test "x$ac_cv_func__ldexpl" = xyes; then :
34169 cat >>confdefs.h <<_ACEOF
34170 #define HAVE__LDEXPL 1
34171 _ACEOF
34172
34173 fi
34174 done
34175
34176 fi
34177 fi
34178
34179
34180
34181
34182
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34184 $as_echo_n "checking for logl declaration... " >&6; }
34185 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34186 if ${glibcxx_cv_func_logl_use+:} false; then :
34187 $as_echo_n "(cached) " >&6
34188 else
34189
34190
34191 ac_ext=cpp
34192 ac_cpp='$CXXCPP $CPPFLAGS'
34193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34196
34197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34198 /* end confdefs.h. */
34199 #include <math.h>
34200 #ifdef HAVE_IEEEFP_H
34201 #include <ieeefp.h>
34202 #endif
34203
34204 int
34205 main ()
34206 {
34207 logl(0);
34208 ;
34209 return 0;
34210 }
34211 _ACEOF
34212 if ac_fn_cxx_try_compile "$LINENO"; then :
34213 glibcxx_cv_func_logl_use=yes
34214 else
34215 glibcxx_cv_func_logl_use=no
34216 fi
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34218 ac_ext=c
34219 ac_cpp='$CPP $CPPFLAGS'
34220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34223
34224
34225 fi
34226
34227 fi
34228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34229 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34230
34231 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34232 for ac_func in logl
34233 do :
34234 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34235 if test "x$ac_cv_func_logl" = xyes; then :
34236 cat >>confdefs.h <<_ACEOF
34237 #define HAVE_LOGL 1
34238 _ACEOF
34239
34240 fi
34241 done
34242
34243 else
34244
34245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34246 $as_echo_n "checking for _logl declaration... " >&6; }
34247 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34248 if ${glibcxx_cv_func__logl_use+:} false; then :
34249 $as_echo_n "(cached) " >&6
34250 else
34251
34252
34253 ac_ext=cpp
34254 ac_cpp='$CXXCPP $CPPFLAGS'
34255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34258
34259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34260 /* end confdefs.h. */
34261 #include <math.h>
34262 #ifdef HAVE_IEEEFP_H
34263 #include <ieeefp.h>
34264 #endif
34265
34266 int
34267 main ()
34268 {
34269 _logl(0);
34270 ;
34271 return 0;
34272 }
34273 _ACEOF
34274 if ac_fn_cxx_try_compile "$LINENO"; then :
34275 glibcxx_cv_func__logl_use=yes
34276 else
34277 glibcxx_cv_func__logl_use=no
34278 fi
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34280 ac_ext=c
34281 ac_cpp='$CPP $CPPFLAGS'
34282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34285
34286
34287 fi
34288
34289 fi
34290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34291 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34292
34293 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34294 for ac_func in _logl
34295 do :
34296 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34297 if test "x$ac_cv_func__logl" = xyes; then :
34298 cat >>confdefs.h <<_ACEOF
34299 #define HAVE__LOGL 1
34300 _ACEOF
34301
34302 fi
34303 done
34304
34305 fi
34306 fi
34307
34308
34309
34310
34311
34312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34313 $as_echo_n "checking for log10l declaration... " >&6; }
34314 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34315 if ${glibcxx_cv_func_log10l_use+:} false; then :
34316 $as_echo_n "(cached) " >&6
34317 else
34318
34319
34320 ac_ext=cpp
34321 ac_cpp='$CXXCPP $CPPFLAGS'
34322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34325
34326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34327 /* end confdefs.h. */
34328 #include <math.h>
34329 #ifdef HAVE_IEEEFP_H
34330 #include <ieeefp.h>
34331 #endif
34332
34333 int
34334 main ()
34335 {
34336 log10l(0);
34337 ;
34338 return 0;
34339 }
34340 _ACEOF
34341 if ac_fn_cxx_try_compile "$LINENO"; then :
34342 glibcxx_cv_func_log10l_use=yes
34343 else
34344 glibcxx_cv_func_log10l_use=no
34345 fi
34346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34347 ac_ext=c
34348 ac_cpp='$CPP $CPPFLAGS'
34349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34352
34353
34354 fi
34355
34356 fi
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34358 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34359
34360 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34361 for ac_func in log10l
34362 do :
34363 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34364 if test "x$ac_cv_func_log10l" = xyes; then :
34365 cat >>confdefs.h <<_ACEOF
34366 #define HAVE_LOG10L 1
34367 _ACEOF
34368
34369 fi
34370 done
34371
34372 else
34373
34374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34375 $as_echo_n "checking for _log10l declaration... " >&6; }
34376 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34377 if ${glibcxx_cv_func__log10l_use+:} false; then :
34378 $as_echo_n "(cached) " >&6
34379 else
34380
34381
34382 ac_ext=cpp
34383 ac_cpp='$CXXCPP $CPPFLAGS'
34384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34387
34388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34389 /* end confdefs.h. */
34390 #include <math.h>
34391 #ifdef HAVE_IEEEFP_H
34392 #include <ieeefp.h>
34393 #endif
34394
34395 int
34396 main ()
34397 {
34398 _log10l(0);
34399 ;
34400 return 0;
34401 }
34402 _ACEOF
34403 if ac_fn_cxx_try_compile "$LINENO"; then :
34404 glibcxx_cv_func__log10l_use=yes
34405 else
34406 glibcxx_cv_func__log10l_use=no
34407 fi
34408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34409 ac_ext=c
34410 ac_cpp='$CPP $CPPFLAGS'
34411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34414
34415
34416 fi
34417
34418 fi
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34420 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34421
34422 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34423 for ac_func in _log10l
34424 do :
34425 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34426 if test "x$ac_cv_func__log10l" = xyes; then :
34427 cat >>confdefs.h <<_ACEOF
34428 #define HAVE__LOG10L 1
34429 _ACEOF
34430
34431 fi
34432 done
34433
34434 fi
34435 fi
34436
34437
34438
34439
34440
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34442 $as_echo_n "checking for modfl declaration... " >&6; }
34443 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34444 if ${glibcxx_cv_func_modfl_use+:} false; then :
34445 $as_echo_n "(cached) " >&6
34446 else
34447
34448
34449 ac_ext=cpp
34450 ac_cpp='$CXXCPP $CPPFLAGS'
34451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34454
34455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34456 /* end confdefs.h. */
34457 #include <math.h>
34458 int
34459 main ()
34460 {
34461 modfl(0, 0);
34462 ;
34463 return 0;
34464 }
34465 _ACEOF
34466 if ac_fn_cxx_try_compile "$LINENO"; then :
34467 glibcxx_cv_func_modfl_use=yes
34468 else
34469 glibcxx_cv_func_modfl_use=no
34470 fi
34471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34472 ac_ext=c
34473 ac_cpp='$CPP $CPPFLAGS'
34474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34477
34478
34479 fi
34480
34481 fi
34482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34483 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34484
34485 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34486 for ac_func in modfl
34487 do :
34488 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34489 if test "x$ac_cv_func_modfl" = xyes; then :
34490 cat >>confdefs.h <<_ACEOF
34491 #define HAVE_MODFL 1
34492 _ACEOF
34493
34494 fi
34495 done
34496
34497 else
34498
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34500 $as_echo_n "checking for _modfl declaration... " >&6; }
34501 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34502 if ${glibcxx_cv_func__modfl_use+:} false; then :
34503 $as_echo_n "(cached) " >&6
34504 else
34505
34506
34507 ac_ext=cpp
34508 ac_cpp='$CXXCPP $CPPFLAGS'
34509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34512
34513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34514 /* end confdefs.h. */
34515 #include <math.h>
34516 int
34517 main ()
34518 {
34519 _modfl(0, 0);
34520 ;
34521 return 0;
34522 }
34523 _ACEOF
34524 if ac_fn_cxx_try_compile "$LINENO"; then :
34525 glibcxx_cv_func__modfl_use=yes
34526 else
34527 glibcxx_cv_func__modfl_use=no
34528 fi
34529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34530 ac_ext=c
34531 ac_cpp='$CPP $CPPFLAGS'
34532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34535
34536
34537 fi
34538
34539 fi
34540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34541 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34542
34543 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34544 for ac_func in _modfl
34545 do :
34546 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34547 if test "x$ac_cv_func__modfl" = xyes; then :
34548 cat >>confdefs.h <<_ACEOF
34549 #define HAVE__MODFL 1
34550 _ACEOF
34551
34552 fi
34553 done
34554
34555 fi
34556 fi
34557
34558
34559
34560
34561
34562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34563 $as_echo_n "checking for powl declaration... " >&6; }
34564 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34565 if ${glibcxx_cv_func_powl_use+:} false; then :
34566 $as_echo_n "(cached) " >&6
34567 else
34568
34569
34570 ac_ext=cpp
34571 ac_cpp='$CXXCPP $CPPFLAGS'
34572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575
34576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34577 /* end confdefs.h. */
34578 #include <math.h>
34579 int
34580 main ()
34581 {
34582 powl(0, 0);
34583 ;
34584 return 0;
34585 }
34586 _ACEOF
34587 if ac_fn_cxx_try_compile "$LINENO"; then :
34588 glibcxx_cv_func_powl_use=yes
34589 else
34590 glibcxx_cv_func_powl_use=no
34591 fi
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593 ac_ext=c
34594 ac_cpp='$CPP $CPPFLAGS'
34595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34598
34599
34600 fi
34601
34602 fi
34603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34604 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34605
34606 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34607 for ac_func in powl
34608 do :
34609 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34610 if test "x$ac_cv_func_powl" = xyes; then :
34611 cat >>confdefs.h <<_ACEOF
34612 #define HAVE_POWL 1
34613 _ACEOF
34614
34615 fi
34616 done
34617
34618 else
34619
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34621 $as_echo_n "checking for _powl declaration... " >&6; }
34622 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34623 if ${glibcxx_cv_func__powl_use+:} false; then :
34624 $as_echo_n "(cached) " >&6
34625 else
34626
34627
34628 ac_ext=cpp
34629 ac_cpp='$CXXCPP $CPPFLAGS'
34630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34633
34634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 /* end confdefs.h. */
34636 #include <math.h>
34637 int
34638 main ()
34639 {
34640 _powl(0, 0);
34641 ;
34642 return 0;
34643 }
34644 _ACEOF
34645 if ac_fn_cxx_try_compile "$LINENO"; then :
34646 glibcxx_cv_func__powl_use=yes
34647 else
34648 glibcxx_cv_func__powl_use=no
34649 fi
34650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34651 ac_ext=c
34652 ac_cpp='$CPP $CPPFLAGS'
34653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34656
34657
34658 fi
34659
34660 fi
34661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34662 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34663
34664 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34665 for ac_func in _powl
34666 do :
34667 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34668 if test "x$ac_cv_func__powl" = xyes; then :
34669 cat >>confdefs.h <<_ACEOF
34670 #define HAVE__POWL 1
34671 _ACEOF
34672
34673 fi
34674 done
34675
34676 fi
34677 fi
34678
34679
34680
34681
34682
34683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34684 $as_echo_n "checking for sqrtl declaration... " >&6; }
34685 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34686 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34687 $as_echo_n "(cached) " >&6
34688 else
34689
34690
34691 ac_ext=cpp
34692 ac_cpp='$CXXCPP $CPPFLAGS'
34693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34696
34697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34698 /* end confdefs.h. */
34699 #include <math.h>
34700 #ifdef HAVE_IEEEFP_H
34701 #include <ieeefp.h>
34702 #endif
34703
34704 int
34705 main ()
34706 {
34707 sqrtl(0);
34708 ;
34709 return 0;
34710 }
34711 _ACEOF
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713 glibcxx_cv_func_sqrtl_use=yes
34714 else
34715 glibcxx_cv_func_sqrtl_use=no
34716 fi
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718 ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34723
34724
34725 fi
34726
34727 fi
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34729 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34730
34731 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34732 for ac_func in sqrtl
34733 do :
34734 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34735 if test "x$ac_cv_func_sqrtl" = xyes; then :
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE_SQRTL 1
34738 _ACEOF
34739
34740 fi
34741 done
34742
34743 else
34744
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34746 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34747 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34748 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34749 $as_echo_n "(cached) " >&6
34750 else
34751
34752
34753 ac_ext=cpp
34754 ac_cpp='$CXXCPP $CPPFLAGS'
34755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34758
34759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34760 /* end confdefs.h. */
34761 #include <math.h>
34762 #ifdef HAVE_IEEEFP_H
34763 #include <ieeefp.h>
34764 #endif
34765
34766 int
34767 main ()
34768 {
34769 _sqrtl(0);
34770 ;
34771 return 0;
34772 }
34773 _ACEOF
34774 if ac_fn_cxx_try_compile "$LINENO"; then :
34775 glibcxx_cv_func__sqrtl_use=yes
34776 else
34777 glibcxx_cv_func__sqrtl_use=no
34778 fi
34779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34780 ac_ext=c
34781 ac_cpp='$CPP $CPPFLAGS'
34782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34785
34786
34787 fi
34788
34789 fi
34790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34791 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34792
34793 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34794 for ac_func in _sqrtl
34795 do :
34796 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34797 if test "x$ac_cv_func__sqrtl" = xyes; then :
34798 cat >>confdefs.h <<_ACEOF
34799 #define HAVE__SQRTL 1
34800 _ACEOF
34801
34802 fi
34803 done
34804
34805 fi
34806 fi
34807
34808
34809
34810
34811
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34813 $as_echo_n "checking for sincosl declaration... " >&6; }
34814 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34815 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34816 $as_echo_n "(cached) " >&6
34817 else
34818
34819
34820 ac_ext=cpp
34821 ac_cpp='$CXXCPP $CPPFLAGS'
34822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34825
34826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34827 /* end confdefs.h. */
34828 #include <math.h>
34829 int
34830 main ()
34831 {
34832 sincosl(0, 0, 0);
34833 ;
34834 return 0;
34835 }
34836 _ACEOF
34837 if ac_fn_cxx_try_compile "$LINENO"; then :
34838 glibcxx_cv_func_sincosl_use=yes
34839 else
34840 glibcxx_cv_func_sincosl_use=no
34841 fi
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843 ac_ext=c
34844 ac_cpp='$CPP $CPPFLAGS'
34845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34848
34849
34850 fi
34851
34852 fi
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34854 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34855
34856 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34857 for ac_func in sincosl
34858 do :
34859 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34860 if test "x$ac_cv_func_sincosl" = xyes; then :
34861 cat >>confdefs.h <<_ACEOF
34862 #define HAVE_SINCOSL 1
34863 _ACEOF
34864
34865 fi
34866 done
34867
34868 else
34869
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34871 $as_echo_n "checking for _sincosl declaration... " >&6; }
34872 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34873 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34876
34877
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34887 int
34888 main ()
34889 {
34890 _sincosl(0, 0, 0);
34891 ;
34892 return 0;
34893 }
34894 _ACEOF
34895 if ac_fn_cxx_try_compile "$LINENO"; then :
34896 glibcxx_cv_func__sincosl_use=yes
34897 else
34898 glibcxx_cv_func__sincosl_use=no
34899 fi
34900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34901 ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34906
34907
34908 fi
34909
34910 fi
34911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34912 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34913
34914 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34915 for ac_func in _sincosl
34916 do :
34917 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34918 if test "x$ac_cv_func__sincosl" = xyes; then :
34919 cat >>confdefs.h <<_ACEOF
34920 #define HAVE__SINCOSL 1
34921 _ACEOF
34922
34923 fi
34924 done
34925
34926 fi
34927 fi
34928
34929
34930
34931
34932
34933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34934 $as_echo_n "checking for finitel declaration... " >&6; }
34935 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34936 if ${glibcxx_cv_func_finitel_use+:} false; then :
34937 $as_echo_n "(cached) " >&6
34938 else
34939
34940
34941 ac_ext=cpp
34942 ac_cpp='$CXXCPP $CPPFLAGS'
34943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34946
34947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34948 /* end confdefs.h. */
34949 #include <math.h>
34950 #ifdef HAVE_IEEEFP_H
34951 #include <ieeefp.h>
34952 #endif
34953
34954 int
34955 main ()
34956 {
34957 finitel(0);
34958 ;
34959 return 0;
34960 }
34961 _ACEOF
34962 if ac_fn_cxx_try_compile "$LINENO"; then :
34963 glibcxx_cv_func_finitel_use=yes
34964 else
34965 glibcxx_cv_func_finitel_use=no
34966 fi
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34968 ac_ext=c
34969 ac_cpp='$CPP $CPPFLAGS'
34970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34973
34974
34975 fi
34976
34977 fi
34978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34979 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34980
34981 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34982 for ac_func in finitel
34983 do :
34984 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34985 if test "x$ac_cv_func_finitel" = xyes; then :
34986 cat >>confdefs.h <<_ACEOF
34987 #define HAVE_FINITEL 1
34988 _ACEOF
34989
34990 fi
34991 done
34992
34993 else
34994
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34996 $as_echo_n "checking for _finitel declaration... " >&6; }
34997 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34998 if ${glibcxx_cv_func__finitel_use+:} false; then :
34999 $as_echo_n "(cached) " >&6
35000 else
35001
35002
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008
35009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011 #include <math.h>
35012 #ifdef HAVE_IEEEFP_H
35013 #include <ieeefp.h>
35014 #endif
35015
35016 int
35017 main ()
35018 {
35019 _finitel(0);
35020 ;
35021 return 0;
35022 }
35023 _ACEOF
35024 if ac_fn_cxx_try_compile "$LINENO"; then :
35025 glibcxx_cv_func__finitel_use=yes
35026 else
35027 glibcxx_cv_func__finitel_use=no
35028 fi
35029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35030 ac_ext=c
35031 ac_cpp='$CPP $CPPFLAGS'
35032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35035
35036
35037 fi
35038
35039 fi
35040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35041 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35042
35043 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35044 for ac_func in _finitel
35045 do :
35046 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35047 if test "x$ac_cv_func__finitel" = xyes; then :
35048 cat >>confdefs.h <<_ACEOF
35049 #define HAVE__FINITEL 1
35050 _ACEOF
35051
35052 fi
35053 done
35054
35055 fi
35056 fi
35057
35058
35059
35060
35061 LIBS="$ac_save_LIBS"
35062 CXXFLAGS="$ac_save_CXXFLAGS"
35063
35064
35065 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35066 ac_save_CXXFLAGS="$CXXFLAGS"
35067 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35068
35069
35070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35071 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35072 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35073 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35074 $as_echo_n "(cached) " >&6
35075 else
35076
35077
35078 ac_ext=cpp
35079 ac_cpp='$CXXCPP $CPPFLAGS'
35080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35083
35084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35085 /* end confdefs.h. */
35086 #include <stdlib.h>
35087 int
35088 main ()
35089 {
35090 at_quick_exit(0);
35091 ;
35092 return 0;
35093 }
35094 _ACEOF
35095 if ac_fn_cxx_try_compile "$LINENO"; then :
35096 glibcxx_cv_func_at_quick_exit_use=yes
35097 else
35098 glibcxx_cv_func_at_quick_exit_use=no
35099 fi
35100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35101 ac_ext=c
35102 ac_cpp='$CPP $CPPFLAGS'
35103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35106
35107
35108 fi
35109
35110 fi
35111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35112 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35113 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35114 for ac_func in at_quick_exit
35115 do :
35116 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35117 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35118 cat >>confdefs.h <<_ACEOF
35119 #define HAVE_AT_QUICK_EXIT 1
35120 _ACEOF
35121
35122 fi
35123 done
35124
35125 fi
35126
35127
35128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35129 $as_echo_n "checking for quick_exit declaration... " >&6; }
35130 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35131 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35132 $as_echo_n "(cached) " >&6
35133 else
35134
35135
35136 ac_ext=cpp
35137 ac_cpp='$CXXCPP $CPPFLAGS'
35138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35141
35142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35143 /* end confdefs.h. */
35144 #include <stdlib.h>
35145 int
35146 main ()
35147 {
35148 quick_exit(0);
35149 ;
35150 return 0;
35151 }
35152 _ACEOF
35153 if ac_fn_cxx_try_compile "$LINENO"; then :
35154 glibcxx_cv_func_quick_exit_use=yes
35155 else
35156 glibcxx_cv_func_quick_exit_use=no
35157 fi
35158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35159 ac_ext=c
35160 ac_cpp='$CPP $CPPFLAGS'
35161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35164
35165
35166 fi
35167
35168 fi
35169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35170 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35171 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35172 for ac_func in quick_exit
35173 do :
35174 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35175 if test "x$ac_cv_func_quick_exit" = xyes; then :
35176 cat >>confdefs.h <<_ACEOF
35177 #define HAVE_QUICK_EXIT 1
35178 _ACEOF
35179
35180 fi
35181 done
35182
35183 fi
35184
35185
35186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35187 $as_echo_n "checking for strtold declaration... " >&6; }
35188 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35189 if ${glibcxx_cv_func_strtold_use+:} false; then :
35190 $as_echo_n "(cached) " >&6
35191 else
35192
35193
35194 ac_ext=cpp
35195 ac_cpp='$CXXCPP $CPPFLAGS'
35196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35199
35200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35201 /* end confdefs.h. */
35202 #include <stdlib.h>
35203 int
35204 main ()
35205 {
35206 strtold(0, 0);
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 if ac_fn_cxx_try_compile "$LINENO"; then :
35212 glibcxx_cv_func_strtold_use=yes
35213 else
35214 glibcxx_cv_func_strtold_use=no
35215 fi
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35217 ac_ext=c
35218 ac_cpp='$CPP $CPPFLAGS'
35219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35222
35223
35224 fi
35225
35226 fi
35227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35228 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35229 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35230 for ac_func in strtold
35231 do :
35232 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35233 if test "x$ac_cv_func_strtold" = xyes; then :
35234 cat >>confdefs.h <<_ACEOF
35235 #define HAVE_STRTOLD 1
35236 _ACEOF
35237
35238 fi
35239 done
35240
35241 fi
35242
35243
35244
35245
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35247 $as_echo_n "checking for strtof declaration... " >&6; }
35248 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35249 if ${glibcxx_cv_func_strtof_use+:} false; then :
35250 $as_echo_n "(cached) " >&6
35251 else
35252
35253
35254 ac_ext=cpp
35255 ac_cpp='$CXXCPP $CPPFLAGS'
35256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35259
35260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35261 /* end confdefs.h. */
35262 #include <stdlib.h>
35263 int
35264 main ()
35265 {
35266 strtof(0, 0);
35267 ;
35268 return 0;
35269 }
35270 _ACEOF
35271 if ac_fn_cxx_try_compile "$LINENO"; then :
35272 glibcxx_cv_func_strtof_use=yes
35273 else
35274 glibcxx_cv_func_strtof_use=no
35275 fi
35276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35277 ac_ext=c
35278 ac_cpp='$CPP $CPPFLAGS'
35279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35282
35283
35284 fi
35285
35286 fi
35287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35288 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35289 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35290 for ac_func in strtof
35291 do :
35292 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35293 if test "x$ac_cv_func_strtof" = xyes; then :
35294 cat >>confdefs.h <<_ACEOF
35295 #define HAVE_STRTOF 1
35296 _ACEOF
35297
35298 fi
35299 done
35300
35301 fi
35302
35303
35304
35305
35306 CXXFLAGS="$ac_save_CXXFLAGS"
35307
35308
35309 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35310
35311 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35312
35313 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35314
35315 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35316
35317
35318 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35319
35320 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35321
35322 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35323
35324 ;;
35325
35326 *-aix*)
35327
35328 # If we're not using GNU ld, then there's no point in even trying these
35329 # tests. Check for that first. We should have already tested for gld
35330 # by now (in libtool), but require it now just to be safe...
35331 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35332 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35333
35334
35335
35336 # The name set by libtool depends on the version of libtool. Shame on us
35337 # for depending on an impl detail, but c'est la vie. Older versions used
35338 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35339 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35340 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35341 # set (hence we're using an older libtool), then set it.
35342 if test x${with_gnu_ld+set} != xset; then
35343 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35344 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35345 with_gnu_ld=no
35346 else
35347 with_gnu_ld=$ac_cv_prog_gnu_ld
35348 fi
35349 fi
35350
35351 # Start by getting the version number. I think the libtool test already
35352 # does some of this, but throws away the result.
35353 glibcxx_ld_is_gold=no
35354 if test x"$with_gnu_ld" = x"yes"; then
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35356 $as_echo_n "checking for ld version... " >&6; }
35357
35358 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35359 glibcxx_ld_is_gold=yes
35360 fi
35361 ldver=`$LD --version 2>/dev/null |
35362 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35363
35364 glibcxx_gnu_ld_version=`echo $ldver | \
35365 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35367 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35368 fi
35369
35370 # Set --gc-sections.
35371 glibcxx_have_gc_sections=no
35372 if test "$glibcxx_ld_is_gold" = "yes"; then
35373 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35374 glibcxx_have_gc_sections=yes
35375 fi
35376 else
35377 glibcxx_gcsections_min_ld=21602
35378 if test x"$with_gnu_ld" = x"yes" &&
35379 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35380 glibcxx_have_gc_sections=yes
35381 fi
35382 fi
35383 if test "$glibcxx_have_gc_sections" = "yes"; then
35384 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35385 # NB: This flag only works reliably after 2.16.1. Configure tests
35386 # for this are difficult, so hard wire a value that should work.
35387
35388 ac_test_CFLAGS="${CFLAGS+set}"
35389 ac_save_CFLAGS="$CFLAGS"
35390 CFLAGS='-Wl,--gc-sections'
35391
35392 # Check for -Wl,--gc-sections
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35394 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35395 if test x$gcc_no_link = xyes; then
35396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35397 fi
35398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35399 /* end confdefs.h. */
35400 int one(void) { return 1; }
35401 int two(void) { return 2; }
35402
35403 int
35404 main ()
35405 {
35406 two();
35407 ;
35408 return 0;
35409 }
35410 _ACEOF
35411 if ac_fn_c_try_link "$LINENO"; then :
35412 ac_gcsections=yes
35413 else
35414 ac_gcsections=no
35415 fi
35416 rm -f core conftest.err conftest.$ac_objext \
35417 conftest$ac_exeext conftest.$ac_ext
35418 if test "$ac_gcsections" = "yes"; then
35419 rm -f conftest.c
35420 touch conftest.c
35421 if $CC -c conftest.c; then
35422 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35423 grep "Warning: gc-sections option ignored" > /dev/null; then
35424 ac_gcsections=no
35425 fi
35426 fi
35427 rm -f conftest.c conftest.o conftest
35428 fi
35429 if test "$ac_gcsections" = "yes"; then
35430 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35431 fi
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35433 $as_echo "$ac_gcsections" >&6; }
35434
35435 if test "$ac_test_CFLAGS" = set; then
35436 CFLAGS="$ac_save_CFLAGS"
35437 else
35438 # this is the suspicious part
35439 CFLAGS=''
35440 fi
35441 fi
35442
35443 # Set -z,relro.
35444 # Note this is only for shared objects.
35445 ac_ld_relro=no
35446 if test x"$with_gnu_ld" = x"yes"; then
35447 # cygwin and mingw uses PE, which has no ELF relro support,
35448 # multi target ld may confuse configure machinery
35449 case "$host" in
35450 *-*-cygwin*)
35451 ;;
35452 *-*-mingw*)
35453 ;;
35454 *)
35455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35456 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35457 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35458 if test -n "$cxx_z_relo"; then
35459 OPT_LDFLAGS="-Wl,-z,relro"
35460 ac_ld_relro=yes
35461 fi
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35463 $as_echo "$ac_ld_relro" >&6; }
35464 esac
35465 fi
35466
35467 # Set linker optimization flags.
35468 if test x"$with_gnu_ld" = x"yes"; then
35469 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35470 fi
35471
35472
35473
35474
35475
35476 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35477 ac_save_CXXFLAGS="$CXXFLAGS"
35478 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35479
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35481 $as_echo_n "checking for sin in -lm... " >&6; }
35482 if ${ac_cv_lib_m_sin+:} false; then :
35483 $as_echo_n "(cached) " >&6
35484 else
35485 ac_check_lib_save_LIBS=$LIBS
35486 LIBS="-lm $LIBS"
35487 if test x$gcc_no_link = xyes; then
35488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35489 fi
35490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35491 /* end confdefs.h. */
35492
35493 /* Override any GCC internal prototype to avoid an error.
35494 Use char because int might match the return type of a GCC
35495 builtin and then its argument prototype would still apply. */
35496 #ifdef __cplusplus
35497 extern "C"
35498 #endif
35499 char sin ();
35500 int
35501 main ()
35502 {
35503 return sin ();
35504 ;
35505 return 0;
35506 }
35507 _ACEOF
35508 if ac_fn_c_try_link "$LINENO"; then :
35509 ac_cv_lib_m_sin=yes
35510 else
35511 ac_cv_lib_m_sin=no
35512 fi
35513 rm -f core conftest.err conftest.$ac_objext \
35514 conftest$ac_exeext conftest.$ac_ext
35515 LIBS=$ac_check_lib_save_LIBS
35516 fi
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35518 $as_echo "$ac_cv_lib_m_sin" >&6; }
35519 if test "x$ac_cv_lib_m_sin" = xyes; then :
35520 libm="-lm"
35521 fi
35522
35523 ac_save_LIBS="$LIBS"
35524 LIBS="$LIBS $libm"
35525
35526
35527
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35529 $as_echo_n "checking for isinf declaration... " >&6; }
35530 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35531 if ${glibcxx_cv_func_isinf_use+:} false; then :
35532 $as_echo_n "(cached) " >&6
35533 else
35534
35535
35536 ac_ext=cpp
35537 ac_cpp='$CXXCPP $CPPFLAGS'
35538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35541
35542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35543 /* end confdefs.h. */
35544 #include <math.h>
35545 #ifdef HAVE_IEEEFP_H
35546 #include <ieeefp.h>
35547 #endif
35548
35549 int
35550 main ()
35551 {
35552 isinf(0);
35553 ;
35554 return 0;
35555 }
35556 _ACEOF
35557 if ac_fn_cxx_try_compile "$LINENO"; then :
35558 glibcxx_cv_func_isinf_use=yes
35559 else
35560 glibcxx_cv_func_isinf_use=no
35561 fi
35562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35563 ac_ext=c
35564 ac_cpp='$CPP $CPPFLAGS'
35565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35568
35569
35570 fi
35571
35572 fi
35573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35574 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35575
35576 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35577 for ac_func in isinf
35578 do :
35579 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35580 if test "x$ac_cv_func_isinf" = xyes; then :
35581 cat >>confdefs.h <<_ACEOF
35582 #define HAVE_ISINF 1
35583 _ACEOF
35584
35585 fi
35586 done
35587
35588 else
35589
35590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35591 $as_echo_n "checking for _isinf declaration... " >&6; }
35592 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35593 if ${glibcxx_cv_func__isinf_use+:} false; then :
35594 $as_echo_n "(cached) " >&6
35595 else
35596
35597
35598 ac_ext=cpp
35599 ac_cpp='$CXXCPP $CPPFLAGS'
35600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35603
35604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35605 /* end confdefs.h. */
35606 #include <math.h>
35607 #ifdef HAVE_IEEEFP_H
35608 #include <ieeefp.h>
35609 #endif
35610
35611 int
35612 main ()
35613 {
35614 _isinf(0);
35615 ;
35616 return 0;
35617 }
35618 _ACEOF
35619 if ac_fn_cxx_try_compile "$LINENO"; then :
35620 glibcxx_cv_func__isinf_use=yes
35621 else
35622 glibcxx_cv_func__isinf_use=no
35623 fi
35624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35625 ac_ext=c
35626 ac_cpp='$CPP $CPPFLAGS'
35627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35630
35631
35632 fi
35633
35634 fi
35635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35636 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35637
35638 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35639 for ac_func in _isinf
35640 do :
35641 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35642 if test "x$ac_cv_func__isinf" = xyes; then :
35643 cat >>confdefs.h <<_ACEOF
35644 #define HAVE__ISINF 1
35645 _ACEOF
35646
35647 fi
35648 done
35649
35650 fi
35651 fi
35652
35653
35654
35655
35656
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35658 $as_echo_n "checking for isnan declaration... " >&6; }
35659 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35660 if ${glibcxx_cv_func_isnan_use+:} false; then :
35661 $as_echo_n "(cached) " >&6
35662 else
35663
35664
35665 ac_ext=cpp
35666 ac_cpp='$CXXCPP $CPPFLAGS'
35667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35670
35671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35672 /* end confdefs.h. */
35673 #include <math.h>
35674 #ifdef HAVE_IEEEFP_H
35675 #include <ieeefp.h>
35676 #endif
35677
35678 int
35679 main ()
35680 {
35681 isnan(0);
35682 ;
35683 return 0;
35684 }
35685 _ACEOF
35686 if ac_fn_cxx_try_compile "$LINENO"; then :
35687 glibcxx_cv_func_isnan_use=yes
35688 else
35689 glibcxx_cv_func_isnan_use=no
35690 fi
35691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35692 ac_ext=c
35693 ac_cpp='$CPP $CPPFLAGS'
35694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35697
35698
35699 fi
35700
35701 fi
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35703 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35704
35705 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35706 for ac_func in isnan
35707 do :
35708 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35709 if test "x$ac_cv_func_isnan" = xyes; then :
35710 cat >>confdefs.h <<_ACEOF
35711 #define HAVE_ISNAN 1
35712 _ACEOF
35713
35714 fi
35715 done
35716
35717 else
35718
35719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35720 $as_echo_n "checking for _isnan declaration... " >&6; }
35721 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35722 if ${glibcxx_cv_func__isnan_use+:} false; then :
35723 $as_echo_n "(cached) " >&6
35724 else
35725
35726
35727 ac_ext=cpp
35728 ac_cpp='$CXXCPP $CPPFLAGS'
35729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35732
35733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35734 /* end confdefs.h. */
35735 #include <math.h>
35736 #ifdef HAVE_IEEEFP_H
35737 #include <ieeefp.h>
35738 #endif
35739
35740 int
35741 main ()
35742 {
35743 _isnan(0);
35744 ;
35745 return 0;
35746 }
35747 _ACEOF
35748 if ac_fn_cxx_try_compile "$LINENO"; then :
35749 glibcxx_cv_func__isnan_use=yes
35750 else
35751 glibcxx_cv_func__isnan_use=no
35752 fi
35753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35754 ac_ext=c
35755 ac_cpp='$CPP $CPPFLAGS'
35756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35759
35760
35761 fi
35762
35763 fi
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35765 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35766
35767 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35768 for ac_func in _isnan
35769 do :
35770 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35771 if test "x$ac_cv_func__isnan" = xyes; then :
35772 cat >>confdefs.h <<_ACEOF
35773 #define HAVE__ISNAN 1
35774 _ACEOF
35775
35776 fi
35777 done
35778
35779 fi
35780 fi
35781
35782
35783
35784
35785
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35787 $as_echo_n "checking for finite declaration... " >&6; }
35788 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35789 if ${glibcxx_cv_func_finite_use+:} false; then :
35790 $as_echo_n "(cached) " >&6
35791 else
35792
35793
35794 ac_ext=cpp
35795 ac_cpp='$CXXCPP $CPPFLAGS'
35796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35799
35800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35801 /* end confdefs.h. */
35802 #include <math.h>
35803 #ifdef HAVE_IEEEFP_H
35804 #include <ieeefp.h>
35805 #endif
35806
35807 int
35808 main ()
35809 {
35810 finite(0);
35811 ;
35812 return 0;
35813 }
35814 _ACEOF
35815 if ac_fn_cxx_try_compile "$LINENO"; then :
35816 glibcxx_cv_func_finite_use=yes
35817 else
35818 glibcxx_cv_func_finite_use=no
35819 fi
35820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35821 ac_ext=c
35822 ac_cpp='$CPP $CPPFLAGS'
35823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35826
35827
35828 fi
35829
35830 fi
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35832 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35833
35834 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35835 for ac_func in finite
35836 do :
35837 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35838 if test "x$ac_cv_func_finite" = xyes; then :
35839 cat >>confdefs.h <<_ACEOF
35840 #define HAVE_FINITE 1
35841 _ACEOF
35842
35843 fi
35844 done
35845
35846 else
35847
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35849 $as_echo_n "checking for _finite declaration... " >&6; }
35850 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35851 if ${glibcxx_cv_func__finite_use+:} false; then :
35852 $as_echo_n "(cached) " >&6
35853 else
35854
35855
35856 ac_ext=cpp
35857 ac_cpp='$CXXCPP $CPPFLAGS'
35858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35861
35862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35863 /* end confdefs.h. */
35864 #include <math.h>
35865 #ifdef HAVE_IEEEFP_H
35866 #include <ieeefp.h>
35867 #endif
35868
35869 int
35870 main ()
35871 {
35872 _finite(0);
35873 ;
35874 return 0;
35875 }
35876 _ACEOF
35877 if ac_fn_cxx_try_compile "$LINENO"; then :
35878 glibcxx_cv_func__finite_use=yes
35879 else
35880 glibcxx_cv_func__finite_use=no
35881 fi
35882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35883 ac_ext=c
35884 ac_cpp='$CPP $CPPFLAGS'
35885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35888
35889
35890 fi
35891
35892 fi
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35894 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35895
35896 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35897 for ac_func in _finite
35898 do :
35899 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35900 if test "x$ac_cv_func__finite" = xyes; then :
35901 cat >>confdefs.h <<_ACEOF
35902 #define HAVE__FINITE 1
35903 _ACEOF
35904
35905 fi
35906 done
35907
35908 fi
35909 fi
35910
35911
35912
35913
35914
35915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35916 $as_echo_n "checking for sincos declaration... " >&6; }
35917 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35918 if ${glibcxx_cv_func_sincos_use+:} false; then :
35919 $as_echo_n "(cached) " >&6
35920 else
35921
35922
35923 ac_ext=cpp
35924 ac_cpp='$CXXCPP $CPPFLAGS'
35925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35928
35929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35930 /* end confdefs.h. */
35931 #include <math.h>
35932 int
35933 main ()
35934 {
35935 sincos(0, 0, 0);
35936 ;
35937 return 0;
35938 }
35939 _ACEOF
35940 if ac_fn_cxx_try_compile "$LINENO"; then :
35941 glibcxx_cv_func_sincos_use=yes
35942 else
35943 glibcxx_cv_func_sincos_use=no
35944 fi
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 ac_ext=c
35947 ac_cpp='$CPP $CPPFLAGS'
35948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35951
35952
35953 fi
35954
35955 fi
35956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35957 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35958
35959 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35960 for ac_func in sincos
35961 do :
35962 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35963 if test "x$ac_cv_func_sincos" = xyes; then :
35964 cat >>confdefs.h <<_ACEOF
35965 #define HAVE_SINCOS 1
35966 _ACEOF
35967
35968 fi
35969 done
35970
35971 else
35972
35973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35974 $as_echo_n "checking for _sincos declaration... " >&6; }
35975 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35976 if ${glibcxx_cv_func__sincos_use+:} false; then :
35977 $as_echo_n "(cached) " >&6
35978 else
35979
35980
35981 ac_ext=cpp
35982 ac_cpp='$CXXCPP $CPPFLAGS'
35983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35986
35987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35988 /* end confdefs.h. */
35989 #include <math.h>
35990 int
35991 main ()
35992 {
35993 _sincos(0, 0, 0);
35994 ;
35995 return 0;
35996 }
35997 _ACEOF
35998 if ac_fn_cxx_try_compile "$LINENO"; then :
35999 glibcxx_cv_func__sincos_use=yes
36000 else
36001 glibcxx_cv_func__sincos_use=no
36002 fi
36003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36004 ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36009
36010
36011 fi
36012
36013 fi
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36015 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36016
36017 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36018 for ac_func in _sincos
36019 do :
36020 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36021 if test "x$ac_cv_func__sincos" = xyes; then :
36022 cat >>confdefs.h <<_ACEOF
36023 #define HAVE__SINCOS 1
36024 _ACEOF
36025
36026 fi
36027 done
36028
36029 fi
36030 fi
36031
36032
36033
36034
36035
36036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36037 $as_echo_n "checking for fpclass declaration... " >&6; }
36038 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36039 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36040 $as_echo_n "(cached) " >&6
36041 else
36042
36043
36044 ac_ext=cpp
36045 ac_cpp='$CXXCPP $CPPFLAGS'
36046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36049
36050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36051 /* end confdefs.h. */
36052 #include <math.h>
36053 #ifdef HAVE_IEEEFP_H
36054 #include <ieeefp.h>
36055 #endif
36056
36057 int
36058 main ()
36059 {
36060 fpclass(0);
36061 ;
36062 return 0;
36063 }
36064 _ACEOF
36065 if ac_fn_cxx_try_compile "$LINENO"; then :
36066 glibcxx_cv_func_fpclass_use=yes
36067 else
36068 glibcxx_cv_func_fpclass_use=no
36069 fi
36070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36071 ac_ext=c
36072 ac_cpp='$CPP $CPPFLAGS'
36073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36076
36077
36078 fi
36079
36080 fi
36081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36082 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36083
36084 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36085 for ac_func in fpclass
36086 do :
36087 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36088 if test "x$ac_cv_func_fpclass" = xyes; then :
36089 cat >>confdefs.h <<_ACEOF
36090 #define HAVE_FPCLASS 1
36091 _ACEOF
36092
36093 fi
36094 done
36095
36096 else
36097
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36099 $as_echo_n "checking for _fpclass declaration... " >&6; }
36100 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36101 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36102 $as_echo_n "(cached) " >&6
36103 else
36104
36105
36106 ac_ext=cpp
36107 ac_cpp='$CXXCPP $CPPFLAGS'
36108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36111
36112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36113 /* end confdefs.h. */
36114 #include <math.h>
36115 #ifdef HAVE_IEEEFP_H
36116 #include <ieeefp.h>
36117 #endif
36118
36119 int
36120 main ()
36121 {
36122 _fpclass(0);
36123 ;
36124 return 0;
36125 }
36126 _ACEOF
36127 if ac_fn_cxx_try_compile "$LINENO"; then :
36128 glibcxx_cv_func__fpclass_use=yes
36129 else
36130 glibcxx_cv_func__fpclass_use=no
36131 fi
36132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36133 ac_ext=c
36134 ac_cpp='$CPP $CPPFLAGS'
36135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36138
36139
36140 fi
36141
36142 fi
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36144 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36145
36146 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36147 for ac_func in _fpclass
36148 do :
36149 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36150 if test "x$ac_cv_func__fpclass" = xyes; then :
36151 cat >>confdefs.h <<_ACEOF
36152 #define HAVE__FPCLASS 1
36153 _ACEOF
36154
36155 fi
36156 done
36157
36158 fi
36159 fi
36160
36161
36162
36163
36164
36165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36166 $as_echo_n "checking for qfpclass declaration... " >&6; }
36167 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36168 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36169 $as_echo_n "(cached) " >&6
36170 else
36171
36172
36173 ac_ext=cpp
36174 ac_cpp='$CXXCPP $CPPFLAGS'
36175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36178
36179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36180 /* end confdefs.h. */
36181 #include <math.h>
36182 #ifdef HAVE_IEEEFP_H
36183 #include <ieeefp.h>
36184 #endif
36185
36186 int
36187 main ()
36188 {
36189 qfpclass(0);
36190 ;
36191 return 0;
36192 }
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func_qfpclass_use=yes
36196 else
36197 glibcxx_cv_func_qfpclass_use=no
36198 fi
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36205
36206
36207 fi
36208
36209 fi
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36211 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36212
36213 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36214 for ac_func in qfpclass
36215 do :
36216 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36217 if test "x$ac_cv_func_qfpclass" = xyes; then :
36218 cat >>confdefs.h <<_ACEOF
36219 #define HAVE_QFPCLASS 1
36220 _ACEOF
36221
36222 fi
36223 done
36224
36225 else
36226
36227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36228 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36229 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36230 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36231 $as_echo_n "(cached) " >&6
36232 else
36233
36234
36235 ac_ext=cpp
36236 ac_cpp='$CXXCPP $CPPFLAGS'
36237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36240
36241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36242 /* end confdefs.h. */
36243 #include <math.h>
36244 #ifdef HAVE_IEEEFP_H
36245 #include <ieeefp.h>
36246 #endif
36247
36248 int
36249 main ()
36250 {
36251 _qfpclass(0);
36252 ;
36253 return 0;
36254 }
36255 _ACEOF
36256 if ac_fn_cxx_try_compile "$LINENO"; then :
36257 glibcxx_cv_func__qfpclass_use=yes
36258 else
36259 glibcxx_cv_func__qfpclass_use=no
36260 fi
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262 ac_ext=c
36263 ac_cpp='$CPP $CPPFLAGS'
36264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36267
36268
36269 fi
36270
36271 fi
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36273 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36274
36275 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36276 for ac_func in _qfpclass
36277 do :
36278 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36279 if test "x$ac_cv_func__qfpclass" = xyes; then :
36280 cat >>confdefs.h <<_ACEOF
36281 #define HAVE__QFPCLASS 1
36282 _ACEOF
36283
36284 fi
36285 done
36286
36287 fi
36288 fi
36289
36290
36291
36292
36293
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36295 $as_echo_n "checking for hypot declaration... " >&6; }
36296 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36297 if ${glibcxx_cv_func_hypot_use+:} false; then :
36298 $as_echo_n "(cached) " >&6
36299 else
36300
36301
36302 ac_ext=cpp
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36307
36308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36309 /* end confdefs.h. */
36310 #include <math.h>
36311 int
36312 main ()
36313 {
36314 hypot(0, 0);
36315 ;
36316 return 0;
36317 }
36318 _ACEOF
36319 if ac_fn_cxx_try_compile "$LINENO"; then :
36320 glibcxx_cv_func_hypot_use=yes
36321 else
36322 glibcxx_cv_func_hypot_use=no
36323 fi
36324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36325 ac_ext=c
36326 ac_cpp='$CPP $CPPFLAGS'
36327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36330
36331
36332 fi
36333
36334 fi
36335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36336 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36337
36338 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36339 for ac_func in hypot
36340 do :
36341 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36342 if test "x$ac_cv_func_hypot" = xyes; then :
36343 cat >>confdefs.h <<_ACEOF
36344 #define HAVE_HYPOT 1
36345 _ACEOF
36346
36347 fi
36348 done
36349
36350 else
36351
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36353 $as_echo_n "checking for _hypot declaration... " >&6; }
36354 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36355 if ${glibcxx_cv_func__hypot_use+:} false; then :
36356 $as_echo_n "(cached) " >&6
36357 else
36358
36359
36360 ac_ext=cpp
36361 ac_cpp='$CXXCPP $CPPFLAGS'
36362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36365
36366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36367 /* end confdefs.h. */
36368 #include <math.h>
36369 int
36370 main ()
36371 {
36372 _hypot(0, 0);
36373 ;
36374 return 0;
36375 }
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func__hypot_use=yes
36379 else
36380 glibcxx_cv_func__hypot_use=no
36381 fi
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36388
36389
36390 fi
36391
36392 fi
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36394 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36395
36396 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36397 for ac_func in _hypot
36398 do :
36399 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36400 if test "x$ac_cv_func__hypot" = xyes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE__HYPOT 1
36403 _ACEOF
36404
36405 fi
36406 done
36407
36408 fi
36409 fi
36410
36411
36412
36413
36414
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36416 $as_echo_n "checking for float trig functions... " >&6; }
36417 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36418 $as_echo_n "(cached) " >&6
36419 else
36420
36421
36422 ac_ext=cpp
36423 ac_cpp='$CXXCPP $CPPFLAGS'
36424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36427
36428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36429 /* end confdefs.h. */
36430 #include <math.h>
36431 int
36432 main ()
36433 {
36434 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36435 ;
36436 return 0;
36437 }
36438 _ACEOF
36439 if ac_fn_cxx_try_compile "$LINENO"; then :
36440 glibcxx_cv_func_float_trig_use=yes
36441 else
36442 glibcxx_cv_func_float_trig_use=no
36443 fi
36444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36445 ac_ext=c
36446 ac_cpp='$CPP $CPPFLAGS'
36447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36450
36451 fi
36452
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36454 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36455 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36456 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36457 do :
36458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36461 cat >>confdefs.h <<_ACEOF
36462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36463 _ACEOF
36464
36465 fi
36466 done
36467
36468 else
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36470 $as_echo_n "checking for _float trig functions... " >&6; }
36471 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36472 $as_echo_n "(cached) " >&6
36473 else
36474
36475
36476 ac_ext=cpp
36477 ac_cpp='$CXXCPP $CPPFLAGS'
36478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36481
36482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36483 /* end confdefs.h. */
36484 #include <math.h>
36485 int
36486 main ()
36487 {
36488 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36489 ;
36490 return 0;
36491 }
36492 _ACEOF
36493 if ac_fn_cxx_try_compile "$LINENO"; then :
36494 glibcxx_cv_func__float_trig_use=yes
36495 else
36496 glibcxx_cv_func__float_trig_use=no
36497 fi
36498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36499 ac_ext=c
36500 ac_cpp='$CPP $CPPFLAGS'
36501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36504
36505 fi
36506
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36508 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36509 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36510 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36511 do :
36512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36514 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36515 cat >>confdefs.h <<_ACEOF
36516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36517 _ACEOF
36518
36519 fi
36520 done
36521
36522 fi
36523 fi
36524
36525
36526
36527
36528
36529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36530 $as_echo_n "checking for float round functions... " >&6; }
36531 if ${glibcxx_cv_func_float_round_use+:} false; then :
36532 $as_echo_n "(cached) " >&6
36533 else
36534
36535
36536 ac_ext=cpp
36537 ac_cpp='$CXXCPP $CPPFLAGS'
36538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36541
36542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36543 /* end confdefs.h. */
36544 #include <math.h>
36545 int
36546 main ()
36547 {
36548 ceilf (0); floorf (0);
36549 ;
36550 return 0;
36551 }
36552 _ACEOF
36553 if ac_fn_cxx_try_compile "$LINENO"; then :
36554 glibcxx_cv_func_float_round_use=yes
36555 else
36556 glibcxx_cv_func_float_round_use=no
36557 fi
36558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36559 ac_ext=c
36560 ac_cpp='$CPP $CPPFLAGS'
36561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36564
36565 fi
36566
36567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36568 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36569 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36570 for ac_func in ceilf floorf
36571 do :
36572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36575 cat >>confdefs.h <<_ACEOF
36576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36577 _ACEOF
36578
36579 fi
36580 done
36581
36582 else
36583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36584 $as_echo_n "checking for _float round functions... " >&6; }
36585 if ${glibcxx_cv_func__float_round_use+:} false; then :
36586 $as_echo_n "(cached) " >&6
36587 else
36588
36589
36590 ac_ext=cpp
36591 ac_cpp='$CXXCPP $CPPFLAGS'
36592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36595
36596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36597 /* end confdefs.h. */
36598 #include <math.h>
36599 int
36600 main ()
36601 {
36602 _ceilf (0); _floorf (0);
36603 ;
36604 return 0;
36605 }
36606 _ACEOF
36607 if ac_fn_cxx_try_compile "$LINENO"; then :
36608 glibcxx_cv_func__float_round_use=yes
36609 else
36610 glibcxx_cv_func__float_round_use=no
36611 fi
36612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36613 ac_ext=c
36614 ac_cpp='$CPP $CPPFLAGS'
36615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36618
36619 fi
36620
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36622 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36623 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36624 for ac_func in _ceilf _floorf
36625 do :
36626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36631 _ACEOF
36632
36633 fi
36634 done
36635
36636 fi
36637 fi
36638
36639
36640
36641
36642
36643
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36645 $as_echo_n "checking for expf declaration... " >&6; }
36646 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36647 if ${glibcxx_cv_func_expf_use+:} false; then :
36648 $as_echo_n "(cached) " >&6
36649 else
36650
36651
36652 ac_ext=cpp
36653 ac_cpp='$CXXCPP $CPPFLAGS'
36654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36657
36658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36659 /* end confdefs.h. */
36660 #include <math.h>
36661 #ifdef HAVE_IEEEFP_H
36662 #include <ieeefp.h>
36663 #endif
36664
36665 int
36666 main ()
36667 {
36668 expf(0);
36669 ;
36670 return 0;
36671 }
36672 _ACEOF
36673 if ac_fn_cxx_try_compile "$LINENO"; then :
36674 glibcxx_cv_func_expf_use=yes
36675 else
36676 glibcxx_cv_func_expf_use=no
36677 fi
36678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36679 ac_ext=c
36680 ac_cpp='$CPP $CPPFLAGS'
36681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36684
36685
36686 fi
36687
36688 fi
36689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36690 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36691
36692 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36693 for ac_func in expf
36694 do :
36695 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36696 if test "x$ac_cv_func_expf" = xyes; then :
36697 cat >>confdefs.h <<_ACEOF
36698 #define HAVE_EXPF 1
36699 _ACEOF
36700
36701 fi
36702 done
36703
36704 else
36705
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36707 $as_echo_n "checking for _expf declaration... " >&6; }
36708 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36709 if ${glibcxx_cv_func__expf_use+:} false; then :
36710 $as_echo_n "(cached) " >&6
36711 else
36712
36713
36714 ac_ext=cpp
36715 ac_cpp='$CXXCPP $CPPFLAGS'
36716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36719
36720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36721 /* end confdefs.h. */
36722 #include <math.h>
36723 #ifdef HAVE_IEEEFP_H
36724 #include <ieeefp.h>
36725 #endif
36726
36727 int
36728 main ()
36729 {
36730 _expf(0);
36731 ;
36732 return 0;
36733 }
36734 _ACEOF
36735 if ac_fn_cxx_try_compile "$LINENO"; then :
36736 glibcxx_cv_func__expf_use=yes
36737 else
36738 glibcxx_cv_func__expf_use=no
36739 fi
36740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36741 ac_ext=c
36742 ac_cpp='$CPP $CPPFLAGS'
36743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36746
36747
36748 fi
36749
36750 fi
36751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36752 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36753
36754 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36755 for ac_func in _expf
36756 do :
36757 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36758 if test "x$ac_cv_func__expf" = xyes; then :
36759 cat >>confdefs.h <<_ACEOF
36760 #define HAVE__EXPF 1
36761 _ACEOF
36762
36763 fi
36764 done
36765
36766 fi
36767 fi
36768
36769
36770
36771
36772
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36774 $as_echo_n "checking for isnanf declaration... " >&6; }
36775 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36776 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36777 $as_echo_n "(cached) " >&6
36778 else
36779
36780
36781 ac_ext=cpp
36782 ac_cpp='$CXXCPP $CPPFLAGS'
36783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36786
36787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36788 /* end confdefs.h. */
36789 #include <math.h>
36790 #ifdef HAVE_IEEEFP_H
36791 #include <ieeefp.h>
36792 #endif
36793
36794 int
36795 main ()
36796 {
36797 isnanf(0);
36798 ;
36799 return 0;
36800 }
36801 _ACEOF
36802 if ac_fn_cxx_try_compile "$LINENO"; then :
36803 glibcxx_cv_func_isnanf_use=yes
36804 else
36805 glibcxx_cv_func_isnanf_use=no
36806 fi
36807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36808 ac_ext=c
36809 ac_cpp='$CPP $CPPFLAGS'
36810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36813
36814
36815 fi
36816
36817 fi
36818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36819 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36820
36821 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36822 for ac_func in isnanf
36823 do :
36824 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36825 if test "x$ac_cv_func_isnanf" = xyes; then :
36826 cat >>confdefs.h <<_ACEOF
36827 #define HAVE_ISNANF 1
36828 _ACEOF
36829
36830 fi
36831 done
36832
36833 else
36834
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36836 $as_echo_n "checking for _isnanf declaration... " >&6; }
36837 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36838 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36839 $as_echo_n "(cached) " >&6
36840 else
36841
36842
36843 ac_ext=cpp
36844 ac_cpp='$CXXCPP $CPPFLAGS'
36845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36848
36849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36850 /* end confdefs.h. */
36851 #include <math.h>
36852 #ifdef HAVE_IEEEFP_H
36853 #include <ieeefp.h>
36854 #endif
36855
36856 int
36857 main ()
36858 {
36859 _isnanf(0);
36860 ;
36861 return 0;
36862 }
36863 _ACEOF
36864 if ac_fn_cxx_try_compile "$LINENO"; then :
36865 glibcxx_cv_func__isnanf_use=yes
36866 else
36867 glibcxx_cv_func__isnanf_use=no
36868 fi
36869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870 ac_ext=c
36871 ac_cpp='$CPP $CPPFLAGS'
36872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36875
36876
36877 fi
36878
36879 fi
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36881 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36882
36883 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36884 for ac_func in _isnanf
36885 do :
36886 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36887 if test "x$ac_cv_func__isnanf" = xyes; then :
36888 cat >>confdefs.h <<_ACEOF
36889 #define HAVE__ISNANF 1
36890 _ACEOF
36891
36892 fi
36893 done
36894
36895 fi
36896 fi
36897
36898
36899
36900
36901
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36903 $as_echo_n "checking for isinff declaration... " >&6; }
36904 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36905 if ${glibcxx_cv_func_isinff_use+:} false; then :
36906 $as_echo_n "(cached) " >&6
36907 else
36908
36909
36910 ac_ext=cpp
36911 ac_cpp='$CXXCPP $CPPFLAGS'
36912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36915
36916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36917 /* end confdefs.h. */
36918 #include <math.h>
36919 #ifdef HAVE_IEEEFP_H
36920 #include <ieeefp.h>
36921 #endif
36922
36923 int
36924 main ()
36925 {
36926 isinff(0);
36927 ;
36928 return 0;
36929 }
36930 _ACEOF
36931 if ac_fn_cxx_try_compile "$LINENO"; then :
36932 glibcxx_cv_func_isinff_use=yes
36933 else
36934 glibcxx_cv_func_isinff_use=no
36935 fi
36936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36937 ac_ext=c
36938 ac_cpp='$CPP $CPPFLAGS'
36939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942
36943
36944 fi
36945
36946 fi
36947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36948 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36949
36950 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36951 for ac_func in isinff
36952 do :
36953 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36954 if test "x$ac_cv_func_isinff" = xyes; then :
36955 cat >>confdefs.h <<_ACEOF
36956 #define HAVE_ISINFF 1
36957 _ACEOF
36958
36959 fi
36960 done
36961
36962 else
36963
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36965 $as_echo_n "checking for _isinff declaration... " >&6; }
36966 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36967 if ${glibcxx_cv_func__isinff_use+:} false; then :
36968 $as_echo_n "(cached) " >&6
36969 else
36970
36971
36972 ac_ext=cpp
36973 ac_cpp='$CXXCPP $CPPFLAGS'
36974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36977
36978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36979 /* end confdefs.h. */
36980 #include <math.h>
36981 #ifdef HAVE_IEEEFP_H
36982 #include <ieeefp.h>
36983 #endif
36984
36985 int
36986 main ()
36987 {
36988 _isinff(0);
36989 ;
36990 return 0;
36991 }
36992 _ACEOF
36993 if ac_fn_cxx_try_compile "$LINENO"; then :
36994 glibcxx_cv_func__isinff_use=yes
36995 else
36996 glibcxx_cv_func__isinff_use=no
36997 fi
36998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36999 ac_ext=c
37000 ac_cpp='$CPP $CPPFLAGS'
37001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37004
37005
37006 fi
37007
37008 fi
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37010 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37011
37012 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37013 for ac_func in _isinff
37014 do :
37015 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37016 if test "x$ac_cv_func__isinff" = xyes; then :
37017 cat >>confdefs.h <<_ACEOF
37018 #define HAVE__ISINFF 1
37019 _ACEOF
37020
37021 fi
37022 done
37023
37024 fi
37025 fi
37026
37027
37028
37029
37030
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37032 $as_echo_n "checking for atan2f declaration... " >&6; }
37033 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37034 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37035 $as_echo_n "(cached) " >&6
37036 else
37037
37038
37039 ac_ext=cpp
37040 ac_cpp='$CXXCPP $CPPFLAGS'
37041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37044
37045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37046 /* end confdefs.h. */
37047 #include <math.h>
37048 int
37049 main ()
37050 {
37051 atan2f(0, 0);
37052 ;
37053 return 0;
37054 }
37055 _ACEOF
37056 if ac_fn_cxx_try_compile "$LINENO"; then :
37057 glibcxx_cv_func_atan2f_use=yes
37058 else
37059 glibcxx_cv_func_atan2f_use=no
37060 fi
37061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37062 ac_ext=c
37063 ac_cpp='$CPP $CPPFLAGS'
37064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37067
37068
37069 fi
37070
37071 fi
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37073 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37074
37075 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37076 for ac_func in atan2f
37077 do :
37078 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37079 if test "x$ac_cv_func_atan2f" = xyes; then :
37080 cat >>confdefs.h <<_ACEOF
37081 #define HAVE_ATAN2F 1
37082 _ACEOF
37083
37084 fi
37085 done
37086
37087 else
37088
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37090 $as_echo_n "checking for _atan2f declaration... " >&6; }
37091 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37092 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37093 $as_echo_n "(cached) " >&6
37094 else
37095
37096
37097 ac_ext=cpp
37098 ac_cpp='$CXXCPP $CPPFLAGS'
37099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37102
37103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37104 /* end confdefs.h. */
37105 #include <math.h>
37106 int
37107 main ()
37108 {
37109 _atan2f(0, 0);
37110 ;
37111 return 0;
37112 }
37113 _ACEOF
37114 if ac_fn_cxx_try_compile "$LINENO"; then :
37115 glibcxx_cv_func__atan2f_use=yes
37116 else
37117 glibcxx_cv_func__atan2f_use=no
37118 fi
37119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37120 ac_ext=c
37121 ac_cpp='$CPP $CPPFLAGS'
37122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37125
37126
37127 fi
37128
37129 fi
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37131 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37132
37133 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37134 for ac_func in _atan2f
37135 do :
37136 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37137 if test "x$ac_cv_func__atan2f" = xyes; then :
37138 cat >>confdefs.h <<_ACEOF
37139 #define HAVE__ATAN2F 1
37140 _ACEOF
37141
37142 fi
37143 done
37144
37145 fi
37146 fi
37147
37148
37149
37150
37151
37152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37153 $as_echo_n "checking for fabsf declaration... " >&6; }
37154 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37155 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37156 $as_echo_n "(cached) " >&6
37157 else
37158
37159
37160 ac_ext=cpp
37161 ac_cpp='$CXXCPP $CPPFLAGS'
37162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37165
37166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37167 /* end confdefs.h. */
37168 #include <math.h>
37169 #ifdef HAVE_IEEEFP_H
37170 #include <ieeefp.h>
37171 #endif
37172
37173 int
37174 main ()
37175 {
37176 fabsf(0);
37177 ;
37178 return 0;
37179 }
37180 _ACEOF
37181 if ac_fn_cxx_try_compile "$LINENO"; then :
37182 glibcxx_cv_func_fabsf_use=yes
37183 else
37184 glibcxx_cv_func_fabsf_use=no
37185 fi
37186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37187 ac_ext=c
37188 ac_cpp='$CPP $CPPFLAGS'
37189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37192
37193
37194 fi
37195
37196 fi
37197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37198 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37199
37200 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37201 for ac_func in fabsf
37202 do :
37203 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37204 if test "x$ac_cv_func_fabsf" = xyes; then :
37205 cat >>confdefs.h <<_ACEOF
37206 #define HAVE_FABSF 1
37207 _ACEOF
37208
37209 fi
37210 done
37211
37212 else
37213
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37215 $as_echo_n "checking for _fabsf declaration... " >&6; }
37216 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37217 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37218 $as_echo_n "(cached) " >&6
37219 else
37220
37221
37222 ac_ext=cpp
37223 ac_cpp='$CXXCPP $CPPFLAGS'
37224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37227
37228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37229 /* end confdefs.h. */
37230 #include <math.h>
37231 #ifdef HAVE_IEEEFP_H
37232 #include <ieeefp.h>
37233 #endif
37234
37235 int
37236 main ()
37237 {
37238 _fabsf(0);
37239 ;
37240 return 0;
37241 }
37242 _ACEOF
37243 if ac_fn_cxx_try_compile "$LINENO"; then :
37244 glibcxx_cv_func__fabsf_use=yes
37245 else
37246 glibcxx_cv_func__fabsf_use=no
37247 fi
37248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37249 ac_ext=c
37250 ac_cpp='$CPP $CPPFLAGS'
37251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37254
37255
37256 fi
37257
37258 fi
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37260 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37261
37262 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37263 for ac_func in _fabsf
37264 do :
37265 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37266 if test "x$ac_cv_func__fabsf" = xyes; then :
37267 cat >>confdefs.h <<_ACEOF
37268 #define HAVE__FABSF 1
37269 _ACEOF
37270
37271 fi
37272 done
37273
37274 fi
37275 fi
37276
37277
37278
37279
37280
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37282 $as_echo_n "checking for fmodf declaration... " >&6; }
37283 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37284 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37285 $as_echo_n "(cached) " >&6
37286 else
37287
37288
37289 ac_ext=cpp
37290 ac_cpp='$CXXCPP $CPPFLAGS'
37291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37294
37295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37296 /* end confdefs.h. */
37297 #include <math.h>
37298 int
37299 main ()
37300 {
37301 fmodf(0, 0);
37302 ;
37303 return 0;
37304 }
37305 _ACEOF
37306 if ac_fn_cxx_try_compile "$LINENO"; then :
37307 glibcxx_cv_func_fmodf_use=yes
37308 else
37309 glibcxx_cv_func_fmodf_use=no
37310 fi
37311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37312 ac_ext=c
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37317
37318
37319 fi
37320
37321 fi
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37323 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37324
37325 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37326 for ac_func in fmodf
37327 do :
37328 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37329 if test "x$ac_cv_func_fmodf" = xyes; then :
37330 cat >>confdefs.h <<_ACEOF
37331 #define HAVE_FMODF 1
37332 _ACEOF
37333
37334 fi
37335 done
37336
37337 else
37338
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37340 $as_echo_n "checking for _fmodf declaration... " >&6; }
37341 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37342 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37343 $as_echo_n "(cached) " >&6
37344 else
37345
37346
37347 ac_ext=cpp
37348 ac_cpp='$CXXCPP $CPPFLAGS'
37349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37352
37353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37354 /* end confdefs.h. */
37355 #include <math.h>
37356 int
37357 main ()
37358 {
37359 _fmodf(0, 0);
37360 ;
37361 return 0;
37362 }
37363 _ACEOF
37364 if ac_fn_cxx_try_compile "$LINENO"; then :
37365 glibcxx_cv_func__fmodf_use=yes
37366 else
37367 glibcxx_cv_func__fmodf_use=no
37368 fi
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 ac_ext=c
37371 ac_cpp='$CPP $CPPFLAGS'
37372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37375
37376
37377 fi
37378
37379 fi
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37381 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37382
37383 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37384 for ac_func in _fmodf
37385 do :
37386 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37387 if test "x$ac_cv_func__fmodf" = xyes; then :
37388 cat >>confdefs.h <<_ACEOF
37389 #define HAVE__FMODF 1
37390 _ACEOF
37391
37392 fi
37393 done
37394
37395 fi
37396 fi
37397
37398
37399
37400
37401
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37403 $as_echo_n "checking for frexpf declaration... " >&6; }
37404 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37405 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37406 $as_echo_n "(cached) " >&6
37407 else
37408
37409
37410 ac_ext=cpp
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37415
37416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37417 /* end confdefs.h. */
37418 #include <math.h>
37419 int
37420 main ()
37421 {
37422 frexpf(0, 0);
37423 ;
37424 return 0;
37425 }
37426 _ACEOF
37427 if ac_fn_cxx_try_compile "$LINENO"; then :
37428 glibcxx_cv_func_frexpf_use=yes
37429 else
37430 glibcxx_cv_func_frexpf_use=no
37431 fi
37432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37433 ac_ext=c
37434 ac_cpp='$CPP $CPPFLAGS'
37435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37438
37439
37440 fi
37441
37442 fi
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37444 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37445
37446 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37447 for ac_func in frexpf
37448 do :
37449 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37450 if test "x$ac_cv_func_frexpf" = xyes; then :
37451 cat >>confdefs.h <<_ACEOF
37452 #define HAVE_FREXPF 1
37453 _ACEOF
37454
37455 fi
37456 done
37457
37458 else
37459
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37461 $as_echo_n "checking for _frexpf declaration... " >&6; }
37462 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37463 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37466
37467
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37477 int
37478 main ()
37479 {
37480 _frexpf(0, 0);
37481 ;
37482 return 0;
37483 }
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func__frexpf_use=yes
37487 else
37488 glibcxx_cv_func__frexpf_use=no
37489 fi
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37496
37497
37498 fi
37499
37500 fi
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37502 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37503
37504 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37505 for ac_func in _frexpf
37506 do :
37507 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37508 if test "x$ac_cv_func__frexpf" = xyes; then :
37509 cat >>confdefs.h <<_ACEOF
37510 #define HAVE__FREXPF 1
37511 _ACEOF
37512
37513 fi
37514 done
37515
37516 fi
37517 fi
37518
37519
37520
37521
37522
37523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37524 $as_echo_n "checking for hypotf declaration... " >&6; }
37525 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37526 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37527 $as_echo_n "(cached) " >&6
37528 else
37529
37530
37531 ac_ext=cpp
37532 ac_cpp='$CXXCPP $CPPFLAGS'
37533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37536
37537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37538 /* end confdefs.h. */
37539 #include <math.h>
37540 int
37541 main ()
37542 {
37543 hypotf(0, 0);
37544 ;
37545 return 0;
37546 }
37547 _ACEOF
37548 if ac_fn_cxx_try_compile "$LINENO"; then :
37549 glibcxx_cv_func_hypotf_use=yes
37550 else
37551 glibcxx_cv_func_hypotf_use=no
37552 fi
37553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37554 ac_ext=c
37555 ac_cpp='$CPP $CPPFLAGS'
37556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37559
37560
37561 fi
37562
37563 fi
37564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37565 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37566
37567 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37568 for ac_func in hypotf
37569 do :
37570 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37571 if test "x$ac_cv_func_hypotf" = xyes; then :
37572 cat >>confdefs.h <<_ACEOF
37573 #define HAVE_HYPOTF 1
37574 _ACEOF
37575
37576 fi
37577 done
37578
37579 else
37580
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37582 $as_echo_n "checking for _hypotf declaration... " >&6; }
37583 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37584 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37585 $as_echo_n "(cached) " >&6
37586 else
37587
37588
37589 ac_ext=cpp
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594
37595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37596 /* end confdefs.h. */
37597 #include <math.h>
37598 int
37599 main ()
37600 {
37601 _hypotf(0, 0);
37602 ;
37603 return 0;
37604 }
37605 _ACEOF
37606 if ac_fn_cxx_try_compile "$LINENO"; then :
37607 glibcxx_cv_func__hypotf_use=yes
37608 else
37609 glibcxx_cv_func__hypotf_use=no
37610 fi
37611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37612 ac_ext=c
37613 ac_cpp='$CPP $CPPFLAGS'
37614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37617
37618
37619 fi
37620
37621 fi
37622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37623 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37624
37625 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37626 for ac_func in _hypotf
37627 do :
37628 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37629 if test "x$ac_cv_func__hypotf" = xyes; then :
37630 cat >>confdefs.h <<_ACEOF
37631 #define HAVE__HYPOTF 1
37632 _ACEOF
37633
37634 fi
37635 done
37636
37637 fi
37638 fi
37639
37640
37641
37642
37643
37644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37645 $as_echo_n "checking for ldexpf declaration... " >&6; }
37646 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37647 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37648 $as_echo_n "(cached) " >&6
37649 else
37650
37651
37652 ac_ext=cpp
37653 ac_cpp='$CXXCPP $CPPFLAGS'
37654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37657
37658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37659 /* end confdefs.h. */
37660 #include <math.h>
37661 int
37662 main ()
37663 {
37664 ldexpf(0, 0);
37665 ;
37666 return 0;
37667 }
37668 _ACEOF
37669 if ac_fn_cxx_try_compile "$LINENO"; then :
37670 glibcxx_cv_func_ldexpf_use=yes
37671 else
37672 glibcxx_cv_func_ldexpf_use=no
37673 fi
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37680
37681
37682 fi
37683
37684 fi
37685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37686 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37687
37688 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37689 for ac_func in ldexpf
37690 do :
37691 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37692 if test "x$ac_cv_func_ldexpf" = xyes; then :
37693 cat >>confdefs.h <<_ACEOF
37694 #define HAVE_LDEXPF 1
37695 _ACEOF
37696
37697 fi
37698 done
37699
37700 else
37701
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37703 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37704 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37705 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37706 $as_echo_n "(cached) " >&6
37707 else
37708
37709
37710 ac_ext=cpp
37711 ac_cpp='$CXXCPP $CPPFLAGS'
37712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715
37716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37717 /* end confdefs.h. */
37718 #include <math.h>
37719 int
37720 main ()
37721 {
37722 _ldexpf(0, 0);
37723 ;
37724 return 0;
37725 }
37726 _ACEOF
37727 if ac_fn_cxx_try_compile "$LINENO"; then :
37728 glibcxx_cv_func__ldexpf_use=yes
37729 else
37730 glibcxx_cv_func__ldexpf_use=no
37731 fi
37732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 ac_ext=c
37734 ac_cpp='$CPP $CPPFLAGS'
37735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37738
37739
37740 fi
37741
37742 fi
37743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37744 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37745
37746 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37747 for ac_func in _ldexpf
37748 do :
37749 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37750 if test "x$ac_cv_func__ldexpf" = xyes; then :
37751 cat >>confdefs.h <<_ACEOF
37752 #define HAVE__LDEXPF 1
37753 _ACEOF
37754
37755 fi
37756 done
37757
37758 fi
37759 fi
37760
37761
37762
37763
37764
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37766 $as_echo_n "checking for logf declaration... " >&6; }
37767 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37768 if ${glibcxx_cv_func_logf_use+:} false; then :
37769 $as_echo_n "(cached) " >&6
37770 else
37771
37772
37773 ac_ext=cpp
37774 ac_cpp='$CXXCPP $CPPFLAGS'
37775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37778
37779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37780 /* end confdefs.h. */
37781 #include <math.h>
37782 #ifdef HAVE_IEEEFP_H
37783 #include <ieeefp.h>
37784 #endif
37785
37786 int
37787 main ()
37788 {
37789 logf(0);
37790 ;
37791 return 0;
37792 }
37793 _ACEOF
37794 if ac_fn_cxx_try_compile "$LINENO"; then :
37795 glibcxx_cv_func_logf_use=yes
37796 else
37797 glibcxx_cv_func_logf_use=no
37798 fi
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37800 ac_ext=c
37801 ac_cpp='$CPP $CPPFLAGS'
37802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37805
37806
37807 fi
37808
37809 fi
37810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37811 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37812
37813 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37814 for ac_func in logf
37815 do :
37816 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37817 if test "x$ac_cv_func_logf" = xyes; then :
37818 cat >>confdefs.h <<_ACEOF
37819 #define HAVE_LOGF 1
37820 _ACEOF
37821
37822 fi
37823 done
37824
37825 else
37826
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37828 $as_echo_n "checking for _logf declaration... " >&6; }
37829 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37830 if ${glibcxx_cv_func__logf_use+:} false; then :
37831 $as_echo_n "(cached) " >&6
37832 else
37833
37834
37835 ac_ext=cpp
37836 ac_cpp='$CXXCPP $CPPFLAGS'
37837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37840
37841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37842 /* end confdefs.h. */
37843 #include <math.h>
37844 #ifdef HAVE_IEEEFP_H
37845 #include <ieeefp.h>
37846 #endif
37847
37848 int
37849 main ()
37850 {
37851 _logf(0);
37852 ;
37853 return 0;
37854 }
37855 _ACEOF
37856 if ac_fn_cxx_try_compile "$LINENO"; then :
37857 glibcxx_cv_func__logf_use=yes
37858 else
37859 glibcxx_cv_func__logf_use=no
37860 fi
37861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37862 ac_ext=c
37863 ac_cpp='$CPP $CPPFLAGS'
37864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37867
37868
37869 fi
37870
37871 fi
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37873 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37874
37875 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37876 for ac_func in _logf
37877 do :
37878 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37879 if test "x$ac_cv_func__logf" = xyes; then :
37880 cat >>confdefs.h <<_ACEOF
37881 #define HAVE__LOGF 1
37882 _ACEOF
37883
37884 fi
37885 done
37886
37887 fi
37888 fi
37889
37890
37891
37892
37893
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37895 $as_echo_n "checking for log10f declaration... " >&6; }
37896 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37897 if ${glibcxx_cv_func_log10f_use+:} false; then :
37898 $as_echo_n "(cached) " >&6
37899 else
37900
37901
37902 ac_ext=cpp
37903 ac_cpp='$CXXCPP $CPPFLAGS'
37904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37907
37908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37909 /* end confdefs.h. */
37910 #include <math.h>
37911 #ifdef HAVE_IEEEFP_H
37912 #include <ieeefp.h>
37913 #endif
37914
37915 int
37916 main ()
37917 {
37918 log10f(0);
37919 ;
37920 return 0;
37921 }
37922 _ACEOF
37923 if ac_fn_cxx_try_compile "$LINENO"; then :
37924 glibcxx_cv_func_log10f_use=yes
37925 else
37926 glibcxx_cv_func_log10f_use=no
37927 fi
37928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37929 ac_ext=c
37930 ac_cpp='$CPP $CPPFLAGS'
37931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37934
37935
37936 fi
37937
37938 fi
37939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37940 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37941
37942 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37943 for ac_func in log10f
37944 do :
37945 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37946 if test "x$ac_cv_func_log10f" = xyes; then :
37947 cat >>confdefs.h <<_ACEOF
37948 #define HAVE_LOG10F 1
37949 _ACEOF
37950
37951 fi
37952 done
37953
37954 else
37955
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37957 $as_echo_n "checking for _log10f declaration... " >&6; }
37958 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37959 if ${glibcxx_cv_func__log10f_use+:} false; then :
37960 $as_echo_n "(cached) " >&6
37961 else
37962
37963
37964 ac_ext=cpp
37965 ac_cpp='$CXXCPP $CPPFLAGS'
37966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37969
37970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37971 /* end confdefs.h. */
37972 #include <math.h>
37973 #ifdef HAVE_IEEEFP_H
37974 #include <ieeefp.h>
37975 #endif
37976
37977 int
37978 main ()
37979 {
37980 _log10f(0);
37981 ;
37982 return 0;
37983 }
37984 _ACEOF
37985 if ac_fn_cxx_try_compile "$LINENO"; then :
37986 glibcxx_cv_func__log10f_use=yes
37987 else
37988 glibcxx_cv_func__log10f_use=no
37989 fi
37990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_ext=c
37992 ac_cpp='$CPP $CPPFLAGS'
37993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37996
37997
37998 fi
37999
38000 fi
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38002 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38003
38004 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38005 for ac_func in _log10f
38006 do :
38007 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38008 if test "x$ac_cv_func__log10f" = xyes; then :
38009 cat >>confdefs.h <<_ACEOF
38010 #define HAVE__LOG10F 1
38011 _ACEOF
38012
38013 fi
38014 done
38015
38016 fi
38017 fi
38018
38019
38020
38021
38022
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38024 $as_echo_n "checking for modff declaration... " >&6; }
38025 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38026 if ${glibcxx_cv_func_modff_use+:} false; then :
38027 $as_echo_n "(cached) " >&6
38028 else
38029
38030
38031 ac_ext=cpp
38032 ac_cpp='$CXXCPP $CPPFLAGS'
38033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38036
38037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38038 /* end confdefs.h. */
38039 #include <math.h>
38040 int
38041 main ()
38042 {
38043 modff(0, 0);
38044 ;
38045 return 0;
38046 }
38047 _ACEOF
38048 if ac_fn_cxx_try_compile "$LINENO"; then :
38049 glibcxx_cv_func_modff_use=yes
38050 else
38051 glibcxx_cv_func_modff_use=no
38052 fi
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38054 ac_ext=c
38055 ac_cpp='$CPP $CPPFLAGS'
38056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38059
38060
38061 fi
38062
38063 fi
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38065 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38066
38067 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38068 for ac_func in modff
38069 do :
38070 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38071 if test "x$ac_cv_func_modff" = xyes; then :
38072 cat >>confdefs.h <<_ACEOF
38073 #define HAVE_MODFF 1
38074 _ACEOF
38075
38076 fi
38077 done
38078
38079 else
38080
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38082 $as_echo_n "checking for _modff declaration... " >&6; }
38083 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38084 if ${glibcxx_cv_func__modff_use+:} false; then :
38085 $as_echo_n "(cached) " >&6
38086 else
38087
38088
38089 ac_ext=cpp
38090 ac_cpp='$CXXCPP $CPPFLAGS'
38091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38094
38095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38096 /* end confdefs.h. */
38097 #include <math.h>
38098 int
38099 main ()
38100 {
38101 _modff(0, 0);
38102 ;
38103 return 0;
38104 }
38105 _ACEOF
38106 if ac_fn_cxx_try_compile "$LINENO"; then :
38107 glibcxx_cv_func__modff_use=yes
38108 else
38109 glibcxx_cv_func__modff_use=no
38110 fi
38111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 ac_ext=c
38113 ac_cpp='$CPP $CPPFLAGS'
38114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38117
38118
38119 fi
38120
38121 fi
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38123 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38124
38125 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38126 for ac_func in _modff
38127 do :
38128 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38129 if test "x$ac_cv_func__modff" = xyes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE__MODFF 1
38132 _ACEOF
38133
38134 fi
38135 done
38136
38137 fi
38138 fi
38139
38140
38141
38142
38143
38144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38145 $as_echo_n "checking for modf declaration... " >&6; }
38146 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38147 if ${glibcxx_cv_func_modf_use+:} false; then :
38148 $as_echo_n "(cached) " >&6
38149 else
38150
38151
38152 ac_ext=cpp
38153 ac_cpp='$CXXCPP $CPPFLAGS'
38154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38157
38158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38159 /* end confdefs.h. */
38160 #include <math.h>
38161 int
38162 main ()
38163 {
38164 modf(0, 0);
38165 ;
38166 return 0;
38167 }
38168 _ACEOF
38169 if ac_fn_cxx_try_compile "$LINENO"; then :
38170 glibcxx_cv_func_modf_use=yes
38171 else
38172 glibcxx_cv_func_modf_use=no
38173 fi
38174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38175 ac_ext=c
38176 ac_cpp='$CPP $CPPFLAGS'
38177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38180
38181
38182 fi
38183
38184 fi
38185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38186 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38187
38188 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38189 for ac_func in modf
38190 do :
38191 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38192 if test "x$ac_cv_func_modf" = xyes; then :
38193 cat >>confdefs.h <<_ACEOF
38194 #define HAVE_MODF 1
38195 _ACEOF
38196
38197 fi
38198 done
38199
38200 else
38201
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38203 $as_echo_n "checking for _modf declaration... " >&6; }
38204 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38205 if ${glibcxx_cv_func__modf_use+:} false; then :
38206 $as_echo_n "(cached) " >&6
38207 else
38208
38209
38210 ac_ext=cpp
38211 ac_cpp='$CXXCPP $CPPFLAGS'
38212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38215
38216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38217 /* end confdefs.h. */
38218 #include <math.h>
38219 int
38220 main ()
38221 {
38222 _modf(0, 0);
38223 ;
38224 return 0;
38225 }
38226 _ACEOF
38227 if ac_fn_cxx_try_compile "$LINENO"; then :
38228 glibcxx_cv_func__modf_use=yes
38229 else
38230 glibcxx_cv_func__modf_use=no
38231 fi
38232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38233 ac_ext=c
38234 ac_cpp='$CPP $CPPFLAGS'
38235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38238
38239
38240 fi
38241
38242 fi
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38244 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38245
38246 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38247 for ac_func in _modf
38248 do :
38249 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38250 if test "x$ac_cv_func__modf" = xyes; then :
38251 cat >>confdefs.h <<_ACEOF
38252 #define HAVE__MODF 1
38253 _ACEOF
38254
38255 fi
38256 done
38257
38258 fi
38259 fi
38260
38261
38262
38263
38264
38265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38266 $as_echo_n "checking for powf declaration... " >&6; }
38267 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38268 if ${glibcxx_cv_func_powf_use+:} false; then :
38269 $as_echo_n "(cached) " >&6
38270 else
38271
38272
38273 ac_ext=cpp
38274 ac_cpp='$CXXCPP $CPPFLAGS'
38275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38278
38279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38280 /* end confdefs.h. */
38281 #include <math.h>
38282 int
38283 main ()
38284 {
38285 powf(0, 0);
38286 ;
38287 return 0;
38288 }
38289 _ACEOF
38290 if ac_fn_cxx_try_compile "$LINENO"; then :
38291 glibcxx_cv_func_powf_use=yes
38292 else
38293 glibcxx_cv_func_powf_use=no
38294 fi
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38296 ac_ext=c
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38301
38302
38303 fi
38304
38305 fi
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38307 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38308
38309 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38310 for ac_func in powf
38311 do :
38312 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38313 if test "x$ac_cv_func_powf" = xyes; then :
38314 cat >>confdefs.h <<_ACEOF
38315 #define HAVE_POWF 1
38316 _ACEOF
38317
38318 fi
38319 done
38320
38321 else
38322
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38324 $as_echo_n "checking for _powf declaration... " >&6; }
38325 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38326 if ${glibcxx_cv_func__powf_use+:} false; then :
38327 $as_echo_n "(cached) " >&6
38328 else
38329
38330
38331 ac_ext=cpp
38332 ac_cpp='$CXXCPP $CPPFLAGS'
38333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38336
38337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338 /* end confdefs.h. */
38339 #include <math.h>
38340 int
38341 main ()
38342 {
38343 _powf(0, 0);
38344 ;
38345 return 0;
38346 }
38347 _ACEOF
38348 if ac_fn_cxx_try_compile "$LINENO"; then :
38349 glibcxx_cv_func__powf_use=yes
38350 else
38351 glibcxx_cv_func__powf_use=no
38352 fi
38353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38354 ac_ext=c
38355 ac_cpp='$CPP $CPPFLAGS'
38356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38359
38360
38361 fi
38362
38363 fi
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38365 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38366
38367 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38368 for ac_func in _powf
38369 do :
38370 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38371 if test "x$ac_cv_func__powf" = xyes; then :
38372 cat >>confdefs.h <<_ACEOF
38373 #define HAVE__POWF 1
38374 _ACEOF
38375
38376 fi
38377 done
38378
38379 fi
38380 fi
38381
38382
38383
38384
38385
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38387 $as_echo_n "checking for sqrtf declaration... " >&6; }
38388 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38389 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38390 $as_echo_n "(cached) " >&6
38391 else
38392
38393
38394 ac_ext=cpp
38395 ac_cpp='$CXXCPP $CPPFLAGS'
38396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38399
38400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38401 /* end confdefs.h. */
38402 #include <math.h>
38403 #ifdef HAVE_IEEEFP_H
38404 #include <ieeefp.h>
38405 #endif
38406
38407 int
38408 main ()
38409 {
38410 sqrtf(0);
38411 ;
38412 return 0;
38413 }
38414 _ACEOF
38415 if ac_fn_cxx_try_compile "$LINENO"; then :
38416 glibcxx_cv_func_sqrtf_use=yes
38417 else
38418 glibcxx_cv_func_sqrtf_use=no
38419 fi
38420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38421 ac_ext=c
38422 ac_cpp='$CPP $CPPFLAGS'
38423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38426
38427
38428 fi
38429
38430 fi
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38432 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38433
38434 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38435 for ac_func in sqrtf
38436 do :
38437 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38438 if test "x$ac_cv_func_sqrtf" = xyes; then :
38439 cat >>confdefs.h <<_ACEOF
38440 #define HAVE_SQRTF 1
38441 _ACEOF
38442
38443 fi
38444 done
38445
38446 else
38447
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38449 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38450 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38451 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38452 $as_echo_n "(cached) " >&6
38453 else
38454
38455
38456 ac_ext=cpp
38457 ac_cpp='$CXXCPP $CPPFLAGS'
38458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38461
38462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38463 /* end confdefs.h. */
38464 #include <math.h>
38465 #ifdef HAVE_IEEEFP_H
38466 #include <ieeefp.h>
38467 #endif
38468
38469 int
38470 main ()
38471 {
38472 _sqrtf(0);
38473 ;
38474 return 0;
38475 }
38476 _ACEOF
38477 if ac_fn_cxx_try_compile "$LINENO"; then :
38478 glibcxx_cv_func__sqrtf_use=yes
38479 else
38480 glibcxx_cv_func__sqrtf_use=no
38481 fi
38482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38483 ac_ext=c
38484 ac_cpp='$CPP $CPPFLAGS'
38485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38488
38489
38490 fi
38491
38492 fi
38493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38494 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38495
38496 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38497 for ac_func in _sqrtf
38498 do :
38499 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38500 if test "x$ac_cv_func__sqrtf" = xyes; then :
38501 cat >>confdefs.h <<_ACEOF
38502 #define HAVE__SQRTF 1
38503 _ACEOF
38504
38505 fi
38506 done
38507
38508 fi
38509 fi
38510
38511
38512
38513
38514
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38516 $as_echo_n "checking for sincosf declaration... " >&6; }
38517 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38518 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38519 $as_echo_n "(cached) " >&6
38520 else
38521
38522
38523 ac_ext=cpp
38524 ac_cpp='$CXXCPP $CPPFLAGS'
38525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38528
38529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38530 /* end confdefs.h. */
38531 #include <math.h>
38532 int
38533 main ()
38534 {
38535 sincosf(0, 0, 0);
38536 ;
38537 return 0;
38538 }
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func_sincosf_use=yes
38542 else
38543 glibcxx_cv_func_sincosf_use=no
38544 fi
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38551
38552
38553 fi
38554
38555 fi
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38557 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38558
38559 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38560 for ac_func in sincosf
38561 do :
38562 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38563 if test "x$ac_cv_func_sincosf" = xyes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE_SINCOSF 1
38566 _ACEOF
38567
38568 fi
38569 done
38570
38571 else
38572
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38574 $as_echo_n "checking for _sincosf declaration... " >&6; }
38575 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38576 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38577 $as_echo_n "(cached) " >&6
38578 else
38579
38580
38581 ac_ext=cpp
38582 ac_cpp='$CXXCPP $CPPFLAGS'
38583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38586
38587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38588 /* end confdefs.h. */
38589 #include <math.h>
38590 int
38591 main ()
38592 {
38593 _sincosf(0, 0, 0);
38594 ;
38595 return 0;
38596 }
38597 _ACEOF
38598 if ac_fn_cxx_try_compile "$LINENO"; then :
38599 glibcxx_cv_func__sincosf_use=yes
38600 else
38601 glibcxx_cv_func__sincosf_use=no
38602 fi
38603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38604 ac_ext=c
38605 ac_cpp='$CPP $CPPFLAGS'
38606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38609
38610
38611 fi
38612
38613 fi
38614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38615 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38616
38617 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38618 for ac_func in _sincosf
38619 do :
38620 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38621 if test "x$ac_cv_func__sincosf" = xyes; then :
38622 cat >>confdefs.h <<_ACEOF
38623 #define HAVE__SINCOSF 1
38624 _ACEOF
38625
38626 fi
38627 done
38628
38629 fi
38630 fi
38631
38632
38633
38634
38635
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38637 $as_echo_n "checking for finitef declaration... " >&6; }
38638 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38639 if ${glibcxx_cv_func_finitef_use+:} false; then :
38640 $as_echo_n "(cached) " >&6
38641 else
38642
38643
38644 ac_ext=cpp
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38649
38650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38651 /* end confdefs.h. */
38652 #include <math.h>
38653 #ifdef HAVE_IEEEFP_H
38654 #include <ieeefp.h>
38655 #endif
38656
38657 int
38658 main ()
38659 {
38660 finitef(0);
38661 ;
38662 return 0;
38663 }
38664 _ACEOF
38665 if ac_fn_cxx_try_compile "$LINENO"; then :
38666 glibcxx_cv_func_finitef_use=yes
38667 else
38668 glibcxx_cv_func_finitef_use=no
38669 fi
38670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38671 ac_ext=c
38672 ac_cpp='$CPP $CPPFLAGS'
38673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38676
38677
38678 fi
38679
38680 fi
38681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38682 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38683
38684 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38685 for ac_func in finitef
38686 do :
38687 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38688 if test "x$ac_cv_func_finitef" = xyes; then :
38689 cat >>confdefs.h <<_ACEOF
38690 #define HAVE_FINITEF 1
38691 _ACEOF
38692
38693 fi
38694 done
38695
38696 else
38697
38698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38699 $as_echo_n "checking for _finitef declaration... " >&6; }
38700 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38701 if ${glibcxx_cv_func__finitef_use+:} false; then :
38702 $as_echo_n "(cached) " >&6
38703 else
38704
38705
38706 ac_ext=cpp
38707 ac_cpp='$CXXCPP $CPPFLAGS'
38708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38711
38712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38713 /* end confdefs.h. */
38714 #include <math.h>
38715 #ifdef HAVE_IEEEFP_H
38716 #include <ieeefp.h>
38717 #endif
38718
38719 int
38720 main ()
38721 {
38722 _finitef(0);
38723 ;
38724 return 0;
38725 }
38726 _ACEOF
38727 if ac_fn_cxx_try_compile "$LINENO"; then :
38728 glibcxx_cv_func__finitef_use=yes
38729 else
38730 glibcxx_cv_func__finitef_use=no
38731 fi
38732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38733 ac_ext=c
38734 ac_cpp='$CPP $CPPFLAGS'
38735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38738
38739
38740 fi
38741
38742 fi
38743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38744 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38745
38746 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38747 for ac_func in _finitef
38748 do :
38749 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38750 if test "x$ac_cv_func__finitef" = xyes; then :
38751 cat >>confdefs.h <<_ACEOF
38752 #define HAVE__FINITEF 1
38753 _ACEOF
38754
38755 fi
38756 done
38757
38758 fi
38759 fi
38760
38761
38762
38763
38764
38765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38766 $as_echo_n "checking for long double trig functions... " >&6; }
38767 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38768 $as_echo_n "(cached) " >&6
38769 else
38770
38771
38772 ac_ext=cpp
38773 ac_cpp='$CXXCPP $CPPFLAGS'
38774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38777
38778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38779 /* end confdefs.h. */
38780 #include <math.h>
38781 int
38782 main ()
38783 {
38784 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38785 ;
38786 return 0;
38787 }
38788 _ACEOF
38789 if ac_fn_cxx_try_compile "$LINENO"; then :
38790 glibcxx_cv_func_long_double_trig_use=yes
38791 else
38792 glibcxx_cv_func_long_double_trig_use=no
38793 fi
38794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38795 ac_ext=c
38796 ac_cpp='$CPP $CPPFLAGS'
38797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38800
38801 fi
38802
38803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38804 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38805 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38806 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38807 do :
38808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38811 cat >>confdefs.h <<_ACEOF
38812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38813 _ACEOF
38814
38815 fi
38816 done
38817
38818 else
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38820 $as_echo_n "checking for _long double trig functions... " >&6; }
38821 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38822 $as_echo_n "(cached) " >&6
38823 else
38824
38825
38826 ac_ext=cpp
38827 ac_cpp='$CXXCPP $CPPFLAGS'
38828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38831
38832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38833 /* end confdefs.h. */
38834 #include <math.h>
38835 int
38836 main ()
38837 {
38838 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38839 ;
38840 return 0;
38841 }
38842 _ACEOF
38843 if ac_fn_cxx_try_compile "$LINENO"; then :
38844 glibcxx_cv_func__long_double_trig_use=yes
38845 else
38846 glibcxx_cv_func__long_double_trig_use=no
38847 fi
38848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38849 ac_ext=c
38850 ac_cpp='$CPP $CPPFLAGS'
38851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38854
38855 fi
38856
38857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38858 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38859 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38860 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38861 do :
38862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38865 cat >>confdefs.h <<_ACEOF
38866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38867 _ACEOF
38868
38869 fi
38870 done
38871
38872 fi
38873 fi
38874
38875
38876
38877
38878
38879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38880 $as_echo_n "checking for long double round functions... " >&6; }
38881 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38882 $as_echo_n "(cached) " >&6
38883 else
38884
38885
38886 ac_ext=cpp
38887 ac_cpp='$CXXCPP $CPPFLAGS'
38888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38891
38892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38893 /* end confdefs.h. */
38894 #include <math.h>
38895 int
38896 main ()
38897 {
38898 ceill (0); floorl (0);
38899 ;
38900 return 0;
38901 }
38902 _ACEOF
38903 if ac_fn_cxx_try_compile "$LINENO"; then :
38904 glibcxx_cv_func_long_double_round_use=yes
38905 else
38906 glibcxx_cv_func_long_double_round_use=no
38907 fi
38908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38909 ac_ext=c
38910 ac_cpp='$CPP $CPPFLAGS'
38911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38914
38915 fi
38916
38917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38918 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38919 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38920 for ac_func in ceill floorl
38921 do :
38922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38925 cat >>confdefs.h <<_ACEOF
38926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38927 _ACEOF
38928
38929 fi
38930 done
38931
38932 else
38933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38934 $as_echo_n "checking for _long double round functions... " >&6; }
38935 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38936 $as_echo_n "(cached) " >&6
38937 else
38938
38939
38940 ac_ext=cpp
38941 ac_cpp='$CXXCPP $CPPFLAGS'
38942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38945
38946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38947 /* end confdefs.h. */
38948 #include <math.h>
38949 int
38950 main ()
38951 {
38952 _ceill (0); _floorl (0);
38953 ;
38954 return 0;
38955 }
38956 _ACEOF
38957 if ac_fn_cxx_try_compile "$LINENO"; then :
38958 glibcxx_cv_func__long_double_round_use=yes
38959 else
38960 glibcxx_cv_func__long_double_round_use=no
38961 fi
38962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38963 ac_ext=c
38964 ac_cpp='$CPP $CPPFLAGS'
38965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38968
38969 fi
38970
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38972 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38973 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38974 for ac_func in _ceill _floorl
38975 do :
38976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38979 cat >>confdefs.h <<_ACEOF
38980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38981 _ACEOF
38982
38983 fi
38984 done
38985
38986 fi
38987 fi
38988
38989
38990
38991
38992
38993
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38995 $as_echo_n "checking for isnanl declaration... " >&6; }
38996 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38997 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38998 $as_echo_n "(cached) " >&6
38999 else
39000
39001
39002 ac_ext=cpp
39003 ac_cpp='$CXXCPP $CPPFLAGS'
39004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39007
39008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39009 /* end confdefs.h. */
39010 #include <math.h>
39011 #ifdef HAVE_IEEEFP_H
39012 #include <ieeefp.h>
39013 #endif
39014
39015 int
39016 main ()
39017 {
39018 isnanl(0);
39019 ;
39020 return 0;
39021 }
39022 _ACEOF
39023 if ac_fn_cxx_try_compile "$LINENO"; then :
39024 glibcxx_cv_func_isnanl_use=yes
39025 else
39026 glibcxx_cv_func_isnanl_use=no
39027 fi
39028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39029 ac_ext=c
39030 ac_cpp='$CPP $CPPFLAGS'
39031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39034
39035
39036 fi
39037
39038 fi
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39040 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39041
39042 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39043 for ac_func in isnanl
39044 do :
39045 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39046 if test "x$ac_cv_func_isnanl" = xyes; then :
39047 cat >>confdefs.h <<_ACEOF
39048 #define HAVE_ISNANL 1
39049 _ACEOF
39050
39051 fi
39052 done
39053
39054 else
39055
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39057 $as_echo_n "checking for _isnanl declaration... " >&6; }
39058 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39059 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39060 $as_echo_n "(cached) " >&6
39061 else
39062
39063
39064 ac_ext=cpp
39065 ac_cpp='$CXXCPP $CPPFLAGS'
39066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39069
39070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39071 /* end confdefs.h. */
39072 #include <math.h>
39073 #ifdef HAVE_IEEEFP_H
39074 #include <ieeefp.h>
39075 #endif
39076
39077 int
39078 main ()
39079 {
39080 _isnanl(0);
39081 ;
39082 return 0;
39083 }
39084 _ACEOF
39085 if ac_fn_cxx_try_compile "$LINENO"; then :
39086 glibcxx_cv_func__isnanl_use=yes
39087 else
39088 glibcxx_cv_func__isnanl_use=no
39089 fi
39090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39091 ac_ext=c
39092 ac_cpp='$CPP $CPPFLAGS'
39093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39096
39097
39098 fi
39099
39100 fi
39101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39102 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39103
39104 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39105 for ac_func in _isnanl
39106 do :
39107 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39108 if test "x$ac_cv_func__isnanl" = xyes; then :
39109 cat >>confdefs.h <<_ACEOF
39110 #define HAVE__ISNANL 1
39111 _ACEOF
39112
39113 fi
39114 done
39115
39116 fi
39117 fi
39118
39119
39120
39121
39122
39123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39124 $as_echo_n "checking for isinfl declaration... " >&6; }
39125 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39126 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39127 $as_echo_n "(cached) " >&6
39128 else
39129
39130
39131 ac_ext=cpp
39132 ac_cpp='$CXXCPP $CPPFLAGS'
39133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39136
39137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39138 /* end confdefs.h. */
39139 #include <math.h>
39140 #ifdef HAVE_IEEEFP_H
39141 #include <ieeefp.h>
39142 #endif
39143
39144 int
39145 main ()
39146 {
39147 isinfl(0);
39148 ;
39149 return 0;
39150 }
39151 _ACEOF
39152 if ac_fn_cxx_try_compile "$LINENO"; then :
39153 glibcxx_cv_func_isinfl_use=yes
39154 else
39155 glibcxx_cv_func_isinfl_use=no
39156 fi
39157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39158 ac_ext=c
39159 ac_cpp='$CPP $CPPFLAGS'
39160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39163
39164
39165 fi
39166
39167 fi
39168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39169 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39170
39171 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39172 for ac_func in isinfl
39173 do :
39174 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39175 if test "x$ac_cv_func_isinfl" = xyes; then :
39176 cat >>confdefs.h <<_ACEOF
39177 #define HAVE_ISINFL 1
39178 _ACEOF
39179
39180 fi
39181 done
39182
39183 else
39184
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39186 $as_echo_n "checking for _isinfl declaration... " >&6; }
39187 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39188 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39189 $as_echo_n "(cached) " >&6
39190 else
39191
39192
39193 ac_ext=cpp
39194 ac_cpp='$CXXCPP $CPPFLAGS'
39195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39198
39199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39200 /* end confdefs.h. */
39201 #include <math.h>
39202 #ifdef HAVE_IEEEFP_H
39203 #include <ieeefp.h>
39204 #endif
39205
39206 int
39207 main ()
39208 {
39209 _isinfl(0);
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 if ac_fn_cxx_try_compile "$LINENO"; then :
39215 glibcxx_cv_func__isinfl_use=yes
39216 else
39217 glibcxx_cv_func__isinfl_use=no
39218 fi
39219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39220 ac_ext=c
39221 ac_cpp='$CPP $CPPFLAGS'
39222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39225
39226
39227 fi
39228
39229 fi
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39231 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39232
39233 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39234 for ac_func in _isinfl
39235 do :
39236 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39237 if test "x$ac_cv_func__isinfl" = xyes; then :
39238 cat >>confdefs.h <<_ACEOF
39239 #define HAVE__ISINFL 1
39240 _ACEOF
39241
39242 fi
39243 done
39244
39245 fi
39246 fi
39247
39248
39249
39250
39251
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39253 $as_echo_n "checking for atan2l declaration... " >&6; }
39254 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39255 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39256 $as_echo_n "(cached) " >&6
39257 else
39258
39259
39260 ac_ext=cpp
39261 ac_cpp='$CXXCPP $CPPFLAGS'
39262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39265
39266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39267 /* end confdefs.h. */
39268 #include <math.h>
39269 int
39270 main ()
39271 {
39272 atan2l(0, 0);
39273 ;
39274 return 0;
39275 }
39276 _ACEOF
39277 if ac_fn_cxx_try_compile "$LINENO"; then :
39278 glibcxx_cv_func_atan2l_use=yes
39279 else
39280 glibcxx_cv_func_atan2l_use=no
39281 fi
39282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39283 ac_ext=c
39284 ac_cpp='$CPP $CPPFLAGS'
39285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39288
39289
39290 fi
39291
39292 fi
39293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39294 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39295
39296 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39297 for ac_func in atan2l
39298 do :
39299 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39300 if test "x$ac_cv_func_atan2l" = xyes; then :
39301 cat >>confdefs.h <<_ACEOF
39302 #define HAVE_ATAN2L 1
39303 _ACEOF
39304
39305 fi
39306 done
39307
39308 else
39309
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39311 $as_echo_n "checking for _atan2l declaration... " >&6; }
39312 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39313 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39314 $as_echo_n "(cached) " >&6
39315 else
39316
39317
39318 ac_ext=cpp
39319 ac_cpp='$CXXCPP $CPPFLAGS'
39320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39323
39324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39325 /* end confdefs.h. */
39326 #include <math.h>
39327 int
39328 main ()
39329 {
39330 _atan2l(0, 0);
39331 ;
39332 return 0;
39333 }
39334 _ACEOF
39335 if ac_fn_cxx_try_compile "$LINENO"; then :
39336 glibcxx_cv_func__atan2l_use=yes
39337 else
39338 glibcxx_cv_func__atan2l_use=no
39339 fi
39340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39341 ac_ext=c
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346
39347
39348 fi
39349
39350 fi
39351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39352 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39353
39354 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39355 for ac_func in _atan2l
39356 do :
39357 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39358 if test "x$ac_cv_func__atan2l" = xyes; then :
39359 cat >>confdefs.h <<_ACEOF
39360 #define HAVE__ATAN2L 1
39361 _ACEOF
39362
39363 fi
39364 done
39365
39366 fi
39367 fi
39368
39369
39370
39371
39372
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39374 $as_echo_n "checking for expl declaration... " >&6; }
39375 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39376 if ${glibcxx_cv_func_expl_use+:} false; then :
39377 $as_echo_n "(cached) " >&6
39378 else
39379
39380
39381 ac_ext=cpp
39382 ac_cpp='$CXXCPP $CPPFLAGS'
39383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39386
39387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39388 /* end confdefs.h. */
39389 #include <math.h>
39390 #ifdef HAVE_IEEEFP_H
39391 #include <ieeefp.h>
39392 #endif
39393
39394 int
39395 main ()
39396 {
39397 expl(0);
39398 ;
39399 return 0;
39400 }
39401 _ACEOF
39402 if ac_fn_cxx_try_compile "$LINENO"; then :
39403 glibcxx_cv_func_expl_use=yes
39404 else
39405 glibcxx_cv_func_expl_use=no
39406 fi
39407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39408 ac_ext=c
39409 ac_cpp='$CPP $CPPFLAGS'
39410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39413
39414
39415 fi
39416
39417 fi
39418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39419 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39420
39421 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39422 for ac_func in expl
39423 do :
39424 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39425 if test "x$ac_cv_func_expl" = xyes; then :
39426 cat >>confdefs.h <<_ACEOF
39427 #define HAVE_EXPL 1
39428 _ACEOF
39429
39430 fi
39431 done
39432
39433 else
39434
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39436 $as_echo_n "checking for _expl declaration... " >&6; }
39437 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39438 if ${glibcxx_cv_func__expl_use+:} false; then :
39439 $as_echo_n "(cached) " >&6
39440 else
39441
39442
39443 ac_ext=cpp
39444 ac_cpp='$CXXCPP $CPPFLAGS'
39445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39448
39449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39450 /* end confdefs.h. */
39451 #include <math.h>
39452 #ifdef HAVE_IEEEFP_H
39453 #include <ieeefp.h>
39454 #endif
39455
39456 int
39457 main ()
39458 {
39459 _expl(0);
39460 ;
39461 return 0;
39462 }
39463 _ACEOF
39464 if ac_fn_cxx_try_compile "$LINENO"; then :
39465 glibcxx_cv_func__expl_use=yes
39466 else
39467 glibcxx_cv_func__expl_use=no
39468 fi
39469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39470 ac_ext=c
39471 ac_cpp='$CPP $CPPFLAGS'
39472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39475
39476
39477 fi
39478
39479 fi
39480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39481 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39482
39483 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39484 for ac_func in _expl
39485 do :
39486 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39487 if test "x$ac_cv_func__expl" = xyes; then :
39488 cat >>confdefs.h <<_ACEOF
39489 #define HAVE__EXPL 1
39490 _ACEOF
39491
39492 fi
39493 done
39494
39495 fi
39496 fi
39497
39498
39499
39500
39501
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39503 $as_echo_n "checking for fabsl declaration... " >&6; }
39504 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39505 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39506 $as_echo_n "(cached) " >&6
39507 else
39508
39509
39510 ac_ext=cpp
39511 ac_cpp='$CXXCPP $CPPFLAGS'
39512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39515
39516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39517 /* end confdefs.h. */
39518 #include <math.h>
39519 #ifdef HAVE_IEEEFP_H
39520 #include <ieeefp.h>
39521 #endif
39522
39523 int
39524 main ()
39525 {
39526 fabsl(0);
39527 ;
39528 return 0;
39529 }
39530 _ACEOF
39531 if ac_fn_cxx_try_compile "$LINENO"; then :
39532 glibcxx_cv_func_fabsl_use=yes
39533 else
39534 glibcxx_cv_func_fabsl_use=no
39535 fi
39536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39537 ac_ext=c
39538 ac_cpp='$CPP $CPPFLAGS'
39539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39542
39543
39544 fi
39545
39546 fi
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39548 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39549
39550 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39551 for ac_func in fabsl
39552 do :
39553 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39554 if test "x$ac_cv_func_fabsl" = xyes; then :
39555 cat >>confdefs.h <<_ACEOF
39556 #define HAVE_FABSL 1
39557 _ACEOF
39558
39559 fi
39560 done
39561
39562 else
39563
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39565 $as_echo_n "checking for _fabsl declaration... " >&6; }
39566 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39567 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39568 $as_echo_n "(cached) " >&6
39569 else
39570
39571
39572 ac_ext=cpp
39573 ac_cpp='$CXXCPP $CPPFLAGS'
39574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39577
39578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39579 /* end confdefs.h. */
39580 #include <math.h>
39581 #ifdef HAVE_IEEEFP_H
39582 #include <ieeefp.h>
39583 #endif
39584
39585 int
39586 main ()
39587 {
39588 _fabsl(0);
39589 ;
39590 return 0;
39591 }
39592 _ACEOF
39593 if ac_fn_cxx_try_compile "$LINENO"; then :
39594 glibcxx_cv_func__fabsl_use=yes
39595 else
39596 glibcxx_cv_func__fabsl_use=no
39597 fi
39598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39599 ac_ext=c
39600 ac_cpp='$CPP $CPPFLAGS'
39601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39604
39605
39606 fi
39607
39608 fi
39609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39610 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39611
39612 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39613 for ac_func in _fabsl
39614 do :
39615 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39616 if test "x$ac_cv_func__fabsl" = xyes; then :
39617 cat >>confdefs.h <<_ACEOF
39618 #define HAVE__FABSL 1
39619 _ACEOF
39620
39621 fi
39622 done
39623
39624 fi
39625 fi
39626
39627
39628
39629
39630
39631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39632 $as_echo_n "checking for fmodl declaration... " >&6; }
39633 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39634 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39635 $as_echo_n "(cached) " >&6
39636 else
39637
39638
39639 ac_ext=cpp
39640 ac_cpp='$CXXCPP $CPPFLAGS'
39641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39644
39645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39646 /* end confdefs.h. */
39647 #include <math.h>
39648 int
39649 main ()
39650 {
39651 fmodl(0, 0);
39652 ;
39653 return 0;
39654 }
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657 glibcxx_cv_func_fmodl_use=yes
39658 else
39659 glibcxx_cv_func_fmodl_use=no
39660 fi
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662 ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39667
39668
39669 fi
39670
39671 fi
39672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39673 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39674
39675 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39676 for ac_func in fmodl
39677 do :
39678 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39679 if test "x$ac_cv_func_fmodl" = xyes; then :
39680 cat >>confdefs.h <<_ACEOF
39681 #define HAVE_FMODL 1
39682 _ACEOF
39683
39684 fi
39685 done
39686
39687 else
39688
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39690 $as_echo_n "checking for _fmodl declaration... " >&6; }
39691 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39692 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39693 $as_echo_n "(cached) " >&6
39694 else
39695
39696
39697 ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39702
39703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39705 #include <math.h>
39706 int
39707 main ()
39708 {
39709 _fmodl(0, 0);
39710 ;
39711 return 0;
39712 }
39713 _ACEOF
39714 if ac_fn_cxx_try_compile "$LINENO"; then :
39715 glibcxx_cv_func__fmodl_use=yes
39716 else
39717 glibcxx_cv_func__fmodl_use=no
39718 fi
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39720 ac_ext=c
39721 ac_cpp='$CPP $CPPFLAGS'
39722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39725
39726
39727 fi
39728
39729 fi
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39731 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39732
39733 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39734 for ac_func in _fmodl
39735 do :
39736 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39737 if test "x$ac_cv_func__fmodl" = xyes; then :
39738 cat >>confdefs.h <<_ACEOF
39739 #define HAVE__FMODL 1
39740 _ACEOF
39741
39742 fi
39743 done
39744
39745 fi
39746 fi
39747
39748
39749
39750
39751
39752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39753 $as_echo_n "checking for frexpl declaration... " >&6; }
39754 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39755 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39756 $as_echo_n "(cached) " >&6
39757 else
39758
39759
39760 ac_ext=cpp
39761 ac_cpp='$CXXCPP $CPPFLAGS'
39762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39765
39766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39767 /* end confdefs.h. */
39768 #include <math.h>
39769 int
39770 main ()
39771 {
39772 frexpl(0, 0);
39773 ;
39774 return 0;
39775 }
39776 _ACEOF
39777 if ac_fn_cxx_try_compile "$LINENO"; then :
39778 glibcxx_cv_func_frexpl_use=yes
39779 else
39780 glibcxx_cv_func_frexpl_use=no
39781 fi
39782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39783 ac_ext=c
39784 ac_cpp='$CPP $CPPFLAGS'
39785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39788
39789
39790 fi
39791
39792 fi
39793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39794 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39795
39796 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39797 for ac_func in frexpl
39798 do :
39799 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39800 if test "x$ac_cv_func_frexpl" = xyes; then :
39801 cat >>confdefs.h <<_ACEOF
39802 #define HAVE_FREXPL 1
39803 _ACEOF
39804
39805 fi
39806 done
39807
39808 else
39809
39810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39811 $as_echo_n "checking for _frexpl declaration... " >&6; }
39812 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39813 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39814 $as_echo_n "(cached) " >&6
39815 else
39816
39817
39818 ac_ext=cpp
39819 ac_cpp='$CXXCPP $CPPFLAGS'
39820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39823
39824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* end confdefs.h. */
39826 #include <math.h>
39827 int
39828 main ()
39829 {
39830 _frexpl(0, 0);
39831 ;
39832 return 0;
39833 }
39834 _ACEOF
39835 if ac_fn_cxx_try_compile "$LINENO"; then :
39836 glibcxx_cv_func__frexpl_use=yes
39837 else
39838 glibcxx_cv_func__frexpl_use=no
39839 fi
39840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39841 ac_ext=c
39842 ac_cpp='$CPP $CPPFLAGS'
39843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39846
39847
39848 fi
39849
39850 fi
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39852 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39853
39854 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39855 for ac_func in _frexpl
39856 do :
39857 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39858 if test "x$ac_cv_func__frexpl" = xyes; then :
39859 cat >>confdefs.h <<_ACEOF
39860 #define HAVE__FREXPL 1
39861 _ACEOF
39862
39863 fi
39864 done
39865
39866 fi
39867 fi
39868
39869
39870
39871
39872
39873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39874 $as_echo_n "checking for hypotl declaration... " >&6; }
39875 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39876 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39877 $as_echo_n "(cached) " >&6
39878 else
39879
39880
39881 ac_ext=cpp
39882 ac_cpp='$CXXCPP $CPPFLAGS'
39883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39886
39887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39888 /* end confdefs.h. */
39889 #include <math.h>
39890 int
39891 main ()
39892 {
39893 hypotl(0, 0);
39894 ;
39895 return 0;
39896 }
39897 _ACEOF
39898 if ac_fn_cxx_try_compile "$LINENO"; then :
39899 glibcxx_cv_func_hypotl_use=yes
39900 else
39901 glibcxx_cv_func_hypotl_use=no
39902 fi
39903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39904 ac_ext=c
39905 ac_cpp='$CPP $CPPFLAGS'
39906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39909
39910
39911 fi
39912
39913 fi
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39915 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39916
39917 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39918 for ac_func in hypotl
39919 do :
39920 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39921 if test "x$ac_cv_func_hypotl" = xyes; then :
39922 cat >>confdefs.h <<_ACEOF
39923 #define HAVE_HYPOTL 1
39924 _ACEOF
39925
39926 fi
39927 done
39928
39929 else
39930
39931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39932 $as_echo_n "checking for _hypotl declaration... " >&6; }
39933 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39934 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39935 $as_echo_n "(cached) " >&6
39936 else
39937
39938
39939 ac_ext=cpp
39940 ac_cpp='$CXXCPP $CPPFLAGS'
39941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39944
39945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39946 /* end confdefs.h. */
39947 #include <math.h>
39948 int
39949 main ()
39950 {
39951 _hypotl(0, 0);
39952 ;
39953 return 0;
39954 }
39955 _ACEOF
39956 if ac_fn_cxx_try_compile "$LINENO"; then :
39957 glibcxx_cv_func__hypotl_use=yes
39958 else
39959 glibcxx_cv_func__hypotl_use=no
39960 fi
39961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39962 ac_ext=c
39963 ac_cpp='$CPP $CPPFLAGS'
39964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39967
39968
39969 fi
39970
39971 fi
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39973 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39974
39975 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39976 for ac_func in _hypotl
39977 do :
39978 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39979 if test "x$ac_cv_func__hypotl" = xyes; then :
39980 cat >>confdefs.h <<_ACEOF
39981 #define HAVE__HYPOTL 1
39982 _ACEOF
39983
39984 fi
39985 done
39986
39987 fi
39988 fi
39989
39990
39991
39992
39993
39994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39995 $as_echo_n "checking for ldexpl declaration... " >&6; }
39996 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39997 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39998 $as_echo_n "(cached) " >&6
39999 else
40000
40001
40002 ac_ext=cpp
40003 ac_cpp='$CXXCPP $CPPFLAGS'
40004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40007
40008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40009 /* end confdefs.h. */
40010 #include <math.h>
40011 int
40012 main ()
40013 {
40014 ldexpl(0, 0);
40015 ;
40016 return 0;
40017 }
40018 _ACEOF
40019 if ac_fn_cxx_try_compile "$LINENO"; then :
40020 glibcxx_cv_func_ldexpl_use=yes
40021 else
40022 glibcxx_cv_func_ldexpl_use=no
40023 fi
40024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40025 ac_ext=c
40026 ac_cpp='$CPP $CPPFLAGS'
40027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40030
40031
40032 fi
40033
40034 fi
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40036 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40037
40038 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40039 for ac_func in ldexpl
40040 do :
40041 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40042 if test "x$ac_cv_func_ldexpl" = xyes; then :
40043 cat >>confdefs.h <<_ACEOF
40044 #define HAVE_LDEXPL 1
40045 _ACEOF
40046
40047 fi
40048 done
40049
40050 else
40051
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40053 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40054 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40055 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40056 $as_echo_n "(cached) " >&6
40057 else
40058
40059
40060 ac_ext=cpp
40061 ac_cpp='$CXXCPP $CPPFLAGS'
40062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40065
40066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 /* end confdefs.h. */
40068 #include <math.h>
40069 int
40070 main ()
40071 {
40072 _ldexpl(0, 0);
40073 ;
40074 return 0;
40075 }
40076 _ACEOF
40077 if ac_fn_cxx_try_compile "$LINENO"; then :
40078 glibcxx_cv_func__ldexpl_use=yes
40079 else
40080 glibcxx_cv_func__ldexpl_use=no
40081 fi
40082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40083 ac_ext=c
40084 ac_cpp='$CPP $CPPFLAGS'
40085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40088
40089
40090 fi
40091
40092 fi
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40094 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40095
40096 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40097 for ac_func in _ldexpl
40098 do :
40099 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40100 if test "x$ac_cv_func__ldexpl" = xyes; then :
40101 cat >>confdefs.h <<_ACEOF
40102 #define HAVE__LDEXPL 1
40103 _ACEOF
40104
40105 fi
40106 done
40107
40108 fi
40109 fi
40110
40111
40112
40113
40114
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40116 $as_echo_n "checking for logl declaration... " >&6; }
40117 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40118 if ${glibcxx_cv_func_logl_use+:} false; then :
40119 $as_echo_n "(cached) " >&6
40120 else
40121
40122
40123 ac_ext=cpp
40124 ac_cpp='$CXXCPP $CPPFLAGS'
40125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40128
40129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40130 /* end confdefs.h. */
40131 #include <math.h>
40132 #ifdef HAVE_IEEEFP_H
40133 #include <ieeefp.h>
40134 #endif
40135
40136 int
40137 main ()
40138 {
40139 logl(0);
40140 ;
40141 return 0;
40142 }
40143 _ACEOF
40144 if ac_fn_cxx_try_compile "$LINENO"; then :
40145 glibcxx_cv_func_logl_use=yes
40146 else
40147 glibcxx_cv_func_logl_use=no
40148 fi
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40150 ac_ext=c
40151 ac_cpp='$CPP $CPPFLAGS'
40152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40155
40156
40157 fi
40158
40159 fi
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40161 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40162
40163 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40164 for ac_func in logl
40165 do :
40166 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40167 if test "x$ac_cv_func_logl" = xyes; then :
40168 cat >>confdefs.h <<_ACEOF
40169 #define HAVE_LOGL 1
40170 _ACEOF
40171
40172 fi
40173 done
40174
40175 else
40176
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40178 $as_echo_n "checking for _logl declaration... " >&6; }
40179 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40180 if ${glibcxx_cv_func__logl_use+:} false; then :
40181 $as_echo_n "(cached) " >&6
40182 else
40183
40184
40185 ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40190
40191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h. */
40193 #include <math.h>
40194 #ifdef HAVE_IEEEFP_H
40195 #include <ieeefp.h>
40196 #endif
40197
40198 int
40199 main ()
40200 {
40201 _logl(0);
40202 ;
40203 return 0;
40204 }
40205 _ACEOF
40206 if ac_fn_cxx_try_compile "$LINENO"; then :
40207 glibcxx_cv_func__logl_use=yes
40208 else
40209 glibcxx_cv_func__logl_use=no
40210 fi
40211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40212 ac_ext=c
40213 ac_cpp='$CPP $CPPFLAGS'
40214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40217
40218
40219 fi
40220
40221 fi
40222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40223 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40224
40225 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40226 for ac_func in _logl
40227 do :
40228 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40229 if test "x$ac_cv_func__logl" = xyes; then :
40230 cat >>confdefs.h <<_ACEOF
40231 #define HAVE__LOGL 1
40232 _ACEOF
40233
40234 fi
40235 done
40236
40237 fi
40238 fi
40239
40240
40241
40242
40243
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40245 $as_echo_n "checking for log10l declaration... " >&6; }
40246 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40247 if ${glibcxx_cv_func_log10l_use+:} false; then :
40248 $as_echo_n "(cached) " >&6
40249 else
40250
40251
40252 ac_ext=cpp
40253 ac_cpp='$CXXCPP $CPPFLAGS'
40254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40257
40258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40259 /* end confdefs.h. */
40260 #include <math.h>
40261 #ifdef HAVE_IEEEFP_H
40262 #include <ieeefp.h>
40263 #endif
40264
40265 int
40266 main ()
40267 {
40268 log10l(0);
40269 ;
40270 return 0;
40271 }
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274 glibcxx_cv_func_log10l_use=yes
40275 else
40276 glibcxx_cv_func_log10l_use=no
40277 fi
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279 ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40284
40285
40286 fi
40287
40288 fi
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40290 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40291
40292 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40293 for ac_func in log10l
40294 do :
40295 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40296 if test "x$ac_cv_func_log10l" = xyes; then :
40297 cat >>confdefs.h <<_ACEOF
40298 #define HAVE_LOG10L 1
40299 _ACEOF
40300
40301 fi
40302 done
40303
40304 else
40305
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40307 $as_echo_n "checking for _log10l declaration... " >&6; }
40308 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40309 if ${glibcxx_cv_func__log10l_use+:} false; then :
40310 $as_echo_n "(cached) " >&6
40311 else
40312
40313
40314 ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319
40320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h. */
40322 #include <math.h>
40323 #ifdef HAVE_IEEEFP_H
40324 #include <ieeefp.h>
40325 #endif
40326
40327 int
40328 main ()
40329 {
40330 _log10l(0);
40331 ;
40332 return 0;
40333 }
40334 _ACEOF
40335 if ac_fn_cxx_try_compile "$LINENO"; then :
40336 glibcxx_cv_func__log10l_use=yes
40337 else
40338 glibcxx_cv_func__log10l_use=no
40339 fi
40340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40341 ac_ext=c
40342 ac_cpp='$CPP $CPPFLAGS'
40343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40346
40347
40348 fi
40349
40350 fi
40351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40352 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40353
40354 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40355 for ac_func in _log10l
40356 do :
40357 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40358 if test "x$ac_cv_func__log10l" = xyes; then :
40359 cat >>confdefs.h <<_ACEOF
40360 #define HAVE__LOG10L 1
40361 _ACEOF
40362
40363 fi
40364 done
40365
40366 fi
40367 fi
40368
40369
40370
40371
40372
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40374 $as_echo_n "checking for modfl declaration... " >&6; }
40375 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40376 if ${glibcxx_cv_func_modfl_use+:} false; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40379
40380
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40386
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40390 int
40391 main ()
40392 {
40393 modfl(0, 0);
40394 ;
40395 return 0;
40396 }
40397 _ACEOF
40398 if ac_fn_cxx_try_compile "$LINENO"; then :
40399 glibcxx_cv_func_modfl_use=yes
40400 else
40401 glibcxx_cv_func_modfl_use=no
40402 fi
40403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40404 ac_ext=c
40405 ac_cpp='$CPP $CPPFLAGS'
40406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40409
40410
40411 fi
40412
40413 fi
40414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40415 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40416
40417 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40418 for ac_func in modfl
40419 do :
40420 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40421 if test "x$ac_cv_func_modfl" = xyes; then :
40422 cat >>confdefs.h <<_ACEOF
40423 #define HAVE_MODFL 1
40424 _ACEOF
40425
40426 fi
40427 done
40428
40429 else
40430
40431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40432 $as_echo_n "checking for _modfl declaration... " >&6; }
40433 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40434 if ${glibcxx_cv_func__modfl_use+:} false; then :
40435 $as_echo_n "(cached) " >&6
40436 else
40437
40438
40439 ac_ext=cpp
40440 ac_cpp='$CXXCPP $CPPFLAGS'
40441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40444
40445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40446 /* end confdefs.h. */
40447 #include <math.h>
40448 int
40449 main ()
40450 {
40451 _modfl(0, 0);
40452 ;
40453 return 0;
40454 }
40455 _ACEOF
40456 if ac_fn_cxx_try_compile "$LINENO"; then :
40457 glibcxx_cv_func__modfl_use=yes
40458 else
40459 glibcxx_cv_func__modfl_use=no
40460 fi
40461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40462 ac_ext=c
40463 ac_cpp='$CPP $CPPFLAGS'
40464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40467
40468
40469 fi
40470
40471 fi
40472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40473 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40474
40475 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40476 for ac_func in _modfl
40477 do :
40478 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40479 if test "x$ac_cv_func__modfl" = xyes; then :
40480 cat >>confdefs.h <<_ACEOF
40481 #define HAVE__MODFL 1
40482 _ACEOF
40483
40484 fi
40485 done
40486
40487 fi
40488 fi
40489
40490
40491
40492
40493
40494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40495 $as_echo_n "checking for powl declaration... " >&6; }
40496 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40497 if ${glibcxx_cv_func_powl_use+:} false; then :
40498 $as_echo_n "(cached) " >&6
40499 else
40500
40501
40502 ac_ext=cpp
40503 ac_cpp='$CXXCPP $CPPFLAGS'
40504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40507
40508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40509 /* end confdefs.h. */
40510 #include <math.h>
40511 int
40512 main ()
40513 {
40514 powl(0, 0);
40515 ;
40516 return 0;
40517 }
40518 _ACEOF
40519 if ac_fn_cxx_try_compile "$LINENO"; then :
40520 glibcxx_cv_func_powl_use=yes
40521 else
40522 glibcxx_cv_func_powl_use=no
40523 fi
40524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40525 ac_ext=c
40526 ac_cpp='$CPP $CPPFLAGS'
40527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40530
40531
40532 fi
40533
40534 fi
40535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40536 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40537
40538 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40539 for ac_func in powl
40540 do :
40541 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40542 if test "x$ac_cv_func_powl" = xyes; then :
40543 cat >>confdefs.h <<_ACEOF
40544 #define HAVE_POWL 1
40545 _ACEOF
40546
40547 fi
40548 done
40549
40550 else
40551
40552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40553 $as_echo_n "checking for _powl declaration... " >&6; }
40554 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40555 if ${glibcxx_cv_func__powl_use+:} false; then :
40556 $as_echo_n "(cached) " >&6
40557 else
40558
40559
40560 ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40565
40566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 /* end confdefs.h. */
40568 #include <math.h>
40569 int
40570 main ()
40571 {
40572 _powl(0, 0);
40573 ;
40574 return 0;
40575 }
40576 _ACEOF
40577 if ac_fn_cxx_try_compile "$LINENO"; then :
40578 glibcxx_cv_func__powl_use=yes
40579 else
40580 glibcxx_cv_func__powl_use=no
40581 fi
40582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40583 ac_ext=c
40584 ac_cpp='$CPP $CPPFLAGS'
40585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40588
40589
40590 fi
40591
40592 fi
40593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40594 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40595
40596 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40597 for ac_func in _powl
40598 do :
40599 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40600 if test "x$ac_cv_func__powl" = xyes; then :
40601 cat >>confdefs.h <<_ACEOF
40602 #define HAVE__POWL 1
40603 _ACEOF
40604
40605 fi
40606 done
40607
40608 fi
40609 fi
40610
40611
40612
40613
40614
40615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40616 $as_echo_n "checking for sqrtl declaration... " >&6; }
40617 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40618 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40619 $as_echo_n "(cached) " >&6
40620 else
40621
40622
40623 ac_ext=cpp
40624 ac_cpp='$CXXCPP $CPPFLAGS'
40625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40628
40629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40630 /* end confdefs.h. */
40631 #include <math.h>
40632 #ifdef HAVE_IEEEFP_H
40633 #include <ieeefp.h>
40634 #endif
40635
40636 int
40637 main ()
40638 {
40639 sqrtl(0);
40640 ;
40641 return 0;
40642 }
40643 _ACEOF
40644 if ac_fn_cxx_try_compile "$LINENO"; then :
40645 glibcxx_cv_func_sqrtl_use=yes
40646 else
40647 glibcxx_cv_func_sqrtl_use=no
40648 fi
40649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40650 ac_ext=c
40651 ac_cpp='$CPP $CPPFLAGS'
40652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40655
40656
40657 fi
40658
40659 fi
40660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40661 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40662
40663 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40664 for ac_func in sqrtl
40665 do :
40666 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40667 if test "x$ac_cv_func_sqrtl" = xyes; then :
40668 cat >>confdefs.h <<_ACEOF
40669 #define HAVE_SQRTL 1
40670 _ACEOF
40671
40672 fi
40673 done
40674
40675 else
40676
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40678 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40679 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40680 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40681 $as_echo_n "(cached) " >&6
40682 else
40683
40684
40685 ac_ext=cpp
40686 ac_cpp='$CXXCPP $CPPFLAGS'
40687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40690
40691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40692 /* end confdefs.h. */
40693 #include <math.h>
40694 #ifdef HAVE_IEEEFP_H
40695 #include <ieeefp.h>
40696 #endif
40697
40698 int
40699 main ()
40700 {
40701 _sqrtl(0);
40702 ;
40703 return 0;
40704 }
40705 _ACEOF
40706 if ac_fn_cxx_try_compile "$LINENO"; then :
40707 glibcxx_cv_func__sqrtl_use=yes
40708 else
40709 glibcxx_cv_func__sqrtl_use=no
40710 fi
40711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40712 ac_ext=c
40713 ac_cpp='$CPP $CPPFLAGS'
40714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40717
40718
40719 fi
40720
40721 fi
40722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40723 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40724
40725 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40726 for ac_func in _sqrtl
40727 do :
40728 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40729 if test "x$ac_cv_func__sqrtl" = xyes; then :
40730 cat >>confdefs.h <<_ACEOF
40731 #define HAVE__SQRTL 1
40732 _ACEOF
40733
40734 fi
40735 done
40736
40737 fi
40738 fi
40739
40740
40741
40742
40743
40744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40745 $as_echo_n "checking for sincosl declaration... " >&6; }
40746 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40747 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40748 $as_echo_n "(cached) " >&6
40749 else
40750
40751
40752 ac_ext=cpp
40753 ac_cpp='$CXXCPP $CPPFLAGS'
40754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40757
40758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40759 /* end confdefs.h. */
40760 #include <math.h>
40761 int
40762 main ()
40763 {
40764 sincosl(0, 0, 0);
40765 ;
40766 return 0;
40767 }
40768 _ACEOF
40769 if ac_fn_cxx_try_compile "$LINENO"; then :
40770 glibcxx_cv_func_sincosl_use=yes
40771 else
40772 glibcxx_cv_func_sincosl_use=no
40773 fi
40774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40775 ac_ext=c
40776 ac_cpp='$CPP $CPPFLAGS'
40777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40780
40781
40782 fi
40783
40784 fi
40785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40786 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40787
40788 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40789 for ac_func in sincosl
40790 do :
40791 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40792 if test "x$ac_cv_func_sincosl" = xyes; then :
40793 cat >>confdefs.h <<_ACEOF
40794 #define HAVE_SINCOSL 1
40795 _ACEOF
40796
40797 fi
40798 done
40799
40800 else
40801
40802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40803 $as_echo_n "checking for _sincosl declaration... " >&6; }
40804 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40805 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40806 $as_echo_n "(cached) " >&6
40807 else
40808
40809
40810 ac_ext=cpp
40811 ac_cpp='$CXXCPP $CPPFLAGS'
40812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40815
40816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40817 /* end confdefs.h. */
40818 #include <math.h>
40819 int
40820 main ()
40821 {
40822 _sincosl(0, 0, 0);
40823 ;
40824 return 0;
40825 }
40826 _ACEOF
40827 if ac_fn_cxx_try_compile "$LINENO"; then :
40828 glibcxx_cv_func__sincosl_use=yes
40829 else
40830 glibcxx_cv_func__sincosl_use=no
40831 fi
40832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40833 ac_ext=c
40834 ac_cpp='$CPP $CPPFLAGS'
40835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40838
40839
40840 fi
40841
40842 fi
40843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40844 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40845
40846 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40847 for ac_func in _sincosl
40848 do :
40849 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40850 if test "x$ac_cv_func__sincosl" = xyes; then :
40851 cat >>confdefs.h <<_ACEOF
40852 #define HAVE__SINCOSL 1
40853 _ACEOF
40854
40855 fi
40856 done
40857
40858 fi
40859 fi
40860
40861
40862
40863
40864
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40866 $as_echo_n "checking for finitel declaration... " >&6; }
40867 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40868 if ${glibcxx_cv_func_finitel_use+:} false; then :
40869 $as_echo_n "(cached) " >&6
40870 else
40871
40872
40873 ac_ext=cpp
40874 ac_cpp='$CXXCPP $CPPFLAGS'
40875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40878
40879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40880 /* end confdefs.h. */
40881 #include <math.h>
40882 #ifdef HAVE_IEEEFP_H
40883 #include <ieeefp.h>
40884 #endif
40885
40886 int
40887 main ()
40888 {
40889 finitel(0);
40890 ;
40891 return 0;
40892 }
40893 _ACEOF
40894 if ac_fn_cxx_try_compile "$LINENO"; then :
40895 glibcxx_cv_func_finitel_use=yes
40896 else
40897 glibcxx_cv_func_finitel_use=no
40898 fi
40899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40900 ac_ext=c
40901 ac_cpp='$CPP $CPPFLAGS'
40902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40905
40906
40907 fi
40908
40909 fi
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40911 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40912
40913 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40914 for ac_func in finitel
40915 do :
40916 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40917 if test "x$ac_cv_func_finitel" = xyes; then :
40918 cat >>confdefs.h <<_ACEOF
40919 #define HAVE_FINITEL 1
40920 _ACEOF
40921
40922 fi
40923 done
40924
40925 else
40926
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40928 $as_echo_n "checking for _finitel declaration... " >&6; }
40929 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40930 if ${glibcxx_cv_func__finitel_use+:} false; then :
40931 $as_echo_n "(cached) " >&6
40932 else
40933
40934
40935 ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940
40941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h. */
40943 #include <math.h>
40944 #ifdef HAVE_IEEEFP_H
40945 #include <ieeefp.h>
40946 #endif
40947
40948 int
40949 main ()
40950 {
40951 _finitel(0);
40952 ;
40953 return 0;
40954 }
40955 _ACEOF
40956 if ac_fn_cxx_try_compile "$LINENO"; then :
40957 glibcxx_cv_func__finitel_use=yes
40958 else
40959 glibcxx_cv_func__finitel_use=no
40960 fi
40961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40962 ac_ext=c
40963 ac_cpp='$CPP $CPPFLAGS'
40964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40967
40968
40969 fi
40970
40971 fi
40972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40973 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40974
40975 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40976 for ac_func in _finitel
40977 do :
40978 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40979 if test "x$ac_cv_func__finitel" = xyes; then :
40980 cat >>confdefs.h <<_ACEOF
40981 #define HAVE__FINITEL 1
40982 _ACEOF
40983
40984 fi
40985 done
40986
40987 fi
40988 fi
40989
40990
40991
40992
40993 LIBS="$ac_save_LIBS"
40994 CXXFLAGS="$ac_save_CXXFLAGS"
40995
40996
40997 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40998 ac_save_CXXFLAGS="$CXXFLAGS"
40999 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41000
41001
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41003 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41004 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41005 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41006 $as_echo_n "(cached) " >&6
41007 else
41008
41009
41010 ac_ext=cpp
41011 ac_cpp='$CXXCPP $CPPFLAGS'
41012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41015
41016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41017 /* end confdefs.h. */
41018 #include <stdlib.h>
41019 int
41020 main ()
41021 {
41022 at_quick_exit(0);
41023 ;
41024 return 0;
41025 }
41026 _ACEOF
41027 if ac_fn_cxx_try_compile "$LINENO"; then :
41028 glibcxx_cv_func_at_quick_exit_use=yes
41029 else
41030 glibcxx_cv_func_at_quick_exit_use=no
41031 fi
41032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41033 ac_ext=c
41034 ac_cpp='$CPP $CPPFLAGS'
41035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41038
41039
41040 fi
41041
41042 fi
41043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41044 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41045 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41046 for ac_func in at_quick_exit
41047 do :
41048 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41049 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41050 cat >>confdefs.h <<_ACEOF
41051 #define HAVE_AT_QUICK_EXIT 1
41052 _ACEOF
41053
41054 fi
41055 done
41056
41057 fi
41058
41059
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41061 $as_echo_n "checking for quick_exit declaration... " >&6; }
41062 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41063 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41064 $as_echo_n "(cached) " >&6
41065 else
41066
41067
41068 ac_ext=cpp
41069 ac_cpp='$CXXCPP $CPPFLAGS'
41070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41073
41074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41075 /* end confdefs.h. */
41076 #include <stdlib.h>
41077 int
41078 main ()
41079 {
41080 quick_exit(0);
41081 ;
41082 return 0;
41083 }
41084 _ACEOF
41085 if ac_fn_cxx_try_compile "$LINENO"; then :
41086 glibcxx_cv_func_quick_exit_use=yes
41087 else
41088 glibcxx_cv_func_quick_exit_use=no
41089 fi
41090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41091 ac_ext=c
41092 ac_cpp='$CPP $CPPFLAGS'
41093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41096
41097
41098 fi
41099
41100 fi
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41102 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41103 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41104 for ac_func in quick_exit
41105 do :
41106 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41107 if test "x$ac_cv_func_quick_exit" = xyes; then :
41108 cat >>confdefs.h <<_ACEOF
41109 #define HAVE_QUICK_EXIT 1
41110 _ACEOF
41111
41112 fi
41113 done
41114
41115 fi
41116
41117
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41119 $as_echo_n "checking for strtold declaration... " >&6; }
41120 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41121 if ${glibcxx_cv_func_strtold_use+:} false; then :
41122 $as_echo_n "(cached) " >&6
41123 else
41124
41125
41126 ac_ext=cpp
41127 ac_cpp='$CXXCPP $CPPFLAGS'
41128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41131
41132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41133 /* end confdefs.h. */
41134 #include <stdlib.h>
41135 int
41136 main ()
41137 {
41138 strtold(0, 0);
41139 ;
41140 return 0;
41141 }
41142 _ACEOF
41143 if ac_fn_cxx_try_compile "$LINENO"; then :
41144 glibcxx_cv_func_strtold_use=yes
41145 else
41146 glibcxx_cv_func_strtold_use=no
41147 fi
41148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41149 ac_ext=c
41150 ac_cpp='$CPP $CPPFLAGS'
41151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41154
41155
41156 fi
41157
41158 fi
41159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41160 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41161 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41162 for ac_func in strtold
41163 do :
41164 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41165 if test "x$ac_cv_func_strtold" = xyes; then :
41166 cat >>confdefs.h <<_ACEOF
41167 #define HAVE_STRTOLD 1
41168 _ACEOF
41169
41170 fi
41171 done
41172
41173 fi
41174
41175
41176
41177
41178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41179 $as_echo_n "checking for strtof declaration... " >&6; }
41180 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41181 if ${glibcxx_cv_func_strtof_use+:} false; then :
41182 $as_echo_n "(cached) " >&6
41183 else
41184
41185
41186 ac_ext=cpp
41187 ac_cpp='$CXXCPP $CPPFLAGS'
41188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41191
41192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41193 /* end confdefs.h. */
41194 #include <stdlib.h>
41195 int
41196 main ()
41197 {
41198 strtof(0, 0);
41199 ;
41200 return 0;
41201 }
41202 _ACEOF
41203 if ac_fn_cxx_try_compile "$LINENO"; then :
41204 glibcxx_cv_func_strtof_use=yes
41205 else
41206 glibcxx_cv_func_strtof_use=no
41207 fi
41208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41209 ac_ext=c
41210 ac_cpp='$CPP $CPPFLAGS'
41211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41214
41215
41216 fi
41217
41218 fi
41219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41220 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41221 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41222 for ac_func in strtof
41223 do :
41224 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41225 if test "x$ac_cv_func_strtof" = xyes; then :
41226 cat >>confdefs.h <<_ACEOF
41227 #define HAVE_STRTOF 1
41228 _ACEOF
41229
41230 fi
41231 done
41232
41233 fi
41234
41235
41236
41237
41238 CXXFLAGS="$ac_save_CXXFLAGS"
41239
41240 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41241
41242 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41243
41244 # We don't yet support AIX's TLS ABI.
41245 #GCC_CHECK_TLS
41246
41247
41248
41249
41250
41251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41252 $as_echo_n "checking for iconv... " >&6; }
41253 if ${am_cv_func_iconv+:} false; then :
41254 $as_echo_n "(cached) " >&6
41255 else
41256
41257 am_cv_func_iconv="no, consider installing GNU libiconv"
41258 am_cv_lib_iconv=no
41259 am_save_CPPFLAGS="$CPPFLAGS"
41260 CPPFLAGS="$CPPFLAGS $INCICONV"
41261 if test x$gcc_no_link = xyes; then
41262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41263 fi
41264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41265 /* end confdefs.h. */
41266 #include <stdlib.h>
41267 #include <iconv.h>
41268 int
41269 main ()
41270 {
41271 iconv_t cd = iconv_open("","");
41272 iconv(cd,NULL,NULL,NULL,NULL);
41273 iconv_close(cd);
41274 ;
41275 return 0;
41276 }
41277 _ACEOF
41278 if ac_fn_c_try_link "$LINENO"; then :
41279 am_cv_func_iconv=yes
41280 fi
41281 rm -f core conftest.err conftest.$ac_objext \
41282 conftest$ac_exeext conftest.$ac_ext
41283 CPPFLAGS="$am_save_CPPFLAGS"
41284
41285 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41286 for _libs in .libs _libs; do
41287 am_save_CPPFLAGS="$CPPFLAGS"
41288 am_save_LIBS="$LIBS"
41289 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41290 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41291 if test x$gcc_no_link = xyes; then
41292 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41293 fi
41294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41295 /* end confdefs.h. */
41296 #include <stdlib.h>
41297 #include <iconv.h>
41298 int
41299 main ()
41300 {
41301 iconv_t cd = iconv_open("","");
41302 iconv(cd,NULL,NULL,NULL,NULL);
41303 iconv_close(cd);
41304 ;
41305 return 0;
41306 }
41307 _ACEOF
41308 if ac_fn_c_try_link "$LINENO"; then :
41309 INCICONV="-I../libiconv/include"
41310 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41311 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41312 am_cv_lib_iconv=yes
41313 am_cv_func_iconv=yes
41314 fi
41315 rm -f core conftest.err conftest.$ac_objext \
41316 conftest$ac_exeext conftest.$ac_ext
41317 CPPFLAGS="$am_save_CPPFLAGS"
41318 LIBS="$am_save_LIBS"
41319 if test "$am_cv_func_iconv" = "yes"; then
41320 break
41321 fi
41322 done
41323 fi
41324
41325 if test "$am_cv_func_iconv" != yes; then
41326 am_save_CPPFLAGS="$CPPFLAGS"
41327 am_save_LIBS="$LIBS"
41328 CPPFLAGS="$CPPFLAGS $INCICONV"
41329 LIBS="$LIBS $LIBICONV"
41330 if test x$gcc_no_link = xyes; then
41331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41332 fi
41333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41334 /* end confdefs.h. */
41335 #include <stdlib.h>
41336 #include <iconv.h>
41337 int
41338 main ()
41339 {
41340 iconv_t cd = iconv_open("","");
41341 iconv(cd,NULL,NULL,NULL,NULL);
41342 iconv_close(cd);
41343 ;
41344 return 0;
41345 }
41346 _ACEOF
41347 if ac_fn_c_try_link "$LINENO"; then :
41348 am_cv_lib_iconv=yes
41349 am_cv_func_iconv=yes
41350 fi
41351 rm -f core conftest.err conftest.$ac_objext \
41352 conftest$ac_exeext conftest.$ac_ext
41353 CPPFLAGS="$am_save_CPPFLAGS"
41354 LIBS="$am_save_LIBS"
41355 fi
41356
41357 fi
41358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41359 $as_echo "$am_cv_func_iconv" >&6; }
41360 if test "$am_cv_func_iconv" = yes; then
41361
41362 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41363
41364 fi
41365 if test "$am_cv_lib_iconv" = yes; then
41366
41367 for element in $INCICONV; do
41368 haveit=
41369 for x in $CPPFLAGS; do
41370
41371 acl_save_prefix="$prefix"
41372 prefix="$acl_final_prefix"
41373 acl_save_exec_prefix="$exec_prefix"
41374 exec_prefix="$acl_final_exec_prefix"
41375 eval x=\"$x\"
41376 exec_prefix="$acl_save_exec_prefix"
41377 prefix="$acl_save_prefix"
41378
41379 if test "X$x" = "X$element"; then
41380 haveit=yes
41381 break
41382 fi
41383 done
41384 if test -z "$haveit"; then
41385 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41386 fi
41387 done
41388
41389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41390 $as_echo_n "checking how to link with libiconv... " >&6; }
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41392 $as_echo "$LIBICONV" >&6; }
41393 else
41394 LIBICONV=
41395 LTLIBICONV=
41396 fi
41397
41398
41399
41400 if test "$am_cv_func_iconv" = yes; then
41401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41402 $as_echo_n "checking for iconv declaration... " >&6; }
41403 if ${am_cv_proto_iconv+:} false; then :
41404 $as_echo_n "(cached) " >&6
41405 else
41406
41407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41408 /* end confdefs.h. */
41409
41410 #include <stdlib.h>
41411 #include <iconv.h>
41412 extern
41413 #ifdef __cplusplus
41414 "C"
41415 #endif
41416 #if defined(__STDC__) || defined(__cplusplus)
41417 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41418 #else
41419 size_t iconv();
41420 #endif
41421
41422 int
41423 main ()
41424 {
41425
41426 ;
41427 return 0;
41428 }
41429 _ACEOF
41430 if ac_fn_c_try_compile "$LINENO"; then :
41431 am_cv_proto_iconv_arg1=""
41432 else
41433 am_cv_proto_iconv_arg1="const"
41434 fi
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41436 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);"
41437 fi
41438
41439 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41441 }$am_cv_proto_iconv" >&5
41442 $as_echo "${ac_t:-
41443 }$am_cv_proto_iconv" >&6; }
41444
41445 cat >>confdefs.h <<_ACEOF
41446 #define ICONV_CONST $am_cv_proto_iconv_arg1
41447 _ACEOF
41448
41449 fi
41450
41451
41452 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41453
41454 ;;
41455
41456 *-darwin*)
41457 # Darwin versions vary, but the linker should work in a cross environment,
41458 # so we just check for all the features here.
41459 # Check for available headers.
41460
41461 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41462
41463 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41464 ac_save_CXXFLAGS="$CXXFLAGS"
41465 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41466
41467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41468 $as_echo_n "checking for sin in -lm... " >&6; }
41469 if ${ac_cv_lib_m_sin+:} false; then :
41470 $as_echo_n "(cached) " >&6
41471 else
41472 ac_check_lib_save_LIBS=$LIBS
41473 LIBS="-lm $LIBS"
41474 if test x$gcc_no_link = xyes; then
41475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41476 fi
41477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41478 /* end confdefs.h. */
41479
41480 /* Override any GCC internal prototype to avoid an error.
41481 Use char because int might match the return type of a GCC
41482 builtin and then its argument prototype would still apply. */
41483 #ifdef __cplusplus
41484 extern "C"
41485 #endif
41486 char sin ();
41487 int
41488 main ()
41489 {
41490 return sin ();
41491 ;
41492 return 0;
41493 }
41494 _ACEOF
41495 if ac_fn_c_try_link "$LINENO"; then :
41496 ac_cv_lib_m_sin=yes
41497 else
41498 ac_cv_lib_m_sin=no
41499 fi
41500 rm -f core conftest.err conftest.$ac_objext \
41501 conftest$ac_exeext conftest.$ac_ext
41502 LIBS=$ac_check_lib_save_LIBS
41503 fi
41504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41505 $as_echo "$ac_cv_lib_m_sin" >&6; }
41506 if test "x$ac_cv_lib_m_sin" = xyes; then :
41507 libm="-lm"
41508 fi
41509
41510 ac_save_LIBS="$LIBS"
41511 LIBS="$LIBS $libm"
41512
41513
41514
41515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41516 $as_echo_n "checking for isinf declaration... " >&6; }
41517 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41518 if ${glibcxx_cv_func_isinf_use+:} false; then :
41519 $as_echo_n "(cached) " >&6
41520 else
41521
41522
41523 ac_ext=cpp
41524 ac_cpp='$CXXCPP $CPPFLAGS'
41525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41528
41529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41530 /* end confdefs.h. */
41531 #include <math.h>
41532 #ifdef HAVE_IEEEFP_H
41533 #include <ieeefp.h>
41534 #endif
41535
41536 int
41537 main ()
41538 {
41539 isinf(0);
41540 ;
41541 return 0;
41542 }
41543 _ACEOF
41544 if ac_fn_cxx_try_compile "$LINENO"; then :
41545 glibcxx_cv_func_isinf_use=yes
41546 else
41547 glibcxx_cv_func_isinf_use=no
41548 fi
41549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41555
41556
41557 fi
41558
41559 fi
41560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41561 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41562
41563 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41564 for ac_func in isinf
41565 do :
41566 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41567 if test "x$ac_cv_func_isinf" = xyes; then :
41568 cat >>confdefs.h <<_ACEOF
41569 #define HAVE_ISINF 1
41570 _ACEOF
41571
41572 fi
41573 done
41574
41575 else
41576
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41578 $as_echo_n "checking for _isinf declaration... " >&6; }
41579 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41580 if ${glibcxx_cv_func__isinf_use+:} false; then :
41581 $as_echo_n "(cached) " >&6
41582 else
41583
41584
41585 ac_ext=cpp
41586 ac_cpp='$CXXCPP $CPPFLAGS'
41587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41590
41591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41592 /* end confdefs.h. */
41593 #include <math.h>
41594 #ifdef HAVE_IEEEFP_H
41595 #include <ieeefp.h>
41596 #endif
41597
41598 int
41599 main ()
41600 {
41601 _isinf(0);
41602 ;
41603 return 0;
41604 }
41605 _ACEOF
41606 if ac_fn_cxx_try_compile "$LINENO"; then :
41607 glibcxx_cv_func__isinf_use=yes
41608 else
41609 glibcxx_cv_func__isinf_use=no
41610 fi
41611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41612 ac_ext=c
41613 ac_cpp='$CPP $CPPFLAGS'
41614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41617
41618
41619 fi
41620
41621 fi
41622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41623 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41624
41625 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41626 for ac_func in _isinf
41627 do :
41628 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41629 if test "x$ac_cv_func__isinf" = xyes; then :
41630 cat >>confdefs.h <<_ACEOF
41631 #define HAVE__ISINF 1
41632 _ACEOF
41633
41634 fi
41635 done
41636
41637 fi
41638 fi
41639
41640
41641
41642
41643
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41645 $as_echo_n "checking for isnan declaration... " >&6; }
41646 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41647 if ${glibcxx_cv_func_isnan_use+:} false; then :
41648 $as_echo_n "(cached) " >&6
41649 else
41650
41651
41652 ac_ext=cpp
41653 ac_cpp='$CXXCPP $CPPFLAGS'
41654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41657
41658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41659 /* end confdefs.h. */
41660 #include <math.h>
41661 #ifdef HAVE_IEEEFP_H
41662 #include <ieeefp.h>
41663 #endif
41664
41665 int
41666 main ()
41667 {
41668 isnan(0);
41669 ;
41670 return 0;
41671 }
41672 _ACEOF
41673 if ac_fn_cxx_try_compile "$LINENO"; then :
41674 glibcxx_cv_func_isnan_use=yes
41675 else
41676 glibcxx_cv_func_isnan_use=no
41677 fi
41678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41679 ac_ext=c
41680 ac_cpp='$CPP $CPPFLAGS'
41681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41684
41685
41686 fi
41687
41688 fi
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41690 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41691
41692 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41693 for ac_func in isnan
41694 do :
41695 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41696 if test "x$ac_cv_func_isnan" = xyes; then :
41697 cat >>confdefs.h <<_ACEOF
41698 #define HAVE_ISNAN 1
41699 _ACEOF
41700
41701 fi
41702 done
41703
41704 else
41705
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41707 $as_echo_n "checking for _isnan declaration... " >&6; }
41708 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41709 if ${glibcxx_cv_func__isnan_use+:} false; then :
41710 $as_echo_n "(cached) " >&6
41711 else
41712
41713
41714 ac_ext=cpp
41715 ac_cpp='$CXXCPP $CPPFLAGS'
41716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41719
41720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41721 /* end confdefs.h. */
41722 #include <math.h>
41723 #ifdef HAVE_IEEEFP_H
41724 #include <ieeefp.h>
41725 #endif
41726
41727 int
41728 main ()
41729 {
41730 _isnan(0);
41731 ;
41732 return 0;
41733 }
41734 _ACEOF
41735 if ac_fn_cxx_try_compile "$LINENO"; then :
41736 glibcxx_cv_func__isnan_use=yes
41737 else
41738 glibcxx_cv_func__isnan_use=no
41739 fi
41740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41741 ac_ext=c
41742 ac_cpp='$CPP $CPPFLAGS'
41743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41746
41747
41748 fi
41749
41750 fi
41751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41752 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41753
41754 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41755 for ac_func in _isnan
41756 do :
41757 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41758 if test "x$ac_cv_func__isnan" = xyes; then :
41759 cat >>confdefs.h <<_ACEOF
41760 #define HAVE__ISNAN 1
41761 _ACEOF
41762
41763 fi
41764 done
41765
41766 fi
41767 fi
41768
41769
41770
41771
41772
41773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41774 $as_echo_n "checking for finite declaration... " >&6; }
41775 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41776 if ${glibcxx_cv_func_finite_use+:} false; then :
41777 $as_echo_n "(cached) " >&6
41778 else
41779
41780
41781 ac_ext=cpp
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41786
41787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41788 /* end confdefs.h. */
41789 #include <math.h>
41790 #ifdef HAVE_IEEEFP_H
41791 #include <ieeefp.h>
41792 #endif
41793
41794 int
41795 main ()
41796 {
41797 finite(0);
41798 ;
41799 return 0;
41800 }
41801 _ACEOF
41802 if ac_fn_cxx_try_compile "$LINENO"; then :
41803 glibcxx_cv_func_finite_use=yes
41804 else
41805 glibcxx_cv_func_finite_use=no
41806 fi
41807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41808 ac_ext=c
41809 ac_cpp='$CPP $CPPFLAGS'
41810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41813
41814
41815 fi
41816
41817 fi
41818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41819 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41820
41821 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41822 for ac_func in finite
41823 do :
41824 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41825 if test "x$ac_cv_func_finite" = xyes; then :
41826 cat >>confdefs.h <<_ACEOF
41827 #define HAVE_FINITE 1
41828 _ACEOF
41829
41830 fi
41831 done
41832
41833 else
41834
41835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41836 $as_echo_n "checking for _finite declaration... " >&6; }
41837 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41838 if ${glibcxx_cv_func__finite_use+:} false; then :
41839 $as_echo_n "(cached) " >&6
41840 else
41841
41842
41843 ac_ext=cpp
41844 ac_cpp='$CXXCPP $CPPFLAGS'
41845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41848
41849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41850 /* end confdefs.h. */
41851 #include <math.h>
41852 #ifdef HAVE_IEEEFP_H
41853 #include <ieeefp.h>
41854 #endif
41855
41856 int
41857 main ()
41858 {
41859 _finite(0);
41860 ;
41861 return 0;
41862 }
41863 _ACEOF
41864 if ac_fn_cxx_try_compile "$LINENO"; then :
41865 glibcxx_cv_func__finite_use=yes
41866 else
41867 glibcxx_cv_func__finite_use=no
41868 fi
41869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41870 ac_ext=c
41871 ac_cpp='$CPP $CPPFLAGS'
41872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41875
41876
41877 fi
41878
41879 fi
41880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41881 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41882
41883 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41884 for ac_func in _finite
41885 do :
41886 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41887 if test "x$ac_cv_func__finite" = xyes; then :
41888 cat >>confdefs.h <<_ACEOF
41889 #define HAVE__FINITE 1
41890 _ACEOF
41891
41892 fi
41893 done
41894
41895 fi
41896 fi
41897
41898
41899
41900
41901
41902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41903 $as_echo_n "checking for sincos declaration... " >&6; }
41904 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41905 if ${glibcxx_cv_func_sincos_use+:} false; then :
41906 $as_echo_n "(cached) " >&6
41907 else
41908
41909
41910 ac_ext=cpp
41911 ac_cpp='$CXXCPP $CPPFLAGS'
41912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41915
41916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41917 /* end confdefs.h. */
41918 #include <math.h>
41919 int
41920 main ()
41921 {
41922 sincos(0, 0, 0);
41923 ;
41924 return 0;
41925 }
41926 _ACEOF
41927 if ac_fn_cxx_try_compile "$LINENO"; then :
41928 glibcxx_cv_func_sincos_use=yes
41929 else
41930 glibcxx_cv_func_sincos_use=no
41931 fi
41932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41933 ac_ext=c
41934 ac_cpp='$CPP $CPPFLAGS'
41935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41938
41939
41940 fi
41941
41942 fi
41943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41944 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41945
41946 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41947 for ac_func in sincos
41948 do :
41949 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41950 if test "x$ac_cv_func_sincos" = xyes; then :
41951 cat >>confdefs.h <<_ACEOF
41952 #define HAVE_SINCOS 1
41953 _ACEOF
41954
41955 fi
41956 done
41957
41958 else
41959
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41961 $as_echo_n "checking for _sincos declaration... " >&6; }
41962 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41963 if ${glibcxx_cv_func__sincos_use+:} false; then :
41964 $as_echo_n "(cached) " >&6
41965 else
41966
41967
41968 ac_ext=cpp
41969 ac_cpp='$CXXCPP $CPPFLAGS'
41970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41973
41974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41975 /* end confdefs.h. */
41976 #include <math.h>
41977 int
41978 main ()
41979 {
41980 _sincos(0, 0, 0);
41981 ;
41982 return 0;
41983 }
41984 _ACEOF
41985 if ac_fn_cxx_try_compile "$LINENO"; then :
41986 glibcxx_cv_func__sincos_use=yes
41987 else
41988 glibcxx_cv_func__sincos_use=no
41989 fi
41990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41991 ac_ext=c
41992 ac_cpp='$CPP $CPPFLAGS'
41993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41996
41997
41998 fi
41999
42000 fi
42001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42002 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42003
42004 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42005 for ac_func in _sincos
42006 do :
42007 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42008 if test "x$ac_cv_func__sincos" = xyes; then :
42009 cat >>confdefs.h <<_ACEOF
42010 #define HAVE__SINCOS 1
42011 _ACEOF
42012
42013 fi
42014 done
42015
42016 fi
42017 fi
42018
42019
42020
42021
42022
42023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42024 $as_echo_n "checking for fpclass declaration... " >&6; }
42025 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42026 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42027 $as_echo_n "(cached) " >&6
42028 else
42029
42030
42031 ac_ext=cpp
42032 ac_cpp='$CXXCPP $CPPFLAGS'
42033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42036
42037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42038 /* end confdefs.h. */
42039 #include <math.h>
42040 #ifdef HAVE_IEEEFP_H
42041 #include <ieeefp.h>
42042 #endif
42043
42044 int
42045 main ()
42046 {
42047 fpclass(0);
42048 ;
42049 return 0;
42050 }
42051 _ACEOF
42052 if ac_fn_cxx_try_compile "$LINENO"; then :
42053 glibcxx_cv_func_fpclass_use=yes
42054 else
42055 glibcxx_cv_func_fpclass_use=no
42056 fi
42057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42058 ac_ext=c
42059 ac_cpp='$CPP $CPPFLAGS'
42060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42063
42064
42065 fi
42066
42067 fi
42068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42069 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42070
42071 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42072 for ac_func in fpclass
42073 do :
42074 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42075 if test "x$ac_cv_func_fpclass" = xyes; then :
42076 cat >>confdefs.h <<_ACEOF
42077 #define HAVE_FPCLASS 1
42078 _ACEOF
42079
42080 fi
42081 done
42082
42083 else
42084
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42086 $as_echo_n "checking for _fpclass declaration... " >&6; }
42087 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42088 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42089 $as_echo_n "(cached) " >&6
42090 else
42091
42092
42093 ac_ext=cpp
42094 ac_cpp='$CXXCPP $CPPFLAGS'
42095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42098
42099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42100 /* end confdefs.h. */
42101 #include <math.h>
42102 #ifdef HAVE_IEEEFP_H
42103 #include <ieeefp.h>
42104 #endif
42105
42106 int
42107 main ()
42108 {
42109 _fpclass(0);
42110 ;
42111 return 0;
42112 }
42113 _ACEOF
42114 if ac_fn_cxx_try_compile "$LINENO"; then :
42115 glibcxx_cv_func__fpclass_use=yes
42116 else
42117 glibcxx_cv_func__fpclass_use=no
42118 fi
42119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42120 ac_ext=c
42121 ac_cpp='$CPP $CPPFLAGS'
42122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42125
42126
42127 fi
42128
42129 fi
42130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42131 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42132
42133 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42134 for ac_func in _fpclass
42135 do :
42136 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42137 if test "x$ac_cv_func__fpclass" = xyes; then :
42138 cat >>confdefs.h <<_ACEOF
42139 #define HAVE__FPCLASS 1
42140 _ACEOF
42141
42142 fi
42143 done
42144
42145 fi
42146 fi
42147
42148
42149
42150
42151
42152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42153 $as_echo_n "checking for qfpclass declaration... " >&6; }
42154 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42155 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42156 $as_echo_n "(cached) " >&6
42157 else
42158
42159
42160 ac_ext=cpp
42161 ac_cpp='$CXXCPP $CPPFLAGS'
42162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42165
42166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42167 /* end confdefs.h. */
42168 #include <math.h>
42169 #ifdef HAVE_IEEEFP_H
42170 #include <ieeefp.h>
42171 #endif
42172
42173 int
42174 main ()
42175 {
42176 qfpclass(0);
42177 ;
42178 return 0;
42179 }
42180 _ACEOF
42181 if ac_fn_cxx_try_compile "$LINENO"; then :
42182 glibcxx_cv_func_qfpclass_use=yes
42183 else
42184 glibcxx_cv_func_qfpclass_use=no
42185 fi
42186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42187 ac_ext=c
42188 ac_cpp='$CPP $CPPFLAGS'
42189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42192
42193
42194 fi
42195
42196 fi
42197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42198 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42199
42200 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42201 for ac_func in qfpclass
42202 do :
42203 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42204 if test "x$ac_cv_func_qfpclass" = xyes; then :
42205 cat >>confdefs.h <<_ACEOF
42206 #define HAVE_QFPCLASS 1
42207 _ACEOF
42208
42209 fi
42210 done
42211
42212 else
42213
42214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42215 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42216 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42217 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42218 $as_echo_n "(cached) " >&6
42219 else
42220
42221
42222 ac_ext=cpp
42223 ac_cpp='$CXXCPP $CPPFLAGS'
42224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42227
42228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42229 /* end confdefs.h. */
42230 #include <math.h>
42231 #ifdef HAVE_IEEEFP_H
42232 #include <ieeefp.h>
42233 #endif
42234
42235 int
42236 main ()
42237 {
42238 _qfpclass(0);
42239 ;
42240 return 0;
42241 }
42242 _ACEOF
42243 if ac_fn_cxx_try_compile "$LINENO"; then :
42244 glibcxx_cv_func__qfpclass_use=yes
42245 else
42246 glibcxx_cv_func__qfpclass_use=no
42247 fi
42248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42249 ac_ext=c
42250 ac_cpp='$CPP $CPPFLAGS'
42251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42254
42255
42256 fi
42257
42258 fi
42259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42260 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42261
42262 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42263 for ac_func in _qfpclass
42264 do :
42265 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42266 if test "x$ac_cv_func__qfpclass" = xyes; then :
42267 cat >>confdefs.h <<_ACEOF
42268 #define HAVE__QFPCLASS 1
42269 _ACEOF
42270
42271 fi
42272 done
42273
42274 fi
42275 fi
42276
42277
42278
42279
42280
42281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42282 $as_echo_n "checking for hypot declaration... " >&6; }
42283 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42284 if ${glibcxx_cv_func_hypot_use+:} false; then :
42285 $as_echo_n "(cached) " >&6
42286 else
42287
42288
42289 ac_ext=cpp
42290 ac_cpp='$CXXCPP $CPPFLAGS'
42291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42294
42295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42296 /* end confdefs.h. */
42297 #include <math.h>
42298 int
42299 main ()
42300 {
42301 hypot(0, 0);
42302 ;
42303 return 0;
42304 }
42305 _ACEOF
42306 if ac_fn_cxx_try_compile "$LINENO"; then :
42307 glibcxx_cv_func_hypot_use=yes
42308 else
42309 glibcxx_cv_func_hypot_use=no
42310 fi
42311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42312 ac_ext=c
42313 ac_cpp='$CPP $CPPFLAGS'
42314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42317
42318
42319 fi
42320
42321 fi
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42323 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42324
42325 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42326 for ac_func in hypot
42327 do :
42328 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42329 if test "x$ac_cv_func_hypot" = xyes; then :
42330 cat >>confdefs.h <<_ACEOF
42331 #define HAVE_HYPOT 1
42332 _ACEOF
42333
42334 fi
42335 done
42336
42337 else
42338
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42340 $as_echo_n "checking for _hypot declaration... " >&6; }
42341 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42342 if ${glibcxx_cv_func__hypot_use+:} false; then :
42343 $as_echo_n "(cached) " >&6
42344 else
42345
42346
42347 ac_ext=cpp
42348 ac_cpp='$CXXCPP $CPPFLAGS'
42349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42352
42353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42354 /* end confdefs.h. */
42355 #include <math.h>
42356 int
42357 main ()
42358 {
42359 _hypot(0, 0);
42360 ;
42361 return 0;
42362 }
42363 _ACEOF
42364 if ac_fn_cxx_try_compile "$LINENO"; then :
42365 glibcxx_cv_func__hypot_use=yes
42366 else
42367 glibcxx_cv_func__hypot_use=no
42368 fi
42369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42370 ac_ext=c
42371 ac_cpp='$CPP $CPPFLAGS'
42372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42375
42376
42377 fi
42378
42379 fi
42380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42381 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42382
42383 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42384 for ac_func in _hypot
42385 do :
42386 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42387 if test "x$ac_cv_func__hypot" = xyes; then :
42388 cat >>confdefs.h <<_ACEOF
42389 #define HAVE__HYPOT 1
42390 _ACEOF
42391
42392 fi
42393 done
42394
42395 fi
42396 fi
42397
42398
42399
42400
42401
42402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42403 $as_echo_n "checking for float trig functions... " >&6; }
42404 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42405 $as_echo_n "(cached) " >&6
42406 else
42407
42408
42409 ac_ext=cpp
42410 ac_cpp='$CXXCPP $CPPFLAGS'
42411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42414
42415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42416 /* end confdefs.h. */
42417 #include <math.h>
42418 int
42419 main ()
42420 {
42421 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42422 ;
42423 return 0;
42424 }
42425 _ACEOF
42426 if ac_fn_cxx_try_compile "$LINENO"; then :
42427 glibcxx_cv_func_float_trig_use=yes
42428 else
42429 glibcxx_cv_func_float_trig_use=no
42430 fi
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432 ac_ext=c
42433 ac_cpp='$CPP $CPPFLAGS'
42434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42437
42438 fi
42439
42440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42441 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42442 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42443 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42444 do :
42445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42448 cat >>confdefs.h <<_ACEOF
42449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42450 _ACEOF
42451
42452 fi
42453 done
42454
42455 else
42456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42457 $as_echo_n "checking for _float trig functions... " >&6; }
42458 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42459 $as_echo_n "(cached) " >&6
42460 else
42461
42462
42463 ac_ext=cpp
42464 ac_cpp='$CXXCPP $CPPFLAGS'
42465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42468
42469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42470 /* end confdefs.h. */
42471 #include <math.h>
42472 int
42473 main ()
42474 {
42475 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42476 ;
42477 return 0;
42478 }
42479 _ACEOF
42480 if ac_fn_cxx_try_compile "$LINENO"; then :
42481 glibcxx_cv_func__float_trig_use=yes
42482 else
42483 glibcxx_cv_func__float_trig_use=no
42484 fi
42485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42486 ac_ext=c
42487 ac_cpp='$CPP $CPPFLAGS'
42488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42491
42492 fi
42493
42494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42495 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42496 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42497 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42498 do :
42499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42504 _ACEOF
42505
42506 fi
42507 done
42508
42509 fi
42510 fi
42511
42512
42513
42514
42515
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42517 $as_echo_n "checking for float round functions... " >&6; }
42518 if ${glibcxx_cv_func_float_round_use+:} false; then :
42519 $as_echo_n "(cached) " >&6
42520 else
42521
42522
42523 ac_ext=cpp
42524 ac_cpp='$CXXCPP $CPPFLAGS'
42525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42528
42529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42530 /* end confdefs.h. */
42531 #include <math.h>
42532 int
42533 main ()
42534 {
42535 ceilf (0); floorf (0);
42536 ;
42537 return 0;
42538 }
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541 glibcxx_cv_func_float_round_use=yes
42542 else
42543 glibcxx_cv_func_float_round_use=no
42544 fi
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551
42552 fi
42553
42554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42555 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42556 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42557 for ac_func in ceilf floorf
42558 do :
42559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42562 cat >>confdefs.h <<_ACEOF
42563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42564 _ACEOF
42565
42566 fi
42567 done
42568
42569 else
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42571 $as_echo_n "checking for _float round functions... " >&6; }
42572 if ${glibcxx_cv_func__float_round_use+:} false; then :
42573 $as_echo_n "(cached) " >&6
42574 else
42575
42576
42577 ac_ext=cpp
42578 ac_cpp='$CXXCPP $CPPFLAGS'
42579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42582
42583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42584 /* end confdefs.h. */
42585 #include <math.h>
42586 int
42587 main ()
42588 {
42589 _ceilf (0); _floorf (0);
42590 ;
42591 return 0;
42592 }
42593 _ACEOF
42594 if ac_fn_cxx_try_compile "$LINENO"; then :
42595 glibcxx_cv_func__float_round_use=yes
42596 else
42597 glibcxx_cv_func__float_round_use=no
42598 fi
42599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42600 ac_ext=c
42601 ac_cpp='$CPP $CPPFLAGS'
42602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42605
42606 fi
42607
42608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42609 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42610 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42611 for ac_func in _ceilf _floorf
42612 do :
42613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42616 cat >>confdefs.h <<_ACEOF
42617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42618 _ACEOF
42619
42620 fi
42621 done
42622
42623 fi
42624 fi
42625
42626
42627
42628
42629
42630
42631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42632 $as_echo_n "checking for expf declaration... " >&6; }
42633 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42634 if ${glibcxx_cv_func_expf_use+:} false; then :
42635 $as_echo_n "(cached) " >&6
42636 else
42637
42638
42639 ac_ext=cpp
42640 ac_cpp='$CXXCPP $CPPFLAGS'
42641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42644
42645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42646 /* end confdefs.h. */
42647 #include <math.h>
42648 #ifdef HAVE_IEEEFP_H
42649 #include <ieeefp.h>
42650 #endif
42651
42652 int
42653 main ()
42654 {
42655 expf(0);
42656 ;
42657 return 0;
42658 }
42659 _ACEOF
42660 if ac_fn_cxx_try_compile "$LINENO"; then :
42661 glibcxx_cv_func_expf_use=yes
42662 else
42663 glibcxx_cv_func_expf_use=no
42664 fi
42665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42666 ac_ext=c
42667 ac_cpp='$CPP $CPPFLAGS'
42668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42671
42672
42673 fi
42674
42675 fi
42676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42677 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42678
42679 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42680 for ac_func in expf
42681 do :
42682 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42683 if test "x$ac_cv_func_expf" = xyes; then :
42684 cat >>confdefs.h <<_ACEOF
42685 #define HAVE_EXPF 1
42686 _ACEOF
42687
42688 fi
42689 done
42690
42691 else
42692
42693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42694 $as_echo_n "checking for _expf declaration... " >&6; }
42695 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42696 if ${glibcxx_cv_func__expf_use+:} false; then :
42697 $as_echo_n "(cached) " >&6
42698 else
42699
42700
42701 ac_ext=cpp
42702 ac_cpp='$CXXCPP $CPPFLAGS'
42703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42706
42707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42708 /* end confdefs.h. */
42709 #include <math.h>
42710 #ifdef HAVE_IEEEFP_H
42711 #include <ieeefp.h>
42712 #endif
42713
42714 int
42715 main ()
42716 {
42717 _expf(0);
42718 ;
42719 return 0;
42720 }
42721 _ACEOF
42722 if ac_fn_cxx_try_compile "$LINENO"; then :
42723 glibcxx_cv_func__expf_use=yes
42724 else
42725 glibcxx_cv_func__expf_use=no
42726 fi
42727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42728 ac_ext=c
42729 ac_cpp='$CPP $CPPFLAGS'
42730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42733
42734
42735 fi
42736
42737 fi
42738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42739 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42740
42741 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42742 for ac_func in _expf
42743 do :
42744 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42745 if test "x$ac_cv_func__expf" = xyes; then :
42746 cat >>confdefs.h <<_ACEOF
42747 #define HAVE__EXPF 1
42748 _ACEOF
42749
42750 fi
42751 done
42752
42753 fi
42754 fi
42755
42756
42757
42758
42759
42760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42761 $as_echo_n "checking for isnanf declaration... " >&6; }
42762 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42763 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42764 $as_echo_n "(cached) " >&6
42765 else
42766
42767
42768 ac_ext=cpp
42769 ac_cpp='$CXXCPP $CPPFLAGS'
42770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42773
42774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42775 /* end confdefs.h. */
42776 #include <math.h>
42777 #ifdef HAVE_IEEEFP_H
42778 #include <ieeefp.h>
42779 #endif
42780
42781 int
42782 main ()
42783 {
42784 isnanf(0);
42785 ;
42786 return 0;
42787 }
42788 _ACEOF
42789 if ac_fn_cxx_try_compile "$LINENO"; then :
42790 glibcxx_cv_func_isnanf_use=yes
42791 else
42792 glibcxx_cv_func_isnanf_use=no
42793 fi
42794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795 ac_ext=c
42796 ac_cpp='$CPP $CPPFLAGS'
42797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42800
42801
42802 fi
42803
42804 fi
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42806 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42807
42808 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42809 for ac_func in isnanf
42810 do :
42811 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42812 if test "x$ac_cv_func_isnanf" = xyes; then :
42813 cat >>confdefs.h <<_ACEOF
42814 #define HAVE_ISNANF 1
42815 _ACEOF
42816
42817 fi
42818 done
42819
42820 else
42821
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42823 $as_echo_n "checking for _isnanf declaration... " >&6; }
42824 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42825 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42826 $as_echo_n "(cached) " >&6
42827 else
42828
42829
42830 ac_ext=cpp
42831 ac_cpp='$CXXCPP $CPPFLAGS'
42832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42835
42836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42837 /* end confdefs.h. */
42838 #include <math.h>
42839 #ifdef HAVE_IEEEFP_H
42840 #include <ieeefp.h>
42841 #endif
42842
42843 int
42844 main ()
42845 {
42846 _isnanf(0);
42847 ;
42848 return 0;
42849 }
42850 _ACEOF
42851 if ac_fn_cxx_try_compile "$LINENO"; then :
42852 glibcxx_cv_func__isnanf_use=yes
42853 else
42854 glibcxx_cv_func__isnanf_use=no
42855 fi
42856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42857 ac_ext=c
42858 ac_cpp='$CPP $CPPFLAGS'
42859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42862
42863
42864 fi
42865
42866 fi
42867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42868 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42869
42870 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42871 for ac_func in _isnanf
42872 do :
42873 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42874 if test "x$ac_cv_func__isnanf" = xyes; then :
42875 cat >>confdefs.h <<_ACEOF
42876 #define HAVE__ISNANF 1
42877 _ACEOF
42878
42879 fi
42880 done
42881
42882 fi
42883 fi
42884
42885
42886
42887
42888
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42890 $as_echo_n "checking for isinff declaration... " >&6; }
42891 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42892 if ${glibcxx_cv_func_isinff_use+:} false; then :
42893 $as_echo_n "(cached) " >&6
42894 else
42895
42896
42897 ac_ext=cpp
42898 ac_cpp='$CXXCPP $CPPFLAGS'
42899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42902
42903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42904 /* end confdefs.h. */
42905 #include <math.h>
42906 #ifdef HAVE_IEEEFP_H
42907 #include <ieeefp.h>
42908 #endif
42909
42910 int
42911 main ()
42912 {
42913 isinff(0);
42914 ;
42915 return 0;
42916 }
42917 _ACEOF
42918 if ac_fn_cxx_try_compile "$LINENO"; then :
42919 glibcxx_cv_func_isinff_use=yes
42920 else
42921 glibcxx_cv_func_isinff_use=no
42922 fi
42923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42924 ac_ext=c
42925 ac_cpp='$CPP $CPPFLAGS'
42926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42929
42930
42931 fi
42932
42933 fi
42934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42935 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42936
42937 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42938 for ac_func in isinff
42939 do :
42940 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42941 if test "x$ac_cv_func_isinff" = xyes; then :
42942 cat >>confdefs.h <<_ACEOF
42943 #define HAVE_ISINFF 1
42944 _ACEOF
42945
42946 fi
42947 done
42948
42949 else
42950
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42952 $as_echo_n "checking for _isinff declaration... " >&6; }
42953 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42954 if ${glibcxx_cv_func__isinff_use+:} false; then :
42955 $as_echo_n "(cached) " >&6
42956 else
42957
42958
42959 ac_ext=cpp
42960 ac_cpp='$CXXCPP $CPPFLAGS'
42961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42964
42965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42966 /* end confdefs.h. */
42967 #include <math.h>
42968 #ifdef HAVE_IEEEFP_H
42969 #include <ieeefp.h>
42970 #endif
42971
42972 int
42973 main ()
42974 {
42975 _isinff(0);
42976 ;
42977 return 0;
42978 }
42979 _ACEOF
42980 if ac_fn_cxx_try_compile "$LINENO"; then :
42981 glibcxx_cv_func__isinff_use=yes
42982 else
42983 glibcxx_cv_func__isinff_use=no
42984 fi
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986 ac_ext=c
42987 ac_cpp='$CPP $CPPFLAGS'
42988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42991
42992
42993 fi
42994
42995 fi
42996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42997 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42998
42999 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43000 for ac_func in _isinff
43001 do :
43002 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43003 if test "x$ac_cv_func__isinff" = xyes; then :
43004 cat >>confdefs.h <<_ACEOF
43005 #define HAVE__ISINFF 1
43006 _ACEOF
43007
43008 fi
43009 done
43010
43011 fi
43012 fi
43013
43014
43015
43016
43017
43018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43019 $as_echo_n "checking for atan2f declaration... " >&6; }
43020 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43021 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43022 $as_echo_n "(cached) " >&6
43023 else
43024
43025
43026 ac_ext=cpp
43027 ac_cpp='$CXXCPP $CPPFLAGS'
43028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43031
43032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43033 /* end confdefs.h. */
43034 #include <math.h>
43035 int
43036 main ()
43037 {
43038 atan2f(0, 0);
43039 ;
43040 return 0;
43041 }
43042 _ACEOF
43043 if ac_fn_cxx_try_compile "$LINENO"; then :
43044 glibcxx_cv_func_atan2f_use=yes
43045 else
43046 glibcxx_cv_func_atan2f_use=no
43047 fi
43048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43049 ac_ext=c
43050 ac_cpp='$CPP $CPPFLAGS'
43051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43054
43055
43056 fi
43057
43058 fi
43059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43060 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43061
43062 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43063 for ac_func in atan2f
43064 do :
43065 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43066 if test "x$ac_cv_func_atan2f" = xyes; then :
43067 cat >>confdefs.h <<_ACEOF
43068 #define HAVE_ATAN2F 1
43069 _ACEOF
43070
43071 fi
43072 done
43073
43074 else
43075
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43077 $as_echo_n "checking for _atan2f declaration... " >&6; }
43078 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43079 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43080 $as_echo_n "(cached) " >&6
43081 else
43082
43083
43084 ac_ext=cpp
43085 ac_cpp='$CXXCPP $CPPFLAGS'
43086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43089
43090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43091 /* end confdefs.h. */
43092 #include <math.h>
43093 int
43094 main ()
43095 {
43096 _atan2f(0, 0);
43097 ;
43098 return 0;
43099 }
43100 _ACEOF
43101 if ac_fn_cxx_try_compile "$LINENO"; then :
43102 glibcxx_cv_func__atan2f_use=yes
43103 else
43104 glibcxx_cv_func__atan2f_use=no
43105 fi
43106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43107 ac_ext=c
43108 ac_cpp='$CPP $CPPFLAGS'
43109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43112
43113
43114 fi
43115
43116 fi
43117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43118 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43119
43120 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43121 for ac_func in _atan2f
43122 do :
43123 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43124 if test "x$ac_cv_func__atan2f" = xyes; then :
43125 cat >>confdefs.h <<_ACEOF
43126 #define HAVE__ATAN2F 1
43127 _ACEOF
43128
43129 fi
43130 done
43131
43132 fi
43133 fi
43134
43135
43136
43137
43138
43139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43140 $as_echo_n "checking for fabsf declaration... " >&6; }
43141 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43142 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43143 $as_echo_n "(cached) " >&6
43144 else
43145
43146
43147 ac_ext=cpp
43148 ac_cpp='$CXXCPP $CPPFLAGS'
43149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43152
43153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43154 /* end confdefs.h. */
43155 #include <math.h>
43156 #ifdef HAVE_IEEEFP_H
43157 #include <ieeefp.h>
43158 #endif
43159
43160 int
43161 main ()
43162 {
43163 fabsf(0);
43164 ;
43165 return 0;
43166 }
43167 _ACEOF
43168 if ac_fn_cxx_try_compile "$LINENO"; then :
43169 glibcxx_cv_func_fabsf_use=yes
43170 else
43171 glibcxx_cv_func_fabsf_use=no
43172 fi
43173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43174 ac_ext=c
43175 ac_cpp='$CPP $CPPFLAGS'
43176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43179
43180
43181 fi
43182
43183 fi
43184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43185 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43186
43187 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43188 for ac_func in fabsf
43189 do :
43190 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43191 if test "x$ac_cv_func_fabsf" = xyes; then :
43192 cat >>confdefs.h <<_ACEOF
43193 #define HAVE_FABSF 1
43194 _ACEOF
43195
43196 fi
43197 done
43198
43199 else
43200
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43202 $as_echo_n "checking for _fabsf declaration... " >&6; }
43203 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43204 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43205 $as_echo_n "(cached) " >&6
43206 else
43207
43208
43209 ac_ext=cpp
43210 ac_cpp='$CXXCPP $CPPFLAGS'
43211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43214
43215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43216 /* end confdefs.h. */
43217 #include <math.h>
43218 #ifdef HAVE_IEEEFP_H
43219 #include <ieeefp.h>
43220 #endif
43221
43222 int
43223 main ()
43224 {
43225 _fabsf(0);
43226 ;
43227 return 0;
43228 }
43229 _ACEOF
43230 if ac_fn_cxx_try_compile "$LINENO"; then :
43231 glibcxx_cv_func__fabsf_use=yes
43232 else
43233 glibcxx_cv_func__fabsf_use=no
43234 fi
43235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43236 ac_ext=c
43237 ac_cpp='$CPP $CPPFLAGS'
43238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43241
43242
43243 fi
43244
43245 fi
43246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43247 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43248
43249 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43250 for ac_func in _fabsf
43251 do :
43252 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43253 if test "x$ac_cv_func__fabsf" = xyes; then :
43254 cat >>confdefs.h <<_ACEOF
43255 #define HAVE__FABSF 1
43256 _ACEOF
43257
43258 fi
43259 done
43260
43261 fi
43262 fi
43263
43264
43265
43266
43267
43268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43269 $as_echo_n "checking for fmodf declaration... " >&6; }
43270 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43271 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43272 $as_echo_n "(cached) " >&6
43273 else
43274
43275
43276 ac_ext=cpp
43277 ac_cpp='$CXXCPP $CPPFLAGS'
43278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43281
43282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43283 /* end confdefs.h. */
43284 #include <math.h>
43285 int
43286 main ()
43287 {
43288 fmodf(0, 0);
43289 ;
43290 return 0;
43291 }
43292 _ACEOF
43293 if ac_fn_cxx_try_compile "$LINENO"; then :
43294 glibcxx_cv_func_fmodf_use=yes
43295 else
43296 glibcxx_cv_func_fmodf_use=no
43297 fi
43298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43299 ac_ext=c
43300 ac_cpp='$CPP $CPPFLAGS'
43301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43304
43305
43306 fi
43307
43308 fi
43309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43310 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43311
43312 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43313 for ac_func in fmodf
43314 do :
43315 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43316 if test "x$ac_cv_func_fmodf" = xyes; then :
43317 cat >>confdefs.h <<_ACEOF
43318 #define HAVE_FMODF 1
43319 _ACEOF
43320
43321 fi
43322 done
43323
43324 else
43325
43326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43327 $as_echo_n "checking for _fmodf declaration... " >&6; }
43328 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43329 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43330 $as_echo_n "(cached) " >&6
43331 else
43332
43333
43334 ac_ext=cpp
43335 ac_cpp='$CXXCPP $CPPFLAGS'
43336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43339
43340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43341 /* end confdefs.h. */
43342 #include <math.h>
43343 int
43344 main ()
43345 {
43346 _fmodf(0, 0);
43347 ;
43348 return 0;
43349 }
43350 _ACEOF
43351 if ac_fn_cxx_try_compile "$LINENO"; then :
43352 glibcxx_cv_func__fmodf_use=yes
43353 else
43354 glibcxx_cv_func__fmodf_use=no
43355 fi
43356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43357 ac_ext=c
43358 ac_cpp='$CPP $CPPFLAGS'
43359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43362
43363
43364 fi
43365
43366 fi
43367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43368 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43369
43370 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43371 for ac_func in _fmodf
43372 do :
43373 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43374 if test "x$ac_cv_func__fmodf" = xyes; then :
43375 cat >>confdefs.h <<_ACEOF
43376 #define HAVE__FMODF 1
43377 _ACEOF
43378
43379 fi
43380 done
43381
43382 fi
43383 fi
43384
43385
43386
43387
43388
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43390 $as_echo_n "checking for frexpf declaration... " >&6; }
43391 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43392 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43393 $as_echo_n "(cached) " >&6
43394 else
43395
43396
43397 ac_ext=cpp
43398 ac_cpp='$CXXCPP $CPPFLAGS'
43399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43402
43403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43404 /* end confdefs.h. */
43405 #include <math.h>
43406 int
43407 main ()
43408 {
43409 frexpf(0, 0);
43410 ;
43411 return 0;
43412 }
43413 _ACEOF
43414 if ac_fn_cxx_try_compile "$LINENO"; then :
43415 glibcxx_cv_func_frexpf_use=yes
43416 else
43417 glibcxx_cv_func_frexpf_use=no
43418 fi
43419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43420 ac_ext=c
43421 ac_cpp='$CPP $CPPFLAGS'
43422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43425
43426
43427 fi
43428
43429 fi
43430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43431 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43432
43433 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43434 for ac_func in frexpf
43435 do :
43436 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43437 if test "x$ac_cv_func_frexpf" = xyes; then :
43438 cat >>confdefs.h <<_ACEOF
43439 #define HAVE_FREXPF 1
43440 _ACEOF
43441
43442 fi
43443 done
43444
43445 else
43446
43447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43448 $as_echo_n "checking for _frexpf declaration... " >&6; }
43449 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43450 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43451 $as_echo_n "(cached) " >&6
43452 else
43453
43454
43455 ac_ext=cpp
43456 ac_cpp='$CXXCPP $CPPFLAGS'
43457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43460
43461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43462 /* end confdefs.h. */
43463 #include <math.h>
43464 int
43465 main ()
43466 {
43467 _frexpf(0, 0);
43468 ;
43469 return 0;
43470 }
43471 _ACEOF
43472 if ac_fn_cxx_try_compile "$LINENO"; then :
43473 glibcxx_cv_func__frexpf_use=yes
43474 else
43475 glibcxx_cv_func__frexpf_use=no
43476 fi
43477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43478 ac_ext=c
43479 ac_cpp='$CPP $CPPFLAGS'
43480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43483
43484
43485 fi
43486
43487 fi
43488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43489 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43490
43491 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43492 for ac_func in _frexpf
43493 do :
43494 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43495 if test "x$ac_cv_func__frexpf" = xyes; then :
43496 cat >>confdefs.h <<_ACEOF
43497 #define HAVE__FREXPF 1
43498 _ACEOF
43499
43500 fi
43501 done
43502
43503 fi
43504 fi
43505
43506
43507
43508
43509
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43511 $as_echo_n "checking for hypotf declaration... " >&6; }
43512 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43513 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43514 $as_echo_n "(cached) " >&6
43515 else
43516
43517
43518 ac_ext=cpp
43519 ac_cpp='$CXXCPP $CPPFLAGS'
43520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43523
43524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43525 /* end confdefs.h. */
43526 #include <math.h>
43527 int
43528 main ()
43529 {
43530 hypotf(0, 0);
43531 ;
43532 return 0;
43533 }
43534 _ACEOF
43535 if ac_fn_cxx_try_compile "$LINENO"; then :
43536 glibcxx_cv_func_hypotf_use=yes
43537 else
43538 glibcxx_cv_func_hypotf_use=no
43539 fi
43540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43541 ac_ext=c
43542 ac_cpp='$CPP $CPPFLAGS'
43543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43546
43547
43548 fi
43549
43550 fi
43551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43552 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43553
43554 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43555 for ac_func in hypotf
43556 do :
43557 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43558 if test "x$ac_cv_func_hypotf" = xyes; then :
43559 cat >>confdefs.h <<_ACEOF
43560 #define HAVE_HYPOTF 1
43561 _ACEOF
43562
43563 fi
43564 done
43565
43566 else
43567
43568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43569 $as_echo_n "checking for _hypotf declaration... " >&6; }
43570 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43571 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43572 $as_echo_n "(cached) " >&6
43573 else
43574
43575
43576 ac_ext=cpp
43577 ac_cpp='$CXXCPP $CPPFLAGS'
43578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43581
43582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43583 /* end confdefs.h. */
43584 #include <math.h>
43585 int
43586 main ()
43587 {
43588 _hypotf(0, 0);
43589 ;
43590 return 0;
43591 }
43592 _ACEOF
43593 if ac_fn_cxx_try_compile "$LINENO"; then :
43594 glibcxx_cv_func__hypotf_use=yes
43595 else
43596 glibcxx_cv_func__hypotf_use=no
43597 fi
43598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43599 ac_ext=c
43600 ac_cpp='$CPP $CPPFLAGS'
43601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43604
43605
43606 fi
43607
43608 fi
43609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43610 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43611
43612 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43613 for ac_func in _hypotf
43614 do :
43615 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43616 if test "x$ac_cv_func__hypotf" = xyes; then :
43617 cat >>confdefs.h <<_ACEOF
43618 #define HAVE__HYPOTF 1
43619 _ACEOF
43620
43621 fi
43622 done
43623
43624 fi
43625 fi
43626
43627
43628
43629
43630
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43632 $as_echo_n "checking for ldexpf declaration... " >&6; }
43633 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43634 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43635 $as_echo_n "(cached) " >&6
43636 else
43637
43638
43639 ac_ext=cpp
43640 ac_cpp='$CXXCPP $CPPFLAGS'
43641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43644
43645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43646 /* end confdefs.h. */
43647 #include <math.h>
43648 int
43649 main ()
43650 {
43651 ldexpf(0, 0);
43652 ;
43653 return 0;
43654 }
43655 _ACEOF
43656 if ac_fn_cxx_try_compile "$LINENO"; then :
43657 glibcxx_cv_func_ldexpf_use=yes
43658 else
43659 glibcxx_cv_func_ldexpf_use=no
43660 fi
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_ext=c
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43667
43668
43669 fi
43670
43671 fi
43672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43673 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43674
43675 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43676 for ac_func in ldexpf
43677 do :
43678 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43679 if test "x$ac_cv_func_ldexpf" = xyes; then :
43680 cat >>confdefs.h <<_ACEOF
43681 #define HAVE_LDEXPF 1
43682 _ACEOF
43683
43684 fi
43685 done
43686
43687 else
43688
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43690 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43691 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43692 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43693 $as_echo_n "(cached) " >&6
43694 else
43695
43696
43697 ac_ext=cpp
43698 ac_cpp='$CXXCPP $CPPFLAGS'
43699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43702
43703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43704 /* end confdefs.h. */
43705 #include <math.h>
43706 int
43707 main ()
43708 {
43709 _ldexpf(0, 0);
43710 ;
43711 return 0;
43712 }
43713 _ACEOF
43714 if ac_fn_cxx_try_compile "$LINENO"; then :
43715 glibcxx_cv_func__ldexpf_use=yes
43716 else
43717 glibcxx_cv_func__ldexpf_use=no
43718 fi
43719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 ac_ext=c
43721 ac_cpp='$CPP $CPPFLAGS'
43722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43725
43726
43727 fi
43728
43729 fi
43730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43731 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43732
43733 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43734 for ac_func in _ldexpf
43735 do :
43736 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43737 if test "x$ac_cv_func__ldexpf" = xyes; then :
43738 cat >>confdefs.h <<_ACEOF
43739 #define HAVE__LDEXPF 1
43740 _ACEOF
43741
43742 fi
43743 done
43744
43745 fi
43746 fi
43747
43748
43749
43750
43751
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43753 $as_echo_n "checking for logf declaration... " >&6; }
43754 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43755 if ${glibcxx_cv_func_logf_use+:} false; then :
43756 $as_echo_n "(cached) " >&6
43757 else
43758
43759
43760 ac_ext=cpp
43761 ac_cpp='$CXXCPP $CPPFLAGS'
43762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43765
43766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43767 /* end confdefs.h. */
43768 #include <math.h>
43769 #ifdef HAVE_IEEEFP_H
43770 #include <ieeefp.h>
43771 #endif
43772
43773 int
43774 main ()
43775 {
43776 logf(0);
43777 ;
43778 return 0;
43779 }
43780 _ACEOF
43781 if ac_fn_cxx_try_compile "$LINENO"; then :
43782 glibcxx_cv_func_logf_use=yes
43783 else
43784 glibcxx_cv_func_logf_use=no
43785 fi
43786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43787 ac_ext=c
43788 ac_cpp='$CPP $CPPFLAGS'
43789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43792
43793
43794 fi
43795
43796 fi
43797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43798 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43799
43800 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43801 for ac_func in logf
43802 do :
43803 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43804 if test "x$ac_cv_func_logf" = xyes; then :
43805 cat >>confdefs.h <<_ACEOF
43806 #define HAVE_LOGF 1
43807 _ACEOF
43808
43809 fi
43810 done
43811
43812 else
43813
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43815 $as_echo_n "checking for _logf declaration... " >&6; }
43816 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43817 if ${glibcxx_cv_func__logf_use+:} false; then :
43818 $as_echo_n "(cached) " >&6
43819 else
43820
43821
43822 ac_ext=cpp
43823 ac_cpp='$CXXCPP $CPPFLAGS'
43824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43827
43828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43829 /* end confdefs.h. */
43830 #include <math.h>
43831 #ifdef HAVE_IEEEFP_H
43832 #include <ieeefp.h>
43833 #endif
43834
43835 int
43836 main ()
43837 {
43838 _logf(0);
43839 ;
43840 return 0;
43841 }
43842 _ACEOF
43843 if ac_fn_cxx_try_compile "$LINENO"; then :
43844 glibcxx_cv_func__logf_use=yes
43845 else
43846 glibcxx_cv_func__logf_use=no
43847 fi
43848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43849 ac_ext=c
43850 ac_cpp='$CPP $CPPFLAGS'
43851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43854
43855
43856 fi
43857
43858 fi
43859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43860 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43861
43862 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43863 for ac_func in _logf
43864 do :
43865 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43866 if test "x$ac_cv_func__logf" = xyes; then :
43867 cat >>confdefs.h <<_ACEOF
43868 #define HAVE__LOGF 1
43869 _ACEOF
43870
43871 fi
43872 done
43873
43874 fi
43875 fi
43876
43877
43878
43879
43880
43881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43882 $as_echo_n "checking for log10f declaration... " >&6; }
43883 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43884 if ${glibcxx_cv_func_log10f_use+:} false; then :
43885 $as_echo_n "(cached) " >&6
43886 else
43887
43888
43889 ac_ext=cpp
43890 ac_cpp='$CXXCPP $CPPFLAGS'
43891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43894
43895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43896 /* end confdefs.h. */
43897 #include <math.h>
43898 #ifdef HAVE_IEEEFP_H
43899 #include <ieeefp.h>
43900 #endif
43901
43902 int
43903 main ()
43904 {
43905 log10f(0);
43906 ;
43907 return 0;
43908 }
43909 _ACEOF
43910 if ac_fn_cxx_try_compile "$LINENO"; then :
43911 glibcxx_cv_func_log10f_use=yes
43912 else
43913 glibcxx_cv_func_log10f_use=no
43914 fi
43915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43916 ac_ext=c
43917 ac_cpp='$CPP $CPPFLAGS'
43918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43921
43922
43923 fi
43924
43925 fi
43926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43927 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43928
43929 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43930 for ac_func in log10f
43931 do :
43932 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43933 if test "x$ac_cv_func_log10f" = xyes; then :
43934 cat >>confdefs.h <<_ACEOF
43935 #define HAVE_LOG10F 1
43936 _ACEOF
43937
43938 fi
43939 done
43940
43941 else
43942
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43944 $as_echo_n "checking for _log10f declaration... " >&6; }
43945 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43946 if ${glibcxx_cv_func__log10f_use+:} false; then :
43947 $as_echo_n "(cached) " >&6
43948 else
43949
43950
43951 ac_ext=cpp
43952 ac_cpp='$CXXCPP $CPPFLAGS'
43953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43956
43957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43958 /* end confdefs.h. */
43959 #include <math.h>
43960 #ifdef HAVE_IEEEFP_H
43961 #include <ieeefp.h>
43962 #endif
43963
43964 int
43965 main ()
43966 {
43967 _log10f(0);
43968 ;
43969 return 0;
43970 }
43971 _ACEOF
43972 if ac_fn_cxx_try_compile "$LINENO"; then :
43973 glibcxx_cv_func__log10f_use=yes
43974 else
43975 glibcxx_cv_func__log10f_use=no
43976 fi
43977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43978 ac_ext=c
43979 ac_cpp='$CPP $CPPFLAGS'
43980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43983
43984
43985 fi
43986
43987 fi
43988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43989 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43990
43991 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43992 for ac_func in _log10f
43993 do :
43994 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43995 if test "x$ac_cv_func__log10f" = xyes; then :
43996 cat >>confdefs.h <<_ACEOF
43997 #define HAVE__LOG10F 1
43998 _ACEOF
43999
44000 fi
44001 done
44002
44003 fi
44004 fi
44005
44006
44007
44008
44009
44010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44011 $as_echo_n "checking for modff declaration... " >&6; }
44012 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44013 if ${glibcxx_cv_func_modff_use+:} false; then :
44014 $as_echo_n "(cached) " >&6
44015 else
44016
44017
44018 ac_ext=cpp
44019 ac_cpp='$CXXCPP $CPPFLAGS'
44020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44023
44024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44025 /* end confdefs.h. */
44026 #include <math.h>
44027 int
44028 main ()
44029 {
44030 modff(0, 0);
44031 ;
44032 return 0;
44033 }
44034 _ACEOF
44035 if ac_fn_cxx_try_compile "$LINENO"; then :
44036 glibcxx_cv_func_modff_use=yes
44037 else
44038 glibcxx_cv_func_modff_use=no
44039 fi
44040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44041 ac_ext=c
44042 ac_cpp='$CPP $CPPFLAGS'
44043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44046
44047
44048 fi
44049
44050 fi
44051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44052 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44053
44054 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44055 for ac_func in modff
44056 do :
44057 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44058 if test "x$ac_cv_func_modff" = xyes; then :
44059 cat >>confdefs.h <<_ACEOF
44060 #define HAVE_MODFF 1
44061 _ACEOF
44062
44063 fi
44064 done
44065
44066 else
44067
44068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44069 $as_echo_n "checking for _modff declaration... " >&6; }
44070 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44071 if ${glibcxx_cv_func__modff_use+:} false; then :
44072 $as_echo_n "(cached) " >&6
44073 else
44074
44075
44076 ac_ext=cpp
44077 ac_cpp='$CXXCPP $CPPFLAGS'
44078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44081
44082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44083 /* end confdefs.h. */
44084 #include <math.h>
44085 int
44086 main ()
44087 {
44088 _modff(0, 0);
44089 ;
44090 return 0;
44091 }
44092 _ACEOF
44093 if ac_fn_cxx_try_compile "$LINENO"; then :
44094 glibcxx_cv_func__modff_use=yes
44095 else
44096 glibcxx_cv_func__modff_use=no
44097 fi
44098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44099 ac_ext=c
44100 ac_cpp='$CPP $CPPFLAGS'
44101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44104
44105
44106 fi
44107
44108 fi
44109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44110 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44111
44112 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44113 for ac_func in _modff
44114 do :
44115 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44116 if test "x$ac_cv_func__modff" = xyes; then :
44117 cat >>confdefs.h <<_ACEOF
44118 #define HAVE__MODFF 1
44119 _ACEOF
44120
44121 fi
44122 done
44123
44124 fi
44125 fi
44126
44127
44128
44129
44130
44131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44132 $as_echo_n "checking for modf declaration... " >&6; }
44133 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44134 if ${glibcxx_cv_func_modf_use+:} false; then :
44135 $as_echo_n "(cached) " >&6
44136 else
44137
44138
44139 ac_ext=cpp
44140 ac_cpp='$CXXCPP $CPPFLAGS'
44141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44144
44145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44146 /* end confdefs.h. */
44147 #include <math.h>
44148 int
44149 main ()
44150 {
44151 modf(0, 0);
44152 ;
44153 return 0;
44154 }
44155 _ACEOF
44156 if ac_fn_cxx_try_compile "$LINENO"; then :
44157 glibcxx_cv_func_modf_use=yes
44158 else
44159 glibcxx_cv_func_modf_use=no
44160 fi
44161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44162 ac_ext=c
44163 ac_cpp='$CPP $CPPFLAGS'
44164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44167
44168
44169 fi
44170
44171 fi
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44173 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44174
44175 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44176 for ac_func in modf
44177 do :
44178 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44179 if test "x$ac_cv_func_modf" = xyes; then :
44180 cat >>confdefs.h <<_ACEOF
44181 #define HAVE_MODF 1
44182 _ACEOF
44183
44184 fi
44185 done
44186
44187 else
44188
44189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44190 $as_echo_n "checking for _modf declaration... " >&6; }
44191 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44192 if ${glibcxx_cv_func__modf_use+:} false; then :
44193 $as_echo_n "(cached) " >&6
44194 else
44195
44196
44197 ac_ext=cpp
44198 ac_cpp='$CXXCPP $CPPFLAGS'
44199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44202
44203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44204 /* end confdefs.h. */
44205 #include <math.h>
44206 int
44207 main ()
44208 {
44209 _modf(0, 0);
44210 ;
44211 return 0;
44212 }
44213 _ACEOF
44214 if ac_fn_cxx_try_compile "$LINENO"; then :
44215 glibcxx_cv_func__modf_use=yes
44216 else
44217 glibcxx_cv_func__modf_use=no
44218 fi
44219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44220 ac_ext=c
44221 ac_cpp='$CPP $CPPFLAGS'
44222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44225
44226
44227 fi
44228
44229 fi
44230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44231 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44232
44233 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44234 for ac_func in _modf
44235 do :
44236 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44237 if test "x$ac_cv_func__modf" = xyes; then :
44238 cat >>confdefs.h <<_ACEOF
44239 #define HAVE__MODF 1
44240 _ACEOF
44241
44242 fi
44243 done
44244
44245 fi
44246 fi
44247
44248
44249
44250
44251
44252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44253 $as_echo_n "checking for powf declaration... " >&6; }
44254 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44255 if ${glibcxx_cv_func_powf_use+:} false; then :
44256 $as_echo_n "(cached) " >&6
44257 else
44258
44259
44260 ac_ext=cpp
44261 ac_cpp='$CXXCPP $CPPFLAGS'
44262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44265
44266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44267 /* end confdefs.h. */
44268 #include <math.h>
44269 int
44270 main ()
44271 {
44272 powf(0, 0);
44273 ;
44274 return 0;
44275 }
44276 _ACEOF
44277 if ac_fn_cxx_try_compile "$LINENO"; then :
44278 glibcxx_cv_func_powf_use=yes
44279 else
44280 glibcxx_cv_func_powf_use=no
44281 fi
44282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44283 ac_ext=c
44284 ac_cpp='$CPP $CPPFLAGS'
44285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44288
44289
44290 fi
44291
44292 fi
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44294 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44295
44296 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44297 for ac_func in powf
44298 do :
44299 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44300 if test "x$ac_cv_func_powf" = xyes; then :
44301 cat >>confdefs.h <<_ACEOF
44302 #define HAVE_POWF 1
44303 _ACEOF
44304
44305 fi
44306 done
44307
44308 else
44309
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44311 $as_echo_n "checking for _powf declaration... " >&6; }
44312 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44313 if ${glibcxx_cv_func__powf_use+:} false; then :
44314 $as_echo_n "(cached) " >&6
44315 else
44316
44317
44318 ac_ext=cpp
44319 ac_cpp='$CXXCPP $CPPFLAGS'
44320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44323
44324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44325 /* end confdefs.h. */
44326 #include <math.h>
44327 int
44328 main ()
44329 {
44330 _powf(0, 0);
44331 ;
44332 return 0;
44333 }
44334 _ACEOF
44335 if ac_fn_cxx_try_compile "$LINENO"; then :
44336 glibcxx_cv_func__powf_use=yes
44337 else
44338 glibcxx_cv_func__powf_use=no
44339 fi
44340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44341 ac_ext=c
44342 ac_cpp='$CPP $CPPFLAGS'
44343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44346
44347
44348 fi
44349
44350 fi
44351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44352 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44353
44354 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44355 for ac_func in _powf
44356 do :
44357 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44358 if test "x$ac_cv_func__powf" = xyes; then :
44359 cat >>confdefs.h <<_ACEOF
44360 #define HAVE__POWF 1
44361 _ACEOF
44362
44363 fi
44364 done
44365
44366 fi
44367 fi
44368
44369
44370
44371
44372
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44374 $as_echo_n "checking for sqrtf declaration... " >&6; }
44375 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44376 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44377 $as_echo_n "(cached) " >&6
44378 else
44379
44380
44381 ac_ext=cpp
44382 ac_cpp='$CXXCPP $CPPFLAGS'
44383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44386
44387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44388 /* end confdefs.h. */
44389 #include <math.h>
44390 #ifdef HAVE_IEEEFP_H
44391 #include <ieeefp.h>
44392 #endif
44393
44394 int
44395 main ()
44396 {
44397 sqrtf(0);
44398 ;
44399 return 0;
44400 }
44401 _ACEOF
44402 if ac_fn_cxx_try_compile "$LINENO"; then :
44403 glibcxx_cv_func_sqrtf_use=yes
44404 else
44405 glibcxx_cv_func_sqrtf_use=no
44406 fi
44407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44408 ac_ext=c
44409 ac_cpp='$CPP $CPPFLAGS'
44410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44413
44414
44415 fi
44416
44417 fi
44418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44419 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44420
44421 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44422 for ac_func in sqrtf
44423 do :
44424 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44425 if test "x$ac_cv_func_sqrtf" = xyes; then :
44426 cat >>confdefs.h <<_ACEOF
44427 #define HAVE_SQRTF 1
44428 _ACEOF
44429
44430 fi
44431 done
44432
44433 else
44434
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44436 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44437 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44438 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44439 $as_echo_n "(cached) " >&6
44440 else
44441
44442
44443 ac_ext=cpp
44444 ac_cpp='$CXXCPP $CPPFLAGS'
44445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44448
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h. */
44451 #include <math.h>
44452 #ifdef HAVE_IEEEFP_H
44453 #include <ieeefp.h>
44454 #endif
44455
44456 int
44457 main ()
44458 {
44459 _sqrtf(0);
44460 ;
44461 return 0;
44462 }
44463 _ACEOF
44464 if ac_fn_cxx_try_compile "$LINENO"; then :
44465 glibcxx_cv_func__sqrtf_use=yes
44466 else
44467 glibcxx_cv_func__sqrtf_use=no
44468 fi
44469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44470 ac_ext=c
44471 ac_cpp='$CPP $CPPFLAGS'
44472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44475
44476
44477 fi
44478
44479 fi
44480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44481 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44482
44483 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44484 for ac_func in _sqrtf
44485 do :
44486 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44487 if test "x$ac_cv_func__sqrtf" = xyes; then :
44488 cat >>confdefs.h <<_ACEOF
44489 #define HAVE__SQRTF 1
44490 _ACEOF
44491
44492 fi
44493 done
44494
44495 fi
44496 fi
44497
44498
44499
44500
44501
44502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44503 $as_echo_n "checking for sincosf declaration... " >&6; }
44504 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44505 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44506 $as_echo_n "(cached) " >&6
44507 else
44508
44509
44510 ac_ext=cpp
44511 ac_cpp='$CXXCPP $CPPFLAGS'
44512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44515
44516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44517 /* end confdefs.h. */
44518 #include <math.h>
44519 int
44520 main ()
44521 {
44522 sincosf(0, 0, 0);
44523 ;
44524 return 0;
44525 }
44526 _ACEOF
44527 if ac_fn_cxx_try_compile "$LINENO"; then :
44528 glibcxx_cv_func_sincosf_use=yes
44529 else
44530 glibcxx_cv_func_sincosf_use=no
44531 fi
44532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44533 ac_ext=c
44534 ac_cpp='$CPP $CPPFLAGS'
44535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44538
44539
44540 fi
44541
44542 fi
44543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44544 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44545
44546 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44547 for ac_func in sincosf
44548 do :
44549 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44550 if test "x$ac_cv_func_sincosf" = xyes; then :
44551 cat >>confdefs.h <<_ACEOF
44552 #define HAVE_SINCOSF 1
44553 _ACEOF
44554
44555 fi
44556 done
44557
44558 else
44559
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44561 $as_echo_n "checking for _sincosf declaration... " >&6; }
44562 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44563 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44564 $as_echo_n "(cached) " >&6
44565 else
44566
44567
44568 ac_ext=cpp
44569 ac_cpp='$CXXCPP $CPPFLAGS'
44570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44573
44574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44575 /* end confdefs.h. */
44576 #include <math.h>
44577 int
44578 main ()
44579 {
44580 _sincosf(0, 0, 0);
44581 ;
44582 return 0;
44583 }
44584 _ACEOF
44585 if ac_fn_cxx_try_compile "$LINENO"; then :
44586 glibcxx_cv_func__sincosf_use=yes
44587 else
44588 glibcxx_cv_func__sincosf_use=no
44589 fi
44590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44591 ac_ext=c
44592 ac_cpp='$CPP $CPPFLAGS'
44593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44596
44597
44598 fi
44599
44600 fi
44601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44602 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44603
44604 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44605 for ac_func in _sincosf
44606 do :
44607 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44608 if test "x$ac_cv_func__sincosf" = xyes; then :
44609 cat >>confdefs.h <<_ACEOF
44610 #define HAVE__SINCOSF 1
44611 _ACEOF
44612
44613 fi
44614 done
44615
44616 fi
44617 fi
44618
44619
44620
44621
44622
44623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44624 $as_echo_n "checking for finitef declaration... " >&6; }
44625 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44626 if ${glibcxx_cv_func_finitef_use+:} false; then :
44627 $as_echo_n "(cached) " >&6
44628 else
44629
44630
44631 ac_ext=cpp
44632 ac_cpp='$CXXCPP $CPPFLAGS'
44633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44636
44637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44638 /* end confdefs.h. */
44639 #include <math.h>
44640 #ifdef HAVE_IEEEFP_H
44641 #include <ieeefp.h>
44642 #endif
44643
44644 int
44645 main ()
44646 {
44647 finitef(0);
44648 ;
44649 return 0;
44650 }
44651 _ACEOF
44652 if ac_fn_cxx_try_compile "$LINENO"; then :
44653 glibcxx_cv_func_finitef_use=yes
44654 else
44655 glibcxx_cv_func_finitef_use=no
44656 fi
44657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44658 ac_ext=c
44659 ac_cpp='$CPP $CPPFLAGS'
44660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44663
44664
44665 fi
44666
44667 fi
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44669 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44670
44671 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44672 for ac_func in finitef
44673 do :
44674 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44675 if test "x$ac_cv_func_finitef" = xyes; then :
44676 cat >>confdefs.h <<_ACEOF
44677 #define HAVE_FINITEF 1
44678 _ACEOF
44679
44680 fi
44681 done
44682
44683 else
44684
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44686 $as_echo_n "checking for _finitef declaration... " >&6; }
44687 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44688 if ${glibcxx_cv_func__finitef_use+:} false; then :
44689 $as_echo_n "(cached) " >&6
44690 else
44691
44692
44693 ac_ext=cpp
44694 ac_cpp='$CXXCPP $CPPFLAGS'
44695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44698
44699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44700 /* end confdefs.h. */
44701 #include <math.h>
44702 #ifdef HAVE_IEEEFP_H
44703 #include <ieeefp.h>
44704 #endif
44705
44706 int
44707 main ()
44708 {
44709 _finitef(0);
44710 ;
44711 return 0;
44712 }
44713 _ACEOF
44714 if ac_fn_cxx_try_compile "$LINENO"; then :
44715 glibcxx_cv_func__finitef_use=yes
44716 else
44717 glibcxx_cv_func__finitef_use=no
44718 fi
44719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44720 ac_ext=c
44721 ac_cpp='$CPP $CPPFLAGS'
44722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44725
44726
44727 fi
44728
44729 fi
44730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44731 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44732
44733 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44734 for ac_func in _finitef
44735 do :
44736 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44737 if test "x$ac_cv_func__finitef" = xyes; then :
44738 cat >>confdefs.h <<_ACEOF
44739 #define HAVE__FINITEF 1
44740 _ACEOF
44741
44742 fi
44743 done
44744
44745 fi
44746 fi
44747
44748
44749
44750
44751
44752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44753 $as_echo_n "checking for long double trig functions... " >&6; }
44754 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44755 $as_echo_n "(cached) " >&6
44756 else
44757
44758
44759 ac_ext=cpp
44760 ac_cpp='$CXXCPP $CPPFLAGS'
44761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44764
44765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44766 /* end confdefs.h. */
44767 #include <math.h>
44768 int
44769 main ()
44770 {
44771 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44772 ;
44773 return 0;
44774 }
44775 _ACEOF
44776 if ac_fn_cxx_try_compile "$LINENO"; then :
44777 glibcxx_cv_func_long_double_trig_use=yes
44778 else
44779 glibcxx_cv_func_long_double_trig_use=no
44780 fi
44781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44782 ac_ext=c
44783 ac_cpp='$CPP $CPPFLAGS'
44784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44787
44788 fi
44789
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44791 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44792 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44793 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44794 do :
44795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44798 cat >>confdefs.h <<_ACEOF
44799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44800 _ACEOF
44801
44802 fi
44803 done
44804
44805 else
44806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44807 $as_echo_n "checking for _long double trig functions... " >&6; }
44808 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44809 $as_echo_n "(cached) " >&6
44810 else
44811
44812
44813 ac_ext=cpp
44814 ac_cpp='$CXXCPP $CPPFLAGS'
44815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44818
44819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44820 /* end confdefs.h. */
44821 #include <math.h>
44822 int
44823 main ()
44824 {
44825 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44826 ;
44827 return 0;
44828 }
44829 _ACEOF
44830 if ac_fn_cxx_try_compile "$LINENO"; then :
44831 glibcxx_cv_func__long_double_trig_use=yes
44832 else
44833 glibcxx_cv_func__long_double_trig_use=no
44834 fi
44835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44836 ac_ext=c
44837 ac_cpp='$CPP $CPPFLAGS'
44838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44841
44842 fi
44843
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44845 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44846 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44847 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44848 do :
44849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44851 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44854 _ACEOF
44855
44856 fi
44857 done
44858
44859 fi
44860 fi
44861
44862
44863
44864
44865
44866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44867 $as_echo_n "checking for long double round functions... " >&6; }
44868 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44869 $as_echo_n "(cached) " >&6
44870 else
44871
44872
44873 ac_ext=cpp
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44878
44879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44880 /* end confdefs.h. */
44881 #include <math.h>
44882 int
44883 main ()
44884 {
44885 ceill (0); floorl (0);
44886 ;
44887 return 0;
44888 }
44889 _ACEOF
44890 if ac_fn_cxx_try_compile "$LINENO"; then :
44891 glibcxx_cv_func_long_double_round_use=yes
44892 else
44893 glibcxx_cv_func_long_double_round_use=no
44894 fi
44895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44896 ac_ext=c
44897 ac_cpp='$CPP $CPPFLAGS'
44898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44901
44902 fi
44903
44904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44905 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44906 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44907 for ac_func in ceill floorl
44908 do :
44909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44911 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44912 cat >>confdefs.h <<_ACEOF
44913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44914 _ACEOF
44915
44916 fi
44917 done
44918
44919 else
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44921 $as_echo_n "checking for _long double round functions... " >&6; }
44922 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44923 $as_echo_n "(cached) " >&6
44924 else
44925
44926
44927 ac_ext=cpp
44928 ac_cpp='$CXXCPP $CPPFLAGS'
44929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44932
44933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44934 /* end confdefs.h. */
44935 #include <math.h>
44936 int
44937 main ()
44938 {
44939 _ceill (0); _floorl (0);
44940 ;
44941 return 0;
44942 }
44943 _ACEOF
44944 if ac_fn_cxx_try_compile "$LINENO"; then :
44945 glibcxx_cv_func__long_double_round_use=yes
44946 else
44947 glibcxx_cv_func__long_double_round_use=no
44948 fi
44949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44950 ac_ext=c
44951 ac_cpp='$CPP $CPPFLAGS'
44952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44955
44956 fi
44957
44958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44959 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44960 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44961 for ac_func in _ceill _floorl
44962 do :
44963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44965 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44966 cat >>confdefs.h <<_ACEOF
44967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44968 _ACEOF
44969
44970 fi
44971 done
44972
44973 fi
44974 fi
44975
44976
44977
44978
44979
44980
44981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44982 $as_echo_n "checking for isnanl declaration... " >&6; }
44983 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44984 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44985 $as_echo_n "(cached) " >&6
44986 else
44987
44988
44989 ac_ext=cpp
44990 ac_cpp='$CXXCPP $CPPFLAGS'
44991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44994
44995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44996 /* end confdefs.h. */
44997 #include <math.h>
44998 #ifdef HAVE_IEEEFP_H
44999 #include <ieeefp.h>
45000 #endif
45001
45002 int
45003 main ()
45004 {
45005 isnanl(0);
45006 ;
45007 return 0;
45008 }
45009 _ACEOF
45010 if ac_fn_cxx_try_compile "$LINENO"; then :
45011 glibcxx_cv_func_isnanl_use=yes
45012 else
45013 glibcxx_cv_func_isnanl_use=no
45014 fi
45015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45016 ac_ext=c
45017 ac_cpp='$CPP $CPPFLAGS'
45018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45021
45022
45023 fi
45024
45025 fi
45026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45027 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45028
45029 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45030 for ac_func in isnanl
45031 do :
45032 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45033 if test "x$ac_cv_func_isnanl" = xyes; then :
45034 cat >>confdefs.h <<_ACEOF
45035 #define HAVE_ISNANL 1
45036 _ACEOF
45037
45038 fi
45039 done
45040
45041 else
45042
45043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45044 $as_echo_n "checking for _isnanl declaration... " >&6; }
45045 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45046 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45047 $as_echo_n "(cached) " >&6
45048 else
45049
45050
45051 ac_ext=cpp
45052 ac_cpp='$CXXCPP $CPPFLAGS'
45053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45056
45057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45058 /* end confdefs.h. */
45059 #include <math.h>
45060 #ifdef HAVE_IEEEFP_H
45061 #include <ieeefp.h>
45062 #endif
45063
45064 int
45065 main ()
45066 {
45067 _isnanl(0);
45068 ;
45069 return 0;
45070 }
45071 _ACEOF
45072 if ac_fn_cxx_try_compile "$LINENO"; then :
45073 glibcxx_cv_func__isnanl_use=yes
45074 else
45075 glibcxx_cv_func__isnanl_use=no
45076 fi
45077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45078 ac_ext=c
45079 ac_cpp='$CPP $CPPFLAGS'
45080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45083
45084
45085 fi
45086
45087 fi
45088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45089 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45090
45091 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45092 for ac_func in _isnanl
45093 do :
45094 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45095 if test "x$ac_cv_func__isnanl" = xyes; then :
45096 cat >>confdefs.h <<_ACEOF
45097 #define HAVE__ISNANL 1
45098 _ACEOF
45099
45100 fi
45101 done
45102
45103 fi
45104 fi
45105
45106
45107
45108
45109
45110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45111 $as_echo_n "checking for isinfl declaration... " >&6; }
45112 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45113 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45114 $as_echo_n "(cached) " >&6
45115 else
45116
45117
45118 ac_ext=cpp
45119 ac_cpp='$CXXCPP $CPPFLAGS'
45120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45123
45124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45125 /* end confdefs.h. */
45126 #include <math.h>
45127 #ifdef HAVE_IEEEFP_H
45128 #include <ieeefp.h>
45129 #endif
45130
45131 int
45132 main ()
45133 {
45134 isinfl(0);
45135 ;
45136 return 0;
45137 }
45138 _ACEOF
45139 if ac_fn_cxx_try_compile "$LINENO"; then :
45140 glibcxx_cv_func_isinfl_use=yes
45141 else
45142 glibcxx_cv_func_isinfl_use=no
45143 fi
45144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45145 ac_ext=c
45146 ac_cpp='$CPP $CPPFLAGS'
45147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45150
45151
45152 fi
45153
45154 fi
45155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45156 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45157
45158 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45159 for ac_func in isinfl
45160 do :
45161 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45162 if test "x$ac_cv_func_isinfl" = xyes; then :
45163 cat >>confdefs.h <<_ACEOF
45164 #define HAVE_ISINFL 1
45165 _ACEOF
45166
45167 fi
45168 done
45169
45170 else
45171
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45173 $as_echo_n "checking for _isinfl declaration... " >&6; }
45174 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45175 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45176 $as_echo_n "(cached) " >&6
45177 else
45178
45179
45180 ac_ext=cpp
45181 ac_cpp='$CXXCPP $CPPFLAGS'
45182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45185
45186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45187 /* end confdefs.h. */
45188 #include <math.h>
45189 #ifdef HAVE_IEEEFP_H
45190 #include <ieeefp.h>
45191 #endif
45192
45193 int
45194 main ()
45195 {
45196 _isinfl(0);
45197 ;
45198 return 0;
45199 }
45200 _ACEOF
45201 if ac_fn_cxx_try_compile "$LINENO"; then :
45202 glibcxx_cv_func__isinfl_use=yes
45203 else
45204 glibcxx_cv_func__isinfl_use=no
45205 fi
45206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45207 ac_ext=c
45208 ac_cpp='$CPP $CPPFLAGS'
45209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45212
45213
45214 fi
45215
45216 fi
45217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45218 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45219
45220 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45221 for ac_func in _isinfl
45222 do :
45223 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45224 if test "x$ac_cv_func__isinfl" = xyes; then :
45225 cat >>confdefs.h <<_ACEOF
45226 #define HAVE__ISINFL 1
45227 _ACEOF
45228
45229 fi
45230 done
45231
45232 fi
45233 fi
45234
45235
45236
45237
45238
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45240 $as_echo_n "checking for atan2l declaration... " >&6; }
45241 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45242 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45243 $as_echo_n "(cached) " >&6
45244 else
45245
45246
45247 ac_ext=cpp
45248 ac_cpp='$CXXCPP $CPPFLAGS'
45249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45252
45253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45254 /* end confdefs.h. */
45255 #include <math.h>
45256 int
45257 main ()
45258 {
45259 atan2l(0, 0);
45260 ;
45261 return 0;
45262 }
45263 _ACEOF
45264 if ac_fn_cxx_try_compile "$LINENO"; then :
45265 glibcxx_cv_func_atan2l_use=yes
45266 else
45267 glibcxx_cv_func_atan2l_use=no
45268 fi
45269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45270 ac_ext=c
45271 ac_cpp='$CPP $CPPFLAGS'
45272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45275
45276
45277 fi
45278
45279 fi
45280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45281 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45282
45283 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45284 for ac_func in atan2l
45285 do :
45286 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45287 if test "x$ac_cv_func_atan2l" = xyes; then :
45288 cat >>confdefs.h <<_ACEOF
45289 #define HAVE_ATAN2L 1
45290 _ACEOF
45291
45292 fi
45293 done
45294
45295 else
45296
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45298 $as_echo_n "checking for _atan2l declaration... " >&6; }
45299 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45300 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45301 $as_echo_n "(cached) " >&6
45302 else
45303
45304
45305 ac_ext=cpp
45306 ac_cpp='$CXXCPP $CPPFLAGS'
45307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45310
45311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45312 /* end confdefs.h. */
45313 #include <math.h>
45314 int
45315 main ()
45316 {
45317 _atan2l(0, 0);
45318 ;
45319 return 0;
45320 }
45321 _ACEOF
45322 if ac_fn_cxx_try_compile "$LINENO"; then :
45323 glibcxx_cv_func__atan2l_use=yes
45324 else
45325 glibcxx_cv_func__atan2l_use=no
45326 fi
45327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45328 ac_ext=c
45329 ac_cpp='$CPP $CPPFLAGS'
45330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45333
45334
45335 fi
45336
45337 fi
45338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45339 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45340
45341 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45342 for ac_func in _atan2l
45343 do :
45344 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45345 if test "x$ac_cv_func__atan2l" = xyes; then :
45346 cat >>confdefs.h <<_ACEOF
45347 #define HAVE__ATAN2L 1
45348 _ACEOF
45349
45350 fi
45351 done
45352
45353 fi
45354 fi
45355
45356
45357
45358
45359
45360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45361 $as_echo_n "checking for expl declaration... " >&6; }
45362 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45363 if ${glibcxx_cv_func_expl_use+:} false; then :
45364 $as_echo_n "(cached) " >&6
45365 else
45366
45367
45368 ac_ext=cpp
45369 ac_cpp='$CXXCPP $CPPFLAGS'
45370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45373
45374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45375 /* end confdefs.h. */
45376 #include <math.h>
45377 #ifdef HAVE_IEEEFP_H
45378 #include <ieeefp.h>
45379 #endif
45380
45381 int
45382 main ()
45383 {
45384 expl(0);
45385 ;
45386 return 0;
45387 }
45388 _ACEOF
45389 if ac_fn_cxx_try_compile "$LINENO"; then :
45390 glibcxx_cv_func_expl_use=yes
45391 else
45392 glibcxx_cv_func_expl_use=no
45393 fi
45394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45395 ac_ext=c
45396 ac_cpp='$CPP $CPPFLAGS'
45397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45400
45401
45402 fi
45403
45404 fi
45405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45406 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45407
45408 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45409 for ac_func in expl
45410 do :
45411 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45412 if test "x$ac_cv_func_expl" = xyes; then :
45413 cat >>confdefs.h <<_ACEOF
45414 #define HAVE_EXPL 1
45415 _ACEOF
45416
45417 fi
45418 done
45419
45420 else
45421
45422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45423 $as_echo_n "checking for _expl declaration... " >&6; }
45424 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45425 if ${glibcxx_cv_func__expl_use+:} false; then :
45426 $as_echo_n "(cached) " >&6
45427 else
45428
45429
45430 ac_ext=cpp
45431 ac_cpp='$CXXCPP $CPPFLAGS'
45432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45435
45436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45437 /* end confdefs.h. */
45438 #include <math.h>
45439 #ifdef HAVE_IEEEFP_H
45440 #include <ieeefp.h>
45441 #endif
45442
45443 int
45444 main ()
45445 {
45446 _expl(0);
45447 ;
45448 return 0;
45449 }
45450 _ACEOF
45451 if ac_fn_cxx_try_compile "$LINENO"; then :
45452 glibcxx_cv_func__expl_use=yes
45453 else
45454 glibcxx_cv_func__expl_use=no
45455 fi
45456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45457 ac_ext=c
45458 ac_cpp='$CPP $CPPFLAGS'
45459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45462
45463
45464 fi
45465
45466 fi
45467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45468 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45469
45470 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45471 for ac_func in _expl
45472 do :
45473 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45474 if test "x$ac_cv_func__expl" = xyes; then :
45475 cat >>confdefs.h <<_ACEOF
45476 #define HAVE__EXPL 1
45477 _ACEOF
45478
45479 fi
45480 done
45481
45482 fi
45483 fi
45484
45485
45486
45487
45488
45489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45490 $as_echo_n "checking for fabsl declaration... " >&6; }
45491 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45492 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45493 $as_echo_n "(cached) " >&6
45494 else
45495
45496
45497 ac_ext=cpp
45498 ac_cpp='$CXXCPP $CPPFLAGS'
45499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45502
45503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45504 /* end confdefs.h. */
45505 #include <math.h>
45506 #ifdef HAVE_IEEEFP_H
45507 #include <ieeefp.h>
45508 #endif
45509
45510 int
45511 main ()
45512 {
45513 fabsl(0);
45514 ;
45515 return 0;
45516 }
45517 _ACEOF
45518 if ac_fn_cxx_try_compile "$LINENO"; then :
45519 glibcxx_cv_func_fabsl_use=yes
45520 else
45521 glibcxx_cv_func_fabsl_use=no
45522 fi
45523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45524 ac_ext=c
45525 ac_cpp='$CPP $CPPFLAGS'
45526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45529
45530
45531 fi
45532
45533 fi
45534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45535 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45536
45537 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45538 for ac_func in fabsl
45539 do :
45540 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45541 if test "x$ac_cv_func_fabsl" = xyes; then :
45542 cat >>confdefs.h <<_ACEOF
45543 #define HAVE_FABSL 1
45544 _ACEOF
45545
45546 fi
45547 done
45548
45549 else
45550
45551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45552 $as_echo_n "checking for _fabsl declaration... " >&6; }
45553 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45554 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45555 $as_echo_n "(cached) " >&6
45556 else
45557
45558
45559 ac_ext=cpp
45560 ac_cpp='$CXXCPP $CPPFLAGS'
45561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45564
45565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45566 /* end confdefs.h. */
45567 #include <math.h>
45568 #ifdef HAVE_IEEEFP_H
45569 #include <ieeefp.h>
45570 #endif
45571
45572 int
45573 main ()
45574 {
45575 _fabsl(0);
45576 ;
45577 return 0;
45578 }
45579 _ACEOF
45580 if ac_fn_cxx_try_compile "$LINENO"; then :
45581 glibcxx_cv_func__fabsl_use=yes
45582 else
45583 glibcxx_cv_func__fabsl_use=no
45584 fi
45585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45586 ac_ext=c
45587 ac_cpp='$CPP $CPPFLAGS'
45588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45591
45592
45593 fi
45594
45595 fi
45596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45597 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45598
45599 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45600 for ac_func in _fabsl
45601 do :
45602 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45603 if test "x$ac_cv_func__fabsl" = xyes; then :
45604 cat >>confdefs.h <<_ACEOF
45605 #define HAVE__FABSL 1
45606 _ACEOF
45607
45608 fi
45609 done
45610
45611 fi
45612 fi
45613
45614
45615
45616
45617
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45619 $as_echo_n "checking for fmodl declaration... " >&6; }
45620 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45621 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45622 $as_echo_n "(cached) " >&6
45623 else
45624
45625
45626 ac_ext=cpp
45627 ac_cpp='$CXXCPP $CPPFLAGS'
45628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45631
45632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45633 /* end confdefs.h. */
45634 #include <math.h>
45635 int
45636 main ()
45637 {
45638 fmodl(0, 0);
45639 ;
45640 return 0;
45641 }
45642 _ACEOF
45643 if ac_fn_cxx_try_compile "$LINENO"; then :
45644 glibcxx_cv_func_fmodl_use=yes
45645 else
45646 glibcxx_cv_func_fmodl_use=no
45647 fi
45648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45649 ac_ext=c
45650 ac_cpp='$CPP $CPPFLAGS'
45651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45654
45655
45656 fi
45657
45658 fi
45659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45660 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45661
45662 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45663 for ac_func in fmodl
45664 do :
45665 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45666 if test "x$ac_cv_func_fmodl" = xyes; then :
45667 cat >>confdefs.h <<_ACEOF
45668 #define HAVE_FMODL 1
45669 _ACEOF
45670
45671 fi
45672 done
45673
45674 else
45675
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45677 $as_echo_n "checking for _fmodl declaration... " >&6; }
45678 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45679 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45680 $as_echo_n "(cached) " >&6
45681 else
45682
45683
45684 ac_ext=cpp
45685 ac_cpp='$CXXCPP $CPPFLAGS'
45686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45689
45690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45691 /* end confdefs.h. */
45692 #include <math.h>
45693 int
45694 main ()
45695 {
45696 _fmodl(0, 0);
45697 ;
45698 return 0;
45699 }
45700 _ACEOF
45701 if ac_fn_cxx_try_compile "$LINENO"; then :
45702 glibcxx_cv_func__fmodl_use=yes
45703 else
45704 glibcxx_cv_func__fmodl_use=no
45705 fi
45706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707 ac_ext=c
45708 ac_cpp='$CPP $CPPFLAGS'
45709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45712
45713
45714 fi
45715
45716 fi
45717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45718 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45719
45720 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45721 for ac_func in _fmodl
45722 do :
45723 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45724 if test "x$ac_cv_func__fmodl" = xyes; then :
45725 cat >>confdefs.h <<_ACEOF
45726 #define HAVE__FMODL 1
45727 _ACEOF
45728
45729 fi
45730 done
45731
45732 fi
45733 fi
45734
45735
45736
45737
45738
45739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45740 $as_echo_n "checking for frexpl declaration... " >&6; }
45741 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45742 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45743 $as_echo_n "(cached) " >&6
45744 else
45745
45746
45747 ac_ext=cpp
45748 ac_cpp='$CXXCPP $CPPFLAGS'
45749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45752
45753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45754 /* end confdefs.h. */
45755 #include <math.h>
45756 int
45757 main ()
45758 {
45759 frexpl(0, 0);
45760 ;
45761 return 0;
45762 }
45763 _ACEOF
45764 if ac_fn_cxx_try_compile "$LINENO"; then :
45765 glibcxx_cv_func_frexpl_use=yes
45766 else
45767 glibcxx_cv_func_frexpl_use=no
45768 fi
45769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45770 ac_ext=c
45771 ac_cpp='$CPP $CPPFLAGS'
45772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45775
45776
45777 fi
45778
45779 fi
45780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45781 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45782
45783 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45784 for ac_func in frexpl
45785 do :
45786 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45787 if test "x$ac_cv_func_frexpl" = xyes; then :
45788 cat >>confdefs.h <<_ACEOF
45789 #define HAVE_FREXPL 1
45790 _ACEOF
45791
45792 fi
45793 done
45794
45795 else
45796
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45798 $as_echo_n "checking for _frexpl declaration... " >&6; }
45799 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45800 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45801 $as_echo_n "(cached) " >&6
45802 else
45803
45804
45805 ac_ext=cpp
45806 ac_cpp='$CXXCPP $CPPFLAGS'
45807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45810
45811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45812 /* end confdefs.h. */
45813 #include <math.h>
45814 int
45815 main ()
45816 {
45817 _frexpl(0, 0);
45818 ;
45819 return 0;
45820 }
45821 _ACEOF
45822 if ac_fn_cxx_try_compile "$LINENO"; then :
45823 glibcxx_cv_func__frexpl_use=yes
45824 else
45825 glibcxx_cv_func__frexpl_use=no
45826 fi
45827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45828 ac_ext=c
45829 ac_cpp='$CPP $CPPFLAGS'
45830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45833
45834
45835 fi
45836
45837 fi
45838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45839 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45840
45841 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45842 for ac_func in _frexpl
45843 do :
45844 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45845 if test "x$ac_cv_func__frexpl" = xyes; then :
45846 cat >>confdefs.h <<_ACEOF
45847 #define HAVE__FREXPL 1
45848 _ACEOF
45849
45850 fi
45851 done
45852
45853 fi
45854 fi
45855
45856
45857
45858
45859
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45861 $as_echo_n "checking for hypotl declaration... " >&6; }
45862 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45863 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45864 $as_echo_n "(cached) " >&6
45865 else
45866
45867
45868 ac_ext=cpp
45869 ac_cpp='$CXXCPP $CPPFLAGS'
45870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45873
45874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45875 /* end confdefs.h. */
45876 #include <math.h>
45877 int
45878 main ()
45879 {
45880 hypotl(0, 0);
45881 ;
45882 return 0;
45883 }
45884 _ACEOF
45885 if ac_fn_cxx_try_compile "$LINENO"; then :
45886 glibcxx_cv_func_hypotl_use=yes
45887 else
45888 glibcxx_cv_func_hypotl_use=no
45889 fi
45890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45891 ac_ext=c
45892 ac_cpp='$CPP $CPPFLAGS'
45893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45896
45897
45898 fi
45899
45900 fi
45901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45902 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45903
45904 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45905 for ac_func in hypotl
45906 do :
45907 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45908 if test "x$ac_cv_func_hypotl" = xyes; then :
45909 cat >>confdefs.h <<_ACEOF
45910 #define HAVE_HYPOTL 1
45911 _ACEOF
45912
45913 fi
45914 done
45915
45916 else
45917
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45919 $as_echo_n "checking for _hypotl declaration... " >&6; }
45920 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45921 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45922 $as_echo_n "(cached) " >&6
45923 else
45924
45925
45926 ac_ext=cpp
45927 ac_cpp='$CXXCPP $CPPFLAGS'
45928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45931
45932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45933 /* end confdefs.h. */
45934 #include <math.h>
45935 int
45936 main ()
45937 {
45938 _hypotl(0, 0);
45939 ;
45940 return 0;
45941 }
45942 _ACEOF
45943 if ac_fn_cxx_try_compile "$LINENO"; then :
45944 glibcxx_cv_func__hypotl_use=yes
45945 else
45946 glibcxx_cv_func__hypotl_use=no
45947 fi
45948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45949 ac_ext=c
45950 ac_cpp='$CPP $CPPFLAGS'
45951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45954
45955
45956 fi
45957
45958 fi
45959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45960 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45961
45962 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45963 for ac_func in _hypotl
45964 do :
45965 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45966 if test "x$ac_cv_func__hypotl" = xyes; then :
45967 cat >>confdefs.h <<_ACEOF
45968 #define HAVE__HYPOTL 1
45969 _ACEOF
45970
45971 fi
45972 done
45973
45974 fi
45975 fi
45976
45977
45978
45979
45980
45981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45982 $as_echo_n "checking for ldexpl declaration... " >&6; }
45983 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45984 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45985 $as_echo_n "(cached) " >&6
45986 else
45987
45988
45989 ac_ext=cpp
45990 ac_cpp='$CXXCPP $CPPFLAGS'
45991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45994
45995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996 /* end confdefs.h. */
45997 #include <math.h>
45998 int
45999 main ()
46000 {
46001 ldexpl(0, 0);
46002 ;
46003 return 0;
46004 }
46005 _ACEOF
46006 if ac_fn_cxx_try_compile "$LINENO"; then :
46007 glibcxx_cv_func_ldexpl_use=yes
46008 else
46009 glibcxx_cv_func_ldexpl_use=no
46010 fi
46011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46012 ac_ext=c
46013 ac_cpp='$CPP $CPPFLAGS'
46014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46017
46018
46019 fi
46020
46021 fi
46022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46023 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46024
46025 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46026 for ac_func in ldexpl
46027 do :
46028 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46029 if test "x$ac_cv_func_ldexpl" = xyes; then :
46030 cat >>confdefs.h <<_ACEOF
46031 #define HAVE_LDEXPL 1
46032 _ACEOF
46033
46034 fi
46035 done
46036
46037 else
46038
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46040 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46041 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46042 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46043 $as_echo_n "(cached) " >&6
46044 else
46045
46046
46047 ac_ext=cpp
46048 ac_cpp='$CXXCPP $CPPFLAGS'
46049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46052
46053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46054 /* end confdefs.h. */
46055 #include <math.h>
46056 int
46057 main ()
46058 {
46059 _ldexpl(0, 0);
46060 ;
46061 return 0;
46062 }
46063 _ACEOF
46064 if ac_fn_cxx_try_compile "$LINENO"; then :
46065 glibcxx_cv_func__ldexpl_use=yes
46066 else
46067 glibcxx_cv_func__ldexpl_use=no
46068 fi
46069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46070 ac_ext=c
46071 ac_cpp='$CPP $CPPFLAGS'
46072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46075
46076
46077 fi
46078
46079 fi
46080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46081 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46082
46083 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46084 for ac_func in _ldexpl
46085 do :
46086 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46087 if test "x$ac_cv_func__ldexpl" = xyes; then :
46088 cat >>confdefs.h <<_ACEOF
46089 #define HAVE__LDEXPL 1
46090 _ACEOF
46091
46092 fi
46093 done
46094
46095 fi
46096 fi
46097
46098
46099
46100
46101
46102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46103 $as_echo_n "checking for logl declaration... " >&6; }
46104 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46105 if ${glibcxx_cv_func_logl_use+:} false; then :
46106 $as_echo_n "(cached) " >&6
46107 else
46108
46109
46110 ac_ext=cpp
46111 ac_cpp='$CXXCPP $CPPFLAGS'
46112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46115
46116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46117 /* end confdefs.h. */
46118 #include <math.h>
46119 #ifdef HAVE_IEEEFP_H
46120 #include <ieeefp.h>
46121 #endif
46122
46123 int
46124 main ()
46125 {
46126 logl(0);
46127 ;
46128 return 0;
46129 }
46130 _ACEOF
46131 if ac_fn_cxx_try_compile "$LINENO"; then :
46132 glibcxx_cv_func_logl_use=yes
46133 else
46134 glibcxx_cv_func_logl_use=no
46135 fi
46136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46137 ac_ext=c
46138 ac_cpp='$CPP $CPPFLAGS'
46139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46142
46143
46144 fi
46145
46146 fi
46147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46148 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46149
46150 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46151 for ac_func in logl
46152 do :
46153 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46154 if test "x$ac_cv_func_logl" = xyes; then :
46155 cat >>confdefs.h <<_ACEOF
46156 #define HAVE_LOGL 1
46157 _ACEOF
46158
46159 fi
46160 done
46161
46162 else
46163
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46165 $as_echo_n "checking for _logl declaration... " >&6; }
46166 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46167 if ${glibcxx_cv_func__logl_use+:} false; then :
46168 $as_echo_n "(cached) " >&6
46169 else
46170
46171
46172 ac_ext=cpp
46173 ac_cpp='$CXXCPP $CPPFLAGS'
46174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46177
46178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179 /* end confdefs.h. */
46180 #include <math.h>
46181 #ifdef HAVE_IEEEFP_H
46182 #include <ieeefp.h>
46183 #endif
46184
46185 int
46186 main ()
46187 {
46188 _logl(0);
46189 ;
46190 return 0;
46191 }
46192 _ACEOF
46193 if ac_fn_cxx_try_compile "$LINENO"; then :
46194 glibcxx_cv_func__logl_use=yes
46195 else
46196 glibcxx_cv_func__logl_use=no
46197 fi
46198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46199 ac_ext=c
46200 ac_cpp='$CPP $CPPFLAGS'
46201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204
46205
46206 fi
46207
46208 fi
46209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46210 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46211
46212 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46213 for ac_func in _logl
46214 do :
46215 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46216 if test "x$ac_cv_func__logl" = xyes; then :
46217 cat >>confdefs.h <<_ACEOF
46218 #define HAVE__LOGL 1
46219 _ACEOF
46220
46221 fi
46222 done
46223
46224 fi
46225 fi
46226
46227
46228
46229
46230
46231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46232 $as_echo_n "checking for log10l declaration... " >&6; }
46233 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46234 if ${glibcxx_cv_func_log10l_use+:} false; then :
46235 $as_echo_n "(cached) " >&6
46236 else
46237
46238
46239 ac_ext=cpp
46240 ac_cpp='$CXXCPP $CPPFLAGS'
46241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46244
46245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46246 /* end confdefs.h. */
46247 #include <math.h>
46248 #ifdef HAVE_IEEEFP_H
46249 #include <ieeefp.h>
46250 #endif
46251
46252 int
46253 main ()
46254 {
46255 log10l(0);
46256 ;
46257 return 0;
46258 }
46259 _ACEOF
46260 if ac_fn_cxx_try_compile "$LINENO"; then :
46261 glibcxx_cv_func_log10l_use=yes
46262 else
46263 glibcxx_cv_func_log10l_use=no
46264 fi
46265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46266 ac_ext=c
46267 ac_cpp='$CPP $CPPFLAGS'
46268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46271
46272
46273 fi
46274
46275 fi
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46277 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46278
46279 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46280 for ac_func in log10l
46281 do :
46282 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46283 if test "x$ac_cv_func_log10l" = xyes; then :
46284 cat >>confdefs.h <<_ACEOF
46285 #define HAVE_LOG10L 1
46286 _ACEOF
46287
46288 fi
46289 done
46290
46291 else
46292
46293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46294 $as_echo_n "checking for _log10l declaration... " >&6; }
46295 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46296 if ${glibcxx_cv_func__log10l_use+:} false; then :
46297 $as_echo_n "(cached) " >&6
46298 else
46299
46300
46301 ac_ext=cpp
46302 ac_cpp='$CXXCPP $CPPFLAGS'
46303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46306
46307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46308 /* end confdefs.h. */
46309 #include <math.h>
46310 #ifdef HAVE_IEEEFP_H
46311 #include <ieeefp.h>
46312 #endif
46313
46314 int
46315 main ()
46316 {
46317 _log10l(0);
46318 ;
46319 return 0;
46320 }
46321 _ACEOF
46322 if ac_fn_cxx_try_compile "$LINENO"; then :
46323 glibcxx_cv_func__log10l_use=yes
46324 else
46325 glibcxx_cv_func__log10l_use=no
46326 fi
46327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46328 ac_ext=c
46329 ac_cpp='$CPP $CPPFLAGS'
46330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46333
46334
46335 fi
46336
46337 fi
46338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46339 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46340
46341 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46342 for ac_func in _log10l
46343 do :
46344 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46345 if test "x$ac_cv_func__log10l" = xyes; then :
46346 cat >>confdefs.h <<_ACEOF
46347 #define HAVE__LOG10L 1
46348 _ACEOF
46349
46350 fi
46351 done
46352
46353 fi
46354 fi
46355
46356
46357
46358
46359
46360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46361 $as_echo_n "checking for modfl declaration... " >&6; }
46362 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46363 if ${glibcxx_cv_func_modfl_use+:} false; then :
46364 $as_echo_n "(cached) " >&6
46365 else
46366
46367
46368 ac_ext=cpp
46369 ac_cpp='$CXXCPP $CPPFLAGS'
46370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46373
46374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46375 /* end confdefs.h. */
46376 #include <math.h>
46377 int
46378 main ()
46379 {
46380 modfl(0, 0);
46381 ;
46382 return 0;
46383 }
46384 _ACEOF
46385 if ac_fn_cxx_try_compile "$LINENO"; then :
46386 glibcxx_cv_func_modfl_use=yes
46387 else
46388 glibcxx_cv_func_modfl_use=no
46389 fi
46390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46391 ac_ext=c
46392 ac_cpp='$CPP $CPPFLAGS'
46393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46396
46397
46398 fi
46399
46400 fi
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46402 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46403
46404 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46405 for ac_func in modfl
46406 do :
46407 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46408 if test "x$ac_cv_func_modfl" = xyes; then :
46409 cat >>confdefs.h <<_ACEOF
46410 #define HAVE_MODFL 1
46411 _ACEOF
46412
46413 fi
46414 done
46415
46416 else
46417
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46419 $as_echo_n "checking for _modfl declaration... " >&6; }
46420 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46421 if ${glibcxx_cv_func__modfl_use+:} false; then :
46422 $as_echo_n "(cached) " >&6
46423 else
46424
46425
46426 ac_ext=cpp
46427 ac_cpp='$CXXCPP $CPPFLAGS'
46428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46431
46432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46433 /* end confdefs.h. */
46434 #include <math.h>
46435 int
46436 main ()
46437 {
46438 _modfl(0, 0);
46439 ;
46440 return 0;
46441 }
46442 _ACEOF
46443 if ac_fn_cxx_try_compile "$LINENO"; then :
46444 glibcxx_cv_func__modfl_use=yes
46445 else
46446 glibcxx_cv_func__modfl_use=no
46447 fi
46448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46449 ac_ext=c
46450 ac_cpp='$CPP $CPPFLAGS'
46451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46454
46455
46456 fi
46457
46458 fi
46459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46460 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46461
46462 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46463 for ac_func in _modfl
46464 do :
46465 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46466 if test "x$ac_cv_func__modfl" = xyes; then :
46467 cat >>confdefs.h <<_ACEOF
46468 #define HAVE__MODFL 1
46469 _ACEOF
46470
46471 fi
46472 done
46473
46474 fi
46475 fi
46476
46477
46478
46479
46480
46481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46482 $as_echo_n "checking for powl declaration... " >&6; }
46483 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46484 if ${glibcxx_cv_func_powl_use+:} false; then :
46485 $as_echo_n "(cached) " >&6
46486 else
46487
46488
46489 ac_ext=cpp
46490 ac_cpp='$CXXCPP $CPPFLAGS'
46491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46494
46495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46496 /* end confdefs.h. */
46497 #include <math.h>
46498 int
46499 main ()
46500 {
46501 powl(0, 0);
46502 ;
46503 return 0;
46504 }
46505 _ACEOF
46506 if ac_fn_cxx_try_compile "$LINENO"; then :
46507 glibcxx_cv_func_powl_use=yes
46508 else
46509 glibcxx_cv_func_powl_use=no
46510 fi
46511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46512 ac_ext=c
46513 ac_cpp='$CPP $CPPFLAGS'
46514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46517
46518
46519 fi
46520
46521 fi
46522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46523 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46524
46525 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46526 for ac_func in powl
46527 do :
46528 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46529 if test "x$ac_cv_func_powl" = xyes; then :
46530 cat >>confdefs.h <<_ACEOF
46531 #define HAVE_POWL 1
46532 _ACEOF
46533
46534 fi
46535 done
46536
46537 else
46538
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46540 $as_echo_n "checking for _powl declaration... " >&6; }
46541 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46542 if ${glibcxx_cv_func__powl_use+:} false; then :
46543 $as_echo_n "(cached) " >&6
46544 else
46545
46546
46547 ac_ext=cpp
46548 ac_cpp='$CXXCPP $CPPFLAGS'
46549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46552
46553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46554 /* end confdefs.h. */
46555 #include <math.h>
46556 int
46557 main ()
46558 {
46559 _powl(0, 0);
46560 ;
46561 return 0;
46562 }
46563 _ACEOF
46564 if ac_fn_cxx_try_compile "$LINENO"; then :
46565 glibcxx_cv_func__powl_use=yes
46566 else
46567 glibcxx_cv_func__powl_use=no
46568 fi
46569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46570 ac_ext=c
46571 ac_cpp='$CPP $CPPFLAGS'
46572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46575
46576
46577 fi
46578
46579 fi
46580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46581 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46582
46583 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46584 for ac_func in _powl
46585 do :
46586 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46587 if test "x$ac_cv_func__powl" = xyes; then :
46588 cat >>confdefs.h <<_ACEOF
46589 #define HAVE__POWL 1
46590 _ACEOF
46591
46592 fi
46593 done
46594
46595 fi
46596 fi
46597
46598
46599
46600
46601
46602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46603 $as_echo_n "checking for sqrtl declaration... " >&6; }
46604 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46605 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46606 $as_echo_n "(cached) " >&6
46607 else
46608
46609
46610 ac_ext=cpp
46611 ac_cpp='$CXXCPP $CPPFLAGS'
46612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46615
46616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46617 /* end confdefs.h. */
46618 #include <math.h>
46619 #ifdef HAVE_IEEEFP_H
46620 #include <ieeefp.h>
46621 #endif
46622
46623 int
46624 main ()
46625 {
46626 sqrtl(0);
46627 ;
46628 return 0;
46629 }
46630 _ACEOF
46631 if ac_fn_cxx_try_compile "$LINENO"; then :
46632 glibcxx_cv_func_sqrtl_use=yes
46633 else
46634 glibcxx_cv_func_sqrtl_use=no
46635 fi
46636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46637 ac_ext=c
46638 ac_cpp='$CPP $CPPFLAGS'
46639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46642
46643
46644 fi
46645
46646 fi
46647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46648 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46649
46650 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46651 for ac_func in sqrtl
46652 do :
46653 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46654 if test "x$ac_cv_func_sqrtl" = xyes; then :
46655 cat >>confdefs.h <<_ACEOF
46656 #define HAVE_SQRTL 1
46657 _ACEOF
46658
46659 fi
46660 done
46661
46662 else
46663
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46665 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46666 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46667 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46668 $as_echo_n "(cached) " >&6
46669 else
46670
46671
46672 ac_ext=cpp
46673 ac_cpp='$CXXCPP $CPPFLAGS'
46674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46677
46678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46679 /* end confdefs.h. */
46680 #include <math.h>
46681 #ifdef HAVE_IEEEFP_H
46682 #include <ieeefp.h>
46683 #endif
46684
46685 int
46686 main ()
46687 {
46688 _sqrtl(0);
46689 ;
46690 return 0;
46691 }
46692 _ACEOF
46693 if ac_fn_cxx_try_compile "$LINENO"; then :
46694 glibcxx_cv_func__sqrtl_use=yes
46695 else
46696 glibcxx_cv_func__sqrtl_use=no
46697 fi
46698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46699 ac_ext=c
46700 ac_cpp='$CPP $CPPFLAGS'
46701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46704
46705
46706 fi
46707
46708 fi
46709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46710 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46711
46712 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46713 for ac_func in _sqrtl
46714 do :
46715 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46716 if test "x$ac_cv_func__sqrtl" = xyes; then :
46717 cat >>confdefs.h <<_ACEOF
46718 #define HAVE__SQRTL 1
46719 _ACEOF
46720
46721 fi
46722 done
46723
46724 fi
46725 fi
46726
46727
46728
46729
46730
46731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46732 $as_echo_n "checking for sincosl declaration... " >&6; }
46733 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46734 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46735 $as_echo_n "(cached) " >&6
46736 else
46737
46738
46739 ac_ext=cpp
46740 ac_cpp='$CXXCPP $CPPFLAGS'
46741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46744
46745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46746 /* end confdefs.h. */
46747 #include <math.h>
46748 int
46749 main ()
46750 {
46751 sincosl(0, 0, 0);
46752 ;
46753 return 0;
46754 }
46755 _ACEOF
46756 if ac_fn_cxx_try_compile "$LINENO"; then :
46757 glibcxx_cv_func_sincosl_use=yes
46758 else
46759 glibcxx_cv_func_sincosl_use=no
46760 fi
46761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46762 ac_ext=c
46763 ac_cpp='$CPP $CPPFLAGS'
46764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46767
46768
46769 fi
46770
46771 fi
46772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46773 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46774
46775 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46776 for ac_func in sincosl
46777 do :
46778 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46779 if test "x$ac_cv_func_sincosl" = xyes; then :
46780 cat >>confdefs.h <<_ACEOF
46781 #define HAVE_SINCOSL 1
46782 _ACEOF
46783
46784 fi
46785 done
46786
46787 else
46788
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46790 $as_echo_n "checking for _sincosl declaration... " >&6; }
46791 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46792 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46793 $as_echo_n "(cached) " >&6
46794 else
46795
46796
46797 ac_ext=cpp
46798 ac_cpp='$CXXCPP $CPPFLAGS'
46799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46802
46803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46804 /* end confdefs.h. */
46805 #include <math.h>
46806 int
46807 main ()
46808 {
46809 _sincosl(0, 0, 0);
46810 ;
46811 return 0;
46812 }
46813 _ACEOF
46814 if ac_fn_cxx_try_compile "$LINENO"; then :
46815 glibcxx_cv_func__sincosl_use=yes
46816 else
46817 glibcxx_cv_func__sincosl_use=no
46818 fi
46819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46820 ac_ext=c
46821 ac_cpp='$CPP $CPPFLAGS'
46822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46825
46826
46827 fi
46828
46829 fi
46830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46831 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46832
46833 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46834 for ac_func in _sincosl
46835 do :
46836 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46837 if test "x$ac_cv_func__sincosl" = xyes; then :
46838 cat >>confdefs.h <<_ACEOF
46839 #define HAVE__SINCOSL 1
46840 _ACEOF
46841
46842 fi
46843 done
46844
46845 fi
46846 fi
46847
46848
46849
46850
46851
46852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46853 $as_echo_n "checking for finitel declaration... " >&6; }
46854 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46855 if ${glibcxx_cv_func_finitel_use+:} false; then :
46856 $as_echo_n "(cached) " >&6
46857 else
46858
46859
46860 ac_ext=cpp
46861 ac_cpp='$CXXCPP $CPPFLAGS'
46862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46865
46866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46867 /* end confdefs.h. */
46868 #include <math.h>
46869 #ifdef HAVE_IEEEFP_H
46870 #include <ieeefp.h>
46871 #endif
46872
46873 int
46874 main ()
46875 {
46876 finitel(0);
46877 ;
46878 return 0;
46879 }
46880 _ACEOF
46881 if ac_fn_cxx_try_compile "$LINENO"; then :
46882 glibcxx_cv_func_finitel_use=yes
46883 else
46884 glibcxx_cv_func_finitel_use=no
46885 fi
46886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46887 ac_ext=c
46888 ac_cpp='$CPP $CPPFLAGS'
46889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46892
46893
46894 fi
46895
46896 fi
46897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46898 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46899
46900 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46901 for ac_func in finitel
46902 do :
46903 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46904 if test "x$ac_cv_func_finitel" = xyes; then :
46905 cat >>confdefs.h <<_ACEOF
46906 #define HAVE_FINITEL 1
46907 _ACEOF
46908
46909 fi
46910 done
46911
46912 else
46913
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46915 $as_echo_n "checking for _finitel declaration... " >&6; }
46916 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46917 if ${glibcxx_cv_func__finitel_use+:} false; then :
46918 $as_echo_n "(cached) " >&6
46919 else
46920
46921
46922 ac_ext=cpp
46923 ac_cpp='$CXXCPP $CPPFLAGS'
46924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46927
46928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46929 /* end confdefs.h. */
46930 #include <math.h>
46931 #ifdef HAVE_IEEEFP_H
46932 #include <ieeefp.h>
46933 #endif
46934
46935 int
46936 main ()
46937 {
46938 _finitel(0);
46939 ;
46940 return 0;
46941 }
46942 _ACEOF
46943 if ac_fn_cxx_try_compile "$LINENO"; then :
46944 glibcxx_cv_func__finitel_use=yes
46945 else
46946 glibcxx_cv_func__finitel_use=no
46947 fi
46948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46949 ac_ext=c
46950 ac_cpp='$CPP $CPPFLAGS'
46951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46954
46955
46956 fi
46957
46958 fi
46959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46960 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46961
46962 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46963 for ac_func in _finitel
46964 do :
46965 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46966 if test "x$ac_cv_func__finitel" = xyes; then :
46967 cat >>confdefs.h <<_ACEOF
46968 #define HAVE__FINITEL 1
46969 _ACEOF
46970
46971 fi
46972 done
46973
46974 fi
46975 fi
46976
46977
46978
46979
46980 LIBS="$ac_save_LIBS"
46981 CXXFLAGS="$ac_save_CXXFLAGS"
46982
46983
46984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46985 ac_save_CXXFLAGS="$CXXFLAGS"
46986 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46987
46988
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46990 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46991 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46992 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46993 $as_echo_n "(cached) " >&6
46994 else
46995
46996
46997 ac_ext=cpp
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47002
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <stdlib.h>
47006 int
47007 main ()
47008 {
47009 at_quick_exit(0);
47010 ;
47011 return 0;
47012 }
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func_at_quick_exit_use=yes
47016 else
47017 glibcxx_cv_func_at_quick_exit_use=no
47018 fi
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47025
47026
47027 fi
47028
47029 fi
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47031 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47032 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47033 for ac_func in at_quick_exit
47034 do :
47035 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47036 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47037 cat >>confdefs.h <<_ACEOF
47038 #define HAVE_AT_QUICK_EXIT 1
47039 _ACEOF
47040
47041 fi
47042 done
47043
47044 fi
47045
47046
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47048 $as_echo_n "checking for quick_exit declaration... " >&6; }
47049 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47050 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47051 $as_echo_n "(cached) " >&6
47052 else
47053
47054
47055 ac_ext=cpp
47056 ac_cpp='$CXXCPP $CPPFLAGS'
47057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47060
47061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47062 /* end confdefs.h. */
47063 #include <stdlib.h>
47064 int
47065 main ()
47066 {
47067 quick_exit(0);
47068 ;
47069 return 0;
47070 }
47071 _ACEOF
47072 if ac_fn_cxx_try_compile "$LINENO"; then :
47073 glibcxx_cv_func_quick_exit_use=yes
47074 else
47075 glibcxx_cv_func_quick_exit_use=no
47076 fi
47077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47078 ac_ext=c
47079 ac_cpp='$CPP $CPPFLAGS'
47080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47083
47084
47085 fi
47086
47087 fi
47088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47089 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47090 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47091 for ac_func in quick_exit
47092 do :
47093 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47094 if test "x$ac_cv_func_quick_exit" = xyes; then :
47095 cat >>confdefs.h <<_ACEOF
47096 #define HAVE_QUICK_EXIT 1
47097 _ACEOF
47098
47099 fi
47100 done
47101
47102 fi
47103
47104
47105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47106 $as_echo_n "checking for strtold declaration... " >&6; }
47107 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47108 if ${glibcxx_cv_func_strtold_use+:} false; then :
47109 $as_echo_n "(cached) " >&6
47110 else
47111
47112
47113 ac_ext=cpp
47114 ac_cpp='$CXXCPP $CPPFLAGS'
47115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47118
47119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47120 /* end confdefs.h. */
47121 #include <stdlib.h>
47122 int
47123 main ()
47124 {
47125 strtold(0, 0);
47126 ;
47127 return 0;
47128 }
47129 _ACEOF
47130 if ac_fn_cxx_try_compile "$LINENO"; then :
47131 glibcxx_cv_func_strtold_use=yes
47132 else
47133 glibcxx_cv_func_strtold_use=no
47134 fi
47135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47136 ac_ext=c
47137 ac_cpp='$CPP $CPPFLAGS'
47138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47141
47142
47143 fi
47144
47145 fi
47146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47147 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47148 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47149 for ac_func in strtold
47150 do :
47151 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47152 if test "x$ac_cv_func_strtold" = xyes; then :
47153 cat >>confdefs.h <<_ACEOF
47154 #define HAVE_STRTOLD 1
47155 _ACEOF
47156
47157 fi
47158 done
47159
47160 fi
47161
47162
47163
47164
47165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47166 $as_echo_n "checking for strtof declaration... " >&6; }
47167 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47168 if ${glibcxx_cv_func_strtof_use+:} false; then :
47169 $as_echo_n "(cached) " >&6
47170 else
47171
47172
47173 ac_ext=cpp
47174 ac_cpp='$CXXCPP $CPPFLAGS'
47175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47178
47179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47180 /* end confdefs.h. */
47181 #include <stdlib.h>
47182 int
47183 main ()
47184 {
47185 strtof(0, 0);
47186 ;
47187 return 0;
47188 }
47189 _ACEOF
47190 if ac_fn_cxx_try_compile "$LINENO"; then :
47191 glibcxx_cv_func_strtof_use=yes
47192 else
47193 glibcxx_cv_func_strtof_use=no
47194 fi
47195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47196 ac_ext=c
47197 ac_cpp='$CPP $CPPFLAGS'
47198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47201
47202
47203 fi
47204
47205 fi
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47207 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47208 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47209 for ac_func in strtof
47210 do :
47211 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47212 if test "x$ac_cv_func_strtof" = xyes; then :
47213 cat >>confdefs.h <<_ACEOF
47214 #define HAVE_STRTOF 1
47215 _ACEOF
47216
47217 fi
47218 done
47219
47220 fi
47221
47222
47223
47224
47225 CXXFLAGS="$ac_save_CXXFLAGS"
47226
47227
47228 for ac_func in uselocale
47229 do :
47230 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47231 if test "x$ac_cv_func_uselocale" = xyes; then :
47232 cat >>confdefs.h <<_ACEOF
47233 #define HAVE_USELOCALE 1
47234 _ACEOF
47235
47236 fi
47237 done
47238
47239 ;;
47240
47241 *djgpp)
47242 # GLIBCXX_CHECK_MATH_SUPPORT
47243 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47244
47245 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47246
47247 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47248
47249 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47250
47251 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47252
47253 ;;
47254
47255 *-freebsd*)
47256 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47257
47258
47259 # If we're not using GNU ld, then there's no point in even trying these
47260 # tests. Check for that first. We should have already tested for gld
47261 # by now (in libtool), but require it now just to be safe...
47262 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47263 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47264
47265
47266
47267 # The name set by libtool depends on the version of libtool. Shame on us
47268 # for depending on an impl detail, but c'est la vie. Older versions used
47269 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47270 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47271 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47272 # set (hence we're using an older libtool), then set it.
47273 if test x${with_gnu_ld+set} != xset; then
47274 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47275 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47276 with_gnu_ld=no
47277 else
47278 with_gnu_ld=$ac_cv_prog_gnu_ld
47279 fi
47280 fi
47281
47282 # Start by getting the version number. I think the libtool test already
47283 # does some of this, but throws away the result.
47284 glibcxx_ld_is_gold=no
47285 if test x"$with_gnu_ld" = x"yes"; then
47286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47287 $as_echo_n "checking for ld version... " >&6; }
47288
47289 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47290 glibcxx_ld_is_gold=yes
47291 fi
47292 ldver=`$LD --version 2>/dev/null |
47293 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47294
47295 glibcxx_gnu_ld_version=`echo $ldver | \
47296 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47298 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47299 fi
47300
47301 # Set --gc-sections.
47302 glibcxx_have_gc_sections=no
47303 if test "$glibcxx_ld_is_gold" = "yes"; then
47304 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47305 glibcxx_have_gc_sections=yes
47306 fi
47307 else
47308 glibcxx_gcsections_min_ld=21602
47309 if test x"$with_gnu_ld" = x"yes" &&
47310 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47311 glibcxx_have_gc_sections=yes
47312 fi
47313 fi
47314 if test "$glibcxx_have_gc_sections" = "yes"; then
47315 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47316 # NB: This flag only works reliably after 2.16.1. Configure tests
47317 # for this are difficult, so hard wire a value that should work.
47318
47319 ac_test_CFLAGS="${CFLAGS+set}"
47320 ac_save_CFLAGS="$CFLAGS"
47321 CFLAGS='-Wl,--gc-sections'
47322
47323 # Check for -Wl,--gc-sections
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47325 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47326 if test x$gcc_no_link = xyes; then
47327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47328 fi
47329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47330 /* end confdefs.h. */
47331 int one(void) { return 1; }
47332 int two(void) { return 2; }
47333
47334 int
47335 main ()
47336 {
47337 two();
47338 ;
47339 return 0;
47340 }
47341 _ACEOF
47342 if ac_fn_c_try_link "$LINENO"; then :
47343 ac_gcsections=yes
47344 else
47345 ac_gcsections=no
47346 fi
47347 rm -f core conftest.err conftest.$ac_objext \
47348 conftest$ac_exeext conftest.$ac_ext
47349 if test "$ac_gcsections" = "yes"; then
47350 rm -f conftest.c
47351 touch conftest.c
47352 if $CC -c conftest.c; then
47353 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47354 grep "Warning: gc-sections option ignored" > /dev/null; then
47355 ac_gcsections=no
47356 fi
47357 fi
47358 rm -f conftest.c conftest.o conftest
47359 fi
47360 if test "$ac_gcsections" = "yes"; then
47361 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47362 fi
47363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47364 $as_echo "$ac_gcsections" >&6; }
47365
47366 if test "$ac_test_CFLAGS" = set; then
47367 CFLAGS="$ac_save_CFLAGS"
47368 else
47369 # this is the suspicious part
47370 CFLAGS=''
47371 fi
47372 fi
47373
47374 # Set -z,relro.
47375 # Note this is only for shared objects.
47376 ac_ld_relro=no
47377 if test x"$with_gnu_ld" = x"yes"; then
47378 # cygwin and mingw uses PE, which has no ELF relro support,
47379 # multi target ld may confuse configure machinery
47380 case "$host" in
47381 *-*-cygwin*)
47382 ;;
47383 *-*-mingw*)
47384 ;;
47385 *)
47386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47387 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47388 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47389 if test -n "$cxx_z_relo"; then
47390 OPT_LDFLAGS="-Wl,-z,relro"
47391 ac_ld_relro=yes
47392 fi
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47394 $as_echo "$ac_ld_relro" >&6; }
47395 esac
47396 fi
47397
47398 # Set linker optimization flags.
47399 if test x"$with_gnu_ld" = x"yes"; then
47400 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47401 fi
47402
47403
47404
47405
47406 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47407
47408 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47409
47410 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47411
47412 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47413
47414 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47415
47416 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47417
47418 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47419
47420 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47421
47422 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47423
47424
47425 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47426
47427 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47428
47429 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47430
47431 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47432
47433 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47434
47435 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47436
47437 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47438
47439 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47440
47441 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47442
47443 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47444
47445 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47446
47447 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47448
47449 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47450
47451 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47452
47453 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47454
47455 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47456
47457 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47458
47459 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47460
47461 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47462
47463 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47464
47465 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47466
47467 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47468
47469 if test x"long_double_math_on_this_cpu" = x"yes"; then
47470 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47471
47472 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47473
47474 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47475
47476 fi
47477 for ac_func in __cxa_thread_atexit
47478 do :
47479 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47480 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47481 cat >>confdefs.h <<_ACEOF
47482 #define HAVE___CXA_THREAD_ATEXIT 1
47483 _ACEOF
47484
47485 fi
47486 done
47487
47488 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47489 do :
47490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47493 cat >>confdefs.h <<_ACEOF
47494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47495 _ACEOF
47496
47497 fi
47498 done
47499
47500 for ac_func in timespec_get
47501 do :
47502 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47503 if test "x$ac_cv_func_timespec_get" = xyes; then :
47504 cat >>confdefs.h <<_ACEOF
47505 #define HAVE_TIMESPEC_GET 1
47506 _ACEOF
47507
47508 fi
47509 done
47510
47511 for ac_func in sockatmark
47512 do :
47513 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47514 if test "x$ac_cv_func_sockatmark" = xyes; then :
47515 cat >>confdefs.h <<_ACEOF
47516 #define HAVE_SOCKATMARK 1
47517 _ACEOF
47518
47519 fi
47520 done
47521
47522 for ac_func in uselocale
47523 do :
47524 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47525 if test "x$ac_cv_func_uselocale" = xyes; then :
47526 cat >>confdefs.h <<_ACEOF
47527 #define HAVE_USELOCALE 1
47528 _ACEOF
47529
47530 fi
47531 done
47532
47533 ;;
47534
47535 *-fuchsia*)
47536 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47537
47538 ;;
47539
47540 *-hpux*)
47541 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47542
47543
47544 # If we're not using GNU ld, then there's no point in even trying these
47545 # tests. Check for that first. We should have already tested for gld
47546 # by now (in libtool), but require it now just to be safe...
47547 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47548 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47549
47550
47551
47552 # The name set by libtool depends on the version of libtool. Shame on us
47553 # for depending on an impl detail, but c'est la vie. Older versions used
47554 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47555 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47556 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47557 # set (hence we're using an older libtool), then set it.
47558 if test x${with_gnu_ld+set} != xset; then
47559 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47560 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47561 with_gnu_ld=no
47562 else
47563 with_gnu_ld=$ac_cv_prog_gnu_ld
47564 fi
47565 fi
47566
47567 # Start by getting the version number. I think the libtool test already
47568 # does some of this, but throws away the result.
47569 glibcxx_ld_is_gold=no
47570 if test x"$with_gnu_ld" = x"yes"; then
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47572 $as_echo_n "checking for ld version... " >&6; }
47573
47574 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47575 glibcxx_ld_is_gold=yes
47576 fi
47577 ldver=`$LD --version 2>/dev/null |
47578 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47579
47580 glibcxx_gnu_ld_version=`echo $ldver | \
47581 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47583 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47584 fi
47585
47586 # Set --gc-sections.
47587 glibcxx_have_gc_sections=no
47588 if test "$glibcxx_ld_is_gold" = "yes"; then
47589 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47590 glibcxx_have_gc_sections=yes
47591 fi
47592 else
47593 glibcxx_gcsections_min_ld=21602
47594 if test x"$with_gnu_ld" = x"yes" &&
47595 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47596 glibcxx_have_gc_sections=yes
47597 fi
47598 fi
47599 if test "$glibcxx_have_gc_sections" = "yes"; then
47600 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47601 # NB: This flag only works reliably after 2.16.1. Configure tests
47602 # for this are difficult, so hard wire a value that should work.
47603
47604 ac_test_CFLAGS="${CFLAGS+set}"
47605 ac_save_CFLAGS="$CFLAGS"
47606 CFLAGS='-Wl,--gc-sections'
47607
47608 # Check for -Wl,--gc-sections
47609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47610 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47611 if test x$gcc_no_link = xyes; then
47612 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47613 fi
47614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47615 /* end confdefs.h. */
47616 int one(void) { return 1; }
47617 int two(void) { return 2; }
47618
47619 int
47620 main ()
47621 {
47622 two();
47623 ;
47624 return 0;
47625 }
47626 _ACEOF
47627 if ac_fn_c_try_link "$LINENO"; then :
47628 ac_gcsections=yes
47629 else
47630 ac_gcsections=no
47631 fi
47632 rm -f core conftest.err conftest.$ac_objext \
47633 conftest$ac_exeext conftest.$ac_ext
47634 if test "$ac_gcsections" = "yes"; then
47635 rm -f conftest.c
47636 touch conftest.c
47637 if $CC -c conftest.c; then
47638 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47639 grep "Warning: gc-sections option ignored" > /dev/null; then
47640 ac_gcsections=no
47641 fi
47642 fi
47643 rm -f conftest.c conftest.o conftest
47644 fi
47645 if test "$ac_gcsections" = "yes"; then
47646 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47647 fi
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47649 $as_echo "$ac_gcsections" >&6; }
47650
47651 if test "$ac_test_CFLAGS" = set; then
47652 CFLAGS="$ac_save_CFLAGS"
47653 else
47654 # this is the suspicious part
47655 CFLAGS=''
47656 fi
47657 fi
47658
47659 # Set -z,relro.
47660 # Note this is only for shared objects.
47661 ac_ld_relro=no
47662 if test x"$with_gnu_ld" = x"yes"; then
47663 # cygwin and mingw uses PE, which has no ELF relro support,
47664 # multi target ld may confuse configure machinery
47665 case "$host" in
47666 *-*-cygwin*)
47667 ;;
47668 *-*-mingw*)
47669 ;;
47670 *)
47671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47672 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47673 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47674 if test -n "$cxx_z_relo"; then
47675 OPT_LDFLAGS="-Wl,-z,relro"
47676 ac_ld_relro=yes
47677 fi
47678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47679 $as_echo "$ac_ld_relro" >&6; }
47680 esac
47681 fi
47682
47683 # Set linker optimization flags.
47684 if test x"$with_gnu_ld" = x"yes"; then
47685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47686 fi
47687
47688
47689
47690
47691
47692 # GLIBCXX_CHECK_MATH_SUPPORT
47693 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47694
47695 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47696
47697 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47698
47699 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47700
47701 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47702
47703 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47704
47705 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47706
47707 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47708
47709 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47710
47711 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47712
47713 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47714
47715 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47716
47717 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47718
47719 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47720
47721 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47722
47723 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47724
47725 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47726
47727 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47728
47729 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47730
47731 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47732
47733 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47734
47735
47736 # GLIBCXX_CHECK_STDLIB_SUPPORT
47737 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47738
47739
47740
47741
47742 # Check whether --enable-tls was given.
47743 if test "${enable_tls+set}" = set; then :
47744 enableval=$enable_tls;
47745 case "$enableval" in
47746 yes|no) ;;
47747 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47748 esac
47749
47750 else
47751 enable_tls=yes
47752 fi
47753
47754
47755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47756 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47757 if ${gcc_cv_have_tls+:} false; then :
47758 $as_echo_n "(cached) " >&6
47759 else
47760
47761 if test "$cross_compiling" = yes; then :
47762 if test x$gcc_no_link = xyes; then
47763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47764 fi
47765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47766 /* end confdefs.h. */
47767 __thread int a; int b; int main() { return a = b; }
47768 _ACEOF
47769 if ac_fn_c_try_link "$LINENO"; then :
47770 chktls_save_LDFLAGS="$LDFLAGS"
47771 case $host in
47772 *-*-linux* | -*-uclinuxfdpic*)
47773 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47774 ;;
47775 esac
47776 chktls_save_CFLAGS="$CFLAGS"
47777 CFLAGS="-fPIC $CFLAGS"
47778 if test x$gcc_no_link = xyes; then
47779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47780 fi
47781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47782 /* end confdefs.h. */
47783 int f() { return 0; }
47784 _ACEOF
47785 if ac_fn_c_try_link "$LINENO"; then :
47786 if test x$gcc_no_link = xyes; then
47787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47788 fi
47789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47790 /* end confdefs.h. */
47791 __thread int a; int b; int f() { return a = b; }
47792 _ACEOF
47793 if ac_fn_c_try_link "$LINENO"; then :
47794 gcc_cv_have_tls=yes
47795 else
47796 gcc_cv_have_tls=no
47797 fi
47798 rm -f core conftest.err conftest.$ac_objext \
47799 conftest$ac_exeext conftest.$ac_ext
47800 else
47801 gcc_cv_have_tls=yes
47802 fi
47803 rm -f core conftest.err conftest.$ac_objext \
47804 conftest$ac_exeext conftest.$ac_ext
47805 CFLAGS="$chktls_save_CFLAGS"
47806 LDFLAGS="$chktls_save_LDFLAGS"
47807 else
47808 gcc_cv_have_tls=no
47809 fi
47810 rm -f core conftest.err conftest.$ac_objext \
47811 conftest$ac_exeext conftest.$ac_ext
47812
47813
47814 else
47815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47816 /* end confdefs.h. */
47817 __thread int a; int b; int main() { return a = b; }
47818 _ACEOF
47819 if ac_fn_c_try_run "$LINENO"; then :
47820 chktls_save_LDFLAGS="$LDFLAGS"
47821 LDFLAGS="-static $LDFLAGS"
47822 if test x$gcc_no_link = xyes; then
47823 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47824 fi
47825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47826 /* end confdefs.h. */
47827 int main() { return 0; }
47828 _ACEOF
47829 if ac_fn_c_try_link "$LINENO"; then :
47830 if test "$cross_compiling" = yes; then :
47831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47833 as_fn_error $? "cannot run test program while cross compiling
47834 See \`config.log' for more details" "$LINENO" 5; }
47835 else
47836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47837 /* end confdefs.h. */
47838 __thread int a; int b; int main() { return a = b; }
47839 _ACEOF
47840 if ac_fn_c_try_run "$LINENO"; then :
47841 gcc_cv_have_tls=yes
47842 else
47843 gcc_cv_have_tls=no
47844 fi
47845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47846 conftest.$ac_objext conftest.beam conftest.$ac_ext
47847 fi
47848
47849 else
47850 gcc_cv_have_tls=yes
47851 fi
47852 rm -f core conftest.err conftest.$ac_objext \
47853 conftest$ac_exeext conftest.$ac_ext
47854 LDFLAGS="$chktls_save_LDFLAGS"
47855 if test $gcc_cv_have_tls = yes; then
47856 chktls_save_CFLAGS="$CFLAGS"
47857 thread_CFLAGS=failed
47858 for flag in '' '-pthread' '-lpthread'; do
47859 CFLAGS="$flag $chktls_save_CFLAGS"
47860 if test x$gcc_no_link = xyes; then
47861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47862 fi
47863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47864 /* end confdefs.h. */
47865 #include <pthread.h>
47866 void *g(void *d) { return NULL; }
47867 int
47868 main ()
47869 {
47870 pthread_t t; pthread_create(&t,NULL,g,NULL);
47871 ;
47872 return 0;
47873 }
47874 _ACEOF
47875 if ac_fn_c_try_link "$LINENO"; then :
47876 thread_CFLAGS="$flag"
47877 fi
47878 rm -f core conftest.err conftest.$ac_objext \
47879 conftest$ac_exeext conftest.$ac_ext
47880 if test "X$thread_CFLAGS" != Xfailed; then
47881 break
47882 fi
47883 done
47884 CFLAGS="$chktls_save_CFLAGS"
47885 if test "X$thread_CFLAGS" != Xfailed; then
47886 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47887 if test "$cross_compiling" = yes; then :
47888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47890 as_fn_error $? "cannot run test program while cross compiling
47891 See \`config.log' for more details" "$LINENO" 5; }
47892 else
47893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47894 /* end confdefs.h. */
47895 #include <pthread.h>
47896 __thread int a;
47897 static int *volatile a_in_other_thread;
47898 static void *
47899 thread_func (void *arg)
47900 {
47901 a_in_other_thread = &a;
47902 return (void *)0;
47903 }
47904 int
47905 main ()
47906 {
47907 pthread_t thread;
47908 void *thread_retval;
47909 int *volatile a_in_main_thread;
47910 a_in_main_thread = &a;
47911 if (pthread_create (&thread, (pthread_attr_t *)0,
47912 thread_func, (void *)0))
47913 return 0;
47914 if (pthread_join (thread, &thread_retval))
47915 return 0;
47916 return (a_in_other_thread == a_in_main_thread);
47917 ;
47918 return 0;
47919 }
47920 _ACEOF
47921 if ac_fn_c_try_run "$LINENO"; then :
47922 gcc_cv_have_tls=yes
47923 else
47924 gcc_cv_have_tls=no
47925 fi
47926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47927 conftest.$ac_objext conftest.beam conftest.$ac_ext
47928 fi
47929
47930 CFLAGS="$chktls_save_CFLAGS"
47931 fi
47932 fi
47933 else
47934 gcc_cv_have_tls=no
47935 fi
47936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47937 conftest.$ac_objext conftest.beam conftest.$ac_ext
47938 fi
47939
47940 fi
47941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47942 $as_echo "$gcc_cv_have_tls" >&6; }
47943 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47944
47945 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47946
47947 fi
47948 case "$target" in
47949 *-hpux10*)
47950 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47951
47952 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47953
47954 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47955
47956 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47957
47958 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47959
47960 ;;
47961 esac
47962 ;;
47963 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47964
47965 # All these tests are for C++; save the language and the compiler flags.
47966 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47967 # found in GLIBCXX_CONFIGURE.
47968
47969 ac_ext=cpp
47970 ac_cpp='$CXXCPP $CPPFLAGS'
47971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47974
47975 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47976 ac_save_CXXFLAGS="$CXXFLAGS"
47977
47978 # Check for -ffunction-sections -fdata-sections
47979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47980 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47981 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47983 /* end confdefs.h. */
47984 int foo; void bar() { };
47985 int
47986 main ()
47987 {
47988
47989 ;
47990 return 0;
47991 }
47992 _ACEOF
47993 if ac_fn_cxx_try_compile "$LINENO"; then :
47994 ac_fdsections=yes
47995 else
47996 ac_fdsections=no
47997 fi
47998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47999 if test "$ac_test_CXXFLAGS" = set; then
48000 CXXFLAGS="$ac_save_CXXFLAGS"
48001 else
48002 # this is the suspicious part
48003 CXXFLAGS=''
48004 fi
48005 if test x"$ac_fdsections" = x"yes"; then
48006 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48007 fi
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48009 $as_echo "$ac_fdsections" >&6; }
48010
48011 ac_ext=c
48012 ac_cpp='$CPP $CPPFLAGS'
48013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48016
48017
48018
48019
48020 # If we're not using GNU ld, then there's no point in even trying these
48021 # tests. Check for that first. We should have already tested for gld
48022 # by now (in libtool), but require it now just to be safe...
48023 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48024 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48025
48026
48027
48028 # The name set by libtool depends on the version of libtool. Shame on us
48029 # for depending on an impl detail, but c'est la vie. Older versions used
48030 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48031 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48032 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48033 # set (hence we're using an older libtool), then set it.
48034 if test x${with_gnu_ld+set} != xset; then
48035 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48036 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48037 with_gnu_ld=no
48038 else
48039 with_gnu_ld=$ac_cv_prog_gnu_ld
48040 fi
48041 fi
48042
48043 # Start by getting the version number. I think the libtool test already
48044 # does some of this, but throws away the result.
48045 glibcxx_ld_is_gold=no
48046 if test x"$with_gnu_ld" = x"yes"; then
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48048 $as_echo_n "checking for ld version... " >&6; }
48049
48050 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48051 glibcxx_ld_is_gold=yes
48052 fi
48053 ldver=`$LD --version 2>/dev/null |
48054 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48055
48056 glibcxx_gnu_ld_version=`echo $ldver | \
48057 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48059 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48060 fi
48061
48062 # Set --gc-sections.
48063 glibcxx_have_gc_sections=no
48064 if test "$glibcxx_ld_is_gold" = "yes"; then
48065 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48066 glibcxx_have_gc_sections=yes
48067 fi
48068 else
48069 glibcxx_gcsections_min_ld=21602
48070 if test x"$with_gnu_ld" = x"yes" &&
48071 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48072 glibcxx_have_gc_sections=yes
48073 fi
48074 fi
48075 if test "$glibcxx_have_gc_sections" = "yes"; then
48076 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48077 # NB: This flag only works reliably after 2.16.1. Configure tests
48078 # for this are difficult, so hard wire a value that should work.
48079
48080 ac_test_CFLAGS="${CFLAGS+set}"
48081 ac_save_CFLAGS="$CFLAGS"
48082 CFLAGS='-Wl,--gc-sections'
48083
48084 # Check for -Wl,--gc-sections
48085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48086 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48087 if test x$gcc_no_link = xyes; then
48088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48089 fi
48090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h. */
48092 int one(void) { return 1; }
48093 int two(void) { return 2; }
48094
48095 int
48096 main ()
48097 {
48098 two();
48099 ;
48100 return 0;
48101 }
48102 _ACEOF
48103 if ac_fn_c_try_link "$LINENO"; then :
48104 ac_gcsections=yes
48105 else
48106 ac_gcsections=no
48107 fi
48108 rm -f core conftest.err conftest.$ac_objext \
48109 conftest$ac_exeext conftest.$ac_ext
48110 if test "$ac_gcsections" = "yes"; then
48111 rm -f conftest.c
48112 touch conftest.c
48113 if $CC -c conftest.c; then
48114 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48115 grep "Warning: gc-sections option ignored" > /dev/null; then
48116 ac_gcsections=no
48117 fi
48118 fi
48119 rm -f conftest.c conftest.o conftest
48120 fi
48121 if test "$ac_gcsections" = "yes"; then
48122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48123 fi
48124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48125 $as_echo "$ac_gcsections" >&6; }
48126
48127 if test "$ac_test_CFLAGS" = set; then
48128 CFLAGS="$ac_save_CFLAGS"
48129 else
48130 # this is the suspicious part
48131 CFLAGS=''
48132 fi
48133 fi
48134
48135 # Set -z,relro.
48136 # Note this is only for shared objects.
48137 ac_ld_relro=no
48138 if test x"$with_gnu_ld" = x"yes"; then
48139 # cygwin and mingw uses PE, which has no ELF relro support,
48140 # multi target ld may confuse configure machinery
48141 case "$host" in
48142 *-*-cygwin*)
48143 ;;
48144 *-*-mingw*)
48145 ;;
48146 *)
48147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48148 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48149 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48150 if test -n "$cxx_z_relo"; then
48151 OPT_LDFLAGS="-Wl,-z,relro"
48152 ac_ld_relro=yes
48153 fi
48154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48155 $as_echo "$ac_ld_relro" >&6; }
48156 esac
48157 fi
48158
48159 # Set linker optimization flags.
48160 if test x"$with_gnu_ld" = x"yes"; then
48161 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48162 fi
48163
48164
48165
48166
48167
48168 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48169 ac_save_CXXFLAGS="$CXXFLAGS"
48170 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48171
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48173 $as_echo_n "checking for sin in -lm... " >&6; }
48174 if ${ac_cv_lib_m_sin+:} false; then :
48175 $as_echo_n "(cached) " >&6
48176 else
48177 ac_check_lib_save_LIBS=$LIBS
48178 LIBS="-lm $LIBS"
48179 if test x$gcc_no_link = xyes; then
48180 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48181 fi
48182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48183 /* end confdefs.h. */
48184
48185 /* Override any GCC internal prototype to avoid an error.
48186 Use char because int might match the return type of a GCC
48187 builtin and then its argument prototype would still apply. */
48188 #ifdef __cplusplus
48189 extern "C"
48190 #endif
48191 char sin ();
48192 int
48193 main ()
48194 {
48195 return sin ();
48196 ;
48197 return 0;
48198 }
48199 _ACEOF
48200 if ac_fn_c_try_link "$LINENO"; then :
48201 ac_cv_lib_m_sin=yes
48202 else
48203 ac_cv_lib_m_sin=no
48204 fi
48205 rm -f core conftest.err conftest.$ac_objext \
48206 conftest$ac_exeext conftest.$ac_ext
48207 LIBS=$ac_check_lib_save_LIBS
48208 fi
48209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48210 $as_echo "$ac_cv_lib_m_sin" >&6; }
48211 if test "x$ac_cv_lib_m_sin" = xyes; then :
48212 libm="-lm"
48213 fi
48214
48215 ac_save_LIBS="$LIBS"
48216 LIBS="$LIBS $libm"
48217
48218
48219
48220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48221 $as_echo_n "checking for isinf declaration... " >&6; }
48222 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48223 if ${glibcxx_cv_func_isinf_use+:} false; then :
48224 $as_echo_n "(cached) " >&6
48225 else
48226
48227
48228 ac_ext=cpp
48229 ac_cpp='$CXXCPP $CPPFLAGS'
48230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48233
48234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48235 /* end confdefs.h. */
48236 #include <math.h>
48237 #ifdef HAVE_IEEEFP_H
48238 #include <ieeefp.h>
48239 #endif
48240
48241 int
48242 main ()
48243 {
48244 isinf(0);
48245 ;
48246 return 0;
48247 }
48248 _ACEOF
48249 if ac_fn_cxx_try_compile "$LINENO"; then :
48250 glibcxx_cv_func_isinf_use=yes
48251 else
48252 glibcxx_cv_func_isinf_use=no
48253 fi
48254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48255 ac_ext=c
48256 ac_cpp='$CPP $CPPFLAGS'
48257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48260
48261
48262 fi
48263
48264 fi
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48266 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48267
48268 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48269 for ac_func in isinf
48270 do :
48271 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48272 if test "x$ac_cv_func_isinf" = xyes; then :
48273 cat >>confdefs.h <<_ACEOF
48274 #define HAVE_ISINF 1
48275 _ACEOF
48276
48277 fi
48278 done
48279
48280 else
48281
48282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48283 $as_echo_n "checking for _isinf declaration... " >&6; }
48284 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48285 if ${glibcxx_cv_func__isinf_use+:} false; then :
48286 $as_echo_n "(cached) " >&6
48287 else
48288
48289
48290 ac_ext=cpp
48291 ac_cpp='$CXXCPP $CPPFLAGS'
48292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48295
48296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48297 /* end confdefs.h. */
48298 #include <math.h>
48299 #ifdef HAVE_IEEEFP_H
48300 #include <ieeefp.h>
48301 #endif
48302
48303 int
48304 main ()
48305 {
48306 _isinf(0);
48307 ;
48308 return 0;
48309 }
48310 _ACEOF
48311 if ac_fn_cxx_try_compile "$LINENO"; then :
48312 glibcxx_cv_func__isinf_use=yes
48313 else
48314 glibcxx_cv_func__isinf_use=no
48315 fi
48316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48317 ac_ext=c
48318 ac_cpp='$CPP $CPPFLAGS'
48319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48322
48323
48324 fi
48325
48326 fi
48327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48328 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48329
48330 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48331 for ac_func in _isinf
48332 do :
48333 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48334 if test "x$ac_cv_func__isinf" = xyes; then :
48335 cat >>confdefs.h <<_ACEOF
48336 #define HAVE__ISINF 1
48337 _ACEOF
48338
48339 fi
48340 done
48341
48342 fi
48343 fi
48344
48345
48346
48347
48348
48349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48350 $as_echo_n "checking for isnan declaration... " >&6; }
48351 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48352 if ${glibcxx_cv_func_isnan_use+:} false; then :
48353 $as_echo_n "(cached) " >&6
48354 else
48355
48356
48357 ac_ext=cpp
48358 ac_cpp='$CXXCPP $CPPFLAGS'
48359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48362
48363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48364 /* end confdefs.h. */
48365 #include <math.h>
48366 #ifdef HAVE_IEEEFP_H
48367 #include <ieeefp.h>
48368 #endif
48369
48370 int
48371 main ()
48372 {
48373 isnan(0);
48374 ;
48375 return 0;
48376 }
48377 _ACEOF
48378 if ac_fn_cxx_try_compile "$LINENO"; then :
48379 glibcxx_cv_func_isnan_use=yes
48380 else
48381 glibcxx_cv_func_isnan_use=no
48382 fi
48383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48384 ac_ext=c
48385 ac_cpp='$CPP $CPPFLAGS'
48386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48389
48390
48391 fi
48392
48393 fi
48394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48395 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48396
48397 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48398 for ac_func in isnan
48399 do :
48400 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48401 if test "x$ac_cv_func_isnan" = xyes; then :
48402 cat >>confdefs.h <<_ACEOF
48403 #define HAVE_ISNAN 1
48404 _ACEOF
48405
48406 fi
48407 done
48408
48409 else
48410
48411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48412 $as_echo_n "checking for _isnan declaration... " >&6; }
48413 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48414 if ${glibcxx_cv_func__isnan_use+:} false; then :
48415 $as_echo_n "(cached) " >&6
48416 else
48417
48418
48419 ac_ext=cpp
48420 ac_cpp='$CXXCPP $CPPFLAGS'
48421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48424
48425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48426 /* end confdefs.h. */
48427 #include <math.h>
48428 #ifdef HAVE_IEEEFP_H
48429 #include <ieeefp.h>
48430 #endif
48431
48432 int
48433 main ()
48434 {
48435 _isnan(0);
48436 ;
48437 return 0;
48438 }
48439 _ACEOF
48440 if ac_fn_cxx_try_compile "$LINENO"; then :
48441 glibcxx_cv_func__isnan_use=yes
48442 else
48443 glibcxx_cv_func__isnan_use=no
48444 fi
48445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48446 ac_ext=c
48447 ac_cpp='$CPP $CPPFLAGS'
48448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48451
48452
48453 fi
48454
48455 fi
48456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48457 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48458
48459 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48460 for ac_func in _isnan
48461 do :
48462 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48463 if test "x$ac_cv_func__isnan" = xyes; then :
48464 cat >>confdefs.h <<_ACEOF
48465 #define HAVE__ISNAN 1
48466 _ACEOF
48467
48468 fi
48469 done
48470
48471 fi
48472 fi
48473
48474
48475
48476
48477
48478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48479 $as_echo_n "checking for finite declaration... " >&6; }
48480 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48481 if ${glibcxx_cv_func_finite_use+:} false; then :
48482 $as_echo_n "(cached) " >&6
48483 else
48484
48485
48486 ac_ext=cpp
48487 ac_cpp='$CXXCPP $CPPFLAGS'
48488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48491
48492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48493 /* end confdefs.h. */
48494 #include <math.h>
48495 #ifdef HAVE_IEEEFP_H
48496 #include <ieeefp.h>
48497 #endif
48498
48499 int
48500 main ()
48501 {
48502 finite(0);
48503 ;
48504 return 0;
48505 }
48506 _ACEOF
48507 if ac_fn_cxx_try_compile "$LINENO"; then :
48508 glibcxx_cv_func_finite_use=yes
48509 else
48510 glibcxx_cv_func_finite_use=no
48511 fi
48512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48513 ac_ext=c
48514 ac_cpp='$CPP $CPPFLAGS'
48515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48518
48519
48520 fi
48521
48522 fi
48523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48524 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48525
48526 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48527 for ac_func in finite
48528 do :
48529 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48530 if test "x$ac_cv_func_finite" = xyes; then :
48531 cat >>confdefs.h <<_ACEOF
48532 #define HAVE_FINITE 1
48533 _ACEOF
48534
48535 fi
48536 done
48537
48538 else
48539
48540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48541 $as_echo_n "checking for _finite declaration... " >&6; }
48542 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48543 if ${glibcxx_cv_func__finite_use+:} false; then :
48544 $as_echo_n "(cached) " >&6
48545 else
48546
48547
48548 ac_ext=cpp
48549 ac_cpp='$CXXCPP $CPPFLAGS'
48550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48553
48554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48555 /* end confdefs.h. */
48556 #include <math.h>
48557 #ifdef HAVE_IEEEFP_H
48558 #include <ieeefp.h>
48559 #endif
48560
48561 int
48562 main ()
48563 {
48564 _finite(0);
48565 ;
48566 return 0;
48567 }
48568 _ACEOF
48569 if ac_fn_cxx_try_compile "$LINENO"; then :
48570 glibcxx_cv_func__finite_use=yes
48571 else
48572 glibcxx_cv_func__finite_use=no
48573 fi
48574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48575 ac_ext=c
48576 ac_cpp='$CPP $CPPFLAGS'
48577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48580
48581
48582 fi
48583
48584 fi
48585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48586 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48587
48588 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48589 for ac_func in _finite
48590 do :
48591 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48592 if test "x$ac_cv_func__finite" = xyes; then :
48593 cat >>confdefs.h <<_ACEOF
48594 #define HAVE__FINITE 1
48595 _ACEOF
48596
48597 fi
48598 done
48599
48600 fi
48601 fi
48602
48603
48604
48605
48606
48607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48608 $as_echo_n "checking for sincos declaration... " >&6; }
48609 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48610 if ${glibcxx_cv_func_sincos_use+:} false; then :
48611 $as_echo_n "(cached) " >&6
48612 else
48613
48614
48615 ac_ext=cpp
48616 ac_cpp='$CXXCPP $CPPFLAGS'
48617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48620
48621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48622 /* end confdefs.h. */
48623 #include <math.h>
48624 int
48625 main ()
48626 {
48627 sincos(0, 0, 0);
48628 ;
48629 return 0;
48630 }
48631 _ACEOF
48632 if ac_fn_cxx_try_compile "$LINENO"; then :
48633 glibcxx_cv_func_sincos_use=yes
48634 else
48635 glibcxx_cv_func_sincos_use=no
48636 fi
48637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48638 ac_ext=c
48639 ac_cpp='$CPP $CPPFLAGS'
48640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48643
48644
48645 fi
48646
48647 fi
48648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48649 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48650
48651 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48652 for ac_func in sincos
48653 do :
48654 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48655 if test "x$ac_cv_func_sincos" = xyes; then :
48656 cat >>confdefs.h <<_ACEOF
48657 #define HAVE_SINCOS 1
48658 _ACEOF
48659
48660 fi
48661 done
48662
48663 else
48664
48665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48666 $as_echo_n "checking for _sincos declaration... " >&6; }
48667 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48668 if ${glibcxx_cv_func__sincos_use+:} false; then :
48669 $as_echo_n "(cached) " >&6
48670 else
48671
48672
48673 ac_ext=cpp
48674 ac_cpp='$CXXCPP $CPPFLAGS'
48675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48678
48679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48680 /* end confdefs.h. */
48681 #include <math.h>
48682 int
48683 main ()
48684 {
48685 _sincos(0, 0, 0);
48686 ;
48687 return 0;
48688 }
48689 _ACEOF
48690 if ac_fn_cxx_try_compile "$LINENO"; then :
48691 glibcxx_cv_func__sincos_use=yes
48692 else
48693 glibcxx_cv_func__sincos_use=no
48694 fi
48695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48696 ac_ext=c
48697 ac_cpp='$CPP $CPPFLAGS'
48698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48701
48702
48703 fi
48704
48705 fi
48706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48707 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48708
48709 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48710 for ac_func in _sincos
48711 do :
48712 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48713 if test "x$ac_cv_func__sincos" = xyes; then :
48714 cat >>confdefs.h <<_ACEOF
48715 #define HAVE__SINCOS 1
48716 _ACEOF
48717
48718 fi
48719 done
48720
48721 fi
48722 fi
48723
48724
48725
48726
48727
48728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48729 $as_echo_n "checking for fpclass declaration... " >&6; }
48730 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48731 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48732 $as_echo_n "(cached) " >&6
48733 else
48734
48735
48736 ac_ext=cpp
48737 ac_cpp='$CXXCPP $CPPFLAGS'
48738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48741
48742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48743 /* end confdefs.h. */
48744 #include <math.h>
48745 #ifdef HAVE_IEEEFP_H
48746 #include <ieeefp.h>
48747 #endif
48748
48749 int
48750 main ()
48751 {
48752 fpclass(0);
48753 ;
48754 return 0;
48755 }
48756 _ACEOF
48757 if ac_fn_cxx_try_compile "$LINENO"; then :
48758 glibcxx_cv_func_fpclass_use=yes
48759 else
48760 glibcxx_cv_func_fpclass_use=no
48761 fi
48762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48763 ac_ext=c
48764 ac_cpp='$CPP $CPPFLAGS'
48765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48768
48769
48770 fi
48771
48772 fi
48773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48774 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48775
48776 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48777 for ac_func in fpclass
48778 do :
48779 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48780 if test "x$ac_cv_func_fpclass" = xyes; then :
48781 cat >>confdefs.h <<_ACEOF
48782 #define HAVE_FPCLASS 1
48783 _ACEOF
48784
48785 fi
48786 done
48787
48788 else
48789
48790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48791 $as_echo_n "checking for _fpclass declaration... " >&6; }
48792 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48793 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48794 $as_echo_n "(cached) " >&6
48795 else
48796
48797
48798 ac_ext=cpp
48799 ac_cpp='$CXXCPP $CPPFLAGS'
48800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48803
48804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48805 /* end confdefs.h. */
48806 #include <math.h>
48807 #ifdef HAVE_IEEEFP_H
48808 #include <ieeefp.h>
48809 #endif
48810
48811 int
48812 main ()
48813 {
48814 _fpclass(0);
48815 ;
48816 return 0;
48817 }
48818 _ACEOF
48819 if ac_fn_cxx_try_compile "$LINENO"; then :
48820 glibcxx_cv_func__fpclass_use=yes
48821 else
48822 glibcxx_cv_func__fpclass_use=no
48823 fi
48824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48825 ac_ext=c
48826 ac_cpp='$CPP $CPPFLAGS'
48827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48830
48831
48832 fi
48833
48834 fi
48835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48836 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48837
48838 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48839 for ac_func in _fpclass
48840 do :
48841 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48842 if test "x$ac_cv_func__fpclass" = xyes; then :
48843 cat >>confdefs.h <<_ACEOF
48844 #define HAVE__FPCLASS 1
48845 _ACEOF
48846
48847 fi
48848 done
48849
48850 fi
48851 fi
48852
48853
48854
48855
48856
48857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48858 $as_echo_n "checking for qfpclass declaration... " >&6; }
48859 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48860 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48861 $as_echo_n "(cached) " >&6
48862 else
48863
48864
48865 ac_ext=cpp
48866 ac_cpp='$CXXCPP $CPPFLAGS'
48867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870
48871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48872 /* end confdefs.h. */
48873 #include <math.h>
48874 #ifdef HAVE_IEEEFP_H
48875 #include <ieeefp.h>
48876 #endif
48877
48878 int
48879 main ()
48880 {
48881 qfpclass(0);
48882 ;
48883 return 0;
48884 }
48885 _ACEOF
48886 if ac_fn_cxx_try_compile "$LINENO"; then :
48887 glibcxx_cv_func_qfpclass_use=yes
48888 else
48889 glibcxx_cv_func_qfpclass_use=no
48890 fi
48891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48892 ac_ext=c
48893 ac_cpp='$CPP $CPPFLAGS'
48894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48897
48898
48899 fi
48900
48901 fi
48902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48903 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48904
48905 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48906 for ac_func in qfpclass
48907 do :
48908 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48909 if test "x$ac_cv_func_qfpclass" = xyes; then :
48910 cat >>confdefs.h <<_ACEOF
48911 #define HAVE_QFPCLASS 1
48912 _ACEOF
48913
48914 fi
48915 done
48916
48917 else
48918
48919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48920 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48921 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48922 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48923 $as_echo_n "(cached) " >&6
48924 else
48925
48926
48927 ac_ext=cpp
48928 ac_cpp='$CXXCPP $CPPFLAGS'
48929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48932
48933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48934 /* end confdefs.h. */
48935 #include <math.h>
48936 #ifdef HAVE_IEEEFP_H
48937 #include <ieeefp.h>
48938 #endif
48939
48940 int
48941 main ()
48942 {
48943 _qfpclass(0);
48944 ;
48945 return 0;
48946 }
48947 _ACEOF
48948 if ac_fn_cxx_try_compile "$LINENO"; then :
48949 glibcxx_cv_func__qfpclass_use=yes
48950 else
48951 glibcxx_cv_func__qfpclass_use=no
48952 fi
48953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48954 ac_ext=c
48955 ac_cpp='$CPP $CPPFLAGS'
48956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48959
48960
48961 fi
48962
48963 fi
48964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48965 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48966
48967 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48968 for ac_func in _qfpclass
48969 do :
48970 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48971 if test "x$ac_cv_func__qfpclass" = xyes; then :
48972 cat >>confdefs.h <<_ACEOF
48973 #define HAVE__QFPCLASS 1
48974 _ACEOF
48975
48976 fi
48977 done
48978
48979 fi
48980 fi
48981
48982
48983
48984
48985
48986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48987 $as_echo_n "checking for hypot declaration... " >&6; }
48988 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48989 if ${glibcxx_cv_func_hypot_use+:} false; then :
48990 $as_echo_n "(cached) " >&6
48991 else
48992
48993
48994 ac_ext=cpp
48995 ac_cpp='$CXXCPP $CPPFLAGS'
48996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48999
49000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49001 /* end confdefs.h. */
49002 #include <math.h>
49003 int
49004 main ()
49005 {
49006 hypot(0, 0);
49007 ;
49008 return 0;
49009 }
49010 _ACEOF
49011 if ac_fn_cxx_try_compile "$LINENO"; then :
49012 glibcxx_cv_func_hypot_use=yes
49013 else
49014 glibcxx_cv_func_hypot_use=no
49015 fi
49016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49017 ac_ext=c
49018 ac_cpp='$CPP $CPPFLAGS'
49019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49022
49023
49024 fi
49025
49026 fi
49027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49028 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49029
49030 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49031 for ac_func in hypot
49032 do :
49033 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49034 if test "x$ac_cv_func_hypot" = xyes; then :
49035 cat >>confdefs.h <<_ACEOF
49036 #define HAVE_HYPOT 1
49037 _ACEOF
49038
49039 fi
49040 done
49041
49042 else
49043
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49045 $as_echo_n "checking for _hypot declaration... " >&6; }
49046 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49047 if ${glibcxx_cv_func__hypot_use+:} false; then :
49048 $as_echo_n "(cached) " >&6
49049 else
49050
49051
49052 ac_ext=cpp
49053 ac_cpp='$CXXCPP $CPPFLAGS'
49054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49057
49058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49059 /* end confdefs.h. */
49060 #include <math.h>
49061 int
49062 main ()
49063 {
49064 _hypot(0, 0);
49065 ;
49066 return 0;
49067 }
49068 _ACEOF
49069 if ac_fn_cxx_try_compile "$LINENO"; then :
49070 glibcxx_cv_func__hypot_use=yes
49071 else
49072 glibcxx_cv_func__hypot_use=no
49073 fi
49074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49075 ac_ext=c
49076 ac_cpp='$CPP $CPPFLAGS'
49077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49080
49081
49082 fi
49083
49084 fi
49085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49086 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49087
49088 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49089 for ac_func in _hypot
49090 do :
49091 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49092 if test "x$ac_cv_func__hypot" = xyes; then :
49093 cat >>confdefs.h <<_ACEOF
49094 #define HAVE__HYPOT 1
49095 _ACEOF
49096
49097 fi
49098 done
49099
49100 fi
49101 fi
49102
49103
49104
49105
49106
49107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49108 $as_echo_n "checking for float trig functions... " >&6; }
49109 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49110 $as_echo_n "(cached) " >&6
49111 else
49112
49113
49114 ac_ext=cpp
49115 ac_cpp='$CXXCPP $CPPFLAGS'
49116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49119
49120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49121 /* end confdefs.h. */
49122 #include <math.h>
49123 int
49124 main ()
49125 {
49126 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49127 ;
49128 return 0;
49129 }
49130 _ACEOF
49131 if ac_fn_cxx_try_compile "$LINENO"; then :
49132 glibcxx_cv_func_float_trig_use=yes
49133 else
49134 glibcxx_cv_func_float_trig_use=no
49135 fi
49136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49137 ac_ext=c
49138 ac_cpp='$CPP $CPPFLAGS'
49139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49142
49143 fi
49144
49145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49146 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49147 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49148 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49149 do :
49150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49153 cat >>confdefs.h <<_ACEOF
49154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49155 _ACEOF
49156
49157 fi
49158 done
49159
49160 else
49161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49162 $as_echo_n "checking for _float trig functions... " >&6; }
49163 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49164 $as_echo_n "(cached) " >&6
49165 else
49166
49167
49168 ac_ext=cpp
49169 ac_cpp='$CXXCPP $CPPFLAGS'
49170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49173
49174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175 /* end confdefs.h. */
49176 #include <math.h>
49177 int
49178 main ()
49179 {
49180 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49181 ;
49182 return 0;
49183 }
49184 _ACEOF
49185 if ac_fn_cxx_try_compile "$LINENO"; then :
49186 glibcxx_cv_func__float_trig_use=yes
49187 else
49188 glibcxx_cv_func__float_trig_use=no
49189 fi
49190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49191 ac_ext=c
49192 ac_cpp='$CPP $CPPFLAGS'
49193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49196
49197 fi
49198
49199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49200 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49201 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49202 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49203 do :
49204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49207 cat >>confdefs.h <<_ACEOF
49208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49209 _ACEOF
49210
49211 fi
49212 done
49213
49214 fi
49215 fi
49216
49217
49218
49219
49220
49221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49222 $as_echo_n "checking for float round functions... " >&6; }
49223 if ${glibcxx_cv_func_float_round_use+:} false; then :
49224 $as_echo_n "(cached) " >&6
49225 else
49226
49227
49228 ac_ext=cpp
49229 ac_cpp='$CXXCPP $CPPFLAGS'
49230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49233
49234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49235 /* end confdefs.h. */
49236 #include <math.h>
49237 int
49238 main ()
49239 {
49240 ceilf (0); floorf (0);
49241 ;
49242 return 0;
49243 }
49244 _ACEOF
49245 if ac_fn_cxx_try_compile "$LINENO"; then :
49246 glibcxx_cv_func_float_round_use=yes
49247 else
49248 glibcxx_cv_func_float_round_use=no
49249 fi
49250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49251 ac_ext=c
49252 ac_cpp='$CPP $CPPFLAGS'
49253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49256
49257 fi
49258
49259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49260 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49261 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49262 for ac_func in ceilf floorf
49263 do :
49264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49267 cat >>confdefs.h <<_ACEOF
49268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49269 _ACEOF
49270
49271 fi
49272 done
49273
49274 else
49275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49276 $as_echo_n "checking for _float round functions... " >&6; }
49277 if ${glibcxx_cv_func__float_round_use+:} false; then :
49278 $as_echo_n "(cached) " >&6
49279 else
49280
49281
49282 ac_ext=cpp
49283 ac_cpp='$CXXCPP $CPPFLAGS'
49284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49287
49288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49289 /* end confdefs.h. */
49290 #include <math.h>
49291 int
49292 main ()
49293 {
49294 _ceilf (0); _floorf (0);
49295 ;
49296 return 0;
49297 }
49298 _ACEOF
49299 if ac_fn_cxx_try_compile "$LINENO"; then :
49300 glibcxx_cv_func__float_round_use=yes
49301 else
49302 glibcxx_cv_func__float_round_use=no
49303 fi
49304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49305 ac_ext=c
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49310
49311 fi
49312
49313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49314 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49315 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49316 for ac_func in _ceilf _floorf
49317 do :
49318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49321 cat >>confdefs.h <<_ACEOF
49322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49323 _ACEOF
49324
49325 fi
49326 done
49327
49328 fi
49329 fi
49330
49331
49332
49333
49334
49335
49336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49337 $as_echo_n "checking for expf declaration... " >&6; }
49338 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49339 if ${glibcxx_cv_func_expf_use+:} false; then :
49340 $as_echo_n "(cached) " >&6
49341 else
49342
49343
49344 ac_ext=cpp
49345 ac_cpp='$CXXCPP $CPPFLAGS'
49346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49349
49350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49351 /* end confdefs.h. */
49352 #include <math.h>
49353 #ifdef HAVE_IEEEFP_H
49354 #include <ieeefp.h>
49355 #endif
49356
49357 int
49358 main ()
49359 {
49360 expf(0);
49361 ;
49362 return 0;
49363 }
49364 _ACEOF
49365 if ac_fn_cxx_try_compile "$LINENO"; then :
49366 glibcxx_cv_func_expf_use=yes
49367 else
49368 glibcxx_cv_func_expf_use=no
49369 fi
49370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49371 ac_ext=c
49372 ac_cpp='$CPP $CPPFLAGS'
49373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49376
49377
49378 fi
49379
49380 fi
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49382 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49383
49384 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49385 for ac_func in expf
49386 do :
49387 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49388 if test "x$ac_cv_func_expf" = xyes; then :
49389 cat >>confdefs.h <<_ACEOF
49390 #define HAVE_EXPF 1
49391 _ACEOF
49392
49393 fi
49394 done
49395
49396 else
49397
49398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49399 $as_echo_n "checking for _expf declaration... " >&6; }
49400 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49401 if ${glibcxx_cv_func__expf_use+:} false; then :
49402 $as_echo_n "(cached) " >&6
49403 else
49404
49405
49406 ac_ext=cpp
49407 ac_cpp='$CXXCPP $CPPFLAGS'
49408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49411
49412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49413 /* end confdefs.h. */
49414 #include <math.h>
49415 #ifdef HAVE_IEEEFP_H
49416 #include <ieeefp.h>
49417 #endif
49418
49419 int
49420 main ()
49421 {
49422 _expf(0);
49423 ;
49424 return 0;
49425 }
49426 _ACEOF
49427 if ac_fn_cxx_try_compile "$LINENO"; then :
49428 glibcxx_cv_func__expf_use=yes
49429 else
49430 glibcxx_cv_func__expf_use=no
49431 fi
49432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49433 ac_ext=c
49434 ac_cpp='$CPP $CPPFLAGS'
49435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49438
49439
49440 fi
49441
49442 fi
49443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49444 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49445
49446 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49447 for ac_func in _expf
49448 do :
49449 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49450 if test "x$ac_cv_func__expf" = xyes; then :
49451 cat >>confdefs.h <<_ACEOF
49452 #define HAVE__EXPF 1
49453 _ACEOF
49454
49455 fi
49456 done
49457
49458 fi
49459 fi
49460
49461
49462
49463
49464
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49466 $as_echo_n "checking for isnanf declaration... " >&6; }
49467 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49468 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49469 $as_echo_n "(cached) " >&6
49470 else
49471
49472
49473 ac_ext=cpp
49474 ac_cpp='$CXXCPP $CPPFLAGS'
49475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49478
49479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49480 /* end confdefs.h. */
49481 #include <math.h>
49482 #ifdef HAVE_IEEEFP_H
49483 #include <ieeefp.h>
49484 #endif
49485
49486 int
49487 main ()
49488 {
49489 isnanf(0);
49490 ;
49491 return 0;
49492 }
49493 _ACEOF
49494 if ac_fn_cxx_try_compile "$LINENO"; then :
49495 glibcxx_cv_func_isnanf_use=yes
49496 else
49497 glibcxx_cv_func_isnanf_use=no
49498 fi
49499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49500 ac_ext=c
49501 ac_cpp='$CPP $CPPFLAGS'
49502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49505
49506
49507 fi
49508
49509 fi
49510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49511 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49512
49513 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49514 for ac_func in isnanf
49515 do :
49516 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49517 if test "x$ac_cv_func_isnanf" = xyes; then :
49518 cat >>confdefs.h <<_ACEOF
49519 #define HAVE_ISNANF 1
49520 _ACEOF
49521
49522 fi
49523 done
49524
49525 else
49526
49527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49528 $as_echo_n "checking for _isnanf declaration... " >&6; }
49529 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49530 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49531 $as_echo_n "(cached) " >&6
49532 else
49533
49534
49535 ac_ext=cpp
49536 ac_cpp='$CXXCPP $CPPFLAGS'
49537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49540
49541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49542 /* end confdefs.h. */
49543 #include <math.h>
49544 #ifdef HAVE_IEEEFP_H
49545 #include <ieeefp.h>
49546 #endif
49547
49548 int
49549 main ()
49550 {
49551 _isnanf(0);
49552 ;
49553 return 0;
49554 }
49555 _ACEOF
49556 if ac_fn_cxx_try_compile "$LINENO"; then :
49557 glibcxx_cv_func__isnanf_use=yes
49558 else
49559 glibcxx_cv_func__isnanf_use=no
49560 fi
49561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49562 ac_ext=c
49563 ac_cpp='$CPP $CPPFLAGS'
49564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49567
49568
49569 fi
49570
49571 fi
49572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49573 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49574
49575 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49576 for ac_func in _isnanf
49577 do :
49578 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49579 if test "x$ac_cv_func__isnanf" = xyes; then :
49580 cat >>confdefs.h <<_ACEOF
49581 #define HAVE__ISNANF 1
49582 _ACEOF
49583
49584 fi
49585 done
49586
49587 fi
49588 fi
49589
49590
49591
49592
49593
49594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49595 $as_echo_n "checking for isinff declaration... " >&6; }
49596 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49597 if ${glibcxx_cv_func_isinff_use+:} false; then :
49598 $as_echo_n "(cached) " >&6
49599 else
49600
49601
49602 ac_ext=cpp
49603 ac_cpp='$CXXCPP $CPPFLAGS'
49604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49607
49608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49609 /* end confdefs.h. */
49610 #include <math.h>
49611 #ifdef HAVE_IEEEFP_H
49612 #include <ieeefp.h>
49613 #endif
49614
49615 int
49616 main ()
49617 {
49618 isinff(0);
49619 ;
49620 return 0;
49621 }
49622 _ACEOF
49623 if ac_fn_cxx_try_compile "$LINENO"; then :
49624 glibcxx_cv_func_isinff_use=yes
49625 else
49626 glibcxx_cv_func_isinff_use=no
49627 fi
49628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49629 ac_ext=c
49630 ac_cpp='$CPP $CPPFLAGS'
49631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49634
49635
49636 fi
49637
49638 fi
49639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49640 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49641
49642 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49643 for ac_func in isinff
49644 do :
49645 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49646 if test "x$ac_cv_func_isinff" = xyes; then :
49647 cat >>confdefs.h <<_ACEOF
49648 #define HAVE_ISINFF 1
49649 _ACEOF
49650
49651 fi
49652 done
49653
49654 else
49655
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49657 $as_echo_n "checking for _isinff declaration... " >&6; }
49658 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49659 if ${glibcxx_cv_func__isinff_use+:} false; then :
49660 $as_echo_n "(cached) " >&6
49661 else
49662
49663
49664 ac_ext=cpp
49665 ac_cpp='$CXXCPP $CPPFLAGS'
49666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49669
49670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49671 /* end confdefs.h. */
49672 #include <math.h>
49673 #ifdef HAVE_IEEEFP_H
49674 #include <ieeefp.h>
49675 #endif
49676
49677 int
49678 main ()
49679 {
49680 _isinff(0);
49681 ;
49682 return 0;
49683 }
49684 _ACEOF
49685 if ac_fn_cxx_try_compile "$LINENO"; then :
49686 glibcxx_cv_func__isinff_use=yes
49687 else
49688 glibcxx_cv_func__isinff_use=no
49689 fi
49690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49691 ac_ext=c
49692 ac_cpp='$CPP $CPPFLAGS'
49693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49696
49697
49698 fi
49699
49700 fi
49701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49702 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49703
49704 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49705 for ac_func in _isinff
49706 do :
49707 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49708 if test "x$ac_cv_func__isinff" = xyes; then :
49709 cat >>confdefs.h <<_ACEOF
49710 #define HAVE__ISINFF 1
49711 _ACEOF
49712
49713 fi
49714 done
49715
49716 fi
49717 fi
49718
49719
49720
49721
49722
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49724 $as_echo_n "checking for atan2f declaration... " >&6; }
49725 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49726 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49727 $as_echo_n "(cached) " >&6
49728 else
49729
49730
49731 ac_ext=cpp
49732 ac_cpp='$CXXCPP $CPPFLAGS'
49733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49736
49737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49738 /* end confdefs.h. */
49739 #include <math.h>
49740 int
49741 main ()
49742 {
49743 atan2f(0, 0);
49744 ;
49745 return 0;
49746 }
49747 _ACEOF
49748 if ac_fn_cxx_try_compile "$LINENO"; then :
49749 glibcxx_cv_func_atan2f_use=yes
49750 else
49751 glibcxx_cv_func_atan2f_use=no
49752 fi
49753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49754 ac_ext=c
49755 ac_cpp='$CPP $CPPFLAGS'
49756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49759
49760
49761 fi
49762
49763 fi
49764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49765 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49766
49767 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49768 for ac_func in atan2f
49769 do :
49770 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49771 if test "x$ac_cv_func_atan2f" = xyes; then :
49772 cat >>confdefs.h <<_ACEOF
49773 #define HAVE_ATAN2F 1
49774 _ACEOF
49775
49776 fi
49777 done
49778
49779 else
49780
49781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49782 $as_echo_n "checking for _atan2f declaration... " >&6; }
49783 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49784 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49785 $as_echo_n "(cached) " >&6
49786 else
49787
49788
49789 ac_ext=cpp
49790 ac_cpp='$CXXCPP $CPPFLAGS'
49791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49794
49795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49796 /* end confdefs.h. */
49797 #include <math.h>
49798 int
49799 main ()
49800 {
49801 _atan2f(0, 0);
49802 ;
49803 return 0;
49804 }
49805 _ACEOF
49806 if ac_fn_cxx_try_compile "$LINENO"; then :
49807 glibcxx_cv_func__atan2f_use=yes
49808 else
49809 glibcxx_cv_func__atan2f_use=no
49810 fi
49811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49812 ac_ext=c
49813 ac_cpp='$CPP $CPPFLAGS'
49814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49817
49818
49819 fi
49820
49821 fi
49822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49823 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49824
49825 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49826 for ac_func in _atan2f
49827 do :
49828 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49829 if test "x$ac_cv_func__atan2f" = xyes; then :
49830 cat >>confdefs.h <<_ACEOF
49831 #define HAVE__ATAN2F 1
49832 _ACEOF
49833
49834 fi
49835 done
49836
49837 fi
49838 fi
49839
49840
49841
49842
49843
49844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49845 $as_echo_n "checking for fabsf declaration... " >&6; }
49846 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49847 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49848 $as_echo_n "(cached) " >&6
49849 else
49850
49851
49852 ac_ext=cpp
49853 ac_cpp='$CXXCPP $CPPFLAGS'
49854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49857
49858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49859 /* end confdefs.h. */
49860 #include <math.h>
49861 #ifdef HAVE_IEEEFP_H
49862 #include <ieeefp.h>
49863 #endif
49864
49865 int
49866 main ()
49867 {
49868 fabsf(0);
49869 ;
49870 return 0;
49871 }
49872 _ACEOF
49873 if ac_fn_cxx_try_compile "$LINENO"; then :
49874 glibcxx_cv_func_fabsf_use=yes
49875 else
49876 glibcxx_cv_func_fabsf_use=no
49877 fi
49878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49879 ac_ext=c
49880 ac_cpp='$CPP $CPPFLAGS'
49881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49884
49885
49886 fi
49887
49888 fi
49889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49890 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49891
49892 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49893 for ac_func in fabsf
49894 do :
49895 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49896 if test "x$ac_cv_func_fabsf" = xyes; then :
49897 cat >>confdefs.h <<_ACEOF
49898 #define HAVE_FABSF 1
49899 _ACEOF
49900
49901 fi
49902 done
49903
49904 else
49905
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49907 $as_echo_n "checking for _fabsf declaration... " >&6; }
49908 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49909 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49910 $as_echo_n "(cached) " >&6
49911 else
49912
49913
49914 ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49919
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49922 #include <math.h>
49923 #ifdef HAVE_IEEEFP_H
49924 #include <ieeefp.h>
49925 #endif
49926
49927 int
49928 main ()
49929 {
49930 _fabsf(0);
49931 ;
49932 return 0;
49933 }
49934 _ACEOF
49935 if ac_fn_cxx_try_compile "$LINENO"; then :
49936 glibcxx_cv_func__fabsf_use=yes
49937 else
49938 glibcxx_cv_func__fabsf_use=no
49939 fi
49940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49941 ac_ext=c
49942 ac_cpp='$CPP $CPPFLAGS'
49943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49946
49947
49948 fi
49949
49950 fi
49951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49952 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49953
49954 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49955 for ac_func in _fabsf
49956 do :
49957 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49958 if test "x$ac_cv_func__fabsf" = xyes; then :
49959 cat >>confdefs.h <<_ACEOF
49960 #define HAVE__FABSF 1
49961 _ACEOF
49962
49963 fi
49964 done
49965
49966 fi
49967 fi
49968
49969
49970
49971
49972
49973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49974 $as_echo_n "checking for fmodf declaration... " >&6; }
49975 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49976 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49977 $as_echo_n "(cached) " >&6
49978 else
49979
49980
49981 ac_ext=cpp
49982 ac_cpp='$CXXCPP $CPPFLAGS'
49983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49986
49987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49988 /* end confdefs.h. */
49989 #include <math.h>
49990 int
49991 main ()
49992 {
49993 fmodf(0, 0);
49994 ;
49995 return 0;
49996 }
49997 _ACEOF
49998 if ac_fn_cxx_try_compile "$LINENO"; then :
49999 glibcxx_cv_func_fmodf_use=yes
50000 else
50001 glibcxx_cv_func_fmodf_use=no
50002 fi
50003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50004 ac_ext=c
50005 ac_cpp='$CPP $CPPFLAGS'
50006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50009
50010
50011 fi
50012
50013 fi
50014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50015 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50016
50017 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50018 for ac_func in fmodf
50019 do :
50020 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50021 if test "x$ac_cv_func_fmodf" = xyes; then :
50022 cat >>confdefs.h <<_ACEOF
50023 #define HAVE_FMODF 1
50024 _ACEOF
50025
50026 fi
50027 done
50028
50029 else
50030
50031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50032 $as_echo_n "checking for _fmodf declaration... " >&6; }
50033 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50034 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50035 $as_echo_n "(cached) " >&6
50036 else
50037
50038
50039 ac_ext=cpp
50040 ac_cpp='$CXXCPP $CPPFLAGS'
50041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50044
50045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50046 /* end confdefs.h. */
50047 #include <math.h>
50048 int
50049 main ()
50050 {
50051 _fmodf(0, 0);
50052 ;
50053 return 0;
50054 }
50055 _ACEOF
50056 if ac_fn_cxx_try_compile "$LINENO"; then :
50057 glibcxx_cv_func__fmodf_use=yes
50058 else
50059 glibcxx_cv_func__fmodf_use=no
50060 fi
50061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50062 ac_ext=c
50063 ac_cpp='$CPP $CPPFLAGS'
50064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50067
50068
50069 fi
50070
50071 fi
50072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50073 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50074
50075 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50076 for ac_func in _fmodf
50077 do :
50078 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50079 if test "x$ac_cv_func__fmodf" = xyes; then :
50080 cat >>confdefs.h <<_ACEOF
50081 #define HAVE__FMODF 1
50082 _ACEOF
50083
50084 fi
50085 done
50086
50087 fi
50088 fi
50089
50090
50091
50092
50093
50094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50095 $as_echo_n "checking for frexpf declaration... " >&6; }
50096 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50097 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50098 $as_echo_n "(cached) " >&6
50099 else
50100
50101
50102 ac_ext=cpp
50103 ac_cpp='$CXXCPP $CPPFLAGS'
50104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50107
50108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50109 /* end confdefs.h. */
50110 #include <math.h>
50111 int
50112 main ()
50113 {
50114 frexpf(0, 0);
50115 ;
50116 return 0;
50117 }
50118 _ACEOF
50119 if ac_fn_cxx_try_compile "$LINENO"; then :
50120 glibcxx_cv_func_frexpf_use=yes
50121 else
50122 glibcxx_cv_func_frexpf_use=no
50123 fi
50124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50125 ac_ext=c
50126 ac_cpp='$CPP $CPPFLAGS'
50127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50130
50131
50132 fi
50133
50134 fi
50135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50136 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50137
50138 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50139 for ac_func in frexpf
50140 do :
50141 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50142 if test "x$ac_cv_func_frexpf" = xyes; then :
50143 cat >>confdefs.h <<_ACEOF
50144 #define HAVE_FREXPF 1
50145 _ACEOF
50146
50147 fi
50148 done
50149
50150 else
50151
50152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50153 $as_echo_n "checking for _frexpf declaration... " >&6; }
50154 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50155 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50156 $as_echo_n "(cached) " >&6
50157 else
50158
50159
50160 ac_ext=cpp
50161 ac_cpp='$CXXCPP $CPPFLAGS'
50162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50165
50166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50167 /* end confdefs.h. */
50168 #include <math.h>
50169 int
50170 main ()
50171 {
50172 _frexpf(0, 0);
50173 ;
50174 return 0;
50175 }
50176 _ACEOF
50177 if ac_fn_cxx_try_compile "$LINENO"; then :
50178 glibcxx_cv_func__frexpf_use=yes
50179 else
50180 glibcxx_cv_func__frexpf_use=no
50181 fi
50182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50183 ac_ext=c
50184 ac_cpp='$CPP $CPPFLAGS'
50185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50188
50189
50190 fi
50191
50192 fi
50193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50194 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50195
50196 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50197 for ac_func in _frexpf
50198 do :
50199 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50200 if test "x$ac_cv_func__frexpf" = xyes; then :
50201 cat >>confdefs.h <<_ACEOF
50202 #define HAVE__FREXPF 1
50203 _ACEOF
50204
50205 fi
50206 done
50207
50208 fi
50209 fi
50210
50211
50212
50213
50214
50215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50216 $as_echo_n "checking for hypotf declaration... " >&6; }
50217 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50218 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50219 $as_echo_n "(cached) " >&6
50220 else
50221
50222
50223 ac_ext=cpp
50224 ac_cpp='$CXXCPP $CPPFLAGS'
50225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50228
50229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50230 /* end confdefs.h. */
50231 #include <math.h>
50232 int
50233 main ()
50234 {
50235 hypotf(0, 0);
50236 ;
50237 return 0;
50238 }
50239 _ACEOF
50240 if ac_fn_cxx_try_compile "$LINENO"; then :
50241 glibcxx_cv_func_hypotf_use=yes
50242 else
50243 glibcxx_cv_func_hypotf_use=no
50244 fi
50245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50246 ac_ext=c
50247 ac_cpp='$CPP $CPPFLAGS'
50248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50251
50252
50253 fi
50254
50255 fi
50256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50257 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50258
50259 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50260 for ac_func in hypotf
50261 do :
50262 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50263 if test "x$ac_cv_func_hypotf" = xyes; then :
50264 cat >>confdefs.h <<_ACEOF
50265 #define HAVE_HYPOTF 1
50266 _ACEOF
50267
50268 fi
50269 done
50270
50271 else
50272
50273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50274 $as_echo_n "checking for _hypotf declaration... " >&6; }
50275 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50276 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50277 $as_echo_n "(cached) " >&6
50278 else
50279
50280
50281 ac_ext=cpp
50282 ac_cpp='$CXXCPP $CPPFLAGS'
50283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50286
50287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50288 /* end confdefs.h. */
50289 #include <math.h>
50290 int
50291 main ()
50292 {
50293 _hypotf(0, 0);
50294 ;
50295 return 0;
50296 }
50297 _ACEOF
50298 if ac_fn_cxx_try_compile "$LINENO"; then :
50299 glibcxx_cv_func__hypotf_use=yes
50300 else
50301 glibcxx_cv_func__hypotf_use=no
50302 fi
50303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50304 ac_ext=c
50305 ac_cpp='$CPP $CPPFLAGS'
50306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50309
50310
50311 fi
50312
50313 fi
50314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50315 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50316
50317 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50318 for ac_func in _hypotf
50319 do :
50320 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50321 if test "x$ac_cv_func__hypotf" = xyes; then :
50322 cat >>confdefs.h <<_ACEOF
50323 #define HAVE__HYPOTF 1
50324 _ACEOF
50325
50326 fi
50327 done
50328
50329 fi
50330 fi
50331
50332
50333
50334
50335
50336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50337 $as_echo_n "checking for ldexpf declaration... " >&6; }
50338 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50339 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50340 $as_echo_n "(cached) " >&6
50341 else
50342
50343
50344 ac_ext=cpp
50345 ac_cpp='$CXXCPP $CPPFLAGS'
50346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50349
50350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50351 /* end confdefs.h. */
50352 #include <math.h>
50353 int
50354 main ()
50355 {
50356 ldexpf(0, 0);
50357 ;
50358 return 0;
50359 }
50360 _ACEOF
50361 if ac_fn_cxx_try_compile "$LINENO"; then :
50362 glibcxx_cv_func_ldexpf_use=yes
50363 else
50364 glibcxx_cv_func_ldexpf_use=no
50365 fi
50366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50367 ac_ext=c
50368 ac_cpp='$CPP $CPPFLAGS'
50369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50372
50373
50374 fi
50375
50376 fi
50377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50378 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50379
50380 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50381 for ac_func in ldexpf
50382 do :
50383 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50384 if test "x$ac_cv_func_ldexpf" = xyes; then :
50385 cat >>confdefs.h <<_ACEOF
50386 #define HAVE_LDEXPF 1
50387 _ACEOF
50388
50389 fi
50390 done
50391
50392 else
50393
50394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50395 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50396 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50397 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50398 $as_echo_n "(cached) " >&6
50399 else
50400
50401
50402 ac_ext=cpp
50403 ac_cpp='$CXXCPP $CPPFLAGS'
50404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50407
50408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50409 /* end confdefs.h. */
50410 #include <math.h>
50411 int
50412 main ()
50413 {
50414 _ldexpf(0, 0);
50415 ;
50416 return 0;
50417 }
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420 glibcxx_cv_func__ldexpf_use=yes
50421 else
50422 glibcxx_cv_func__ldexpf_use=no
50423 fi
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425 ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50430
50431
50432 fi
50433
50434 fi
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50436 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50437
50438 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50439 for ac_func in _ldexpf
50440 do :
50441 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50442 if test "x$ac_cv_func__ldexpf" = xyes; then :
50443 cat >>confdefs.h <<_ACEOF
50444 #define HAVE__LDEXPF 1
50445 _ACEOF
50446
50447 fi
50448 done
50449
50450 fi
50451 fi
50452
50453
50454
50455
50456
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50458 $as_echo_n "checking for logf declaration... " >&6; }
50459 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50460 if ${glibcxx_cv_func_logf_use+:} false; then :
50461 $as_echo_n "(cached) " >&6
50462 else
50463
50464
50465 ac_ext=cpp
50466 ac_cpp='$CXXCPP $CPPFLAGS'
50467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50470
50471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50472 /* end confdefs.h. */
50473 #include <math.h>
50474 #ifdef HAVE_IEEEFP_H
50475 #include <ieeefp.h>
50476 #endif
50477
50478 int
50479 main ()
50480 {
50481 logf(0);
50482 ;
50483 return 0;
50484 }
50485 _ACEOF
50486 if ac_fn_cxx_try_compile "$LINENO"; then :
50487 glibcxx_cv_func_logf_use=yes
50488 else
50489 glibcxx_cv_func_logf_use=no
50490 fi
50491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50492 ac_ext=c
50493 ac_cpp='$CPP $CPPFLAGS'
50494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50497
50498
50499 fi
50500
50501 fi
50502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50503 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50504
50505 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50506 for ac_func in logf
50507 do :
50508 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50509 if test "x$ac_cv_func_logf" = xyes; then :
50510 cat >>confdefs.h <<_ACEOF
50511 #define HAVE_LOGF 1
50512 _ACEOF
50513
50514 fi
50515 done
50516
50517 else
50518
50519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50520 $as_echo_n "checking for _logf declaration... " >&6; }
50521 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50522 if ${glibcxx_cv_func__logf_use+:} false; then :
50523 $as_echo_n "(cached) " >&6
50524 else
50525
50526
50527 ac_ext=cpp
50528 ac_cpp='$CXXCPP $CPPFLAGS'
50529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50532
50533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534 /* end confdefs.h. */
50535 #include <math.h>
50536 #ifdef HAVE_IEEEFP_H
50537 #include <ieeefp.h>
50538 #endif
50539
50540 int
50541 main ()
50542 {
50543 _logf(0);
50544 ;
50545 return 0;
50546 }
50547 _ACEOF
50548 if ac_fn_cxx_try_compile "$LINENO"; then :
50549 glibcxx_cv_func__logf_use=yes
50550 else
50551 glibcxx_cv_func__logf_use=no
50552 fi
50553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50554 ac_ext=c
50555 ac_cpp='$CPP $CPPFLAGS'
50556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50559
50560
50561 fi
50562
50563 fi
50564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50565 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50566
50567 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50568 for ac_func in _logf
50569 do :
50570 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50571 if test "x$ac_cv_func__logf" = xyes; then :
50572 cat >>confdefs.h <<_ACEOF
50573 #define HAVE__LOGF 1
50574 _ACEOF
50575
50576 fi
50577 done
50578
50579 fi
50580 fi
50581
50582
50583
50584
50585
50586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50587 $as_echo_n "checking for log10f declaration... " >&6; }
50588 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50589 if ${glibcxx_cv_func_log10f_use+:} false; then :
50590 $as_echo_n "(cached) " >&6
50591 else
50592
50593
50594 ac_ext=cpp
50595 ac_cpp='$CXXCPP $CPPFLAGS'
50596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50599
50600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50601 /* end confdefs.h. */
50602 #include <math.h>
50603 #ifdef HAVE_IEEEFP_H
50604 #include <ieeefp.h>
50605 #endif
50606
50607 int
50608 main ()
50609 {
50610 log10f(0);
50611 ;
50612 return 0;
50613 }
50614 _ACEOF
50615 if ac_fn_cxx_try_compile "$LINENO"; then :
50616 glibcxx_cv_func_log10f_use=yes
50617 else
50618 glibcxx_cv_func_log10f_use=no
50619 fi
50620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50621 ac_ext=c
50622 ac_cpp='$CPP $CPPFLAGS'
50623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50626
50627
50628 fi
50629
50630 fi
50631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50632 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50633
50634 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50635 for ac_func in log10f
50636 do :
50637 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50638 if test "x$ac_cv_func_log10f" = xyes; then :
50639 cat >>confdefs.h <<_ACEOF
50640 #define HAVE_LOG10F 1
50641 _ACEOF
50642
50643 fi
50644 done
50645
50646 else
50647
50648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50649 $as_echo_n "checking for _log10f declaration... " >&6; }
50650 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50651 if ${glibcxx_cv_func__log10f_use+:} false; then :
50652 $as_echo_n "(cached) " >&6
50653 else
50654
50655
50656 ac_ext=cpp
50657 ac_cpp='$CXXCPP $CPPFLAGS'
50658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50661
50662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h. */
50664 #include <math.h>
50665 #ifdef HAVE_IEEEFP_H
50666 #include <ieeefp.h>
50667 #endif
50668
50669 int
50670 main ()
50671 {
50672 _log10f(0);
50673 ;
50674 return 0;
50675 }
50676 _ACEOF
50677 if ac_fn_cxx_try_compile "$LINENO"; then :
50678 glibcxx_cv_func__log10f_use=yes
50679 else
50680 glibcxx_cv_func__log10f_use=no
50681 fi
50682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50683 ac_ext=c
50684 ac_cpp='$CPP $CPPFLAGS'
50685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50688
50689
50690 fi
50691
50692 fi
50693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50694 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50695
50696 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50697 for ac_func in _log10f
50698 do :
50699 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50700 if test "x$ac_cv_func__log10f" = xyes; then :
50701 cat >>confdefs.h <<_ACEOF
50702 #define HAVE__LOG10F 1
50703 _ACEOF
50704
50705 fi
50706 done
50707
50708 fi
50709 fi
50710
50711
50712
50713
50714
50715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50716 $as_echo_n "checking for modff declaration... " >&6; }
50717 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50718 if ${glibcxx_cv_func_modff_use+:} false; then :
50719 $as_echo_n "(cached) " >&6
50720 else
50721
50722
50723 ac_ext=cpp
50724 ac_cpp='$CXXCPP $CPPFLAGS'
50725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50728
50729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50730 /* end confdefs.h. */
50731 #include <math.h>
50732 int
50733 main ()
50734 {
50735 modff(0, 0);
50736 ;
50737 return 0;
50738 }
50739 _ACEOF
50740 if ac_fn_cxx_try_compile "$LINENO"; then :
50741 glibcxx_cv_func_modff_use=yes
50742 else
50743 glibcxx_cv_func_modff_use=no
50744 fi
50745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50746 ac_ext=c
50747 ac_cpp='$CPP $CPPFLAGS'
50748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50751
50752
50753 fi
50754
50755 fi
50756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50757 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50758
50759 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50760 for ac_func in modff
50761 do :
50762 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50763 if test "x$ac_cv_func_modff" = xyes; then :
50764 cat >>confdefs.h <<_ACEOF
50765 #define HAVE_MODFF 1
50766 _ACEOF
50767
50768 fi
50769 done
50770
50771 else
50772
50773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50774 $as_echo_n "checking for _modff declaration... " >&6; }
50775 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50776 if ${glibcxx_cv_func__modff_use+:} false; then :
50777 $as_echo_n "(cached) " >&6
50778 else
50779
50780
50781 ac_ext=cpp
50782 ac_cpp='$CXXCPP $CPPFLAGS'
50783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50786
50787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50788 /* end confdefs.h. */
50789 #include <math.h>
50790 int
50791 main ()
50792 {
50793 _modff(0, 0);
50794 ;
50795 return 0;
50796 }
50797 _ACEOF
50798 if ac_fn_cxx_try_compile "$LINENO"; then :
50799 glibcxx_cv_func__modff_use=yes
50800 else
50801 glibcxx_cv_func__modff_use=no
50802 fi
50803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50804 ac_ext=c
50805 ac_cpp='$CPP $CPPFLAGS'
50806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50809
50810
50811 fi
50812
50813 fi
50814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50815 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50816
50817 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50818 for ac_func in _modff
50819 do :
50820 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50821 if test "x$ac_cv_func__modff" = xyes; then :
50822 cat >>confdefs.h <<_ACEOF
50823 #define HAVE__MODFF 1
50824 _ACEOF
50825
50826 fi
50827 done
50828
50829 fi
50830 fi
50831
50832
50833
50834
50835
50836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50837 $as_echo_n "checking for modf declaration... " >&6; }
50838 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50839 if ${glibcxx_cv_func_modf_use+:} false; then :
50840 $as_echo_n "(cached) " >&6
50841 else
50842
50843
50844 ac_ext=cpp
50845 ac_cpp='$CXXCPP $CPPFLAGS'
50846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50849
50850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50851 /* end confdefs.h. */
50852 #include <math.h>
50853 int
50854 main ()
50855 {
50856 modf(0, 0);
50857 ;
50858 return 0;
50859 }
50860 _ACEOF
50861 if ac_fn_cxx_try_compile "$LINENO"; then :
50862 glibcxx_cv_func_modf_use=yes
50863 else
50864 glibcxx_cv_func_modf_use=no
50865 fi
50866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50867 ac_ext=c
50868 ac_cpp='$CPP $CPPFLAGS'
50869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50872
50873
50874 fi
50875
50876 fi
50877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50878 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50879
50880 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50881 for ac_func in modf
50882 do :
50883 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50884 if test "x$ac_cv_func_modf" = xyes; then :
50885 cat >>confdefs.h <<_ACEOF
50886 #define HAVE_MODF 1
50887 _ACEOF
50888
50889 fi
50890 done
50891
50892 else
50893
50894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50895 $as_echo_n "checking for _modf declaration... " >&6; }
50896 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50897 if ${glibcxx_cv_func__modf_use+:} false; then :
50898 $as_echo_n "(cached) " >&6
50899 else
50900
50901
50902 ac_ext=cpp
50903 ac_cpp='$CXXCPP $CPPFLAGS'
50904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50907
50908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50909 /* end confdefs.h. */
50910 #include <math.h>
50911 int
50912 main ()
50913 {
50914 _modf(0, 0);
50915 ;
50916 return 0;
50917 }
50918 _ACEOF
50919 if ac_fn_cxx_try_compile "$LINENO"; then :
50920 glibcxx_cv_func__modf_use=yes
50921 else
50922 glibcxx_cv_func__modf_use=no
50923 fi
50924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50925 ac_ext=c
50926 ac_cpp='$CPP $CPPFLAGS'
50927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50930
50931
50932 fi
50933
50934 fi
50935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50936 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50937
50938 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50939 for ac_func in _modf
50940 do :
50941 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50942 if test "x$ac_cv_func__modf" = xyes; then :
50943 cat >>confdefs.h <<_ACEOF
50944 #define HAVE__MODF 1
50945 _ACEOF
50946
50947 fi
50948 done
50949
50950 fi
50951 fi
50952
50953
50954
50955
50956
50957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50958 $as_echo_n "checking for powf declaration... " >&6; }
50959 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50960 if ${glibcxx_cv_func_powf_use+:} false; then :
50961 $as_echo_n "(cached) " >&6
50962 else
50963
50964
50965 ac_ext=cpp
50966 ac_cpp='$CXXCPP $CPPFLAGS'
50967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50970
50971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50972 /* end confdefs.h. */
50973 #include <math.h>
50974 int
50975 main ()
50976 {
50977 powf(0, 0);
50978 ;
50979 return 0;
50980 }
50981 _ACEOF
50982 if ac_fn_cxx_try_compile "$LINENO"; then :
50983 glibcxx_cv_func_powf_use=yes
50984 else
50985 glibcxx_cv_func_powf_use=no
50986 fi
50987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50988 ac_ext=c
50989 ac_cpp='$CPP $CPPFLAGS'
50990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50993
50994
50995 fi
50996
50997 fi
50998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50999 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51000
51001 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51002 for ac_func in powf
51003 do :
51004 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51005 if test "x$ac_cv_func_powf" = xyes; then :
51006 cat >>confdefs.h <<_ACEOF
51007 #define HAVE_POWF 1
51008 _ACEOF
51009
51010 fi
51011 done
51012
51013 else
51014
51015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51016 $as_echo_n "checking for _powf declaration... " >&6; }
51017 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51018 if ${glibcxx_cv_func__powf_use+:} false; then :
51019 $as_echo_n "(cached) " >&6
51020 else
51021
51022
51023 ac_ext=cpp
51024 ac_cpp='$CXXCPP $CPPFLAGS'
51025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51028
51029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51030 /* end confdefs.h. */
51031 #include <math.h>
51032 int
51033 main ()
51034 {
51035 _powf(0, 0);
51036 ;
51037 return 0;
51038 }
51039 _ACEOF
51040 if ac_fn_cxx_try_compile "$LINENO"; then :
51041 glibcxx_cv_func__powf_use=yes
51042 else
51043 glibcxx_cv_func__powf_use=no
51044 fi
51045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51046 ac_ext=c
51047 ac_cpp='$CPP $CPPFLAGS'
51048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51051
51052
51053 fi
51054
51055 fi
51056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51057 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51058
51059 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51060 for ac_func in _powf
51061 do :
51062 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51063 if test "x$ac_cv_func__powf" = xyes; then :
51064 cat >>confdefs.h <<_ACEOF
51065 #define HAVE__POWF 1
51066 _ACEOF
51067
51068 fi
51069 done
51070
51071 fi
51072 fi
51073
51074
51075
51076
51077
51078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51079 $as_echo_n "checking for sqrtf declaration... " >&6; }
51080 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51081 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51082 $as_echo_n "(cached) " >&6
51083 else
51084
51085
51086 ac_ext=cpp
51087 ac_cpp='$CXXCPP $CPPFLAGS'
51088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51091
51092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51093 /* end confdefs.h. */
51094 #include <math.h>
51095 #ifdef HAVE_IEEEFP_H
51096 #include <ieeefp.h>
51097 #endif
51098
51099 int
51100 main ()
51101 {
51102 sqrtf(0);
51103 ;
51104 return 0;
51105 }
51106 _ACEOF
51107 if ac_fn_cxx_try_compile "$LINENO"; then :
51108 glibcxx_cv_func_sqrtf_use=yes
51109 else
51110 glibcxx_cv_func_sqrtf_use=no
51111 fi
51112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51113 ac_ext=c
51114 ac_cpp='$CPP $CPPFLAGS'
51115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51118
51119
51120 fi
51121
51122 fi
51123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51124 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51125
51126 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51127 for ac_func in sqrtf
51128 do :
51129 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51130 if test "x$ac_cv_func_sqrtf" = xyes; then :
51131 cat >>confdefs.h <<_ACEOF
51132 #define HAVE_SQRTF 1
51133 _ACEOF
51134
51135 fi
51136 done
51137
51138 else
51139
51140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51141 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51142 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51143 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51144 $as_echo_n "(cached) " >&6
51145 else
51146
51147
51148 ac_ext=cpp
51149 ac_cpp='$CXXCPP $CPPFLAGS'
51150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51153
51154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51155 /* end confdefs.h. */
51156 #include <math.h>
51157 #ifdef HAVE_IEEEFP_H
51158 #include <ieeefp.h>
51159 #endif
51160
51161 int
51162 main ()
51163 {
51164 _sqrtf(0);
51165 ;
51166 return 0;
51167 }
51168 _ACEOF
51169 if ac_fn_cxx_try_compile "$LINENO"; then :
51170 glibcxx_cv_func__sqrtf_use=yes
51171 else
51172 glibcxx_cv_func__sqrtf_use=no
51173 fi
51174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51175 ac_ext=c
51176 ac_cpp='$CPP $CPPFLAGS'
51177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51180
51181
51182 fi
51183
51184 fi
51185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51186 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51187
51188 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51189 for ac_func in _sqrtf
51190 do :
51191 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51192 if test "x$ac_cv_func__sqrtf" = xyes; then :
51193 cat >>confdefs.h <<_ACEOF
51194 #define HAVE__SQRTF 1
51195 _ACEOF
51196
51197 fi
51198 done
51199
51200 fi
51201 fi
51202
51203
51204
51205
51206
51207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51208 $as_echo_n "checking for sincosf declaration... " >&6; }
51209 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51210 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51211 $as_echo_n "(cached) " >&6
51212 else
51213
51214
51215 ac_ext=cpp
51216 ac_cpp='$CXXCPP $CPPFLAGS'
51217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51220
51221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51222 /* end confdefs.h. */
51223 #include <math.h>
51224 int
51225 main ()
51226 {
51227 sincosf(0, 0, 0);
51228 ;
51229 return 0;
51230 }
51231 _ACEOF
51232 if ac_fn_cxx_try_compile "$LINENO"; then :
51233 glibcxx_cv_func_sincosf_use=yes
51234 else
51235 glibcxx_cv_func_sincosf_use=no
51236 fi
51237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51238 ac_ext=c
51239 ac_cpp='$CPP $CPPFLAGS'
51240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51243
51244
51245 fi
51246
51247 fi
51248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51249 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51250
51251 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51252 for ac_func in sincosf
51253 do :
51254 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51255 if test "x$ac_cv_func_sincosf" = xyes; then :
51256 cat >>confdefs.h <<_ACEOF
51257 #define HAVE_SINCOSF 1
51258 _ACEOF
51259
51260 fi
51261 done
51262
51263 else
51264
51265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51266 $as_echo_n "checking for _sincosf declaration... " >&6; }
51267 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51268 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51269 $as_echo_n "(cached) " >&6
51270 else
51271
51272
51273 ac_ext=cpp
51274 ac_cpp='$CXXCPP $CPPFLAGS'
51275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51278
51279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51280 /* end confdefs.h. */
51281 #include <math.h>
51282 int
51283 main ()
51284 {
51285 _sincosf(0, 0, 0);
51286 ;
51287 return 0;
51288 }
51289 _ACEOF
51290 if ac_fn_cxx_try_compile "$LINENO"; then :
51291 glibcxx_cv_func__sincosf_use=yes
51292 else
51293 glibcxx_cv_func__sincosf_use=no
51294 fi
51295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51296 ac_ext=c
51297 ac_cpp='$CPP $CPPFLAGS'
51298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51301
51302
51303 fi
51304
51305 fi
51306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51307 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51308
51309 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51310 for ac_func in _sincosf
51311 do :
51312 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51313 if test "x$ac_cv_func__sincosf" = xyes; then :
51314 cat >>confdefs.h <<_ACEOF
51315 #define HAVE__SINCOSF 1
51316 _ACEOF
51317
51318 fi
51319 done
51320
51321 fi
51322 fi
51323
51324
51325
51326
51327
51328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51329 $as_echo_n "checking for finitef declaration... " >&6; }
51330 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51331 if ${glibcxx_cv_func_finitef_use+:} false; then :
51332 $as_echo_n "(cached) " >&6
51333 else
51334
51335
51336 ac_ext=cpp
51337 ac_cpp='$CXXCPP $CPPFLAGS'
51338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51341
51342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51343 /* end confdefs.h. */
51344 #include <math.h>
51345 #ifdef HAVE_IEEEFP_H
51346 #include <ieeefp.h>
51347 #endif
51348
51349 int
51350 main ()
51351 {
51352 finitef(0);
51353 ;
51354 return 0;
51355 }
51356 _ACEOF
51357 if ac_fn_cxx_try_compile "$LINENO"; then :
51358 glibcxx_cv_func_finitef_use=yes
51359 else
51360 glibcxx_cv_func_finitef_use=no
51361 fi
51362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51363 ac_ext=c
51364 ac_cpp='$CPP $CPPFLAGS'
51365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51368
51369
51370 fi
51371
51372 fi
51373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51374 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51375
51376 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51377 for ac_func in finitef
51378 do :
51379 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51380 if test "x$ac_cv_func_finitef" = xyes; then :
51381 cat >>confdefs.h <<_ACEOF
51382 #define HAVE_FINITEF 1
51383 _ACEOF
51384
51385 fi
51386 done
51387
51388 else
51389
51390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51391 $as_echo_n "checking for _finitef declaration... " >&6; }
51392 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51393 if ${glibcxx_cv_func__finitef_use+:} false; then :
51394 $as_echo_n "(cached) " >&6
51395 else
51396
51397
51398 ac_ext=cpp
51399 ac_cpp='$CXXCPP $CPPFLAGS'
51400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51403
51404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51405 /* end confdefs.h. */
51406 #include <math.h>
51407 #ifdef HAVE_IEEEFP_H
51408 #include <ieeefp.h>
51409 #endif
51410
51411 int
51412 main ()
51413 {
51414 _finitef(0);
51415 ;
51416 return 0;
51417 }
51418 _ACEOF
51419 if ac_fn_cxx_try_compile "$LINENO"; then :
51420 glibcxx_cv_func__finitef_use=yes
51421 else
51422 glibcxx_cv_func__finitef_use=no
51423 fi
51424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51425 ac_ext=c
51426 ac_cpp='$CPP $CPPFLAGS'
51427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51430
51431
51432 fi
51433
51434 fi
51435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51436 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51437
51438 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51439 for ac_func in _finitef
51440 do :
51441 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51442 if test "x$ac_cv_func__finitef" = xyes; then :
51443 cat >>confdefs.h <<_ACEOF
51444 #define HAVE__FINITEF 1
51445 _ACEOF
51446
51447 fi
51448 done
51449
51450 fi
51451 fi
51452
51453
51454
51455
51456
51457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51458 $as_echo_n "checking for long double trig functions... " >&6; }
51459 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51460 $as_echo_n "(cached) " >&6
51461 else
51462
51463
51464 ac_ext=cpp
51465 ac_cpp='$CXXCPP $CPPFLAGS'
51466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51469
51470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51471 /* end confdefs.h. */
51472 #include <math.h>
51473 int
51474 main ()
51475 {
51476 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51477 ;
51478 return 0;
51479 }
51480 _ACEOF
51481 if ac_fn_cxx_try_compile "$LINENO"; then :
51482 glibcxx_cv_func_long_double_trig_use=yes
51483 else
51484 glibcxx_cv_func_long_double_trig_use=no
51485 fi
51486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51487 ac_ext=c
51488 ac_cpp='$CPP $CPPFLAGS'
51489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51492
51493 fi
51494
51495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51496 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51497 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51498 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51499 do :
51500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51502 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51503 cat >>confdefs.h <<_ACEOF
51504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51505 _ACEOF
51506
51507 fi
51508 done
51509
51510 else
51511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51512 $as_echo_n "checking for _long double trig functions... " >&6; }
51513 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51514 $as_echo_n "(cached) " >&6
51515 else
51516
51517
51518 ac_ext=cpp
51519 ac_cpp='$CXXCPP $CPPFLAGS'
51520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51523
51524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h. */
51526 #include <math.h>
51527 int
51528 main ()
51529 {
51530 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51531 ;
51532 return 0;
51533 }
51534 _ACEOF
51535 if ac_fn_cxx_try_compile "$LINENO"; then :
51536 glibcxx_cv_func__long_double_trig_use=yes
51537 else
51538 glibcxx_cv_func__long_double_trig_use=no
51539 fi
51540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51541 ac_ext=c
51542 ac_cpp='$CPP $CPPFLAGS'
51543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51546
51547 fi
51548
51549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51550 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51551 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51552 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51553 do :
51554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51557 cat >>confdefs.h <<_ACEOF
51558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51559 _ACEOF
51560
51561 fi
51562 done
51563
51564 fi
51565 fi
51566
51567
51568
51569
51570
51571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51572 $as_echo_n "checking for long double round functions... " >&6; }
51573 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51574 $as_echo_n "(cached) " >&6
51575 else
51576
51577
51578 ac_ext=cpp
51579 ac_cpp='$CXXCPP $CPPFLAGS'
51580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51583
51584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51585 /* end confdefs.h. */
51586 #include <math.h>
51587 int
51588 main ()
51589 {
51590 ceill (0); floorl (0);
51591 ;
51592 return 0;
51593 }
51594 _ACEOF
51595 if ac_fn_cxx_try_compile "$LINENO"; then :
51596 glibcxx_cv_func_long_double_round_use=yes
51597 else
51598 glibcxx_cv_func_long_double_round_use=no
51599 fi
51600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51601 ac_ext=c
51602 ac_cpp='$CPP $CPPFLAGS'
51603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51606
51607 fi
51608
51609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51610 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51611 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51612 for ac_func in ceill floorl
51613 do :
51614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51616 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51617 cat >>confdefs.h <<_ACEOF
51618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51619 _ACEOF
51620
51621 fi
51622 done
51623
51624 else
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51626 $as_echo_n "checking for _long double round functions... " >&6; }
51627 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51628 $as_echo_n "(cached) " >&6
51629 else
51630
51631
51632 ac_ext=cpp
51633 ac_cpp='$CXXCPP $CPPFLAGS'
51634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51637
51638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51639 /* end confdefs.h. */
51640 #include <math.h>
51641 int
51642 main ()
51643 {
51644 _ceill (0); _floorl (0);
51645 ;
51646 return 0;
51647 }
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650 glibcxx_cv_func__long_double_round_use=yes
51651 else
51652 glibcxx_cv_func__long_double_round_use=no
51653 fi
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51660
51661 fi
51662
51663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51664 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51665 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51666 for ac_func in _ceill _floorl
51667 do :
51668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51671 cat >>confdefs.h <<_ACEOF
51672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51673 _ACEOF
51674
51675 fi
51676 done
51677
51678 fi
51679 fi
51680
51681
51682
51683
51684
51685
51686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51687 $as_echo_n "checking for isnanl declaration... " >&6; }
51688 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51689 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51690 $as_echo_n "(cached) " >&6
51691 else
51692
51693
51694 ac_ext=cpp
51695 ac_cpp='$CXXCPP $CPPFLAGS'
51696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51699
51700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51701 /* end confdefs.h. */
51702 #include <math.h>
51703 #ifdef HAVE_IEEEFP_H
51704 #include <ieeefp.h>
51705 #endif
51706
51707 int
51708 main ()
51709 {
51710 isnanl(0);
51711 ;
51712 return 0;
51713 }
51714 _ACEOF
51715 if ac_fn_cxx_try_compile "$LINENO"; then :
51716 glibcxx_cv_func_isnanl_use=yes
51717 else
51718 glibcxx_cv_func_isnanl_use=no
51719 fi
51720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51721 ac_ext=c
51722 ac_cpp='$CPP $CPPFLAGS'
51723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51726
51727
51728 fi
51729
51730 fi
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51732 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51733
51734 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51735 for ac_func in isnanl
51736 do :
51737 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51738 if test "x$ac_cv_func_isnanl" = xyes; then :
51739 cat >>confdefs.h <<_ACEOF
51740 #define HAVE_ISNANL 1
51741 _ACEOF
51742
51743 fi
51744 done
51745
51746 else
51747
51748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51749 $as_echo_n "checking for _isnanl declaration... " >&6; }
51750 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51751 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51752 $as_echo_n "(cached) " >&6
51753 else
51754
51755
51756 ac_ext=cpp
51757 ac_cpp='$CXXCPP $CPPFLAGS'
51758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51761
51762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51763 /* end confdefs.h. */
51764 #include <math.h>
51765 #ifdef HAVE_IEEEFP_H
51766 #include <ieeefp.h>
51767 #endif
51768
51769 int
51770 main ()
51771 {
51772 _isnanl(0);
51773 ;
51774 return 0;
51775 }
51776 _ACEOF
51777 if ac_fn_cxx_try_compile "$LINENO"; then :
51778 glibcxx_cv_func__isnanl_use=yes
51779 else
51780 glibcxx_cv_func__isnanl_use=no
51781 fi
51782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51783 ac_ext=c
51784 ac_cpp='$CPP $CPPFLAGS'
51785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51788
51789
51790 fi
51791
51792 fi
51793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51794 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51795
51796 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51797 for ac_func in _isnanl
51798 do :
51799 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51800 if test "x$ac_cv_func__isnanl" = xyes; then :
51801 cat >>confdefs.h <<_ACEOF
51802 #define HAVE__ISNANL 1
51803 _ACEOF
51804
51805 fi
51806 done
51807
51808 fi
51809 fi
51810
51811
51812
51813
51814
51815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51816 $as_echo_n "checking for isinfl declaration... " >&6; }
51817 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51818 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51819 $as_echo_n "(cached) " >&6
51820 else
51821
51822
51823 ac_ext=cpp
51824 ac_cpp='$CXXCPP $CPPFLAGS'
51825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51828
51829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51830 /* end confdefs.h. */
51831 #include <math.h>
51832 #ifdef HAVE_IEEEFP_H
51833 #include <ieeefp.h>
51834 #endif
51835
51836 int
51837 main ()
51838 {
51839 isinfl(0);
51840 ;
51841 return 0;
51842 }
51843 _ACEOF
51844 if ac_fn_cxx_try_compile "$LINENO"; then :
51845 glibcxx_cv_func_isinfl_use=yes
51846 else
51847 glibcxx_cv_func_isinfl_use=no
51848 fi
51849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51850 ac_ext=c
51851 ac_cpp='$CPP $CPPFLAGS'
51852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51855
51856
51857 fi
51858
51859 fi
51860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51861 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51862
51863 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51864 for ac_func in isinfl
51865 do :
51866 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51867 if test "x$ac_cv_func_isinfl" = xyes; then :
51868 cat >>confdefs.h <<_ACEOF
51869 #define HAVE_ISINFL 1
51870 _ACEOF
51871
51872 fi
51873 done
51874
51875 else
51876
51877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51878 $as_echo_n "checking for _isinfl declaration... " >&6; }
51879 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51880 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51881 $as_echo_n "(cached) " >&6
51882 else
51883
51884
51885 ac_ext=cpp
51886 ac_cpp='$CXXCPP $CPPFLAGS'
51887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51890
51891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51892 /* end confdefs.h. */
51893 #include <math.h>
51894 #ifdef HAVE_IEEEFP_H
51895 #include <ieeefp.h>
51896 #endif
51897
51898 int
51899 main ()
51900 {
51901 _isinfl(0);
51902 ;
51903 return 0;
51904 }
51905 _ACEOF
51906 if ac_fn_cxx_try_compile "$LINENO"; then :
51907 glibcxx_cv_func__isinfl_use=yes
51908 else
51909 glibcxx_cv_func__isinfl_use=no
51910 fi
51911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51912 ac_ext=c
51913 ac_cpp='$CPP $CPPFLAGS'
51914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51917
51918
51919 fi
51920
51921 fi
51922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51923 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51924
51925 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51926 for ac_func in _isinfl
51927 do :
51928 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51929 if test "x$ac_cv_func__isinfl" = xyes; then :
51930 cat >>confdefs.h <<_ACEOF
51931 #define HAVE__ISINFL 1
51932 _ACEOF
51933
51934 fi
51935 done
51936
51937 fi
51938 fi
51939
51940
51941
51942
51943
51944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51945 $as_echo_n "checking for atan2l declaration... " >&6; }
51946 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51947 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51948 $as_echo_n "(cached) " >&6
51949 else
51950
51951
51952 ac_ext=cpp
51953 ac_cpp='$CXXCPP $CPPFLAGS'
51954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51957
51958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51959 /* end confdefs.h. */
51960 #include <math.h>
51961 int
51962 main ()
51963 {
51964 atan2l(0, 0);
51965 ;
51966 return 0;
51967 }
51968 _ACEOF
51969 if ac_fn_cxx_try_compile "$LINENO"; then :
51970 glibcxx_cv_func_atan2l_use=yes
51971 else
51972 glibcxx_cv_func_atan2l_use=no
51973 fi
51974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51975 ac_ext=c
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51980
51981
51982 fi
51983
51984 fi
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51986 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51987
51988 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51989 for ac_func in atan2l
51990 do :
51991 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51992 if test "x$ac_cv_func_atan2l" = xyes; then :
51993 cat >>confdefs.h <<_ACEOF
51994 #define HAVE_ATAN2L 1
51995 _ACEOF
51996
51997 fi
51998 done
51999
52000 else
52001
52002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52003 $as_echo_n "checking for _atan2l declaration... " >&6; }
52004 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52005 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52006 $as_echo_n "(cached) " >&6
52007 else
52008
52009
52010 ac_ext=cpp
52011 ac_cpp='$CXXCPP $CPPFLAGS'
52012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52015
52016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52017 /* end confdefs.h. */
52018 #include <math.h>
52019 int
52020 main ()
52021 {
52022 _atan2l(0, 0);
52023 ;
52024 return 0;
52025 }
52026 _ACEOF
52027 if ac_fn_cxx_try_compile "$LINENO"; then :
52028 glibcxx_cv_func__atan2l_use=yes
52029 else
52030 glibcxx_cv_func__atan2l_use=no
52031 fi
52032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52033 ac_ext=c
52034 ac_cpp='$CPP $CPPFLAGS'
52035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52038
52039
52040 fi
52041
52042 fi
52043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52044 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52045
52046 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52047 for ac_func in _atan2l
52048 do :
52049 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52050 if test "x$ac_cv_func__atan2l" = xyes; then :
52051 cat >>confdefs.h <<_ACEOF
52052 #define HAVE__ATAN2L 1
52053 _ACEOF
52054
52055 fi
52056 done
52057
52058 fi
52059 fi
52060
52061
52062
52063
52064
52065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52066 $as_echo_n "checking for expl declaration... " >&6; }
52067 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52068 if ${glibcxx_cv_func_expl_use+:} false; then :
52069 $as_echo_n "(cached) " >&6
52070 else
52071
52072
52073 ac_ext=cpp
52074 ac_cpp='$CXXCPP $CPPFLAGS'
52075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52078
52079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52080 /* end confdefs.h. */
52081 #include <math.h>
52082 #ifdef HAVE_IEEEFP_H
52083 #include <ieeefp.h>
52084 #endif
52085
52086 int
52087 main ()
52088 {
52089 expl(0);
52090 ;
52091 return 0;
52092 }
52093 _ACEOF
52094 if ac_fn_cxx_try_compile "$LINENO"; then :
52095 glibcxx_cv_func_expl_use=yes
52096 else
52097 glibcxx_cv_func_expl_use=no
52098 fi
52099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52100 ac_ext=c
52101 ac_cpp='$CPP $CPPFLAGS'
52102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52105
52106
52107 fi
52108
52109 fi
52110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52111 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52112
52113 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52114 for ac_func in expl
52115 do :
52116 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52117 if test "x$ac_cv_func_expl" = xyes; then :
52118 cat >>confdefs.h <<_ACEOF
52119 #define HAVE_EXPL 1
52120 _ACEOF
52121
52122 fi
52123 done
52124
52125 else
52126
52127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52128 $as_echo_n "checking for _expl declaration... " >&6; }
52129 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52130 if ${glibcxx_cv_func__expl_use+:} false; then :
52131 $as_echo_n "(cached) " >&6
52132 else
52133
52134
52135 ac_ext=cpp
52136 ac_cpp='$CXXCPP $CPPFLAGS'
52137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52140
52141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52142 /* end confdefs.h. */
52143 #include <math.h>
52144 #ifdef HAVE_IEEEFP_H
52145 #include <ieeefp.h>
52146 #endif
52147
52148 int
52149 main ()
52150 {
52151 _expl(0);
52152 ;
52153 return 0;
52154 }
52155 _ACEOF
52156 if ac_fn_cxx_try_compile "$LINENO"; then :
52157 glibcxx_cv_func__expl_use=yes
52158 else
52159 glibcxx_cv_func__expl_use=no
52160 fi
52161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52162 ac_ext=c
52163 ac_cpp='$CPP $CPPFLAGS'
52164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52167
52168
52169 fi
52170
52171 fi
52172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52173 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52174
52175 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52176 for ac_func in _expl
52177 do :
52178 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52179 if test "x$ac_cv_func__expl" = xyes; then :
52180 cat >>confdefs.h <<_ACEOF
52181 #define HAVE__EXPL 1
52182 _ACEOF
52183
52184 fi
52185 done
52186
52187 fi
52188 fi
52189
52190
52191
52192
52193
52194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52195 $as_echo_n "checking for fabsl declaration... " >&6; }
52196 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52197 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52198 $as_echo_n "(cached) " >&6
52199 else
52200
52201
52202 ac_ext=cpp
52203 ac_cpp='$CXXCPP $CPPFLAGS'
52204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52207
52208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52209 /* end confdefs.h. */
52210 #include <math.h>
52211 #ifdef HAVE_IEEEFP_H
52212 #include <ieeefp.h>
52213 #endif
52214
52215 int
52216 main ()
52217 {
52218 fabsl(0);
52219 ;
52220 return 0;
52221 }
52222 _ACEOF
52223 if ac_fn_cxx_try_compile "$LINENO"; then :
52224 glibcxx_cv_func_fabsl_use=yes
52225 else
52226 glibcxx_cv_func_fabsl_use=no
52227 fi
52228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52229 ac_ext=c
52230 ac_cpp='$CPP $CPPFLAGS'
52231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52234
52235
52236 fi
52237
52238 fi
52239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52240 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52241
52242 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52243 for ac_func in fabsl
52244 do :
52245 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52246 if test "x$ac_cv_func_fabsl" = xyes; then :
52247 cat >>confdefs.h <<_ACEOF
52248 #define HAVE_FABSL 1
52249 _ACEOF
52250
52251 fi
52252 done
52253
52254 else
52255
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52257 $as_echo_n "checking for _fabsl declaration... " >&6; }
52258 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52259 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52260 $as_echo_n "(cached) " >&6
52261 else
52262
52263
52264 ac_ext=cpp
52265 ac_cpp='$CXXCPP $CPPFLAGS'
52266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52269
52270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52271 /* end confdefs.h. */
52272 #include <math.h>
52273 #ifdef HAVE_IEEEFP_H
52274 #include <ieeefp.h>
52275 #endif
52276
52277 int
52278 main ()
52279 {
52280 _fabsl(0);
52281 ;
52282 return 0;
52283 }
52284 _ACEOF
52285 if ac_fn_cxx_try_compile "$LINENO"; then :
52286 glibcxx_cv_func__fabsl_use=yes
52287 else
52288 glibcxx_cv_func__fabsl_use=no
52289 fi
52290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52291 ac_ext=c
52292 ac_cpp='$CPP $CPPFLAGS'
52293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52296
52297
52298 fi
52299
52300 fi
52301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52302 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52303
52304 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52305 for ac_func in _fabsl
52306 do :
52307 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52308 if test "x$ac_cv_func__fabsl" = xyes; then :
52309 cat >>confdefs.h <<_ACEOF
52310 #define HAVE__FABSL 1
52311 _ACEOF
52312
52313 fi
52314 done
52315
52316 fi
52317 fi
52318
52319
52320
52321
52322
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52324 $as_echo_n "checking for fmodl declaration... " >&6; }
52325 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52326 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52327 $as_echo_n "(cached) " >&6
52328 else
52329
52330
52331 ac_ext=cpp
52332 ac_cpp='$CXXCPP $CPPFLAGS'
52333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52336
52337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52338 /* end confdefs.h. */
52339 #include <math.h>
52340 int
52341 main ()
52342 {
52343 fmodl(0, 0);
52344 ;
52345 return 0;
52346 }
52347 _ACEOF
52348 if ac_fn_cxx_try_compile "$LINENO"; then :
52349 glibcxx_cv_func_fmodl_use=yes
52350 else
52351 glibcxx_cv_func_fmodl_use=no
52352 fi
52353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52354 ac_ext=c
52355 ac_cpp='$CPP $CPPFLAGS'
52356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52359
52360
52361 fi
52362
52363 fi
52364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52365 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52366
52367 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52368 for ac_func in fmodl
52369 do :
52370 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52371 if test "x$ac_cv_func_fmodl" = xyes; then :
52372 cat >>confdefs.h <<_ACEOF
52373 #define HAVE_FMODL 1
52374 _ACEOF
52375
52376 fi
52377 done
52378
52379 else
52380
52381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52382 $as_echo_n "checking for _fmodl declaration... " >&6; }
52383 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52384 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52385 $as_echo_n "(cached) " >&6
52386 else
52387
52388
52389 ac_ext=cpp
52390 ac_cpp='$CXXCPP $CPPFLAGS'
52391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52394
52395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52396 /* end confdefs.h. */
52397 #include <math.h>
52398 int
52399 main ()
52400 {
52401 _fmodl(0, 0);
52402 ;
52403 return 0;
52404 }
52405 _ACEOF
52406 if ac_fn_cxx_try_compile "$LINENO"; then :
52407 glibcxx_cv_func__fmodl_use=yes
52408 else
52409 glibcxx_cv_func__fmodl_use=no
52410 fi
52411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52412 ac_ext=c
52413 ac_cpp='$CPP $CPPFLAGS'
52414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52417
52418
52419 fi
52420
52421 fi
52422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52423 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52424
52425 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52426 for ac_func in _fmodl
52427 do :
52428 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52429 if test "x$ac_cv_func__fmodl" = xyes; then :
52430 cat >>confdefs.h <<_ACEOF
52431 #define HAVE__FMODL 1
52432 _ACEOF
52433
52434 fi
52435 done
52436
52437 fi
52438 fi
52439
52440
52441
52442
52443
52444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52445 $as_echo_n "checking for frexpl declaration... " >&6; }
52446 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52447 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52448 $as_echo_n "(cached) " >&6
52449 else
52450
52451
52452 ac_ext=cpp
52453 ac_cpp='$CXXCPP $CPPFLAGS'
52454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52457
52458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52459 /* end confdefs.h. */
52460 #include <math.h>
52461 int
52462 main ()
52463 {
52464 frexpl(0, 0);
52465 ;
52466 return 0;
52467 }
52468 _ACEOF
52469 if ac_fn_cxx_try_compile "$LINENO"; then :
52470 glibcxx_cv_func_frexpl_use=yes
52471 else
52472 glibcxx_cv_func_frexpl_use=no
52473 fi
52474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52475 ac_ext=c
52476 ac_cpp='$CPP $CPPFLAGS'
52477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52480
52481
52482 fi
52483
52484 fi
52485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52486 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52487
52488 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52489 for ac_func in frexpl
52490 do :
52491 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52492 if test "x$ac_cv_func_frexpl" = xyes; then :
52493 cat >>confdefs.h <<_ACEOF
52494 #define HAVE_FREXPL 1
52495 _ACEOF
52496
52497 fi
52498 done
52499
52500 else
52501
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52503 $as_echo_n "checking for _frexpl declaration... " >&6; }
52504 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52505 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52506 $as_echo_n "(cached) " >&6
52507 else
52508
52509
52510 ac_ext=cpp
52511 ac_cpp='$CXXCPP $CPPFLAGS'
52512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52515
52516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52517 /* end confdefs.h. */
52518 #include <math.h>
52519 int
52520 main ()
52521 {
52522 _frexpl(0, 0);
52523 ;
52524 return 0;
52525 }
52526 _ACEOF
52527 if ac_fn_cxx_try_compile "$LINENO"; then :
52528 glibcxx_cv_func__frexpl_use=yes
52529 else
52530 glibcxx_cv_func__frexpl_use=no
52531 fi
52532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52533 ac_ext=c
52534 ac_cpp='$CPP $CPPFLAGS'
52535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52538
52539
52540 fi
52541
52542 fi
52543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52544 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52545
52546 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52547 for ac_func in _frexpl
52548 do :
52549 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52550 if test "x$ac_cv_func__frexpl" = xyes; then :
52551 cat >>confdefs.h <<_ACEOF
52552 #define HAVE__FREXPL 1
52553 _ACEOF
52554
52555 fi
52556 done
52557
52558 fi
52559 fi
52560
52561
52562
52563
52564
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52566 $as_echo_n "checking for hypotl declaration... " >&6; }
52567 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52568 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52569 $as_echo_n "(cached) " >&6
52570 else
52571
52572
52573 ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578
52579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h. */
52581 #include <math.h>
52582 int
52583 main ()
52584 {
52585 hypotl(0, 0);
52586 ;
52587 return 0;
52588 }
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func_hypotl_use=yes
52592 else
52593 glibcxx_cv_func_hypotl_use=no
52594 fi
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52601
52602
52603 fi
52604
52605 fi
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52607 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52608
52609 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52610 for ac_func in hypotl
52611 do :
52612 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52613 if test "x$ac_cv_func_hypotl" = xyes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE_HYPOTL 1
52616 _ACEOF
52617
52618 fi
52619 done
52620
52621 else
52622
52623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52624 $as_echo_n "checking for _hypotl declaration... " >&6; }
52625 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52626 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52627 $as_echo_n "(cached) " >&6
52628 else
52629
52630
52631 ac_ext=cpp
52632 ac_cpp='$CXXCPP $CPPFLAGS'
52633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52636
52637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52638 /* end confdefs.h. */
52639 #include <math.h>
52640 int
52641 main ()
52642 {
52643 _hypotl(0, 0);
52644 ;
52645 return 0;
52646 }
52647 _ACEOF
52648 if ac_fn_cxx_try_compile "$LINENO"; then :
52649 glibcxx_cv_func__hypotl_use=yes
52650 else
52651 glibcxx_cv_func__hypotl_use=no
52652 fi
52653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52654 ac_ext=c
52655 ac_cpp='$CPP $CPPFLAGS'
52656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52659
52660
52661 fi
52662
52663 fi
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52665 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52666
52667 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52668 for ac_func in _hypotl
52669 do :
52670 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52671 if test "x$ac_cv_func__hypotl" = xyes; then :
52672 cat >>confdefs.h <<_ACEOF
52673 #define HAVE__HYPOTL 1
52674 _ACEOF
52675
52676 fi
52677 done
52678
52679 fi
52680 fi
52681
52682
52683
52684
52685
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52687 $as_echo_n "checking for ldexpl declaration... " >&6; }
52688 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52689 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52690 $as_echo_n "(cached) " >&6
52691 else
52692
52693
52694 ac_ext=cpp
52695 ac_cpp='$CXXCPP $CPPFLAGS'
52696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52699
52700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52701 /* end confdefs.h. */
52702 #include <math.h>
52703 int
52704 main ()
52705 {
52706 ldexpl(0, 0);
52707 ;
52708 return 0;
52709 }
52710 _ACEOF
52711 if ac_fn_cxx_try_compile "$LINENO"; then :
52712 glibcxx_cv_func_ldexpl_use=yes
52713 else
52714 glibcxx_cv_func_ldexpl_use=no
52715 fi
52716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52717 ac_ext=c
52718 ac_cpp='$CPP $CPPFLAGS'
52719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52722
52723
52724 fi
52725
52726 fi
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52728 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52729
52730 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52731 for ac_func in ldexpl
52732 do :
52733 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52734 if test "x$ac_cv_func_ldexpl" = xyes; then :
52735 cat >>confdefs.h <<_ACEOF
52736 #define HAVE_LDEXPL 1
52737 _ACEOF
52738
52739 fi
52740 done
52741
52742 else
52743
52744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52745 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52746 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52747 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52748 $as_echo_n "(cached) " >&6
52749 else
52750
52751
52752 ac_ext=cpp
52753 ac_cpp='$CXXCPP $CPPFLAGS'
52754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52757
52758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52759 /* end confdefs.h. */
52760 #include <math.h>
52761 int
52762 main ()
52763 {
52764 _ldexpl(0, 0);
52765 ;
52766 return 0;
52767 }
52768 _ACEOF
52769 if ac_fn_cxx_try_compile "$LINENO"; then :
52770 glibcxx_cv_func__ldexpl_use=yes
52771 else
52772 glibcxx_cv_func__ldexpl_use=no
52773 fi
52774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52775 ac_ext=c
52776 ac_cpp='$CPP $CPPFLAGS'
52777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52780
52781
52782 fi
52783
52784 fi
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52786 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52787
52788 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52789 for ac_func in _ldexpl
52790 do :
52791 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52792 if test "x$ac_cv_func__ldexpl" = xyes; then :
52793 cat >>confdefs.h <<_ACEOF
52794 #define HAVE__LDEXPL 1
52795 _ACEOF
52796
52797 fi
52798 done
52799
52800 fi
52801 fi
52802
52803
52804
52805
52806
52807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52808 $as_echo_n "checking for logl declaration... " >&6; }
52809 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52810 if ${glibcxx_cv_func_logl_use+:} false; then :
52811 $as_echo_n "(cached) " >&6
52812 else
52813
52814
52815 ac_ext=cpp
52816 ac_cpp='$CXXCPP $CPPFLAGS'
52817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52820
52821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52822 /* end confdefs.h. */
52823 #include <math.h>
52824 #ifdef HAVE_IEEEFP_H
52825 #include <ieeefp.h>
52826 #endif
52827
52828 int
52829 main ()
52830 {
52831 logl(0);
52832 ;
52833 return 0;
52834 }
52835 _ACEOF
52836 if ac_fn_cxx_try_compile "$LINENO"; then :
52837 glibcxx_cv_func_logl_use=yes
52838 else
52839 glibcxx_cv_func_logl_use=no
52840 fi
52841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52842 ac_ext=c
52843 ac_cpp='$CPP $CPPFLAGS'
52844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52847
52848
52849 fi
52850
52851 fi
52852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52853 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52854
52855 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52856 for ac_func in logl
52857 do :
52858 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52859 if test "x$ac_cv_func_logl" = xyes; then :
52860 cat >>confdefs.h <<_ACEOF
52861 #define HAVE_LOGL 1
52862 _ACEOF
52863
52864 fi
52865 done
52866
52867 else
52868
52869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52870 $as_echo_n "checking for _logl declaration... " >&6; }
52871 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52872 if ${glibcxx_cv_func__logl_use+:} false; then :
52873 $as_echo_n "(cached) " >&6
52874 else
52875
52876
52877 ac_ext=cpp
52878 ac_cpp='$CXXCPP $CPPFLAGS'
52879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52882
52883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52884 /* end confdefs.h. */
52885 #include <math.h>
52886 #ifdef HAVE_IEEEFP_H
52887 #include <ieeefp.h>
52888 #endif
52889
52890 int
52891 main ()
52892 {
52893 _logl(0);
52894 ;
52895 return 0;
52896 }
52897 _ACEOF
52898 if ac_fn_cxx_try_compile "$LINENO"; then :
52899 glibcxx_cv_func__logl_use=yes
52900 else
52901 glibcxx_cv_func__logl_use=no
52902 fi
52903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52904 ac_ext=c
52905 ac_cpp='$CPP $CPPFLAGS'
52906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52909
52910
52911 fi
52912
52913 fi
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52915 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52916
52917 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52918 for ac_func in _logl
52919 do :
52920 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52921 if test "x$ac_cv_func__logl" = xyes; then :
52922 cat >>confdefs.h <<_ACEOF
52923 #define HAVE__LOGL 1
52924 _ACEOF
52925
52926 fi
52927 done
52928
52929 fi
52930 fi
52931
52932
52933
52934
52935
52936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52937 $as_echo_n "checking for log10l declaration... " >&6; }
52938 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52939 if ${glibcxx_cv_func_log10l_use+:} false; then :
52940 $as_echo_n "(cached) " >&6
52941 else
52942
52943
52944 ac_ext=cpp
52945 ac_cpp='$CXXCPP $CPPFLAGS'
52946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52949
52950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52951 /* end confdefs.h. */
52952 #include <math.h>
52953 #ifdef HAVE_IEEEFP_H
52954 #include <ieeefp.h>
52955 #endif
52956
52957 int
52958 main ()
52959 {
52960 log10l(0);
52961 ;
52962 return 0;
52963 }
52964 _ACEOF
52965 if ac_fn_cxx_try_compile "$LINENO"; then :
52966 glibcxx_cv_func_log10l_use=yes
52967 else
52968 glibcxx_cv_func_log10l_use=no
52969 fi
52970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52971 ac_ext=c
52972 ac_cpp='$CPP $CPPFLAGS'
52973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52976
52977
52978 fi
52979
52980 fi
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52982 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52983
52984 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52985 for ac_func in log10l
52986 do :
52987 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52988 if test "x$ac_cv_func_log10l" = xyes; then :
52989 cat >>confdefs.h <<_ACEOF
52990 #define HAVE_LOG10L 1
52991 _ACEOF
52992
52993 fi
52994 done
52995
52996 else
52997
52998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52999 $as_echo_n "checking for _log10l declaration... " >&6; }
53000 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53001 if ${glibcxx_cv_func__log10l_use+:} false; then :
53002 $as_echo_n "(cached) " >&6
53003 else
53004
53005
53006 ac_ext=cpp
53007 ac_cpp='$CXXCPP $CPPFLAGS'
53008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53011
53012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53013 /* end confdefs.h. */
53014 #include <math.h>
53015 #ifdef HAVE_IEEEFP_H
53016 #include <ieeefp.h>
53017 #endif
53018
53019 int
53020 main ()
53021 {
53022 _log10l(0);
53023 ;
53024 return 0;
53025 }
53026 _ACEOF
53027 if ac_fn_cxx_try_compile "$LINENO"; then :
53028 glibcxx_cv_func__log10l_use=yes
53029 else
53030 glibcxx_cv_func__log10l_use=no
53031 fi
53032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53033 ac_ext=c
53034 ac_cpp='$CPP $CPPFLAGS'
53035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53038
53039
53040 fi
53041
53042 fi
53043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53044 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53045
53046 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53047 for ac_func in _log10l
53048 do :
53049 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53050 if test "x$ac_cv_func__log10l" = xyes; then :
53051 cat >>confdefs.h <<_ACEOF
53052 #define HAVE__LOG10L 1
53053 _ACEOF
53054
53055 fi
53056 done
53057
53058 fi
53059 fi
53060
53061
53062
53063
53064
53065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53066 $as_echo_n "checking for modfl declaration... " >&6; }
53067 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53068 if ${glibcxx_cv_func_modfl_use+:} false; then :
53069 $as_echo_n "(cached) " >&6
53070 else
53071
53072
53073 ac_ext=cpp
53074 ac_cpp='$CXXCPP $CPPFLAGS'
53075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53078
53079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53080 /* end confdefs.h. */
53081 #include <math.h>
53082 int
53083 main ()
53084 {
53085 modfl(0, 0);
53086 ;
53087 return 0;
53088 }
53089 _ACEOF
53090 if ac_fn_cxx_try_compile "$LINENO"; then :
53091 glibcxx_cv_func_modfl_use=yes
53092 else
53093 glibcxx_cv_func_modfl_use=no
53094 fi
53095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53096 ac_ext=c
53097 ac_cpp='$CPP $CPPFLAGS'
53098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53101
53102
53103 fi
53104
53105 fi
53106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53107 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53108
53109 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53110 for ac_func in modfl
53111 do :
53112 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53113 if test "x$ac_cv_func_modfl" = xyes; then :
53114 cat >>confdefs.h <<_ACEOF
53115 #define HAVE_MODFL 1
53116 _ACEOF
53117
53118 fi
53119 done
53120
53121 else
53122
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53124 $as_echo_n "checking for _modfl declaration... " >&6; }
53125 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53126 if ${glibcxx_cv_func__modfl_use+:} false; then :
53127 $as_echo_n "(cached) " >&6
53128 else
53129
53130
53131 ac_ext=cpp
53132 ac_cpp='$CXXCPP $CPPFLAGS'
53133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53136
53137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53138 /* end confdefs.h. */
53139 #include <math.h>
53140 int
53141 main ()
53142 {
53143 _modfl(0, 0);
53144 ;
53145 return 0;
53146 }
53147 _ACEOF
53148 if ac_fn_cxx_try_compile "$LINENO"; then :
53149 glibcxx_cv_func__modfl_use=yes
53150 else
53151 glibcxx_cv_func__modfl_use=no
53152 fi
53153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53154 ac_ext=c
53155 ac_cpp='$CPP $CPPFLAGS'
53156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53159
53160
53161 fi
53162
53163 fi
53164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53165 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53166
53167 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53168 for ac_func in _modfl
53169 do :
53170 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53171 if test "x$ac_cv_func__modfl" = xyes; then :
53172 cat >>confdefs.h <<_ACEOF
53173 #define HAVE__MODFL 1
53174 _ACEOF
53175
53176 fi
53177 done
53178
53179 fi
53180 fi
53181
53182
53183
53184
53185
53186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53187 $as_echo_n "checking for powl declaration... " >&6; }
53188 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53189 if ${glibcxx_cv_func_powl_use+:} false; then :
53190 $as_echo_n "(cached) " >&6
53191 else
53192
53193
53194 ac_ext=cpp
53195 ac_cpp='$CXXCPP $CPPFLAGS'
53196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53199
53200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53201 /* end confdefs.h. */
53202 #include <math.h>
53203 int
53204 main ()
53205 {
53206 powl(0, 0);
53207 ;
53208 return 0;
53209 }
53210 _ACEOF
53211 if ac_fn_cxx_try_compile "$LINENO"; then :
53212 glibcxx_cv_func_powl_use=yes
53213 else
53214 glibcxx_cv_func_powl_use=no
53215 fi
53216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53217 ac_ext=c
53218 ac_cpp='$CPP $CPPFLAGS'
53219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53222
53223
53224 fi
53225
53226 fi
53227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53228 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53229
53230 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53231 for ac_func in powl
53232 do :
53233 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53234 if test "x$ac_cv_func_powl" = xyes; then :
53235 cat >>confdefs.h <<_ACEOF
53236 #define HAVE_POWL 1
53237 _ACEOF
53238
53239 fi
53240 done
53241
53242 else
53243
53244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53245 $as_echo_n "checking for _powl declaration... " >&6; }
53246 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53247 if ${glibcxx_cv_func__powl_use+:} false; then :
53248 $as_echo_n "(cached) " >&6
53249 else
53250
53251
53252 ac_ext=cpp
53253 ac_cpp='$CXXCPP $CPPFLAGS'
53254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53257
53258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53259 /* end confdefs.h. */
53260 #include <math.h>
53261 int
53262 main ()
53263 {
53264 _powl(0, 0);
53265 ;
53266 return 0;
53267 }
53268 _ACEOF
53269 if ac_fn_cxx_try_compile "$LINENO"; then :
53270 glibcxx_cv_func__powl_use=yes
53271 else
53272 glibcxx_cv_func__powl_use=no
53273 fi
53274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53275 ac_ext=c
53276 ac_cpp='$CPP $CPPFLAGS'
53277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53280
53281
53282 fi
53283
53284 fi
53285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53286 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53287
53288 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53289 for ac_func in _powl
53290 do :
53291 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53292 if test "x$ac_cv_func__powl" = xyes; then :
53293 cat >>confdefs.h <<_ACEOF
53294 #define HAVE__POWL 1
53295 _ACEOF
53296
53297 fi
53298 done
53299
53300 fi
53301 fi
53302
53303
53304
53305
53306
53307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53308 $as_echo_n "checking for sqrtl declaration... " >&6; }
53309 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53310 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53311 $as_echo_n "(cached) " >&6
53312 else
53313
53314
53315 ac_ext=cpp
53316 ac_cpp='$CXXCPP $CPPFLAGS'
53317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53320
53321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53322 /* end confdefs.h. */
53323 #include <math.h>
53324 #ifdef HAVE_IEEEFP_H
53325 #include <ieeefp.h>
53326 #endif
53327
53328 int
53329 main ()
53330 {
53331 sqrtl(0);
53332 ;
53333 return 0;
53334 }
53335 _ACEOF
53336 if ac_fn_cxx_try_compile "$LINENO"; then :
53337 glibcxx_cv_func_sqrtl_use=yes
53338 else
53339 glibcxx_cv_func_sqrtl_use=no
53340 fi
53341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53342 ac_ext=c
53343 ac_cpp='$CPP $CPPFLAGS'
53344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53347
53348
53349 fi
53350
53351 fi
53352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53353 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53354
53355 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53356 for ac_func in sqrtl
53357 do :
53358 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53359 if test "x$ac_cv_func_sqrtl" = xyes; then :
53360 cat >>confdefs.h <<_ACEOF
53361 #define HAVE_SQRTL 1
53362 _ACEOF
53363
53364 fi
53365 done
53366
53367 else
53368
53369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53370 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53371 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53372 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53373 $as_echo_n "(cached) " >&6
53374 else
53375
53376
53377 ac_ext=cpp
53378 ac_cpp='$CXXCPP $CPPFLAGS'
53379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53382
53383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53384 /* end confdefs.h. */
53385 #include <math.h>
53386 #ifdef HAVE_IEEEFP_H
53387 #include <ieeefp.h>
53388 #endif
53389
53390 int
53391 main ()
53392 {
53393 _sqrtl(0);
53394 ;
53395 return 0;
53396 }
53397 _ACEOF
53398 if ac_fn_cxx_try_compile "$LINENO"; then :
53399 glibcxx_cv_func__sqrtl_use=yes
53400 else
53401 glibcxx_cv_func__sqrtl_use=no
53402 fi
53403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53404 ac_ext=c
53405 ac_cpp='$CPP $CPPFLAGS'
53406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53409
53410
53411 fi
53412
53413 fi
53414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53415 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53416
53417 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53418 for ac_func in _sqrtl
53419 do :
53420 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53421 if test "x$ac_cv_func__sqrtl" = xyes; then :
53422 cat >>confdefs.h <<_ACEOF
53423 #define HAVE__SQRTL 1
53424 _ACEOF
53425
53426 fi
53427 done
53428
53429 fi
53430 fi
53431
53432
53433
53434
53435
53436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53437 $as_echo_n "checking for sincosl declaration... " >&6; }
53438 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53439 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53440 $as_echo_n "(cached) " >&6
53441 else
53442
53443
53444 ac_ext=cpp
53445 ac_cpp='$CXXCPP $CPPFLAGS'
53446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53449
53450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53451 /* end confdefs.h. */
53452 #include <math.h>
53453 int
53454 main ()
53455 {
53456 sincosl(0, 0, 0);
53457 ;
53458 return 0;
53459 }
53460 _ACEOF
53461 if ac_fn_cxx_try_compile "$LINENO"; then :
53462 glibcxx_cv_func_sincosl_use=yes
53463 else
53464 glibcxx_cv_func_sincosl_use=no
53465 fi
53466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53467 ac_ext=c
53468 ac_cpp='$CPP $CPPFLAGS'
53469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53472
53473
53474 fi
53475
53476 fi
53477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53478 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53479
53480 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53481 for ac_func in sincosl
53482 do :
53483 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53484 if test "x$ac_cv_func_sincosl" = xyes; then :
53485 cat >>confdefs.h <<_ACEOF
53486 #define HAVE_SINCOSL 1
53487 _ACEOF
53488
53489 fi
53490 done
53491
53492 else
53493
53494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53495 $as_echo_n "checking for _sincosl declaration... " >&6; }
53496 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53497 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53498 $as_echo_n "(cached) " >&6
53499 else
53500
53501
53502 ac_ext=cpp
53503 ac_cpp='$CXXCPP $CPPFLAGS'
53504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53507
53508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53509 /* end confdefs.h. */
53510 #include <math.h>
53511 int
53512 main ()
53513 {
53514 _sincosl(0, 0, 0);
53515 ;
53516 return 0;
53517 }
53518 _ACEOF
53519 if ac_fn_cxx_try_compile "$LINENO"; then :
53520 glibcxx_cv_func__sincosl_use=yes
53521 else
53522 glibcxx_cv_func__sincosl_use=no
53523 fi
53524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53525 ac_ext=c
53526 ac_cpp='$CPP $CPPFLAGS'
53527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53530
53531
53532 fi
53533
53534 fi
53535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53536 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53537
53538 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53539 for ac_func in _sincosl
53540 do :
53541 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53542 if test "x$ac_cv_func__sincosl" = xyes; then :
53543 cat >>confdefs.h <<_ACEOF
53544 #define HAVE__SINCOSL 1
53545 _ACEOF
53546
53547 fi
53548 done
53549
53550 fi
53551 fi
53552
53553
53554
53555
53556
53557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53558 $as_echo_n "checking for finitel declaration... " >&6; }
53559 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53560 if ${glibcxx_cv_func_finitel_use+:} false; then :
53561 $as_echo_n "(cached) " >&6
53562 else
53563
53564
53565 ac_ext=cpp
53566 ac_cpp='$CXXCPP $CPPFLAGS'
53567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53570
53571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53572 /* end confdefs.h. */
53573 #include <math.h>
53574 #ifdef HAVE_IEEEFP_H
53575 #include <ieeefp.h>
53576 #endif
53577
53578 int
53579 main ()
53580 {
53581 finitel(0);
53582 ;
53583 return 0;
53584 }
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587 glibcxx_cv_func_finitel_use=yes
53588 else
53589 glibcxx_cv_func_finitel_use=no
53590 fi
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592 ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53597
53598
53599 fi
53600
53601 fi
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53603 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53604
53605 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53606 for ac_func in finitel
53607 do :
53608 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53609 if test "x$ac_cv_func_finitel" = xyes; then :
53610 cat >>confdefs.h <<_ACEOF
53611 #define HAVE_FINITEL 1
53612 _ACEOF
53613
53614 fi
53615 done
53616
53617 else
53618
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53620 $as_echo_n "checking for _finitel declaration... " >&6; }
53621 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53622 if ${glibcxx_cv_func__finitel_use+:} false; then :
53623 $as_echo_n "(cached) " >&6
53624 else
53625
53626
53627 ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53632
53633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h. */
53635 #include <math.h>
53636 #ifdef HAVE_IEEEFP_H
53637 #include <ieeefp.h>
53638 #endif
53639
53640 int
53641 main ()
53642 {
53643 _finitel(0);
53644 ;
53645 return 0;
53646 }
53647 _ACEOF
53648 if ac_fn_cxx_try_compile "$LINENO"; then :
53649 glibcxx_cv_func__finitel_use=yes
53650 else
53651 glibcxx_cv_func__finitel_use=no
53652 fi
53653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53654 ac_ext=c
53655 ac_cpp='$CPP $CPPFLAGS'
53656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53659
53660
53661 fi
53662
53663 fi
53664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53665 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53666
53667 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53668 for ac_func in _finitel
53669 do :
53670 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53671 if test "x$ac_cv_func__finitel" = xyes; then :
53672 cat >>confdefs.h <<_ACEOF
53673 #define HAVE__FINITEL 1
53674 _ACEOF
53675
53676 fi
53677 done
53678
53679 fi
53680 fi
53681
53682
53683
53684
53685 LIBS="$ac_save_LIBS"
53686 CXXFLAGS="$ac_save_CXXFLAGS"
53687
53688
53689 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53690 ac_save_CXXFLAGS="$CXXFLAGS"
53691 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53692
53693
53694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53695 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53696 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53697 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53698 $as_echo_n "(cached) " >&6
53699 else
53700
53701
53702 ac_ext=cpp
53703 ac_cpp='$CXXCPP $CPPFLAGS'
53704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53707
53708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53709 /* end confdefs.h. */
53710 #include <stdlib.h>
53711 int
53712 main ()
53713 {
53714 at_quick_exit(0);
53715 ;
53716 return 0;
53717 }
53718 _ACEOF
53719 if ac_fn_cxx_try_compile "$LINENO"; then :
53720 glibcxx_cv_func_at_quick_exit_use=yes
53721 else
53722 glibcxx_cv_func_at_quick_exit_use=no
53723 fi
53724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53725 ac_ext=c
53726 ac_cpp='$CPP $CPPFLAGS'
53727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53730
53731
53732 fi
53733
53734 fi
53735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53736 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53737 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53738 for ac_func in at_quick_exit
53739 do :
53740 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53741 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53742 cat >>confdefs.h <<_ACEOF
53743 #define HAVE_AT_QUICK_EXIT 1
53744 _ACEOF
53745
53746 fi
53747 done
53748
53749 fi
53750
53751
53752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53753 $as_echo_n "checking for quick_exit declaration... " >&6; }
53754 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53755 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53756 $as_echo_n "(cached) " >&6
53757 else
53758
53759
53760 ac_ext=cpp
53761 ac_cpp='$CXXCPP $CPPFLAGS'
53762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53765
53766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53767 /* end confdefs.h. */
53768 #include <stdlib.h>
53769 int
53770 main ()
53771 {
53772 quick_exit(0);
53773 ;
53774 return 0;
53775 }
53776 _ACEOF
53777 if ac_fn_cxx_try_compile "$LINENO"; then :
53778 glibcxx_cv_func_quick_exit_use=yes
53779 else
53780 glibcxx_cv_func_quick_exit_use=no
53781 fi
53782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53783 ac_ext=c
53784 ac_cpp='$CPP $CPPFLAGS'
53785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53788
53789
53790 fi
53791
53792 fi
53793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53794 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53795 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53796 for ac_func in quick_exit
53797 do :
53798 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53799 if test "x$ac_cv_func_quick_exit" = xyes; then :
53800 cat >>confdefs.h <<_ACEOF
53801 #define HAVE_QUICK_EXIT 1
53802 _ACEOF
53803
53804 fi
53805 done
53806
53807 fi
53808
53809
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53811 $as_echo_n "checking for strtold declaration... " >&6; }
53812 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53813 if ${glibcxx_cv_func_strtold_use+:} false; then :
53814 $as_echo_n "(cached) " >&6
53815 else
53816
53817
53818 ac_ext=cpp
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53823
53824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53825 /* end confdefs.h. */
53826 #include <stdlib.h>
53827 int
53828 main ()
53829 {
53830 strtold(0, 0);
53831 ;
53832 return 0;
53833 }
53834 _ACEOF
53835 if ac_fn_cxx_try_compile "$LINENO"; then :
53836 glibcxx_cv_func_strtold_use=yes
53837 else
53838 glibcxx_cv_func_strtold_use=no
53839 fi
53840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53841 ac_ext=c
53842 ac_cpp='$CPP $CPPFLAGS'
53843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53846
53847
53848 fi
53849
53850 fi
53851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53852 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53853 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53854 for ac_func in strtold
53855 do :
53856 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53857 if test "x$ac_cv_func_strtold" = xyes; then :
53858 cat >>confdefs.h <<_ACEOF
53859 #define HAVE_STRTOLD 1
53860 _ACEOF
53861
53862 fi
53863 done
53864
53865 fi
53866
53867
53868
53869
53870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53871 $as_echo_n "checking for strtof declaration... " >&6; }
53872 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53873 if ${glibcxx_cv_func_strtof_use+:} false; then :
53874 $as_echo_n "(cached) " >&6
53875 else
53876
53877
53878 ac_ext=cpp
53879 ac_cpp='$CXXCPP $CPPFLAGS'
53880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53883
53884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53885 /* end confdefs.h. */
53886 #include <stdlib.h>
53887 int
53888 main ()
53889 {
53890 strtof(0, 0);
53891 ;
53892 return 0;
53893 }
53894 _ACEOF
53895 if ac_fn_cxx_try_compile "$LINENO"; then :
53896 glibcxx_cv_func_strtof_use=yes
53897 else
53898 glibcxx_cv_func_strtof_use=no
53899 fi
53900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53901 ac_ext=c
53902 ac_cpp='$CPP $CPPFLAGS'
53903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53906
53907
53908 fi
53909
53910 fi
53911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53912 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53913 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53914 for ac_func in strtof
53915 do :
53916 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53917 if test "x$ac_cv_func_strtof" = xyes; then :
53918 cat >>confdefs.h <<_ACEOF
53919 #define HAVE_STRTOF 1
53920 _ACEOF
53921
53922 fi
53923 done
53924
53925 fi
53926
53927
53928
53929
53930 CXXFLAGS="$ac_save_CXXFLAGS"
53931
53932 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53933
53934 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53935
53936
53937
53938 # Check whether --enable-tls was given.
53939 if test "${enable_tls+set}" = set; then :
53940 enableval=$enable_tls;
53941 case "$enableval" in
53942 yes|no) ;;
53943 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53944 esac
53945
53946 else
53947 enable_tls=yes
53948 fi
53949
53950
53951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53952 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53953 if ${gcc_cv_have_tls+:} false; then :
53954 $as_echo_n "(cached) " >&6
53955 else
53956
53957 if test "$cross_compiling" = yes; then :
53958 if test x$gcc_no_link = xyes; then
53959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53960 fi
53961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53962 /* end confdefs.h. */
53963 __thread int a; int b; int main() { return a = b; }
53964 _ACEOF
53965 if ac_fn_c_try_link "$LINENO"; then :
53966 chktls_save_LDFLAGS="$LDFLAGS"
53967 case $host in
53968 *-*-linux* | -*-uclinuxfdpic*)
53969 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53970 ;;
53971 esac
53972 chktls_save_CFLAGS="$CFLAGS"
53973 CFLAGS="-fPIC $CFLAGS"
53974 if test x$gcc_no_link = xyes; then
53975 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53976 fi
53977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53978 /* end confdefs.h. */
53979 int f() { return 0; }
53980 _ACEOF
53981 if ac_fn_c_try_link "$LINENO"; then :
53982 if test x$gcc_no_link = xyes; then
53983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53984 fi
53985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h. */
53987 __thread int a; int b; int f() { return a = b; }
53988 _ACEOF
53989 if ac_fn_c_try_link "$LINENO"; then :
53990 gcc_cv_have_tls=yes
53991 else
53992 gcc_cv_have_tls=no
53993 fi
53994 rm -f core conftest.err conftest.$ac_objext \
53995 conftest$ac_exeext conftest.$ac_ext
53996 else
53997 gcc_cv_have_tls=yes
53998 fi
53999 rm -f core conftest.err conftest.$ac_objext \
54000 conftest$ac_exeext conftest.$ac_ext
54001 CFLAGS="$chktls_save_CFLAGS"
54002 LDFLAGS="$chktls_save_LDFLAGS"
54003 else
54004 gcc_cv_have_tls=no
54005 fi
54006 rm -f core conftest.err conftest.$ac_objext \
54007 conftest$ac_exeext conftest.$ac_ext
54008
54009
54010 else
54011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54012 /* end confdefs.h. */
54013 __thread int a; int b; int main() { return a = b; }
54014 _ACEOF
54015 if ac_fn_c_try_run "$LINENO"; then :
54016 chktls_save_LDFLAGS="$LDFLAGS"
54017 LDFLAGS="-static $LDFLAGS"
54018 if test x$gcc_no_link = xyes; then
54019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54020 fi
54021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54022 /* end confdefs.h. */
54023 int main() { return 0; }
54024 _ACEOF
54025 if ac_fn_c_try_link "$LINENO"; then :
54026 if test "$cross_compiling" = yes; then :
54027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54029 as_fn_error $? "cannot run test program while cross compiling
54030 See \`config.log' for more details" "$LINENO" 5; }
54031 else
54032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54033 /* end confdefs.h. */
54034 __thread int a; int b; int main() { return a = b; }
54035 _ACEOF
54036 if ac_fn_c_try_run "$LINENO"; then :
54037 gcc_cv_have_tls=yes
54038 else
54039 gcc_cv_have_tls=no
54040 fi
54041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54042 conftest.$ac_objext conftest.beam conftest.$ac_ext
54043 fi
54044
54045 else
54046 gcc_cv_have_tls=yes
54047 fi
54048 rm -f core conftest.err conftest.$ac_objext \
54049 conftest$ac_exeext conftest.$ac_ext
54050 LDFLAGS="$chktls_save_LDFLAGS"
54051 if test $gcc_cv_have_tls = yes; then
54052 chktls_save_CFLAGS="$CFLAGS"
54053 thread_CFLAGS=failed
54054 for flag in '' '-pthread' '-lpthread'; do
54055 CFLAGS="$flag $chktls_save_CFLAGS"
54056 if test x$gcc_no_link = xyes; then
54057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54058 fi
54059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54060 /* end confdefs.h. */
54061 #include <pthread.h>
54062 void *g(void *d) { return NULL; }
54063 int
54064 main ()
54065 {
54066 pthread_t t; pthread_create(&t,NULL,g,NULL);
54067 ;
54068 return 0;
54069 }
54070 _ACEOF
54071 if ac_fn_c_try_link "$LINENO"; then :
54072 thread_CFLAGS="$flag"
54073 fi
54074 rm -f core conftest.err conftest.$ac_objext \
54075 conftest$ac_exeext conftest.$ac_ext
54076 if test "X$thread_CFLAGS" != Xfailed; then
54077 break
54078 fi
54079 done
54080 CFLAGS="$chktls_save_CFLAGS"
54081 if test "X$thread_CFLAGS" != Xfailed; then
54082 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54083 if test "$cross_compiling" = yes; then :
54084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54086 as_fn_error $? "cannot run test program while cross compiling
54087 See \`config.log' for more details" "$LINENO" 5; }
54088 else
54089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54090 /* end confdefs.h. */
54091 #include <pthread.h>
54092 __thread int a;
54093 static int *volatile a_in_other_thread;
54094 static void *
54095 thread_func (void *arg)
54096 {
54097 a_in_other_thread = &a;
54098 return (void *)0;
54099 }
54100 int
54101 main ()
54102 {
54103 pthread_t thread;
54104 void *thread_retval;
54105 int *volatile a_in_main_thread;
54106 a_in_main_thread = &a;
54107 if (pthread_create (&thread, (pthread_attr_t *)0,
54108 thread_func, (void *)0))
54109 return 0;
54110 if (pthread_join (thread, &thread_retval))
54111 return 0;
54112 return (a_in_other_thread == a_in_main_thread);
54113 ;
54114 return 0;
54115 }
54116 _ACEOF
54117 if ac_fn_c_try_run "$LINENO"; then :
54118 gcc_cv_have_tls=yes
54119 else
54120 gcc_cv_have_tls=no
54121 fi
54122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54123 conftest.$ac_objext conftest.beam conftest.$ac_ext
54124 fi
54125
54126 CFLAGS="$chktls_save_CFLAGS"
54127 fi
54128 fi
54129 else
54130 gcc_cv_have_tls=no
54131 fi
54132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54133 conftest.$ac_objext conftest.beam conftest.$ac_ext
54134 fi
54135
54136 fi
54137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54138 $as_echo "$gcc_cv_have_tls" >&6; }
54139 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54140
54141 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54142
54143 fi
54144 for ac_func in __cxa_thread_atexit_impl
54145 do :
54146 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54147 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54148 cat >>confdefs.h <<_ACEOF
54149 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54150 _ACEOF
54151
54152 fi
54153 done
54154
54155 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54156 do :
54157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54160 cat >>confdefs.h <<_ACEOF
54161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54162 _ACEOF
54163
54164 fi
54165 done
54166
54167 for ac_func in timespec_get
54168 do :
54169 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54170 if test "x$ac_cv_func_timespec_get" = xyes; then :
54171 cat >>confdefs.h <<_ACEOF
54172 #define HAVE_TIMESPEC_GET 1
54173 _ACEOF
54174
54175 fi
54176 done
54177
54178 for ac_func in sockatmark
54179 do :
54180 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54181 if test "x$ac_cv_func_sockatmark" = xyes; then :
54182 cat >>confdefs.h <<_ACEOF
54183 #define HAVE_SOCKATMARK 1
54184 _ACEOF
54185
54186 fi
54187 done
54188
54189 for ac_func in uselocale
54190 do :
54191 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54192 if test "x$ac_cv_func_uselocale" = xyes; then :
54193 cat >>confdefs.h <<_ACEOF
54194 #define HAVE_USELOCALE 1
54195 _ACEOF
54196
54197 fi
54198 done
54199
54200
54201
54202
54203
54204
54205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54206 $as_echo_n "checking for iconv... " >&6; }
54207 if ${am_cv_func_iconv+:} false; then :
54208 $as_echo_n "(cached) " >&6
54209 else
54210
54211 am_cv_func_iconv="no, consider installing GNU libiconv"
54212 am_cv_lib_iconv=no
54213 am_save_CPPFLAGS="$CPPFLAGS"
54214 CPPFLAGS="$CPPFLAGS $INCICONV"
54215 if test x$gcc_no_link = xyes; then
54216 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54217 fi
54218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54219 /* end confdefs.h. */
54220 #include <stdlib.h>
54221 #include <iconv.h>
54222 int
54223 main ()
54224 {
54225 iconv_t cd = iconv_open("","");
54226 iconv(cd,NULL,NULL,NULL,NULL);
54227 iconv_close(cd);
54228 ;
54229 return 0;
54230 }
54231 _ACEOF
54232 if ac_fn_c_try_link "$LINENO"; then :
54233 am_cv_func_iconv=yes
54234 fi
54235 rm -f core conftest.err conftest.$ac_objext \
54236 conftest$ac_exeext conftest.$ac_ext
54237 CPPFLAGS="$am_save_CPPFLAGS"
54238
54239 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54240 for _libs in .libs _libs; do
54241 am_save_CPPFLAGS="$CPPFLAGS"
54242 am_save_LIBS="$LIBS"
54243 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54244 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54245 if test x$gcc_no_link = xyes; then
54246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54247 fi
54248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54249 /* end confdefs.h. */
54250 #include <stdlib.h>
54251 #include <iconv.h>
54252 int
54253 main ()
54254 {
54255 iconv_t cd = iconv_open("","");
54256 iconv(cd,NULL,NULL,NULL,NULL);
54257 iconv_close(cd);
54258 ;
54259 return 0;
54260 }
54261 _ACEOF
54262 if ac_fn_c_try_link "$LINENO"; then :
54263 INCICONV="-I../libiconv/include"
54264 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54265 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54266 am_cv_lib_iconv=yes
54267 am_cv_func_iconv=yes
54268 fi
54269 rm -f core conftest.err conftest.$ac_objext \
54270 conftest$ac_exeext conftest.$ac_ext
54271 CPPFLAGS="$am_save_CPPFLAGS"
54272 LIBS="$am_save_LIBS"
54273 if test "$am_cv_func_iconv" = "yes"; then
54274 break
54275 fi
54276 done
54277 fi
54278
54279 if test "$am_cv_func_iconv" != yes; then
54280 am_save_CPPFLAGS="$CPPFLAGS"
54281 am_save_LIBS="$LIBS"
54282 CPPFLAGS="$CPPFLAGS $INCICONV"
54283 LIBS="$LIBS $LIBICONV"
54284 if test x$gcc_no_link = xyes; then
54285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54286 fi
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <stdlib.h>
54290 #include <iconv.h>
54291 int
54292 main ()
54293 {
54294 iconv_t cd = iconv_open("","");
54295 iconv(cd,NULL,NULL,NULL,NULL);
54296 iconv_close(cd);
54297 ;
54298 return 0;
54299 }
54300 _ACEOF
54301 if ac_fn_c_try_link "$LINENO"; then :
54302 am_cv_lib_iconv=yes
54303 am_cv_func_iconv=yes
54304 fi
54305 rm -f core conftest.err conftest.$ac_objext \
54306 conftest$ac_exeext conftest.$ac_ext
54307 CPPFLAGS="$am_save_CPPFLAGS"
54308 LIBS="$am_save_LIBS"
54309 fi
54310
54311 fi
54312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54313 $as_echo "$am_cv_func_iconv" >&6; }
54314 if test "$am_cv_func_iconv" = yes; then
54315
54316 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54317
54318 fi
54319 if test "$am_cv_lib_iconv" = yes; then
54320
54321 for element in $INCICONV; do
54322 haveit=
54323 for x in $CPPFLAGS; do
54324
54325 acl_save_prefix="$prefix"
54326 prefix="$acl_final_prefix"
54327 acl_save_exec_prefix="$exec_prefix"
54328 exec_prefix="$acl_final_exec_prefix"
54329 eval x=\"$x\"
54330 exec_prefix="$acl_save_exec_prefix"
54331 prefix="$acl_save_prefix"
54332
54333 if test "X$x" = "X$element"; then
54334 haveit=yes
54335 break
54336 fi
54337 done
54338 if test -z "$haveit"; then
54339 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54340 fi
54341 done
54342
54343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54344 $as_echo_n "checking how to link with libiconv... " >&6; }
54345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54346 $as_echo "$LIBICONV" >&6; }
54347 else
54348 LIBICONV=
54349 LTLIBICONV=
54350 fi
54351
54352
54353
54354 if test "$am_cv_func_iconv" = yes; then
54355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54356 $as_echo_n "checking for iconv declaration... " >&6; }
54357 if ${am_cv_proto_iconv+:} false; then :
54358 $as_echo_n "(cached) " >&6
54359 else
54360
54361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54362 /* end confdefs.h. */
54363
54364 #include <stdlib.h>
54365 #include <iconv.h>
54366 extern
54367 #ifdef __cplusplus
54368 "C"
54369 #endif
54370 #if defined(__STDC__) || defined(__cplusplus)
54371 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54372 #else
54373 size_t iconv();
54374 #endif
54375
54376 int
54377 main ()
54378 {
54379
54380 ;
54381 return 0;
54382 }
54383 _ACEOF
54384 if ac_fn_c_try_compile "$LINENO"; then :
54385 am_cv_proto_iconv_arg1=""
54386 else
54387 am_cv_proto_iconv_arg1="const"
54388 fi
54389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54390 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);"
54391 fi
54392
54393 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54395 }$am_cv_proto_iconv" >&5
54396 $as_echo "${ac_t:-
54397 }$am_cv_proto_iconv" >&6; }
54398
54399 cat >>confdefs.h <<_ACEOF
54400 #define ICONV_CONST $am_cv_proto_iconv_arg1
54401 _ACEOF
54402
54403 fi
54404
54405 ;;
54406 *-mingw32*)
54407
54408 # If we're not using GNU ld, then there's no point in even trying these
54409 # tests. Check for that first. We should have already tested for gld
54410 # by now (in libtool), but require it now just to be safe...
54411 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54412 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54413
54414
54415
54416 # The name set by libtool depends on the version of libtool. Shame on us
54417 # for depending on an impl detail, but c'est la vie. Older versions used
54418 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54419 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54420 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54421 # set (hence we're using an older libtool), then set it.
54422 if test x${with_gnu_ld+set} != xset; then
54423 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54424 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54425 with_gnu_ld=no
54426 else
54427 with_gnu_ld=$ac_cv_prog_gnu_ld
54428 fi
54429 fi
54430
54431 # Start by getting the version number. I think the libtool test already
54432 # does some of this, but throws away the result.
54433 glibcxx_ld_is_gold=no
54434 if test x"$with_gnu_ld" = x"yes"; then
54435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54436 $as_echo_n "checking for ld version... " >&6; }
54437
54438 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54439 glibcxx_ld_is_gold=yes
54440 fi
54441 ldver=`$LD --version 2>/dev/null |
54442 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54443
54444 glibcxx_gnu_ld_version=`echo $ldver | \
54445 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54447 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54448 fi
54449
54450 # Set --gc-sections.
54451 glibcxx_have_gc_sections=no
54452 if test "$glibcxx_ld_is_gold" = "yes"; then
54453 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54454 glibcxx_have_gc_sections=yes
54455 fi
54456 else
54457 glibcxx_gcsections_min_ld=21602
54458 if test x"$with_gnu_ld" = x"yes" &&
54459 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54460 glibcxx_have_gc_sections=yes
54461 fi
54462 fi
54463 if test "$glibcxx_have_gc_sections" = "yes"; then
54464 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54465 # NB: This flag only works reliably after 2.16.1. Configure tests
54466 # for this are difficult, so hard wire a value that should work.
54467
54468 ac_test_CFLAGS="${CFLAGS+set}"
54469 ac_save_CFLAGS="$CFLAGS"
54470 CFLAGS='-Wl,--gc-sections'
54471
54472 # Check for -Wl,--gc-sections
54473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54474 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54475 if test x$gcc_no_link = xyes; then
54476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54477 fi
54478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54479 /* end confdefs.h. */
54480 int one(void) { return 1; }
54481 int two(void) { return 2; }
54482
54483 int
54484 main ()
54485 {
54486 two();
54487 ;
54488 return 0;
54489 }
54490 _ACEOF
54491 if ac_fn_c_try_link "$LINENO"; then :
54492 ac_gcsections=yes
54493 else
54494 ac_gcsections=no
54495 fi
54496 rm -f core conftest.err conftest.$ac_objext \
54497 conftest$ac_exeext conftest.$ac_ext
54498 if test "$ac_gcsections" = "yes"; then
54499 rm -f conftest.c
54500 touch conftest.c
54501 if $CC -c conftest.c; then
54502 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54503 grep "Warning: gc-sections option ignored" > /dev/null; then
54504 ac_gcsections=no
54505 fi
54506 fi
54507 rm -f conftest.c conftest.o conftest
54508 fi
54509 if test "$ac_gcsections" = "yes"; then
54510 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54511 fi
54512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54513 $as_echo "$ac_gcsections" >&6; }
54514
54515 if test "$ac_test_CFLAGS" = set; then
54516 CFLAGS="$ac_save_CFLAGS"
54517 else
54518 # this is the suspicious part
54519 CFLAGS=''
54520 fi
54521 fi
54522
54523 # Set -z,relro.
54524 # Note this is only for shared objects.
54525 ac_ld_relro=no
54526 if test x"$with_gnu_ld" = x"yes"; then
54527 # cygwin and mingw uses PE, which has no ELF relro support,
54528 # multi target ld may confuse configure machinery
54529 case "$host" in
54530 *-*-cygwin*)
54531 ;;
54532 *-*-mingw*)
54533 ;;
54534 *)
54535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54536 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54537 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54538 if test -n "$cxx_z_relo"; then
54539 OPT_LDFLAGS="-Wl,-z,relro"
54540 ac_ld_relro=yes
54541 fi
54542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54543 $as_echo "$ac_ld_relro" >&6; }
54544 esac
54545 fi
54546
54547 # Set linker optimization flags.
54548 if test x"$with_gnu_ld" = x"yes"; then
54549 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54550 fi
54551
54552
54553
54554
54555
54556 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54557 ac_save_CXXFLAGS="$CXXFLAGS"
54558 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54559
54560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54561 $as_echo_n "checking for sin in -lm... " >&6; }
54562 if ${ac_cv_lib_m_sin+:} false; then :
54563 $as_echo_n "(cached) " >&6
54564 else
54565 ac_check_lib_save_LIBS=$LIBS
54566 LIBS="-lm $LIBS"
54567 if test x$gcc_no_link = xyes; then
54568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54569 fi
54570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54571 /* end confdefs.h. */
54572
54573 /* Override any GCC internal prototype to avoid an error.
54574 Use char because int might match the return type of a GCC
54575 builtin and then its argument prototype would still apply. */
54576 #ifdef __cplusplus
54577 extern "C"
54578 #endif
54579 char sin ();
54580 int
54581 main ()
54582 {
54583 return sin ();
54584 ;
54585 return 0;
54586 }
54587 _ACEOF
54588 if ac_fn_c_try_link "$LINENO"; then :
54589 ac_cv_lib_m_sin=yes
54590 else
54591 ac_cv_lib_m_sin=no
54592 fi
54593 rm -f core conftest.err conftest.$ac_objext \
54594 conftest$ac_exeext conftest.$ac_ext
54595 LIBS=$ac_check_lib_save_LIBS
54596 fi
54597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54598 $as_echo "$ac_cv_lib_m_sin" >&6; }
54599 if test "x$ac_cv_lib_m_sin" = xyes; then :
54600 libm="-lm"
54601 fi
54602
54603 ac_save_LIBS="$LIBS"
54604 LIBS="$LIBS $libm"
54605
54606
54607
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54609 $as_echo_n "checking for isinf declaration... " >&6; }
54610 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54611 if ${glibcxx_cv_func_isinf_use+:} false; then :
54612 $as_echo_n "(cached) " >&6
54613 else
54614
54615
54616 ac_ext=cpp
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54621
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54624 #include <math.h>
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54627 #endif
54628
54629 int
54630 main ()
54631 {
54632 isinf(0);
54633 ;
54634 return 0;
54635 }
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func_isinf_use=yes
54639 else
54640 glibcxx_cv_func_isinf_use=no
54641 fi
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643 ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54648
54649
54650 fi
54651
54652 fi
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54654 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54655
54656 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54657 for ac_func in isinf
54658 do :
54659 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54660 if test "x$ac_cv_func_isinf" = xyes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE_ISINF 1
54663 _ACEOF
54664
54665 fi
54666 done
54667
54668 else
54669
54670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54671 $as_echo_n "checking for _isinf declaration... " >&6; }
54672 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54673 if ${glibcxx_cv_func__isinf_use+:} false; then :
54674 $as_echo_n "(cached) " >&6
54675 else
54676
54677
54678 ac_ext=cpp
54679 ac_cpp='$CXXCPP $CPPFLAGS'
54680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54683
54684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54685 /* end confdefs.h. */
54686 #include <math.h>
54687 #ifdef HAVE_IEEEFP_H
54688 #include <ieeefp.h>
54689 #endif
54690
54691 int
54692 main ()
54693 {
54694 _isinf(0);
54695 ;
54696 return 0;
54697 }
54698 _ACEOF
54699 if ac_fn_cxx_try_compile "$LINENO"; then :
54700 glibcxx_cv_func__isinf_use=yes
54701 else
54702 glibcxx_cv_func__isinf_use=no
54703 fi
54704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54705 ac_ext=c
54706 ac_cpp='$CPP $CPPFLAGS'
54707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54710
54711
54712 fi
54713
54714 fi
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54716 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54717
54718 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54719 for ac_func in _isinf
54720 do :
54721 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54722 if test "x$ac_cv_func__isinf" = xyes; then :
54723 cat >>confdefs.h <<_ACEOF
54724 #define HAVE__ISINF 1
54725 _ACEOF
54726
54727 fi
54728 done
54729
54730 fi
54731 fi
54732
54733
54734
54735
54736
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54738 $as_echo_n "checking for isnan declaration... " >&6; }
54739 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54740 if ${glibcxx_cv_func_isnan_use+:} false; then :
54741 $as_echo_n "(cached) " >&6
54742 else
54743
54744
54745 ac_ext=cpp
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54750
54751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h. */
54753 #include <math.h>
54754 #ifdef HAVE_IEEEFP_H
54755 #include <ieeefp.h>
54756 #endif
54757
54758 int
54759 main ()
54760 {
54761 isnan(0);
54762 ;
54763 return 0;
54764 }
54765 _ACEOF
54766 if ac_fn_cxx_try_compile "$LINENO"; then :
54767 glibcxx_cv_func_isnan_use=yes
54768 else
54769 glibcxx_cv_func_isnan_use=no
54770 fi
54771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54772 ac_ext=c
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54777
54778
54779 fi
54780
54781 fi
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54783 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54784
54785 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54786 for ac_func in isnan
54787 do :
54788 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54789 if test "x$ac_cv_func_isnan" = xyes; then :
54790 cat >>confdefs.h <<_ACEOF
54791 #define HAVE_ISNAN 1
54792 _ACEOF
54793
54794 fi
54795 done
54796
54797 else
54798
54799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54800 $as_echo_n "checking for _isnan declaration... " >&6; }
54801 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54802 if ${glibcxx_cv_func__isnan_use+:} false; then :
54803 $as_echo_n "(cached) " >&6
54804 else
54805
54806
54807 ac_ext=cpp
54808 ac_cpp='$CXXCPP $CPPFLAGS'
54809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54812
54813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54814 /* end confdefs.h. */
54815 #include <math.h>
54816 #ifdef HAVE_IEEEFP_H
54817 #include <ieeefp.h>
54818 #endif
54819
54820 int
54821 main ()
54822 {
54823 _isnan(0);
54824 ;
54825 return 0;
54826 }
54827 _ACEOF
54828 if ac_fn_cxx_try_compile "$LINENO"; then :
54829 glibcxx_cv_func__isnan_use=yes
54830 else
54831 glibcxx_cv_func__isnan_use=no
54832 fi
54833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54834 ac_ext=c
54835 ac_cpp='$CPP $CPPFLAGS'
54836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54839
54840
54841 fi
54842
54843 fi
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54845 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54846
54847 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54848 for ac_func in _isnan
54849 do :
54850 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54851 if test "x$ac_cv_func__isnan" = xyes; then :
54852 cat >>confdefs.h <<_ACEOF
54853 #define HAVE__ISNAN 1
54854 _ACEOF
54855
54856 fi
54857 done
54858
54859 fi
54860 fi
54861
54862
54863
54864
54865
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54867 $as_echo_n "checking for finite declaration... " >&6; }
54868 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54869 if ${glibcxx_cv_func_finite_use+:} false; then :
54870 $as_echo_n "(cached) " >&6
54871 else
54872
54873
54874 ac_ext=cpp
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54879
54880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881 /* end confdefs.h. */
54882 #include <math.h>
54883 #ifdef HAVE_IEEEFP_H
54884 #include <ieeefp.h>
54885 #endif
54886
54887 int
54888 main ()
54889 {
54890 finite(0);
54891 ;
54892 return 0;
54893 }
54894 _ACEOF
54895 if ac_fn_cxx_try_compile "$LINENO"; then :
54896 glibcxx_cv_func_finite_use=yes
54897 else
54898 glibcxx_cv_func_finite_use=no
54899 fi
54900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54901 ac_ext=c
54902 ac_cpp='$CPP $CPPFLAGS'
54903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54906
54907
54908 fi
54909
54910 fi
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54912 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54913
54914 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54915 for ac_func in finite
54916 do :
54917 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54918 if test "x$ac_cv_func_finite" = xyes; then :
54919 cat >>confdefs.h <<_ACEOF
54920 #define HAVE_FINITE 1
54921 _ACEOF
54922
54923 fi
54924 done
54925
54926 else
54927
54928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54929 $as_echo_n "checking for _finite declaration... " >&6; }
54930 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54931 if ${glibcxx_cv_func__finite_use+:} false; then :
54932 $as_echo_n "(cached) " >&6
54933 else
54934
54935
54936 ac_ext=cpp
54937 ac_cpp='$CXXCPP $CPPFLAGS'
54938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54941
54942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54943 /* end confdefs.h. */
54944 #include <math.h>
54945 #ifdef HAVE_IEEEFP_H
54946 #include <ieeefp.h>
54947 #endif
54948
54949 int
54950 main ()
54951 {
54952 _finite(0);
54953 ;
54954 return 0;
54955 }
54956 _ACEOF
54957 if ac_fn_cxx_try_compile "$LINENO"; then :
54958 glibcxx_cv_func__finite_use=yes
54959 else
54960 glibcxx_cv_func__finite_use=no
54961 fi
54962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54963 ac_ext=c
54964 ac_cpp='$CPP $CPPFLAGS'
54965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54968
54969
54970 fi
54971
54972 fi
54973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54974 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54975
54976 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54977 for ac_func in _finite
54978 do :
54979 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54980 if test "x$ac_cv_func__finite" = xyes; then :
54981 cat >>confdefs.h <<_ACEOF
54982 #define HAVE__FINITE 1
54983 _ACEOF
54984
54985 fi
54986 done
54987
54988 fi
54989 fi
54990
54991
54992
54993
54994
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54996 $as_echo_n "checking for sincos declaration... " >&6; }
54997 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54998 if ${glibcxx_cv_func_sincos_use+:} false; then :
54999 $as_echo_n "(cached) " >&6
55000 else
55001
55002
55003 ac_ext=cpp
55004 ac_cpp='$CXXCPP $CPPFLAGS'
55005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55008
55009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55010 /* end confdefs.h. */
55011 #include <math.h>
55012 int
55013 main ()
55014 {
55015 sincos(0, 0, 0);
55016 ;
55017 return 0;
55018 }
55019 _ACEOF
55020 if ac_fn_cxx_try_compile "$LINENO"; then :
55021 glibcxx_cv_func_sincos_use=yes
55022 else
55023 glibcxx_cv_func_sincos_use=no
55024 fi
55025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55026 ac_ext=c
55027 ac_cpp='$CPP $CPPFLAGS'
55028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55031
55032
55033 fi
55034
55035 fi
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55037 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55038
55039 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55040 for ac_func in sincos
55041 do :
55042 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55043 if test "x$ac_cv_func_sincos" = xyes; then :
55044 cat >>confdefs.h <<_ACEOF
55045 #define HAVE_SINCOS 1
55046 _ACEOF
55047
55048 fi
55049 done
55050
55051 else
55052
55053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55054 $as_echo_n "checking for _sincos declaration... " >&6; }
55055 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55056 if ${glibcxx_cv_func__sincos_use+:} false; then :
55057 $as_echo_n "(cached) " >&6
55058 else
55059
55060
55061 ac_ext=cpp
55062 ac_cpp='$CXXCPP $CPPFLAGS'
55063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55066
55067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55068 /* end confdefs.h. */
55069 #include <math.h>
55070 int
55071 main ()
55072 {
55073 _sincos(0, 0, 0);
55074 ;
55075 return 0;
55076 }
55077 _ACEOF
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__sincos_use=yes
55080 else
55081 glibcxx_cv_func__sincos_use=no
55082 fi
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55089
55090
55091 fi
55092
55093 fi
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55095 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55096
55097 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55098 for ac_func in _sincos
55099 do :
55100 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55101 if test "x$ac_cv_func__sincos" = xyes; then :
55102 cat >>confdefs.h <<_ACEOF
55103 #define HAVE__SINCOS 1
55104 _ACEOF
55105
55106 fi
55107 done
55108
55109 fi
55110 fi
55111
55112
55113
55114
55115
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55117 $as_echo_n "checking for fpclass declaration... " >&6; }
55118 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55119 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55122
55123
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55129
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55135 #endif
55136
55137 int
55138 main ()
55139 {
55140 fpclass(0);
55141 ;
55142 return 0;
55143 }
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func_fpclass_use=yes
55147 else
55148 glibcxx_cv_func_fpclass_use=no
55149 fi
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55156
55157
55158 fi
55159
55160 fi
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55162 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55163
55164 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55165 for ac_func in fpclass
55166 do :
55167 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55168 if test "x$ac_cv_func_fpclass" = xyes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE_FPCLASS 1
55171 _ACEOF
55172
55173 fi
55174 done
55175
55176 else
55177
55178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55179 $as_echo_n "checking for _fpclass declaration... " >&6; }
55180 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55181 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55182 $as_echo_n "(cached) " >&6
55183 else
55184
55185
55186 ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55191
55192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h. */
55194 #include <math.h>
55195 #ifdef HAVE_IEEEFP_H
55196 #include <ieeefp.h>
55197 #endif
55198
55199 int
55200 main ()
55201 {
55202 _fpclass(0);
55203 ;
55204 return 0;
55205 }
55206 _ACEOF
55207 if ac_fn_cxx_try_compile "$LINENO"; then :
55208 glibcxx_cv_func__fpclass_use=yes
55209 else
55210 glibcxx_cv_func__fpclass_use=no
55211 fi
55212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55213 ac_ext=c
55214 ac_cpp='$CPP $CPPFLAGS'
55215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55218
55219
55220 fi
55221
55222 fi
55223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55224 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55225
55226 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55227 for ac_func in _fpclass
55228 do :
55229 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55230 if test "x$ac_cv_func__fpclass" = xyes; then :
55231 cat >>confdefs.h <<_ACEOF
55232 #define HAVE__FPCLASS 1
55233 _ACEOF
55234
55235 fi
55236 done
55237
55238 fi
55239 fi
55240
55241
55242
55243
55244
55245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55246 $as_echo_n "checking for qfpclass declaration... " >&6; }
55247 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55248 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55249 $as_echo_n "(cached) " >&6
55250 else
55251
55252
55253 ac_ext=cpp
55254 ac_cpp='$CXXCPP $CPPFLAGS'
55255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55258
55259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55260 /* end confdefs.h. */
55261 #include <math.h>
55262 #ifdef HAVE_IEEEFP_H
55263 #include <ieeefp.h>
55264 #endif
55265
55266 int
55267 main ()
55268 {
55269 qfpclass(0);
55270 ;
55271 return 0;
55272 }
55273 _ACEOF
55274 if ac_fn_cxx_try_compile "$LINENO"; then :
55275 glibcxx_cv_func_qfpclass_use=yes
55276 else
55277 glibcxx_cv_func_qfpclass_use=no
55278 fi
55279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55280 ac_ext=c
55281 ac_cpp='$CPP $CPPFLAGS'
55282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55285
55286
55287 fi
55288
55289 fi
55290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55291 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55292
55293 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55294 for ac_func in qfpclass
55295 do :
55296 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55297 if test "x$ac_cv_func_qfpclass" = xyes; then :
55298 cat >>confdefs.h <<_ACEOF
55299 #define HAVE_QFPCLASS 1
55300 _ACEOF
55301
55302 fi
55303 done
55304
55305 else
55306
55307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55308 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55309 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55310 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55311 $as_echo_n "(cached) " >&6
55312 else
55313
55314
55315 ac_ext=cpp
55316 ac_cpp='$CXXCPP $CPPFLAGS'
55317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55320
55321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55322 /* end confdefs.h. */
55323 #include <math.h>
55324 #ifdef HAVE_IEEEFP_H
55325 #include <ieeefp.h>
55326 #endif
55327
55328 int
55329 main ()
55330 {
55331 _qfpclass(0);
55332 ;
55333 return 0;
55334 }
55335 _ACEOF
55336 if ac_fn_cxx_try_compile "$LINENO"; then :
55337 glibcxx_cv_func__qfpclass_use=yes
55338 else
55339 glibcxx_cv_func__qfpclass_use=no
55340 fi
55341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55342 ac_ext=c
55343 ac_cpp='$CPP $CPPFLAGS'
55344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55347
55348
55349 fi
55350
55351 fi
55352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55353 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55354
55355 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55356 for ac_func in _qfpclass
55357 do :
55358 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55359 if test "x$ac_cv_func__qfpclass" = xyes; then :
55360 cat >>confdefs.h <<_ACEOF
55361 #define HAVE__QFPCLASS 1
55362 _ACEOF
55363
55364 fi
55365 done
55366
55367 fi
55368 fi
55369
55370
55371
55372
55373
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55375 $as_echo_n "checking for hypot declaration... " >&6; }
55376 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55377 if ${glibcxx_cv_func_hypot_use+:} false; then :
55378 $as_echo_n "(cached) " >&6
55379 else
55380
55381
55382 ac_ext=cpp
55383 ac_cpp='$CXXCPP $CPPFLAGS'
55384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55387
55388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55389 /* end confdefs.h. */
55390 #include <math.h>
55391 int
55392 main ()
55393 {
55394 hypot(0, 0);
55395 ;
55396 return 0;
55397 }
55398 _ACEOF
55399 if ac_fn_cxx_try_compile "$LINENO"; then :
55400 glibcxx_cv_func_hypot_use=yes
55401 else
55402 glibcxx_cv_func_hypot_use=no
55403 fi
55404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55405 ac_ext=c
55406 ac_cpp='$CPP $CPPFLAGS'
55407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55410
55411
55412 fi
55413
55414 fi
55415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55416 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55417
55418 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55419 for ac_func in hypot
55420 do :
55421 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55422 if test "x$ac_cv_func_hypot" = xyes; then :
55423 cat >>confdefs.h <<_ACEOF
55424 #define HAVE_HYPOT 1
55425 _ACEOF
55426
55427 fi
55428 done
55429
55430 else
55431
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55433 $as_echo_n "checking for _hypot declaration... " >&6; }
55434 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55435 if ${glibcxx_cv_func__hypot_use+:} false; then :
55436 $as_echo_n "(cached) " >&6
55437 else
55438
55439
55440 ac_ext=cpp
55441 ac_cpp='$CXXCPP $CPPFLAGS'
55442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55445
55446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55447 /* end confdefs.h. */
55448 #include <math.h>
55449 int
55450 main ()
55451 {
55452 _hypot(0, 0);
55453 ;
55454 return 0;
55455 }
55456 _ACEOF
55457 if ac_fn_cxx_try_compile "$LINENO"; then :
55458 glibcxx_cv_func__hypot_use=yes
55459 else
55460 glibcxx_cv_func__hypot_use=no
55461 fi
55462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55463 ac_ext=c
55464 ac_cpp='$CPP $CPPFLAGS'
55465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55468
55469
55470 fi
55471
55472 fi
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55474 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55475
55476 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55477 for ac_func in _hypot
55478 do :
55479 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55480 if test "x$ac_cv_func__hypot" = xyes; then :
55481 cat >>confdefs.h <<_ACEOF
55482 #define HAVE__HYPOT 1
55483 _ACEOF
55484
55485 fi
55486 done
55487
55488 fi
55489 fi
55490
55491
55492
55493
55494
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55496 $as_echo_n "checking for float trig functions... " >&6; }
55497 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55498 $as_echo_n "(cached) " >&6
55499 else
55500
55501
55502 ac_ext=cpp
55503 ac_cpp='$CXXCPP $CPPFLAGS'
55504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55507
55508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55509 /* end confdefs.h. */
55510 #include <math.h>
55511 int
55512 main ()
55513 {
55514 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55515 ;
55516 return 0;
55517 }
55518 _ACEOF
55519 if ac_fn_cxx_try_compile "$LINENO"; then :
55520 glibcxx_cv_func_float_trig_use=yes
55521 else
55522 glibcxx_cv_func_float_trig_use=no
55523 fi
55524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55525 ac_ext=c
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55530
55531 fi
55532
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55534 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55535 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55536 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55537 do :
55538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55541 cat >>confdefs.h <<_ACEOF
55542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55543 _ACEOF
55544
55545 fi
55546 done
55547
55548 else
55549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55550 $as_echo_n "checking for _float trig functions... " >&6; }
55551 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55552 $as_echo_n "(cached) " >&6
55553 else
55554
55555
55556 ac_ext=cpp
55557 ac_cpp='$CXXCPP $CPPFLAGS'
55558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55561
55562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55563 /* end confdefs.h. */
55564 #include <math.h>
55565 int
55566 main ()
55567 {
55568 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55569 ;
55570 return 0;
55571 }
55572 _ACEOF
55573 if ac_fn_cxx_try_compile "$LINENO"; then :
55574 glibcxx_cv_func__float_trig_use=yes
55575 else
55576 glibcxx_cv_func__float_trig_use=no
55577 fi
55578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55579 ac_ext=c
55580 ac_cpp='$CPP $CPPFLAGS'
55581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55584
55585 fi
55586
55587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55588 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55589 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55590 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55591 do :
55592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55595 cat >>confdefs.h <<_ACEOF
55596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55597 _ACEOF
55598
55599 fi
55600 done
55601
55602 fi
55603 fi
55604
55605
55606
55607
55608
55609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55610 $as_echo_n "checking for float round functions... " >&6; }
55611 if ${glibcxx_cv_func_float_round_use+:} false; then :
55612 $as_echo_n "(cached) " >&6
55613 else
55614
55615
55616 ac_ext=cpp
55617 ac_cpp='$CXXCPP $CPPFLAGS'
55618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621
55622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55623 /* end confdefs.h. */
55624 #include <math.h>
55625 int
55626 main ()
55627 {
55628 ceilf (0); floorf (0);
55629 ;
55630 return 0;
55631 }
55632 _ACEOF
55633 if ac_fn_cxx_try_compile "$LINENO"; then :
55634 glibcxx_cv_func_float_round_use=yes
55635 else
55636 glibcxx_cv_func_float_round_use=no
55637 fi
55638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55639 ac_ext=c
55640 ac_cpp='$CPP $CPPFLAGS'
55641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55644
55645 fi
55646
55647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55648 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55649 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55650 for ac_func in ceilf floorf
55651 do :
55652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55655 cat >>confdefs.h <<_ACEOF
55656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55657 _ACEOF
55658
55659 fi
55660 done
55661
55662 else
55663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55664 $as_echo_n "checking for _float round functions... " >&6; }
55665 if ${glibcxx_cv_func__float_round_use+:} false; then :
55666 $as_echo_n "(cached) " >&6
55667 else
55668
55669
55670 ac_ext=cpp
55671 ac_cpp='$CXXCPP $CPPFLAGS'
55672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55675
55676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55677 /* end confdefs.h. */
55678 #include <math.h>
55679 int
55680 main ()
55681 {
55682 _ceilf (0); _floorf (0);
55683 ;
55684 return 0;
55685 }
55686 _ACEOF
55687 if ac_fn_cxx_try_compile "$LINENO"; then :
55688 glibcxx_cv_func__float_round_use=yes
55689 else
55690 glibcxx_cv_func__float_round_use=no
55691 fi
55692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55693 ac_ext=c
55694 ac_cpp='$CPP $CPPFLAGS'
55695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55698
55699 fi
55700
55701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55702 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55703 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55704 for ac_func in _ceilf _floorf
55705 do :
55706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55708 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55709 cat >>confdefs.h <<_ACEOF
55710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55711 _ACEOF
55712
55713 fi
55714 done
55715
55716 fi
55717 fi
55718
55719
55720
55721
55722
55723
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55725 $as_echo_n "checking for expf declaration... " >&6; }
55726 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55727 if ${glibcxx_cv_func_expf_use+:} false; then :
55728 $as_echo_n "(cached) " >&6
55729 else
55730
55731
55732 ac_ext=cpp
55733 ac_cpp='$CXXCPP $CPPFLAGS'
55734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55737
55738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55739 /* end confdefs.h. */
55740 #include <math.h>
55741 #ifdef HAVE_IEEEFP_H
55742 #include <ieeefp.h>
55743 #endif
55744
55745 int
55746 main ()
55747 {
55748 expf(0);
55749 ;
55750 return 0;
55751 }
55752 _ACEOF
55753 if ac_fn_cxx_try_compile "$LINENO"; then :
55754 glibcxx_cv_func_expf_use=yes
55755 else
55756 glibcxx_cv_func_expf_use=no
55757 fi
55758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55759 ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55764
55765
55766 fi
55767
55768 fi
55769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55770 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55771
55772 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55773 for ac_func in expf
55774 do :
55775 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55776 if test "x$ac_cv_func_expf" = xyes; then :
55777 cat >>confdefs.h <<_ACEOF
55778 #define HAVE_EXPF 1
55779 _ACEOF
55780
55781 fi
55782 done
55783
55784 else
55785
55786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55787 $as_echo_n "checking for _expf declaration... " >&6; }
55788 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55789 if ${glibcxx_cv_func__expf_use+:} false; then :
55790 $as_echo_n "(cached) " >&6
55791 else
55792
55793
55794 ac_ext=cpp
55795 ac_cpp='$CXXCPP $CPPFLAGS'
55796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55799
55800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55801 /* end confdefs.h. */
55802 #include <math.h>
55803 #ifdef HAVE_IEEEFP_H
55804 #include <ieeefp.h>
55805 #endif
55806
55807 int
55808 main ()
55809 {
55810 _expf(0);
55811 ;
55812 return 0;
55813 }
55814 _ACEOF
55815 if ac_fn_cxx_try_compile "$LINENO"; then :
55816 glibcxx_cv_func__expf_use=yes
55817 else
55818 glibcxx_cv_func__expf_use=no
55819 fi
55820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55821 ac_ext=c
55822 ac_cpp='$CPP $CPPFLAGS'
55823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55826
55827
55828 fi
55829
55830 fi
55831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55832 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55833
55834 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55835 for ac_func in _expf
55836 do :
55837 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55838 if test "x$ac_cv_func__expf" = xyes; then :
55839 cat >>confdefs.h <<_ACEOF
55840 #define HAVE__EXPF 1
55841 _ACEOF
55842
55843 fi
55844 done
55845
55846 fi
55847 fi
55848
55849
55850
55851
55852
55853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55854 $as_echo_n "checking for isnanf declaration... " >&6; }
55855 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55856 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55857 $as_echo_n "(cached) " >&6
55858 else
55859
55860
55861 ac_ext=cpp
55862 ac_cpp='$CXXCPP $CPPFLAGS'
55863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55866
55867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55868 /* end confdefs.h. */
55869 #include <math.h>
55870 #ifdef HAVE_IEEEFP_H
55871 #include <ieeefp.h>
55872 #endif
55873
55874 int
55875 main ()
55876 {
55877 isnanf(0);
55878 ;
55879 return 0;
55880 }
55881 _ACEOF
55882 if ac_fn_cxx_try_compile "$LINENO"; then :
55883 glibcxx_cv_func_isnanf_use=yes
55884 else
55885 glibcxx_cv_func_isnanf_use=no
55886 fi
55887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55888 ac_ext=c
55889 ac_cpp='$CPP $CPPFLAGS'
55890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55893
55894
55895 fi
55896
55897 fi
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55899 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55900
55901 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55902 for ac_func in isnanf
55903 do :
55904 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55905 if test "x$ac_cv_func_isnanf" = xyes; then :
55906 cat >>confdefs.h <<_ACEOF
55907 #define HAVE_ISNANF 1
55908 _ACEOF
55909
55910 fi
55911 done
55912
55913 else
55914
55915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55916 $as_echo_n "checking for _isnanf declaration... " >&6; }
55917 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55918 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55919 $as_echo_n "(cached) " >&6
55920 else
55921
55922
55923 ac_ext=cpp
55924 ac_cpp='$CXXCPP $CPPFLAGS'
55925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55928
55929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55930 /* end confdefs.h. */
55931 #include <math.h>
55932 #ifdef HAVE_IEEEFP_H
55933 #include <ieeefp.h>
55934 #endif
55935
55936 int
55937 main ()
55938 {
55939 _isnanf(0);
55940 ;
55941 return 0;
55942 }
55943 _ACEOF
55944 if ac_fn_cxx_try_compile "$LINENO"; then :
55945 glibcxx_cv_func__isnanf_use=yes
55946 else
55947 glibcxx_cv_func__isnanf_use=no
55948 fi
55949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55950 ac_ext=c
55951 ac_cpp='$CPP $CPPFLAGS'
55952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55955
55956
55957 fi
55958
55959 fi
55960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55961 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55962
55963 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55964 for ac_func in _isnanf
55965 do :
55966 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55967 if test "x$ac_cv_func__isnanf" = xyes; then :
55968 cat >>confdefs.h <<_ACEOF
55969 #define HAVE__ISNANF 1
55970 _ACEOF
55971
55972 fi
55973 done
55974
55975 fi
55976 fi
55977
55978
55979
55980
55981
55982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55983 $as_echo_n "checking for isinff declaration... " >&6; }
55984 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55985 if ${glibcxx_cv_func_isinff_use+:} false; then :
55986 $as_echo_n "(cached) " >&6
55987 else
55988
55989
55990 ac_ext=cpp
55991 ac_cpp='$CXXCPP $CPPFLAGS'
55992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55995
55996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55997 /* end confdefs.h. */
55998 #include <math.h>
55999 #ifdef HAVE_IEEEFP_H
56000 #include <ieeefp.h>
56001 #endif
56002
56003 int
56004 main ()
56005 {
56006 isinff(0);
56007 ;
56008 return 0;
56009 }
56010 _ACEOF
56011 if ac_fn_cxx_try_compile "$LINENO"; then :
56012 glibcxx_cv_func_isinff_use=yes
56013 else
56014 glibcxx_cv_func_isinff_use=no
56015 fi
56016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56017 ac_ext=c
56018 ac_cpp='$CPP $CPPFLAGS'
56019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56022
56023
56024 fi
56025
56026 fi
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56028 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56029
56030 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56031 for ac_func in isinff
56032 do :
56033 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56034 if test "x$ac_cv_func_isinff" = xyes; then :
56035 cat >>confdefs.h <<_ACEOF
56036 #define HAVE_ISINFF 1
56037 _ACEOF
56038
56039 fi
56040 done
56041
56042 else
56043
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56045 $as_echo_n "checking for _isinff declaration... " >&6; }
56046 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56047 if ${glibcxx_cv_func__isinff_use+:} false; then :
56048 $as_echo_n "(cached) " >&6
56049 else
56050
56051
56052 ac_ext=cpp
56053 ac_cpp='$CXXCPP $CPPFLAGS'
56054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56057
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56060 #include <math.h>
56061 #ifdef HAVE_IEEEFP_H
56062 #include <ieeefp.h>
56063 #endif
56064
56065 int
56066 main ()
56067 {
56068 _isinff(0);
56069 ;
56070 return 0;
56071 }
56072 _ACEOF
56073 if ac_fn_cxx_try_compile "$LINENO"; then :
56074 glibcxx_cv_func__isinff_use=yes
56075 else
56076 glibcxx_cv_func__isinff_use=no
56077 fi
56078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56079 ac_ext=c
56080 ac_cpp='$CPP $CPPFLAGS'
56081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56084
56085
56086 fi
56087
56088 fi
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56090 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56091
56092 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56093 for ac_func in _isinff
56094 do :
56095 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56096 if test "x$ac_cv_func__isinff" = xyes; then :
56097 cat >>confdefs.h <<_ACEOF
56098 #define HAVE__ISINFF 1
56099 _ACEOF
56100
56101 fi
56102 done
56103
56104 fi
56105 fi
56106
56107
56108
56109
56110
56111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56112 $as_echo_n "checking for atan2f declaration... " >&6; }
56113 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56114 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56115 $as_echo_n "(cached) " >&6
56116 else
56117
56118
56119 ac_ext=cpp
56120 ac_cpp='$CXXCPP $CPPFLAGS'
56121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56124
56125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56126 /* end confdefs.h. */
56127 #include <math.h>
56128 int
56129 main ()
56130 {
56131 atan2f(0, 0);
56132 ;
56133 return 0;
56134 }
56135 _ACEOF
56136 if ac_fn_cxx_try_compile "$LINENO"; then :
56137 glibcxx_cv_func_atan2f_use=yes
56138 else
56139 glibcxx_cv_func_atan2f_use=no
56140 fi
56141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56142 ac_ext=c
56143 ac_cpp='$CPP $CPPFLAGS'
56144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56147
56148
56149 fi
56150
56151 fi
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56153 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56154
56155 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56156 for ac_func in atan2f
56157 do :
56158 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56159 if test "x$ac_cv_func_atan2f" = xyes; then :
56160 cat >>confdefs.h <<_ACEOF
56161 #define HAVE_ATAN2F 1
56162 _ACEOF
56163
56164 fi
56165 done
56166
56167 else
56168
56169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56170 $as_echo_n "checking for _atan2f declaration... " >&6; }
56171 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56172 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56173 $as_echo_n "(cached) " >&6
56174 else
56175
56176
56177 ac_ext=cpp
56178 ac_cpp='$CXXCPP $CPPFLAGS'
56179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56182
56183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56184 /* end confdefs.h. */
56185 #include <math.h>
56186 int
56187 main ()
56188 {
56189 _atan2f(0, 0);
56190 ;
56191 return 0;
56192 }
56193 _ACEOF
56194 if ac_fn_cxx_try_compile "$LINENO"; then :
56195 glibcxx_cv_func__atan2f_use=yes
56196 else
56197 glibcxx_cv_func__atan2f_use=no
56198 fi
56199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56200 ac_ext=c
56201 ac_cpp='$CPP $CPPFLAGS'
56202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56205
56206
56207 fi
56208
56209 fi
56210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56211 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56212
56213 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56214 for ac_func in _atan2f
56215 do :
56216 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56217 if test "x$ac_cv_func__atan2f" = xyes; then :
56218 cat >>confdefs.h <<_ACEOF
56219 #define HAVE__ATAN2F 1
56220 _ACEOF
56221
56222 fi
56223 done
56224
56225 fi
56226 fi
56227
56228
56229
56230
56231
56232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56233 $as_echo_n "checking for fabsf declaration... " >&6; }
56234 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56235 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56236 $as_echo_n "(cached) " >&6
56237 else
56238
56239
56240 ac_ext=cpp
56241 ac_cpp='$CXXCPP $CPPFLAGS'
56242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56245
56246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56247 /* end confdefs.h. */
56248 #include <math.h>
56249 #ifdef HAVE_IEEEFP_H
56250 #include <ieeefp.h>
56251 #endif
56252
56253 int
56254 main ()
56255 {
56256 fabsf(0);
56257 ;
56258 return 0;
56259 }
56260 _ACEOF
56261 if ac_fn_cxx_try_compile "$LINENO"; then :
56262 glibcxx_cv_func_fabsf_use=yes
56263 else
56264 glibcxx_cv_func_fabsf_use=no
56265 fi
56266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56267 ac_ext=c
56268 ac_cpp='$CPP $CPPFLAGS'
56269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56272
56273
56274 fi
56275
56276 fi
56277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56278 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56279
56280 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56281 for ac_func in fabsf
56282 do :
56283 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56284 if test "x$ac_cv_func_fabsf" = xyes; then :
56285 cat >>confdefs.h <<_ACEOF
56286 #define HAVE_FABSF 1
56287 _ACEOF
56288
56289 fi
56290 done
56291
56292 else
56293
56294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56295 $as_echo_n "checking for _fabsf declaration... " >&6; }
56296 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56297 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56298 $as_echo_n "(cached) " >&6
56299 else
56300
56301
56302 ac_ext=cpp
56303 ac_cpp='$CXXCPP $CPPFLAGS'
56304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56307
56308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56309 /* end confdefs.h. */
56310 #include <math.h>
56311 #ifdef HAVE_IEEEFP_H
56312 #include <ieeefp.h>
56313 #endif
56314
56315 int
56316 main ()
56317 {
56318 _fabsf(0);
56319 ;
56320 return 0;
56321 }
56322 _ACEOF
56323 if ac_fn_cxx_try_compile "$LINENO"; then :
56324 glibcxx_cv_func__fabsf_use=yes
56325 else
56326 glibcxx_cv_func__fabsf_use=no
56327 fi
56328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56329 ac_ext=c
56330 ac_cpp='$CPP $CPPFLAGS'
56331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56334
56335
56336 fi
56337
56338 fi
56339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56340 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56341
56342 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56343 for ac_func in _fabsf
56344 do :
56345 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56346 if test "x$ac_cv_func__fabsf" = xyes; then :
56347 cat >>confdefs.h <<_ACEOF
56348 #define HAVE__FABSF 1
56349 _ACEOF
56350
56351 fi
56352 done
56353
56354 fi
56355 fi
56356
56357
56358
56359
56360
56361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56362 $as_echo_n "checking for fmodf declaration... " >&6; }
56363 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56364 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56365 $as_echo_n "(cached) " >&6
56366 else
56367
56368
56369 ac_ext=cpp
56370 ac_cpp='$CXXCPP $CPPFLAGS'
56371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56374
56375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56376 /* end confdefs.h. */
56377 #include <math.h>
56378 int
56379 main ()
56380 {
56381 fmodf(0, 0);
56382 ;
56383 return 0;
56384 }
56385 _ACEOF
56386 if ac_fn_cxx_try_compile "$LINENO"; then :
56387 glibcxx_cv_func_fmodf_use=yes
56388 else
56389 glibcxx_cv_func_fmodf_use=no
56390 fi
56391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56392 ac_ext=c
56393 ac_cpp='$CPP $CPPFLAGS'
56394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56397
56398
56399 fi
56400
56401 fi
56402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56403 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56404
56405 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56406 for ac_func in fmodf
56407 do :
56408 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56409 if test "x$ac_cv_func_fmodf" = xyes; then :
56410 cat >>confdefs.h <<_ACEOF
56411 #define HAVE_FMODF 1
56412 _ACEOF
56413
56414 fi
56415 done
56416
56417 else
56418
56419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56420 $as_echo_n "checking for _fmodf declaration... " >&6; }
56421 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56422 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56423 $as_echo_n "(cached) " >&6
56424 else
56425
56426
56427 ac_ext=cpp
56428 ac_cpp='$CXXCPP $CPPFLAGS'
56429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56432
56433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56434 /* end confdefs.h. */
56435 #include <math.h>
56436 int
56437 main ()
56438 {
56439 _fmodf(0, 0);
56440 ;
56441 return 0;
56442 }
56443 _ACEOF
56444 if ac_fn_cxx_try_compile "$LINENO"; then :
56445 glibcxx_cv_func__fmodf_use=yes
56446 else
56447 glibcxx_cv_func__fmodf_use=no
56448 fi
56449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56450 ac_ext=c
56451 ac_cpp='$CPP $CPPFLAGS'
56452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56455
56456
56457 fi
56458
56459 fi
56460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56461 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56462
56463 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56464 for ac_func in _fmodf
56465 do :
56466 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56467 if test "x$ac_cv_func__fmodf" = xyes; then :
56468 cat >>confdefs.h <<_ACEOF
56469 #define HAVE__FMODF 1
56470 _ACEOF
56471
56472 fi
56473 done
56474
56475 fi
56476 fi
56477
56478
56479
56480
56481
56482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56483 $as_echo_n "checking for frexpf declaration... " >&6; }
56484 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56485 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56486 $as_echo_n "(cached) " >&6
56487 else
56488
56489
56490 ac_ext=cpp
56491 ac_cpp='$CXXCPP $CPPFLAGS'
56492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56495
56496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56497 /* end confdefs.h. */
56498 #include <math.h>
56499 int
56500 main ()
56501 {
56502 frexpf(0, 0);
56503 ;
56504 return 0;
56505 }
56506 _ACEOF
56507 if ac_fn_cxx_try_compile "$LINENO"; then :
56508 glibcxx_cv_func_frexpf_use=yes
56509 else
56510 glibcxx_cv_func_frexpf_use=no
56511 fi
56512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56513 ac_ext=c
56514 ac_cpp='$CPP $CPPFLAGS'
56515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56518
56519
56520 fi
56521
56522 fi
56523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56524 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56525
56526 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56527 for ac_func in frexpf
56528 do :
56529 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56530 if test "x$ac_cv_func_frexpf" = xyes; then :
56531 cat >>confdefs.h <<_ACEOF
56532 #define HAVE_FREXPF 1
56533 _ACEOF
56534
56535 fi
56536 done
56537
56538 else
56539
56540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56541 $as_echo_n "checking for _frexpf declaration... " >&6; }
56542 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56543 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56544 $as_echo_n "(cached) " >&6
56545 else
56546
56547
56548 ac_ext=cpp
56549 ac_cpp='$CXXCPP $CPPFLAGS'
56550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56553
56554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56555 /* end confdefs.h. */
56556 #include <math.h>
56557 int
56558 main ()
56559 {
56560 _frexpf(0, 0);
56561 ;
56562 return 0;
56563 }
56564 _ACEOF
56565 if ac_fn_cxx_try_compile "$LINENO"; then :
56566 glibcxx_cv_func__frexpf_use=yes
56567 else
56568 glibcxx_cv_func__frexpf_use=no
56569 fi
56570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56571 ac_ext=c
56572 ac_cpp='$CPP $CPPFLAGS'
56573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56576
56577
56578 fi
56579
56580 fi
56581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56582 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56583
56584 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56585 for ac_func in _frexpf
56586 do :
56587 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56588 if test "x$ac_cv_func__frexpf" = xyes; then :
56589 cat >>confdefs.h <<_ACEOF
56590 #define HAVE__FREXPF 1
56591 _ACEOF
56592
56593 fi
56594 done
56595
56596 fi
56597 fi
56598
56599
56600
56601
56602
56603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56604 $as_echo_n "checking for hypotf declaration... " >&6; }
56605 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56606 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56607 $as_echo_n "(cached) " >&6
56608 else
56609
56610
56611 ac_ext=cpp
56612 ac_cpp='$CXXCPP $CPPFLAGS'
56613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56616
56617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56618 /* end confdefs.h. */
56619 #include <math.h>
56620 int
56621 main ()
56622 {
56623 hypotf(0, 0);
56624 ;
56625 return 0;
56626 }
56627 _ACEOF
56628 if ac_fn_cxx_try_compile "$LINENO"; then :
56629 glibcxx_cv_func_hypotf_use=yes
56630 else
56631 glibcxx_cv_func_hypotf_use=no
56632 fi
56633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56634 ac_ext=c
56635 ac_cpp='$CPP $CPPFLAGS'
56636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56639
56640
56641 fi
56642
56643 fi
56644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56645 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56646
56647 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56648 for ac_func in hypotf
56649 do :
56650 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56651 if test "x$ac_cv_func_hypotf" = xyes; then :
56652 cat >>confdefs.h <<_ACEOF
56653 #define HAVE_HYPOTF 1
56654 _ACEOF
56655
56656 fi
56657 done
56658
56659 else
56660
56661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56662 $as_echo_n "checking for _hypotf declaration... " >&6; }
56663 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56664 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56665 $as_echo_n "(cached) " >&6
56666 else
56667
56668
56669 ac_ext=cpp
56670 ac_cpp='$CXXCPP $CPPFLAGS'
56671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56674
56675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56676 /* end confdefs.h. */
56677 #include <math.h>
56678 int
56679 main ()
56680 {
56681 _hypotf(0, 0);
56682 ;
56683 return 0;
56684 }
56685 _ACEOF
56686 if ac_fn_cxx_try_compile "$LINENO"; then :
56687 glibcxx_cv_func__hypotf_use=yes
56688 else
56689 glibcxx_cv_func__hypotf_use=no
56690 fi
56691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56692 ac_ext=c
56693 ac_cpp='$CPP $CPPFLAGS'
56694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56697
56698
56699 fi
56700
56701 fi
56702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56703 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56704
56705 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56706 for ac_func in _hypotf
56707 do :
56708 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56709 if test "x$ac_cv_func__hypotf" = xyes; then :
56710 cat >>confdefs.h <<_ACEOF
56711 #define HAVE__HYPOTF 1
56712 _ACEOF
56713
56714 fi
56715 done
56716
56717 fi
56718 fi
56719
56720
56721
56722
56723
56724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56725 $as_echo_n "checking for ldexpf declaration... " >&6; }
56726 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56727 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56728 $as_echo_n "(cached) " >&6
56729 else
56730
56731
56732 ac_ext=cpp
56733 ac_cpp='$CXXCPP $CPPFLAGS'
56734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56737
56738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56739 /* end confdefs.h. */
56740 #include <math.h>
56741 int
56742 main ()
56743 {
56744 ldexpf(0, 0);
56745 ;
56746 return 0;
56747 }
56748 _ACEOF
56749 if ac_fn_cxx_try_compile "$LINENO"; then :
56750 glibcxx_cv_func_ldexpf_use=yes
56751 else
56752 glibcxx_cv_func_ldexpf_use=no
56753 fi
56754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56755 ac_ext=c
56756 ac_cpp='$CPP $CPPFLAGS'
56757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56760
56761
56762 fi
56763
56764 fi
56765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56766 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56767
56768 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56769 for ac_func in ldexpf
56770 do :
56771 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56772 if test "x$ac_cv_func_ldexpf" = xyes; then :
56773 cat >>confdefs.h <<_ACEOF
56774 #define HAVE_LDEXPF 1
56775 _ACEOF
56776
56777 fi
56778 done
56779
56780 else
56781
56782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56783 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56784 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56785 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56786 $as_echo_n "(cached) " >&6
56787 else
56788
56789
56790 ac_ext=cpp
56791 ac_cpp='$CXXCPP $CPPFLAGS'
56792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56795
56796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56797 /* end confdefs.h. */
56798 #include <math.h>
56799 int
56800 main ()
56801 {
56802 _ldexpf(0, 0);
56803 ;
56804 return 0;
56805 }
56806 _ACEOF
56807 if ac_fn_cxx_try_compile "$LINENO"; then :
56808 glibcxx_cv_func__ldexpf_use=yes
56809 else
56810 glibcxx_cv_func__ldexpf_use=no
56811 fi
56812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56813 ac_ext=c
56814 ac_cpp='$CPP $CPPFLAGS'
56815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56818
56819
56820 fi
56821
56822 fi
56823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56824 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56825
56826 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56827 for ac_func in _ldexpf
56828 do :
56829 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56830 if test "x$ac_cv_func__ldexpf" = xyes; then :
56831 cat >>confdefs.h <<_ACEOF
56832 #define HAVE__LDEXPF 1
56833 _ACEOF
56834
56835 fi
56836 done
56837
56838 fi
56839 fi
56840
56841
56842
56843
56844
56845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56846 $as_echo_n "checking for logf declaration... " >&6; }
56847 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56848 if ${glibcxx_cv_func_logf_use+:} false; then :
56849 $as_echo_n "(cached) " >&6
56850 else
56851
56852
56853 ac_ext=cpp
56854 ac_cpp='$CXXCPP $CPPFLAGS'
56855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56858
56859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56860 /* end confdefs.h. */
56861 #include <math.h>
56862 #ifdef HAVE_IEEEFP_H
56863 #include <ieeefp.h>
56864 #endif
56865
56866 int
56867 main ()
56868 {
56869 logf(0);
56870 ;
56871 return 0;
56872 }
56873 _ACEOF
56874 if ac_fn_cxx_try_compile "$LINENO"; then :
56875 glibcxx_cv_func_logf_use=yes
56876 else
56877 glibcxx_cv_func_logf_use=no
56878 fi
56879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56880 ac_ext=c
56881 ac_cpp='$CPP $CPPFLAGS'
56882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56885
56886
56887 fi
56888
56889 fi
56890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56891 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56892
56893 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56894 for ac_func in logf
56895 do :
56896 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56897 if test "x$ac_cv_func_logf" = xyes; then :
56898 cat >>confdefs.h <<_ACEOF
56899 #define HAVE_LOGF 1
56900 _ACEOF
56901
56902 fi
56903 done
56904
56905 else
56906
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56908 $as_echo_n "checking for _logf declaration... " >&6; }
56909 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56910 if ${glibcxx_cv_func__logf_use+:} false; then :
56911 $as_echo_n "(cached) " >&6
56912 else
56913
56914
56915 ac_ext=cpp
56916 ac_cpp='$CXXCPP $CPPFLAGS'
56917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56920
56921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56922 /* end confdefs.h. */
56923 #include <math.h>
56924 #ifdef HAVE_IEEEFP_H
56925 #include <ieeefp.h>
56926 #endif
56927
56928 int
56929 main ()
56930 {
56931 _logf(0);
56932 ;
56933 return 0;
56934 }
56935 _ACEOF
56936 if ac_fn_cxx_try_compile "$LINENO"; then :
56937 glibcxx_cv_func__logf_use=yes
56938 else
56939 glibcxx_cv_func__logf_use=no
56940 fi
56941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56942 ac_ext=c
56943 ac_cpp='$CPP $CPPFLAGS'
56944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56947
56948
56949 fi
56950
56951 fi
56952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56953 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56954
56955 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56956 for ac_func in _logf
56957 do :
56958 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56959 if test "x$ac_cv_func__logf" = xyes; then :
56960 cat >>confdefs.h <<_ACEOF
56961 #define HAVE__LOGF 1
56962 _ACEOF
56963
56964 fi
56965 done
56966
56967 fi
56968 fi
56969
56970
56971
56972
56973
56974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56975 $as_echo_n "checking for log10f declaration... " >&6; }
56976 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56977 if ${glibcxx_cv_func_log10f_use+:} false; then :
56978 $as_echo_n "(cached) " >&6
56979 else
56980
56981
56982 ac_ext=cpp
56983 ac_cpp='$CXXCPP $CPPFLAGS'
56984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56987
56988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56989 /* end confdefs.h. */
56990 #include <math.h>
56991 #ifdef HAVE_IEEEFP_H
56992 #include <ieeefp.h>
56993 #endif
56994
56995 int
56996 main ()
56997 {
56998 log10f(0);
56999 ;
57000 return 0;
57001 }
57002 _ACEOF
57003 if ac_fn_cxx_try_compile "$LINENO"; then :
57004 glibcxx_cv_func_log10f_use=yes
57005 else
57006 glibcxx_cv_func_log10f_use=no
57007 fi
57008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57009 ac_ext=c
57010 ac_cpp='$CPP $CPPFLAGS'
57011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57014
57015
57016 fi
57017
57018 fi
57019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57020 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57021
57022 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57023 for ac_func in log10f
57024 do :
57025 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57026 if test "x$ac_cv_func_log10f" = xyes; then :
57027 cat >>confdefs.h <<_ACEOF
57028 #define HAVE_LOG10F 1
57029 _ACEOF
57030
57031 fi
57032 done
57033
57034 else
57035
57036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57037 $as_echo_n "checking for _log10f declaration... " >&6; }
57038 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57039 if ${glibcxx_cv_func__log10f_use+:} false; then :
57040 $as_echo_n "(cached) " >&6
57041 else
57042
57043
57044 ac_ext=cpp
57045 ac_cpp='$CXXCPP $CPPFLAGS'
57046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57049
57050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57051 /* end confdefs.h. */
57052 #include <math.h>
57053 #ifdef HAVE_IEEEFP_H
57054 #include <ieeefp.h>
57055 #endif
57056
57057 int
57058 main ()
57059 {
57060 _log10f(0);
57061 ;
57062 return 0;
57063 }
57064 _ACEOF
57065 if ac_fn_cxx_try_compile "$LINENO"; then :
57066 glibcxx_cv_func__log10f_use=yes
57067 else
57068 glibcxx_cv_func__log10f_use=no
57069 fi
57070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57071 ac_ext=c
57072 ac_cpp='$CPP $CPPFLAGS'
57073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57076
57077
57078 fi
57079
57080 fi
57081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57082 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57083
57084 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57085 for ac_func in _log10f
57086 do :
57087 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57088 if test "x$ac_cv_func__log10f" = xyes; then :
57089 cat >>confdefs.h <<_ACEOF
57090 #define HAVE__LOG10F 1
57091 _ACEOF
57092
57093 fi
57094 done
57095
57096 fi
57097 fi
57098
57099
57100
57101
57102
57103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57104 $as_echo_n "checking for modff declaration... " >&6; }
57105 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57106 if ${glibcxx_cv_func_modff_use+:} false; then :
57107 $as_echo_n "(cached) " >&6
57108 else
57109
57110
57111 ac_ext=cpp
57112 ac_cpp='$CXXCPP $CPPFLAGS'
57113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57116
57117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57118 /* end confdefs.h. */
57119 #include <math.h>
57120 int
57121 main ()
57122 {
57123 modff(0, 0);
57124 ;
57125 return 0;
57126 }
57127 _ACEOF
57128 if ac_fn_cxx_try_compile "$LINENO"; then :
57129 glibcxx_cv_func_modff_use=yes
57130 else
57131 glibcxx_cv_func_modff_use=no
57132 fi
57133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57134 ac_ext=c
57135 ac_cpp='$CPP $CPPFLAGS'
57136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57139
57140
57141 fi
57142
57143 fi
57144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57145 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57146
57147 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57148 for ac_func in modff
57149 do :
57150 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57151 if test "x$ac_cv_func_modff" = xyes; then :
57152 cat >>confdefs.h <<_ACEOF
57153 #define HAVE_MODFF 1
57154 _ACEOF
57155
57156 fi
57157 done
57158
57159 else
57160
57161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57162 $as_echo_n "checking for _modff declaration... " >&6; }
57163 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57164 if ${glibcxx_cv_func__modff_use+:} false; then :
57165 $as_echo_n "(cached) " >&6
57166 else
57167
57168
57169 ac_ext=cpp
57170 ac_cpp='$CXXCPP $CPPFLAGS'
57171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57174
57175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57176 /* end confdefs.h. */
57177 #include <math.h>
57178 int
57179 main ()
57180 {
57181 _modff(0, 0);
57182 ;
57183 return 0;
57184 }
57185 _ACEOF
57186 if ac_fn_cxx_try_compile "$LINENO"; then :
57187 glibcxx_cv_func__modff_use=yes
57188 else
57189 glibcxx_cv_func__modff_use=no
57190 fi
57191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57192 ac_ext=c
57193 ac_cpp='$CPP $CPPFLAGS'
57194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57197
57198
57199 fi
57200
57201 fi
57202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57203 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57204
57205 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57206 for ac_func in _modff
57207 do :
57208 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57209 if test "x$ac_cv_func__modff" = xyes; then :
57210 cat >>confdefs.h <<_ACEOF
57211 #define HAVE__MODFF 1
57212 _ACEOF
57213
57214 fi
57215 done
57216
57217 fi
57218 fi
57219
57220
57221
57222
57223
57224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57225 $as_echo_n "checking for modf declaration... " >&6; }
57226 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57227 if ${glibcxx_cv_func_modf_use+:} false; then :
57228 $as_echo_n "(cached) " >&6
57229 else
57230
57231
57232 ac_ext=cpp
57233 ac_cpp='$CXXCPP $CPPFLAGS'
57234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57237
57238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57239 /* end confdefs.h. */
57240 #include <math.h>
57241 int
57242 main ()
57243 {
57244 modf(0, 0);
57245 ;
57246 return 0;
57247 }
57248 _ACEOF
57249 if ac_fn_cxx_try_compile "$LINENO"; then :
57250 glibcxx_cv_func_modf_use=yes
57251 else
57252 glibcxx_cv_func_modf_use=no
57253 fi
57254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57255 ac_ext=c
57256 ac_cpp='$CPP $CPPFLAGS'
57257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57260
57261
57262 fi
57263
57264 fi
57265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57266 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57267
57268 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57269 for ac_func in modf
57270 do :
57271 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57272 if test "x$ac_cv_func_modf" = xyes; then :
57273 cat >>confdefs.h <<_ACEOF
57274 #define HAVE_MODF 1
57275 _ACEOF
57276
57277 fi
57278 done
57279
57280 else
57281
57282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57283 $as_echo_n "checking for _modf declaration... " >&6; }
57284 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57285 if ${glibcxx_cv_func__modf_use+:} false; then :
57286 $as_echo_n "(cached) " >&6
57287 else
57288
57289
57290 ac_ext=cpp
57291 ac_cpp='$CXXCPP $CPPFLAGS'
57292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57295
57296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57297 /* end confdefs.h. */
57298 #include <math.h>
57299 int
57300 main ()
57301 {
57302 _modf(0, 0);
57303 ;
57304 return 0;
57305 }
57306 _ACEOF
57307 if ac_fn_cxx_try_compile "$LINENO"; then :
57308 glibcxx_cv_func__modf_use=yes
57309 else
57310 glibcxx_cv_func__modf_use=no
57311 fi
57312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57313 ac_ext=c
57314 ac_cpp='$CPP $CPPFLAGS'
57315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57318
57319
57320 fi
57321
57322 fi
57323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57324 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57325
57326 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57327 for ac_func in _modf
57328 do :
57329 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57330 if test "x$ac_cv_func__modf" = xyes; then :
57331 cat >>confdefs.h <<_ACEOF
57332 #define HAVE__MODF 1
57333 _ACEOF
57334
57335 fi
57336 done
57337
57338 fi
57339 fi
57340
57341
57342
57343
57344
57345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57346 $as_echo_n "checking for powf declaration... " >&6; }
57347 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57348 if ${glibcxx_cv_func_powf_use+:} false; then :
57349 $as_echo_n "(cached) " >&6
57350 else
57351
57352
57353 ac_ext=cpp
57354 ac_cpp='$CXXCPP $CPPFLAGS'
57355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57358
57359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57360 /* end confdefs.h. */
57361 #include <math.h>
57362 int
57363 main ()
57364 {
57365 powf(0, 0);
57366 ;
57367 return 0;
57368 }
57369 _ACEOF
57370 if ac_fn_cxx_try_compile "$LINENO"; then :
57371 glibcxx_cv_func_powf_use=yes
57372 else
57373 glibcxx_cv_func_powf_use=no
57374 fi
57375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57376 ac_ext=c
57377 ac_cpp='$CPP $CPPFLAGS'
57378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57381
57382
57383 fi
57384
57385 fi
57386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57387 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57388
57389 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57390 for ac_func in powf
57391 do :
57392 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57393 if test "x$ac_cv_func_powf" = xyes; then :
57394 cat >>confdefs.h <<_ACEOF
57395 #define HAVE_POWF 1
57396 _ACEOF
57397
57398 fi
57399 done
57400
57401 else
57402
57403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57404 $as_echo_n "checking for _powf declaration... " >&6; }
57405 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57406 if ${glibcxx_cv_func__powf_use+:} false; then :
57407 $as_echo_n "(cached) " >&6
57408 else
57409
57410
57411 ac_ext=cpp
57412 ac_cpp='$CXXCPP $CPPFLAGS'
57413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57416
57417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57418 /* end confdefs.h. */
57419 #include <math.h>
57420 int
57421 main ()
57422 {
57423 _powf(0, 0);
57424 ;
57425 return 0;
57426 }
57427 _ACEOF
57428 if ac_fn_cxx_try_compile "$LINENO"; then :
57429 glibcxx_cv_func__powf_use=yes
57430 else
57431 glibcxx_cv_func__powf_use=no
57432 fi
57433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57434 ac_ext=c
57435 ac_cpp='$CPP $CPPFLAGS'
57436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57439
57440
57441 fi
57442
57443 fi
57444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57445 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57446
57447 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57448 for ac_func in _powf
57449 do :
57450 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57451 if test "x$ac_cv_func__powf" = xyes; then :
57452 cat >>confdefs.h <<_ACEOF
57453 #define HAVE__POWF 1
57454 _ACEOF
57455
57456 fi
57457 done
57458
57459 fi
57460 fi
57461
57462
57463
57464
57465
57466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57467 $as_echo_n "checking for sqrtf declaration... " >&6; }
57468 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57469 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57470 $as_echo_n "(cached) " >&6
57471 else
57472
57473
57474 ac_ext=cpp
57475 ac_cpp='$CXXCPP $CPPFLAGS'
57476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57479
57480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57481 /* end confdefs.h. */
57482 #include <math.h>
57483 #ifdef HAVE_IEEEFP_H
57484 #include <ieeefp.h>
57485 #endif
57486
57487 int
57488 main ()
57489 {
57490 sqrtf(0);
57491 ;
57492 return 0;
57493 }
57494 _ACEOF
57495 if ac_fn_cxx_try_compile "$LINENO"; then :
57496 glibcxx_cv_func_sqrtf_use=yes
57497 else
57498 glibcxx_cv_func_sqrtf_use=no
57499 fi
57500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57501 ac_ext=c
57502 ac_cpp='$CPP $CPPFLAGS'
57503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57506
57507
57508 fi
57509
57510 fi
57511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57512 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57513
57514 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57515 for ac_func in sqrtf
57516 do :
57517 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57518 if test "x$ac_cv_func_sqrtf" = xyes; then :
57519 cat >>confdefs.h <<_ACEOF
57520 #define HAVE_SQRTF 1
57521 _ACEOF
57522
57523 fi
57524 done
57525
57526 else
57527
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57529 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57530 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57531 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57532 $as_echo_n "(cached) " >&6
57533 else
57534
57535
57536 ac_ext=cpp
57537 ac_cpp='$CXXCPP $CPPFLAGS'
57538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57541
57542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57543 /* end confdefs.h. */
57544 #include <math.h>
57545 #ifdef HAVE_IEEEFP_H
57546 #include <ieeefp.h>
57547 #endif
57548
57549 int
57550 main ()
57551 {
57552 _sqrtf(0);
57553 ;
57554 return 0;
57555 }
57556 _ACEOF
57557 if ac_fn_cxx_try_compile "$LINENO"; then :
57558 glibcxx_cv_func__sqrtf_use=yes
57559 else
57560 glibcxx_cv_func__sqrtf_use=no
57561 fi
57562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57563 ac_ext=c
57564 ac_cpp='$CPP $CPPFLAGS'
57565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57568
57569
57570 fi
57571
57572 fi
57573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57574 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57575
57576 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57577 for ac_func in _sqrtf
57578 do :
57579 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57580 if test "x$ac_cv_func__sqrtf" = xyes; then :
57581 cat >>confdefs.h <<_ACEOF
57582 #define HAVE__SQRTF 1
57583 _ACEOF
57584
57585 fi
57586 done
57587
57588 fi
57589 fi
57590
57591
57592
57593
57594
57595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57596 $as_echo_n "checking for sincosf declaration... " >&6; }
57597 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57598 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57599 $as_echo_n "(cached) " >&6
57600 else
57601
57602
57603 ac_ext=cpp
57604 ac_cpp='$CXXCPP $CPPFLAGS'
57605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57608
57609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57610 /* end confdefs.h. */
57611 #include <math.h>
57612 int
57613 main ()
57614 {
57615 sincosf(0, 0, 0);
57616 ;
57617 return 0;
57618 }
57619 _ACEOF
57620 if ac_fn_cxx_try_compile "$LINENO"; then :
57621 glibcxx_cv_func_sincosf_use=yes
57622 else
57623 glibcxx_cv_func_sincosf_use=no
57624 fi
57625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57626 ac_ext=c
57627 ac_cpp='$CPP $CPPFLAGS'
57628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57631
57632
57633 fi
57634
57635 fi
57636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57637 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57638
57639 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57640 for ac_func in sincosf
57641 do :
57642 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57643 if test "x$ac_cv_func_sincosf" = xyes; then :
57644 cat >>confdefs.h <<_ACEOF
57645 #define HAVE_SINCOSF 1
57646 _ACEOF
57647
57648 fi
57649 done
57650
57651 else
57652
57653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57654 $as_echo_n "checking for _sincosf declaration... " >&6; }
57655 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57656 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57657 $as_echo_n "(cached) " >&6
57658 else
57659
57660
57661 ac_ext=cpp
57662 ac_cpp='$CXXCPP $CPPFLAGS'
57663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57666
57667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57668 /* end confdefs.h. */
57669 #include <math.h>
57670 int
57671 main ()
57672 {
57673 _sincosf(0, 0, 0);
57674 ;
57675 return 0;
57676 }
57677 _ACEOF
57678 if ac_fn_cxx_try_compile "$LINENO"; then :
57679 glibcxx_cv_func__sincosf_use=yes
57680 else
57681 glibcxx_cv_func__sincosf_use=no
57682 fi
57683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57684 ac_ext=c
57685 ac_cpp='$CPP $CPPFLAGS'
57686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57689
57690
57691 fi
57692
57693 fi
57694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57695 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57696
57697 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57698 for ac_func in _sincosf
57699 do :
57700 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57701 if test "x$ac_cv_func__sincosf" = xyes; then :
57702 cat >>confdefs.h <<_ACEOF
57703 #define HAVE__SINCOSF 1
57704 _ACEOF
57705
57706 fi
57707 done
57708
57709 fi
57710 fi
57711
57712
57713
57714
57715
57716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57717 $as_echo_n "checking for finitef declaration... " >&6; }
57718 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57719 if ${glibcxx_cv_func_finitef_use+:} false; then :
57720 $as_echo_n "(cached) " >&6
57721 else
57722
57723
57724 ac_ext=cpp
57725 ac_cpp='$CXXCPP $CPPFLAGS'
57726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57729
57730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57731 /* end confdefs.h. */
57732 #include <math.h>
57733 #ifdef HAVE_IEEEFP_H
57734 #include <ieeefp.h>
57735 #endif
57736
57737 int
57738 main ()
57739 {
57740 finitef(0);
57741 ;
57742 return 0;
57743 }
57744 _ACEOF
57745 if ac_fn_cxx_try_compile "$LINENO"; then :
57746 glibcxx_cv_func_finitef_use=yes
57747 else
57748 glibcxx_cv_func_finitef_use=no
57749 fi
57750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57751 ac_ext=c
57752 ac_cpp='$CPP $CPPFLAGS'
57753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57756
57757
57758 fi
57759
57760 fi
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57762 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57763
57764 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57765 for ac_func in finitef
57766 do :
57767 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57768 if test "x$ac_cv_func_finitef" = xyes; then :
57769 cat >>confdefs.h <<_ACEOF
57770 #define HAVE_FINITEF 1
57771 _ACEOF
57772
57773 fi
57774 done
57775
57776 else
57777
57778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57779 $as_echo_n "checking for _finitef declaration... " >&6; }
57780 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57781 if ${glibcxx_cv_func__finitef_use+:} false; then :
57782 $as_echo_n "(cached) " >&6
57783 else
57784
57785
57786 ac_ext=cpp
57787 ac_cpp='$CXXCPP $CPPFLAGS'
57788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57791
57792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57793 /* end confdefs.h. */
57794 #include <math.h>
57795 #ifdef HAVE_IEEEFP_H
57796 #include <ieeefp.h>
57797 #endif
57798
57799 int
57800 main ()
57801 {
57802 _finitef(0);
57803 ;
57804 return 0;
57805 }
57806 _ACEOF
57807 if ac_fn_cxx_try_compile "$LINENO"; then :
57808 glibcxx_cv_func__finitef_use=yes
57809 else
57810 glibcxx_cv_func__finitef_use=no
57811 fi
57812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57813 ac_ext=c
57814 ac_cpp='$CPP $CPPFLAGS'
57815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57818
57819
57820 fi
57821
57822 fi
57823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57824 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57825
57826 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57827 for ac_func in _finitef
57828 do :
57829 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57830 if test "x$ac_cv_func__finitef" = xyes; then :
57831 cat >>confdefs.h <<_ACEOF
57832 #define HAVE__FINITEF 1
57833 _ACEOF
57834
57835 fi
57836 done
57837
57838 fi
57839 fi
57840
57841
57842
57843
57844
57845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57846 $as_echo_n "checking for long double trig functions... " >&6; }
57847 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57848 $as_echo_n "(cached) " >&6
57849 else
57850
57851
57852 ac_ext=cpp
57853 ac_cpp='$CXXCPP $CPPFLAGS'
57854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57857
57858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57859 /* end confdefs.h. */
57860 #include <math.h>
57861 int
57862 main ()
57863 {
57864 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57865 ;
57866 return 0;
57867 }
57868 _ACEOF
57869 if ac_fn_cxx_try_compile "$LINENO"; then :
57870 glibcxx_cv_func_long_double_trig_use=yes
57871 else
57872 glibcxx_cv_func_long_double_trig_use=no
57873 fi
57874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57875 ac_ext=c
57876 ac_cpp='$CPP $CPPFLAGS'
57877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57880
57881 fi
57882
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57884 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57885 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57886 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57887 do :
57888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57890 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57891 cat >>confdefs.h <<_ACEOF
57892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57893 _ACEOF
57894
57895 fi
57896 done
57897
57898 else
57899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57900 $as_echo_n "checking for _long double trig functions... " >&6; }
57901 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57902 $as_echo_n "(cached) " >&6
57903 else
57904
57905
57906 ac_ext=cpp
57907 ac_cpp='$CXXCPP $CPPFLAGS'
57908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57911
57912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57913 /* end confdefs.h. */
57914 #include <math.h>
57915 int
57916 main ()
57917 {
57918 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57919 ;
57920 return 0;
57921 }
57922 _ACEOF
57923 if ac_fn_cxx_try_compile "$LINENO"; then :
57924 glibcxx_cv_func__long_double_trig_use=yes
57925 else
57926 glibcxx_cv_func__long_double_trig_use=no
57927 fi
57928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57929 ac_ext=c
57930 ac_cpp='$CPP $CPPFLAGS'
57931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57934
57935 fi
57936
57937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57938 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57939 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57940 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57941 do :
57942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57945 cat >>confdefs.h <<_ACEOF
57946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57947 _ACEOF
57948
57949 fi
57950 done
57951
57952 fi
57953 fi
57954
57955
57956
57957
57958
57959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57960 $as_echo_n "checking for long double round functions... " >&6; }
57961 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57962 $as_echo_n "(cached) " >&6
57963 else
57964
57965
57966 ac_ext=cpp
57967 ac_cpp='$CXXCPP $CPPFLAGS'
57968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57971
57972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57973 /* end confdefs.h. */
57974 #include <math.h>
57975 int
57976 main ()
57977 {
57978 ceill (0); floorl (0);
57979 ;
57980 return 0;
57981 }
57982 _ACEOF
57983 if ac_fn_cxx_try_compile "$LINENO"; then :
57984 glibcxx_cv_func_long_double_round_use=yes
57985 else
57986 glibcxx_cv_func_long_double_round_use=no
57987 fi
57988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57989 ac_ext=c
57990 ac_cpp='$CPP $CPPFLAGS'
57991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57994
57995 fi
57996
57997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57998 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57999 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58000 for ac_func in ceill floorl
58001 do :
58002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58005 cat >>confdefs.h <<_ACEOF
58006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58007 _ACEOF
58008
58009 fi
58010 done
58011
58012 else
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58014 $as_echo_n "checking for _long double round functions... " >&6; }
58015 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58018
58019
58020 ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58025
58026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h. */
58028 #include <math.h>
58029 int
58030 main ()
58031 {
58032 _ceill (0); _floorl (0);
58033 ;
58034 return 0;
58035 }
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038 glibcxx_cv_func__long_double_round_use=yes
58039 else
58040 glibcxx_cv_func__long_double_round_use=no
58041 fi
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58048
58049 fi
58050
58051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58052 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58053 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58054 for ac_func in _ceill _floorl
58055 do :
58056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58059 cat >>confdefs.h <<_ACEOF
58060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58061 _ACEOF
58062
58063 fi
58064 done
58065
58066 fi
58067 fi
58068
58069
58070
58071
58072
58073
58074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58075 $as_echo_n "checking for isnanl declaration... " >&6; }
58076 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58077 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58078 $as_echo_n "(cached) " >&6
58079 else
58080
58081
58082 ac_ext=cpp
58083 ac_cpp='$CXXCPP $CPPFLAGS'
58084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58087
58088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58089 /* end confdefs.h. */
58090 #include <math.h>
58091 #ifdef HAVE_IEEEFP_H
58092 #include <ieeefp.h>
58093 #endif
58094
58095 int
58096 main ()
58097 {
58098 isnanl(0);
58099 ;
58100 return 0;
58101 }
58102 _ACEOF
58103 if ac_fn_cxx_try_compile "$LINENO"; then :
58104 glibcxx_cv_func_isnanl_use=yes
58105 else
58106 glibcxx_cv_func_isnanl_use=no
58107 fi
58108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58109 ac_ext=c
58110 ac_cpp='$CPP $CPPFLAGS'
58111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58114
58115
58116 fi
58117
58118 fi
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58120 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58121
58122 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58123 for ac_func in isnanl
58124 do :
58125 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58126 if test "x$ac_cv_func_isnanl" = xyes; then :
58127 cat >>confdefs.h <<_ACEOF
58128 #define HAVE_ISNANL 1
58129 _ACEOF
58130
58131 fi
58132 done
58133
58134 else
58135
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58137 $as_echo_n "checking for _isnanl declaration... " >&6; }
58138 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58139 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58140 $as_echo_n "(cached) " >&6
58141 else
58142
58143
58144 ac_ext=cpp
58145 ac_cpp='$CXXCPP $CPPFLAGS'
58146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58149
58150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58151 /* end confdefs.h. */
58152 #include <math.h>
58153 #ifdef HAVE_IEEEFP_H
58154 #include <ieeefp.h>
58155 #endif
58156
58157 int
58158 main ()
58159 {
58160 _isnanl(0);
58161 ;
58162 return 0;
58163 }
58164 _ACEOF
58165 if ac_fn_cxx_try_compile "$LINENO"; then :
58166 glibcxx_cv_func__isnanl_use=yes
58167 else
58168 glibcxx_cv_func__isnanl_use=no
58169 fi
58170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58171 ac_ext=c
58172 ac_cpp='$CPP $CPPFLAGS'
58173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58176
58177
58178 fi
58179
58180 fi
58181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58182 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58183
58184 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58185 for ac_func in _isnanl
58186 do :
58187 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58188 if test "x$ac_cv_func__isnanl" = xyes; then :
58189 cat >>confdefs.h <<_ACEOF
58190 #define HAVE__ISNANL 1
58191 _ACEOF
58192
58193 fi
58194 done
58195
58196 fi
58197 fi
58198
58199
58200
58201
58202
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58204 $as_echo_n "checking for isinfl declaration... " >&6; }
58205 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58206 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58207 $as_echo_n "(cached) " >&6
58208 else
58209
58210
58211 ac_ext=cpp
58212 ac_cpp='$CXXCPP $CPPFLAGS'
58213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58216
58217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58218 /* end confdefs.h. */
58219 #include <math.h>
58220 #ifdef HAVE_IEEEFP_H
58221 #include <ieeefp.h>
58222 #endif
58223
58224 int
58225 main ()
58226 {
58227 isinfl(0);
58228 ;
58229 return 0;
58230 }
58231 _ACEOF
58232 if ac_fn_cxx_try_compile "$LINENO"; then :
58233 glibcxx_cv_func_isinfl_use=yes
58234 else
58235 glibcxx_cv_func_isinfl_use=no
58236 fi
58237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58238 ac_ext=c
58239 ac_cpp='$CPP $CPPFLAGS'
58240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58243
58244
58245 fi
58246
58247 fi
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58249 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58250
58251 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58252 for ac_func in isinfl
58253 do :
58254 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58255 if test "x$ac_cv_func_isinfl" = xyes; then :
58256 cat >>confdefs.h <<_ACEOF
58257 #define HAVE_ISINFL 1
58258 _ACEOF
58259
58260 fi
58261 done
58262
58263 else
58264
58265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58266 $as_echo_n "checking for _isinfl declaration... " >&6; }
58267 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58268 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58269 $as_echo_n "(cached) " >&6
58270 else
58271
58272
58273 ac_ext=cpp
58274 ac_cpp='$CXXCPP $CPPFLAGS'
58275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58278
58279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58280 /* end confdefs.h. */
58281 #include <math.h>
58282 #ifdef HAVE_IEEEFP_H
58283 #include <ieeefp.h>
58284 #endif
58285
58286 int
58287 main ()
58288 {
58289 _isinfl(0);
58290 ;
58291 return 0;
58292 }
58293 _ACEOF
58294 if ac_fn_cxx_try_compile "$LINENO"; then :
58295 glibcxx_cv_func__isinfl_use=yes
58296 else
58297 glibcxx_cv_func__isinfl_use=no
58298 fi
58299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58300 ac_ext=c
58301 ac_cpp='$CPP $CPPFLAGS'
58302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58305
58306
58307 fi
58308
58309 fi
58310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58311 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58312
58313 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58314 for ac_func in _isinfl
58315 do :
58316 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58317 if test "x$ac_cv_func__isinfl" = xyes; then :
58318 cat >>confdefs.h <<_ACEOF
58319 #define HAVE__ISINFL 1
58320 _ACEOF
58321
58322 fi
58323 done
58324
58325 fi
58326 fi
58327
58328
58329
58330
58331
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58333 $as_echo_n "checking for atan2l declaration... " >&6; }
58334 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58335 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58336 $as_echo_n "(cached) " >&6
58337 else
58338
58339
58340 ac_ext=cpp
58341 ac_cpp='$CXXCPP $CPPFLAGS'
58342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58345
58346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58347 /* end confdefs.h. */
58348 #include <math.h>
58349 int
58350 main ()
58351 {
58352 atan2l(0, 0);
58353 ;
58354 return 0;
58355 }
58356 _ACEOF
58357 if ac_fn_cxx_try_compile "$LINENO"; then :
58358 glibcxx_cv_func_atan2l_use=yes
58359 else
58360 glibcxx_cv_func_atan2l_use=no
58361 fi
58362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58363 ac_ext=c
58364 ac_cpp='$CPP $CPPFLAGS'
58365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58368
58369
58370 fi
58371
58372 fi
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58374 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58375
58376 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58377 for ac_func in atan2l
58378 do :
58379 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58380 if test "x$ac_cv_func_atan2l" = xyes; then :
58381 cat >>confdefs.h <<_ACEOF
58382 #define HAVE_ATAN2L 1
58383 _ACEOF
58384
58385 fi
58386 done
58387
58388 else
58389
58390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58391 $as_echo_n "checking for _atan2l declaration... " >&6; }
58392 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58393 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58394 $as_echo_n "(cached) " >&6
58395 else
58396
58397
58398 ac_ext=cpp
58399 ac_cpp='$CXXCPP $CPPFLAGS'
58400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58403
58404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58405 /* end confdefs.h. */
58406 #include <math.h>
58407 int
58408 main ()
58409 {
58410 _atan2l(0, 0);
58411 ;
58412 return 0;
58413 }
58414 _ACEOF
58415 if ac_fn_cxx_try_compile "$LINENO"; then :
58416 glibcxx_cv_func__atan2l_use=yes
58417 else
58418 glibcxx_cv_func__atan2l_use=no
58419 fi
58420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58421 ac_ext=c
58422 ac_cpp='$CPP $CPPFLAGS'
58423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58426
58427
58428 fi
58429
58430 fi
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58432 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58433
58434 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58435 for ac_func in _atan2l
58436 do :
58437 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58438 if test "x$ac_cv_func__atan2l" = xyes; then :
58439 cat >>confdefs.h <<_ACEOF
58440 #define HAVE__ATAN2L 1
58441 _ACEOF
58442
58443 fi
58444 done
58445
58446 fi
58447 fi
58448
58449
58450
58451
58452
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58454 $as_echo_n "checking for expl declaration... " >&6; }
58455 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58456 if ${glibcxx_cv_func_expl_use+:} false; then :
58457 $as_echo_n "(cached) " >&6
58458 else
58459
58460
58461 ac_ext=cpp
58462 ac_cpp='$CXXCPP $CPPFLAGS'
58463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58466
58467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58468 /* end confdefs.h. */
58469 #include <math.h>
58470 #ifdef HAVE_IEEEFP_H
58471 #include <ieeefp.h>
58472 #endif
58473
58474 int
58475 main ()
58476 {
58477 expl(0);
58478 ;
58479 return 0;
58480 }
58481 _ACEOF
58482 if ac_fn_cxx_try_compile "$LINENO"; then :
58483 glibcxx_cv_func_expl_use=yes
58484 else
58485 glibcxx_cv_func_expl_use=no
58486 fi
58487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58488 ac_ext=c
58489 ac_cpp='$CPP $CPPFLAGS'
58490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58493
58494
58495 fi
58496
58497 fi
58498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58499 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58500
58501 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58502 for ac_func in expl
58503 do :
58504 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58505 if test "x$ac_cv_func_expl" = xyes; then :
58506 cat >>confdefs.h <<_ACEOF
58507 #define HAVE_EXPL 1
58508 _ACEOF
58509
58510 fi
58511 done
58512
58513 else
58514
58515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58516 $as_echo_n "checking for _expl declaration... " >&6; }
58517 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58518 if ${glibcxx_cv_func__expl_use+:} false; then :
58519 $as_echo_n "(cached) " >&6
58520 else
58521
58522
58523 ac_ext=cpp
58524 ac_cpp='$CXXCPP $CPPFLAGS'
58525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58528
58529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58530 /* end confdefs.h. */
58531 #include <math.h>
58532 #ifdef HAVE_IEEEFP_H
58533 #include <ieeefp.h>
58534 #endif
58535
58536 int
58537 main ()
58538 {
58539 _expl(0);
58540 ;
58541 return 0;
58542 }
58543 _ACEOF
58544 if ac_fn_cxx_try_compile "$LINENO"; then :
58545 glibcxx_cv_func__expl_use=yes
58546 else
58547 glibcxx_cv_func__expl_use=no
58548 fi
58549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58550 ac_ext=c
58551 ac_cpp='$CPP $CPPFLAGS'
58552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58555
58556
58557 fi
58558
58559 fi
58560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58561 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58562
58563 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58564 for ac_func in _expl
58565 do :
58566 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58567 if test "x$ac_cv_func__expl" = xyes; then :
58568 cat >>confdefs.h <<_ACEOF
58569 #define HAVE__EXPL 1
58570 _ACEOF
58571
58572 fi
58573 done
58574
58575 fi
58576 fi
58577
58578
58579
58580
58581
58582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58583 $as_echo_n "checking for fabsl declaration... " >&6; }
58584 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58585 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58586 $as_echo_n "(cached) " >&6
58587 else
58588
58589
58590 ac_ext=cpp
58591 ac_cpp='$CXXCPP $CPPFLAGS'
58592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58595
58596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58597 /* end confdefs.h. */
58598 #include <math.h>
58599 #ifdef HAVE_IEEEFP_H
58600 #include <ieeefp.h>
58601 #endif
58602
58603 int
58604 main ()
58605 {
58606 fabsl(0);
58607 ;
58608 return 0;
58609 }
58610 _ACEOF
58611 if ac_fn_cxx_try_compile "$LINENO"; then :
58612 glibcxx_cv_func_fabsl_use=yes
58613 else
58614 glibcxx_cv_func_fabsl_use=no
58615 fi
58616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58617 ac_ext=c
58618 ac_cpp='$CPP $CPPFLAGS'
58619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58622
58623
58624 fi
58625
58626 fi
58627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58628 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58629
58630 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58631 for ac_func in fabsl
58632 do :
58633 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58634 if test "x$ac_cv_func_fabsl" = xyes; then :
58635 cat >>confdefs.h <<_ACEOF
58636 #define HAVE_FABSL 1
58637 _ACEOF
58638
58639 fi
58640 done
58641
58642 else
58643
58644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58645 $as_echo_n "checking for _fabsl declaration... " >&6; }
58646 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58647 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58648 $as_echo_n "(cached) " >&6
58649 else
58650
58651
58652 ac_ext=cpp
58653 ac_cpp='$CXXCPP $CPPFLAGS'
58654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58657
58658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58659 /* end confdefs.h. */
58660 #include <math.h>
58661 #ifdef HAVE_IEEEFP_H
58662 #include <ieeefp.h>
58663 #endif
58664
58665 int
58666 main ()
58667 {
58668 _fabsl(0);
58669 ;
58670 return 0;
58671 }
58672 _ACEOF
58673 if ac_fn_cxx_try_compile "$LINENO"; then :
58674 glibcxx_cv_func__fabsl_use=yes
58675 else
58676 glibcxx_cv_func__fabsl_use=no
58677 fi
58678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58679 ac_ext=c
58680 ac_cpp='$CPP $CPPFLAGS'
58681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58684
58685
58686 fi
58687
58688 fi
58689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58690 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58691
58692 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58693 for ac_func in _fabsl
58694 do :
58695 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58696 if test "x$ac_cv_func__fabsl" = xyes; then :
58697 cat >>confdefs.h <<_ACEOF
58698 #define HAVE__FABSL 1
58699 _ACEOF
58700
58701 fi
58702 done
58703
58704 fi
58705 fi
58706
58707
58708
58709
58710
58711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58712 $as_echo_n "checking for fmodl declaration... " >&6; }
58713 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58714 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58715 $as_echo_n "(cached) " >&6
58716 else
58717
58718
58719 ac_ext=cpp
58720 ac_cpp='$CXXCPP $CPPFLAGS'
58721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58724
58725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58726 /* end confdefs.h. */
58727 #include <math.h>
58728 int
58729 main ()
58730 {
58731 fmodl(0, 0);
58732 ;
58733 return 0;
58734 }
58735 _ACEOF
58736 if ac_fn_cxx_try_compile "$LINENO"; then :
58737 glibcxx_cv_func_fmodl_use=yes
58738 else
58739 glibcxx_cv_func_fmodl_use=no
58740 fi
58741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58742 ac_ext=c
58743 ac_cpp='$CPP $CPPFLAGS'
58744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58747
58748
58749 fi
58750
58751 fi
58752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58753 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58754
58755 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58756 for ac_func in fmodl
58757 do :
58758 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58759 if test "x$ac_cv_func_fmodl" = xyes; then :
58760 cat >>confdefs.h <<_ACEOF
58761 #define HAVE_FMODL 1
58762 _ACEOF
58763
58764 fi
58765 done
58766
58767 else
58768
58769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58770 $as_echo_n "checking for _fmodl declaration... " >&6; }
58771 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58772 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58773 $as_echo_n "(cached) " >&6
58774 else
58775
58776
58777 ac_ext=cpp
58778 ac_cpp='$CXXCPP $CPPFLAGS'
58779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58782
58783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58784 /* end confdefs.h. */
58785 #include <math.h>
58786 int
58787 main ()
58788 {
58789 _fmodl(0, 0);
58790 ;
58791 return 0;
58792 }
58793 _ACEOF
58794 if ac_fn_cxx_try_compile "$LINENO"; then :
58795 glibcxx_cv_func__fmodl_use=yes
58796 else
58797 glibcxx_cv_func__fmodl_use=no
58798 fi
58799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58800 ac_ext=c
58801 ac_cpp='$CPP $CPPFLAGS'
58802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58805
58806
58807 fi
58808
58809 fi
58810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58811 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58812
58813 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58814 for ac_func in _fmodl
58815 do :
58816 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58817 if test "x$ac_cv_func__fmodl" = xyes; then :
58818 cat >>confdefs.h <<_ACEOF
58819 #define HAVE__FMODL 1
58820 _ACEOF
58821
58822 fi
58823 done
58824
58825 fi
58826 fi
58827
58828
58829
58830
58831
58832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58833 $as_echo_n "checking for frexpl declaration... " >&6; }
58834 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58835 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58836 $as_echo_n "(cached) " >&6
58837 else
58838
58839
58840 ac_ext=cpp
58841 ac_cpp='$CXXCPP $CPPFLAGS'
58842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58845
58846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58847 /* end confdefs.h. */
58848 #include <math.h>
58849 int
58850 main ()
58851 {
58852 frexpl(0, 0);
58853 ;
58854 return 0;
58855 }
58856 _ACEOF
58857 if ac_fn_cxx_try_compile "$LINENO"; then :
58858 glibcxx_cv_func_frexpl_use=yes
58859 else
58860 glibcxx_cv_func_frexpl_use=no
58861 fi
58862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58863 ac_ext=c
58864 ac_cpp='$CPP $CPPFLAGS'
58865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58868
58869
58870 fi
58871
58872 fi
58873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58874 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58875
58876 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58877 for ac_func in frexpl
58878 do :
58879 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58880 if test "x$ac_cv_func_frexpl" = xyes; then :
58881 cat >>confdefs.h <<_ACEOF
58882 #define HAVE_FREXPL 1
58883 _ACEOF
58884
58885 fi
58886 done
58887
58888 else
58889
58890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58891 $as_echo_n "checking for _frexpl declaration... " >&6; }
58892 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58893 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58894 $as_echo_n "(cached) " >&6
58895 else
58896
58897
58898 ac_ext=cpp
58899 ac_cpp='$CXXCPP $CPPFLAGS'
58900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58903
58904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58905 /* end confdefs.h. */
58906 #include <math.h>
58907 int
58908 main ()
58909 {
58910 _frexpl(0, 0);
58911 ;
58912 return 0;
58913 }
58914 _ACEOF
58915 if ac_fn_cxx_try_compile "$LINENO"; then :
58916 glibcxx_cv_func__frexpl_use=yes
58917 else
58918 glibcxx_cv_func__frexpl_use=no
58919 fi
58920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58921 ac_ext=c
58922 ac_cpp='$CPP $CPPFLAGS'
58923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58926
58927
58928 fi
58929
58930 fi
58931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58932 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58933
58934 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58935 for ac_func in _frexpl
58936 do :
58937 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58938 if test "x$ac_cv_func__frexpl" = xyes; then :
58939 cat >>confdefs.h <<_ACEOF
58940 #define HAVE__FREXPL 1
58941 _ACEOF
58942
58943 fi
58944 done
58945
58946 fi
58947 fi
58948
58949
58950
58951
58952
58953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58954 $as_echo_n "checking for hypotl declaration... " >&6; }
58955 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58956 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58957 $as_echo_n "(cached) " >&6
58958 else
58959
58960
58961 ac_ext=cpp
58962 ac_cpp='$CXXCPP $CPPFLAGS'
58963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58966
58967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58968 /* end confdefs.h. */
58969 #include <math.h>
58970 int
58971 main ()
58972 {
58973 hypotl(0, 0);
58974 ;
58975 return 0;
58976 }
58977 _ACEOF
58978 if ac_fn_cxx_try_compile "$LINENO"; then :
58979 glibcxx_cv_func_hypotl_use=yes
58980 else
58981 glibcxx_cv_func_hypotl_use=no
58982 fi
58983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58984 ac_ext=c
58985 ac_cpp='$CPP $CPPFLAGS'
58986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58989
58990
58991 fi
58992
58993 fi
58994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58995 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58996
58997 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58998 for ac_func in hypotl
58999 do :
59000 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59001 if test "x$ac_cv_func_hypotl" = xyes; then :
59002 cat >>confdefs.h <<_ACEOF
59003 #define HAVE_HYPOTL 1
59004 _ACEOF
59005
59006 fi
59007 done
59008
59009 else
59010
59011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59012 $as_echo_n "checking for _hypotl declaration... " >&6; }
59013 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59014 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59015 $as_echo_n "(cached) " >&6
59016 else
59017
59018
59019 ac_ext=cpp
59020 ac_cpp='$CXXCPP $CPPFLAGS'
59021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59024
59025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59026 /* end confdefs.h. */
59027 #include <math.h>
59028 int
59029 main ()
59030 {
59031 _hypotl(0, 0);
59032 ;
59033 return 0;
59034 }
59035 _ACEOF
59036 if ac_fn_cxx_try_compile "$LINENO"; then :
59037 glibcxx_cv_func__hypotl_use=yes
59038 else
59039 glibcxx_cv_func__hypotl_use=no
59040 fi
59041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59042 ac_ext=c
59043 ac_cpp='$CPP $CPPFLAGS'
59044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59047
59048
59049 fi
59050
59051 fi
59052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59053 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59054
59055 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59056 for ac_func in _hypotl
59057 do :
59058 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59059 if test "x$ac_cv_func__hypotl" = xyes; then :
59060 cat >>confdefs.h <<_ACEOF
59061 #define HAVE__HYPOTL 1
59062 _ACEOF
59063
59064 fi
59065 done
59066
59067 fi
59068 fi
59069
59070
59071
59072
59073
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59075 $as_echo_n "checking for ldexpl declaration... " >&6; }
59076 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59077 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59078 $as_echo_n "(cached) " >&6
59079 else
59080
59081
59082 ac_ext=cpp
59083 ac_cpp='$CXXCPP $CPPFLAGS'
59084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59087
59088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59089 /* end confdefs.h. */
59090 #include <math.h>
59091 int
59092 main ()
59093 {
59094 ldexpl(0, 0);
59095 ;
59096 return 0;
59097 }
59098 _ACEOF
59099 if ac_fn_cxx_try_compile "$LINENO"; then :
59100 glibcxx_cv_func_ldexpl_use=yes
59101 else
59102 glibcxx_cv_func_ldexpl_use=no
59103 fi
59104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59105 ac_ext=c
59106 ac_cpp='$CPP $CPPFLAGS'
59107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59110
59111
59112 fi
59113
59114 fi
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59116 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59117
59118 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59119 for ac_func in ldexpl
59120 do :
59121 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59122 if test "x$ac_cv_func_ldexpl" = xyes; then :
59123 cat >>confdefs.h <<_ACEOF
59124 #define HAVE_LDEXPL 1
59125 _ACEOF
59126
59127 fi
59128 done
59129
59130 else
59131
59132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59133 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59134 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59135 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59136 $as_echo_n "(cached) " >&6
59137 else
59138
59139
59140 ac_ext=cpp
59141 ac_cpp='$CXXCPP $CPPFLAGS'
59142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59145
59146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59147 /* end confdefs.h. */
59148 #include <math.h>
59149 int
59150 main ()
59151 {
59152 _ldexpl(0, 0);
59153 ;
59154 return 0;
59155 }
59156 _ACEOF
59157 if ac_fn_cxx_try_compile "$LINENO"; then :
59158 glibcxx_cv_func__ldexpl_use=yes
59159 else
59160 glibcxx_cv_func__ldexpl_use=no
59161 fi
59162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59163 ac_ext=c
59164 ac_cpp='$CPP $CPPFLAGS'
59165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59168
59169
59170 fi
59171
59172 fi
59173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59174 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59175
59176 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59177 for ac_func in _ldexpl
59178 do :
59179 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59180 if test "x$ac_cv_func__ldexpl" = xyes; then :
59181 cat >>confdefs.h <<_ACEOF
59182 #define HAVE__LDEXPL 1
59183 _ACEOF
59184
59185 fi
59186 done
59187
59188 fi
59189 fi
59190
59191
59192
59193
59194
59195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59196 $as_echo_n "checking for logl declaration... " >&6; }
59197 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59198 if ${glibcxx_cv_func_logl_use+:} false; then :
59199 $as_echo_n "(cached) " >&6
59200 else
59201
59202
59203 ac_ext=cpp
59204 ac_cpp='$CXXCPP $CPPFLAGS'
59205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59208
59209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59210 /* end confdefs.h. */
59211 #include <math.h>
59212 #ifdef HAVE_IEEEFP_H
59213 #include <ieeefp.h>
59214 #endif
59215
59216 int
59217 main ()
59218 {
59219 logl(0);
59220 ;
59221 return 0;
59222 }
59223 _ACEOF
59224 if ac_fn_cxx_try_compile "$LINENO"; then :
59225 glibcxx_cv_func_logl_use=yes
59226 else
59227 glibcxx_cv_func_logl_use=no
59228 fi
59229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59230 ac_ext=c
59231 ac_cpp='$CPP $CPPFLAGS'
59232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59235
59236
59237 fi
59238
59239 fi
59240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59241 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59242
59243 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59244 for ac_func in logl
59245 do :
59246 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59247 if test "x$ac_cv_func_logl" = xyes; then :
59248 cat >>confdefs.h <<_ACEOF
59249 #define HAVE_LOGL 1
59250 _ACEOF
59251
59252 fi
59253 done
59254
59255 else
59256
59257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59258 $as_echo_n "checking for _logl declaration... " >&6; }
59259 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59260 if ${glibcxx_cv_func__logl_use+:} false; then :
59261 $as_echo_n "(cached) " >&6
59262 else
59263
59264
59265 ac_ext=cpp
59266 ac_cpp='$CXXCPP $CPPFLAGS'
59267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59270
59271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59272 /* end confdefs.h. */
59273 #include <math.h>
59274 #ifdef HAVE_IEEEFP_H
59275 #include <ieeefp.h>
59276 #endif
59277
59278 int
59279 main ()
59280 {
59281 _logl(0);
59282 ;
59283 return 0;
59284 }
59285 _ACEOF
59286 if ac_fn_cxx_try_compile "$LINENO"; then :
59287 glibcxx_cv_func__logl_use=yes
59288 else
59289 glibcxx_cv_func__logl_use=no
59290 fi
59291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59292 ac_ext=c
59293 ac_cpp='$CPP $CPPFLAGS'
59294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59297
59298
59299 fi
59300
59301 fi
59302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59303 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59304
59305 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59306 for ac_func in _logl
59307 do :
59308 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59309 if test "x$ac_cv_func__logl" = xyes; then :
59310 cat >>confdefs.h <<_ACEOF
59311 #define HAVE__LOGL 1
59312 _ACEOF
59313
59314 fi
59315 done
59316
59317 fi
59318 fi
59319
59320
59321
59322
59323
59324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59325 $as_echo_n "checking for log10l declaration... " >&6; }
59326 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59327 if ${glibcxx_cv_func_log10l_use+:} false; then :
59328 $as_echo_n "(cached) " >&6
59329 else
59330
59331
59332 ac_ext=cpp
59333 ac_cpp='$CXXCPP $CPPFLAGS'
59334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59337
59338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59339 /* end confdefs.h. */
59340 #include <math.h>
59341 #ifdef HAVE_IEEEFP_H
59342 #include <ieeefp.h>
59343 #endif
59344
59345 int
59346 main ()
59347 {
59348 log10l(0);
59349 ;
59350 return 0;
59351 }
59352 _ACEOF
59353 if ac_fn_cxx_try_compile "$LINENO"; then :
59354 glibcxx_cv_func_log10l_use=yes
59355 else
59356 glibcxx_cv_func_log10l_use=no
59357 fi
59358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59359 ac_ext=c
59360 ac_cpp='$CPP $CPPFLAGS'
59361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59364
59365
59366 fi
59367
59368 fi
59369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59370 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59371
59372 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59373 for ac_func in log10l
59374 do :
59375 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59376 if test "x$ac_cv_func_log10l" = xyes; then :
59377 cat >>confdefs.h <<_ACEOF
59378 #define HAVE_LOG10L 1
59379 _ACEOF
59380
59381 fi
59382 done
59383
59384 else
59385
59386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59387 $as_echo_n "checking for _log10l declaration... " >&6; }
59388 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59389 if ${glibcxx_cv_func__log10l_use+:} false; then :
59390 $as_echo_n "(cached) " >&6
59391 else
59392
59393
59394 ac_ext=cpp
59395 ac_cpp='$CXXCPP $CPPFLAGS'
59396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59399
59400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59401 /* end confdefs.h. */
59402 #include <math.h>
59403 #ifdef HAVE_IEEEFP_H
59404 #include <ieeefp.h>
59405 #endif
59406
59407 int
59408 main ()
59409 {
59410 _log10l(0);
59411 ;
59412 return 0;
59413 }
59414 _ACEOF
59415 if ac_fn_cxx_try_compile "$LINENO"; then :
59416 glibcxx_cv_func__log10l_use=yes
59417 else
59418 glibcxx_cv_func__log10l_use=no
59419 fi
59420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59421 ac_ext=c
59422 ac_cpp='$CPP $CPPFLAGS'
59423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59426
59427
59428 fi
59429
59430 fi
59431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59432 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59433
59434 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59435 for ac_func in _log10l
59436 do :
59437 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59438 if test "x$ac_cv_func__log10l" = xyes; then :
59439 cat >>confdefs.h <<_ACEOF
59440 #define HAVE__LOG10L 1
59441 _ACEOF
59442
59443 fi
59444 done
59445
59446 fi
59447 fi
59448
59449
59450
59451
59452
59453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59454 $as_echo_n "checking for modfl declaration... " >&6; }
59455 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59456 if ${glibcxx_cv_func_modfl_use+:} false; then :
59457 $as_echo_n "(cached) " >&6
59458 else
59459
59460
59461 ac_ext=cpp
59462 ac_cpp='$CXXCPP $CPPFLAGS'
59463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59466
59467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59468 /* end confdefs.h. */
59469 #include <math.h>
59470 int
59471 main ()
59472 {
59473 modfl(0, 0);
59474 ;
59475 return 0;
59476 }
59477 _ACEOF
59478 if ac_fn_cxx_try_compile "$LINENO"; then :
59479 glibcxx_cv_func_modfl_use=yes
59480 else
59481 glibcxx_cv_func_modfl_use=no
59482 fi
59483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59484 ac_ext=c
59485 ac_cpp='$CPP $CPPFLAGS'
59486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59489
59490
59491 fi
59492
59493 fi
59494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59495 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59496
59497 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59498 for ac_func in modfl
59499 do :
59500 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59501 if test "x$ac_cv_func_modfl" = xyes; then :
59502 cat >>confdefs.h <<_ACEOF
59503 #define HAVE_MODFL 1
59504 _ACEOF
59505
59506 fi
59507 done
59508
59509 else
59510
59511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59512 $as_echo_n "checking for _modfl declaration... " >&6; }
59513 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59514 if ${glibcxx_cv_func__modfl_use+:} false; then :
59515 $as_echo_n "(cached) " >&6
59516 else
59517
59518
59519 ac_ext=cpp
59520 ac_cpp='$CXXCPP $CPPFLAGS'
59521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59524
59525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59526 /* end confdefs.h. */
59527 #include <math.h>
59528 int
59529 main ()
59530 {
59531 _modfl(0, 0);
59532 ;
59533 return 0;
59534 }
59535 _ACEOF
59536 if ac_fn_cxx_try_compile "$LINENO"; then :
59537 glibcxx_cv_func__modfl_use=yes
59538 else
59539 glibcxx_cv_func__modfl_use=no
59540 fi
59541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59542 ac_ext=c
59543 ac_cpp='$CPP $CPPFLAGS'
59544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59547
59548
59549 fi
59550
59551 fi
59552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59553 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59554
59555 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59556 for ac_func in _modfl
59557 do :
59558 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59559 if test "x$ac_cv_func__modfl" = xyes; then :
59560 cat >>confdefs.h <<_ACEOF
59561 #define HAVE__MODFL 1
59562 _ACEOF
59563
59564 fi
59565 done
59566
59567 fi
59568 fi
59569
59570
59571
59572
59573
59574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59575 $as_echo_n "checking for powl declaration... " >&6; }
59576 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59577 if ${glibcxx_cv_func_powl_use+:} false; then :
59578 $as_echo_n "(cached) " >&6
59579 else
59580
59581
59582 ac_ext=cpp
59583 ac_cpp='$CXXCPP $CPPFLAGS'
59584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59587
59588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59589 /* end confdefs.h. */
59590 #include <math.h>
59591 int
59592 main ()
59593 {
59594 powl(0, 0);
59595 ;
59596 return 0;
59597 }
59598 _ACEOF
59599 if ac_fn_cxx_try_compile "$LINENO"; then :
59600 glibcxx_cv_func_powl_use=yes
59601 else
59602 glibcxx_cv_func_powl_use=no
59603 fi
59604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59605 ac_ext=c
59606 ac_cpp='$CPP $CPPFLAGS'
59607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59610
59611
59612 fi
59613
59614 fi
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59616 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59617
59618 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59619 for ac_func in powl
59620 do :
59621 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59622 if test "x$ac_cv_func_powl" = xyes; then :
59623 cat >>confdefs.h <<_ACEOF
59624 #define HAVE_POWL 1
59625 _ACEOF
59626
59627 fi
59628 done
59629
59630 else
59631
59632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59633 $as_echo_n "checking for _powl declaration... " >&6; }
59634 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59635 if ${glibcxx_cv_func__powl_use+:} false; then :
59636 $as_echo_n "(cached) " >&6
59637 else
59638
59639
59640 ac_ext=cpp
59641 ac_cpp='$CXXCPP $CPPFLAGS'
59642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59645
59646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59647 /* end confdefs.h. */
59648 #include <math.h>
59649 int
59650 main ()
59651 {
59652 _powl(0, 0);
59653 ;
59654 return 0;
59655 }
59656 _ACEOF
59657 if ac_fn_cxx_try_compile "$LINENO"; then :
59658 glibcxx_cv_func__powl_use=yes
59659 else
59660 glibcxx_cv_func__powl_use=no
59661 fi
59662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59663 ac_ext=c
59664 ac_cpp='$CPP $CPPFLAGS'
59665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59668
59669
59670 fi
59671
59672 fi
59673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59674 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59675
59676 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59677 for ac_func in _powl
59678 do :
59679 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59680 if test "x$ac_cv_func__powl" = xyes; then :
59681 cat >>confdefs.h <<_ACEOF
59682 #define HAVE__POWL 1
59683 _ACEOF
59684
59685 fi
59686 done
59687
59688 fi
59689 fi
59690
59691
59692
59693
59694
59695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59696 $as_echo_n "checking for sqrtl declaration... " >&6; }
59697 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59698 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59699 $as_echo_n "(cached) " >&6
59700 else
59701
59702
59703 ac_ext=cpp
59704 ac_cpp='$CXXCPP $CPPFLAGS'
59705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59708
59709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59710 /* end confdefs.h. */
59711 #include <math.h>
59712 #ifdef HAVE_IEEEFP_H
59713 #include <ieeefp.h>
59714 #endif
59715
59716 int
59717 main ()
59718 {
59719 sqrtl(0);
59720 ;
59721 return 0;
59722 }
59723 _ACEOF
59724 if ac_fn_cxx_try_compile "$LINENO"; then :
59725 glibcxx_cv_func_sqrtl_use=yes
59726 else
59727 glibcxx_cv_func_sqrtl_use=no
59728 fi
59729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59730 ac_ext=c
59731 ac_cpp='$CPP $CPPFLAGS'
59732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59735
59736
59737 fi
59738
59739 fi
59740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59741 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59742
59743 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59744 for ac_func in sqrtl
59745 do :
59746 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59747 if test "x$ac_cv_func_sqrtl" = xyes; then :
59748 cat >>confdefs.h <<_ACEOF
59749 #define HAVE_SQRTL 1
59750 _ACEOF
59751
59752 fi
59753 done
59754
59755 else
59756
59757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59758 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59759 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59760 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59761 $as_echo_n "(cached) " >&6
59762 else
59763
59764
59765 ac_ext=cpp
59766 ac_cpp='$CXXCPP $CPPFLAGS'
59767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59770
59771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59772 /* end confdefs.h. */
59773 #include <math.h>
59774 #ifdef HAVE_IEEEFP_H
59775 #include <ieeefp.h>
59776 #endif
59777
59778 int
59779 main ()
59780 {
59781 _sqrtl(0);
59782 ;
59783 return 0;
59784 }
59785 _ACEOF
59786 if ac_fn_cxx_try_compile "$LINENO"; then :
59787 glibcxx_cv_func__sqrtl_use=yes
59788 else
59789 glibcxx_cv_func__sqrtl_use=no
59790 fi
59791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59792 ac_ext=c
59793 ac_cpp='$CPP $CPPFLAGS'
59794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59797
59798
59799 fi
59800
59801 fi
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59803 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59804
59805 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59806 for ac_func in _sqrtl
59807 do :
59808 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59809 if test "x$ac_cv_func__sqrtl" = xyes; then :
59810 cat >>confdefs.h <<_ACEOF
59811 #define HAVE__SQRTL 1
59812 _ACEOF
59813
59814 fi
59815 done
59816
59817 fi
59818 fi
59819
59820
59821
59822
59823
59824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59825 $as_echo_n "checking for sincosl declaration... " >&6; }
59826 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59827 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59828 $as_echo_n "(cached) " >&6
59829 else
59830
59831
59832 ac_ext=cpp
59833 ac_cpp='$CXXCPP $CPPFLAGS'
59834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59837
59838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59839 /* end confdefs.h. */
59840 #include <math.h>
59841 int
59842 main ()
59843 {
59844 sincosl(0, 0, 0);
59845 ;
59846 return 0;
59847 }
59848 _ACEOF
59849 if ac_fn_cxx_try_compile "$LINENO"; then :
59850 glibcxx_cv_func_sincosl_use=yes
59851 else
59852 glibcxx_cv_func_sincosl_use=no
59853 fi
59854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59855 ac_ext=c
59856 ac_cpp='$CPP $CPPFLAGS'
59857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59860
59861
59862 fi
59863
59864 fi
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59866 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59867
59868 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59869 for ac_func in sincosl
59870 do :
59871 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59872 if test "x$ac_cv_func_sincosl" = xyes; then :
59873 cat >>confdefs.h <<_ACEOF
59874 #define HAVE_SINCOSL 1
59875 _ACEOF
59876
59877 fi
59878 done
59879
59880 else
59881
59882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59883 $as_echo_n "checking for _sincosl declaration... " >&6; }
59884 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59885 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59886 $as_echo_n "(cached) " >&6
59887 else
59888
59889
59890 ac_ext=cpp
59891 ac_cpp='$CXXCPP $CPPFLAGS'
59892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59895
59896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59897 /* end confdefs.h. */
59898 #include <math.h>
59899 int
59900 main ()
59901 {
59902 _sincosl(0, 0, 0);
59903 ;
59904 return 0;
59905 }
59906 _ACEOF
59907 if ac_fn_cxx_try_compile "$LINENO"; then :
59908 glibcxx_cv_func__sincosl_use=yes
59909 else
59910 glibcxx_cv_func__sincosl_use=no
59911 fi
59912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59913 ac_ext=c
59914 ac_cpp='$CPP $CPPFLAGS'
59915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59918
59919
59920 fi
59921
59922 fi
59923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59924 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59925
59926 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59927 for ac_func in _sincosl
59928 do :
59929 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59930 if test "x$ac_cv_func__sincosl" = xyes; then :
59931 cat >>confdefs.h <<_ACEOF
59932 #define HAVE__SINCOSL 1
59933 _ACEOF
59934
59935 fi
59936 done
59937
59938 fi
59939 fi
59940
59941
59942
59943
59944
59945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59946 $as_echo_n "checking for finitel declaration... " >&6; }
59947 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59948 if ${glibcxx_cv_func_finitel_use+:} false; then :
59949 $as_echo_n "(cached) " >&6
59950 else
59951
59952
59953 ac_ext=cpp
59954 ac_cpp='$CXXCPP $CPPFLAGS'
59955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59958
59959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59960 /* end confdefs.h. */
59961 #include <math.h>
59962 #ifdef HAVE_IEEEFP_H
59963 #include <ieeefp.h>
59964 #endif
59965
59966 int
59967 main ()
59968 {
59969 finitel(0);
59970 ;
59971 return 0;
59972 }
59973 _ACEOF
59974 if ac_fn_cxx_try_compile "$LINENO"; then :
59975 glibcxx_cv_func_finitel_use=yes
59976 else
59977 glibcxx_cv_func_finitel_use=no
59978 fi
59979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59980 ac_ext=c
59981 ac_cpp='$CPP $CPPFLAGS'
59982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59985
59986
59987 fi
59988
59989 fi
59990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59991 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59992
59993 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59994 for ac_func in finitel
59995 do :
59996 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59997 if test "x$ac_cv_func_finitel" = xyes; then :
59998 cat >>confdefs.h <<_ACEOF
59999 #define HAVE_FINITEL 1
60000 _ACEOF
60001
60002 fi
60003 done
60004
60005 else
60006
60007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60008 $as_echo_n "checking for _finitel declaration... " >&6; }
60009 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60010 if ${glibcxx_cv_func__finitel_use+:} false; then :
60011 $as_echo_n "(cached) " >&6
60012 else
60013
60014
60015 ac_ext=cpp
60016 ac_cpp='$CXXCPP $CPPFLAGS'
60017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60020
60021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60022 /* end confdefs.h. */
60023 #include <math.h>
60024 #ifdef HAVE_IEEEFP_H
60025 #include <ieeefp.h>
60026 #endif
60027
60028 int
60029 main ()
60030 {
60031 _finitel(0);
60032 ;
60033 return 0;
60034 }
60035 _ACEOF
60036 if ac_fn_cxx_try_compile "$LINENO"; then :
60037 glibcxx_cv_func__finitel_use=yes
60038 else
60039 glibcxx_cv_func__finitel_use=no
60040 fi
60041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60042 ac_ext=c
60043 ac_cpp='$CPP $CPPFLAGS'
60044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60047
60048
60049 fi
60050
60051 fi
60052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60053 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60054
60055 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60056 for ac_func in _finitel
60057 do :
60058 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60059 if test "x$ac_cv_func__finitel" = xyes; then :
60060 cat >>confdefs.h <<_ACEOF
60061 #define HAVE__FINITEL 1
60062 _ACEOF
60063
60064 fi
60065 done
60066
60067 fi
60068 fi
60069
60070
60071
60072
60073 LIBS="$ac_save_LIBS"
60074 CXXFLAGS="$ac_save_CXXFLAGS"
60075
60076
60077 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60078 ac_save_CXXFLAGS="$CXXFLAGS"
60079 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60080
60081
60082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60083 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60084 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60085 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60086 $as_echo_n "(cached) " >&6
60087 else
60088
60089
60090 ac_ext=cpp
60091 ac_cpp='$CXXCPP $CPPFLAGS'
60092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60095
60096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60097 /* end confdefs.h. */
60098 #include <stdlib.h>
60099 int
60100 main ()
60101 {
60102 at_quick_exit(0);
60103 ;
60104 return 0;
60105 }
60106 _ACEOF
60107 if ac_fn_cxx_try_compile "$LINENO"; then :
60108 glibcxx_cv_func_at_quick_exit_use=yes
60109 else
60110 glibcxx_cv_func_at_quick_exit_use=no
60111 fi
60112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60113 ac_ext=c
60114 ac_cpp='$CPP $CPPFLAGS'
60115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60118
60119
60120 fi
60121
60122 fi
60123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60124 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60125 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60126 for ac_func in at_quick_exit
60127 do :
60128 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60129 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60130 cat >>confdefs.h <<_ACEOF
60131 #define HAVE_AT_QUICK_EXIT 1
60132 _ACEOF
60133
60134 fi
60135 done
60136
60137 fi
60138
60139
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60141 $as_echo_n "checking for quick_exit declaration... " >&6; }
60142 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60143 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60144 $as_echo_n "(cached) " >&6
60145 else
60146
60147
60148 ac_ext=cpp
60149 ac_cpp='$CXXCPP $CPPFLAGS'
60150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60153
60154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60155 /* end confdefs.h. */
60156 #include <stdlib.h>
60157 int
60158 main ()
60159 {
60160 quick_exit(0);
60161 ;
60162 return 0;
60163 }
60164 _ACEOF
60165 if ac_fn_cxx_try_compile "$LINENO"; then :
60166 glibcxx_cv_func_quick_exit_use=yes
60167 else
60168 glibcxx_cv_func_quick_exit_use=no
60169 fi
60170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60171 ac_ext=c
60172 ac_cpp='$CPP $CPPFLAGS'
60173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60176
60177
60178 fi
60179
60180 fi
60181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60182 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60183 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60184 for ac_func in quick_exit
60185 do :
60186 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60187 if test "x$ac_cv_func_quick_exit" = xyes; then :
60188 cat >>confdefs.h <<_ACEOF
60189 #define HAVE_QUICK_EXIT 1
60190 _ACEOF
60191
60192 fi
60193 done
60194
60195 fi
60196
60197
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60199 $as_echo_n "checking for strtold declaration... " >&6; }
60200 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60201 if ${glibcxx_cv_func_strtold_use+:} false; then :
60202 $as_echo_n "(cached) " >&6
60203 else
60204
60205
60206 ac_ext=cpp
60207 ac_cpp='$CXXCPP $CPPFLAGS'
60208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60211
60212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60213 /* end confdefs.h. */
60214 #include <stdlib.h>
60215 int
60216 main ()
60217 {
60218 strtold(0, 0);
60219 ;
60220 return 0;
60221 }
60222 _ACEOF
60223 if ac_fn_cxx_try_compile "$LINENO"; then :
60224 glibcxx_cv_func_strtold_use=yes
60225 else
60226 glibcxx_cv_func_strtold_use=no
60227 fi
60228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60229 ac_ext=c
60230 ac_cpp='$CPP $CPPFLAGS'
60231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60234
60235
60236 fi
60237
60238 fi
60239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60240 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60241 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60242 for ac_func in strtold
60243 do :
60244 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60245 if test "x$ac_cv_func_strtold" = xyes; then :
60246 cat >>confdefs.h <<_ACEOF
60247 #define HAVE_STRTOLD 1
60248 _ACEOF
60249
60250 fi
60251 done
60252
60253 fi
60254
60255
60256
60257
60258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60259 $as_echo_n "checking for strtof declaration... " >&6; }
60260 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60261 if ${glibcxx_cv_func_strtof_use+:} false; then :
60262 $as_echo_n "(cached) " >&6
60263 else
60264
60265
60266 ac_ext=cpp
60267 ac_cpp='$CXXCPP $CPPFLAGS'
60268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60271
60272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60273 /* end confdefs.h. */
60274 #include <stdlib.h>
60275 int
60276 main ()
60277 {
60278 strtof(0, 0);
60279 ;
60280 return 0;
60281 }
60282 _ACEOF
60283 if ac_fn_cxx_try_compile "$LINENO"; then :
60284 glibcxx_cv_func_strtof_use=yes
60285 else
60286 glibcxx_cv_func_strtof_use=no
60287 fi
60288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60289 ac_ext=c
60290 ac_cpp='$CPP $CPPFLAGS'
60291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60294
60295
60296 fi
60297
60298 fi
60299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60300 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60301 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60302 for ac_func in strtof
60303 do :
60304 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60305 if test "x$ac_cv_func_strtof" = xyes; then :
60306 cat >>confdefs.h <<_ACEOF
60307 #define HAVE_STRTOF 1
60308 _ACEOF
60309
60310 fi
60311 done
60312
60313 fi
60314
60315
60316
60317
60318 CXXFLAGS="$ac_save_CXXFLAGS"
60319
60320 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60321 do :
60322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60325 cat >>confdefs.h <<_ACEOF
60326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60327 _ACEOF
60328
60329 fi
60330 done
60331
60332 for ac_func in _wfopen
60333 do :
60334 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60335 if test "x$ac_cv_func__wfopen" = xyes; then :
60336 cat >>confdefs.h <<_ACEOF
60337 #define HAVE__WFOPEN 1
60338 _ACEOF
60339
60340 fi
60341 done
60342
60343 ;;
60344 *-netbsd* | *-openbsd*)
60345 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60346
60347
60348 # If we're not using GNU ld, then there's no point in even trying these
60349 # tests. Check for that first. We should have already tested for gld
60350 # by now (in libtool), but require it now just to be safe...
60351 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60352 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60353
60354
60355
60356 # The name set by libtool depends on the version of libtool. Shame on us
60357 # for depending on an impl detail, but c'est la vie. Older versions used
60358 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60359 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60360 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60361 # set (hence we're using an older libtool), then set it.
60362 if test x${with_gnu_ld+set} != xset; then
60363 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60364 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60365 with_gnu_ld=no
60366 else
60367 with_gnu_ld=$ac_cv_prog_gnu_ld
60368 fi
60369 fi
60370
60371 # Start by getting the version number. I think the libtool test already
60372 # does some of this, but throws away the result.
60373 glibcxx_ld_is_gold=no
60374 if test x"$with_gnu_ld" = x"yes"; then
60375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60376 $as_echo_n "checking for ld version... " >&6; }
60377
60378 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60379 glibcxx_ld_is_gold=yes
60380 fi
60381 ldver=`$LD --version 2>/dev/null |
60382 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60383
60384 glibcxx_gnu_ld_version=`echo $ldver | \
60385 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60387 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60388 fi
60389
60390 # Set --gc-sections.
60391 glibcxx_have_gc_sections=no
60392 if test "$glibcxx_ld_is_gold" = "yes"; then
60393 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60394 glibcxx_have_gc_sections=yes
60395 fi
60396 else
60397 glibcxx_gcsections_min_ld=21602
60398 if test x"$with_gnu_ld" = x"yes" &&
60399 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60400 glibcxx_have_gc_sections=yes
60401 fi
60402 fi
60403 if test "$glibcxx_have_gc_sections" = "yes"; then
60404 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60405 # NB: This flag only works reliably after 2.16.1. Configure tests
60406 # for this are difficult, so hard wire a value that should work.
60407
60408 ac_test_CFLAGS="${CFLAGS+set}"
60409 ac_save_CFLAGS="$CFLAGS"
60410 CFLAGS='-Wl,--gc-sections'
60411
60412 # Check for -Wl,--gc-sections
60413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60414 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60415 if test x$gcc_no_link = xyes; then
60416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60417 fi
60418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60419 /* end confdefs.h. */
60420 int one(void) { return 1; }
60421 int two(void) { return 2; }
60422
60423 int
60424 main ()
60425 {
60426 two();
60427 ;
60428 return 0;
60429 }
60430 _ACEOF
60431 if ac_fn_c_try_link "$LINENO"; then :
60432 ac_gcsections=yes
60433 else
60434 ac_gcsections=no
60435 fi
60436 rm -f core conftest.err conftest.$ac_objext \
60437 conftest$ac_exeext conftest.$ac_ext
60438 if test "$ac_gcsections" = "yes"; then
60439 rm -f conftest.c
60440 touch conftest.c
60441 if $CC -c conftest.c; then
60442 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60443 grep "Warning: gc-sections option ignored" > /dev/null; then
60444 ac_gcsections=no
60445 fi
60446 fi
60447 rm -f conftest.c conftest.o conftest
60448 fi
60449 if test "$ac_gcsections" = "yes"; then
60450 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60451 fi
60452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60453 $as_echo "$ac_gcsections" >&6; }
60454
60455 if test "$ac_test_CFLAGS" = set; then
60456 CFLAGS="$ac_save_CFLAGS"
60457 else
60458 # this is the suspicious part
60459 CFLAGS=''
60460 fi
60461 fi
60462
60463 # Set -z,relro.
60464 # Note this is only for shared objects.
60465 ac_ld_relro=no
60466 if test x"$with_gnu_ld" = x"yes"; then
60467 # cygwin and mingw uses PE, which has no ELF relro support,
60468 # multi target ld may confuse configure machinery
60469 case "$host" in
60470 *-*-cygwin*)
60471 ;;
60472 *-*-mingw*)
60473 ;;
60474 *)
60475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60476 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60477 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60478 if test -n "$cxx_z_relo"; then
60479 OPT_LDFLAGS="-Wl,-z,relro"
60480 ac_ld_relro=yes
60481 fi
60482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60483 $as_echo "$ac_ld_relro" >&6; }
60484 esac
60485 fi
60486
60487 # Set linker optimization flags.
60488 if test x"$with_gnu_ld" = x"yes"; then
60489 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60490 fi
60491
60492
60493
60494
60495 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60496
60497 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60498
60499 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60500
60501 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60502
60503 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60504
60505 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60506
60507 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60508
60509 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60510
60511 if test x"long_double_math_on_this_cpu" = x"yes"; then
60512 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60513
60514 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60515
60516 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60517
60518 fi
60519 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60520 do :
60521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60524 cat >>confdefs.h <<_ACEOF
60525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60526 _ACEOF
60527
60528 fi
60529 done
60530
60531 for ac_func in timespec_get
60532 do :
60533 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60534 if test "x$ac_cv_func_timespec_get" = xyes; then :
60535 cat >>confdefs.h <<_ACEOF
60536 #define HAVE_TIMESPEC_GET 1
60537 _ACEOF
60538
60539 fi
60540 done
60541
60542 for ac_func in sockatmark
60543 do :
60544 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60545 if test "x$ac_cv_func_sockatmark" = xyes; then :
60546 cat >>confdefs.h <<_ACEOF
60547 #define HAVE_SOCKATMARK 1
60548 _ACEOF
60549
60550 fi
60551 done
60552
60553 ;;
60554 *-qnx6.1* | *-qnx6.2*)
60555 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60556
60557
60558 # If we're not using GNU ld, then there's no point in even trying these
60559 # tests. Check for that first. We should have already tested for gld
60560 # by now (in libtool), but require it now just to be safe...
60561 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60562 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60563
60564
60565
60566 # The name set by libtool depends on the version of libtool. Shame on us
60567 # for depending on an impl detail, but c'est la vie. Older versions used
60568 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60569 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60570 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60571 # set (hence we're using an older libtool), then set it.
60572 if test x${with_gnu_ld+set} != xset; then
60573 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60574 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60575 with_gnu_ld=no
60576 else
60577 with_gnu_ld=$ac_cv_prog_gnu_ld
60578 fi
60579 fi
60580
60581 # Start by getting the version number. I think the libtool test already
60582 # does some of this, but throws away the result.
60583 glibcxx_ld_is_gold=no
60584 if test x"$with_gnu_ld" = x"yes"; then
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60586 $as_echo_n "checking for ld version... " >&6; }
60587
60588 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60589 glibcxx_ld_is_gold=yes
60590 fi
60591 ldver=`$LD --version 2>/dev/null |
60592 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60593
60594 glibcxx_gnu_ld_version=`echo $ldver | \
60595 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60597 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60598 fi
60599
60600 # Set --gc-sections.
60601 glibcxx_have_gc_sections=no
60602 if test "$glibcxx_ld_is_gold" = "yes"; then
60603 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60604 glibcxx_have_gc_sections=yes
60605 fi
60606 else
60607 glibcxx_gcsections_min_ld=21602
60608 if test x"$with_gnu_ld" = x"yes" &&
60609 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60610 glibcxx_have_gc_sections=yes
60611 fi
60612 fi
60613 if test "$glibcxx_have_gc_sections" = "yes"; then
60614 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60615 # NB: This flag only works reliably after 2.16.1. Configure tests
60616 # for this are difficult, so hard wire a value that should work.
60617
60618 ac_test_CFLAGS="${CFLAGS+set}"
60619 ac_save_CFLAGS="$CFLAGS"
60620 CFLAGS='-Wl,--gc-sections'
60621
60622 # Check for -Wl,--gc-sections
60623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60624 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60625 if test x$gcc_no_link = xyes; then
60626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60627 fi
60628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60629 /* end confdefs.h. */
60630 int one(void) { return 1; }
60631 int two(void) { return 2; }
60632
60633 int
60634 main ()
60635 {
60636 two();
60637 ;
60638 return 0;
60639 }
60640 _ACEOF
60641 if ac_fn_c_try_link "$LINENO"; then :
60642 ac_gcsections=yes
60643 else
60644 ac_gcsections=no
60645 fi
60646 rm -f core conftest.err conftest.$ac_objext \
60647 conftest$ac_exeext conftest.$ac_ext
60648 if test "$ac_gcsections" = "yes"; then
60649 rm -f conftest.c
60650 touch conftest.c
60651 if $CC -c conftest.c; then
60652 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60653 grep "Warning: gc-sections option ignored" > /dev/null; then
60654 ac_gcsections=no
60655 fi
60656 fi
60657 rm -f conftest.c conftest.o conftest
60658 fi
60659 if test "$ac_gcsections" = "yes"; then
60660 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60661 fi
60662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60663 $as_echo "$ac_gcsections" >&6; }
60664
60665 if test "$ac_test_CFLAGS" = set; then
60666 CFLAGS="$ac_save_CFLAGS"
60667 else
60668 # this is the suspicious part
60669 CFLAGS=''
60670 fi
60671 fi
60672
60673 # Set -z,relro.
60674 # Note this is only for shared objects.
60675 ac_ld_relro=no
60676 if test x"$with_gnu_ld" = x"yes"; then
60677 # cygwin and mingw uses PE, which has no ELF relro support,
60678 # multi target ld may confuse configure machinery
60679 case "$host" in
60680 *-*-cygwin*)
60681 ;;
60682 *-*-mingw*)
60683 ;;
60684 *)
60685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60686 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60687 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60688 if test -n "$cxx_z_relo"; then
60689 OPT_LDFLAGS="-Wl,-z,relro"
60690 ac_ld_relro=yes
60691 fi
60692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60693 $as_echo "$ac_ld_relro" >&6; }
60694 esac
60695 fi
60696
60697 # Set linker optimization flags.
60698 if test x"$with_gnu_ld" = x"yes"; then
60699 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60700 fi
60701
60702
60703
60704
60705 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60706
60707 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60708
60709 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60710
60711 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60712
60713 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60714
60715 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60716
60717 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60718
60719 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60720
60721 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60722
60723 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60724
60725 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60726
60727 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60728
60729 ;;
60730 *-rtems*)
60731
60732 # All these tests are for C++; save the language and the compiler flags.
60733 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60734 # found in GLIBCXX_CONFIGURE.
60735
60736 ac_ext=cpp
60737 ac_cpp='$CXXCPP $CPPFLAGS'
60738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60741
60742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60743 ac_save_CXXFLAGS="$CXXFLAGS"
60744
60745 # Check for -ffunction-sections -fdata-sections
60746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60747 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60748 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 int foo; void bar() { };
60752 int
60753 main ()
60754 {
60755
60756 ;
60757 return 0;
60758 }
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 ac_fdsections=yes
60762 else
60763 ac_fdsections=no
60764 fi
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 if test "$ac_test_CXXFLAGS" = set; then
60767 CXXFLAGS="$ac_save_CXXFLAGS"
60768 else
60769 # this is the suspicious part
60770 CXXFLAGS=''
60771 fi
60772 if test x"$ac_fdsections" = x"yes"; then
60773 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60774 fi
60775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60776 $as_echo "$ac_fdsections" >&6; }
60777
60778 ac_ext=c
60779 ac_cpp='$CPP $CPPFLAGS'
60780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60783
60784
60785
60786
60787 # If we're not using GNU ld, then there's no point in even trying these
60788 # tests. Check for that first. We should have already tested for gld
60789 # by now (in libtool), but require it now just to be safe...
60790 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60791 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60792
60793
60794
60795 # The name set by libtool depends on the version of libtool. Shame on us
60796 # for depending on an impl detail, but c'est la vie. Older versions used
60797 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60798 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60799 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60800 # set (hence we're using an older libtool), then set it.
60801 if test x${with_gnu_ld+set} != xset; then
60802 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60803 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60804 with_gnu_ld=no
60805 else
60806 with_gnu_ld=$ac_cv_prog_gnu_ld
60807 fi
60808 fi
60809
60810 # Start by getting the version number. I think the libtool test already
60811 # does some of this, but throws away the result.
60812 glibcxx_ld_is_gold=no
60813 if test x"$with_gnu_ld" = x"yes"; then
60814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60815 $as_echo_n "checking for ld version... " >&6; }
60816
60817 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60818 glibcxx_ld_is_gold=yes
60819 fi
60820 ldver=`$LD --version 2>/dev/null |
60821 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60822
60823 glibcxx_gnu_ld_version=`echo $ldver | \
60824 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60826 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60827 fi
60828
60829 # Set --gc-sections.
60830 glibcxx_have_gc_sections=no
60831 if test "$glibcxx_ld_is_gold" = "yes"; then
60832 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60833 glibcxx_have_gc_sections=yes
60834 fi
60835 else
60836 glibcxx_gcsections_min_ld=21602
60837 if test x"$with_gnu_ld" = x"yes" &&
60838 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60839 glibcxx_have_gc_sections=yes
60840 fi
60841 fi
60842 if test "$glibcxx_have_gc_sections" = "yes"; then
60843 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60844 # NB: This flag only works reliably after 2.16.1. Configure tests
60845 # for this are difficult, so hard wire a value that should work.
60846
60847 ac_test_CFLAGS="${CFLAGS+set}"
60848 ac_save_CFLAGS="$CFLAGS"
60849 CFLAGS='-Wl,--gc-sections'
60850
60851 # Check for -Wl,--gc-sections
60852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60853 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60854 if test x$gcc_no_link = xyes; then
60855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60856 fi
60857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60858 /* end confdefs.h. */
60859 int one(void) { return 1; }
60860 int two(void) { return 2; }
60861
60862 int
60863 main ()
60864 {
60865 two();
60866 ;
60867 return 0;
60868 }
60869 _ACEOF
60870 if ac_fn_c_try_link "$LINENO"; then :
60871 ac_gcsections=yes
60872 else
60873 ac_gcsections=no
60874 fi
60875 rm -f core conftest.err conftest.$ac_objext \
60876 conftest$ac_exeext conftest.$ac_ext
60877 if test "$ac_gcsections" = "yes"; then
60878 rm -f conftest.c
60879 touch conftest.c
60880 if $CC -c conftest.c; then
60881 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60882 grep "Warning: gc-sections option ignored" > /dev/null; then
60883 ac_gcsections=no
60884 fi
60885 fi
60886 rm -f conftest.c conftest.o conftest
60887 fi
60888 if test "$ac_gcsections" = "yes"; then
60889 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60890 fi
60891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60892 $as_echo "$ac_gcsections" >&6; }
60893
60894 if test "$ac_test_CFLAGS" = set; then
60895 CFLAGS="$ac_save_CFLAGS"
60896 else
60897 # this is the suspicious part
60898 CFLAGS=''
60899 fi
60900 fi
60901
60902 # Set -z,relro.
60903 # Note this is only for shared objects.
60904 ac_ld_relro=no
60905 if test x"$with_gnu_ld" = x"yes"; then
60906 # cygwin and mingw uses PE, which has no ELF relro support,
60907 # multi target ld may confuse configure machinery
60908 case "$host" in
60909 *-*-cygwin*)
60910 ;;
60911 *-*-mingw*)
60912 ;;
60913 *)
60914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60915 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60916 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60917 if test -n "$cxx_z_relo"; then
60918 OPT_LDFLAGS="-Wl,-z,relro"
60919 ac_ld_relro=yes
60920 fi
60921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60922 $as_echo "$ac_ld_relro" >&6; }
60923 esac
60924 fi
60925
60926 # Set linker optimization flags.
60927 if test x"$with_gnu_ld" = x"yes"; then
60928 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60929 fi
60930
60931
60932
60933
60934
60935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60936 ac_save_CXXFLAGS="$CXXFLAGS"
60937 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60938
60939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60940 $as_echo_n "checking for sin in -lm... " >&6; }
60941 if ${ac_cv_lib_m_sin+:} false; then :
60942 $as_echo_n "(cached) " >&6
60943 else
60944 ac_check_lib_save_LIBS=$LIBS
60945 LIBS="-lm $LIBS"
60946 if test x$gcc_no_link = xyes; then
60947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60948 fi
60949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60950 /* end confdefs.h. */
60951
60952 /* Override any GCC internal prototype to avoid an error.
60953 Use char because int might match the return type of a GCC
60954 builtin and then its argument prototype would still apply. */
60955 #ifdef __cplusplus
60956 extern "C"
60957 #endif
60958 char sin ();
60959 int
60960 main ()
60961 {
60962 return sin ();
60963 ;
60964 return 0;
60965 }
60966 _ACEOF
60967 if ac_fn_c_try_link "$LINENO"; then :
60968 ac_cv_lib_m_sin=yes
60969 else
60970 ac_cv_lib_m_sin=no
60971 fi
60972 rm -f core conftest.err conftest.$ac_objext \
60973 conftest$ac_exeext conftest.$ac_ext
60974 LIBS=$ac_check_lib_save_LIBS
60975 fi
60976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60977 $as_echo "$ac_cv_lib_m_sin" >&6; }
60978 if test "x$ac_cv_lib_m_sin" = xyes; then :
60979 libm="-lm"
60980 fi
60981
60982 ac_save_LIBS="$LIBS"
60983 LIBS="$LIBS $libm"
60984
60985
60986
60987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60988 $as_echo_n "checking for isinf declaration... " >&6; }
60989 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60990 if ${glibcxx_cv_func_isinf_use+:} false; then :
60991 $as_echo_n "(cached) " >&6
60992 else
60993
60994
60995 ac_ext=cpp
60996 ac_cpp='$CXXCPP $CPPFLAGS'
60997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61000
61001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61002 /* end confdefs.h. */
61003 #include <math.h>
61004 #ifdef HAVE_IEEEFP_H
61005 #include <ieeefp.h>
61006 #endif
61007
61008 int
61009 main ()
61010 {
61011 isinf(0);
61012 ;
61013 return 0;
61014 }
61015 _ACEOF
61016 if ac_fn_cxx_try_compile "$LINENO"; then :
61017 glibcxx_cv_func_isinf_use=yes
61018 else
61019 glibcxx_cv_func_isinf_use=no
61020 fi
61021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61022 ac_ext=c
61023 ac_cpp='$CPP $CPPFLAGS'
61024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61027
61028
61029 fi
61030
61031 fi
61032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61034
61035 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61036 for ac_func in isinf
61037 do :
61038 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61039 if test "x$ac_cv_func_isinf" = xyes; then :
61040 cat >>confdefs.h <<_ACEOF
61041 #define HAVE_ISINF 1
61042 _ACEOF
61043
61044 fi
61045 done
61046
61047 else
61048
61049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61050 $as_echo_n "checking for _isinf declaration... " >&6; }
61051 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61052 if ${glibcxx_cv_func__isinf_use+:} false; then :
61053 $as_echo_n "(cached) " >&6
61054 else
61055
61056
61057 ac_ext=cpp
61058 ac_cpp='$CXXCPP $CPPFLAGS'
61059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61062
61063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61064 /* end confdefs.h. */
61065 #include <math.h>
61066 #ifdef HAVE_IEEEFP_H
61067 #include <ieeefp.h>
61068 #endif
61069
61070 int
61071 main ()
61072 {
61073 _isinf(0);
61074 ;
61075 return 0;
61076 }
61077 _ACEOF
61078 if ac_fn_cxx_try_compile "$LINENO"; then :
61079 glibcxx_cv_func__isinf_use=yes
61080 else
61081 glibcxx_cv_func__isinf_use=no
61082 fi
61083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61084 ac_ext=c
61085 ac_cpp='$CPP $CPPFLAGS'
61086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61089
61090
61091 fi
61092
61093 fi
61094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61096
61097 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61098 for ac_func in _isinf
61099 do :
61100 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61101 if test "x$ac_cv_func__isinf" = xyes; then :
61102 cat >>confdefs.h <<_ACEOF
61103 #define HAVE__ISINF 1
61104 _ACEOF
61105
61106 fi
61107 done
61108
61109 fi
61110 fi
61111
61112
61113
61114
61115
61116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61117 $as_echo_n "checking for isnan declaration... " >&6; }
61118 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61119 if ${glibcxx_cv_func_isnan_use+:} false; then :
61120 $as_echo_n "(cached) " >&6
61121 else
61122
61123
61124 ac_ext=cpp
61125 ac_cpp='$CXXCPP $CPPFLAGS'
61126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61129
61130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61131 /* end confdefs.h. */
61132 #include <math.h>
61133 #ifdef HAVE_IEEEFP_H
61134 #include <ieeefp.h>
61135 #endif
61136
61137 int
61138 main ()
61139 {
61140 isnan(0);
61141 ;
61142 return 0;
61143 }
61144 _ACEOF
61145 if ac_fn_cxx_try_compile "$LINENO"; then :
61146 glibcxx_cv_func_isnan_use=yes
61147 else
61148 glibcxx_cv_func_isnan_use=no
61149 fi
61150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61151 ac_ext=c
61152 ac_cpp='$CPP $CPPFLAGS'
61153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61156
61157
61158 fi
61159
61160 fi
61161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61163
61164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61165 for ac_func in isnan
61166 do :
61167 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61168 if test "x$ac_cv_func_isnan" = xyes; then :
61169 cat >>confdefs.h <<_ACEOF
61170 #define HAVE_ISNAN 1
61171 _ACEOF
61172
61173 fi
61174 done
61175
61176 else
61177
61178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61179 $as_echo_n "checking for _isnan declaration... " >&6; }
61180 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61181 if ${glibcxx_cv_func__isnan_use+:} false; then :
61182 $as_echo_n "(cached) " >&6
61183 else
61184
61185
61186 ac_ext=cpp
61187 ac_cpp='$CXXCPP $CPPFLAGS'
61188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61191
61192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61193 /* end confdefs.h. */
61194 #include <math.h>
61195 #ifdef HAVE_IEEEFP_H
61196 #include <ieeefp.h>
61197 #endif
61198
61199 int
61200 main ()
61201 {
61202 _isnan(0);
61203 ;
61204 return 0;
61205 }
61206 _ACEOF
61207 if ac_fn_cxx_try_compile "$LINENO"; then :
61208 glibcxx_cv_func__isnan_use=yes
61209 else
61210 glibcxx_cv_func__isnan_use=no
61211 fi
61212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61213 ac_ext=c
61214 ac_cpp='$CPP $CPPFLAGS'
61215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61218
61219
61220 fi
61221
61222 fi
61223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61225
61226 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61227 for ac_func in _isnan
61228 do :
61229 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61230 if test "x$ac_cv_func__isnan" = xyes; then :
61231 cat >>confdefs.h <<_ACEOF
61232 #define HAVE__ISNAN 1
61233 _ACEOF
61234
61235 fi
61236 done
61237
61238 fi
61239 fi
61240
61241
61242
61243
61244
61245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61246 $as_echo_n "checking for finite declaration... " >&6; }
61247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61248 if ${glibcxx_cv_func_finite_use+:} false; then :
61249 $as_echo_n "(cached) " >&6
61250 else
61251
61252
61253 ac_ext=cpp
61254 ac_cpp='$CXXCPP $CPPFLAGS'
61255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61258
61259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61260 /* end confdefs.h. */
61261 #include <math.h>
61262 #ifdef HAVE_IEEEFP_H
61263 #include <ieeefp.h>
61264 #endif
61265
61266 int
61267 main ()
61268 {
61269 finite(0);
61270 ;
61271 return 0;
61272 }
61273 _ACEOF
61274 if ac_fn_cxx_try_compile "$LINENO"; then :
61275 glibcxx_cv_func_finite_use=yes
61276 else
61277 glibcxx_cv_func_finite_use=no
61278 fi
61279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61280 ac_ext=c
61281 ac_cpp='$CPP $CPPFLAGS'
61282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61285
61286
61287 fi
61288
61289 fi
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61292
61293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61294 for ac_func in finite
61295 do :
61296 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61297 if test "x$ac_cv_func_finite" = xyes; then :
61298 cat >>confdefs.h <<_ACEOF
61299 #define HAVE_FINITE 1
61300 _ACEOF
61301
61302 fi
61303 done
61304
61305 else
61306
61307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61308 $as_echo_n "checking for _finite declaration... " >&6; }
61309 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61310 if ${glibcxx_cv_func__finite_use+:} false; then :
61311 $as_echo_n "(cached) " >&6
61312 else
61313
61314
61315 ac_ext=cpp
61316 ac_cpp='$CXXCPP $CPPFLAGS'
61317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61320
61321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61322 /* end confdefs.h. */
61323 #include <math.h>
61324 #ifdef HAVE_IEEEFP_H
61325 #include <ieeefp.h>
61326 #endif
61327
61328 int
61329 main ()
61330 {
61331 _finite(0);
61332 ;
61333 return 0;
61334 }
61335 _ACEOF
61336 if ac_fn_cxx_try_compile "$LINENO"; then :
61337 glibcxx_cv_func__finite_use=yes
61338 else
61339 glibcxx_cv_func__finite_use=no
61340 fi
61341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61342 ac_ext=c
61343 ac_cpp='$CPP $CPPFLAGS'
61344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61347
61348
61349 fi
61350
61351 fi
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61354
61355 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61356 for ac_func in _finite
61357 do :
61358 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61359 if test "x$ac_cv_func__finite" = xyes; then :
61360 cat >>confdefs.h <<_ACEOF
61361 #define HAVE__FINITE 1
61362 _ACEOF
61363
61364 fi
61365 done
61366
61367 fi
61368 fi
61369
61370
61371
61372
61373
61374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61375 $as_echo_n "checking for sincos declaration... " >&6; }
61376 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61377 if ${glibcxx_cv_func_sincos_use+:} false; then :
61378 $as_echo_n "(cached) " >&6
61379 else
61380
61381
61382 ac_ext=cpp
61383 ac_cpp='$CXXCPP $CPPFLAGS'
61384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61387
61388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61389 /* end confdefs.h. */
61390 #include <math.h>
61391 int
61392 main ()
61393 {
61394 sincos(0, 0, 0);
61395 ;
61396 return 0;
61397 }
61398 _ACEOF
61399 if ac_fn_cxx_try_compile "$LINENO"; then :
61400 glibcxx_cv_func_sincos_use=yes
61401 else
61402 glibcxx_cv_func_sincos_use=no
61403 fi
61404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61405 ac_ext=c
61406 ac_cpp='$CPP $CPPFLAGS'
61407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61410
61411
61412 fi
61413
61414 fi
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61417
61418 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61419 for ac_func in sincos
61420 do :
61421 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61422 if test "x$ac_cv_func_sincos" = xyes; then :
61423 cat >>confdefs.h <<_ACEOF
61424 #define HAVE_SINCOS 1
61425 _ACEOF
61426
61427 fi
61428 done
61429
61430 else
61431
61432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61433 $as_echo_n "checking for _sincos declaration... " >&6; }
61434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61435 if ${glibcxx_cv_func__sincos_use+:} false; then :
61436 $as_echo_n "(cached) " >&6
61437 else
61438
61439
61440 ac_ext=cpp
61441 ac_cpp='$CXXCPP $CPPFLAGS'
61442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61445
61446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61447 /* end confdefs.h. */
61448 #include <math.h>
61449 int
61450 main ()
61451 {
61452 _sincos(0, 0, 0);
61453 ;
61454 return 0;
61455 }
61456 _ACEOF
61457 if ac_fn_cxx_try_compile "$LINENO"; then :
61458 glibcxx_cv_func__sincos_use=yes
61459 else
61460 glibcxx_cv_func__sincos_use=no
61461 fi
61462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61463 ac_ext=c
61464 ac_cpp='$CPP $CPPFLAGS'
61465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61468
61469
61470 fi
61471
61472 fi
61473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61475
61476 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61477 for ac_func in _sincos
61478 do :
61479 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61480 if test "x$ac_cv_func__sincos" = xyes; then :
61481 cat >>confdefs.h <<_ACEOF
61482 #define HAVE__SINCOS 1
61483 _ACEOF
61484
61485 fi
61486 done
61487
61488 fi
61489 fi
61490
61491
61492
61493
61494
61495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61496 $as_echo_n "checking for fpclass declaration... " >&6; }
61497 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61498 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61499 $as_echo_n "(cached) " >&6
61500 else
61501
61502
61503 ac_ext=cpp
61504 ac_cpp='$CXXCPP $CPPFLAGS'
61505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61508
61509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61510 /* end confdefs.h. */
61511 #include <math.h>
61512 #ifdef HAVE_IEEEFP_H
61513 #include <ieeefp.h>
61514 #endif
61515
61516 int
61517 main ()
61518 {
61519 fpclass(0);
61520 ;
61521 return 0;
61522 }
61523 _ACEOF
61524 if ac_fn_cxx_try_compile "$LINENO"; then :
61525 glibcxx_cv_func_fpclass_use=yes
61526 else
61527 glibcxx_cv_func_fpclass_use=no
61528 fi
61529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61530 ac_ext=c
61531 ac_cpp='$CPP $CPPFLAGS'
61532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61535
61536
61537 fi
61538
61539 fi
61540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61542
61543 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61544 for ac_func in fpclass
61545 do :
61546 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61547 if test "x$ac_cv_func_fpclass" = xyes; then :
61548 cat >>confdefs.h <<_ACEOF
61549 #define HAVE_FPCLASS 1
61550 _ACEOF
61551
61552 fi
61553 done
61554
61555 else
61556
61557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61558 $as_echo_n "checking for _fpclass declaration... " >&6; }
61559 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61560 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61561 $as_echo_n "(cached) " >&6
61562 else
61563
61564
61565 ac_ext=cpp
61566 ac_cpp='$CXXCPP $CPPFLAGS'
61567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61570
61571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61572 /* end confdefs.h. */
61573 #include <math.h>
61574 #ifdef HAVE_IEEEFP_H
61575 #include <ieeefp.h>
61576 #endif
61577
61578 int
61579 main ()
61580 {
61581 _fpclass(0);
61582 ;
61583 return 0;
61584 }
61585 _ACEOF
61586 if ac_fn_cxx_try_compile "$LINENO"; then :
61587 glibcxx_cv_func__fpclass_use=yes
61588 else
61589 glibcxx_cv_func__fpclass_use=no
61590 fi
61591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61592 ac_ext=c
61593 ac_cpp='$CPP $CPPFLAGS'
61594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61597
61598
61599 fi
61600
61601 fi
61602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61604
61605 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61606 for ac_func in _fpclass
61607 do :
61608 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61609 if test "x$ac_cv_func__fpclass" = xyes; then :
61610 cat >>confdefs.h <<_ACEOF
61611 #define HAVE__FPCLASS 1
61612 _ACEOF
61613
61614 fi
61615 done
61616
61617 fi
61618 fi
61619
61620
61621
61622
61623
61624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61625 $as_echo_n "checking for qfpclass declaration... " >&6; }
61626 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61627 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61628 $as_echo_n "(cached) " >&6
61629 else
61630
61631
61632 ac_ext=cpp
61633 ac_cpp='$CXXCPP $CPPFLAGS'
61634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61637
61638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61639 /* end confdefs.h. */
61640 #include <math.h>
61641 #ifdef HAVE_IEEEFP_H
61642 #include <ieeefp.h>
61643 #endif
61644
61645 int
61646 main ()
61647 {
61648 qfpclass(0);
61649 ;
61650 return 0;
61651 }
61652 _ACEOF
61653 if ac_fn_cxx_try_compile "$LINENO"; then :
61654 glibcxx_cv_func_qfpclass_use=yes
61655 else
61656 glibcxx_cv_func_qfpclass_use=no
61657 fi
61658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61659 ac_ext=c
61660 ac_cpp='$CPP $CPPFLAGS'
61661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61664
61665
61666 fi
61667
61668 fi
61669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61671
61672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61673 for ac_func in qfpclass
61674 do :
61675 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61676 if test "x$ac_cv_func_qfpclass" = xyes; then :
61677 cat >>confdefs.h <<_ACEOF
61678 #define HAVE_QFPCLASS 1
61679 _ACEOF
61680
61681 fi
61682 done
61683
61684 else
61685
61686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61688 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61689 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61690 $as_echo_n "(cached) " >&6
61691 else
61692
61693
61694 ac_ext=cpp
61695 ac_cpp='$CXXCPP $CPPFLAGS'
61696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61699
61700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61701 /* end confdefs.h. */
61702 #include <math.h>
61703 #ifdef HAVE_IEEEFP_H
61704 #include <ieeefp.h>
61705 #endif
61706
61707 int
61708 main ()
61709 {
61710 _qfpclass(0);
61711 ;
61712 return 0;
61713 }
61714 _ACEOF
61715 if ac_fn_cxx_try_compile "$LINENO"; then :
61716 glibcxx_cv_func__qfpclass_use=yes
61717 else
61718 glibcxx_cv_func__qfpclass_use=no
61719 fi
61720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61721 ac_ext=c
61722 ac_cpp='$CPP $CPPFLAGS'
61723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61726
61727
61728 fi
61729
61730 fi
61731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61733
61734 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61735 for ac_func in _qfpclass
61736 do :
61737 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61738 if test "x$ac_cv_func__qfpclass" = xyes; then :
61739 cat >>confdefs.h <<_ACEOF
61740 #define HAVE__QFPCLASS 1
61741 _ACEOF
61742
61743 fi
61744 done
61745
61746 fi
61747 fi
61748
61749
61750
61751
61752
61753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61754 $as_echo_n "checking for hypot declaration... " >&6; }
61755 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61756 if ${glibcxx_cv_func_hypot_use+:} false; then :
61757 $as_echo_n "(cached) " >&6
61758 else
61759
61760
61761 ac_ext=cpp
61762 ac_cpp='$CXXCPP $CPPFLAGS'
61763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61766
61767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61768 /* end confdefs.h. */
61769 #include <math.h>
61770 int
61771 main ()
61772 {
61773 hypot(0, 0);
61774 ;
61775 return 0;
61776 }
61777 _ACEOF
61778 if ac_fn_cxx_try_compile "$LINENO"; then :
61779 glibcxx_cv_func_hypot_use=yes
61780 else
61781 glibcxx_cv_func_hypot_use=no
61782 fi
61783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61784 ac_ext=c
61785 ac_cpp='$CPP $CPPFLAGS'
61786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61789
61790
61791 fi
61792
61793 fi
61794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61796
61797 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61798 for ac_func in hypot
61799 do :
61800 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61801 if test "x$ac_cv_func_hypot" = xyes; then :
61802 cat >>confdefs.h <<_ACEOF
61803 #define HAVE_HYPOT 1
61804 _ACEOF
61805
61806 fi
61807 done
61808
61809 else
61810
61811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61812 $as_echo_n "checking for _hypot declaration... " >&6; }
61813 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61814 if ${glibcxx_cv_func__hypot_use+:} false; then :
61815 $as_echo_n "(cached) " >&6
61816 else
61817
61818
61819 ac_ext=cpp
61820 ac_cpp='$CXXCPP $CPPFLAGS'
61821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61824
61825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61826 /* end confdefs.h. */
61827 #include <math.h>
61828 int
61829 main ()
61830 {
61831 _hypot(0, 0);
61832 ;
61833 return 0;
61834 }
61835 _ACEOF
61836 if ac_fn_cxx_try_compile "$LINENO"; then :
61837 glibcxx_cv_func__hypot_use=yes
61838 else
61839 glibcxx_cv_func__hypot_use=no
61840 fi
61841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61842 ac_ext=c
61843 ac_cpp='$CPP $CPPFLAGS'
61844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61847
61848
61849 fi
61850
61851 fi
61852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61854
61855 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61856 for ac_func in _hypot
61857 do :
61858 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61859 if test "x$ac_cv_func__hypot" = xyes; then :
61860 cat >>confdefs.h <<_ACEOF
61861 #define HAVE__HYPOT 1
61862 _ACEOF
61863
61864 fi
61865 done
61866
61867 fi
61868 fi
61869
61870
61871
61872
61873
61874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61875 $as_echo_n "checking for float trig functions... " >&6; }
61876 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61877 $as_echo_n "(cached) " >&6
61878 else
61879
61880
61881 ac_ext=cpp
61882 ac_cpp='$CXXCPP $CPPFLAGS'
61883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61886
61887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61888 /* end confdefs.h. */
61889 #include <math.h>
61890 int
61891 main ()
61892 {
61893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61894 ;
61895 return 0;
61896 }
61897 _ACEOF
61898 if ac_fn_cxx_try_compile "$LINENO"; then :
61899 glibcxx_cv_func_float_trig_use=yes
61900 else
61901 glibcxx_cv_func_float_trig_use=no
61902 fi
61903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61904 ac_ext=c
61905 ac_cpp='$CPP $CPPFLAGS'
61906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61909
61910 fi
61911
61912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61915 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61916 do :
61917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61920 cat >>confdefs.h <<_ACEOF
61921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61922 _ACEOF
61923
61924 fi
61925 done
61926
61927 else
61928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61929 $as_echo_n "checking for _float trig functions... " >&6; }
61930 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61931 $as_echo_n "(cached) " >&6
61932 else
61933
61934
61935 ac_ext=cpp
61936 ac_cpp='$CXXCPP $CPPFLAGS'
61937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61940
61941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61942 /* end confdefs.h. */
61943 #include <math.h>
61944 int
61945 main ()
61946 {
61947 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61948 ;
61949 return 0;
61950 }
61951 _ACEOF
61952 if ac_fn_cxx_try_compile "$LINENO"; then :
61953 glibcxx_cv_func__float_trig_use=yes
61954 else
61955 glibcxx_cv_func__float_trig_use=no
61956 fi
61957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61958 ac_ext=c
61959 ac_cpp='$CPP $CPPFLAGS'
61960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61963
61964 fi
61965
61966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61967 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61968 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61969 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61970 do :
61971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61974 cat >>confdefs.h <<_ACEOF
61975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61976 _ACEOF
61977
61978 fi
61979 done
61980
61981 fi
61982 fi
61983
61984
61985
61986
61987
61988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61989 $as_echo_n "checking for float round functions... " >&6; }
61990 if ${glibcxx_cv_func_float_round_use+:} false; then :
61991 $as_echo_n "(cached) " >&6
61992 else
61993
61994
61995 ac_ext=cpp
61996 ac_cpp='$CXXCPP $CPPFLAGS'
61997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62000
62001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62002 /* end confdefs.h. */
62003 #include <math.h>
62004 int
62005 main ()
62006 {
62007 ceilf (0); floorf (0);
62008 ;
62009 return 0;
62010 }
62011 _ACEOF
62012 if ac_fn_cxx_try_compile "$LINENO"; then :
62013 glibcxx_cv_func_float_round_use=yes
62014 else
62015 glibcxx_cv_func_float_round_use=no
62016 fi
62017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62018 ac_ext=c
62019 ac_cpp='$CPP $CPPFLAGS'
62020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62023
62024 fi
62025
62026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62027 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62028 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62029 for ac_func in ceilf floorf
62030 do :
62031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62033 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62034 cat >>confdefs.h <<_ACEOF
62035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62036 _ACEOF
62037
62038 fi
62039 done
62040
62041 else
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62043 $as_echo_n "checking for _float round functions... " >&6; }
62044 if ${glibcxx_cv_func__float_round_use+:} false; then :
62045 $as_echo_n "(cached) " >&6
62046 else
62047
62048
62049 ac_ext=cpp
62050 ac_cpp='$CXXCPP $CPPFLAGS'
62051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62054
62055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62056 /* end confdefs.h. */
62057 #include <math.h>
62058 int
62059 main ()
62060 {
62061 _ceilf (0); _floorf (0);
62062 ;
62063 return 0;
62064 }
62065 _ACEOF
62066 if ac_fn_cxx_try_compile "$LINENO"; then :
62067 glibcxx_cv_func__float_round_use=yes
62068 else
62069 glibcxx_cv_func__float_round_use=no
62070 fi
62071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62072 ac_ext=c
62073 ac_cpp='$CPP $CPPFLAGS'
62074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62077
62078 fi
62079
62080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62081 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62082 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62083 for ac_func in _ceilf _floorf
62084 do :
62085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62088 cat >>confdefs.h <<_ACEOF
62089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62090 _ACEOF
62091
62092 fi
62093 done
62094
62095 fi
62096 fi
62097
62098
62099
62100
62101
62102
62103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62104 $as_echo_n "checking for expf declaration... " >&6; }
62105 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62106 if ${glibcxx_cv_func_expf_use+:} false; then :
62107 $as_echo_n "(cached) " >&6
62108 else
62109
62110
62111 ac_ext=cpp
62112 ac_cpp='$CXXCPP $CPPFLAGS'
62113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62116
62117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62118 /* end confdefs.h. */
62119 #include <math.h>
62120 #ifdef HAVE_IEEEFP_H
62121 #include <ieeefp.h>
62122 #endif
62123
62124 int
62125 main ()
62126 {
62127 expf(0);
62128 ;
62129 return 0;
62130 }
62131 _ACEOF
62132 if ac_fn_cxx_try_compile "$LINENO"; then :
62133 glibcxx_cv_func_expf_use=yes
62134 else
62135 glibcxx_cv_func_expf_use=no
62136 fi
62137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62138 ac_ext=c
62139 ac_cpp='$CPP $CPPFLAGS'
62140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62143
62144
62145 fi
62146
62147 fi
62148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62149 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62150
62151 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62152 for ac_func in expf
62153 do :
62154 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62155 if test "x$ac_cv_func_expf" = xyes; then :
62156 cat >>confdefs.h <<_ACEOF
62157 #define HAVE_EXPF 1
62158 _ACEOF
62159
62160 fi
62161 done
62162
62163 else
62164
62165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62166 $as_echo_n "checking for _expf declaration... " >&6; }
62167 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62168 if ${glibcxx_cv_func__expf_use+:} false; then :
62169 $as_echo_n "(cached) " >&6
62170 else
62171
62172
62173 ac_ext=cpp
62174 ac_cpp='$CXXCPP $CPPFLAGS'
62175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62178
62179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62180 /* end confdefs.h. */
62181 #include <math.h>
62182 #ifdef HAVE_IEEEFP_H
62183 #include <ieeefp.h>
62184 #endif
62185
62186 int
62187 main ()
62188 {
62189 _expf(0);
62190 ;
62191 return 0;
62192 }
62193 _ACEOF
62194 if ac_fn_cxx_try_compile "$LINENO"; then :
62195 glibcxx_cv_func__expf_use=yes
62196 else
62197 glibcxx_cv_func__expf_use=no
62198 fi
62199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62200 ac_ext=c
62201 ac_cpp='$CPP $CPPFLAGS'
62202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62205
62206
62207 fi
62208
62209 fi
62210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62211 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62212
62213 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62214 for ac_func in _expf
62215 do :
62216 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62217 if test "x$ac_cv_func__expf" = xyes; then :
62218 cat >>confdefs.h <<_ACEOF
62219 #define HAVE__EXPF 1
62220 _ACEOF
62221
62222 fi
62223 done
62224
62225 fi
62226 fi
62227
62228
62229
62230
62231
62232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62233 $as_echo_n "checking for isnanf declaration... " >&6; }
62234 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62235 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62236 $as_echo_n "(cached) " >&6
62237 else
62238
62239
62240 ac_ext=cpp
62241 ac_cpp='$CXXCPP $CPPFLAGS'
62242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62245
62246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62247 /* end confdefs.h. */
62248 #include <math.h>
62249 #ifdef HAVE_IEEEFP_H
62250 #include <ieeefp.h>
62251 #endif
62252
62253 int
62254 main ()
62255 {
62256 isnanf(0);
62257 ;
62258 return 0;
62259 }
62260 _ACEOF
62261 if ac_fn_cxx_try_compile "$LINENO"; then :
62262 glibcxx_cv_func_isnanf_use=yes
62263 else
62264 glibcxx_cv_func_isnanf_use=no
62265 fi
62266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62267 ac_ext=c
62268 ac_cpp='$CPP $CPPFLAGS'
62269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62272
62273
62274 fi
62275
62276 fi
62277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62278 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62279
62280 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62281 for ac_func in isnanf
62282 do :
62283 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62284 if test "x$ac_cv_func_isnanf" = xyes; then :
62285 cat >>confdefs.h <<_ACEOF
62286 #define HAVE_ISNANF 1
62287 _ACEOF
62288
62289 fi
62290 done
62291
62292 else
62293
62294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62295 $as_echo_n "checking for _isnanf declaration... " >&6; }
62296 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62297 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62298 $as_echo_n "(cached) " >&6
62299 else
62300
62301
62302 ac_ext=cpp
62303 ac_cpp='$CXXCPP $CPPFLAGS'
62304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62307
62308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62309 /* end confdefs.h. */
62310 #include <math.h>
62311 #ifdef HAVE_IEEEFP_H
62312 #include <ieeefp.h>
62313 #endif
62314
62315 int
62316 main ()
62317 {
62318 _isnanf(0);
62319 ;
62320 return 0;
62321 }
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func__isnanf_use=yes
62325 else
62326 glibcxx_cv_func__isnanf_use=no
62327 fi
62328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62329 ac_ext=c
62330 ac_cpp='$CPP $CPPFLAGS'
62331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62334
62335
62336 fi
62337
62338 fi
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62340 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62341
62342 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62343 for ac_func in _isnanf
62344 do :
62345 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62346 if test "x$ac_cv_func__isnanf" = xyes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE__ISNANF 1
62349 _ACEOF
62350
62351 fi
62352 done
62353
62354 fi
62355 fi
62356
62357
62358
62359
62360
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62362 $as_echo_n "checking for isinff declaration... " >&6; }
62363 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62364 if ${glibcxx_cv_func_isinff_use+:} false; then :
62365 $as_echo_n "(cached) " >&6
62366 else
62367
62368
62369 ac_ext=cpp
62370 ac_cpp='$CXXCPP $CPPFLAGS'
62371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62374
62375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62376 /* end confdefs.h. */
62377 #include <math.h>
62378 #ifdef HAVE_IEEEFP_H
62379 #include <ieeefp.h>
62380 #endif
62381
62382 int
62383 main ()
62384 {
62385 isinff(0);
62386 ;
62387 return 0;
62388 }
62389 _ACEOF
62390 if ac_fn_cxx_try_compile "$LINENO"; then :
62391 glibcxx_cv_func_isinff_use=yes
62392 else
62393 glibcxx_cv_func_isinff_use=no
62394 fi
62395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62396 ac_ext=c
62397 ac_cpp='$CPP $CPPFLAGS'
62398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62401
62402
62403 fi
62404
62405 fi
62406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62407 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62408
62409 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62410 for ac_func in isinff
62411 do :
62412 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62413 if test "x$ac_cv_func_isinff" = xyes; then :
62414 cat >>confdefs.h <<_ACEOF
62415 #define HAVE_ISINFF 1
62416 _ACEOF
62417
62418 fi
62419 done
62420
62421 else
62422
62423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62424 $as_echo_n "checking for _isinff declaration... " >&6; }
62425 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62426 if ${glibcxx_cv_func__isinff_use+:} false; then :
62427 $as_echo_n "(cached) " >&6
62428 else
62429
62430
62431 ac_ext=cpp
62432 ac_cpp='$CXXCPP $CPPFLAGS'
62433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62436
62437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62438 /* end confdefs.h. */
62439 #include <math.h>
62440 #ifdef HAVE_IEEEFP_H
62441 #include <ieeefp.h>
62442 #endif
62443
62444 int
62445 main ()
62446 {
62447 _isinff(0);
62448 ;
62449 return 0;
62450 }
62451 _ACEOF
62452 if ac_fn_cxx_try_compile "$LINENO"; then :
62453 glibcxx_cv_func__isinff_use=yes
62454 else
62455 glibcxx_cv_func__isinff_use=no
62456 fi
62457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62458 ac_ext=c
62459 ac_cpp='$CPP $CPPFLAGS'
62460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62463
62464
62465 fi
62466
62467 fi
62468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62469 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62470
62471 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62472 for ac_func in _isinff
62473 do :
62474 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62475 if test "x$ac_cv_func__isinff" = xyes; then :
62476 cat >>confdefs.h <<_ACEOF
62477 #define HAVE__ISINFF 1
62478 _ACEOF
62479
62480 fi
62481 done
62482
62483 fi
62484 fi
62485
62486
62487
62488
62489
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62491 $as_echo_n "checking for atan2f declaration... " >&6; }
62492 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62493 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62494 $as_echo_n "(cached) " >&6
62495 else
62496
62497
62498 ac_ext=cpp
62499 ac_cpp='$CXXCPP $CPPFLAGS'
62500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62503
62504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62505 /* end confdefs.h. */
62506 #include <math.h>
62507 int
62508 main ()
62509 {
62510 atan2f(0, 0);
62511 ;
62512 return 0;
62513 }
62514 _ACEOF
62515 if ac_fn_cxx_try_compile "$LINENO"; then :
62516 glibcxx_cv_func_atan2f_use=yes
62517 else
62518 glibcxx_cv_func_atan2f_use=no
62519 fi
62520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62521 ac_ext=c
62522 ac_cpp='$CPP $CPPFLAGS'
62523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62526
62527
62528 fi
62529
62530 fi
62531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62532 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62533
62534 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62535 for ac_func in atan2f
62536 do :
62537 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62538 if test "x$ac_cv_func_atan2f" = xyes; then :
62539 cat >>confdefs.h <<_ACEOF
62540 #define HAVE_ATAN2F 1
62541 _ACEOF
62542
62543 fi
62544 done
62545
62546 else
62547
62548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62549 $as_echo_n "checking for _atan2f declaration... " >&6; }
62550 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62551 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62552 $as_echo_n "(cached) " >&6
62553 else
62554
62555
62556 ac_ext=cpp
62557 ac_cpp='$CXXCPP $CPPFLAGS'
62558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62561
62562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62563 /* end confdefs.h. */
62564 #include <math.h>
62565 int
62566 main ()
62567 {
62568 _atan2f(0, 0);
62569 ;
62570 return 0;
62571 }
62572 _ACEOF
62573 if ac_fn_cxx_try_compile "$LINENO"; then :
62574 glibcxx_cv_func__atan2f_use=yes
62575 else
62576 glibcxx_cv_func__atan2f_use=no
62577 fi
62578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62579 ac_ext=c
62580 ac_cpp='$CPP $CPPFLAGS'
62581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62584
62585
62586 fi
62587
62588 fi
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62590 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62591
62592 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62593 for ac_func in _atan2f
62594 do :
62595 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62596 if test "x$ac_cv_func__atan2f" = xyes; then :
62597 cat >>confdefs.h <<_ACEOF
62598 #define HAVE__ATAN2F 1
62599 _ACEOF
62600
62601 fi
62602 done
62603
62604 fi
62605 fi
62606
62607
62608
62609
62610
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62612 $as_echo_n "checking for fabsf declaration... " >&6; }
62613 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62614 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62615 $as_echo_n "(cached) " >&6
62616 else
62617
62618
62619 ac_ext=cpp
62620 ac_cpp='$CXXCPP $CPPFLAGS'
62621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62624
62625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62626 /* end confdefs.h. */
62627 #include <math.h>
62628 #ifdef HAVE_IEEEFP_H
62629 #include <ieeefp.h>
62630 #endif
62631
62632 int
62633 main ()
62634 {
62635 fabsf(0);
62636 ;
62637 return 0;
62638 }
62639 _ACEOF
62640 if ac_fn_cxx_try_compile "$LINENO"; then :
62641 glibcxx_cv_func_fabsf_use=yes
62642 else
62643 glibcxx_cv_func_fabsf_use=no
62644 fi
62645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62646 ac_ext=c
62647 ac_cpp='$CPP $CPPFLAGS'
62648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62651
62652
62653 fi
62654
62655 fi
62656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62657 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62658
62659 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62660 for ac_func in fabsf
62661 do :
62662 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62663 if test "x$ac_cv_func_fabsf" = xyes; then :
62664 cat >>confdefs.h <<_ACEOF
62665 #define HAVE_FABSF 1
62666 _ACEOF
62667
62668 fi
62669 done
62670
62671 else
62672
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62674 $as_echo_n "checking for _fabsf declaration... " >&6; }
62675 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62676 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62677 $as_echo_n "(cached) " >&6
62678 else
62679
62680
62681 ac_ext=cpp
62682 ac_cpp='$CXXCPP $CPPFLAGS'
62683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62686
62687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62688 /* end confdefs.h. */
62689 #include <math.h>
62690 #ifdef HAVE_IEEEFP_H
62691 #include <ieeefp.h>
62692 #endif
62693
62694 int
62695 main ()
62696 {
62697 _fabsf(0);
62698 ;
62699 return 0;
62700 }
62701 _ACEOF
62702 if ac_fn_cxx_try_compile "$LINENO"; then :
62703 glibcxx_cv_func__fabsf_use=yes
62704 else
62705 glibcxx_cv_func__fabsf_use=no
62706 fi
62707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62708 ac_ext=c
62709 ac_cpp='$CPP $CPPFLAGS'
62710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62713
62714
62715 fi
62716
62717 fi
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62719 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62720
62721 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62722 for ac_func in _fabsf
62723 do :
62724 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62725 if test "x$ac_cv_func__fabsf" = xyes; then :
62726 cat >>confdefs.h <<_ACEOF
62727 #define HAVE__FABSF 1
62728 _ACEOF
62729
62730 fi
62731 done
62732
62733 fi
62734 fi
62735
62736
62737
62738
62739
62740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62741 $as_echo_n "checking for fmodf declaration... " >&6; }
62742 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62743 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62744 $as_echo_n "(cached) " >&6
62745 else
62746
62747
62748 ac_ext=cpp
62749 ac_cpp='$CXXCPP $CPPFLAGS'
62750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62753
62754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62755 /* end confdefs.h. */
62756 #include <math.h>
62757 int
62758 main ()
62759 {
62760 fmodf(0, 0);
62761 ;
62762 return 0;
62763 }
62764 _ACEOF
62765 if ac_fn_cxx_try_compile "$LINENO"; then :
62766 glibcxx_cv_func_fmodf_use=yes
62767 else
62768 glibcxx_cv_func_fmodf_use=no
62769 fi
62770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62771 ac_ext=c
62772 ac_cpp='$CPP $CPPFLAGS'
62773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62776
62777
62778 fi
62779
62780 fi
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62782 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62783
62784 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62785 for ac_func in fmodf
62786 do :
62787 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62788 if test "x$ac_cv_func_fmodf" = xyes; then :
62789 cat >>confdefs.h <<_ACEOF
62790 #define HAVE_FMODF 1
62791 _ACEOF
62792
62793 fi
62794 done
62795
62796 else
62797
62798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62799 $as_echo_n "checking for _fmodf declaration... " >&6; }
62800 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62801 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62802 $as_echo_n "(cached) " >&6
62803 else
62804
62805
62806 ac_ext=cpp
62807 ac_cpp='$CXXCPP $CPPFLAGS'
62808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62811
62812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62813 /* end confdefs.h. */
62814 #include <math.h>
62815 int
62816 main ()
62817 {
62818 _fmodf(0, 0);
62819 ;
62820 return 0;
62821 }
62822 _ACEOF
62823 if ac_fn_cxx_try_compile "$LINENO"; then :
62824 glibcxx_cv_func__fmodf_use=yes
62825 else
62826 glibcxx_cv_func__fmodf_use=no
62827 fi
62828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62829 ac_ext=c
62830 ac_cpp='$CPP $CPPFLAGS'
62831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62834
62835
62836 fi
62837
62838 fi
62839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62840 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62841
62842 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62843 for ac_func in _fmodf
62844 do :
62845 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62846 if test "x$ac_cv_func__fmodf" = xyes; then :
62847 cat >>confdefs.h <<_ACEOF
62848 #define HAVE__FMODF 1
62849 _ACEOF
62850
62851 fi
62852 done
62853
62854 fi
62855 fi
62856
62857
62858
62859
62860
62861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62862 $as_echo_n "checking for frexpf declaration... " >&6; }
62863 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62864 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62865 $as_echo_n "(cached) " >&6
62866 else
62867
62868
62869 ac_ext=cpp
62870 ac_cpp='$CXXCPP $CPPFLAGS'
62871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62874
62875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62876 /* end confdefs.h. */
62877 #include <math.h>
62878 int
62879 main ()
62880 {
62881 frexpf(0, 0);
62882 ;
62883 return 0;
62884 }
62885 _ACEOF
62886 if ac_fn_cxx_try_compile "$LINENO"; then :
62887 glibcxx_cv_func_frexpf_use=yes
62888 else
62889 glibcxx_cv_func_frexpf_use=no
62890 fi
62891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62892 ac_ext=c
62893 ac_cpp='$CPP $CPPFLAGS'
62894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62897
62898
62899 fi
62900
62901 fi
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62903 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62904
62905 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62906 for ac_func in frexpf
62907 do :
62908 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62909 if test "x$ac_cv_func_frexpf" = xyes; then :
62910 cat >>confdefs.h <<_ACEOF
62911 #define HAVE_FREXPF 1
62912 _ACEOF
62913
62914 fi
62915 done
62916
62917 else
62918
62919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62920 $as_echo_n "checking for _frexpf declaration... " >&6; }
62921 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62922 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62923 $as_echo_n "(cached) " >&6
62924 else
62925
62926
62927 ac_ext=cpp
62928 ac_cpp='$CXXCPP $CPPFLAGS'
62929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62932
62933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62934 /* end confdefs.h. */
62935 #include <math.h>
62936 int
62937 main ()
62938 {
62939 _frexpf(0, 0);
62940 ;
62941 return 0;
62942 }
62943 _ACEOF
62944 if ac_fn_cxx_try_compile "$LINENO"; then :
62945 glibcxx_cv_func__frexpf_use=yes
62946 else
62947 glibcxx_cv_func__frexpf_use=no
62948 fi
62949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62950 ac_ext=c
62951 ac_cpp='$CPP $CPPFLAGS'
62952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62955
62956
62957 fi
62958
62959 fi
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62961 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62962
62963 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62964 for ac_func in _frexpf
62965 do :
62966 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62967 if test "x$ac_cv_func__frexpf" = xyes; then :
62968 cat >>confdefs.h <<_ACEOF
62969 #define HAVE__FREXPF 1
62970 _ACEOF
62971
62972 fi
62973 done
62974
62975 fi
62976 fi
62977
62978
62979
62980
62981
62982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62983 $as_echo_n "checking for hypotf declaration... " >&6; }
62984 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62985 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62986 $as_echo_n "(cached) " >&6
62987 else
62988
62989
62990 ac_ext=cpp
62991 ac_cpp='$CXXCPP $CPPFLAGS'
62992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62995
62996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62997 /* end confdefs.h. */
62998 #include <math.h>
62999 int
63000 main ()
63001 {
63002 hypotf(0, 0);
63003 ;
63004 return 0;
63005 }
63006 _ACEOF
63007 if ac_fn_cxx_try_compile "$LINENO"; then :
63008 glibcxx_cv_func_hypotf_use=yes
63009 else
63010 glibcxx_cv_func_hypotf_use=no
63011 fi
63012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63013 ac_ext=c
63014 ac_cpp='$CPP $CPPFLAGS'
63015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63018
63019
63020 fi
63021
63022 fi
63023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63024 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63025
63026 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63027 for ac_func in hypotf
63028 do :
63029 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63030 if test "x$ac_cv_func_hypotf" = xyes; then :
63031 cat >>confdefs.h <<_ACEOF
63032 #define HAVE_HYPOTF 1
63033 _ACEOF
63034
63035 fi
63036 done
63037
63038 else
63039
63040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63041 $as_echo_n "checking for _hypotf declaration... " >&6; }
63042 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63043 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63044 $as_echo_n "(cached) " >&6
63045 else
63046
63047
63048 ac_ext=cpp
63049 ac_cpp='$CXXCPP $CPPFLAGS'
63050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63053
63054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63055 /* end confdefs.h. */
63056 #include <math.h>
63057 int
63058 main ()
63059 {
63060 _hypotf(0, 0);
63061 ;
63062 return 0;
63063 }
63064 _ACEOF
63065 if ac_fn_cxx_try_compile "$LINENO"; then :
63066 glibcxx_cv_func__hypotf_use=yes
63067 else
63068 glibcxx_cv_func__hypotf_use=no
63069 fi
63070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63071 ac_ext=c
63072 ac_cpp='$CPP $CPPFLAGS'
63073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63076
63077
63078 fi
63079
63080 fi
63081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63082 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63083
63084 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63085 for ac_func in _hypotf
63086 do :
63087 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63088 if test "x$ac_cv_func__hypotf" = xyes; then :
63089 cat >>confdefs.h <<_ACEOF
63090 #define HAVE__HYPOTF 1
63091 _ACEOF
63092
63093 fi
63094 done
63095
63096 fi
63097 fi
63098
63099
63100
63101
63102
63103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63104 $as_echo_n "checking for ldexpf declaration... " >&6; }
63105 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63106 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63107 $as_echo_n "(cached) " >&6
63108 else
63109
63110
63111 ac_ext=cpp
63112 ac_cpp='$CXXCPP $CPPFLAGS'
63113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63116
63117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63118 /* end confdefs.h. */
63119 #include <math.h>
63120 int
63121 main ()
63122 {
63123 ldexpf(0, 0);
63124 ;
63125 return 0;
63126 }
63127 _ACEOF
63128 if ac_fn_cxx_try_compile "$LINENO"; then :
63129 glibcxx_cv_func_ldexpf_use=yes
63130 else
63131 glibcxx_cv_func_ldexpf_use=no
63132 fi
63133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63134 ac_ext=c
63135 ac_cpp='$CPP $CPPFLAGS'
63136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63139
63140
63141 fi
63142
63143 fi
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63145 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63146
63147 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63148 for ac_func in ldexpf
63149 do :
63150 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63151 if test "x$ac_cv_func_ldexpf" = xyes; then :
63152 cat >>confdefs.h <<_ACEOF
63153 #define HAVE_LDEXPF 1
63154 _ACEOF
63155
63156 fi
63157 done
63158
63159 else
63160
63161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63162 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63163 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63164 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63165 $as_echo_n "(cached) " >&6
63166 else
63167
63168
63169 ac_ext=cpp
63170 ac_cpp='$CXXCPP $CPPFLAGS'
63171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63174
63175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63176 /* end confdefs.h. */
63177 #include <math.h>
63178 int
63179 main ()
63180 {
63181 _ldexpf(0, 0);
63182 ;
63183 return 0;
63184 }
63185 _ACEOF
63186 if ac_fn_cxx_try_compile "$LINENO"; then :
63187 glibcxx_cv_func__ldexpf_use=yes
63188 else
63189 glibcxx_cv_func__ldexpf_use=no
63190 fi
63191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63192 ac_ext=c
63193 ac_cpp='$CPP $CPPFLAGS'
63194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63197
63198
63199 fi
63200
63201 fi
63202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63203 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63204
63205 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63206 for ac_func in _ldexpf
63207 do :
63208 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63209 if test "x$ac_cv_func__ldexpf" = xyes; then :
63210 cat >>confdefs.h <<_ACEOF
63211 #define HAVE__LDEXPF 1
63212 _ACEOF
63213
63214 fi
63215 done
63216
63217 fi
63218 fi
63219
63220
63221
63222
63223
63224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63225 $as_echo_n "checking for logf declaration... " >&6; }
63226 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63227 if ${glibcxx_cv_func_logf_use+:} false; then :
63228 $as_echo_n "(cached) " >&6
63229 else
63230
63231
63232 ac_ext=cpp
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63237
63238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63239 /* end confdefs.h. */
63240 #include <math.h>
63241 #ifdef HAVE_IEEEFP_H
63242 #include <ieeefp.h>
63243 #endif
63244
63245 int
63246 main ()
63247 {
63248 logf(0);
63249 ;
63250 return 0;
63251 }
63252 _ACEOF
63253 if ac_fn_cxx_try_compile "$LINENO"; then :
63254 glibcxx_cv_func_logf_use=yes
63255 else
63256 glibcxx_cv_func_logf_use=no
63257 fi
63258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63259 ac_ext=c
63260 ac_cpp='$CPP $CPPFLAGS'
63261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63264
63265
63266 fi
63267
63268 fi
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63270 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63271
63272 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63273 for ac_func in logf
63274 do :
63275 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63276 if test "x$ac_cv_func_logf" = xyes; then :
63277 cat >>confdefs.h <<_ACEOF
63278 #define HAVE_LOGF 1
63279 _ACEOF
63280
63281 fi
63282 done
63283
63284 else
63285
63286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63287 $as_echo_n "checking for _logf declaration... " >&6; }
63288 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63289 if ${glibcxx_cv_func__logf_use+:} false; then :
63290 $as_echo_n "(cached) " >&6
63291 else
63292
63293
63294 ac_ext=cpp
63295 ac_cpp='$CXXCPP $CPPFLAGS'
63296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63299
63300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63301 /* end confdefs.h. */
63302 #include <math.h>
63303 #ifdef HAVE_IEEEFP_H
63304 #include <ieeefp.h>
63305 #endif
63306
63307 int
63308 main ()
63309 {
63310 _logf(0);
63311 ;
63312 return 0;
63313 }
63314 _ACEOF
63315 if ac_fn_cxx_try_compile "$LINENO"; then :
63316 glibcxx_cv_func__logf_use=yes
63317 else
63318 glibcxx_cv_func__logf_use=no
63319 fi
63320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63321 ac_ext=c
63322 ac_cpp='$CPP $CPPFLAGS'
63323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63326
63327
63328 fi
63329
63330 fi
63331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63332 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63333
63334 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63335 for ac_func in _logf
63336 do :
63337 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63338 if test "x$ac_cv_func__logf" = xyes; then :
63339 cat >>confdefs.h <<_ACEOF
63340 #define HAVE__LOGF 1
63341 _ACEOF
63342
63343 fi
63344 done
63345
63346 fi
63347 fi
63348
63349
63350
63351
63352
63353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63354 $as_echo_n "checking for log10f declaration... " >&6; }
63355 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63356 if ${glibcxx_cv_func_log10f_use+:} false; then :
63357 $as_echo_n "(cached) " >&6
63358 else
63359
63360
63361 ac_ext=cpp
63362 ac_cpp='$CXXCPP $CPPFLAGS'
63363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63366
63367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63368 /* end confdefs.h. */
63369 #include <math.h>
63370 #ifdef HAVE_IEEEFP_H
63371 #include <ieeefp.h>
63372 #endif
63373
63374 int
63375 main ()
63376 {
63377 log10f(0);
63378 ;
63379 return 0;
63380 }
63381 _ACEOF
63382 if ac_fn_cxx_try_compile "$LINENO"; then :
63383 glibcxx_cv_func_log10f_use=yes
63384 else
63385 glibcxx_cv_func_log10f_use=no
63386 fi
63387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63388 ac_ext=c
63389 ac_cpp='$CPP $CPPFLAGS'
63390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63393
63394
63395 fi
63396
63397 fi
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63399 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63400
63401 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63402 for ac_func in log10f
63403 do :
63404 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63405 if test "x$ac_cv_func_log10f" = xyes; then :
63406 cat >>confdefs.h <<_ACEOF
63407 #define HAVE_LOG10F 1
63408 _ACEOF
63409
63410 fi
63411 done
63412
63413 else
63414
63415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63416 $as_echo_n "checking for _log10f declaration... " >&6; }
63417 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63418 if ${glibcxx_cv_func__log10f_use+:} false; then :
63419 $as_echo_n "(cached) " >&6
63420 else
63421
63422
63423 ac_ext=cpp
63424 ac_cpp='$CXXCPP $CPPFLAGS'
63425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63428
63429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63430 /* end confdefs.h. */
63431 #include <math.h>
63432 #ifdef HAVE_IEEEFP_H
63433 #include <ieeefp.h>
63434 #endif
63435
63436 int
63437 main ()
63438 {
63439 _log10f(0);
63440 ;
63441 return 0;
63442 }
63443 _ACEOF
63444 if ac_fn_cxx_try_compile "$LINENO"; then :
63445 glibcxx_cv_func__log10f_use=yes
63446 else
63447 glibcxx_cv_func__log10f_use=no
63448 fi
63449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63450 ac_ext=c
63451 ac_cpp='$CPP $CPPFLAGS'
63452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63455
63456
63457 fi
63458
63459 fi
63460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63461 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63462
63463 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63464 for ac_func in _log10f
63465 do :
63466 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63467 if test "x$ac_cv_func__log10f" = xyes; then :
63468 cat >>confdefs.h <<_ACEOF
63469 #define HAVE__LOG10F 1
63470 _ACEOF
63471
63472 fi
63473 done
63474
63475 fi
63476 fi
63477
63478
63479
63480
63481
63482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63483 $as_echo_n "checking for modff declaration... " >&6; }
63484 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63485 if ${glibcxx_cv_func_modff_use+:} false; then :
63486 $as_echo_n "(cached) " >&6
63487 else
63488
63489
63490 ac_ext=cpp
63491 ac_cpp='$CXXCPP $CPPFLAGS'
63492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63495
63496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63497 /* end confdefs.h. */
63498 #include <math.h>
63499 int
63500 main ()
63501 {
63502 modff(0, 0);
63503 ;
63504 return 0;
63505 }
63506 _ACEOF
63507 if ac_fn_cxx_try_compile "$LINENO"; then :
63508 glibcxx_cv_func_modff_use=yes
63509 else
63510 glibcxx_cv_func_modff_use=no
63511 fi
63512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63513 ac_ext=c
63514 ac_cpp='$CPP $CPPFLAGS'
63515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63518
63519
63520 fi
63521
63522 fi
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63524 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63525
63526 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63527 for ac_func in modff
63528 do :
63529 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63530 if test "x$ac_cv_func_modff" = xyes; then :
63531 cat >>confdefs.h <<_ACEOF
63532 #define HAVE_MODFF 1
63533 _ACEOF
63534
63535 fi
63536 done
63537
63538 else
63539
63540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63541 $as_echo_n "checking for _modff declaration... " >&6; }
63542 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63543 if ${glibcxx_cv_func__modff_use+:} false; then :
63544 $as_echo_n "(cached) " >&6
63545 else
63546
63547
63548 ac_ext=cpp
63549 ac_cpp='$CXXCPP $CPPFLAGS'
63550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63553
63554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63555 /* end confdefs.h. */
63556 #include <math.h>
63557 int
63558 main ()
63559 {
63560 _modff(0, 0);
63561 ;
63562 return 0;
63563 }
63564 _ACEOF
63565 if ac_fn_cxx_try_compile "$LINENO"; then :
63566 glibcxx_cv_func__modff_use=yes
63567 else
63568 glibcxx_cv_func__modff_use=no
63569 fi
63570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63571 ac_ext=c
63572 ac_cpp='$CPP $CPPFLAGS'
63573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63576
63577
63578 fi
63579
63580 fi
63581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63582 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63583
63584 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63585 for ac_func in _modff
63586 do :
63587 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63588 if test "x$ac_cv_func__modff" = xyes; then :
63589 cat >>confdefs.h <<_ACEOF
63590 #define HAVE__MODFF 1
63591 _ACEOF
63592
63593 fi
63594 done
63595
63596 fi
63597 fi
63598
63599
63600
63601
63602
63603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63604 $as_echo_n "checking for modf declaration... " >&6; }
63605 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63606 if ${glibcxx_cv_func_modf_use+:} false; then :
63607 $as_echo_n "(cached) " >&6
63608 else
63609
63610
63611 ac_ext=cpp
63612 ac_cpp='$CXXCPP $CPPFLAGS'
63613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63616
63617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63618 /* end confdefs.h. */
63619 #include <math.h>
63620 int
63621 main ()
63622 {
63623 modf(0, 0);
63624 ;
63625 return 0;
63626 }
63627 _ACEOF
63628 if ac_fn_cxx_try_compile "$LINENO"; then :
63629 glibcxx_cv_func_modf_use=yes
63630 else
63631 glibcxx_cv_func_modf_use=no
63632 fi
63633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63634 ac_ext=c
63635 ac_cpp='$CPP $CPPFLAGS'
63636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63639
63640
63641 fi
63642
63643 fi
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63645 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63646
63647 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63648 for ac_func in modf
63649 do :
63650 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63651 if test "x$ac_cv_func_modf" = xyes; then :
63652 cat >>confdefs.h <<_ACEOF
63653 #define HAVE_MODF 1
63654 _ACEOF
63655
63656 fi
63657 done
63658
63659 else
63660
63661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63662 $as_echo_n "checking for _modf declaration... " >&6; }
63663 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63664 if ${glibcxx_cv_func__modf_use+:} false; then :
63665 $as_echo_n "(cached) " >&6
63666 else
63667
63668
63669 ac_ext=cpp
63670 ac_cpp='$CXXCPP $CPPFLAGS'
63671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63674
63675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63676 /* end confdefs.h. */
63677 #include <math.h>
63678 int
63679 main ()
63680 {
63681 _modf(0, 0);
63682 ;
63683 return 0;
63684 }
63685 _ACEOF
63686 if ac_fn_cxx_try_compile "$LINENO"; then :
63687 glibcxx_cv_func__modf_use=yes
63688 else
63689 glibcxx_cv_func__modf_use=no
63690 fi
63691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63692 ac_ext=c
63693 ac_cpp='$CPP $CPPFLAGS'
63694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63697
63698
63699 fi
63700
63701 fi
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63703 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63704
63705 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63706 for ac_func in _modf
63707 do :
63708 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63709 if test "x$ac_cv_func__modf" = xyes; then :
63710 cat >>confdefs.h <<_ACEOF
63711 #define HAVE__MODF 1
63712 _ACEOF
63713
63714 fi
63715 done
63716
63717 fi
63718 fi
63719
63720
63721
63722
63723
63724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63725 $as_echo_n "checking for powf declaration... " >&6; }
63726 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63727 if ${glibcxx_cv_func_powf_use+:} false; then :
63728 $as_echo_n "(cached) " >&6
63729 else
63730
63731
63732 ac_ext=cpp
63733 ac_cpp='$CXXCPP $CPPFLAGS'
63734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63737
63738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63739 /* end confdefs.h. */
63740 #include <math.h>
63741 int
63742 main ()
63743 {
63744 powf(0, 0);
63745 ;
63746 return 0;
63747 }
63748 _ACEOF
63749 if ac_fn_cxx_try_compile "$LINENO"; then :
63750 glibcxx_cv_func_powf_use=yes
63751 else
63752 glibcxx_cv_func_powf_use=no
63753 fi
63754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63755 ac_ext=c
63756 ac_cpp='$CPP $CPPFLAGS'
63757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63760
63761
63762 fi
63763
63764 fi
63765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63766 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63767
63768 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63769 for ac_func in powf
63770 do :
63771 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63772 if test "x$ac_cv_func_powf" = xyes; then :
63773 cat >>confdefs.h <<_ACEOF
63774 #define HAVE_POWF 1
63775 _ACEOF
63776
63777 fi
63778 done
63779
63780 else
63781
63782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63783 $as_echo_n "checking for _powf declaration... " >&6; }
63784 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63785 if ${glibcxx_cv_func__powf_use+:} false; then :
63786 $as_echo_n "(cached) " >&6
63787 else
63788
63789
63790 ac_ext=cpp
63791 ac_cpp='$CXXCPP $CPPFLAGS'
63792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63795
63796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63797 /* end confdefs.h. */
63798 #include <math.h>
63799 int
63800 main ()
63801 {
63802 _powf(0, 0);
63803 ;
63804 return 0;
63805 }
63806 _ACEOF
63807 if ac_fn_cxx_try_compile "$LINENO"; then :
63808 glibcxx_cv_func__powf_use=yes
63809 else
63810 glibcxx_cv_func__powf_use=no
63811 fi
63812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63813 ac_ext=c
63814 ac_cpp='$CPP $CPPFLAGS'
63815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63818
63819
63820 fi
63821
63822 fi
63823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63824 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63825
63826 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63827 for ac_func in _powf
63828 do :
63829 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63830 if test "x$ac_cv_func__powf" = xyes; then :
63831 cat >>confdefs.h <<_ACEOF
63832 #define HAVE__POWF 1
63833 _ACEOF
63834
63835 fi
63836 done
63837
63838 fi
63839 fi
63840
63841
63842
63843
63844
63845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63846 $as_echo_n "checking for sqrtf declaration... " >&6; }
63847 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63848 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63849 $as_echo_n "(cached) " >&6
63850 else
63851
63852
63853 ac_ext=cpp
63854 ac_cpp='$CXXCPP $CPPFLAGS'
63855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63858
63859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63860 /* end confdefs.h. */
63861 #include <math.h>
63862 #ifdef HAVE_IEEEFP_H
63863 #include <ieeefp.h>
63864 #endif
63865
63866 int
63867 main ()
63868 {
63869 sqrtf(0);
63870 ;
63871 return 0;
63872 }
63873 _ACEOF
63874 if ac_fn_cxx_try_compile "$LINENO"; then :
63875 glibcxx_cv_func_sqrtf_use=yes
63876 else
63877 glibcxx_cv_func_sqrtf_use=no
63878 fi
63879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63880 ac_ext=c
63881 ac_cpp='$CPP $CPPFLAGS'
63882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63885
63886
63887 fi
63888
63889 fi
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63891 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63892
63893 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63894 for ac_func in sqrtf
63895 do :
63896 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63897 if test "x$ac_cv_func_sqrtf" = xyes; then :
63898 cat >>confdefs.h <<_ACEOF
63899 #define HAVE_SQRTF 1
63900 _ACEOF
63901
63902 fi
63903 done
63904
63905 else
63906
63907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63908 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63909 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63910 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63911 $as_echo_n "(cached) " >&6
63912 else
63913
63914
63915 ac_ext=cpp
63916 ac_cpp='$CXXCPP $CPPFLAGS'
63917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63920
63921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63922 /* end confdefs.h. */
63923 #include <math.h>
63924 #ifdef HAVE_IEEEFP_H
63925 #include <ieeefp.h>
63926 #endif
63927
63928 int
63929 main ()
63930 {
63931 _sqrtf(0);
63932 ;
63933 return 0;
63934 }
63935 _ACEOF
63936 if ac_fn_cxx_try_compile "$LINENO"; then :
63937 glibcxx_cv_func__sqrtf_use=yes
63938 else
63939 glibcxx_cv_func__sqrtf_use=no
63940 fi
63941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63942 ac_ext=c
63943 ac_cpp='$CPP $CPPFLAGS'
63944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63947
63948
63949 fi
63950
63951 fi
63952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63953 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63954
63955 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63956 for ac_func in _sqrtf
63957 do :
63958 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63959 if test "x$ac_cv_func__sqrtf" = xyes; then :
63960 cat >>confdefs.h <<_ACEOF
63961 #define HAVE__SQRTF 1
63962 _ACEOF
63963
63964 fi
63965 done
63966
63967 fi
63968 fi
63969
63970
63971
63972
63973
63974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63975 $as_echo_n "checking for sincosf declaration... " >&6; }
63976 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63977 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63978 $as_echo_n "(cached) " >&6
63979 else
63980
63981
63982 ac_ext=cpp
63983 ac_cpp='$CXXCPP $CPPFLAGS'
63984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63987
63988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63989 /* end confdefs.h. */
63990 #include <math.h>
63991 int
63992 main ()
63993 {
63994 sincosf(0, 0, 0);
63995 ;
63996 return 0;
63997 }
63998 _ACEOF
63999 if ac_fn_cxx_try_compile "$LINENO"; then :
64000 glibcxx_cv_func_sincosf_use=yes
64001 else
64002 glibcxx_cv_func_sincosf_use=no
64003 fi
64004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64005 ac_ext=c
64006 ac_cpp='$CPP $CPPFLAGS'
64007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64010
64011
64012 fi
64013
64014 fi
64015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64016 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64017
64018 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64019 for ac_func in sincosf
64020 do :
64021 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64022 if test "x$ac_cv_func_sincosf" = xyes; then :
64023 cat >>confdefs.h <<_ACEOF
64024 #define HAVE_SINCOSF 1
64025 _ACEOF
64026
64027 fi
64028 done
64029
64030 else
64031
64032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64033 $as_echo_n "checking for _sincosf declaration... " >&6; }
64034 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64035 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64036 $as_echo_n "(cached) " >&6
64037 else
64038
64039
64040 ac_ext=cpp
64041 ac_cpp='$CXXCPP $CPPFLAGS'
64042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64045
64046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64047 /* end confdefs.h. */
64048 #include <math.h>
64049 int
64050 main ()
64051 {
64052 _sincosf(0, 0, 0);
64053 ;
64054 return 0;
64055 }
64056 _ACEOF
64057 if ac_fn_cxx_try_compile "$LINENO"; then :
64058 glibcxx_cv_func__sincosf_use=yes
64059 else
64060 glibcxx_cv_func__sincosf_use=no
64061 fi
64062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64063 ac_ext=c
64064 ac_cpp='$CPP $CPPFLAGS'
64065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64068
64069
64070 fi
64071
64072 fi
64073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64074 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64075
64076 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64077 for ac_func in _sincosf
64078 do :
64079 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64080 if test "x$ac_cv_func__sincosf" = xyes; then :
64081 cat >>confdefs.h <<_ACEOF
64082 #define HAVE__SINCOSF 1
64083 _ACEOF
64084
64085 fi
64086 done
64087
64088 fi
64089 fi
64090
64091
64092
64093
64094
64095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64096 $as_echo_n "checking for finitef declaration... " >&6; }
64097 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64098 if ${glibcxx_cv_func_finitef_use+:} false; then :
64099 $as_echo_n "(cached) " >&6
64100 else
64101
64102
64103 ac_ext=cpp
64104 ac_cpp='$CXXCPP $CPPFLAGS'
64105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64108
64109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64110 /* end confdefs.h. */
64111 #include <math.h>
64112 #ifdef HAVE_IEEEFP_H
64113 #include <ieeefp.h>
64114 #endif
64115
64116 int
64117 main ()
64118 {
64119 finitef(0);
64120 ;
64121 return 0;
64122 }
64123 _ACEOF
64124 if ac_fn_cxx_try_compile "$LINENO"; then :
64125 glibcxx_cv_func_finitef_use=yes
64126 else
64127 glibcxx_cv_func_finitef_use=no
64128 fi
64129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64130 ac_ext=c
64131 ac_cpp='$CPP $CPPFLAGS'
64132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64135
64136
64137 fi
64138
64139 fi
64140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64141 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64142
64143 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64144 for ac_func in finitef
64145 do :
64146 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64147 if test "x$ac_cv_func_finitef" = xyes; then :
64148 cat >>confdefs.h <<_ACEOF
64149 #define HAVE_FINITEF 1
64150 _ACEOF
64151
64152 fi
64153 done
64154
64155 else
64156
64157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64158 $as_echo_n "checking for _finitef declaration... " >&6; }
64159 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64160 if ${glibcxx_cv_func__finitef_use+:} false; then :
64161 $as_echo_n "(cached) " >&6
64162 else
64163
64164
64165 ac_ext=cpp
64166 ac_cpp='$CXXCPP $CPPFLAGS'
64167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64170
64171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64172 /* end confdefs.h. */
64173 #include <math.h>
64174 #ifdef HAVE_IEEEFP_H
64175 #include <ieeefp.h>
64176 #endif
64177
64178 int
64179 main ()
64180 {
64181 _finitef(0);
64182 ;
64183 return 0;
64184 }
64185 _ACEOF
64186 if ac_fn_cxx_try_compile "$LINENO"; then :
64187 glibcxx_cv_func__finitef_use=yes
64188 else
64189 glibcxx_cv_func__finitef_use=no
64190 fi
64191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64192 ac_ext=c
64193 ac_cpp='$CPP $CPPFLAGS'
64194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64197
64198
64199 fi
64200
64201 fi
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64203 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64204
64205 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64206 for ac_func in _finitef
64207 do :
64208 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64209 if test "x$ac_cv_func__finitef" = xyes; then :
64210 cat >>confdefs.h <<_ACEOF
64211 #define HAVE__FINITEF 1
64212 _ACEOF
64213
64214 fi
64215 done
64216
64217 fi
64218 fi
64219
64220
64221
64222
64223
64224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64225 $as_echo_n "checking for long double trig functions... " >&6; }
64226 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64227 $as_echo_n "(cached) " >&6
64228 else
64229
64230
64231 ac_ext=cpp
64232 ac_cpp='$CXXCPP $CPPFLAGS'
64233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64236
64237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64238 /* end confdefs.h. */
64239 #include <math.h>
64240 int
64241 main ()
64242 {
64243 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64244 ;
64245 return 0;
64246 }
64247 _ACEOF
64248 if ac_fn_cxx_try_compile "$LINENO"; then :
64249 glibcxx_cv_func_long_double_trig_use=yes
64250 else
64251 glibcxx_cv_func_long_double_trig_use=no
64252 fi
64253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64254 ac_ext=c
64255 ac_cpp='$CPP $CPPFLAGS'
64256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64259
64260 fi
64261
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64263 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64264 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64265 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64266 do :
64267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64270 cat >>confdefs.h <<_ACEOF
64271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64272 _ACEOF
64273
64274 fi
64275 done
64276
64277 else
64278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64279 $as_echo_n "checking for _long double trig functions... " >&6; }
64280 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64281 $as_echo_n "(cached) " >&6
64282 else
64283
64284
64285 ac_ext=cpp
64286 ac_cpp='$CXXCPP $CPPFLAGS'
64287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64290
64291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64292 /* end confdefs.h. */
64293 #include <math.h>
64294 int
64295 main ()
64296 {
64297 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64298 ;
64299 return 0;
64300 }
64301 _ACEOF
64302 if ac_fn_cxx_try_compile "$LINENO"; then :
64303 glibcxx_cv_func__long_double_trig_use=yes
64304 else
64305 glibcxx_cv_func__long_double_trig_use=no
64306 fi
64307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64308 ac_ext=c
64309 ac_cpp='$CPP $CPPFLAGS'
64310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64313
64314 fi
64315
64316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64317 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64318 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64319 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64320 do :
64321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64324 cat >>confdefs.h <<_ACEOF
64325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64326 _ACEOF
64327
64328 fi
64329 done
64330
64331 fi
64332 fi
64333
64334
64335
64336
64337
64338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64339 $as_echo_n "checking for long double round functions... " >&6; }
64340 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64341 $as_echo_n "(cached) " >&6
64342 else
64343
64344
64345 ac_ext=cpp
64346 ac_cpp='$CXXCPP $CPPFLAGS'
64347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64350
64351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64352 /* end confdefs.h. */
64353 #include <math.h>
64354 int
64355 main ()
64356 {
64357 ceill (0); floorl (0);
64358 ;
64359 return 0;
64360 }
64361 _ACEOF
64362 if ac_fn_cxx_try_compile "$LINENO"; then :
64363 glibcxx_cv_func_long_double_round_use=yes
64364 else
64365 glibcxx_cv_func_long_double_round_use=no
64366 fi
64367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64368 ac_ext=c
64369 ac_cpp='$CPP $CPPFLAGS'
64370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64373
64374 fi
64375
64376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64377 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64378 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64379 for ac_func in ceill floorl
64380 do :
64381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64384 cat >>confdefs.h <<_ACEOF
64385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64386 _ACEOF
64387
64388 fi
64389 done
64390
64391 else
64392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64393 $as_echo_n "checking for _long double round functions... " >&6; }
64394 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64395 $as_echo_n "(cached) " >&6
64396 else
64397
64398
64399 ac_ext=cpp
64400 ac_cpp='$CXXCPP $CPPFLAGS'
64401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64404
64405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64406 /* end confdefs.h. */
64407 #include <math.h>
64408 int
64409 main ()
64410 {
64411 _ceill (0); _floorl (0);
64412 ;
64413 return 0;
64414 }
64415 _ACEOF
64416 if ac_fn_cxx_try_compile "$LINENO"; then :
64417 glibcxx_cv_func__long_double_round_use=yes
64418 else
64419 glibcxx_cv_func__long_double_round_use=no
64420 fi
64421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64422 ac_ext=c
64423 ac_cpp='$CPP $CPPFLAGS'
64424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64427
64428 fi
64429
64430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64431 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64432 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64433 for ac_func in _ceill _floorl
64434 do :
64435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64438 cat >>confdefs.h <<_ACEOF
64439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64440 _ACEOF
64441
64442 fi
64443 done
64444
64445 fi
64446 fi
64447
64448
64449
64450
64451
64452
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64454 $as_echo_n "checking for isnanl declaration... " >&6; }
64455 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64456 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64457 $as_echo_n "(cached) " >&6
64458 else
64459
64460
64461 ac_ext=cpp
64462 ac_cpp='$CXXCPP $CPPFLAGS'
64463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64466
64467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64468 /* end confdefs.h. */
64469 #include <math.h>
64470 #ifdef HAVE_IEEEFP_H
64471 #include <ieeefp.h>
64472 #endif
64473
64474 int
64475 main ()
64476 {
64477 isnanl(0);
64478 ;
64479 return 0;
64480 }
64481 _ACEOF
64482 if ac_fn_cxx_try_compile "$LINENO"; then :
64483 glibcxx_cv_func_isnanl_use=yes
64484 else
64485 glibcxx_cv_func_isnanl_use=no
64486 fi
64487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64488 ac_ext=c
64489 ac_cpp='$CPP $CPPFLAGS'
64490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64493
64494
64495 fi
64496
64497 fi
64498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64499 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64500
64501 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64502 for ac_func in isnanl
64503 do :
64504 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64505 if test "x$ac_cv_func_isnanl" = xyes; then :
64506 cat >>confdefs.h <<_ACEOF
64507 #define HAVE_ISNANL 1
64508 _ACEOF
64509
64510 fi
64511 done
64512
64513 else
64514
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64516 $as_echo_n "checking for _isnanl declaration... " >&6; }
64517 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64518 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64519 $as_echo_n "(cached) " >&6
64520 else
64521
64522
64523 ac_ext=cpp
64524 ac_cpp='$CXXCPP $CPPFLAGS'
64525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528
64529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64530 /* end confdefs.h. */
64531 #include <math.h>
64532 #ifdef HAVE_IEEEFP_H
64533 #include <ieeefp.h>
64534 #endif
64535
64536 int
64537 main ()
64538 {
64539 _isnanl(0);
64540 ;
64541 return 0;
64542 }
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func__isnanl_use=yes
64546 else
64547 glibcxx_cv_func__isnanl_use=no
64548 fi
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64555
64556
64557 fi
64558
64559 fi
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64561 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64562
64563 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64564 for ac_func in _isnanl
64565 do :
64566 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64567 if test "x$ac_cv_func__isnanl" = xyes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE__ISNANL 1
64570 _ACEOF
64571
64572 fi
64573 done
64574
64575 fi
64576 fi
64577
64578
64579
64580
64581
64582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64583 $as_echo_n "checking for isinfl declaration... " >&6; }
64584 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64585 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64586 $as_echo_n "(cached) " >&6
64587 else
64588
64589
64590 ac_ext=cpp
64591 ac_cpp='$CXXCPP $CPPFLAGS'
64592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64595
64596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64597 /* end confdefs.h. */
64598 #include <math.h>
64599 #ifdef HAVE_IEEEFP_H
64600 #include <ieeefp.h>
64601 #endif
64602
64603 int
64604 main ()
64605 {
64606 isinfl(0);
64607 ;
64608 return 0;
64609 }
64610 _ACEOF
64611 if ac_fn_cxx_try_compile "$LINENO"; then :
64612 glibcxx_cv_func_isinfl_use=yes
64613 else
64614 glibcxx_cv_func_isinfl_use=no
64615 fi
64616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64617 ac_ext=c
64618 ac_cpp='$CPP $CPPFLAGS'
64619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64622
64623
64624 fi
64625
64626 fi
64627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64628 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64629
64630 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64631 for ac_func in isinfl
64632 do :
64633 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64634 if test "x$ac_cv_func_isinfl" = xyes; then :
64635 cat >>confdefs.h <<_ACEOF
64636 #define HAVE_ISINFL 1
64637 _ACEOF
64638
64639 fi
64640 done
64641
64642 else
64643
64644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64645 $as_echo_n "checking for _isinfl declaration... " >&6; }
64646 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64647 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64648 $as_echo_n "(cached) " >&6
64649 else
64650
64651
64652 ac_ext=cpp
64653 ac_cpp='$CXXCPP $CPPFLAGS'
64654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657
64658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64659 /* end confdefs.h. */
64660 #include <math.h>
64661 #ifdef HAVE_IEEEFP_H
64662 #include <ieeefp.h>
64663 #endif
64664
64665 int
64666 main ()
64667 {
64668 _isinfl(0);
64669 ;
64670 return 0;
64671 }
64672 _ACEOF
64673 if ac_fn_cxx_try_compile "$LINENO"; then :
64674 glibcxx_cv_func__isinfl_use=yes
64675 else
64676 glibcxx_cv_func__isinfl_use=no
64677 fi
64678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64679 ac_ext=c
64680 ac_cpp='$CPP $CPPFLAGS'
64681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64684
64685
64686 fi
64687
64688 fi
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64690 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64691
64692 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64693 for ac_func in _isinfl
64694 do :
64695 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64696 if test "x$ac_cv_func__isinfl" = xyes; then :
64697 cat >>confdefs.h <<_ACEOF
64698 #define HAVE__ISINFL 1
64699 _ACEOF
64700
64701 fi
64702 done
64703
64704 fi
64705 fi
64706
64707
64708
64709
64710
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64712 $as_echo_n "checking for atan2l declaration... " >&6; }
64713 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64714 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64715 $as_echo_n "(cached) " >&6
64716 else
64717
64718
64719 ac_ext=cpp
64720 ac_cpp='$CXXCPP $CPPFLAGS'
64721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64724
64725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64726 /* end confdefs.h. */
64727 #include <math.h>
64728 int
64729 main ()
64730 {
64731 atan2l(0, 0);
64732 ;
64733 return 0;
64734 }
64735 _ACEOF
64736 if ac_fn_cxx_try_compile "$LINENO"; then :
64737 glibcxx_cv_func_atan2l_use=yes
64738 else
64739 glibcxx_cv_func_atan2l_use=no
64740 fi
64741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64742 ac_ext=c
64743 ac_cpp='$CPP $CPPFLAGS'
64744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64747
64748
64749 fi
64750
64751 fi
64752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64753 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64754
64755 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64756 for ac_func in atan2l
64757 do :
64758 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64759 if test "x$ac_cv_func_atan2l" = xyes; then :
64760 cat >>confdefs.h <<_ACEOF
64761 #define HAVE_ATAN2L 1
64762 _ACEOF
64763
64764 fi
64765 done
64766
64767 else
64768
64769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64770 $as_echo_n "checking for _atan2l declaration... " >&6; }
64771 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64772 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64773 $as_echo_n "(cached) " >&6
64774 else
64775
64776
64777 ac_ext=cpp
64778 ac_cpp='$CXXCPP $CPPFLAGS'
64779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64782
64783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64784 /* end confdefs.h. */
64785 #include <math.h>
64786 int
64787 main ()
64788 {
64789 _atan2l(0, 0);
64790 ;
64791 return 0;
64792 }
64793 _ACEOF
64794 if ac_fn_cxx_try_compile "$LINENO"; then :
64795 glibcxx_cv_func__atan2l_use=yes
64796 else
64797 glibcxx_cv_func__atan2l_use=no
64798 fi
64799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64800 ac_ext=c
64801 ac_cpp='$CPP $CPPFLAGS'
64802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64805
64806
64807 fi
64808
64809 fi
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64811 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64812
64813 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64814 for ac_func in _atan2l
64815 do :
64816 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64817 if test "x$ac_cv_func__atan2l" = xyes; then :
64818 cat >>confdefs.h <<_ACEOF
64819 #define HAVE__ATAN2L 1
64820 _ACEOF
64821
64822 fi
64823 done
64824
64825 fi
64826 fi
64827
64828
64829
64830
64831
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64833 $as_echo_n "checking for expl declaration... " >&6; }
64834 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64835 if ${glibcxx_cv_func_expl_use+:} false; then :
64836 $as_echo_n "(cached) " >&6
64837 else
64838
64839
64840 ac_ext=cpp
64841 ac_cpp='$CXXCPP $CPPFLAGS'
64842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64845
64846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64847 /* end confdefs.h. */
64848 #include <math.h>
64849 #ifdef HAVE_IEEEFP_H
64850 #include <ieeefp.h>
64851 #endif
64852
64853 int
64854 main ()
64855 {
64856 expl(0);
64857 ;
64858 return 0;
64859 }
64860 _ACEOF
64861 if ac_fn_cxx_try_compile "$LINENO"; then :
64862 glibcxx_cv_func_expl_use=yes
64863 else
64864 glibcxx_cv_func_expl_use=no
64865 fi
64866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64867 ac_ext=c
64868 ac_cpp='$CPP $CPPFLAGS'
64869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64872
64873
64874 fi
64875
64876 fi
64877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64878 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64879
64880 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64881 for ac_func in expl
64882 do :
64883 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64884 if test "x$ac_cv_func_expl" = xyes; then :
64885 cat >>confdefs.h <<_ACEOF
64886 #define HAVE_EXPL 1
64887 _ACEOF
64888
64889 fi
64890 done
64891
64892 else
64893
64894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64895 $as_echo_n "checking for _expl declaration... " >&6; }
64896 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64897 if ${glibcxx_cv_func__expl_use+:} false; then :
64898 $as_echo_n "(cached) " >&6
64899 else
64900
64901
64902 ac_ext=cpp
64903 ac_cpp='$CXXCPP $CPPFLAGS'
64904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64907
64908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64909 /* end confdefs.h. */
64910 #include <math.h>
64911 #ifdef HAVE_IEEEFP_H
64912 #include <ieeefp.h>
64913 #endif
64914
64915 int
64916 main ()
64917 {
64918 _expl(0);
64919 ;
64920 return 0;
64921 }
64922 _ACEOF
64923 if ac_fn_cxx_try_compile "$LINENO"; then :
64924 glibcxx_cv_func__expl_use=yes
64925 else
64926 glibcxx_cv_func__expl_use=no
64927 fi
64928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64929 ac_ext=c
64930 ac_cpp='$CPP $CPPFLAGS'
64931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64934
64935
64936 fi
64937
64938 fi
64939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64940 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64941
64942 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64943 for ac_func in _expl
64944 do :
64945 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64946 if test "x$ac_cv_func__expl" = xyes; then :
64947 cat >>confdefs.h <<_ACEOF
64948 #define HAVE__EXPL 1
64949 _ACEOF
64950
64951 fi
64952 done
64953
64954 fi
64955 fi
64956
64957
64958
64959
64960
64961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64962 $as_echo_n "checking for fabsl declaration... " >&6; }
64963 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64964 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64965 $as_echo_n "(cached) " >&6
64966 else
64967
64968
64969 ac_ext=cpp
64970 ac_cpp='$CXXCPP $CPPFLAGS'
64971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64974
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977 #include <math.h>
64978 #ifdef HAVE_IEEEFP_H
64979 #include <ieeefp.h>
64980 #endif
64981
64982 int
64983 main ()
64984 {
64985 fabsl(0);
64986 ;
64987 return 0;
64988 }
64989 _ACEOF
64990 if ac_fn_cxx_try_compile "$LINENO"; then :
64991 glibcxx_cv_func_fabsl_use=yes
64992 else
64993 glibcxx_cv_func_fabsl_use=no
64994 fi
64995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64996 ac_ext=c
64997 ac_cpp='$CPP $CPPFLAGS'
64998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65001
65002
65003 fi
65004
65005 fi
65006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65007 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65008
65009 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65010 for ac_func in fabsl
65011 do :
65012 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65013 if test "x$ac_cv_func_fabsl" = xyes; then :
65014 cat >>confdefs.h <<_ACEOF
65015 #define HAVE_FABSL 1
65016 _ACEOF
65017
65018 fi
65019 done
65020
65021 else
65022
65023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65024 $as_echo_n "checking for _fabsl declaration... " >&6; }
65025 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65026 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65027 $as_echo_n "(cached) " >&6
65028 else
65029
65030
65031 ac_ext=cpp
65032 ac_cpp='$CXXCPP $CPPFLAGS'
65033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65036
65037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65038 /* end confdefs.h. */
65039 #include <math.h>
65040 #ifdef HAVE_IEEEFP_H
65041 #include <ieeefp.h>
65042 #endif
65043
65044 int
65045 main ()
65046 {
65047 _fabsl(0);
65048 ;
65049 return 0;
65050 }
65051 _ACEOF
65052 if ac_fn_cxx_try_compile "$LINENO"; then :
65053 glibcxx_cv_func__fabsl_use=yes
65054 else
65055 glibcxx_cv_func__fabsl_use=no
65056 fi
65057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65058 ac_ext=c
65059 ac_cpp='$CPP $CPPFLAGS'
65060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65063
65064
65065 fi
65066
65067 fi
65068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65069 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65070
65071 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65072 for ac_func in _fabsl
65073 do :
65074 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65075 if test "x$ac_cv_func__fabsl" = xyes; then :
65076 cat >>confdefs.h <<_ACEOF
65077 #define HAVE__FABSL 1
65078 _ACEOF
65079
65080 fi
65081 done
65082
65083 fi
65084 fi
65085
65086
65087
65088
65089
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65091 $as_echo_n "checking for fmodl declaration... " >&6; }
65092 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65093 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65094 $as_echo_n "(cached) " >&6
65095 else
65096
65097
65098 ac_ext=cpp
65099 ac_cpp='$CXXCPP $CPPFLAGS'
65100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65103
65104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65105 /* end confdefs.h. */
65106 #include <math.h>
65107 int
65108 main ()
65109 {
65110 fmodl(0, 0);
65111 ;
65112 return 0;
65113 }
65114 _ACEOF
65115 if ac_fn_cxx_try_compile "$LINENO"; then :
65116 glibcxx_cv_func_fmodl_use=yes
65117 else
65118 glibcxx_cv_func_fmodl_use=no
65119 fi
65120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65121 ac_ext=c
65122 ac_cpp='$CPP $CPPFLAGS'
65123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65126
65127
65128 fi
65129
65130 fi
65131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65132 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65133
65134 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65135 for ac_func in fmodl
65136 do :
65137 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65138 if test "x$ac_cv_func_fmodl" = xyes; then :
65139 cat >>confdefs.h <<_ACEOF
65140 #define HAVE_FMODL 1
65141 _ACEOF
65142
65143 fi
65144 done
65145
65146 else
65147
65148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65149 $as_echo_n "checking for _fmodl declaration... " >&6; }
65150 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65151 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65152 $as_echo_n "(cached) " >&6
65153 else
65154
65155
65156 ac_ext=cpp
65157 ac_cpp='$CXXCPP $CPPFLAGS'
65158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65161
65162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65163 /* end confdefs.h. */
65164 #include <math.h>
65165 int
65166 main ()
65167 {
65168 _fmodl(0, 0);
65169 ;
65170 return 0;
65171 }
65172 _ACEOF
65173 if ac_fn_cxx_try_compile "$LINENO"; then :
65174 glibcxx_cv_func__fmodl_use=yes
65175 else
65176 glibcxx_cv_func__fmodl_use=no
65177 fi
65178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65179 ac_ext=c
65180 ac_cpp='$CPP $CPPFLAGS'
65181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65184
65185
65186 fi
65187
65188 fi
65189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65190 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65191
65192 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65193 for ac_func in _fmodl
65194 do :
65195 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65196 if test "x$ac_cv_func__fmodl" = xyes; then :
65197 cat >>confdefs.h <<_ACEOF
65198 #define HAVE__FMODL 1
65199 _ACEOF
65200
65201 fi
65202 done
65203
65204 fi
65205 fi
65206
65207
65208
65209
65210
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65212 $as_echo_n "checking for frexpl declaration... " >&6; }
65213 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65214 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65215 $as_echo_n "(cached) " >&6
65216 else
65217
65218
65219 ac_ext=cpp
65220 ac_cpp='$CXXCPP $CPPFLAGS'
65221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65224
65225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65226 /* end confdefs.h. */
65227 #include <math.h>
65228 int
65229 main ()
65230 {
65231 frexpl(0, 0);
65232 ;
65233 return 0;
65234 }
65235 _ACEOF
65236 if ac_fn_cxx_try_compile "$LINENO"; then :
65237 glibcxx_cv_func_frexpl_use=yes
65238 else
65239 glibcxx_cv_func_frexpl_use=no
65240 fi
65241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65242 ac_ext=c
65243 ac_cpp='$CPP $CPPFLAGS'
65244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65247
65248
65249 fi
65250
65251 fi
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65253 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65254
65255 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65256 for ac_func in frexpl
65257 do :
65258 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65259 if test "x$ac_cv_func_frexpl" = xyes; then :
65260 cat >>confdefs.h <<_ACEOF
65261 #define HAVE_FREXPL 1
65262 _ACEOF
65263
65264 fi
65265 done
65266
65267 else
65268
65269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65270 $as_echo_n "checking for _frexpl declaration... " >&6; }
65271 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65272 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65273 $as_echo_n "(cached) " >&6
65274 else
65275
65276
65277 ac_ext=cpp
65278 ac_cpp='$CXXCPP $CPPFLAGS'
65279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65282
65283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65284 /* end confdefs.h. */
65285 #include <math.h>
65286 int
65287 main ()
65288 {
65289 _frexpl(0, 0);
65290 ;
65291 return 0;
65292 }
65293 _ACEOF
65294 if ac_fn_cxx_try_compile "$LINENO"; then :
65295 glibcxx_cv_func__frexpl_use=yes
65296 else
65297 glibcxx_cv_func__frexpl_use=no
65298 fi
65299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65300 ac_ext=c
65301 ac_cpp='$CPP $CPPFLAGS'
65302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65305
65306
65307 fi
65308
65309 fi
65310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65311 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65312
65313 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65314 for ac_func in _frexpl
65315 do :
65316 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65317 if test "x$ac_cv_func__frexpl" = xyes; then :
65318 cat >>confdefs.h <<_ACEOF
65319 #define HAVE__FREXPL 1
65320 _ACEOF
65321
65322 fi
65323 done
65324
65325 fi
65326 fi
65327
65328
65329
65330
65331
65332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65333 $as_echo_n "checking for hypotl declaration... " >&6; }
65334 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65335 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65336 $as_echo_n "(cached) " >&6
65337 else
65338
65339
65340 ac_ext=cpp
65341 ac_cpp='$CXXCPP $CPPFLAGS'
65342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65345
65346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65347 /* end confdefs.h. */
65348 #include <math.h>
65349 int
65350 main ()
65351 {
65352 hypotl(0, 0);
65353 ;
65354 return 0;
65355 }
65356 _ACEOF
65357 if ac_fn_cxx_try_compile "$LINENO"; then :
65358 glibcxx_cv_func_hypotl_use=yes
65359 else
65360 glibcxx_cv_func_hypotl_use=no
65361 fi
65362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65363 ac_ext=c
65364 ac_cpp='$CPP $CPPFLAGS'
65365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65368
65369
65370 fi
65371
65372 fi
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65374 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65375
65376 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65377 for ac_func in hypotl
65378 do :
65379 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65380 if test "x$ac_cv_func_hypotl" = xyes; then :
65381 cat >>confdefs.h <<_ACEOF
65382 #define HAVE_HYPOTL 1
65383 _ACEOF
65384
65385 fi
65386 done
65387
65388 else
65389
65390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65391 $as_echo_n "checking for _hypotl declaration... " >&6; }
65392 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65393 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65394 $as_echo_n "(cached) " >&6
65395 else
65396
65397
65398 ac_ext=cpp
65399 ac_cpp='$CXXCPP $CPPFLAGS'
65400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65403
65404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65405 /* end confdefs.h. */
65406 #include <math.h>
65407 int
65408 main ()
65409 {
65410 _hypotl(0, 0);
65411 ;
65412 return 0;
65413 }
65414 _ACEOF
65415 if ac_fn_cxx_try_compile "$LINENO"; then :
65416 glibcxx_cv_func__hypotl_use=yes
65417 else
65418 glibcxx_cv_func__hypotl_use=no
65419 fi
65420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65421 ac_ext=c
65422 ac_cpp='$CPP $CPPFLAGS'
65423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65426
65427
65428 fi
65429
65430 fi
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65432 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65433
65434 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65435 for ac_func in _hypotl
65436 do :
65437 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65438 if test "x$ac_cv_func__hypotl" = xyes; then :
65439 cat >>confdefs.h <<_ACEOF
65440 #define HAVE__HYPOTL 1
65441 _ACEOF
65442
65443 fi
65444 done
65445
65446 fi
65447 fi
65448
65449
65450
65451
65452
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65454 $as_echo_n "checking for ldexpl declaration... " >&6; }
65455 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65456 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65457 $as_echo_n "(cached) " >&6
65458 else
65459
65460
65461 ac_ext=cpp
65462 ac_cpp='$CXXCPP $CPPFLAGS'
65463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65466
65467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65468 /* end confdefs.h. */
65469 #include <math.h>
65470 int
65471 main ()
65472 {
65473 ldexpl(0, 0);
65474 ;
65475 return 0;
65476 }
65477 _ACEOF
65478 if ac_fn_cxx_try_compile "$LINENO"; then :
65479 glibcxx_cv_func_ldexpl_use=yes
65480 else
65481 glibcxx_cv_func_ldexpl_use=no
65482 fi
65483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65484 ac_ext=c
65485 ac_cpp='$CPP $CPPFLAGS'
65486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65489
65490
65491 fi
65492
65493 fi
65494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65495 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65496
65497 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65498 for ac_func in ldexpl
65499 do :
65500 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65501 if test "x$ac_cv_func_ldexpl" = xyes; then :
65502 cat >>confdefs.h <<_ACEOF
65503 #define HAVE_LDEXPL 1
65504 _ACEOF
65505
65506 fi
65507 done
65508
65509 else
65510
65511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65512 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65513 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65514 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65515 $as_echo_n "(cached) " >&6
65516 else
65517
65518
65519 ac_ext=cpp
65520 ac_cpp='$CXXCPP $CPPFLAGS'
65521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65524
65525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65526 /* end confdefs.h. */
65527 #include <math.h>
65528 int
65529 main ()
65530 {
65531 _ldexpl(0, 0);
65532 ;
65533 return 0;
65534 }
65535 _ACEOF
65536 if ac_fn_cxx_try_compile "$LINENO"; then :
65537 glibcxx_cv_func__ldexpl_use=yes
65538 else
65539 glibcxx_cv_func__ldexpl_use=no
65540 fi
65541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65542 ac_ext=c
65543 ac_cpp='$CPP $CPPFLAGS'
65544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65547
65548
65549 fi
65550
65551 fi
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65553 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65554
65555 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65556 for ac_func in _ldexpl
65557 do :
65558 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65559 if test "x$ac_cv_func__ldexpl" = xyes; then :
65560 cat >>confdefs.h <<_ACEOF
65561 #define HAVE__LDEXPL 1
65562 _ACEOF
65563
65564 fi
65565 done
65566
65567 fi
65568 fi
65569
65570
65571
65572
65573
65574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65575 $as_echo_n "checking for logl declaration... " >&6; }
65576 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65577 if ${glibcxx_cv_func_logl_use+:} false; then :
65578 $as_echo_n "(cached) " >&6
65579 else
65580
65581
65582 ac_ext=cpp
65583 ac_cpp='$CXXCPP $CPPFLAGS'
65584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65587
65588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65589 /* end confdefs.h. */
65590 #include <math.h>
65591 #ifdef HAVE_IEEEFP_H
65592 #include <ieeefp.h>
65593 #endif
65594
65595 int
65596 main ()
65597 {
65598 logl(0);
65599 ;
65600 return 0;
65601 }
65602 _ACEOF
65603 if ac_fn_cxx_try_compile "$LINENO"; then :
65604 glibcxx_cv_func_logl_use=yes
65605 else
65606 glibcxx_cv_func_logl_use=no
65607 fi
65608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65609 ac_ext=c
65610 ac_cpp='$CPP $CPPFLAGS'
65611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65614
65615
65616 fi
65617
65618 fi
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65620 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65621
65622 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65623 for ac_func in logl
65624 do :
65625 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65626 if test "x$ac_cv_func_logl" = xyes; then :
65627 cat >>confdefs.h <<_ACEOF
65628 #define HAVE_LOGL 1
65629 _ACEOF
65630
65631 fi
65632 done
65633
65634 else
65635
65636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65637 $as_echo_n "checking for _logl declaration... " >&6; }
65638 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65639 if ${glibcxx_cv_func__logl_use+:} false; then :
65640 $as_echo_n "(cached) " >&6
65641 else
65642
65643
65644 ac_ext=cpp
65645 ac_cpp='$CXXCPP $CPPFLAGS'
65646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65649
65650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65651 /* end confdefs.h. */
65652 #include <math.h>
65653 #ifdef HAVE_IEEEFP_H
65654 #include <ieeefp.h>
65655 #endif
65656
65657 int
65658 main ()
65659 {
65660 _logl(0);
65661 ;
65662 return 0;
65663 }
65664 _ACEOF
65665 if ac_fn_cxx_try_compile "$LINENO"; then :
65666 glibcxx_cv_func__logl_use=yes
65667 else
65668 glibcxx_cv_func__logl_use=no
65669 fi
65670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65671 ac_ext=c
65672 ac_cpp='$CPP $CPPFLAGS'
65673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65676
65677
65678 fi
65679
65680 fi
65681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65682 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65683
65684 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65685 for ac_func in _logl
65686 do :
65687 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65688 if test "x$ac_cv_func__logl" = xyes; then :
65689 cat >>confdefs.h <<_ACEOF
65690 #define HAVE__LOGL 1
65691 _ACEOF
65692
65693 fi
65694 done
65695
65696 fi
65697 fi
65698
65699
65700
65701
65702
65703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65704 $as_echo_n "checking for log10l declaration... " >&6; }
65705 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65706 if ${glibcxx_cv_func_log10l_use+:} false; then :
65707 $as_echo_n "(cached) " >&6
65708 else
65709
65710
65711 ac_ext=cpp
65712 ac_cpp='$CXXCPP $CPPFLAGS'
65713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65716
65717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65718 /* end confdefs.h. */
65719 #include <math.h>
65720 #ifdef HAVE_IEEEFP_H
65721 #include <ieeefp.h>
65722 #endif
65723
65724 int
65725 main ()
65726 {
65727 log10l(0);
65728 ;
65729 return 0;
65730 }
65731 _ACEOF
65732 if ac_fn_cxx_try_compile "$LINENO"; then :
65733 glibcxx_cv_func_log10l_use=yes
65734 else
65735 glibcxx_cv_func_log10l_use=no
65736 fi
65737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65738 ac_ext=c
65739 ac_cpp='$CPP $CPPFLAGS'
65740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65743
65744
65745 fi
65746
65747 fi
65748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65749 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65750
65751 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65752 for ac_func in log10l
65753 do :
65754 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65755 if test "x$ac_cv_func_log10l" = xyes; then :
65756 cat >>confdefs.h <<_ACEOF
65757 #define HAVE_LOG10L 1
65758 _ACEOF
65759
65760 fi
65761 done
65762
65763 else
65764
65765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65766 $as_echo_n "checking for _log10l declaration... " >&6; }
65767 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65768 if ${glibcxx_cv_func__log10l_use+:} false; then :
65769 $as_echo_n "(cached) " >&6
65770 else
65771
65772
65773 ac_ext=cpp
65774 ac_cpp='$CXXCPP $CPPFLAGS'
65775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65778
65779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65780 /* end confdefs.h. */
65781 #include <math.h>
65782 #ifdef HAVE_IEEEFP_H
65783 #include <ieeefp.h>
65784 #endif
65785
65786 int
65787 main ()
65788 {
65789 _log10l(0);
65790 ;
65791 return 0;
65792 }
65793 _ACEOF
65794 if ac_fn_cxx_try_compile "$LINENO"; then :
65795 glibcxx_cv_func__log10l_use=yes
65796 else
65797 glibcxx_cv_func__log10l_use=no
65798 fi
65799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65800 ac_ext=c
65801 ac_cpp='$CPP $CPPFLAGS'
65802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65805
65806
65807 fi
65808
65809 fi
65810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65811 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65812
65813 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65814 for ac_func in _log10l
65815 do :
65816 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65817 if test "x$ac_cv_func__log10l" = xyes; then :
65818 cat >>confdefs.h <<_ACEOF
65819 #define HAVE__LOG10L 1
65820 _ACEOF
65821
65822 fi
65823 done
65824
65825 fi
65826 fi
65827
65828
65829
65830
65831
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65833 $as_echo_n "checking for modfl declaration... " >&6; }
65834 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65835 if ${glibcxx_cv_func_modfl_use+:} false; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65838
65839
65840 ac_ext=cpp
65841 ac_cpp='$CXXCPP $CPPFLAGS'
65842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65845
65846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65847 /* end confdefs.h. */
65848 #include <math.h>
65849 int
65850 main ()
65851 {
65852 modfl(0, 0);
65853 ;
65854 return 0;
65855 }
65856 _ACEOF
65857 if ac_fn_cxx_try_compile "$LINENO"; then :
65858 glibcxx_cv_func_modfl_use=yes
65859 else
65860 glibcxx_cv_func_modfl_use=no
65861 fi
65862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65863 ac_ext=c
65864 ac_cpp='$CPP $CPPFLAGS'
65865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65868
65869
65870 fi
65871
65872 fi
65873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65874 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65875
65876 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65877 for ac_func in modfl
65878 do :
65879 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65880 if test "x$ac_cv_func_modfl" = xyes; then :
65881 cat >>confdefs.h <<_ACEOF
65882 #define HAVE_MODFL 1
65883 _ACEOF
65884
65885 fi
65886 done
65887
65888 else
65889
65890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65891 $as_echo_n "checking for _modfl declaration... " >&6; }
65892 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65893 if ${glibcxx_cv_func__modfl_use+:} false; then :
65894 $as_echo_n "(cached) " >&6
65895 else
65896
65897
65898 ac_ext=cpp
65899 ac_cpp='$CXXCPP $CPPFLAGS'
65900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65903
65904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65905 /* end confdefs.h. */
65906 #include <math.h>
65907 int
65908 main ()
65909 {
65910 _modfl(0, 0);
65911 ;
65912 return 0;
65913 }
65914 _ACEOF
65915 if ac_fn_cxx_try_compile "$LINENO"; then :
65916 glibcxx_cv_func__modfl_use=yes
65917 else
65918 glibcxx_cv_func__modfl_use=no
65919 fi
65920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65921 ac_ext=c
65922 ac_cpp='$CPP $CPPFLAGS'
65923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65926
65927
65928 fi
65929
65930 fi
65931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65932 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65933
65934 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65935 for ac_func in _modfl
65936 do :
65937 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65938 if test "x$ac_cv_func__modfl" = xyes; then :
65939 cat >>confdefs.h <<_ACEOF
65940 #define HAVE__MODFL 1
65941 _ACEOF
65942
65943 fi
65944 done
65945
65946 fi
65947 fi
65948
65949
65950
65951
65952
65953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65954 $as_echo_n "checking for powl declaration... " >&6; }
65955 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65956 if ${glibcxx_cv_func_powl_use+:} false; then :
65957 $as_echo_n "(cached) " >&6
65958 else
65959
65960
65961 ac_ext=cpp
65962 ac_cpp='$CXXCPP $CPPFLAGS'
65963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65966
65967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65968 /* end confdefs.h. */
65969 #include <math.h>
65970 int
65971 main ()
65972 {
65973 powl(0, 0);
65974 ;
65975 return 0;
65976 }
65977 _ACEOF
65978 if ac_fn_cxx_try_compile "$LINENO"; then :
65979 glibcxx_cv_func_powl_use=yes
65980 else
65981 glibcxx_cv_func_powl_use=no
65982 fi
65983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65984 ac_ext=c
65985 ac_cpp='$CPP $CPPFLAGS'
65986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65989
65990
65991 fi
65992
65993 fi
65994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65995 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65996
65997 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65998 for ac_func in powl
65999 do :
66000 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66001 if test "x$ac_cv_func_powl" = xyes; then :
66002 cat >>confdefs.h <<_ACEOF
66003 #define HAVE_POWL 1
66004 _ACEOF
66005
66006 fi
66007 done
66008
66009 else
66010
66011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66012 $as_echo_n "checking for _powl declaration... " >&6; }
66013 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66014 if ${glibcxx_cv_func__powl_use+:} false; then :
66015 $as_echo_n "(cached) " >&6
66016 else
66017
66018
66019 ac_ext=cpp
66020 ac_cpp='$CXXCPP $CPPFLAGS'
66021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66024
66025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66026 /* end confdefs.h. */
66027 #include <math.h>
66028 int
66029 main ()
66030 {
66031 _powl(0, 0);
66032 ;
66033 return 0;
66034 }
66035 _ACEOF
66036 if ac_fn_cxx_try_compile "$LINENO"; then :
66037 glibcxx_cv_func__powl_use=yes
66038 else
66039 glibcxx_cv_func__powl_use=no
66040 fi
66041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66042 ac_ext=c
66043 ac_cpp='$CPP $CPPFLAGS'
66044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66047
66048
66049 fi
66050
66051 fi
66052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66053 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66054
66055 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66056 for ac_func in _powl
66057 do :
66058 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66059 if test "x$ac_cv_func__powl" = xyes; then :
66060 cat >>confdefs.h <<_ACEOF
66061 #define HAVE__POWL 1
66062 _ACEOF
66063
66064 fi
66065 done
66066
66067 fi
66068 fi
66069
66070
66071
66072
66073
66074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66075 $as_echo_n "checking for sqrtl declaration... " >&6; }
66076 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66077 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66078 $as_echo_n "(cached) " >&6
66079 else
66080
66081
66082 ac_ext=cpp
66083 ac_cpp='$CXXCPP $CPPFLAGS'
66084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66087
66088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66089 /* end confdefs.h. */
66090 #include <math.h>
66091 #ifdef HAVE_IEEEFP_H
66092 #include <ieeefp.h>
66093 #endif
66094
66095 int
66096 main ()
66097 {
66098 sqrtl(0);
66099 ;
66100 return 0;
66101 }
66102 _ACEOF
66103 if ac_fn_cxx_try_compile "$LINENO"; then :
66104 glibcxx_cv_func_sqrtl_use=yes
66105 else
66106 glibcxx_cv_func_sqrtl_use=no
66107 fi
66108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66109 ac_ext=c
66110 ac_cpp='$CPP $CPPFLAGS'
66111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66114
66115
66116 fi
66117
66118 fi
66119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66120 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66121
66122 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66123 for ac_func in sqrtl
66124 do :
66125 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66126 if test "x$ac_cv_func_sqrtl" = xyes; then :
66127 cat >>confdefs.h <<_ACEOF
66128 #define HAVE_SQRTL 1
66129 _ACEOF
66130
66131 fi
66132 done
66133
66134 else
66135
66136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66137 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66138 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66139 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66140 $as_echo_n "(cached) " >&6
66141 else
66142
66143
66144 ac_ext=cpp
66145 ac_cpp='$CXXCPP $CPPFLAGS'
66146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66149
66150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66151 /* end confdefs.h. */
66152 #include <math.h>
66153 #ifdef HAVE_IEEEFP_H
66154 #include <ieeefp.h>
66155 #endif
66156
66157 int
66158 main ()
66159 {
66160 _sqrtl(0);
66161 ;
66162 return 0;
66163 }
66164 _ACEOF
66165 if ac_fn_cxx_try_compile "$LINENO"; then :
66166 glibcxx_cv_func__sqrtl_use=yes
66167 else
66168 glibcxx_cv_func__sqrtl_use=no
66169 fi
66170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66171 ac_ext=c
66172 ac_cpp='$CPP $CPPFLAGS'
66173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66176
66177
66178 fi
66179
66180 fi
66181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66182 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66183
66184 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66185 for ac_func in _sqrtl
66186 do :
66187 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66188 if test "x$ac_cv_func__sqrtl" = xyes; then :
66189 cat >>confdefs.h <<_ACEOF
66190 #define HAVE__SQRTL 1
66191 _ACEOF
66192
66193 fi
66194 done
66195
66196 fi
66197 fi
66198
66199
66200
66201
66202
66203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66204 $as_echo_n "checking for sincosl declaration... " >&6; }
66205 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66206 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66207 $as_echo_n "(cached) " >&6
66208 else
66209
66210
66211 ac_ext=cpp
66212 ac_cpp='$CXXCPP $CPPFLAGS'
66213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66216
66217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66218 /* end confdefs.h. */
66219 #include <math.h>
66220 int
66221 main ()
66222 {
66223 sincosl(0, 0, 0);
66224 ;
66225 return 0;
66226 }
66227 _ACEOF
66228 if ac_fn_cxx_try_compile "$LINENO"; then :
66229 glibcxx_cv_func_sincosl_use=yes
66230 else
66231 glibcxx_cv_func_sincosl_use=no
66232 fi
66233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66234 ac_ext=c
66235 ac_cpp='$CPP $CPPFLAGS'
66236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66239
66240
66241 fi
66242
66243 fi
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66245 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66246
66247 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66248 for ac_func in sincosl
66249 do :
66250 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66251 if test "x$ac_cv_func_sincosl" = xyes; then :
66252 cat >>confdefs.h <<_ACEOF
66253 #define HAVE_SINCOSL 1
66254 _ACEOF
66255
66256 fi
66257 done
66258
66259 else
66260
66261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66262 $as_echo_n "checking for _sincosl declaration... " >&6; }
66263 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66264 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66265 $as_echo_n "(cached) " >&6
66266 else
66267
66268
66269 ac_ext=cpp
66270 ac_cpp='$CXXCPP $CPPFLAGS'
66271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66274
66275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66276 /* end confdefs.h. */
66277 #include <math.h>
66278 int
66279 main ()
66280 {
66281 _sincosl(0, 0, 0);
66282 ;
66283 return 0;
66284 }
66285 _ACEOF
66286 if ac_fn_cxx_try_compile "$LINENO"; then :
66287 glibcxx_cv_func__sincosl_use=yes
66288 else
66289 glibcxx_cv_func__sincosl_use=no
66290 fi
66291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66292 ac_ext=c
66293 ac_cpp='$CPP $CPPFLAGS'
66294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66297
66298
66299 fi
66300
66301 fi
66302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66303 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66304
66305 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66306 for ac_func in _sincosl
66307 do :
66308 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66309 if test "x$ac_cv_func__sincosl" = xyes; then :
66310 cat >>confdefs.h <<_ACEOF
66311 #define HAVE__SINCOSL 1
66312 _ACEOF
66313
66314 fi
66315 done
66316
66317 fi
66318 fi
66319
66320
66321
66322
66323
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66325 $as_echo_n "checking for finitel declaration... " >&6; }
66326 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66327 if ${glibcxx_cv_func_finitel_use+:} false; then :
66328 $as_echo_n "(cached) " >&6
66329 else
66330
66331
66332 ac_ext=cpp
66333 ac_cpp='$CXXCPP $CPPFLAGS'
66334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66337
66338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66339 /* end confdefs.h. */
66340 #include <math.h>
66341 #ifdef HAVE_IEEEFP_H
66342 #include <ieeefp.h>
66343 #endif
66344
66345 int
66346 main ()
66347 {
66348 finitel(0);
66349 ;
66350 return 0;
66351 }
66352 _ACEOF
66353 if ac_fn_cxx_try_compile "$LINENO"; then :
66354 glibcxx_cv_func_finitel_use=yes
66355 else
66356 glibcxx_cv_func_finitel_use=no
66357 fi
66358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66359 ac_ext=c
66360 ac_cpp='$CPP $CPPFLAGS'
66361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66364
66365
66366 fi
66367
66368 fi
66369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66370 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66371
66372 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66373 for ac_func in finitel
66374 do :
66375 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66376 if test "x$ac_cv_func_finitel" = xyes; then :
66377 cat >>confdefs.h <<_ACEOF
66378 #define HAVE_FINITEL 1
66379 _ACEOF
66380
66381 fi
66382 done
66383
66384 else
66385
66386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66387 $as_echo_n "checking for _finitel declaration... " >&6; }
66388 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66389 if ${glibcxx_cv_func__finitel_use+:} false; then :
66390 $as_echo_n "(cached) " >&6
66391 else
66392
66393
66394 ac_ext=cpp
66395 ac_cpp='$CXXCPP $CPPFLAGS'
66396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66399
66400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66401 /* end confdefs.h. */
66402 #include <math.h>
66403 #ifdef HAVE_IEEEFP_H
66404 #include <ieeefp.h>
66405 #endif
66406
66407 int
66408 main ()
66409 {
66410 _finitel(0);
66411 ;
66412 return 0;
66413 }
66414 _ACEOF
66415 if ac_fn_cxx_try_compile "$LINENO"; then :
66416 glibcxx_cv_func__finitel_use=yes
66417 else
66418 glibcxx_cv_func__finitel_use=no
66419 fi
66420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66421 ac_ext=c
66422 ac_cpp='$CPP $CPPFLAGS'
66423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66426
66427
66428 fi
66429
66430 fi
66431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66432 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66433
66434 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66435 for ac_func in _finitel
66436 do :
66437 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66438 if test "x$ac_cv_func__finitel" = xyes; then :
66439 cat >>confdefs.h <<_ACEOF
66440 #define HAVE__FINITEL 1
66441 _ACEOF
66442
66443 fi
66444 done
66445
66446 fi
66447 fi
66448
66449
66450
66451
66452 LIBS="$ac_save_LIBS"
66453 CXXFLAGS="$ac_save_CXXFLAGS"
66454
66455
66456 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66457 ac_save_CXXFLAGS="$CXXFLAGS"
66458 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66459
66460
66461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66462 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66463 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66464 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66465 $as_echo_n "(cached) " >&6
66466 else
66467
66468
66469 ac_ext=cpp
66470 ac_cpp='$CXXCPP $CPPFLAGS'
66471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66474
66475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66476 /* end confdefs.h. */
66477 #include <stdlib.h>
66478 int
66479 main ()
66480 {
66481 at_quick_exit(0);
66482 ;
66483 return 0;
66484 }
66485 _ACEOF
66486 if ac_fn_cxx_try_compile "$LINENO"; then :
66487 glibcxx_cv_func_at_quick_exit_use=yes
66488 else
66489 glibcxx_cv_func_at_quick_exit_use=no
66490 fi
66491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66492 ac_ext=c
66493 ac_cpp='$CPP $CPPFLAGS'
66494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66497
66498
66499 fi
66500
66501 fi
66502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66503 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66504 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66505 for ac_func in at_quick_exit
66506 do :
66507 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66508 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66509 cat >>confdefs.h <<_ACEOF
66510 #define HAVE_AT_QUICK_EXIT 1
66511 _ACEOF
66512
66513 fi
66514 done
66515
66516 fi
66517
66518
66519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66520 $as_echo_n "checking for quick_exit declaration... " >&6; }
66521 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66522 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66523 $as_echo_n "(cached) " >&6
66524 else
66525
66526
66527 ac_ext=cpp
66528 ac_cpp='$CXXCPP $CPPFLAGS'
66529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66532
66533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66534 /* end confdefs.h. */
66535 #include <stdlib.h>
66536 int
66537 main ()
66538 {
66539 quick_exit(0);
66540 ;
66541 return 0;
66542 }
66543 _ACEOF
66544 if ac_fn_cxx_try_compile "$LINENO"; then :
66545 glibcxx_cv_func_quick_exit_use=yes
66546 else
66547 glibcxx_cv_func_quick_exit_use=no
66548 fi
66549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66550 ac_ext=c
66551 ac_cpp='$CPP $CPPFLAGS'
66552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66555
66556
66557 fi
66558
66559 fi
66560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66561 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66562 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66563 for ac_func in quick_exit
66564 do :
66565 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66566 if test "x$ac_cv_func_quick_exit" = xyes; then :
66567 cat >>confdefs.h <<_ACEOF
66568 #define HAVE_QUICK_EXIT 1
66569 _ACEOF
66570
66571 fi
66572 done
66573
66574 fi
66575
66576
66577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66578 $as_echo_n "checking for strtold declaration... " >&6; }
66579 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66580 if ${glibcxx_cv_func_strtold_use+:} false; then :
66581 $as_echo_n "(cached) " >&6
66582 else
66583
66584
66585 ac_ext=cpp
66586 ac_cpp='$CXXCPP $CPPFLAGS'
66587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66590
66591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66592 /* end confdefs.h. */
66593 #include <stdlib.h>
66594 int
66595 main ()
66596 {
66597 strtold(0, 0);
66598 ;
66599 return 0;
66600 }
66601 _ACEOF
66602 if ac_fn_cxx_try_compile "$LINENO"; then :
66603 glibcxx_cv_func_strtold_use=yes
66604 else
66605 glibcxx_cv_func_strtold_use=no
66606 fi
66607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66608 ac_ext=c
66609 ac_cpp='$CPP $CPPFLAGS'
66610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66613
66614
66615 fi
66616
66617 fi
66618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66619 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66620 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66621 for ac_func in strtold
66622 do :
66623 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66624 if test "x$ac_cv_func_strtold" = xyes; then :
66625 cat >>confdefs.h <<_ACEOF
66626 #define HAVE_STRTOLD 1
66627 _ACEOF
66628
66629 fi
66630 done
66631
66632 fi
66633
66634
66635
66636
66637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66638 $as_echo_n "checking for strtof declaration... " >&6; }
66639 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66640 if ${glibcxx_cv_func_strtof_use+:} false; then :
66641 $as_echo_n "(cached) " >&6
66642 else
66643
66644
66645 ac_ext=cpp
66646 ac_cpp='$CXXCPP $CPPFLAGS'
66647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66650
66651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66652 /* end confdefs.h. */
66653 #include <stdlib.h>
66654 int
66655 main ()
66656 {
66657 strtof(0, 0);
66658 ;
66659 return 0;
66660 }
66661 _ACEOF
66662 if ac_fn_cxx_try_compile "$LINENO"; then :
66663 glibcxx_cv_func_strtof_use=yes
66664 else
66665 glibcxx_cv_func_strtof_use=no
66666 fi
66667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66668 ac_ext=c
66669 ac_cpp='$CPP $CPPFLAGS'
66670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66673
66674
66675 fi
66676
66677 fi
66678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66679 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66680 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66681 for ac_func in strtof
66682 do :
66683 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66684 if test "x$ac_cv_func_strtof" = xyes; then :
66685 cat >>confdefs.h <<_ACEOF
66686 #define HAVE_STRTOF 1
66687 _ACEOF
66688
66689 fi
66690 done
66691
66692 fi
66693
66694
66695
66696
66697 CXXFLAGS="$ac_save_CXXFLAGS"
66698
66699 ;;
66700 *-tpf)
66701 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66702 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66703
66704 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66705
66706 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66707
66708 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66709
66710 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66711
66712 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66713
66714 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66715
66716 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66717
66718 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66719
66720 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66721
66722 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66723
66724 if test x"long_double_math_on_this_cpu" = x"yes"; then
66725 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66726
66727 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66728
66729 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66730
66731 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66732
66733 fi
66734 ;;
66735 *-*vms*)
66736 # Check for available headers.
66737 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66738
66739 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66740 ac_save_CXXFLAGS="$CXXFLAGS"
66741 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66742
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66744 $as_echo_n "checking for sin in -lm... " >&6; }
66745 if ${ac_cv_lib_m_sin+:} false; then :
66746 $as_echo_n "(cached) " >&6
66747 else
66748 ac_check_lib_save_LIBS=$LIBS
66749 LIBS="-lm $LIBS"
66750 if test x$gcc_no_link = xyes; then
66751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66752 fi
66753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66754 /* end confdefs.h. */
66755
66756 /* Override any GCC internal prototype to avoid an error.
66757 Use char because int might match the return type of a GCC
66758 builtin and then its argument prototype would still apply. */
66759 #ifdef __cplusplus
66760 extern "C"
66761 #endif
66762 char sin ();
66763 int
66764 main ()
66765 {
66766 return sin ();
66767 ;
66768 return 0;
66769 }
66770 _ACEOF
66771 if ac_fn_c_try_link "$LINENO"; then :
66772 ac_cv_lib_m_sin=yes
66773 else
66774 ac_cv_lib_m_sin=no
66775 fi
66776 rm -f core conftest.err conftest.$ac_objext \
66777 conftest$ac_exeext conftest.$ac_ext
66778 LIBS=$ac_check_lib_save_LIBS
66779 fi
66780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66781 $as_echo "$ac_cv_lib_m_sin" >&6; }
66782 if test "x$ac_cv_lib_m_sin" = xyes; then :
66783 libm="-lm"
66784 fi
66785
66786 ac_save_LIBS="$LIBS"
66787 LIBS="$LIBS $libm"
66788
66789
66790
66791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66792 $as_echo_n "checking for isinf declaration... " >&6; }
66793 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66794 if ${glibcxx_cv_func_isinf_use+:} false; then :
66795 $as_echo_n "(cached) " >&6
66796 else
66797
66798
66799 ac_ext=cpp
66800 ac_cpp='$CXXCPP $CPPFLAGS'
66801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66804
66805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66806 /* end confdefs.h. */
66807 #include <math.h>
66808 #ifdef HAVE_IEEEFP_H
66809 #include <ieeefp.h>
66810 #endif
66811
66812 int
66813 main ()
66814 {
66815 isinf(0);
66816 ;
66817 return 0;
66818 }
66819 _ACEOF
66820 if ac_fn_cxx_try_compile "$LINENO"; then :
66821 glibcxx_cv_func_isinf_use=yes
66822 else
66823 glibcxx_cv_func_isinf_use=no
66824 fi
66825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66826 ac_ext=c
66827 ac_cpp='$CPP $CPPFLAGS'
66828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66831
66832
66833 fi
66834
66835 fi
66836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66837 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66838
66839 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66840 for ac_func in isinf
66841 do :
66842 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66843 if test "x$ac_cv_func_isinf" = xyes; then :
66844 cat >>confdefs.h <<_ACEOF
66845 #define HAVE_ISINF 1
66846 _ACEOF
66847
66848 fi
66849 done
66850
66851 else
66852
66853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66854 $as_echo_n "checking for _isinf declaration... " >&6; }
66855 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66856 if ${glibcxx_cv_func__isinf_use+:} false; then :
66857 $as_echo_n "(cached) " >&6
66858 else
66859
66860
66861 ac_ext=cpp
66862 ac_cpp='$CXXCPP $CPPFLAGS'
66863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66866
66867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66868 /* end confdefs.h. */
66869 #include <math.h>
66870 #ifdef HAVE_IEEEFP_H
66871 #include <ieeefp.h>
66872 #endif
66873
66874 int
66875 main ()
66876 {
66877 _isinf(0);
66878 ;
66879 return 0;
66880 }
66881 _ACEOF
66882 if ac_fn_cxx_try_compile "$LINENO"; then :
66883 glibcxx_cv_func__isinf_use=yes
66884 else
66885 glibcxx_cv_func__isinf_use=no
66886 fi
66887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66888 ac_ext=c
66889 ac_cpp='$CPP $CPPFLAGS'
66890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66893
66894
66895 fi
66896
66897 fi
66898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66899 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66900
66901 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66902 for ac_func in _isinf
66903 do :
66904 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66905 if test "x$ac_cv_func__isinf" = xyes; then :
66906 cat >>confdefs.h <<_ACEOF
66907 #define HAVE__ISINF 1
66908 _ACEOF
66909
66910 fi
66911 done
66912
66913 fi
66914 fi
66915
66916
66917
66918
66919
66920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66921 $as_echo_n "checking for isnan declaration... " >&6; }
66922 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66923 if ${glibcxx_cv_func_isnan_use+:} false; then :
66924 $as_echo_n "(cached) " >&6
66925 else
66926
66927
66928 ac_ext=cpp
66929 ac_cpp='$CXXCPP $CPPFLAGS'
66930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66933
66934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66935 /* end confdefs.h. */
66936 #include <math.h>
66937 #ifdef HAVE_IEEEFP_H
66938 #include <ieeefp.h>
66939 #endif
66940
66941 int
66942 main ()
66943 {
66944 isnan(0);
66945 ;
66946 return 0;
66947 }
66948 _ACEOF
66949 if ac_fn_cxx_try_compile "$LINENO"; then :
66950 glibcxx_cv_func_isnan_use=yes
66951 else
66952 glibcxx_cv_func_isnan_use=no
66953 fi
66954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66955 ac_ext=c
66956 ac_cpp='$CPP $CPPFLAGS'
66957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66960
66961
66962 fi
66963
66964 fi
66965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66966 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66967
66968 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66969 for ac_func in isnan
66970 do :
66971 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66972 if test "x$ac_cv_func_isnan" = xyes; then :
66973 cat >>confdefs.h <<_ACEOF
66974 #define HAVE_ISNAN 1
66975 _ACEOF
66976
66977 fi
66978 done
66979
66980 else
66981
66982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66983 $as_echo_n "checking for _isnan declaration... " >&6; }
66984 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66985 if ${glibcxx_cv_func__isnan_use+:} false; then :
66986 $as_echo_n "(cached) " >&6
66987 else
66988
66989
66990 ac_ext=cpp
66991 ac_cpp='$CXXCPP $CPPFLAGS'
66992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66995
66996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66997 /* end confdefs.h. */
66998 #include <math.h>
66999 #ifdef HAVE_IEEEFP_H
67000 #include <ieeefp.h>
67001 #endif
67002
67003 int
67004 main ()
67005 {
67006 _isnan(0);
67007 ;
67008 return 0;
67009 }
67010 _ACEOF
67011 if ac_fn_cxx_try_compile "$LINENO"; then :
67012 glibcxx_cv_func__isnan_use=yes
67013 else
67014 glibcxx_cv_func__isnan_use=no
67015 fi
67016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67017 ac_ext=c
67018 ac_cpp='$CPP $CPPFLAGS'
67019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67022
67023
67024 fi
67025
67026 fi
67027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67028 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67029
67030 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67031 for ac_func in _isnan
67032 do :
67033 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67034 if test "x$ac_cv_func__isnan" = xyes; then :
67035 cat >>confdefs.h <<_ACEOF
67036 #define HAVE__ISNAN 1
67037 _ACEOF
67038
67039 fi
67040 done
67041
67042 fi
67043 fi
67044
67045
67046
67047
67048
67049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67050 $as_echo_n "checking for finite declaration... " >&6; }
67051 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67052 if ${glibcxx_cv_func_finite_use+:} false; then :
67053 $as_echo_n "(cached) " >&6
67054 else
67055
67056
67057 ac_ext=cpp
67058 ac_cpp='$CXXCPP $CPPFLAGS'
67059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67062
67063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67064 /* end confdefs.h. */
67065 #include <math.h>
67066 #ifdef HAVE_IEEEFP_H
67067 #include <ieeefp.h>
67068 #endif
67069
67070 int
67071 main ()
67072 {
67073 finite(0);
67074 ;
67075 return 0;
67076 }
67077 _ACEOF
67078 if ac_fn_cxx_try_compile "$LINENO"; then :
67079 glibcxx_cv_func_finite_use=yes
67080 else
67081 glibcxx_cv_func_finite_use=no
67082 fi
67083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67084 ac_ext=c
67085 ac_cpp='$CPP $CPPFLAGS'
67086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67089
67090
67091 fi
67092
67093 fi
67094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67095 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67096
67097 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67098 for ac_func in finite
67099 do :
67100 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67101 if test "x$ac_cv_func_finite" = xyes; then :
67102 cat >>confdefs.h <<_ACEOF
67103 #define HAVE_FINITE 1
67104 _ACEOF
67105
67106 fi
67107 done
67108
67109 else
67110
67111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67112 $as_echo_n "checking for _finite declaration... " >&6; }
67113 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67114 if ${glibcxx_cv_func__finite_use+:} false; then :
67115 $as_echo_n "(cached) " >&6
67116 else
67117
67118
67119 ac_ext=cpp
67120 ac_cpp='$CXXCPP $CPPFLAGS'
67121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67124
67125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67126 /* end confdefs.h. */
67127 #include <math.h>
67128 #ifdef HAVE_IEEEFP_H
67129 #include <ieeefp.h>
67130 #endif
67131
67132 int
67133 main ()
67134 {
67135 _finite(0);
67136 ;
67137 return 0;
67138 }
67139 _ACEOF
67140 if ac_fn_cxx_try_compile "$LINENO"; then :
67141 glibcxx_cv_func__finite_use=yes
67142 else
67143 glibcxx_cv_func__finite_use=no
67144 fi
67145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67146 ac_ext=c
67147 ac_cpp='$CPP $CPPFLAGS'
67148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67151
67152
67153 fi
67154
67155 fi
67156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67157 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67158
67159 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67160 for ac_func in _finite
67161 do :
67162 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67163 if test "x$ac_cv_func__finite" = xyes; then :
67164 cat >>confdefs.h <<_ACEOF
67165 #define HAVE__FINITE 1
67166 _ACEOF
67167
67168 fi
67169 done
67170
67171 fi
67172 fi
67173
67174
67175
67176
67177
67178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67179 $as_echo_n "checking for sincos declaration... " >&6; }
67180 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67181 if ${glibcxx_cv_func_sincos_use+:} false; then :
67182 $as_echo_n "(cached) " >&6
67183 else
67184
67185
67186 ac_ext=cpp
67187 ac_cpp='$CXXCPP $CPPFLAGS'
67188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67191
67192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67193 /* end confdefs.h. */
67194 #include <math.h>
67195 int
67196 main ()
67197 {
67198 sincos(0, 0, 0);
67199 ;
67200 return 0;
67201 }
67202 _ACEOF
67203 if ac_fn_cxx_try_compile "$LINENO"; then :
67204 glibcxx_cv_func_sincos_use=yes
67205 else
67206 glibcxx_cv_func_sincos_use=no
67207 fi
67208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67209 ac_ext=c
67210 ac_cpp='$CPP $CPPFLAGS'
67211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67214
67215
67216 fi
67217
67218 fi
67219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67220 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67221
67222 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67223 for ac_func in sincos
67224 do :
67225 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67226 if test "x$ac_cv_func_sincos" = xyes; then :
67227 cat >>confdefs.h <<_ACEOF
67228 #define HAVE_SINCOS 1
67229 _ACEOF
67230
67231 fi
67232 done
67233
67234 else
67235
67236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67237 $as_echo_n "checking for _sincos declaration... " >&6; }
67238 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67239 if ${glibcxx_cv_func__sincos_use+:} false; then :
67240 $as_echo_n "(cached) " >&6
67241 else
67242
67243
67244 ac_ext=cpp
67245 ac_cpp='$CXXCPP $CPPFLAGS'
67246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67249
67250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67251 /* end confdefs.h. */
67252 #include <math.h>
67253 int
67254 main ()
67255 {
67256 _sincos(0, 0, 0);
67257 ;
67258 return 0;
67259 }
67260 _ACEOF
67261 if ac_fn_cxx_try_compile "$LINENO"; then :
67262 glibcxx_cv_func__sincos_use=yes
67263 else
67264 glibcxx_cv_func__sincos_use=no
67265 fi
67266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67267 ac_ext=c
67268 ac_cpp='$CPP $CPPFLAGS'
67269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67272
67273
67274 fi
67275
67276 fi
67277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67278 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67279
67280 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67281 for ac_func in _sincos
67282 do :
67283 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67284 if test "x$ac_cv_func__sincos" = xyes; then :
67285 cat >>confdefs.h <<_ACEOF
67286 #define HAVE__SINCOS 1
67287 _ACEOF
67288
67289 fi
67290 done
67291
67292 fi
67293 fi
67294
67295
67296
67297
67298
67299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67300 $as_echo_n "checking for fpclass declaration... " >&6; }
67301 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67302 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67303 $as_echo_n "(cached) " >&6
67304 else
67305
67306
67307 ac_ext=cpp
67308 ac_cpp='$CXXCPP $CPPFLAGS'
67309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67312
67313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67314 /* end confdefs.h. */
67315 #include <math.h>
67316 #ifdef HAVE_IEEEFP_H
67317 #include <ieeefp.h>
67318 #endif
67319
67320 int
67321 main ()
67322 {
67323 fpclass(0);
67324 ;
67325 return 0;
67326 }
67327 _ACEOF
67328 if ac_fn_cxx_try_compile "$LINENO"; then :
67329 glibcxx_cv_func_fpclass_use=yes
67330 else
67331 glibcxx_cv_func_fpclass_use=no
67332 fi
67333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67334 ac_ext=c
67335 ac_cpp='$CPP $CPPFLAGS'
67336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67339
67340
67341 fi
67342
67343 fi
67344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67345 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67346
67347 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67348 for ac_func in fpclass
67349 do :
67350 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67351 if test "x$ac_cv_func_fpclass" = xyes; then :
67352 cat >>confdefs.h <<_ACEOF
67353 #define HAVE_FPCLASS 1
67354 _ACEOF
67355
67356 fi
67357 done
67358
67359 else
67360
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67362 $as_echo_n "checking for _fpclass declaration... " >&6; }
67363 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67364 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67365 $as_echo_n "(cached) " >&6
67366 else
67367
67368
67369 ac_ext=cpp
67370 ac_cpp='$CXXCPP $CPPFLAGS'
67371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67374
67375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67376 /* end confdefs.h. */
67377 #include <math.h>
67378 #ifdef HAVE_IEEEFP_H
67379 #include <ieeefp.h>
67380 #endif
67381
67382 int
67383 main ()
67384 {
67385 _fpclass(0);
67386 ;
67387 return 0;
67388 }
67389 _ACEOF
67390 if ac_fn_cxx_try_compile "$LINENO"; then :
67391 glibcxx_cv_func__fpclass_use=yes
67392 else
67393 glibcxx_cv_func__fpclass_use=no
67394 fi
67395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67396 ac_ext=c
67397 ac_cpp='$CPP $CPPFLAGS'
67398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67401
67402
67403 fi
67404
67405 fi
67406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67407 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67408
67409 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67410 for ac_func in _fpclass
67411 do :
67412 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67413 if test "x$ac_cv_func__fpclass" = xyes; then :
67414 cat >>confdefs.h <<_ACEOF
67415 #define HAVE__FPCLASS 1
67416 _ACEOF
67417
67418 fi
67419 done
67420
67421 fi
67422 fi
67423
67424
67425
67426
67427
67428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67429 $as_echo_n "checking for qfpclass declaration... " >&6; }
67430 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67431 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67432 $as_echo_n "(cached) " >&6
67433 else
67434
67435
67436 ac_ext=cpp
67437 ac_cpp='$CXXCPP $CPPFLAGS'
67438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67441
67442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67443 /* end confdefs.h. */
67444 #include <math.h>
67445 #ifdef HAVE_IEEEFP_H
67446 #include <ieeefp.h>
67447 #endif
67448
67449 int
67450 main ()
67451 {
67452 qfpclass(0);
67453 ;
67454 return 0;
67455 }
67456 _ACEOF
67457 if ac_fn_cxx_try_compile "$LINENO"; then :
67458 glibcxx_cv_func_qfpclass_use=yes
67459 else
67460 glibcxx_cv_func_qfpclass_use=no
67461 fi
67462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463 ac_ext=c
67464 ac_cpp='$CPP $CPPFLAGS'
67465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67468
67469
67470 fi
67471
67472 fi
67473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67474 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67475
67476 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67477 for ac_func in qfpclass
67478 do :
67479 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67480 if test "x$ac_cv_func_qfpclass" = xyes; then :
67481 cat >>confdefs.h <<_ACEOF
67482 #define HAVE_QFPCLASS 1
67483 _ACEOF
67484
67485 fi
67486 done
67487
67488 else
67489
67490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67491 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67492 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67493 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67494 $as_echo_n "(cached) " >&6
67495 else
67496
67497
67498 ac_ext=cpp
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67503
67504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67505 /* end confdefs.h. */
67506 #include <math.h>
67507 #ifdef HAVE_IEEEFP_H
67508 #include <ieeefp.h>
67509 #endif
67510
67511 int
67512 main ()
67513 {
67514 _qfpclass(0);
67515 ;
67516 return 0;
67517 }
67518 _ACEOF
67519 if ac_fn_cxx_try_compile "$LINENO"; then :
67520 glibcxx_cv_func__qfpclass_use=yes
67521 else
67522 glibcxx_cv_func__qfpclass_use=no
67523 fi
67524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67525 ac_ext=c
67526 ac_cpp='$CPP $CPPFLAGS'
67527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67530
67531
67532 fi
67533
67534 fi
67535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67536 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67537
67538 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67539 for ac_func in _qfpclass
67540 do :
67541 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67542 if test "x$ac_cv_func__qfpclass" = xyes; then :
67543 cat >>confdefs.h <<_ACEOF
67544 #define HAVE__QFPCLASS 1
67545 _ACEOF
67546
67547 fi
67548 done
67549
67550 fi
67551 fi
67552
67553
67554
67555
67556
67557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67558 $as_echo_n "checking for hypot declaration... " >&6; }
67559 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67560 if ${glibcxx_cv_func_hypot_use+:} false; then :
67561 $as_echo_n "(cached) " >&6
67562 else
67563
67564
67565 ac_ext=cpp
67566 ac_cpp='$CXXCPP $CPPFLAGS'
67567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67570
67571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67572 /* end confdefs.h. */
67573 #include <math.h>
67574 int
67575 main ()
67576 {
67577 hypot(0, 0);
67578 ;
67579 return 0;
67580 }
67581 _ACEOF
67582 if ac_fn_cxx_try_compile "$LINENO"; then :
67583 glibcxx_cv_func_hypot_use=yes
67584 else
67585 glibcxx_cv_func_hypot_use=no
67586 fi
67587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67588 ac_ext=c
67589 ac_cpp='$CPP $CPPFLAGS'
67590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67593
67594
67595 fi
67596
67597 fi
67598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67599 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67600
67601 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67602 for ac_func in hypot
67603 do :
67604 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67605 if test "x$ac_cv_func_hypot" = xyes; then :
67606 cat >>confdefs.h <<_ACEOF
67607 #define HAVE_HYPOT 1
67608 _ACEOF
67609
67610 fi
67611 done
67612
67613 else
67614
67615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67616 $as_echo_n "checking for _hypot declaration... " >&6; }
67617 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67618 if ${glibcxx_cv_func__hypot_use+:} false; then :
67619 $as_echo_n "(cached) " >&6
67620 else
67621
67622
67623 ac_ext=cpp
67624 ac_cpp='$CXXCPP $CPPFLAGS'
67625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67628
67629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67630 /* end confdefs.h. */
67631 #include <math.h>
67632 int
67633 main ()
67634 {
67635 _hypot(0, 0);
67636 ;
67637 return 0;
67638 }
67639 _ACEOF
67640 if ac_fn_cxx_try_compile "$LINENO"; then :
67641 glibcxx_cv_func__hypot_use=yes
67642 else
67643 glibcxx_cv_func__hypot_use=no
67644 fi
67645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67646 ac_ext=c
67647 ac_cpp='$CPP $CPPFLAGS'
67648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67651
67652
67653 fi
67654
67655 fi
67656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67657 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67658
67659 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67660 for ac_func in _hypot
67661 do :
67662 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67663 if test "x$ac_cv_func__hypot" = xyes; then :
67664 cat >>confdefs.h <<_ACEOF
67665 #define HAVE__HYPOT 1
67666 _ACEOF
67667
67668 fi
67669 done
67670
67671 fi
67672 fi
67673
67674
67675
67676
67677
67678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67679 $as_echo_n "checking for float trig functions... " >&6; }
67680 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67681 $as_echo_n "(cached) " >&6
67682 else
67683
67684
67685 ac_ext=cpp
67686 ac_cpp='$CXXCPP $CPPFLAGS'
67687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67690
67691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67692 /* end confdefs.h. */
67693 #include <math.h>
67694 int
67695 main ()
67696 {
67697 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67698 ;
67699 return 0;
67700 }
67701 _ACEOF
67702 if ac_fn_cxx_try_compile "$LINENO"; then :
67703 glibcxx_cv_func_float_trig_use=yes
67704 else
67705 glibcxx_cv_func_float_trig_use=no
67706 fi
67707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67708 ac_ext=c
67709 ac_cpp='$CPP $CPPFLAGS'
67710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67713
67714 fi
67715
67716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67717 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67718 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67719 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67720 do :
67721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67724 cat >>confdefs.h <<_ACEOF
67725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67726 _ACEOF
67727
67728 fi
67729 done
67730
67731 else
67732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67733 $as_echo_n "checking for _float trig functions... " >&6; }
67734 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67735 $as_echo_n "(cached) " >&6
67736 else
67737
67738
67739 ac_ext=cpp
67740 ac_cpp='$CXXCPP $CPPFLAGS'
67741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67744
67745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67746 /* end confdefs.h. */
67747 #include <math.h>
67748 int
67749 main ()
67750 {
67751 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67752 ;
67753 return 0;
67754 }
67755 _ACEOF
67756 if ac_fn_cxx_try_compile "$LINENO"; then :
67757 glibcxx_cv_func__float_trig_use=yes
67758 else
67759 glibcxx_cv_func__float_trig_use=no
67760 fi
67761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67762 ac_ext=c
67763 ac_cpp='$CPP $CPPFLAGS'
67764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67767
67768 fi
67769
67770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67771 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67772 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67773 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67774 do :
67775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67778 cat >>confdefs.h <<_ACEOF
67779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67780 _ACEOF
67781
67782 fi
67783 done
67784
67785 fi
67786 fi
67787
67788
67789
67790
67791
67792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67793 $as_echo_n "checking for float round functions... " >&6; }
67794 if ${glibcxx_cv_func_float_round_use+:} false; then :
67795 $as_echo_n "(cached) " >&6
67796 else
67797
67798
67799 ac_ext=cpp
67800 ac_cpp='$CXXCPP $CPPFLAGS'
67801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67804
67805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67806 /* end confdefs.h. */
67807 #include <math.h>
67808 int
67809 main ()
67810 {
67811 ceilf (0); floorf (0);
67812 ;
67813 return 0;
67814 }
67815 _ACEOF
67816 if ac_fn_cxx_try_compile "$LINENO"; then :
67817 glibcxx_cv_func_float_round_use=yes
67818 else
67819 glibcxx_cv_func_float_round_use=no
67820 fi
67821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67822 ac_ext=c
67823 ac_cpp='$CPP $CPPFLAGS'
67824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67827
67828 fi
67829
67830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67831 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67832 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67833 for ac_func in ceilf floorf
67834 do :
67835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67838 cat >>confdefs.h <<_ACEOF
67839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67840 _ACEOF
67841
67842 fi
67843 done
67844
67845 else
67846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67847 $as_echo_n "checking for _float round functions... " >&6; }
67848 if ${glibcxx_cv_func__float_round_use+:} false; then :
67849 $as_echo_n "(cached) " >&6
67850 else
67851
67852
67853 ac_ext=cpp
67854 ac_cpp='$CXXCPP $CPPFLAGS'
67855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67858
67859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67860 /* end confdefs.h. */
67861 #include <math.h>
67862 int
67863 main ()
67864 {
67865 _ceilf (0); _floorf (0);
67866 ;
67867 return 0;
67868 }
67869 _ACEOF
67870 if ac_fn_cxx_try_compile "$LINENO"; then :
67871 glibcxx_cv_func__float_round_use=yes
67872 else
67873 glibcxx_cv_func__float_round_use=no
67874 fi
67875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67876 ac_ext=c
67877 ac_cpp='$CPP $CPPFLAGS'
67878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67881
67882 fi
67883
67884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67885 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67886 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67887 for ac_func in _ceilf _floorf
67888 do :
67889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67892 cat >>confdefs.h <<_ACEOF
67893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67894 _ACEOF
67895
67896 fi
67897 done
67898
67899 fi
67900 fi
67901
67902
67903
67904
67905
67906
67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67908 $as_echo_n "checking for expf declaration... " >&6; }
67909 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67910 if ${glibcxx_cv_func_expf_use+:} false; then :
67911 $as_echo_n "(cached) " >&6
67912 else
67913
67914
67915 ac_ext=cpp
67916 ac_cpp='$CXXCPP $CPPFLAGS'
67917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67920
67921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67922 /* end confdefs.h. */
67923 #include <math.h>
67924 #ifdef HAVE_IEEEFP_H
67925 #include <ieeefp.h>
67926 #endif
67927
67928 int
67929 main ()
67930 {
67931 expf(0);
67932 ;
67933 return 0;
67934 }
67935 _ACEOF
67936 if ac_fn_cxx_try_compile "$LINENO"; then :
67937 glibcxx_cv_func_expf_use=yes
67938 else
67939 glibcxx_cv_func_expf_use=no
67940 fi
67941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67942 ac_ext=c
67943 ac_cpp='$CPP $CPPFLAGS'
67944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67947
67948
67949 fi
67950
67951 fi
67952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67953 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67954
67955 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67956 for ac_func in expf
67957 do :
67958 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67959 if test "x$ac_cv_func_expf" = xyes; then :
67960 cat >>confdefs.h <<_ACEOF
67961 #define HAVE_EXPF 1
67962 _ACEOF
67963
67964 fi
67965 done
67966
67967 else
67968
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67970 $as_echo_n "checking for _expf declaration... " >&6; }
67971 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67972 if ${glibcxx_cv_func__expf_use+:} false; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67975
67976
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67989
67990 int
67991 main ()
67992 {
67993 _expf(0);
67994 ;
67995 return 0;
67996 }
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func__expf_use=yes
68000 else
68001 glibcxx_cv_func__expf_use=no
68002 fi
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68009
68010
68011 fi
68012
68013 fi
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68015 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68016
68017 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68018 for ac_func in _expf
68019 do :
68020 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68021 if test "x$ac_cv_func__expf" = xyes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE__EXPF 1
68024 _ACEOF
68025
68026 fi
68027 done
68028
68029 fi
68030 fi
68031
68032
68033
68034
68035
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68037 $as_echo_n "checking for isnanf declaration... " >&6; }
68038 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68039 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68040 $as_echo_n "(cached) " >&6
68041 else
68042
68043
68044 ac_ext=cpp
68045 ac_cpp='$CXXCPP $CPPFLAGS'
68046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68049
68050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68051 /* end confdefs.h. */
68052 #include <math.h>
68053 #ifdef HAVE_IEEEFP_H
68054 #include <ieeefp.h>
68055 #endif
68056
68057 int
68058 main ()
68059 {
68060 isnanf(0);
68061 ;
68062 return 0;
68063 }
68064 _ACEOF
68065 if ac_fn_cxx_try_compile "$LINENO"; then :
68066 glibcxx_cv_func_isnanf_use=yes
68067 else
68068 glibcxx_cv_func_isnanf_use=no
68069 fi
68070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68071 ac_ext=c
68072 ac_cpp='$CPP $CPPFLAGS'
68073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68076
68077
68078 fi
68079
68080 fi
68081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68082 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68083
68084 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68085 for ac_func in isnanf
68086 do :
68087 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68088 if test "x$ac_cv_func_isnanf" = xyes; then :
68089 cat >>confdefs.h <<_ACEOF
68090 #define HAVE_ISNANF 1
68091 _ACEOF
68092
68093 fi
68094 done
68095
68096 else
68097
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68099 $as_echo_n "checking for _isnanf declaration... " >&6; }
68100 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68101 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68102 $as_echo_n "(cached) " >&6
68103 else
68104
68105
68106 ac_ext=cpp
68107 ac_cpp='$CXXCPP $CPPFLAGS'
68108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111
68112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68113 /* end confdefs.h. */
68114 #include <math.h>
68115 #ifdef HAVE_IEEEFP_H
68116 #include <ieeefp.h>
68117 #endif
68118
68119 int
68120 main ()
68121 {
68122 _isnanf(0);
68123 ;
68124 return 0;
68125 }
68126 _ACEOF
68127 if ac_fn_cxx_try_compile "$LINENO"; then :
68128 glibcxx_cv_func__isnanf_use=yes
68129 else
68130 glibcxx_cv_func__isnanf_use=no
68131 fi
68132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68133 ac_ext=c
68134 ac_cpp='$CPP $CPPFLAGS'
68135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68138
68139
68140 fi
68141
68142 fi
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68144 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68145
68146 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68147 for ac_func in _isnanf
68148 do :
68149 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68150 if test "x$ac_cv_func__isnanf" = xyes; then :
68151 cat >>confdefs.h <<_ACEOF
68152 #define HAVE__ISNANF 1
68153 _ACEOF
68154
68155 fi
68156 done
68157
68158 fi
68159 fi
68160
68161
68162
68163
68164
68165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68166 $as_echo_n "checking for isinff declaration... " >&6; }
68167 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68168 if ${glibcxx_cv_func_isinff_use+:} false; then :
68169 $as_echo_n "(cached) " >&6
68170 else
68171
68172
68173 ac_ext=cpp
68174 ac_cpp='$CXXCPP $CPPFLAGS'
68175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68178
68179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68180 /* end confdefs.h. */
68181 #include <math.h>
68182 #ifdef HAVE_IEEEFP_H
68183 #include <ieeefp.h>
68184 #endif
68185
68186 int
68187 main ()
68188 {
68189 isinff(0);
68190 ;
68191 return 0;
68192 }
68193 _ACEOF
68194 if ac_fn_cxx_try_compile "$LINENO"; then :
68195 glibcxx_cv_func_isinff_use=yes
68196 else
68197 glibcxx_cv_func_isinff_use=no
68198 fi
68199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68200 ac_ext=c
68201 ac_cpp='$CPP $CPPFLAGS'
68202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68205
68206
68207 fi
68208
68209 fi
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68211 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68212
68213 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68214 for ac_func in isinff
68215 do :
68216 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68217 if test "x$ac_cv_func_isinff" = xyes; then :
68218 cat >>confdefs.h <<_ACEOF
68219 #define HAVE_ISINFF 1
68220 _ACEOF
68221
68222 fi
68223 done
68224
68225 else
68226
68227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68228 $as_echo_n "checking for _isinff declaration... " >&6; }
68229 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68230 if ${glibcxx_cv_func__isinff_use+:} false; then :
68231 $as_echo_n "(cached) " >&6
68232 else
68233
68234
68235 ac_ext=cpp
68236 ac_cpp='$CXXCPP $CPPFLAGS'
68237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240
68241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68242 /* end confdefs.h. */
68243 #include <math.h>
68244 #ifdef HAVE_IEEEFP_H
68245 #include <ieeefp.h>
68246 #endif
68247
68248 int
68249 main ()
68250 {
68251 _isinff(0);
68252 ;
68253 return 0;
68254 }
68255 _ACEOF
68256 if ac_fn_cxx_try_compile "$LINENO"; then :
68257 glibcxx_cv_func__isinff_use=yes
68258 else
68259 glibcxx_cv_func__isinff_use=no
68260 fi
68261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68262 ac_ext=c
68263 ac_cpp='$CPP $CPPFLAGS'
68264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68267
68268
68269 fi
68270
68271 fi
68272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68273 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68274
68275 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68276 for ac_func in _isinff
68277 do :
68278 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68279 if test "x$ac_cv_func__isinff" = xyes; then :
68280 cat >>confdefs.h <<_ACEOF
68281 #define HAVE__ISINFF 1
68282 _ACEOF
68283
68284 fi
68285 done
68286
68287 fi
68288 fi
68289
68290
68291
68292
68293
68294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68295 $as_echo_n "checking for atan2f declaration... " >&6; }
68296 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68297 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68298 $as_echo_n "(cached) " >&6
68299 else
68300
68301
68302 ac_ext=cpp
68303 ac_cpp='$CXXCPP $CPPFLAGS'
68304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68307
68308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68309 /* end confdefs.h. */
68310 #include <math.h>
68311 int
68312 main ()
68313 {
68314 atan2f(0, 0);
68315 ;
68316 return 0;
68317 }
68318 _ACEOF
68319 if ac_fn_cxx_try_compile "$LINENO"; then :
68320 glibcxx_cv_func_atan2f_use=yes
68321 else
68322 glibcxx_cv_func_atan2f_use=no
68323 fi
68324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68325 ac_ext=c
68326 ac_cpp='$CPP $CPPFLAGS'
68327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68330
68331
68332 fi
68333
68334 fi
68335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68336 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68337
68338 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68339 for ac_func in atan2f
68340 do :
68341 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68342 if test "x$ac_cv_func_atan2f" = xyes; then :
68343 cat >>confdefs.h <<_ACEOF
68344 #define HAVE_ATAN2F 1
68345 _ACEOF
68346
68347 fi
68348 done
68349
68350 else
68351
68352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68353 $as_echo_n "checking for _atan2f declaration... " >&6; }
68354 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68355 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68356 $as_echo_n "(cached) " >&6
68357 else
68358
68359
68360 ac_ext=cpp
68361 ac_cpp='$CXXCPP $CPPFLAGS'
68362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68365
68366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68367 /* end confdefs.h. */
68368 #include <math.h>
68369 int
68370 main ()
68371 {
68372 _atan2f(0, 0);
68373 ;
68374 return 0;
68375 }
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func__atan2f_use=yes
68379 else
68380 glibcxx_cv_func__atan2f_use=no
68381 fi
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68388
68389
68390 fi
68391
68392 fi
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68394 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68395
68396 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68397 for ac_func in _atan2f
68398 do :
68399 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68400 if test "x$ac_cv_func__atan2f" = xyes; then :
68401 cat >>confdefs.h <<_ACEOF
68402 #define HAVE__ATAN2F 1
68403 _ACEOF
68404
68405 fi
68406 done
68407
68408 fi
68409 fi
68410
68411
68412
68413
68414
68415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68416 $as_echo_n "checking for fabsf declaration... " >&6; }
68417 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68418 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68419 $as_echo_n "(cached) " >&6
68420 else
68421
68422
68423 ac_ext=cpp
68424 ac_cpp='$CXXCPP $CPPFLAGS'
68425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68428
68429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68430 /* end confdefs.h. */
68431 #include <math.h>
68432 #ifdef HAVE_IEEEFP_H
68433 #include <ieeefp.h>
68434 #endif
68435
68436 int
68437 main ()
68438 {
68439 fabsf(0);
68440 ;
68441 return 0;
68442 }
68443 _ACEOF
68444 if ac_fn_cxx_try_compile "$LINENO"; then :
68445 glibcxx_cv_func_fabsf_use=yes
68446 else
68447 glibcxx_cv_func_fabsf_use=no
68448 fi
68449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68450 ac_ext=c
68451 ac_cpp='$CPP $CPPFLAGS'
68452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68455
68456
68457 fi
68458
68459 fi
68460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68461 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68462
68463 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68464 for ac_func in fabsf
68465 do :
68466 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68467 if test "x$ac_cv_func_fabsf" = xyes; then :
68468 cat >>confdefs.h <<_ACEOF
68469 #define HAVE_FABSF 1
68470 _ACEOF
68471
68472 fi
68473 done
68474
68475 else
68476
68477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68478 $as_echo_n "checking for _fabsf declaration... " >&6; }
68479 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68480 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68481 $as_echo_n "(cached) " >&6
68482 else
68483
68484
68485 ac_ext=cpp
68486 ac_cpp='$CXXCPP $CPPFLAGS'
68487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490
68491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68492 /* end confdefs.h. */
68493 #include <math.h>
68494 #ifdef HAVE_IEEEFP_H
68495 #include <ieeefp.h>
68496 #endif
68497
68498 int
68499 main ()
68500 {
68501 _fabsf(0);
68502 ;
68503 return 0;
68504 }
68505 _ACEOF
68506 if ac_fn_cxx_try_compile "$LINENO"; then :
68507 glibcxx_cv_func__fabsf_use=yes
68508 else
68509 glibcxx_cv_func__fabsf_use=no
68510 fi
68511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68512 ac_ext=c
68513 ac_cpp='$CPP $CPPFLAGS'
68514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68517
68518
68519 fi
68520
68521 fi
68522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68523 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68524
68525 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68526 for ac_func in _fabsf
68527 do :
68528 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68529 if test "x$ac_cv_func__fabsf" = xyes; then :
68530 cat >>confdefs.h <<_ACEOF
68531 #define HAVE__FABSF 1
68532 _ACEOF
68533
68534 fi
68535 done
68536
68537 fi
68538 fi
68539
68540
68541
68542
68543
68544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68545 $as_echo_n "checking for fmodf declaration... " >&6; }
68546 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68547 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68548 $as_echo_n "(cached) " >&6
68549 else
68550
68551
68552 ac_ext=cpp
68553 ac_cpp='$CXXCPP $CPPFLAGS'
68554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68557
68558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68559 /* end confdefs.h. */
68560 #include <math.h>
68561 int
68562 main ()
68563 {
68564 fmodf(0, 0);
68565 ;
68566 return 0;
68567 }
68568 _ACEOF
68569 if ac_fn_cxx_try_compile "$LINENO"; then :
68570 glibcxx_cv_func_fmodf_use=yes
68571 else
68572 glibcxx_cv_func_fmodf_use=no
68573 fi
68574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68575 ac_ext=c
68576 ac_cpp='$CPP $CPPFLAGS'
68577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68580
68581
68582 fi
68583
68584 fi
68585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68586 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68587
68588 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68589 for ac_func in fmodf
68590 do :
68591 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68592 if test "x$ac_cv_func_fmodf" = xyes; then :
68593 cat >>confdefs.h <<_ACEOF
68594 #define HAVE_FMODF 1
68595 _ACEOF
68596
68597 fi
68598 done
68599
68600 else
68601
68602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68603 $as_echo_n "checking for _fmodf declaration... " >&6; }
68604 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68605 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68606 $as_echo_n "(cached) " >&6
68607 else
68608
68609
68610 ac_ext=cpp
68611 ac_cpp='$CXXCPP $CPPFLAGS'
68612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68615
68616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68617 /* end confdefs.h. */
68618 #include <math.h>
68619 int
68620 main ()
68621 {
68622 _fmodf(0, 0);
68623 ;
68624 return 0;
68625 }
68626 _ACEOF
68627 if ac_fn_cxx_try_compile "$LINENO"; then :
68628 glibcxx_cv_func__fmodf_use=yes
68629 else
68630 glibcxx_cv_func__fmodf_use=no
68631 fi
68632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68633 ac_ext=c
68634 ac_cpp='$CPP $CPPFLAGS'
68635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638
68639
68640 fi
68641
68642 fi
68643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68644 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68645
68646 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68647 for ac_func in _fmodf
68648 do :
68649 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68650 if test "x$ac_cv_func__fmodf" = xyes; then :
68651 cat >>confdefs.h <<_ACEOF
68652 #define HAVE__FMODF 1
68653 _ACEOF
68654
68655 fi
68656 done
68657
68658 fi
68659 fi
68660
68661
68662
68663
68664
68665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68666 $as_echo_n "checking for frexpf declaration... " >&6; }
68667 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68668 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68669 $as_echo_n "(cached) " >&6
68670 else
68671
68672
68673 ac_ext=cpp
68674 ac_cpp='$CXXCPP $CPPFLAGS'
68675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68678
68679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68680 /* end confdefs.h. */
68681 #include <math.h>
68682 int
68683 main ()
68684 {
68685 frexpf(0, 0);
68686 ;
68687 return 0;
68688 }
68689 _ACEOF
68690 if ac_fn_cxx_try_compile "$LINENO"; then :
68691 glibcxx_cv_func_frexpf_use=yes
68692 else
68693 glibcxx_cv_func_frexpf_use=no
68694 fi
68695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68696 ac_ext=c
68697 ac_cpp='$CPP $CPPFLAGS'
68698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68701
68702
68703 fi
68704
68705 fi
68706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68707 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68708
68709 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68710 for ac_func in frexpf
68711 do :
68712 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68713 if test "x$ac_cv_func_frexpf" = xyes; then :
68714 cat >>confdefs.h <<_ACEOF
68715 #define HAVE_FREXPF 1
68716 _ACEOF
68717
68718 fi
68719 done
68720
68721 else
68722
68723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68724 $as_echo_n "checking for _frexpf declaration... " >&6; }
68725 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68726 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68727 $as_echo_n "(cached) " >&6
68728 else
68729
68730
68731 ac_ext=cpp
68732 ac_cpp='$CXXCPP $CPPFLAGS'
68733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68736
68737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68738 /* end confdefs.h. */
68739 #include <math.h>
68740 int
68741 main ()
68742 {
68743 _frexpf(0, 0);
68744 ;
68745 return 0;
68746 }
68747 _ACEOF
68748 if ac_fn_cxx_try_compile "$LINENO"; then :
68749 glibcxx_cv_func__frexpf_use=yes
68750 else
68751 glibcxx_cv_func__frexpf_use=no
68752 fi
68753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68754 ac_ext=c
68755 ac_cpp='$CPP $CPPFLAGS'
68756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68759
68760
68761 fi
68762
68763 fi
68764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68765 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68766
68767 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68768 for ac_func in _frexpf
68769 do :
68770 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68771 if test "x$ac_cv_func__frexpf" = xyes; then :
68772 cat >>confdefs.h <<_ACEOF
68773 #define HAVE__FREXPF 1
68774 _ACEOF
68775
68776 fi
68777 done
68778
68779 fi
68780 fi
68781
68782
68783
68784
68785
68786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68787 $as_echo_n "checking for hypotf declaration... " >&6; }
68788 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68789 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68790 $as_echo_n "(cached) " >&6
68791 else
68792
68793
68794 ac_ext=cpp
68795 ac_cpp='$CXXCPP $CPPFLAGS'
68796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68799
68800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801 /* end confdefs.h. */
68802 #include <math.h>
68803 int
68804 main ()
68805 {
68806 hypotf(0, 0);
68807 ;
68808 return 0;
68809 }
68810 _ACEOF
68811 if ac_fn_cxx_try_compile "$LINENO"; then :
68812 glibcxx_cv_func_hypotf_use=yes
68813 else
68814 glibcxx_cv_func_hypotf_use=no
68815 fi
68816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68817 ac_ext=c
68818 ac_cpp='$CPP $CPPFLAGS'
68819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68822
68823
68824 fi
68825
68826 fi
68827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68828 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68829
68830 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68831 for ac_func in hypotf
68832 do :
68833 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68834 if test "x$ac_cv_func_hypotf" = xyes; then :
68835 cat >>confdefs.h <<_ACEOF
68836 #define HAVE_HYPOTF 1
68837 _ACEOF
68838
68839 fi
68840 done
68841
68842 else
68843
68844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68845 $as_echo_n "checking for _hypotf declaration... " >&6; }
68846 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68847 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68848 $as_echo_n "(cached) " >&6
68849 else
68850
68851
68852 ac_ext=cpp
68853 ac_cpp='$CXXCPP $CPPFLAGS'
68854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68857
68858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68859 /* end confdefs.h. */
68860 #include <math.h>
68861 int
68862 main ()
68863 {
68864 _hypotf(0, 0);
68865 ;
68866 return 0;
68867 }
68868 _ACEOF
68869 if ac_fn_cxx_try_compile "$LINENO"; then :
68870 glibcxx_cv_func__hypotf_use=yes
68871 else
68872 glibcxx_cv_func__hypotf_use=no
68873 fi
68874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68875 ac_ext=c
68876 ac_cpp='$CPP $CPPFLAGS'
68877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68880
68881
68882 fi
68883
68884 fi
68885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68886 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68887
68888 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68889 for ac_func in _hypotf
68890 do :
68891 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68892 if test "x$ac_cv_func__hypotf" = xyes; then :
68893 cat >>confdefs.h <<_ACEOF
68894 #define HAVE__HYPOTF 1
68895 _ACEOF
68896
68897 fi
68898 done
68899
68900 fi
68901 fi
68902
68903
68904
68905
68906
68907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68908 $as_echo_n "checking for ldexpf declaration... " >&6; }
68909 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68910 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68911 $as_echo_n "(cached) " >&6
68912 else
68913
68914
68915 ac_ext=cpp
68916 ac_cpp='$CXXCPP $CPPFLAGS'
68917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68920
68921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68922 /* end confdefs.h. */
68923 #include <math.h>
68924 int
68925 main ()
68926 {
68927 ldexpf(0, 0);
68928 ;
68929 return 0;
68930 }
68931 _ACEOF
68932 if ac_fn_cxx_try_compile "$LINENO"; then :
68933 glibcxx_cv_func_ldexpf_use=yes
68934 else
68935 glibcxx_cv_func_ldexpf_use=no
68936 fi
68937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68938 ac_ext=c
68939 ac_cpp='$CPP $CPPFLAGS'
68940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68943
68944
68945 fi
68946
68947 fi
68948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68949 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68950
68951 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68952 for ac_func in ldexpf
68953 do :
68954 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68955 if test "x$ac_cv_func_ldexpf" = xyes; then :
68956 cat >>confdefs.h <<_ACEOF
68957 #define HAVE_LDEXPF 1
68958 _ACEOF
68959
68960 fi
68961 done
68962
68963 else
68964
68965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68966 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68967 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68968 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
68969 $as_echo_n "(cached) " >&6
68970 else
68971
68972
68973 ac_ext=cpp
68974 ac_cpp='$CXXCPP $CPPFLAGS'
68975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68978
68979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68980 /* end confdefs.h. */
68981 #include <math.h>
68982 int
68983 main ()
68984 {
68985 _ldexpf(0, 0);
68986 ;
68987 return 0;
68988 }
68989 _ACEOF
68990 if ac_fn_cxx_try_compile "$LINENO"; then :
68991 glibcxx_cv_func__ldexpf_use=yes
68992 else
68993 glibcxx_cv_func__ldexpf_use=no
68994 fi
68995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68996 ac_ext=c
68997 ac_cpp='$CPP $CPPFLAGS'
68998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69001
69002
69003 fi
69004
69005 fi
69006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69007 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69008
69009 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69010 for ac_func in _ldexpf
69011 do :
69012 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69013 if test "x$ac_cv_func__ldexpf" = xyes; then :
69014 cat >>confdefs.h <<_ACEOF
69015 #define HAVE__LDEXPF 1
69016 _ACEOF
69017
69018 fi
69019 done
69020
69021 fi
69022 fi
69023
69024
69025
69026
69027
69028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69029 $as_echo_n "checking for logf declaration... " >&6; }
69030 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69031 if ${glibcxx_cv_func_logf_use+:} false; then :
69032 $as_echo_n "(cached) " >&6
69033 else
69034
69035
69036 ac_ext=cpp
69037 ac_cpp='$CXXCPP $CPPFLAGS'
69038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69041
69042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69043 /* end confdefs.h. */
69044 #include <math.h>
69045 #ifdef HAVE_IEEEFP_H
69046 #include <ieeefp.h>
69047 #endif
69048
69049 int
69050 main ()
69051 {
69052 logf(0);
69053 ;
69054 return 0;
69055 }
69056 _ACEOF
69057 if ac_fn_cxx_try_compile "$LINENO"; then :
69058 glibcxx_cv_func_logf_use=yes
69059 else
69060 glibcxx_cv_func_logf_use=no
69061 fi
69062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69063 ac_ext=c
69064 ac_cpp='$CPP $CPPFLAGS'
69065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69068
69069
69070 fi
69071
69072 fi
69073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69074 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69075
69076 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69077 for ac_func in logf
69078 do :
69079 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69080 if test "x$ac_cv_func_logf" = xyes; then :
69081 cat >>confdefs.h <<_ACEOF
69082 #define HAVE_LOGF 1
69083 _ACEOF
69084
69085 fi
69086 done
69087
69088 else
69089
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69091 $as_echo_n "checking for _logf declaration... " >&6; }
69092 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69093 if ${glibcxx_cv_func__logf_use+:} false; then :
69094 $as_echo_n "(cached) " >&6
69095 else
69096
69097
69098 ac_ext=cpp
69099 ac_cpp='$CXXCPP $CPPFLAGS'
69100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69103
69104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69105 /* end confdefs.h. */
69106 #include <math.h>
69107 #ifdef HAVE_IEEEFP_H
69108 #include <ieeefp.h>
69109 #endif
69110
69111 int
69112 main ()
69113 {
69114 _logf(0);
69115 ;
69116 return 0;
69117 }
69118 _ACEOF
69119 if ac_fn_cxx_try_compile "$LINENO"; then :
69120 glibcxx_cv_func__logf_use=yes
69121 else
69122 glibcxx_cv_func__logf_use=no
69123 fi
69124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69125 ac_ext=c
69126 ac_cpp='$CPP $CPPFLAGS'
69127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69130
69131
69132 fi
69133
69134 fi
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69136 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69137
69138 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69139 for ac_func in _logf
69140 do :
69141 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69142 if test "x$ac_cv_func__logf" = xyes; then :
69143 cat >>confdefs.h <<_ACEOF
69144 #define HAVE__LOGF 1
69145 _ACEOF
69146
69147 fi
69148 done
69149
69150 fi
69151 fi
69152
69153
69154
69155
69156
69157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69158 $as_echo_n "checking for log10f declaration... " >&6; }
69159 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69160 if ${glibcxx_cv_func_log10f_use+:} false; then :
69161 $as_echo_n "(cached) " >&6
69162 else
69163
69164
69165 ac_ext=cpp
69166 ac_cpp='$CXXCPP $CPPFLAGS'
69167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69170
69171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69172 /* end confdefs.h. */
69173 #include <math.h>
69174 #ifdef HAVE_IEEEFP_H
69175 #include <ieeefp.h>
69176 #endif
69177
69178 int
69179 main ()
69180 {
69181 log10f(0);
69182 ;
69183 return 0;
69184 }
69185 _ACEOF
69186 if ac_fn_cxx_try_compile "$LINENO"; then :
69187 glibcxx_cv_func_log10f_use=yes
69188 else
69189 glibcxx_cv_func_log10f_use=no
69190 fi
69191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69192 ac_ext=c
69193 ac_cpp='$CPP $CPPFLAGS'
69194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69197
69198
69199 fi
69200
69201 fi
69202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69203 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69204
69205 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69206 for ac_func in log10f
69207 do :
69208 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69209 if test "x$ac_cv_func_log10f" = xyes; then :
69210 cat >>confdefs.h <<_ACEOF
69211 #define HAVE_LOG10F 1
69212 _ACEOF
69213
69214 fi
69215 done
69216
69217 else
69218
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69220 $as_echo_n "checking for _log10f declaration... " >&6; }
69221 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69222 if ${glibcxx_cv_func__log10f_use+:} false; then :
69223 $as_echo_n "(cached) " >&6
69224 else
69225
69226
69227 ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232
69233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h. */
69235 #include <math.h>
69236 #ifdef HAVE_IEEEFP_H
69237 #include <ieeefp.h>
69238 #endif
69239
69240 int
69241 main ()
69242 {
69243 _log10f(0);
69244 ;
69245 return 0;
69246 }
69247 _ACEOF
69248 if ac_fn_cxx_try_compile "$LINENO"; then :
69249 glibcxx_cv_func__log10f_use=yes
69250 else
69251 glibcxx_cv_func__log10f_use=no
69252 fi
69253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69254 ac_ext=c
69255 ac_cpp='$CPP $CPPFLAGS'
69256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69259
69260
69261 fi
69262
69263 fi
69264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69265 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69266
69267 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69268 for ac_func in _log10f
69269 do :
69270 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69271 if test "x$ac_cv_func__log10f" = xyes; then :
69272 cat >>confdefs.h <<_ACEOF
69273 #define HAVE__LOG10F 1
69274 _ACEOF
69275
69276 fi
69277 done
69278
69279 fi
69280 fi
69281
69282
69283
69284
69285
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69287 $as_echo_n "checking for modff declaration... " >&6; }
69288 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69289 if ${glibcxx_cv_func_modff_use+:} false; then :
69290 $as_echo_n "(cached) " >&6
69291 else
69292
69293
69294 ac_ext=cpp
69295 ac_cpp='$CXXCPP $CPPFLAGS'
69296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69299
69300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69301 /* end confdefs.h. */
69302 #include <math.h>
69303 int
69304 main ()
69305 {
69306 modff(0, 0);
69307 ;
69308 return 0;
69309 }
69310 _ACEOF
69311 if ac_fn_cxx_try_compile "$LINENO"; then :
69312 glibcxx_cv_func_modff_use=yes
69313 else
69314 glibcxx_cv_func_modff_use=no
69315 fi
69316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69317 ac_ext=c
69318 ac_cpp='$CPP $CPPFLAGS'
69319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69322
69323
69324 fi
69325
69326 fi
69327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69328 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69329
69330 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69331 for ac_func in modff
69332 do :
69333 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69334 if test "x$ac_cv_func_modff" = xyes; then :
69335 cat >>confdefs.h <<_ACEOF
69336 #define HAVE_MODFF 1
69337 _ACEOF
69338
69339 fi
69340 done
69341
69342 else
69343
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69345 $as_echo_n "checking for _modff declaration... " >&6; }
69346 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69347 if ${glibcxx_cv_func__modff_use+:} false; then :
69348 $as_echo_n "(cached) " >&6
69349 else
69350
69351
69352 ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69357
69358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h. */
69360 #include <math.h>
69361 int
69362 main ()
69363 {
69364 _modff(0, 0);
69365 ;
69366 return 0;
69367 }
69368 _ACEOF
69369 if ac_fn_cxx_try_compile "$LINENO"; then :
69370 glibcxx_cv_func__modff_use=yes
69371 else
69372 glibcxx_cv_func__modff_use=no
69373 fi
69374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69375 ac_ext=c
69376 ac_cpp='$CPP $CPPFLAGS'
69377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69380
69381
69382 fi
69383
69384 fi
69385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69386 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69387
69388 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69389 for ac_func in _modff
69390 do :
69391 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69392 if test "x$ac_cv_func__modff" = xyes; then :
69393 cat >>confdefs.h <<_ACEOF
69394 #define HAVE__MODFF 1
69395 _ACEOF
69396
69397 fi
69398 done
69399
69400 fi
69401 fi
69402
69403
69404
69405
69406
69407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69408 $as_echo_n "checking for modf declaration... " >&6; }
69409 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69410 if ${glibcxx_cv_func_modf_use+:} false; then :
69411 $as_echo_n "(cached) " >&6
69412 else
69413
69414
69415 ac_ext=cpp
69416 ac_cpp='$CXXCPP $CPPFLAGS'
69417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69420
69421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69422 /* end confdefs.h. */
69423 #include <math.h>
69424 int
69425 main ()
69426 {
69427 modf(0, 0);
69428 ;
69429 return 0;
69430 }
69431 _ACEOF
69432 if ac_fn_cxx_try_compile "$LINENO"; then :
69433 glibcxx_cv_func_modf_use=yes
69434 else
69435 glibcxx_cv_func_modf_use=no
69436 fi
69437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69438 ac_ext=c
69439 ac_cpp='$CPP $CPPFLAGS'
69440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69443
69444
69445 fi
69446
69447 fi
69448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69449 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69450
69451 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69452 for ac_func in modf
69453 do :
69454 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69455 if test "x$ac_cv_func_modf" = xyes; then :
69456 cat >>confdefs.h <<_ACEOF
69457 #define HAVE_MODF 1
69458 _ACEOF
69459
69460 fi
69461 done
69462
69463 else
69464
69465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69466 $as_echo_n "checking for _modf declaration... " >&6; }
69467 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69468 if ${glibcxx_cv_func__modf_use+:} false; then :
69469 $as_echo_n "(cached) " >&6
69470 else
69471
69472
69473 ac_ext=cpp
69474 ac_cpp='$CXXCPP $CPPFLAGS'
69475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69478
69479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69480 /* end confdefs.h. */
69481 #include <math.h>
69482 int
69483 main ()
69484 {
69485 _modf(0, 0);
69486 ;
69487 return 0;
69488 }
69489 _ACEOF
69490 if ac_fn_cxx_try_compile "$LINENO"; then :
69491 glibcxx_cv_func__modf_use=yes
69492 else
69493 glibcxx_cv_func__modf_use=no
69494 fi
69495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69496 ac_ext=c
69497 ac_cpp='$CPP $CPPFLAGS'
69498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69501
69502
69503 fi
69504
69505 fi
69506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69507 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69508
69509 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69510 for ac_func in _modf
69511 do :
69512 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69513 if test "x$ac_cv_func__modf" = xyes; then :
69514 cat >>confdefs.h <<_ACEOF
69515 #define HAVE__MODF 1
69516 _ACEOF
69517
69518 fi
69519 done
69520
69521 fi
69522 fi
69523
69524
69525
69526
69527
69528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69529 $as_echo_n "checking for powf declaration... " >&6; }
69530 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69531 if ${glibcxx_cv_func_powf_use+:} false; then :
69532 $as_echo_n "(cached) " >&6
69533 else
69534
69535
69536 ac_ext=cpp
69537 ac_cpp='$CXXCPP $CPPFLAGS'
69538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69541
69542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69543 /* end confdefs.h. */
69544 #include <math.h>
69545 int
69546 main ()
69547 {
69548 powf(0, 0);
69549 ;
69550 return 0;
69551 }
69552 _ACEOF
69553 if ac_fn_cxx_try_compile "$LINENO"; then :
69554 glibcxx_cv_func_powf_use=yes
69555 else
69556 glibcxx_cv_func_powf_use=no
69557 fi
69558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69559 ac_ext=c
69560 ac_cpp='$CPP $CPPFLAGS'
69561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69564
69565
69566 fi
69567
69568 fi
69569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69570 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69571
69572 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69573 for ac_func in powf
69574 do :
69575 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69576 if test "x$ac_cv_func_powf" = xyes; then :
69577 cat >>confdefs.h <<_ACEOF
69578 #define HAVE_POWF 1
69579 _ACEOF
69580
69581 fi
69582 done
69583
69584 else
69585
69586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69587 $as_echo_n "checking for _powf declaration... " >&6; }
69588 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69589 if ${glibcxx_cv_func__powf_use+:} false; then :
69590 $as_echo_n "(cached) " >&6
69591 else
69592
69593
69594 ac_ext=cpp
69595 ac_cpp='$CXXCPP $CPPFLAGS'
69596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69599
69600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69601 /* end confdefs.h. */
69602 #include <math.h>
69603 int
69604 main ()
69605 {
69606 _powf(0, 0);
69607 ;
69608 return 0;
69609 }
69610 _ACEOF
69611 if ac_fn_cxx_try_compile "$LINENO"; then :
69612 glibcxx_cv_func__powf_use=yes
69613 else
69614 glibcxx_cv_func__powf_use=no
69615 fi
69616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69622
69623
69624 fi
69625
69626 fi
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69628 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69629
69630 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69631 for ac_func in _powf
69632 do :
69633 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69634 if test "x$ac_cv_func__powf" = xyes; then :
69635 cat >>confdefs.h <<_ACEOF
69636 #define HAVE__POWF 1
69637 _ACEOF
69638
69639 fi
69640 done
69641
69642 fi
69643 fi
69644
69645
69646
69647
69648
69649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69650 $as_echo_n "checking for sqrtf declaration... " >&6; }
69651 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69652 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69653 $as_echo_n "(cached) " >&6
69654 else
69655
69656
69657 ac_ext=cpp
69658 ac_cpp='$CXXCPP $CPPFLAGS'
69659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69662
69663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69664 /* end confdefs.h. */
69665 #include <math.h>
69666 #ifdef HAVE_IEEEFP_H
69667 #include <ieeefp.h>
69668 #endif
69669
69670 int
69671 main ()
69672 {
69673 sqrtf(0);
69674 ;
69675 return 0;
69676 }
69677 _ACEOF
69678 if ac_fn_cxx_try_compile "$LINENO"; then :
69679 glibcxx_cv_func_sqrtf_use=yes
69680 else
69681 glibcxx_cv_func_sqrtf_use=no
69682 fi
69683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69684 ac_ext=c
69685 ac_cpp='$CPP $CPPFLAGS'
69686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69689
69690
69691 fi
69692
69693 fi
69694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69695 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69696
69697 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69698 for ac_func in sqrtf
69699 do :
69700 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69701 if test "x$ac_cv_func_sqrtf" = xyes; then :
69702 cat >>confdefs.h <<_ACEOF
69703 #define HAVE_SQRTF 1
69704 _ACEOF
69705
69706 fi
69707 done
69708
69709 else
69710
69711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69712 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69713 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69714 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69715 $as_echo_n "(cached) " >&6
69716 else
69717
69718
69719 ac_ext=cpp
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724
69725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69726 /* end confdefs.h. */
69727 #include <math.h>
69728 #ifdef HAVE_IEEEFP_H
69729 #include <ieeefp.h>
69730 #endif
69731
69732 int
69733 main ()
69734 {
69735 _sqrtf(0);
69736 ;
69737 return 0;
69738 }
69739 _ACEOF
69740 if ac_fn_cxx_try_compile "$LINENO"; then :
69741 glibcxx_cv_func__sqrtf_use=yes
69742 else
69743 glibcxx_cv_func__sqrtf_use=no
69744 fi
69745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69746 ac_ext=c
69747 ac_cpp='$CPP $CPPFLAGS'
69748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69751
69752
69753 fi
69754
69755 fi
69756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69757 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69758
69759 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69760 for ac_func in _sqrtf
69761 do :
69762 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69763 if test "x$ac_cv_func__sqrtf" = xyes; then :
69764 cat >>confdefs.h <<_ACEOF
69765 #define HAVE__SQRTF 1
69766 _ACEOF
69767
69768 fi
69769 done
69770
69771 fi
69772 fi
69773
69774
69775
69776
69777
69778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69779 $as_echo_n "checking for sincosf declaration... " >&6; }
69780 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69781 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69782 $as_echo_n "(cached) " >&6
69783 else
69784
69785
69786 ac_ext=cpp
69787 ac_cpp='$CXXCPP $CPPFLAGS'
69788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69791
69792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69793 /* end confdefs.h. */
69794 #include <math.h>
69795 int
69796 main ()
69797 {
69798 sincosf(0, 0, 0);
69799 ;
69800 return 0;
69801 }
69802 _ACEOF
69803 if ac_fn_cxx_try_compile "$LINENO"; then :
69804 glibcxx_cv_func_sincosf_use=yes
69805 else
69806 glibcxx_cv_func_sincosf_use=no
69807 fi
69808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69809 ac_ext=c
69810 ac_cpp='$CPP $CPPFLAGS'
69811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69814
69815
69816 fi
69817
69818 fi
69819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69820 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69821
69822 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69823 for ac_func in sincosf
69824 do :
69825 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69826 if test "x$ac_cv_func_sincosf" = xyes; then :
69827 cat >>confdefs.h <<_ACEOF
69828 #define HAVE_SINCOSF 1
69829 _ACEOF
69830
69831 fi
69832 done
69833
69834 else
69835
69836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69837 $as_echo_n "checking for _sincosf declaration... " >&6; }
69838 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69839 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69840 $as_echo_n "(cached) " >&6
69841 else
69842
69843
69844 ac_ext=cpp
69845 ac_cpp='$CXXCPP $CPPFLAGS'
69846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69849
69850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69851 /* end confdefs.h. */
69852 #include <math.h>
69853 int
69854 main ()
69855 {
69856 _sincosf(0, 0, 0);
69857 ;
69858 return 0;
69859 }
69860 _ACEOF
69861 if ac_fn_cxx_try_compile "$LINENO"; then :
69862 glibcxx_cv_func__sincosf_use=yes
69863 else
69864 glibcxx_cv_func__sincosf_use=no
69865 fi
69866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69872
69873
69874 fi
69875
69876 fi
69877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69878 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69879
69880 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69881 for ac_func in _sincosf
69882 do :
69883 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69884 if test "x$ac_cv_func__sincosf" = xyes; then :
69885 cat >>confdefs.h <<_ACEOF
69886 #define HAVE__SINCOSF 1
69887 _ACEOF
69888
69889 fi
69890 done
69891
69892 fi
69893 fi
69894
69895
69896
69897
69898
69899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69900 $as_echo_n "checking for finitef declaration... " >&6; }
69901 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69902 if ${glibcxx_cv_func_finitef_use+:} false; then :
69903 $as_echo_n "(cached) " >&6
69904 else
69905
69906
69907 ac_ext=cpp
69908 ac_cpp='$CXXCPP $CPPFLAGS'
69909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69912
69913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69914 /* end confdefs.h. */
69915 #include <math.h>
69916 #ifdef HAVE_IEEEFP_H
69917 #include <ieeefp.h>
69918 #endif
69919
69920 int
69921 main ()
69922 {
69923 finitef(0);
69924 ;
69925 return 0;
69926 }
69927 _ACEOF
69928 if ac_fn_cxx_try_compile "$LINENO"; then :
69929 glibcxx_cv_func_finitef_use=yes
69930 else
69931 glibcxx_cv_func_finitef_use=no
69932 fi
69933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69934 ac_ext=c
69935 ac_cpp='$CPP $CPPFLAGS'
69936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69939
69940
69941 fi
69942
69943 fi
69944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69945 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69946
69947 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69948 for ac_func in finitef
69949 do :
69950 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69951 if test "x$ac_cv_func_finitef" = xyes; then :
69952 cat >>confdefs.h <<_ACEOF
69953 #define HAVE_FINITEF 1
69954 _ACEOF
69955
69956 fi
69957 done
69958
69959 else
69960
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69962 $as_echo_n "checking for _finitef declaration... " >&6; }
69963 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69964 if ${glibcxx_cv_func__finitef_use+:} false; then :
69965 $as_echo_n "(cached) " >&6
69966 else
69967
69968
69969 ac_ext=cpp
69970 ac_cpp='$CXXCPP $CPPFLAGS'
69971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69974
69975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69976 /* end confdefs.h. */
69977 #include <math.h>
69978 #ifdef HAVE_IEEEFP_H
69979 #include <ieeefp.h>
69980 #endif
69981
69982 int
69983 main ()
69984 {
69985 _finitef(0);
69986 ;
69987 return 0;
69988 }
69989 _ACEOF
69990 if ac_fn_cxx_try_compile "$LINENO"; then :
69991 glibcxx_cv_func__finitef_use=yes
69992 else
69993 glibcxx_cv_func__finitef_use=no
69994 fi
69995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69996 ac_ext=c
69997 ac_cpp='$CPP $CPPFLAGS'
69998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70001
70002
70003 fi
70004
70005 fi
70006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70007 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70008
70009 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70010 for ac_func in _finitef
70011 do :
70012 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70013 if test "x$ac_cv_func__finitef" = xyes; then :
70014 cat >>confdefs.h <<_ACEOF
70015 #define HAVE__FINITEF 1
70016 _ACEOF
70017
70018 fi
70019 done
70020
70021 fi
70022 fi
70023
70024
70025
70026
70027
70028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70029 $as_echo_n "checking for long double trig functions... " >&6; }
70030 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70031 $as_echo_n "(cached) " >&6
70032 else
70033
70034
70035 ac_ext=cpp
70036 ac_cpp='$CXXCPP $CPPFLAGS'
70037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70040
70041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70042 /* end confdefs.h. */
70043 #include <math.h>
70044 int
70045 main ()
70046 {
70047 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70048 ;
70049 return 0;
70050 }
70051 _ACEOF
70052 if ac_fn_cxx_try_compile "$LINENO"; then :
70053 glibcxx_cv_func_long_double_trig_use=yes
70054 else
70055 glibcxx_cv_func_long_double_trig_use=no
70056 fi
70057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70058 ac_ext=c
70059 ac_cpp='$CPP $CPPFLAGS'
70060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70063
70064 fi
70065
70066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70067 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70068 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70069 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70070 do :
70071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70074 cat >>confdefs.h <<_ACEOF
70075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70076 _ACEOF
70077
70078 fi
70079 done
70080
70081 else
70082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70083 $as_echo_n "checking for _long double trig functions... " >&6; }
70084 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70085 $as_echo_n "(cached) " >&6
70086 else
70087
70088
70089 ac_ext=cpp
70090 ac_cpp='$CXXCPP $CPPFLAGS'
70091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70094
70095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70096 /* end confdefs.h. */
70097 #include <math.h>
70098 int
70099 main ()
70100 {
70101 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70102 ;
70103 return 0;
70104 }
70105 _ACEOF
70106 if ac_fn_cxx_try_compile "$LINENO"; then :
70107 glibcxx_cv_func__long_double_trig_use=yes
70108 else
70109 glibcxx_cv_func__long_double_trig_use=no
70110 fi
70111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70112 ac_ext=c
70113 ac_cpp='$CPP $CPPFLAGS'
70114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70117
70118 fi
70119
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70121 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70122 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70123 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70124 do :
70125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70127 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70128 cat >>confdefs.h <<_ACEOF
70129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70130 _ACEOF
70131
70132 fi
70133 done
70134
70135 fi
70136 fi
70137
70138
70139
70140
70141
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70143 $as_echo_n "checking for long double round functions... " >&6; }
70144 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70145 $as_echo_n "(cached) " >&6
70146 else
70147
70148
70149 ac_ext=cpp
70150 ac_cpp='$CXXCPP $CPPFLAGS'
70151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70154
70155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70156 /* end confdefs.h. */
70157 #include <math.h>
70158 int
70159 main ()
70160 {
70161 ceill (0); floorl (0);
70162 ;
70163 return 0;
70164 }
70165 _ACEOF
70166 if ac_fn_cxx_try_compile "$LINENO"; then :
70167 glibcxx_cv_func_long_double_round_use=yes
70168 else
70169 glibcxx_cv_func_long_double_round_use=no
70170 fi
70171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70172 ac_ext=c
70173 ac_cpp='$CPP $CPPFLAGS'
70174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70177
70178 fi
70179
70180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70181 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70182 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70183 for ac_func in ceill floorl
70184 do :
70185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70187 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70188 cat >>confdefs.h <<_ACEOF
70189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70190 _ACEOF
70191
70192 fi
70193 done
70194
70195 else
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70197 $as_echo_n "checking for _long double round functions... " >&6; }
70198 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70199 $as_echo_n "(cached) " >&6
70200 else
70201
70202
70203 ac_ext=cpp
70204 ac_cpp='$CXXCPP $CPPFLAGS'
70205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208
70209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70210 /* end confdefs.h. */
70211 #include <math.h>
70212 int
70213 main ()
70214 {
70215 _ceill (0); _floorl (0);
70216 ;
70217 return 0;
70218 }
70219 _ACEOF
70220 if ac_fn_cxx_try_compile "$LINENO"; then :
70221 glibcxx_cv_func__long_double_round_use=yes
70222 else
70223 glibcxx_cv_func__long_double_round_use=no
70224 fi
70225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70226 ac_ext=c
70227 ac_cpp='$CPP $CPPFLAGS'
70228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70231
70232 fi
70233
70234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70235 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70236 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70237 for ac_func in _ceill _floorl
70238 do :
70239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70242 cat >>confdefs.h <<_ACEOF
70243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70244 _ACEOF
70245
70246 fi
70247 done
70248
70249 fi
70250 fi
70251
70252
70253
70254
70255
70256
70257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70258 $as_echo_n "checking for isnanl declaration... " >&6; }
70259 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70260 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70261 $as_echo_n "(cached) " >&6
70262 else
70263
70264
70265 ac_ext=cpp
70266 ac_cpp='$CXXCPP $CPPFLAGS'
70267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70270
70271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70272 /* end confdefs.h. */
70273 #include <math.h>
70274 #ifdef HAVE_IEEEFP_H
70275 #include <ieeefp.h>
70276 #endif
70277
70278 int
70279 main ()
70280 {
70281 isnanl(0);
70282 ;
70283 return 0;
70284 }
70285 _ACEOF
70286 if ac_fn_cxx_try_compile "$LINENO"; then :
70287 glibcxx_cv_func_isnanl_use=yes
70288 else
70289 glibcxx_cv_func_isnanl_use=no
70290 fi
70291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70292 ac_ext=c
70293 ac_cpp='$CPP $CPPFLAGS'
70294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70297
70298
70299 fi
70300
70301 fi
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70303 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70304
70305 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70306 for ac_func in isnanl
70307 do :
70308 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70309 if test "x$ac_cv_func_isnanl" = xyes; then :
70310 cat >>confdefs.h <<_ACEOF
70311 #define HAVE_ISNANL 1
70312 _ACEOF
70313
70314 fi
70315 done
70316
70317 else
70318
70319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70320 $as_echo_n "checking for _isnanl declaration... " >&6; }
70321 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70322 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70323 $as_echo_n "(cached) " >&6
70324 else
70325
70326
70327 ac_ext=cpp
70328 ac_cpp='$CXXCPP $CPPFLAGS'
70329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70332
70333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70334 /* end confdefs.h. */
70335 #include <math.h>
70336 #ifdef HAVE_IEEEFP_H
70337 #include <ieeefp.h>
70338 #endif
70339
70340 int
70341 main ()
70342 {
70343 _isnanl(0);
70344 ;
70345 return 0;
70346 }
70347 _ACEOF
70348 if ac_fn_cxx_try_compile "$LINENO"; then :
70349 glibcxx_cv_func__isnanl_use=yes
70350 else
70351 glibcxx_cv_func__isnanl_use=no
70352 fi
70353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70354 ac_ext=c
70355 ac_cpp='$CPP $CPPFLAGS'
70356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70359
70360
70361 fi
70362
70363 fi
70364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70365 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70366
70367 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70368 for ac_func in _isnanl
70369 do :
70370 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70371 if test "x$ac_cv_func__isnanl" = xyes; then :
70372 cat >>confdefs.h <<_ACEOF
70373 #define HAVE__ISNANL 1
70374 _ACEOF
70375
70376 fi
70377 done
70378
70379 fi
70380 fi
70381
70382
70383
70384
70385
70386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70387 $as_echo_n "checking for isinfl declaration... " >&6; }
70388 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70389 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70390 $as_echo_n "(cached) " >&6
70391 else
70392
70393
70394 ac_ext=cpp
70395 ac_cpp='$CXXCPP $CPPFLAGS'
70396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70399
70400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70401 /* end confdefs.h. */
70402 #include <math.h>
70403 #ifdef HAVE_IEEEFP_H
70404 #include <ieeefp.h>
70405 #endif
70406
70407 int
70408 main ()
70409 {
70410 isinfl(0);
70411 ;
70412 return 0;
70413 }
70414 _ACEOF
70415 if ac_fn_cxx_try_compile "$LINENO"; then :
70416 glibcxx_cv_func_isinfl_use=yes
70417 else
70418 glibcxx_cv_func_isinfl_use=no
70419 fi
70420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70421 ac_ext=c
70422 ac_cpp='$CPP $CPPFLAGS'
70423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70426
70427
70428 fi
70429
70430 fi
70431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70432 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70433
70434 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70435 for ac_func in isinfl
70436 do :
70437 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70438 if test "x$ac_cv_func_isinfl" = xyes; then :
70439 cat >>confdefs.h <<_ACEOF
70440 #define HAVE_ISINFL 1
70441 _ACEOF
70442
70443 fi
70444 done
70445
70446 else
70447
70448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70449 $as_echo_n "checking for _isinfl declaration... " >&6; }
70450 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70451 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70452 $as_echo_n "(cached) " >&6
70453 else
70454
70455
70456 ac_ext=cpp
70457 ac_cpp='$CXXCPP $CPPFLAGS'
70458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70461
70462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70463 /* end confdefs.h. */
70464 #include <math.h>
70465 #ifdef HAVE_IEEEFP_H
70466 #include <ieeefp.h>
70467 #endif
70468
70469 int
70470 main ()
70471 {
70472 _isinfl(0);
70473 ;
70474 return 0;
70475 }
70476 _ACEOF
70477 if ac_fn_cxx_try_compile "$LINENO"; then :
70478 glibcxx_cv_func__isinfl_use=yes
70479 else
70480 glibcxx_cv_func__isinfl_use=no
70481 fi
70482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70483 ac_ext=c
70484 ac_cpp='$CPP $CPPFLAGS'
70485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70488
70489
70490 fi
70491
70492 fi
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70494 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70495
70496 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70497 for ac_func in _isinfl
70498 do :
70499 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70500 if test "x$ac_cv_func__isinfl" = xyes; then :
70501 cat >>confdefs.h <<_ACEOF
70502 #define HAVE__ISINFL 1
70503 _ACEOF
70504
70505 fi
70506 done
70507
70508 fi
70509 fi
70510
70511
70512
70513
70514
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70516 $as_echo_n "checking for atan2l declaration... " >&6; }
70517 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70518 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70519 $as_echo_n "(cached) " >&6
70520 else
70521
70522
70523 ac_ext=cpp
70524 ac_cpp='$CXXCPP $CPPFLAGS'
70525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70528
70529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70530 /* end confdefs.h. */
70531 #include <math.h>
70532 int
70533 main ()
70534 {
70535 atan2l(0, 0);
70536 ;
70537 return 0;
70538 }
70539 _ACEOF
70540 if ac_fn_cxx_try_compile "$LINENO"; then :
70541 glibcxx_cv_func_atan2l_use=yes
70542 else
70543 glibcxx_cv_func_atan2l_use=no
70544 fi
70545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70546 ac_ext=c
70547 ac_cpp='$CPP $CPPFLAGS'
70548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70551
70552
70553 fi
70554
70555 fi
70556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70557 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70558
70559 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70560 for ac_func in atan2l
70561 do :
70562 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70563 if test "x$ac_cv_func_atan2l" = xyes; then :
70564 cat >>confdefs.h <<_ACEOF
70565 #define HAVE_ATAN2L 1
70566 _ACEOF
70567
70568 fi
70569 done
70570
70571 else
70572
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70574 $as_echo_n "checking for _atan2l declaration... " >&6; }
70575 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70576 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70577 $as_echo_n "(cached) " >&6
70578 else
70579
70580
70581 ac_ext=cpp
70582 ac_cpp='$CXXCPP $CPPFLAGS'
70583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70586
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70589 #include <math.h>
70590 int
70591 main ()
70592 {
70593 _atan2l(0, 0);
70594 ;
70595 return 0;
70596 }
70597 _ACEOF
70598 if ac_fn_cxx_try_compile "$LINENO"; then :
70599 glibcxx_cv_func__atan2l_use=yes
70600 else
70601 glibcxx_cv_func__atan2l_use=no
70602 fi
70603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70604 ac_ext=c
70605 ac_cpp='$CPP $CPPFLAGS'
70606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70609
70610
70611 fi
70612
70613 fi
70614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70615 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70616
70617 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70618 for ac_func in _atan2l
70619 do :
70620 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70621 if test "x$ac_cv_func__atan2l" = xyes; then :
70622 cat >>confdefs.h <<_ACEOF
70623 #define HAVE__ATAN2L 1
70624 _ACEOF
70625
70626 fi
70627 done
70628
70629 fi
70630 fi
70631
70632
70633
70634
70635
70636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70637 $as_echo_n "checking for expl declaration... " >&6; }
70638 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70639 if ${glibcxx_cv_func_expl_use+:} false; then :
70640 $as_echo_n "(cached) " >&6
70641 else
70642
70643
70644 ac_ext=cpp
70645 ac_cpp='$CXXCPP $CPPFLAGS'
70646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70649
70650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70651 /* end confdefs.h. */
70652 #include <math.h>
70653 #ifdef HAVE_IEEEFP_H
70654 #include <ieeefp.h>
70655 #endif
70656
70657 int
70658 main ()
70659 {
70660 expl(0);
70661 ;
70662 return 0;
70663 }
70664 _ACEOF
70665 if ac_fn_cxx_try_compile "$LINENO"; then :
70666 glibcxx_cv_func_expl_use=yes
70667 else
70668 glibcxx_cv_func_expl_use=no
70669 fi
70670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70671 ac_ext=c
70672 ac_cpp='$CPP $CPPFLAGS'
70673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70676
70677
70678 fi
70679
70680 fi
70681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70682 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70683
70684 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70685 for ac_func in expl
70686 do :
70687 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70688 if test "x$ac_cv_func_expl" = xyes; then :
70689 cat >>confdefs.h <<_ACEOF
70690 #define HAVE_EXPL 1
70691 _ACEOF
70692
70693 fi
70694 done
70695
70696 else
70697
70698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70699 $as_echo_n "checking for _expl declaration... " >&6; }
70700 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70701 if ${glibcxx_cv_func__expl_use+:} false; then :
70702 $as_echo_n "(cached) " >&6
70703 else
70704
70705
70706 ac_ext=cpp
70707 ac_cpp='$CXXCPP $CPPFLAGS'
70708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70711
70712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70713 /* end confdefs.h. */
70714 #include <math.h>
70715 #ifdef HAVE_IEEEFP_H
70716 #include <ieeefp.h>
70717 #endif
70718
70719 int
70720 main ()
70721 {
70722 _expl(0);
70723 ;
70724 return 0;
70725 }
70726 _ACEOF
70727 if ac_fn_cxx_try_compile "$LINENO"; then :
70728 glibcxx_cv_func__expl_use=yes
70729 else
70730 glibcxx_cv_func__expl_use=no
70731 fi
70732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70733 ac_ext=c
70734 ac_cpp='$CPP $CPPFLAGS'
70735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70738
70739
70740 fi
70741
70742 fi
70743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70744 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70745
70746 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70747 for ac_func in _expl
70748 do :
70749 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70750 if test "x$ac_cv_func__expl" = xyes; then :
70751 cat >>confdefs.h <<_ACEOF
70752 #define HAVE__EXPL 1
70753 _ACEOF
70754
70755 fi
70756 done
70757
70758 fi
70759 fi
70760
70761
70762
70763
70764
70765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70766 $as_echo_n "checking for fabsl declaration... " >&6; }
70767 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70768 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70769 $as_echo_n "(cached) " >&6
70770 else
70771
70772
70773 ac_ext=cpp
70774 ac_cpp='$CXXCPP $CPPFLAGS'
70775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70778
70779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70780 /* end confdefs.h. */
70781 #include <math.h>
70782 #ifdef HAVE_IEEEFP_H
70783 #include <ieeefp.h>
70784 #endif
70785
70786 int
70787 main ()
70788 {
70789 fabsl(0);
70790 ;
70791 return 0;
70792 }
70793 _ACEOF
70794 if ac_fn_cxx_try_compile "$LINENO"; then :
70795 glibcxx_cv_func_fabsl_use=yes
70796 else
70797 glibcxx_cv_func_fabsl_use=no
70798 fi
70799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70800 ac_ext=c
70801 ac_cpp='$CPP $CPPFLAGS'
70802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70805
70806
70807 fi
70808
70809 fi
70810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70811 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70812
70813 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70814 for ac_func in fabsl
70815 do :
70816 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70817 if test "x$ac_cv_func_fabsl" = xyes; then :
70818 cat >>confdefs.h <<_ACEOF
70819 #define HAVE_FABSL 1
70820 _ACEOF
70821
70822 fi
70823 done
70824
70825 else
70826
70827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70828 $as_echo_n "checking for _fabsl declaration... " >&6; }
70829 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70830 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70831 $as_echo_n "(cached) " >&6
70832 else
70833
70834
70835 ac_ext=cpp
70836 ac_cpp='$CXXCPP $CPPFLAGS'
70837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70840
70841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70842 /* end confdefs.h. */
70843 #include <math.h>
70844 #ifdef HAVE_IEEEFP_H
70845 #include <ieeefp.h>
70846 #endif
70847
70848 int
70849 main ()
70850 {
70851 _fabsl(0);
70852 ;
70853 return 0;
70854 }
70855 _ACEOF
70856 if ac_fn_cxx_try_compile "$LINENO"; then :
70857 glibcxx_cv_func__fabsl_use=yes
70858 else
70859 glibcxx_cv_func__fabsl_use=no
70860 fi
70861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70862 ac_ext=c
70863 ac_cpp='$CPP $CPPFLAGS'
70864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70867
70868
70869 fi
70870
70871 fi
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70873 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70874
70875 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70876 for ac_func in _fabsl
70877 do :
70878 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70879 if test "x$ac_cv_func__fabsl" = xyes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE__FABSL 1
70882 _ACEOF
70883
70884 fi
70885 done
70886
70887 fi
70888 fi
70889
70890
70891
70892
70893
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70895 $as_echo_n "checking for fmodl declaration... " >&6; }
70896 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70897 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70898 $as_echo_n "(cached) " >&6
70899 else
70900
70901
70902 ac_ext=cpp
70903 ac_cpp='$CXXCPP $CPPFLAGS'
70904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70907
70908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70909 /* end confdefs.h. */
70910 #include <math.h>
70911 int
70912 main ()
70913 {
70914 fmodl(0, 0);
70915 ;
70916 return 0;
70917 }
70918 _ACEOF
70919 if ac_fn_cxx_try_compile "$LINENO"; then :
70920 glibcxx_cv_func_fmodl_use=yes
70921 else
70922 glibcxx_cv_func_fmodl_use=no
70923 fi
70924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70925 ac_ext=c
70926 ac_cpp='$CPP $CPPFLAGS'
70927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70930
70931
70932 fi
70933
70934 fi
70935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70936 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70937
70938 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70939 for ac_func in fmodl
70940 do :
70941 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70942 if test "x$ac_cv_func_fmodl" = xyes; then :
70943 cat >>confdefs.h <<_ACEOF
70944 #define HAVE_FMODL 1
70945 _ACEOF
70946
70947 fi
70948 done
70949
70950 else
70951
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70953 $as_echo_n "checking for _fmodl declaration... " >&6; }
70954 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70955 if ${glibcxx_cv_func__fmodl_use+:} false; then :
70956 $as_echo_n "(cached) " >&6
70957 else
70958
70959
70960 ac_ext=cpp
70961 ac_cpp='$CXXCPP $CPPFLAGS'
70962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965
70966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70967 /* end confdefs.h. */
70968 #include <math.h>
70969 int
70970 main ()
70971 {
70972 _fmodl(0, 0);
70973 ;
70974 return 0;
70975 }
70976 _ACEOF
70977 if ac_fn_cxx_try_compile "$LINENO"; then :
70978 glibcxx_cv_func__fmodl_use=yes
70979 else
70980 glibcxx_cv_func__fmodl_use=no
70981 fi
70982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70983 ac_ext=c
70984 ac_cpp='$CPP $CPPFLAGS'
70985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70988
70989
70990 fi
70991
70992 fi
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70994 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70995
70996 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70997 for ac_func in _fmodl
70998 do :
70999 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71000 if test "x$ac_cv_func__fmodl" = xyes; then :
71001 cat >>confdefs.h <<_ACEOF
71002 #define HAVE__FMODL 1
71003 _ACEOF
71004
71005 fi
71006 done
71007
71008 fi
71009 fi
71010
71011
71012
71013
71014
71015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71016 $as_echo_n "checking for frexpl declaration... " >&6; }
71017 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71018 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71019 $as_echo_n "(cached) " >&6
71020 else
71021
71022
71023 ac_ext=cpp
71024 ac_cpp='$CXXCPP $CPPFLAGS'
71025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71028
71029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71030 /* end confdefs.h. */
71031 #include <math.h>
71032 int
71033 main ()
71034 {
71035 frexpl(0, 0);
71036 ;
71037 return 0;
71038 }
71039 _ACEOF
71040 if ac_fn_cxx_try_compile "$LINENO"; then :
71041 glibcxx_cv_func_frexpl_use=yes
71042 else
71043 glibcxx_cv_func_frexpl_use=no
71044 fi
71045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71046 ac_ext=c
71047 ac_cpp='$CPP $CPPFLAGS'
71048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71051
71052
71053 fi
71054
71055 fi
71056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71057 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71058
71059 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71060 for ac_func in frexpl
71061 do :
71062 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71063 if test "x$ac_cv_func_frexpl" = xyes; then :
71064 cat >>confdefs.h <<_ACEOF
71065 #define HAVE_FREXPL 1
71066 _ACEOF
71067
71068 fi
71069 done
71070
71071 else
71072
71073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71074 $as_echo_n "checking for _frexpl declaration... " >&6; }
71075 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71076 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71077 $as_echo_n "(cached) " >&6
71078 else
71079
71080
71081 ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <math.h>
71090 int
71091 main ()
71092 {
71093 _frexpl(0, 0);
71094 ;
71095 return 0;
71096 }
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099 glibcxx_cv_func__frexpl_use=yes
71100 else
71101 glibcxx_cv_func__frexpl_use=no
71102 fi
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104 ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71109
71110
71111 fi
71112
71113 fi
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71115 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71116
71117 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71118 for ac_func in _frexpl
71119 do :
71120 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71121 if test "x$ac_cv_func__frexpl" = xyes; then :
71122 cat >>confdefs.h <<_ACEOF
71123 #define HAVE__FREXPL 1
71124 _ACEOF
71125
71126 fi
71127 done
71128
71129 fi
71130 fi
71131
71132
71133
71134
71135
71136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71137 $as_echo_n "checking for hypotl declaration... " >&6; }
71138 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71139 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71140 $as_echo_n "(cached) " >&6
71141 else
71142
71143
71144 ac_ext=cpp
71145 ac_cpp='$CXXCPP $CPPFLAGS'
71146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71149
71150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71151 /* end confdefs.h. */
71152 #include <math.h>
71153 int
71154 main ()
71155 {
71156 hypotl(0, 0);
71157 ;
71158 return 0;
71159 }
71160 _ACEOF
71161 if ac_fn_cxx_try_compile "$LINENO"; then :
71162 glibcxx_cv_func_hypotl_use=yes
71163 else
71164 glibcxx_cv_func_hypotl_use=no
71165 fi
71166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71167 ac_ext=c
71168 ac_cpp='$CPP $CPPFLAGS'
71169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71172
71173
71174 fi
71175
71176 fi
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71178 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71179
71180 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71181 for ac_func in hypotl
71182 do :
71183 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71184 if test "x$ac_cv_func_hypotl" = xyes; then :
71185 cat >>confdefs.h <<_ACEOF
71186 #define HAVE_HYPOTL 1
71187 _ACEOF
71188
71189 fi
71190 done
71191
71192 else
71193
71194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71195 $as_echo_n "checking for _hypotl declaration... " >&6; }
71196 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71197 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71198 $as_echo_n "(cached) " >&6
71199 else
71200
71201
71202 ac_ext=cpp
71203 ac_cpp='$CXXCPP $CPPFLAGS'
71204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207
71208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71209 /* end confdefs.h. */
71210 #include <math.h>
71211 int
71212 main ()
71213 {
71214 _hypotl(0, 0);
71215 ;
71216 return 0;
71217 }
71218 _ACEOF
71219 if ac_fn_cxx_try_compile "$LINENO"; then :
71220 glibcxx_cv_func__hypotl_use=yes
71221 else
71222 glibcxx_cv_func__hypotl_use=no
71223 fi
71224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71225 ac_ext=c
71226 ac_cpp='$CPP $CPPFLAGS'
71227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71230
71231
71232 fi
71233
71234 fi
71235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71236 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71237
71238 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71239 for ac_func in _hypotl
71240 do :
71241 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71242 if test "x$ac_cv_func__hypotl" = xyes; then :
71243 cat >>confdefs.h <<_ACEOF
71244 #define HAVE__HYPOTL 1
71245 _ACEOF
71246
71247 fi
71248 done
71249
71250 fi
71251 fi
71252
71253
71254
71255
71256
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71258 $as_echo_n "checking for ldexpl declaration... " >&6; }
71259 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71260 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71261 $as_echo_n "(cached) " >&6
71262 else
71263
71264
71265 ac_ext=cpp
71266 ac_cpp='$CXXCPP $CPPFLAGS'
71267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71270
71271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71272 /* end confdefs.h. */
71273 #include <math.h>
71274 int
71275 main ()
71276 {
71277 ldexpl(0, 0);
71278 ;
71279 return 0;
71280 }
71281 _ACEOF
71282 if ac_fn_cxx_try_compile "$LINENO"; then :
71283 glibcxx_cv_func_ldexpl_use=yes
71284 else
71285 glibcxx_cv_func_ldexpl_use=no
71286 fi
71287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71288 ac_ext=c
71289 ac_cpp='$CPP $CPPFLAGS'
71290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71293
71294
71295 fi
71296
71297 fi
71298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71299 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71300
71301 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71302 for ac_func in ldexpl
71303 do :
71304 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71305 if test "x$ac_cv_func_ldexpl" = xyes; then :
71306 cat >>confdefs.h <<_ACEOF
71307 #define HAVE_LDEXPL 1
71308 _ACEOF
71309
71310 fi
71311 done
71312
71313 else
71314
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71316 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71317 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71318 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71319 $as_echo_n "(cached) " >&6
71320 else
71321
71322
71323 ac_ext=cpp
71324 ac_cpp='$CXXCPP $CPPFLAGS'
71325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71328
71329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71330 /* end confdefs.h. */
71331 #include <math.h>
71332 int
71333 main ()
71334 {
71335 _ldexpl(0, 0);
71336 ;
71337 return 0;
71338 }
71339 _ACEOF
71340 if ac_fn_cxx_try_compile "$LINENO"; then :
71341 glibcxx_cv_func__ldexpl_use=yes
71342 else
71343 glibcxx_cv_func__ldexpl_use=no
71344 fi
71345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71346 ac_ext=c
71347 ac_cpp='$CPP $CPPFLAGS'
71348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71351
71352
71353 fi
71354
71355 fi
71356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71357 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71358
71359 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71360 for ac_func in _ldexpl
71361 do :
71362 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71363 if test "x$ac_cv_func__ldexpl" = xyes; then :
71364 cat >>confdefs.h <<_ACEOF
71365 #define HAVE__LDEXPL 1
71366 _ACEOF
71367
71368 fi
71369 done
71370
71371 fi
71372 fi
71373
71374
71375
71376
71377
71378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71379 $as_echo_n "checking for logl declaration... " >&6; }
71380 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71381 if ${glibcxx_cv_func_logl_use+:} false; then :
71382 $as_echo_n "(cached) " >&6
71383 else
71384
71385
71386 ac_ext=cpp
71387 ac_cpp='$CXXCPP $CPPFLAGS'
71388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71391
71392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71393 /* end confdefs.h. */
71394 #include <math.h>
71395 #ifdef HAVE_IEEEFP_H
71396 #include <ieeefp.h>
71397 #endif
71398
71399 int
71400 main ()
71401 {
71402 logl(0);
71403 ;
71404 return 0;
71405 }
71406 _ACEOF
71407 if ac_fn_cxx_try_compile "$LINENO"; then :
71408 glibcxx_cv_func_logl_use=yes
71409 else
71410 glibcxx_cv_func_logl_use=no
71411 fi
71412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71413 ac_ext=c
71414 ac_cpp='$CPP $CPPFLAGS'
71415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71418
71419
71420 fi
71421
71422 fi
71423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71424 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71425
71426 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71427 for ac_func in logl
71428 do :
71429 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71430 if test "x$ac_cv_func_logl" = xyes; then :
71431 cat >>confdefs.h <<_ACEOF
71432 #define HAVE_LOGL 1
71433 _ACEOF
71434
71435 fi
71436 done
71437
71438 else
71439
71440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71441 $as_echo_n "checking for _logl declaration... " >&6; }
71442 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71443 if ${glibcxx_cv_func__logl_use+:} false; then :
71444 $as_echo_n "(cached) " >&6
71445 else
71446
71447
71448 ac_ext=cpp
71449 ac_cpp='$CXXCPP $CPPFLAGS'
71450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71453
71454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71455 /* end confdefs.h. */
71456 #include <math.h>
71457 #ifdef HAVE_IEEEFP_H
71458 #include <ieeefp.h>
71459 #endif
71460
71461 int
71462 main ()
71463 {
71464 _logl(0);
71465 ;
71466 return 0;
71467 }
71468 _ACEOF
71469 if ac_fn_cxx_try_compile "$LINENO"; then :
71470 glibcxx_cv_func__logl_use=yes
71471 else
71472 glibcxx_cv_func__logl_use=no
71473 fi
71474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71475 ac_ext=c
71476 ac_cpp='$CPP $CPPFLAGS'
71477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71480
71481
71482 fi
71483
71484 fi
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71486 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71487
71488 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71489 for ac_func in _logl
71490 do :
71491 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71492 if test "x$ac_cv_func__logl" = xyes; then :
71493 cat >>confdefs.h <<_ACEOF
71494 #define HAVE__LOGL 1
71495 _ACEOF
71496
71497 fi
71498 done
71499
71500 fi
71501 fi
71502
71503
71504
71505
71506
71507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71508 $as_echo_n "checking for log10l declaration... " >&6; }
71509 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71510 if ${glibcxx_cv_func_log10l_use+:} false; then :
71511 $as_echo_n "(cached) " >&6
71512 else
71513
71514
71515 ac_ext=cpp
71516 ac_cpp='$CXXCPP $CPPFLAGS'
71517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71520
71521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71522 /* end confdefs.h. */
71523 #include <math.h>
71524 #ifdef HAVE_IEEEFP_H
71525 #include <ieeefp.h>
71526 #endif
71527
71528 int
71529 main ()
71530 {
71531 log10l(0);
71532 ;
71533 return 0;
71534 }
71535 _ACEOF
71536 if ac_fn_cxx_try_compile "$LINENO"; then :
71537 glibcxx_cv_func_log10l_use=yes
71538 else
71539 glibcxx_cv_func_log10l_use=no
71540 fi
71541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71542 ac_ext=c
71543 ac_cpp='$CPP $CPPFLAGS'
71544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71547
71548
71549 fi
71550
71551 fi
71552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71553 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71554
71555 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71556 for ac_func in log10l
71557 do :
71558 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71559 if test "x$ac_cv_func_log10l" = xyes; then :
71560 cat >>confdefs.h <<_ACEOF
71561 #define HAVE_LOG10L 1
71562 _ACEOF
71563
71564 fi
71565 done
71566
71567 else
71568
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71570 $as_echo_n "checking for _log10l declaration... " >&6; }
71571 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71572 if ${glibcxx_cv_func__log10l_use+:} false; then :
71573 $as_echo_n "(cached) " >&6
71574 else
71575
71576
71577 ac_ext=cpp
71578 ac_cpp='$CXXCPP $CPPFLAGS'
71579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71582
71583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71584 /* end confdefs.h. */
71585 #include <math.h>
71586 #ifdef HAVE_IEEEFP_H
71587 #include <ieeefp.h>
71588 #endif
71589
71590 int
71591 main ()
71592 {
71593 _log10l(0);
71594 ;
71595 return 0;
71596 }
71597 _ACEOF
71598 if ac_fn_cxx_try_compile "$LINENO"; then :
71599 glibcxx_cv_func__log10l_use=yes
71600 else
71601 glibcxx_cv_func__log10l_use=no
71602 fi
71603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71604 ac_ext=c
71605 ac_cpp='$CPP $CPPFLAGS'
71606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71609
71610
71611 fi
71612
71613 fi
71614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71615 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71616
71617 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71618 for ac_func in _log10l
71619 do :
71620 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71621 if test "x$ac_cv_func__log10l" = xyes; then :
71622 cat >>confdefs.h <<_ACEOF
71623 #define HAVE__LOG10L 1
71624 _ACEOF
71625
71626 fi
71627 done
71628
71629 fi
71630 fi
71631
71632
71633
71634
71635
71636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71637 $as_echo_n "checking for modfl declaration... " >&6; }
71638 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71639 if ${glibcxx_cv_func_modfl_use+:} false; then :
71640 $as_echo_n "(cached) " >&6
71641 else
71642
71643
71644 ac_ext=cpp
71645 ac_cpp='$CXXCPP $CPPFLAGS'
71646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71649
71650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71651 /* end confdefs.h. */
71652 #include <math.h>
71653 int
71654 main ()
71655 {
71656 modfl(0, 0);
71657 ;
71658 return 0;
71659 }
71660 _ACEOF
71661 if ac_fn_cxx_try_compile "$LINENO"; then :
71662 glibcxx_cv_func_modfl_use=yes
71663 else
71664 glibcxx_cv_func_modfl_use=no
71665 fi
71666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71667 ac_ext=c
71668 ac_cpp='$CPP $CPPFLAGS'
71669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71672
71673
71674 fi
71675
71676 fi
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71678 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71679
71680 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71681 for ac_func in modfl
71682 do :
71683 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71684 if test "x$ac_cv_func_modfl" = xyes; then :
71685 cat >>confdefs.h <<_ACEOF
71686 #define HAVE_MODFL 1
71687 _ACEOF
71688
71689 fi
71690 done
71691
71692 else
71693
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71695 $as_echo_n "checking for _modfl declaration... " >&6; }
71696 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71697 if ${glibcxx_cv_func__modfl_use+:} false; then :
71698 $as_echo_n "(cached) " >&6
71699 else
71700
71701
71702 ac_ext=cpp
71703 ac_cpp='$CXXCPP $CPPFLAGS'
71704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71707
71708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71709 /* end confdefs.h. */
71710 #include <math.h>
71711 int
71712 main ()
71713 {
71714 _modfl(0, 0);
71715 ;
71716 return 0;
71717 }
71718 _ACEOF
71719 if ac_fn_cxx_try_compile "$LINENO"; then :
71720 glibcxx_cv_func__modfl_use=yes
71721 else
71722 glibcxx_cv_func__modfl_use=no
71723 fi
71724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71725 ac_ext=c
71726 ac_cpp='$CPP $CPPFLAGS'
71727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71730
71731
71732 fi
71733
71734 fi
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71736 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71737
71738 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71739 for ac_func in _modfl
71740 do :
71741 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71742 if test "x$ac_cv_func__modfl" = xyes; then :
71743 cat >>confdefs.h <<_ACEOF
71744 #define HAVE__MODFL 1
71745 _ACEOF
71746
71747 fi
71748 done
71749
71750 fi
71751 fi
71752
71753
71754
71755
71756
71757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71758 $as_echo_n "checking for powl declaration... " >&6; }
71759 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71760 if ${glibcxx_cv_func_powl_use+:} false; then :
71761 $as_echo_n "(cached) " >&6
71762 else
71763
71764
71765 ac_ext=cpp
71766 ac_cpp='$CXXCPP $CPPFLAGS'
71767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71770
71771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71772 /* end confdefs.h. */
71773 #include <math.h>
71774 int
71775 main ()
71776 {
71777 powl(0, 0);
71778 ;
71779 return 0;
71780 }
71781 _ACEOF
71782 if ac_fn_cxx_try_compile "$LINENO"; then :
71783 glibcxx_cv_func_powl_use=yes
71784 else
71785 glibcxx_cv_func_powl_use=no
71786 fi
71787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71788 ac_ext=c
71789 ac_cpp='$CPP $CPPFLAGS'
71790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71793
71794
71795 fi
71796
71797 fi
71798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71799 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71800
71801 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71802 for ac_func in powl
71803 do :
71804 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71805 if test "x$ac_cv_func_powl" = xyes; then :
71806 cat >>confdefs.h <<_ACEOF
71807 #define HAVE_POWL 1
71808 _ACEOF
71809
71810 fi
71811 done
71812
71813 else
71814
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71816 $as_echo_n "checking for _powl declaration... " >&6; }
71817 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71818 if ${glibcxx_cv_func__powl_use+:} false; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71821
71822
71823 ac_ext=cpp
71824 ac_cpp='$CXXCPP $CPPFLAGS'
71825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828
71829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71830 /* end confdefs.h. */
71831 #include <math.h>
71832 int
71833 main ()
71834 {
71835 _powl(0, 0);
71836 ;
71837 return 0;
71838 }
71839 _ACEOF
71840 if ac_fn_cxx_try_compile "$LINENO"; then :
71841 glibcxx_cv_func__powl_use=yes
71842 else
71843 glibcxx_cv_func__powl_use=no
71844 fi
71845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71846 ac_ext=c
71847 ac_cpp='$CPP $CPPFLAGS'
71848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71851
71852
71853 fi
71854
71855 fi
71856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71857 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71858
71859 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71860 for ac_func in _powl
71861 do :
71862 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71863 if test "x$ac_cv_func__powl" = xyes; then :
71864 cat >>confdefs.h <<_ACEOF
71865 #define HAVE__POWL 1
71866 _ACEOF
71867
71868 fi
71869 done
71870
71871 fi
71872 fi
71873
71874
71875
71876
71877
71878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71879 $as_echo_n "checking for sqrtl declaration... " >&6; }
71880 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71881 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71882 $as_echo_n "(cached) " >&6
71883 else
71884
71885
71886 ac_ext=cpp
71887 ac_cpp='$CXXCPP $CPPFLAGS'
71888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71891
71892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71893 /* end confdefs.h. */
71894 #include <math.h>
71895 #ifdef HAVE_IEEEFP_H
71896 #include <ieeefp.h>
71897 #endif
71898
71899 int
71900 main ()
71901 {
71902 sqrtl(0);
71903 ;
71904 return 0;
71905 }
71906 _ACEOF
71907 if ac_fn_cxx_try_compile "$LINENO"; then :
71908 glibcxx_cv_func_sqrtl_use=yes
71909 else
71910 glibcxx_cv_func_sqrtl_use=no
71911 fi
71912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71913 ac_ext=c
71914 ac_cpp='$CPP $CPPFLAGS'
71915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71918
71919
71920 fi
71921
71922 fi
71923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71924 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71925
71926 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71927 for ac_func in sqrtl
71928 do :
71929 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71930 if test "x$ac_cv_func_sqrtl" = xyes; then :
71931 cat >>confdefs.h <<_ACEOF
71932 #define HAVE_SQRTL 1
71933 _ACEOF
71934
71935 fi
71936 done
71937
71938 else
71939
71940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71941 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71942 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71943 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
71944 $as_echo_n "(cached) " >&6
71945 else
71946
71947
71948 ac_ext=cpp
71949 ac_cpp='$CXXCPP $CPPFLAGS'
71950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71953
71954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71955 /* end confdefs.h. */
71956 #include <math.h>
71957 #ifdef HAVE_IEEEFP_H
71958 #include <ieeefp.h>
71959 #endif
71960
71961 int
71962 main ()
71963 {
71964 _sqrtl(0);
71965 ;
71966 return 0;
71967 }
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_func__sqrtl_use=yes
71971 else
71972 glibcxx_cv_func__sqrtl_use=no
71973 fi
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 ac_ext=c
71976 ac_cpp='$CPP $CPPFLAGS'
71977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71980
71981
71982 fi
71983
71984 fi
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71986 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71987
71988 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71989 for ac_func in _sqrtl
71990 do :
71991 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71992 if test "x$ac_cv_func__sqrtl" = xyes; then :
71993 cat >>confdefs.h <<_ACEOF
71994 #define HAVE__SQRTL 1
71995 _ACEOF
71996
71997 fi
71998 done
71999
72000 fi
72001 fi
72002
72003
72004
72005
72006
72007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72008 $as_echo_n "checking for sincosl declaration... " >&6; }
72009 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72010 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72011 $as_echo_n "(cached) " >&6
72012 else
72013
72014
72015 ac_ext=cpp
72016 ac_cpp='$CXXCPP $CPPFLAGS'
72017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72020
72021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72022 /* end confdefs.h. */
72023 #include <math.h>
72024 int
72025 main ()
72026 {
72027 sincosl(0, 0, 0);
72028 ;
72029 return 0;
72030 }
72031 _ACEOF
72032 if ac_fn_cxx_try_compile "$LINENO"; then :
72033 glibcxx_cv_func_sincosl_use=yes
72034 else
72035 glibcxx_cv_func_sincosl_use=no
72036 fi
72037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72038 ac_ext=c
72039 ac_cpp='$CPP $CPPFLAGS'
72040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72043
72044
72045 fi
72046
72047 fi
72048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72049 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72050
72051 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72052 for ac_func in sincosl
72053 do :
72054 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72055 if test "x$ac_cv_func_sincosl" = xyes; then :
72056 cat >>confdefs.h <<_ACEOF
72057 #define HAVE_SINCOSL 1
72058 _ACEOF
72059
72060 fi
72061 done
72062
72063 else
72064
72065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72066 $as_echo_n "checking for _sincosl declaration... " >&6; }
72067 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72068 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72069 $as_echo_n "(cached) " >&6
72070 else
72071
72072
72073 ac_ext=cpp
72074 ac_cpp='$CXXCPP $CPPFLAGS'
72075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72078
72079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72080 /* end confdefs.h. */
72081 #include <math.h>
72082 int
72083 main ()
72084 {
72085 _sincosl(0, 0, 0);
72086 ;
72087 return 0;
72088 }
72089 _ACEOF
72090 if ac_fn_cxx_try_compile "$LINENO"; then :
72091 glibcxx_cv_func__sincosl_use=yes
72092 else
72093 glibcxx_cv_func__sincosl_use=no
72094 fi
72095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72096 ac_ext=c
72097 ac_cpp='$CPP $CPPFLAGS'
72098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72101
72102
72103 fi
72104
72105 fi
72106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72107 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72108
72109 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72110 for ac_func in _sincosl
72111 do :
72112 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72113 if test "x$ac_cv_func__sincosl" = xyes; then :
72114 cat >>confdefs.h <<_ACEOF
72115 #define HAVE__SINCOSL 1
72116 _ACEOF
72117
72118 fi
72119 done
72120
72121 fi
72122 fi
72123
72124
72125
72126
72127
72128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72129 $as_echo_n "checking for finitel declaration... " >&6; }
72130 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72131 if ${glibcxx_cv_func_finitel_use+:} false; then :
72132 $as_echo_n "(cached) " >&6
72133 else
72134
72135
72136 ac_ext=cpp
72137 ac_cpp='$CXXCPP $CPPFLAGS'
72138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141
72142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72143 /* end confdefs.h. */
72144 #include <math.h>
72145 #ifdef HAVE_IEEEFP_H
72146 #include <ieeefp.h>
72147 #endif
72148
72149 int
72150 main ()
72151 {
72152 finitel(0);
72153 ;
72154 return 0;
72155 }
72156 _ACEOF
72157 if ac_fn_cxx_try_compile "$LINENO"; then :
72158 glibcxx_cv_func_finitel_use=yes
72159 else
72160 glibcxx_cv_func_finitel_use=no
72161 fi
72162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72163 ac_ext=c
72164 ac_cpp='$CPP $CPPFLAGS'
72165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72168
72169
72170 fi
72171
72172 fi
72173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72174 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72175
72176 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72177 for ac_func in finitel
72178 do :
72179 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72180 if test "x$ac_cv_func_finitel" = xyes; then :
72181 cat >>confdefs.h <<_ACEOF
72182 #define HAVE_FINITEL 1
72183 _ACEOF
72184
72185 fi
72186 done
72187
72188 else
72189
72190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72191 $as_echo_n "checking for _finitel declaration... " >&6; }
72192 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72193 if ${glibcxx_cv_func__finitel_use+:} false; then :
72194 $as_echo_n "(cached) " >&6
72195 else
72196
72197
72198 ac_ext=cpp
72199 ac_cpp='$CXXCPP $CPPFLAGS'
72200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72203
72204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72205 /* end confdefs.h. */
72206 #include <math.h>
72207 #ifdef HAVE_IEEEFP_H
72208 #include <ieeefp.h>
72209 #endif
72210
72211 int
72212 main ()
72213 {
72214 _finitel(0);
72215 ;
72216 return 0;
72217 }
72218 _ACEOF
72219 if ac_fn_cxx_try_compile "$LINENO"; then :
72220 glibcxx_cv_func__finitel_use=yes
72221 else
72222 glibcxx_cv_func__finitel_use=no
72223 fi
72224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72225 ac_ext=c
72226 ac_cpp='$CPP $CPPFLAGS'
72227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72230
72231
72232 fi
72233
72234 fi
72235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72236 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72237
72238 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72239 for ac_func in _finitel
72240 do :
72241 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72242 if test "x$ac_cv_func__finitel" = xyes; then :
72243 cat >>confdefs.h <<_ACEOF
72244 #define HAVE__FINITEL 1
72245 _ACEOF
72246
72247 fi
72248 done
72249
72250 fi
72251 fi
72252
72253
72254
72255
72256 LIBS="$ac_save_LIBS"
72257 CXXFLAGS="$ac_save_CXXFLAGS"
72258
72259
72260 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72261 ac_save_CXXFLAGS="$CXXFLAGS"
72262 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72263
72264
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72266 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72267 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72268 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72269 $as_echo_n "(cached) " >&6
72270 else
72271
72272
72273 ac_ext=cpp
72274 ac_cpp='$CXXCPP $CPPFLAGS'
72275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72278
72279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72280 /* end confdefs.h. */
72281 #include <stdlib.h>
72282 int
72283 main ()
72284 {
72285 at_quick_exit(0);
72286 ;
72287 return 0;
72288 }
72289 _ACEOF
72290 if ac_fn_cxx_try_compile "$LINENO"; then :
72291 glibcxx_cv_func_at_quick_exit_use=yes
72292 else
72293 glibcxx_cv_func_at_quick_exit_use=no
72294 fi
72295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72296 ac_ext=c
72297 ac_cpp='$CPP $CPPFLAGS'
72298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72301
72302
72303 fi
72304
72305 fi
72306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72307 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72308 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72309 for ac_func in at_quick_exit
72310 do :
72311 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72312 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72313 cat >>confdefs.h <<_ACEOF
72314 #define HAVE_AT_QUICK_EXIT 1
72315 _ACEOF
72316
72317 fi
72318 done
72319
72320 fi
72321
72322
72323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72324 $as_echo_n "checking for quick_exit declaration... " >&6; }
72325 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72326 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72327 $as_echo_n "(cached) " >&6
72328 else
72329
72330
72331 ac_ext=cpp
72332 ac_cpp='$CXXCPP $CPPFLAGS'
72333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72336
72337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72338 /* end confdefs.h. */
72339 #include <stdlib.h>
72340 int
72341 main ()
72342 {
72343 quick_exit(0);
72344 ;
72345 return 0;
72346 }
72347 _ACEOF
72348 if ac_fn_cxx_try_compile "$LINENO"; then :
72349 glibcxx_cv_func_quick_exit_use=yes
72350 else
72351 glibcxx_cv_func_quick_exit_use=no
72352 fi
72353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72354 ac_ext=c
72355 ac_cpp='$CPP $CPPFLAGS'
72356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72359
72360
72361 fi
72362
72363 fi
72364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72365 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72366 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72367 for ac_func in quick_exit
72368 do :
72369 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72370 if test "x$ac_cv_func_quick_exit" = xyes; then :
72371 cat >>confdefs.h <<_ACEOF
72372 #define HAVE_QUICK_EXIT 1
72373 _ACEOF
72374
72375 fi
72376 done
72377
72378 fi
72379
72380
72381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72382 $as_echo_n "checking for strtold declaration... " >&6; }
72383 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72384 if ${glibcxx_cv_func_strtold_use+:} false; then :
72385 $as_echo_n "(cached) " >&6
72386 else
72387
72388
72389 ac_ext=cpp
72390 ac_cpp='$CXXCPP $CPPFLAGS'
72391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72394
72395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72396 /* end confdefs.h. */
72397 #include <stdlib.h>
72398 int
72399 main ()
72400 {
72401 strtold(0, 0);
72402 ;
72403 return 0;
72404 }
72405 _ACEOF
72406 if ac_fn_cxx_try_compile "$LINENO"; then :
72407 glibcxx_cv_func_strtold_use=yes
72408 else
72409 glibcxx_cv_func_strtold_use=no
72410 fi
72411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72412 ac_ext=c
72413 ac_cpp='$CPP $CPPFLAGS'
72414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72417
72418
72419 fi
72420
72421 fi
72422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72423 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72424 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72425 for ac_func in strtold
72426 do :
72427 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72428 if test "x$ac_cv_func_strtold" = xyes; then :
72429 cat >>confdefs.h <<_ACEOF
72430 #define HAVE_STRTOLD 1
72431 _ACEOF
72432
72433 fi
72434 done
72435
72436 fi
72437
72438
72439
72440
72441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72442 $as_echo_n "checking for strtof declaration... " >&6; }
72443 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72444 if ${glibcxx_cv_func_strtof_use+:} false; then :
72445 $as_echo_n "(cached) " >&6
72446 else
72447
72448
72449 ac_ext=cpp
72450 ac_cpp='$CXXCPP $CPPFLAGS'
72451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72454
72455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72456 /* end confdefs.h. */
72457 #include <stdlib.h>
72458 int
72459 main ()
72460 {
72461 strtof(0, 0);
72462 ;
72463 return 0;
72464 }
72465 _ACEOF
72466 if ac_fn_cxx_try_compile "$LINENO"; then :
72467 glibcxx_cv_func_strtof_use=yes
72468 else
72469 glibcxx_cv_func_strtof_use=no
72470 fi
72471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72472 ac_ext=c
72473 ac_cpp='$CPP $CPPFLAGS'
72474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72477
72478
72479 fi
72480
72481 fi
72482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72483 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72484 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72485 for ac_func in strtof
72486 do :
72487 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72488 if test "x$ac_cv_func_strtof" = xyes; then :
72489 cat >>confdefs.h <<_ACEOF
72490 #define HAVE_STRTOF 1
72491 _ACEOF
72492
72493 fi
72494 done
72495
72496 fi
72497
72498
72499
72500
72501 CXXFLAGS="$ac_save_CXXFLAGS"
72502
72503 ;;
72504 *-vxworks*)
72505 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72506
72507 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72508
72509 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72510
72511 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72512
72513 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72514
72515 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72516
72517 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72518
72519 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72520
72521 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72522
72523 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72524
72525 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72526
72527 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72528
72529 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72530
72531 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72532
72533 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72534
72535 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72536
72537 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72538
72539 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72540
72541 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72542
72543 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72544
72545
72546
72547
72548
72549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72550 $as_echo_n "checking for acosl declaration... " >&6; }
72551 if ${glibcxx_cv_func_acosl_use+:} false; then :
72552 $as_echo_n "(cached) " >&6
72553 else
72554
72555
72556 ac_ext=c
72557 ac_cpp='$CPP $CPPFLAGS'
72558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72561
72562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72563 /* end confdefs.h. */
72564
72565 #include <math.h>
72566 #ifdef HAVE_IEEEFP_H
72567 # include <ieeefp.h>
72568 #endif
72569 #undef acosl
72570
72571 int
72572 main ()
72573 {
72574
72575 void (*f)(void) = (void (*)(void))acosl;
72576
72577 ;
72578 return 0;
72579 }
72580 _ACEOF
72581 if ac_fn_c_try_compile "$LINENO"; then :
72582 glibcxx_cv_func_acosl_use=yes
72583
72584 else
72585 glibcxx_cv_func_acosl_use=no
72586 fi
72587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72588 fi
72589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72590 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72591 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72592 cat >>confdefs.h <<_ACEOF
72593 #define HAVE_ACOSL 1
72594 _ACEOF
72595
72596 fi
72597
72598
72599
72600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72601 $as_echo_n "checking for asinl declaration... " >&6; }
72602 if ${glibcxx_cv_func_asinl_use+:} false; then :
72603 $as_echo_n "(cached) " >&6
72604 else
72605
72606
72607 ac_ext=c
72608 ac_cpp='$CPP $CPPFLAGS'
72609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72612
72613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72614 /* end confdefs.h. */
72615
72616 #include <math.h>
72617 #ifdef HAVE_IEEEFP_H
72618 # include <ieeefp.h>
72619 #endif
72620 #undef asinl
72621
72622 int
72623 main ()
72624 {
72625
72626 void (*f)(void) = (void (*)(void))asinl;
72627
72628 ;
72629 return 0;
72630 }
72631 _ACEOF
72632 if ac_fn_c_try_compile "$LINENO"; then :
72633 glibcxx_cv_func_asinl_use=yes
72634
72635 else
72636 glibcxx_cv_func_asinl_use=no
72637 fi
72638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72639 fi
72640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72641 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72642 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72643 cat >>confdefs.h <<_ACEOF
72644 #define HAVE_ASINL 1
72645 _ACEOF
72646
72647 fi
72648
72649
72650
72651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72652 $as_echo_n "checking for atan2l declaration... " >&6; }
72653 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72654 $as_echo_n "(cached) " >&6
72655 else
72656
72657
72658 ac_ext=c
72659 ac_cpp='$CPP $CPPFLAGS'
72660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72663
72664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72665 /* end confdefs.h. */
72666
72667 #include <math.h>
72668 #ifdef HAVE_IEEEFP_H
72669 # include <ieeefp.h>
72670 #endif
72671 #undef atan2l
72672
72673 int
72674 main ()
72675 {
72676
72677 void (*f)(void) = (void (*)(void))atan2l;
72678
72679 ;
72680 return 0;
72681 }
72682 _ACEOF
72683 if ac_fn_c_try_compile "$LINENO"; then :
72684 glibcxx_cv_func_atan2l_use=yes
72685
72686 else
72687 glibcxx_cv_func_atan2l_use=no
72688 fi
72689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72690 fi
72691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72692 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72693 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72694 cat >>confdefs.h <<_ACEOF
72695 #define HAVE_ATAN2L 1
72696 _ACEOF
72697
72698 fi
72699
72700
72701
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72703 $as_echo_n "checking for atanl declaration... " >&6; }
72704 if ${glibcxx_cv_func_atanl_use+:} false; then :
72705 $as_echo_n "(cached) " >&6
72706 else
72707
72708
72709 ac_ext=c
72710 ac_cpp='$CPP $CPPFLAGS'
72711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72714
72715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72716 /* end confdefs.h. */
72717
72718 #include <math.h>
72719 #ifdef HAVE_IEEEFP_H
72720 # include <ieeefp.h>
72721 #endif
72722 #undef atanl
72723
72724 int
72725 main ()
72726 {
72727
72728 void (*f)(void) = (void (*)(void))atanl;
72729
72730 ;
72731 return 0;
72732 }
72733 _ACEOF
72734 if ac_fn_c_try_compile "$LINENO"; then :
72735 glibcxx_cv_func_atanl_use=yes
72736
72737 else
72738 glibcxx_cv_func_atanl_use=no
72739 fi
72740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72741 fi
72742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72743 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72744 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72745 cat >>confdefs.h <<_ACEOF
72746 #define HAVE_ATANL 1
72747 _ACEOF
72748
72749 fi
72750
72751
72752
72753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72754 $as_echo_n "checking for ceill declaration... " >&6; }
72755 if ${glibcxx_cv_func_ceill_use+:} false; then :
72756 $as_echo_n "(cached) " >&6
72757 else
72758
72759
72760 ac_ext=c
72761 ac_cpp='$CPP $CPPFLAGS'
72762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72765
72766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72767 /* end confdefs.h. */
72768
72769 #include <math.h>
72770 #ifdef HAVE_IEEEFP_H
72771 # include <ieeefp.h>
72772 #endif
72773 #undef ceill
72774
72775 int
72776 main ()
72777 {
72778
72779 void (*f)(void) = (void (*)(void))ceill;
72780
72781 ;
72782 return 0;
72783 }
72784 _ACEOF
72785 if ac_fn_c_try_compile "$LINENO"; then :
72786 glibcxx_cv_func_ceill_use=yes
72787
72788 else
72789 glibcxx_cv_func_ceill_use=no
72790 fi
72791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72792 fi
72793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72794 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72795 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72796 cat >>confdefs.h <<_ACEOF
72797 #define HAVE_CEILL 1
72798 _ACEOF
72799
72800 fi
72801
72802
72803
72804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72805 $as_echo_n "checking for cosl declaration... " >&6; }
72806 if ${glibcxx_cv_func_cosl_use+:} false; then :
72807 $as_echo_n "(cached) " >&6
72808 else
72809
72810
72811 ac_ext=c
72812 ac_cpp='$CPP $CPPFLAGS'
72813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72816
72817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72818 /* end confdefs.h. */
72819
72820 #include <math.h>
72821 #ifdef HAVE_IEEEFP_H
72822 # include <ieeefp.h>
72823 #endif
72824 #undef cosl
72825
72826 int
72827 main ()
72828 {
72829
72830 void (*f)(void) = (void (*)(void))cosl;
72831
72832 ;
72833 return 0;
72834 }
72835 _ACEOF
72836 if ac_fn_c_try_compile "$LINENO"; then :
72837 glibcxx_cv_func_cosl_use=yes
72838
72839 else
72840 glibcxx_cv_func_cosl_use=no
72841 fi
72842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72843 fi
72844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72845 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72846 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72847 cat >>confdefs.h <<_ACEOF
72848 #define HAVE_COSL 1
72849 _ACEOF
72850
72851 fi
72852
72853
72854
72855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72856 $as_echo_n "checking for coshl declaration... " >&6; }
72857 if ${glibcxx_cv_func_coshl_use+:} false; then :
72858 $as_echo_n "(cached) " >&6
72859 else
72860
72861
72862 ac_ext=c
72863 ac_cpp='$CPP $CPPFLAGS'
72864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72867
72868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72869 /* end confdefs.h. */
72870
72871 #include <math.h>
72872 #ifdef HAVE_IEEEFP_H
72873 # include <ieeefp.h>
72874 #endif
72875 #undef coshl
72876
72877 int
72878 main ()
72879 {
72880
72881 void (*f)(void) = (void (*)(void))coshl;
72882
72883 ;
72884 return 0;
72885 }
72886 _ACEOF
72887 if ac_fn_c_try_compile "$LINENO"; then :
72888 glibcxx_cv_func_coshl_use=yes
72889
72890 else
72891 glibcxx_cv_func_coshl_use=no
72892 fi
72893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72894 fi
72895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
72896 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
72897 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
72898 cat >>confdefs.h <<_ACEOF
72899 #define HAVE_COSHL 1
72900 _ACEOF
72901
72902 fi
72903
72904
72905
72906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
72907 $as_echo_n "checking for expl declaration... " >&6; }
72908 if ${glibcxx_cv_func_expl_use+:} false; then :
72909 $as_echo_n "(cached) " >&6
72910 else
72911
72912
72913 ac_ext=c
72914 ac_cpp='$CPP $CPPFLAGS'
72915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72918
72919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72920 /* end confdefs.h. */
72921
72922 #include <math.h>
72923 #ifdef HAVE_IEEEFP_H
72924 # include <ieeefp.h>
72925 #endif
72926 #undef expl
72927
72928 int
72929 main ()
72930 {
72931
72932 void (*f)(void) = (void (*)(void))expl;
72933
72934 ;
72935 return 0;
72936 }
72937 _ACEOF
72938 if ac_fn_c_try_compile "$LINENO"; then :
72939 glibcxx_cv_func_expl_use=yes
72940
72941 else
72942 glibcxx_cv_func_expl_use=no
72943 fi
72944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72945 fi
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
72947 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
72948 if test "x$glibcxx_cv_func_expl_use" = xyes; then
72949 cat >>confdefs.h <<_ACEOF
72950 #define HAVE_EXPL 1
72951 _ACEOF
72952
72953 fi
72954
72955
72956
72957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
72958 $as_echo_n "checking for fabsl declaration... " >&6; }
72959 if ${glibcxx_cv_func_fabsl_use+:} false; then :
72960 $as_echo_n "(cached) " >&6
72961 else
72962
72963
72964 ac_ext=c
72965 ac_cpp='$CPP $CPPFLAGS'
72966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72969
72970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72971 /* end confdefs.h. */
72972
72973 #include <math.h>
72974 #ifdef HAVE_IEEEFP_H
72975 # include <ieeefp.h>
72976 #endif
72977 #undef fabsl
72978
72979 int
72980 main ()
72981 {
72982
72983 void (*f)(void) = (void (*)(void))fabsl;
72984
72985 ;
72986 return 0;
72987 }
72988 _ACEOF
72989 if ac_fn_c_try_compile "$LINENO"; then :
72990 glibcxx_cv_func_fabsl_use=yes
72991
72992 else
72993 glibcxx_cv_func_fabsl_use=no
72994 fi
72995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72996 fi
72997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
72998 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
72999 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73000 cat >>confdefs.h <<_ACEOF
73001 #define HAVE_FABSL 1
73002 _ACEOF
73003
73004 fi
73005
73006
73007
73008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73009 $as_echo_n "checking for floorl declaration... " >&6; }
73010 if ${glibcxx_cv_func_floorl_use+:} false; then :
73011 $as_echo_n "(cached) " >&6
73012 else
73013
73014
73015 ac_ext=c
73016 ac_cpp='$CPP $CPPFLAGS'
73017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73020
73021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73022 /* end confdefs.h. */
73023
73024 #include <math.h>
73025 #ifdef HAVE_IEEEFP_H
73026 # include <ieeefp.h>
73027 #endif
73028 #undef floorl
73029
73030 int
73031 main ()
73032 {
73033
73034 void (*f)(void) = (void (*)(void))floorl;
73035
73036 ;
73037 return 0;
73038 }
73039 _ACEOF
73040 if ac_fn_c_try_compile "$LINENO"; then :
73041 glibcxx_cv_func_floorl_use=yes
73042
73043 else
73044 glibcxx_cv_func_floorl_use=no
73045 fi
73046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73047 fi
73048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73049 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73050 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73051 cat >>confdefs.h <<_ACEOF
73052 #define HAVE_FLOORL 1
73053 _ACEOF
73054
73055 fi
73056
73057
73058
73059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73060 $as_echo_n "checking for fmodl declaration... " >&6; }
73061 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73062 $as_echo_n "(cached) " >&6
73063 else
73064
73065
73066 ac_ext=c
73067 ac_cpp='$CPP $CPPFLAGS'
73068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73071
73072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73073 /* end confdefs.h. */
73074
73075 #include <math.h>
73076 #ifdef HAVE_IEEEFP_H
73077 # include <ieeefp.h>
73078 #endif
73079 #undef fmodl
73080
73081 int
73082 main ()
73083 {
73084
73085 void (*f)(void) = (void (*)(void))fmodl;
73086
73087 ;
73088 return 0;
73089 }
73090 _ACEOF
73091 if ac_fn_c_try_compile "$LINENO"; then :
73092 glibcxx_cv_func_fmodl_use=yes
73093
73094 else
73095 glibcxx_cv_func_fmodl_use=no
73096 fi
73097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73098 fi
73099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73100 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73101 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73102 cat >>confdefs.h <<_ACEOF
73103 #define HAVE_FMODL 1
73104 _ACEOF
73105
73106 fi
73107
73108
73109
73110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73111 $as_echo_n "checking for frexpl declaration... " >&6; }
73112 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73113 $as_echo_n "(cached) " >&6
73114 else
73115
73116
73117 ac_ext=c
73118 ac_cpp='$CPP $CPPFLAGS'
73119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73122
73123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73124 /* end confdefs.h. */
73125
73126 #include <math.h>
73127 #ifdef HAVE_IEEEFP_H
73128 # include <ieeefp.h>
73129 #endif
73130 #undef frexpl
73131
73132 int
73133 main ()
73134 {
73135
73136 void (*f)(void) = (void (*)(void))frexpl;
73137
73138 ;
73139 return 0;
73140 }
73141 _ACEOF
73142 if ac_fn_c_try_compile "$LINENO"; then :
73143 glibcxx_cv_func_frexpl_use=yes
73144
73145 else
73146 glibcxx_cv_func_frexpl_use=no
73147 fi
73148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73149 fi
73150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73151 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73152 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73153 cat >>confdefs.h <<_ACEOF
73154 #define HAVE_FREXPL 1
73155 _ACEOF
73156
73157 fi
73158
73159
73160
73161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73162 $as_echo_n "checking for ldexpl declaration... " >&6; }
73163 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73164 $as_echo_n "(cached) " >&6
73165 else
73166
73167
73168 ac_ext=c
73169 ac_cpp='$CPP $CPPFLAGS'
73170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73173
73174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73175 /* end confdefs.h. */
73176
73177 #include <math.h>
73178 #ifdef HAVE_IEEEFP_H
73179 # include <ieeefp.h>
73180 #endif
73181 #undef ldexpl
73182
73183 int
73184 main ()
73185 {
73186
73187 void (*f)(void) = (void (*)(void))ldexpl;
73188
73189 ;
73190 return 0;
73191 }
73192 _ACEOF
73193 if ac_fn_c_try_compile "$LINENO"; then :
73194 glibcxx_cv_func_ldexpl_use=yes
73195
73196 else
73197 glibcxx_cv_func_ldexpl_use=no
73198 fi
73199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73200 fi
73201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73202 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73203 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73204 cat >>confdefs.h <<_ACEOF
73205 #define HAVE_LDEXPL 1
73206 _ACEOF
73207
73208 fi
73209
73210
73211
73212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73213 $as_echo_n "checking for log10l declaration... " >&6; }
73214 if ${glibcxx_cv_func_log10l_use+:} false; then :
73215 $as_echo_n "(cached) " >&6
73216 else
73217
73218
73219 ac_ext=c
73220 ac_cpp='$CPP $CPPFLAGS'
73221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73224
73225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73226 /* end confdefs.h. */
73227
73228 #include <math.h>
73229 #ifdef HAVE_IEEEFP_H
73230 # include <ieeefp.h>
73231 #endif
73232 #undef log10l
73233
73234 int
73235 main ()
73236 {
73237
73238 void (*f)(void) = (void (*)(void))log10l;
73239
73240 ;
73241 return 0;
73242 }
73243 _ACEOF
73244 if ac_fn_c_try_compile "$LINENO"; then :
73245 glibcxx_cv_func_log10l_use=yes
73246
73247 else
73248 glibcxx_cv_func_log10l_use=no
73249 fi
73250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73251 fi
73252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73253 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73254 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73255 cat >>confdefs.h <<_ACEOF
73256 #define HAVE_LOG10L 1
73257 _ACEOF
73258
73259 fi
73260
73261
73262
73263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73264 $as_echo_n "checking for logl declaration... " >&6; }
73265 if ${glibcxx_cv_func_logl_use+:} false; then :
73266 $as_echo_n "(cached) " >&6
73267 else
73268
73269
73270 ac_ext=c
73271 ac_cpp='$CPP $CPPFLAGS'
73272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73275
73276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73277 /* end confdefs.h. */
73278
73279 #include <math.h>
73280 #ifdef HAVE_IEEEFP_H
73281 # include <ieeefp.h>
73282 #endif
73283 #undef logl
73284
73285 int
73286 main ()
73287 {
73288
73289 void (*f)(void) = (void (*)(void))logl;
73290
73291 ;
73292 return 0;
73293 }
73294 _ACEOF
73295 if ac_fn_c_try_compile "$LINENO"; then :
73296 glibcxx_cv_func_logl_use=yes
73297
73298 else
73299 glibcxx_cv_func_logl_use=no
73300 fi
73301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73302 fi
73303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73304 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73305 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73306 cat >>confdefs.h <<_ACEOF
73307 #define HAVE_LOGL 1
73308 _ACEOF
73309
73310 fi
73311
73312
73313
73314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73315 $as_echo_n "checking for modfl declaration... " >&6; }
73316 if ${glibcxx_cv_func_modfl_use+:} false; then :
73317 $as_echo_n "(cached) " >&6
73318 else
73319
73320
73321 ac_ext=c
73322 ac_cpp='$CPP $CPPFLAGS'
73323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73326
73327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73328 /* end confdefs.h. */
73329
73330 #include <math.h>
73331 #ifdef HAVE_IEEEFP_H
73332 # include <ieeefp.h>
73333 #endif
73334 #undef modfl
73335
73336 int
73337 main ()
73338 {
73339
73340 void (*f)(void) = (void (*)(void))modfl;
73341
73342 ;
73343 return 0;
73344 }
73345 _ACEOF
73346 if ac_fn_c_try_compile "$LINENO"; then :
73347 glibcxx_cv_func_modfl_use=yes
73348
73349 else
73350 glibcxx_cv_func_modfl_use=no
73351 fi
73352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73353 fi
73354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73355 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73356 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73357 cat >>confdefs.h <<_ACEOF
73358 #define HAVE_MODFL 1
73359 _ACEOF
73360
73361 fi
73362
73363
73364
73365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73366 $as_echo_n "checking for powl declaration... " >&6; }
73367 if ${glibcxx_cv_func_powl_use+:} false; then :
73368 $as_echo_n "(cached) " >&6
73369 else
73370
73371
73372 ac_ext=c
73373 ac_cpp='$CPP $CPPFLAGS'
73374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73377
73378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73379 /* end confdefs.h. */
73380
73381 #include <math.h>
73382 #ifdef HAVE_IEEEFP_H
73383 # include <ieeefp.h>
73384 #endif
73385 #undef powl
73386
73387 int
73388 main ()
73389 {
73390
73391 void (*f)(void) = (void (*)(void))powl;
73392
73393 ;
73394 return 0;
73395 }
73396 _ACEOF
73397 if ac_fn_c_try_compile "$LINENO"; then :
73398 glibcxx_cv_func_powl_use=yes
73399
73400 else
73401 glibcxx_cv_func_powl_use=no
73402 fi
73403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73404 fi
73405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73406 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73407 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73408 cat >>confdefs.h <<_ACEOF
73409 #define HAVE_POWL 1
73410 _ACEOF
73411
73412 fi
73413
73414
73415
73416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73417 $as_echo_n "checking for sinl declaration... " >&6; }
73418 if ${glibcxx_cv_func_sinl_use+:} false; then :
73419 $as_echo_n "(cached) " >&6
73420 else
73421
73422
73423 ac_ext=c
73424 ac_cpp='$CPP $CPPFLAGS'
73425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73428
73429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73430 /* end confdefs.h. */
73431
73432 #include <math.h>
73433 #ifdef HAVE_IEEEFP_H
73434 # include <ieeefp.h>
73435 #endif
73436 #undef sinl
73437
73438 int
73439 main ()
73440 {
73441
73442 void (*f)(void) = (void (*)(void))sinl;
73443
73444 ;
73445 return 0;
73446 }
73447 _ACEOF
73448 if ac_fn_c_try_compile "$LINENO"; then :
73449 glibcxx_cv_func_sinl_use=yes
73450
73451 else
73452 glibcxx_cv_func_sinl_use=no
73453 fi
73454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73455 fi
73456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73457 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73458 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73459 cat >>confdefs.h <<_ACEOF
73460 #define HAVE_SINL 1
73461 _ACEOF
73462
73463 fi
73464
73465
73466
73467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73468 $as_echo_n "checking for sinhl declaration... " >&6; }
73469 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73470 $as_echo_n "(cached) " >&6
73471 else
73472
73473
73474 ac_ext=c
73475 ac_cpp='$CPP $CPPFLAGS'
73476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73479
73480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73481 /* end confdefs.h. */
73482
73483 #include <math.h>
73484 #ifdef HAVE_IEEEFP_H
73485 # include <ieeefp.h>
73486 #endif
73487 #undef sinhl
73488
73489 int
73490 main ()
73491 {
73492
73493 void (*f)(void) = (void (*)(void))sinhl;
73494
73495 ;
73496 return 0;
73497 }
73498 _ACEOF
73499 if ac_fn_c_try_compile "$LINENO"; then :
73500 glibcxx_cv_func_sinhl_use=yes
73501
73502 else
73503 glibcxx_cv_func_sinhl_use=no
73504 fi
73505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73506 fi
73507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73508 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73509 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73510 cat >>confdefs.h <<_ACEOF
73511 #define HAVE_SINHL 1
73512 _ACEOF
73513
73514 fi
73515
73516
73517
73518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73519 $as_echo_n "checking for sqrtl declaration... " >&6; }
73520 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73521 $as_echo_n "(cached) " >&6
73522 else
73523
73524
73525 ac_ext=c
73526 ac_cpp='$CPP $CPPFLAGS'
73527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73530
73531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73532 /* end confdefs.h. */
73533
73534 #include <math.h>
73535 #ifdef HAVE_IEEEFP_H
73536 # include <ieeefp.h>
73537 #endif
73538 #undef sqrtl
73539
73540 int
73541 main ()
73542 {
73543
73544 void (*f)(void) = (void (*)(void))sqrtl;
73545
73546 ;
73547 return 0;
73548 }
73549 _ACEOF
73550 if ac_fn_c_try_compile "$LINENO"; then :
73551 glibcxx_cv_func_sqrtl_use=yes
73552
73553 else
73554 glibcxx_cv_func_sqrtl_use=no
73555 fi
73556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73557 fi
73558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73559 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73560 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73561 cat >>confdefs.h <<_ACEOF
73562 #define HAVE_SQRTL 1
73563 _ACEOF
73564
73565 fi
73566
73567
73568
73569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73570 $as_echo_n "checking for tanl declaration... " >&6; }
73571 if ${glibcxx_cv_func_tanl_use+:} false; then :
73572 $as_echo_n "(cached) " >&6
73573 else
73574
73575
73576 ac_ext=c
73577 ac_cpp='$CPP $CPPFLAGS'
73578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73581
73582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73583 /* end confdefs.h. */
73584
73585 #include <math.h>
73586 #ifdef HAVE_IEEEFP_H
73587 # include <ieeefp.h>
73588 #endif
73589 #undef tanl
73590
73591 int
73592 main ()
73593 {
73594
73595 void (*f)(void) = (void (*)(void))tanl;
73596
73597 ;
73598 return 0;
73599 }
73600 _ACEOF
73601 if ac_fn_c_try_compile "$LINENO"; then :
73602 glibcxx_cv_func_tanl_use=yes
73603
73604 else
73605 glibcxx_cv_func_tanl_use=no
73606 fi
73607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73608 fi
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73610 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73611 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73612 cat >>confdefs.h <<_ACEOF
73613 #define HAVE_TANL 1
73614 _ACEOF
73615
73616 fi
73617
73618
73619
73620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73621 $as_echo_n "checking for tanhl declaration... " >&6; }
73622 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73623 $as_echo_n "(cached) " >&6
73624 else
73625
73626
73627 ac_ext=c
73628 ac_cpp='$CPP $CPPFLAGS'
73629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73632
73633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73634 /* end confdefs.h. */
73635
73636 #include <math.h>
73637 #ifdef HAVE_IEEEFP_H
73638 # include <ieeefp.h>
73639 #endif
73640 #undef tanhl
73641
73642 int
73643 main ()
73644 {
73645
73646 void (*f)(void) = (void (*)(void))tanhl;
73647
73648 ;
73649 return 0;
73650 }
73651 _ACEOF
73652 if ac_fn_c_try_compile "$LINENO"; then :
73653 glibcxx_cv_func_tanhl_use=yes
73654
73655 else
73656 glibcxx_cv_func_tanhl_use=no
73657 fi
73658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73659 fi
73660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73661 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73662 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73663 cat >>confdefs.h <<_ACEOF
73664 #define HAVE_TANHL 1
73665 _ACEOF
73666
73667 fi
73668
73669
73670
73671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73672 $as_echo_n "checking for hypotl declaration... " >&6; }
73673 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73674 $as_echo_n "(cached) " >&6
73675 else
73676
73677
73678 ac_ext=c
73679 ac_cpp='$CPP $CPPFLAGS'
73680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73683
73684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73685 /* end confdefs.h. */
73686
73687 #include <math.h>
73688 #ifdef HAVE_IEEEFP_H
73689 # include <ieeefp.h>
73690 #endif
73691 #undef hypotl
73692
73693 int
73694 main ()
73695 {
73696
73697 void (*f)(void) = (void (*)(void))hypotl;
73698
73699 ;
73700 return 0;
73701 }
73702 _ACEOF
73703 if ac_fn_c_try_compile "$LINENO"; then :
73704 glibcxx_cv_func_hypotl_use=yes
73705
73706 else
73707 glibcxx_cv_func_hypotl_use=no
73708 fi
73709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73710 fi
73711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73712 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73713 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73714 cat >>confdefs.h <<_ACEOF
73715 #define HAVE_HYPOTL 1
73716 _ACEOF
73717
73718 fi
73719
73720
73721
73722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73723 $as_echo_n "checking for ldexpf declaration... " >&6; }
73724 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73725 $as_echo_n "(cached) " >&6
73726 else
73727
73728
73729 ac_ext=c
73730 ac_cpp='$CPP $CPPFLAGS'
73731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73734
73735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73736 /* end confdefs.h. */
73737
73738 #include <math.h>
73739 #ifdef HAVE_IEEEFP_H
73740 # include <ieeefp.h>
73741 #endif
73742 #undef ldexpf
73743
73744 int
73745 main ()
73746 {
73747
73748 void (*f)(void) = (void (*)(void))ldexpf;
73749
73750 ;
73751 return 0;
73752 }
73753 _ACEOF
73754 if ac_fn_c_try_compile "$LINENO"; then :
73755 glibcxx_cv_func_ldexpf_use=yes
73756
73757 else
73758 glibcxx_cv_func_ldexpf_use=no
73759 fi
73760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73761 fi
73762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73763 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73764 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73765 cat >>confdefs.h <<_ACEOF
73766 #define HAVE_LDEXPF 1
73767 _ACEOF
73768
73769 fi
73770
73771
73772
73773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73774 $as_echo_n "checking for modff declaration... " >&6; }
73775 if ${glibcxx_cv_func_modff_use+:} false; then :
73776 $as_echo_n "(cached) " >&6
73777 else
73778
73779
73780 ac_ext=c
73781 ac_cpp='$CPP $CPPFLAGS'
73782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73785
73786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73787 /* end confdefs.h. */
73788
73789 #include <math.h>
73790 #ifdef HAVE_IEEEFP_H
73791 # include <ieeefp.h>
73792 #endif
73793 #undef modff
73794
73795 int
73796 main ()
73797 {
73798
73799 void (*f)(void) = (void (*)(void))modff;
73800
73801 ;
73802 return 0;
73803 }
73804 _ACEOF
73805 if ac_fn_c_try_compile "$LINENO"; then :
73806 glibcxx_cv_func_modff_use=yes
73807
73808 else
73809 glibcxx_cv_func_modff_use=no
73810 fi
73811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73812 fi
73813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73814 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73815 if test "x$glibcxx_cv_func_modff_use" = xyes; then
73816 cat >>confdefs.h <<_ACEOF
73817 #define HAVE_MODFF 1
73818 _ACEOF
73819
73820 fi
73821
73822
73823
73824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73825 $as_echo_n "checking for hypotf declaration... " >&6; }
73826 if ${glibcxx_cv_func_hypotf_use+:} false; then :
73827 $as_echo_n "(cached) " >&6
73828 else
73829
73830
73831 ac_ext=c
73832 ac_cpp='$CPP $CPPFLAGS'
73833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73836
73837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73838 /* end confdefs.h. */
73839
73840 #include <math.h>
73841 #ifdef HAVE_IEEEFP_H
73842 # include <ieeefp.h>
73843 #endif
73844 #undef hypotf
73845
73846 int
73847 main ()
73848 {
73849
73850 void (*f)(void) = (void (*)(void))hypotf;
73851
73852 ;
73853 return 0;
73854 }
73855 _ACEOF
73856 if ac_fn_c_try_compile "$LINENO"; then :
73857 glibcxx_cv_func_hypotf_use=yes
73858
73859 else
73860 glibcxx_cv_func_hypotf_use=no
73861 fi
73862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73863 fi
73864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73865 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73866 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
73867 cat >>confdefs.h <<_ACEOF
73868 #define HAVE_HYPOTF 1
73869 _ACEOF
73870
73871 fi
73872
73873
73874
73875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73876 $as_echo_n "checking for frexpf declaration... " >&6; }
73877 if ${glibcxx_cv_func_frexpf_use+:} false; then :
73878 $as_echo_n "(cached) " >&6
73879 else
73880
73881
73882 ac_ext=c
73883 ac_cpp='$CPP $CPPFLAGS'
73884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73887
73888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73889 /* end confdefs.h. */
73890
73891 #include <math.h>
73892 #ifdef HAVE_IEEEFP_H
73893 # include <ieeefp.h>
73894 #endif
73895 #undef frexpf
73896
73897 int
73898 main ()
73899 {
73900
73901 void (*f)(void) = (void (*)(void))frexpf;
73902
73903 ;
73904 return 0;
73905 }
73906 _ACEOF
73907 if ac_fn_c_try_compile "$LINENO"; then :
73908 glibcxx_cv_func_frexpf_use=yes
73909
73910 else
73911 glibcxx_cv_func_frexpf_use=no
73912 fi
73913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73914 fi
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73916 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73917 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
73918 cat >>confdefs.h <<_ACEOF
73919 #define HAVE_FREXPF 1
73920 _ACEOF
73921
73922 fi
73923
73924
73925
73926 ;;
73927 *)
73928 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
73929 ;;
73930 esac
73931
73932 fi
73933
73934 # At some point, we should differentiate between architectures
73935 # like x86, which have long double versions, and alpha/powerpc/etc.,
73936 # which don't. For the time being, punt.
73937 if test x"long_double_math_on_this_cpu" = x"yes"; then
73938 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
73939
73940 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
73941
73942 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
73943
73944 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
73945
73946 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
73947
73948 $as_echo "#define HAVE_COSL 1" >>confdefs.h
73949
73950 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
73951
73952 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
73953
73954 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
73955
73956 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
73957
73958 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
73959
73960 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
73961
73962 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
73963
73964 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
73965
73966 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
73967
73968 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
73969
73970 $as_echo "#define HAVE_POWL 1" >>confdefs.h
73971
73972 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
73973
73974 $as_echo "#define HAVE_SINL 1" >>confdefs.h
73975
73976 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
73977
73978 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
73979
73980 $as_echo "#define HAVE_TANL 1" >>confdefs.h
73981
73982 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
73983
73984 fi
73985 fi
73986
73987 # Check for _Unwind_GetIPInfo.
73988
73989
73990 # Check whether --with-system-libunwind was given.
73991 if test "${with_system_libunwind+set}" = set; then :
73992 withval=$with_system_libunwind;
73993 fi
73994
73995 # If system-libunwind was not specifically set, pick a default setting.
73996 if test x$with_system_libunwind = x; then
73997 case ${target} in
73998 ia64-*-hpux*) with_system_libunwind=yes ;;
73999 *) with_system_libunwind=no ;;
74000 esac
74001 fi
74002 # Based on system-libunwind and target, do we have ipinfo?
74003 if test x$with_system_libunwind = xyes; then
74004 case ${target} in
74005 ia64-*-*) have_unwind_getipinfo=no ;;
74006 *) have_unwind_getipinfo=yes ;;
74007 esac
74008 else
74009 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74010
74011 case ${target} in
74012 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74013 *) have_unwind_getipinfo=yes ;;
74014 esac
74015
74016 fi
74017
74018 if test x$have_unwind_getipinfo = xyes; then
74019
74020 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74021
74022 fi
74023
74024
74025 # Check whether --enable-linux-futex was given.
74026 if test "${enable_linux_futex+set}" = set; then :
74027 enableval=$enable_linux_futex;
74028 case "$enableval" in
74029 yes|no|default) ;;
74030 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74031 esac
74032
74033 else
74034 enable_linux_futex=default
74035 fi
74036
74037
74038 case "$target" in
74039 *-linux* | *-uclinux*)
74040 case "$enable_linux_futex" in
74041 default)
74042 # If headers don't have gettid/futex syscalls definition, then
74043 # default to no, otherwise there will be compile time failures.
74044 # Otherwise, default to yes. If we don't detect we are
74045 # compiled/linked against NPTL and not cross-compiling, check
74046 # if programs are run by default against NPTL and if not, issue
74047 # a warning.
74048 enable_linux_futex=no
74049 if test x$gcc_no_link = xyes; then
74050 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74051 fi
74052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74053 /* end confdefs.h. */
74054 #include <sys/syscall.h>
74055 #include <unistd.h>
74056 int lk;
74057 int
74058 main ()
74059 {
74060 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74061 ;
74062 return 0;
74063 }
74064 _ACEOF
74065 if ac_fn_c_try_link "$LINENO"; then :
74066 save_LIBS="$LIBS"
74067 LIBS="-lpthread $LIBS"
74068 if test x$gcc_no_link = xyes; then
74069 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74070 fi
74071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74072 /* end confdefs.h. */
74073 #ifndef _GNU_SOURCE
74074 #define _GNU_SOURCE 1
74075 #endif
74076 #include <pthread.h>
74077 pthread_t th; void *status;
74078 int
74079 main ()
74080 {
74081 pthread_tryjoin_np (th, &status);
74082 ;
74083 return 0;
74084 }
74085 _ACEOF
74086 if ac_fn_c_try_link "$LINENO"; then :
74087 enable_linux_futex=yes
74088 else
74089 if test x$cross_compiling = xno; then
74090 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74091 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74093 If so, please configure with --disable-linux-futex" >&5
74094 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74095 If so, please configure with --disable-linux-futex" >&2;}
74096 fi
74097 fi
74098 enable_linux_futex=yes
74099 fi
74100 rm -f core conftest.err conftest.$ac_objext \
74101 conftest$ac_exeext conftest.$ac_ext
74102 LIBS="$save_LIBS"
74103 fi
74104 rm -f core conftest.err conftest.$ac_objext \
74105 conftest$ac_exeext conftest.$ac_ext
74106 ;;
74107 yes)
74108 if test x$gcc_no_link = xyes; then
74109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74110 fi
74111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74112 /* end confdefs.h. */
74113 #include <sys/syscall.h>
74114 #include <unistd.h>
74115 int lk;
74116 int
74117 main ()
74118 {
74119 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74120 ;
74121 return 0;
74122 }
74123 _ACEOF
74124 if ac_fn_c_try_link "$LINENO"; then :
74125
74126 else
74127 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74128 fi
74129 rm -f core conftest.err conftest.$ac_objext \
74130 conftest$ac_exeext conftest.$ac_ext
74131 ;;
74132 esac
74133 ;;
74134 *)
74135 enable_linux_futex=no
74136 ;;
74137 esac
74138 if test x$enable_linux_futex = xyes; then
74139
74140 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74141
74142 fi
74143
74144
74145
74146
74147 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74148
74149 acx_cv_header_stdint=stddef.h
74150 acx_cv_header_stdint_kind="(already complete)"
74151 for i in stdint.h $inttype_headers; do
74152 unset ac_cv_type_uintptr_t
74153 unset ac_cv_type_uintmax_t
74154 unset ac_cv_type_int_least32_t
74155 unset ac_cv_type_int_fast32_t
74156 unset ac_cv_type_uint64_t
74157 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74158 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74159 #include <$i>
74160 "
74161 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74162 acx_cv_header_stdint=$i
74163 else
74164 continue
74165 fi
74166
74167 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74168 #include <$i>
74169 "
74170 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74171
74172 else
74173 acx_cv_header_stdint_kind="(mostly complete)"
74174 fi
74175
74176 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74177 #include <$i>
74178 "
74179 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74180
74181 else
74182 acx_cv_header_stdint_kind="(mostly complete)"
74183 fi
74184
74185 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74186 #include <$i>
74187 "
74188 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74189
74190 else
74191 acx_cv_header_stdint_kind="(mostly complete)"
74192 fi
74193
74194 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74195 #include <$i>
74196 "
74197 if test "x$ac_cv_type_uint64_t" = xyes; then :
74198
74199 else
74200 acx_cv_header_stdint_kind="(lacks uint64_t)"
74201 fi
74202
74203 break
74204 done
74205 if test "$acx_cv_header_stdint" = stddef.h; then
74206 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74207 for i in stdint.h $inttype_headers; do
74208 unset ac_cv_type_uintptr_t
74209 unset ac_cv_type_uint32_t
74210 unset ac_cv_type_uint64_t
74211 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74212 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74213 #include <$i>
74214 "
74215 if test "x$ac_cv_type_uint32_t" = xyes; then :
74216 acx_cv_header_stdint=$i
74217 else
74218 continue
74219 fi
74220
74221 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74222 #include <$i>
74223 "
74224 if test "x$ac_cv_type_uint64_t" = xyes; then :
74225
74226 fi
74227
74228 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74229 #include <$i>
74230 "
74231 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74232
74233 fi
74234
74235 break
74236 done
74237 fi
74238 if test "$acx_cv_header_stdint" = stddef.h; then
74239 acx_cv_header_stdint_kind="(u_intXX_t style)"
74240 for i in sys/types.h $inttype_headers; do
74241 unset ac_cv_type_u_int32_t
74242 unset ac_cv_type_u_int64_t
74243 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74244 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74245 #include <$i>
74246 "
74247 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74248 acx_cv_header_stdint=$i
74249 else
74250 continue
74251 fi
74252
74253 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74254 #include <$i>
74255 "
74256 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74257
74258 fi
74259
74260 break
74261 done
74262 fi
74263 if test "$acx_cv_header_stdint" = stddef.h; then
74264 acx_cv_header_stdint_kind="(using manual detection)"
74265 fi
74266
74267 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74268 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74269 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74270 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74271 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74272
74273 # ----------------- Summarize what we found so far
74274
74275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74276 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74277
74278 case `$as_basename -- include/gstdint.h ||
74279 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74280 Xinclude/gstdint.h : 'X\(//\)$' \| \
74281 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74282 $as_echo X/include/gstdint.h |
74283 sed '/^.*\/\([^/][^/]*\)\/*$/{
74284 s//\1/
74285 q
74286 }
74287 /^X\/\(\/\/\)$/{
74288 s//\1/
74289 q
74290 }
74291 /^X\/\(\/\).*/{
74292 s//\1/
74293 q
74294 }
74295 s/.*/./; q'` in
74296 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74297 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74298 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74299 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74300 *) ;;
74301 esac
74302
74303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74304 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74305
74306 # ----------------- done included file, check C basic types --------
74307
74308 # Lacking an uintptr_t? Test size of void *
74309 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74310 stddef.h:* | *:no) # 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 void *" >&5
74315 $as_echo_n "checking size of void *... " >&6; }
74316 if ${ac_cv_sizeof_void_p+:} false; then :
74317 $as_echo_n "(cached) " >&6
74318 else
74319 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74320
74321 else
74322 if test "$ac_cv_type_void_p" = 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 (void *)
74326 See \`config.log' for more details" "$LINENO" 5; }
74327 else
74328 ac_cv_sizeof_void_p=0
74329 fi
74330 fi
74331
74332 fi
74333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74334 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74335
74336
74337
74338 cat >>confdefs.h <<_ACEOF
74339 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74340 _ACEOF
74341
74342 ;;
74343 esac
74344
74345 # Lacking an uint64_t? Test size of long
74346 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74347 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74350 # This bug is HP SR number 8606223364.
74351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74352 $as_echo_n "checking size of long... " >&6; }
74353 if ${ac_cv_sizeof_long+:} false; then :
74354 $as_echo_n "(cached) " >&6
74355 else
74356 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74357
74358 else
74359 if test "$ac_cv_type_long" = yes; then
74360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74362 as_fn_error 77 "cannot compute sizeof (long)
74363 See \`config.log' for more details" "$LINENO" 5; }
74364 else
74365 ac_cv_sizeof_long=0
74366 fi
74367 fi
74368
74369 fi
74370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74371 $as_echo "$ac_cv_sizeof_long" >&6; }
74372
74373
74374
74375 cat >>confdefs.h <<_ACEOF
74376 #define SIZEOF_LONG $ac_cv_sizeof_long
74377 _ACEOF
74378
74379 ;;
74380 esac
74381
74382 if test $acx_cv_header_stdint = stddef.h; then
74383 # Lacking a good header? Test size of everything and deduce all types.
74384 # The cast to long int works around a bug in the HP C Compiler
74385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74387 # This bug is HP SR number 8606223364.
74388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74389 $as_echo_n "checking size of int... " >&6; }
74390 if ${ac_cv_sizeof_int+:} false; then :
74391 $as_echo_n "(cached) " >&6
74392 else
74393 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74394
74395 else
74396 if test "$ac_cv_type_int" = yes; then
74397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74399 as_fn_error 77 "cannot compute sizeof (int)
74400 See \`config.log' for more details" "$LINENO" 5; }
74401 else
74402 ac_cv_sizeof_int=0
74403 fi
74404 fi
74405
74406 fi
74407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74408 $as_echo "$ac_cv_sizeof_int" >&6; }
74409
74410
74411
74412 cat >>confdefs.h <<_ACEOF
74413 #define SIZEOF_INT $ac_cv_sizeof_int
74414 _ACEOF
74415
74416
74417 # The cast to long int works around a bug in the HP C Compiler
74418 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74419 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74420 # This bug is HP SR number 8606223364.
74421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74422 $as_echo_n "checking size of short... " >&6; }
74423 if ${ac_cv_sizeof_short+:} false; then :
74424 $as_echo_n "(cached) " >&6
74425 else
74426 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74427
74428 else
74429 if test "$ac_cv_type_short" = yes; then
74430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74432 as_fn_error 77 "cannot compute sizeof (short)
74433 See \`config.log' for more details" "$LINENO" 5; }
74434 else
74435 ac_cv_sizeof_short=0
74436 fi
74437 fi
74438
74439 fi
74440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74441 $as_echo "$ac_cv_sizeof_short" >&6; }
74442
74443
74444
74445 cat >>confdefs.h <<_ACEOF
74446 #define SIZEOF_SHORT $ac_cv_sizeof_short
74447 _ACEOF
74448
74449
74450 # The cast to long int works around a bug in the HP C Compiler
74451 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74452 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74453 # This bug is HP SR number 8606223364.
74454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74455 $as_echo_n "checking size of char... " >&6; }
74456 if ${ac_cv_sizeof_char+:} false; then :
74457 $as_echo_n "(cached) " >&6
74458 else
74459 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74460
74461 else
74462 if test "$ac_cv_type_char" = yes; then
74463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74465 as_fn_error 77 "cannot compute sizeof (char)
74466 See \`config.log' for more details" "$LINENO" 5; }
74467 else
74468 ac_cv_sizeof_char=0
74469 fi
74470 fi
74471
74472 fi
74473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74474 $as_echo "$ac_cv_sizeof_char" >&6; }
74475
74476
74477
74478 cat >>confdefs.h <<_ACEOF
74479 #define SIZEOF_CHAR $ac_cv_sizeof_char
74480 _ACEOF
74481
74482
74483
74484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74485 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74486 case "$ac_cv_sizeof_char" in
74487 1) acx_cv_type_int8_t=char ;;
74488 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74489 esac
74490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74491 $as_echo "$acx_cv_type_int8_t" >&6; }
74492
74493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74494 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74495 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74496 2:*) acx_cv_type_int16_t=int ;;
74497 *:2) acx_cv_type_int16_t=short ;;
74498 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74499 esac
74500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74501 $as_echo "$acx_cv_type_int16_t" >&6; }
74502
74503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74504 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74505 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74506 4:*) acx_cv_type_int32_t=int ;;
74507 *:4) acx_cv_type_int32_t=long ;;
74508 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74509 esac
74510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74511 $as_echo "$acx_cv_type_int32_t" >&6; }
74512 fi
74513
74514 # These tests are here to make the output prettier
74515
74516 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74517 case "$ac_cv_sizeof_long" in
74518 8) acx_cv_type_int64_t=long ;;
74519 esac
74520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74521 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74523 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74524 fi
74525
74526 # Now we can use the above types
74527
74528 if test "$ac_cv_type_uintptr_t" != yes; then
74529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74530 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74531 case $ac_cv_sizeof_void_p in
74532 2) acx_cv_type_intptr_t=int16_t ;;
74533 4) acx_cv_type_intptr_t=int32_t ;;
74534 8) acx_cv_type_intptr_t=int64_t ;;
74535 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74536 esac
74537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74538 $as_echo "$acx_cv_type_intptr_t" >&6; }
74539 fi
74540
74541 # ----------------- done all checks, emit header -------------
74542 ac_config_commands="$ac_config_commands include/gstdint.h"
74543
74544
74545
74546
74547
74548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74549 $as_echo_n "checking for GNU c++filt... " >&6; }
74550 if ${ac_cv_path_CXXFILT+:} false; then :
74551 $as_echo_n "(cached) " >&6
74552 else
74553 if test -z "$CXXFILT"; then
74554 ac_path_CXXFILT_found=false
74555 # Loop through the user's path and test for each of PROGNAME-LIST
74556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74557 for as_dir in $PATH
74558 do
74559 IFS=$as_save_IFS
74560 test -z "$as_dir" && as_dir=.
74561 for ac_prog in c++filt gc++filt; do
74562 for ac_exec_ext in '' $ac_executable_extensions; do
74563 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74564 as_fn_executable_p "$ac_path_CXXFILT" || continue
74565 # Check for GNU $ac_path_CXXFILT
74566 case `"$ac_path_CXXFILT" --version 2>&1` in
74567 *GNU*)
74568 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74569 esac
74570
74571 $ac_path_CXXFILT_found && break 3
74572 done
74573 done
74574 done
74575 IFS=$as_save_IFS
74576 if test -z "$ac_cv_path_CXXFILT"; then
74577 :
74578 fi
74579 else
74580 ac_cv_path_CXXFILT=$CXXFILT
74581 fi
74582
74583 fi
74584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74585 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74586 CXXFILT=$ac_cv_path_CXXFILT
74587
74588
74589
74590 # Check whether --enable-symvers was given.
74591 if test "${enable_symvers+set}" = set; then :
74592 enableval=$enable_symvers;
74593 case "$enableval" in
74594 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74595 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74596 esac
74597
74598 else
74599 enable_symvers=yes
74600 fi
74601
74602
74603
74604 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74605 # don't know enough about $LD to do tricks...
74606
74607 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74608 # with extern "C++" in version scripts.
74609
74610
74611 # Turn a 'yes' into a suitable default.
74612 if test x$enable_symvers = xyes ; then
74613 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74614 enable_symvers=no
74615 else
74616 if test $with_gnu_ld = yes ; then
74617 case ${target_os} in
74618 hpux*)
74619 enable_symvers=no ;;
74620 *)
74621 enable_symvers=gnu ;;
74622 esac
74623 else
74624 case ${target_os} in
74625 darwin*)
74626 enable_symvers=darwin ;;
74627 # Sun symbol versioning exists since Solaris 2.5.
74628 solaris2.[5-9]* | solaris2.1[0-9]*)
74629 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74630 # version scripts, so disable symbol versioning if none can be
74631 # found.
74632 if test -z "$ac_cv_path_CXXFILT"; then
74633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74634 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74636 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74638 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74639 enable_symvers=no
74640 else
74641 enable_symvers=sun
74642 fi
74643 ;;
74644 *)
74645 enable_symvers=no ;;
74646 esac
74647 fi
74648 fi
74649 fi
74650
74651 # Check to see if 'darwin' or 'darwin-export' can win.
74652 if test x$enable_symvers = xdarwin-export ; then
74653 enable_symvers=darwin
74654 fi
74655
74656 # Check if 'sun' was requested on non-Solaris 2 platforms.
74657 if test x$enable_symvers = xsun ; then
74658 case ${target_os} in
74659 solaris2*)
74660 # All fine.
74661 ;;
74662 *)
74663 # Unlikely to work.
74664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74665 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74667 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74669 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74670 enable_symvers=no
74671 ;;
74672 esac
74673 fi
74674
74675 # Check to see if 'gnu' can win.
74676 if test $enable_symvers = gnu ||
74677 test $enable_symvers = gnu-versioned-namespace ||
74678 test $enable_symvers = sun; then
74679 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74681 $as_echo_n "checking for shared libgcc... " >&6; }
74682 ac_save_CFLAGS="$CFLAGS"
74683 CFLAGS=' -lgcc_s'
74684 if test x$gcc_no_link = xyes; then
74685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74686 fi
74687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74688 /* end confdefs.h. */
74689
74690 int
74691 main ()
74692 {
74693 return 0;
74694 ;
74695 return 0;
74696 }
74697 _ACEOF
74698 if ac_fn_c_try_link "$LINENO"; then :
74699 glibcxx_shared_libgcc=yes
74700 else
74701 glibcxx_shared_libgcc=no
74702 fi
74703 rm -f core conftest.err conftest.$ac_objext \
74704 conftest$ac_exeext conftest.$ac_ext
74705 CFLAGS="$ac_save_CFLAGS"
74706 if test $glibcxx_shared_libgcc = no; then
74707 cat > conftest.c <<EOF
74708 int main (void) { return 0; }
74709 EOF
74710 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74711 -shared -shared-libgcc -o conftest.so \
74712 conftest.c -v 2>&1 >/dev/null \
74713 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74714 rm -f conftest.c conftest.so
74715 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74716 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74717 if test x$gcc_no_link = xyes; then
74718 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74719 fi
74720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74721 /* end confdefs.h. */
74722
74723 int
74724 main ()
74725 {
74726 return 0;
74727 ;
74728 return 0;
74729 }
74730 _ACEOF
74731 if ac_fn_c_try_link "$LINENO"; then :
74732 glibcxx_shared_libgcc=yes
74733 fi
74734 rm -f core conftest.err conftest.$ac_objext \
74735 conftest$ac_exeext conftest.$ac_ext
74736 CFLAGS="$ac_save_CFLAGS"
74737 fi
74738 fi
74739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74740 $as_echo "$glibcxx_shared_libgcc" >&6; }
74741
74742 # For GNU ld, we need at least this version. The format is described in
74743 # GLIBCXX_CHECK_LINKER_FEATURES above.
74744 glibcxx_min_gnu_ld_version=21400
74745
74746 # If no shared libgcc, can't win.
74747 if test $glibcxx_shared_libgcc != yes; then
74748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74749 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74751 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74753 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74754 enable_symvers=no
74755 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74756 : All interesting versions of Sun ld support sun style symbol versioning.
74757 elif test $with_gnu_ld != yes ; then
74758 # just fail for now
74759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74760 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74762 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74764 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74765 enable_symvers=no
74766 elif test $glibcxx_ld_is_gold = yes ; then
74767 : All versions of gold support symbol versioning.
74768 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74769 # The right tools, the right setup, but too old. Fallbacks?
74770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74771 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74773 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74775 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74777 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74779 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74780 enable_symvers=no
74781 fi
74782 fi
74783
74784 # For libtool versioning info, format is CURRENT:REVISION:AGE
74785 libtool_VERSION=6:29:0
74786
74787 # Everything parsed; figure out what files and settings to use.
74788 case $enable_symvers in
74789 no)
74790 SYMVER_FILE=config/abi/pre/none.ver
74791 ;;
74792 gnu)
74793 SYMVER_FILE=config/abi/pre/gnu.ver
74794
74795 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74796
74797 ;;
74798 gnu-versioned-namespace)
74799 libtool_VERSION=8:0:0
74800 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74801
74802 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74803
74804 ;;
74805 darwin)
74806 SYMVER_FILE=config/abi/pre/gnu.ver
74807
74808 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74809
74810 ;;
74811 sun)
74812 SYMVER_FILE=config/abi/pre/gnu.ver
74813
74814 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74815
74816 ;;
74817 esac
74818
74819 if test x$enable_symvers != xno ; then
74820
74821 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74822
74823 fi
74824
74825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74826 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
74827 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74828 $as_echo_n "(cached) " >&6
74829 else
74830
74831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74832 /* end confdefs.h. */
74833 void foo (void); __asm (".symver foo, bar@SYMVER");
74834 int
74835 main ()
74836 {
74837
74838 ;
74839 return 0;
74840 }
74841 _ACEOF
74842 if ac_fn_c_try_compile "$LINENO"; then :
74843 glibcxx_cv_have_as_symver_directive=yes
74844 else
74845 glibcxx_cv_have_as_symver_directive=no
74846 fi
74847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74848 fi
74849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74850 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74851 if test $glibcxx_cv_have_as_symver_directive = yes; then
74852
74853 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74854
74855 fi
74856
74857
74858
74859
74860
74861
74862
74863
74864 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74865 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74866
74867 if test $enable_symvers != no ; then
74868 case ${target_os} in
74869 # The Solaris 2 runtime linker doesn't support the GNU extension of
74870 # binding the same symbol to different versions
74871 solaris2*)
74872 ;;
74873 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74874 *)
74875
74876 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74877
74878 ;;
74879 esac
74880 fi
74881
74882 # Now, set up compatibility support, if any.
74883 # In addition, need this to deal with std::size_t mangling in
74884 # src/compatibility.cc. In a perfect world, could use
74885 # typeid(std::size_t).name()[0] to do direct substitution.
74886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74887 $as_echo_n "checking for size_t as unsigned int... " >&6; }
74888 ac_save_CFLAGS="$CFLAGS"
74889 CFLAGS="-Werror"
74890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74891 /* end confdefs.h. */
74892
74893 int
74894 main ()
74895 {
74896 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
74897 ;
74898 return 0;
74899 }
74900 _ACEOF
74901 if ac_fn_c_try_compile "$LINENO"; then :
74902 glibcxx_size_t_is_i=yes
74903 else
74904 glibcxx_size_t_is_i=no
74905 fi
74906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74907 CFLAGS=$ac_save_CFLAGS
74908 if test "$glibcxx_size_t_is_i" = yes; then
74909
74910 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
74911
74912 fi
74913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
74914 $as_echo "$glibcxx_size_t_is_i" >&6; }
74915
74916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
74917 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
74918 ac_save_CFLAGS="$CFLAGS"
74919 CFLAGS="-Werror"
74920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74921 /* end confdefs.h. */
74922
74923 int
74924 main ()
74925 {
74926 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
74927 ;
74928 return 0;
74929 }
74930 _ACEOF
74931 if ac_fn_c_try_compile "$LINENO"; then :
74932 glibcxx_ptrdiff_t_is_i=yes
74933 else
74934 glibcxx_ptrdiff_t_is_i=no
74935 fi
74936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74937 CFLAGS=$ac_save_CFLAGS
74938 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
74939
74940 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
74941
74942 fi
74943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
74944 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
74945
74946
74947
74948
74949 # Check whether --enable-libstdcxx-visibility was given.
74950 if test "${enable_libstdcxx_visibility+set}" = set; then :
74951 enableval=$enable_libstdcxx_visibility;
74952 case "$enableval" in
74953 yes|no) ;;
74954 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
74955 esac
74956
74957 else
74958 enable_libstdcxx_visibility=yes
74959 fi
74960
74961
74962
74963 if test x$enable_libstdcxx_visibility = xyes ; then
74964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
74965 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
74966 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
74967 $as_echo_n "(cached) " >&6
74968 else
74969
74970 save_CFLAGS="$CFLAGS"
74971 CFLAGS="$CFLAGS -Werror"
74972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74973 /* end confdefs.h. */
74974 void __attribute__((visibility("hidden"))) foo(void) { }
74975 int
74976 main ()
74977 {
74978
74979 ;
74980 return 0;
74981 }
74982 _ACEOF
74983 if ac_fn_c_try_compile "$LINENO"; then :
74984 glibcxx_cv_have_attribute_visibility=yes
74985 else
74986 glibcxx_cv_have_attribute_visibility=no
74987 fi
74988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74989 CFLAGS="$save_CFLAGS"
74990 fi
74991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
74992 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
74993 if test $glibcxx_cv_have_attribute_visibility = no; then
74994 enable_libstdcxx_visibility=no
74995 fi
74996 fi
74997
74998
74999 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75000 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75001
75002
75003
75004 # Check whether --enable-libstdcxx-dual-abi was given.
75005 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75006 enableval=$enable_libstdcxx_dual_abi;
75007 case "$enableval" in
75008 yes|no) ;;
75009 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75010 esac
75011
75012 else
75013 enable_libstdcxx_dual_abi=yes
75014 fi
75015
75016
75017 if test x$enable_symvers = xgnu-versioned-namespace; then
75018 # gnu-versioned-namespace is incompatible with the dual ABI.
75019 enable_libstdcxx_dual_abi="no"
75020 fi
75021 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75022 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75023 $as_echo "$as_me: dual ABI is disabled" >&6;}
75024 default_libstdcxx_abi="gcc4-compatible"
75025 fi
75026
75027
75028
75029 if test x$enable_libstdcxx_dual_abi = xyes; then
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75031 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75032
75033 # Check whether --with-default-libstdcxx-abi was given.
75034 if test "${with_default_libstdcxx_abi+set}" = set; then :
75035 withval=$with_default_libstdcxx_abi; case "$withval" in
75036 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75037 new|cxx11) default_libstdcxx_abi="new" ;;
75038 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75039 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75040 esac
75041
75042 else
75043 default_libstdcxx_abi="new"
75044 fi
75045
75046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75047 $as_echo "${default_libstdcxx_abi}" >&6; }
75048 fi
75049 if test $default_libstdcxx_abi = "new"; then
75050 glibcxx_cxx11_abi=1
75051 glibcxx_cxx98_abi=0
75052 else
75053 glibcxx_cxx11_abi=0
75054 glibcxx_cxx98_abi=1
75055 fi
75056
75057
75058
75059
75060 ac_ldbl_compat=no
75061 ac_ldbl_alt128_compat=no
75062 ac_ldbl_ieee128_default=no
75063 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75064 LONG_DOUBLE_128_FLAGS=
75065 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75066 case "$target" in
75067 powerpc*-*-linux* | \
75068 sparc*-*-linux* | \
75069 s390*-*-linux* | \
75070 alpha*-*-linux*)
75071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75072 /* end confdefs.h. */
75073
75074 int
75075 main ()
75076 {
75077
75078 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75079 #error no need for long double compatibility
75080 #endif
75081
75082 ;
75083 return 0;
75084 }
75085 _ACEOF
75086 if ac_fn_c_try_compile "$LINENO"; then :
75087 ac_ldbl_compat=yes
75088 else
75089 ac_ldbl_compat=no
75090 fi
75091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75092 if test "$ac_ldbl_compat" = yes; then
75093
75094 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75095
75096 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75097 case "$target" in
75098 powerpc*-*-linux*)
75099 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75100 # Check for IEEE128 support in libm:
75101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75102 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75103 if ${ac_cv_lib_m___frexpieee128+:} false; then :
75104 $as_echo_n "(cached) " >&6
75105 else
75106 ac_check_lib_save_LIBS=$LIBS
75107 LIBS="-lm $LIBS"
75108 if test x$gcc_no_link = xyes; then
75109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75110 fi
75111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75112 /* end confdefs.h. */
75113
75114 /* Override any GCC internal prototype to avoid an error.
75115 Use char because int might match the return type of a GCC
75116 builtin and then its argument prototype would still apply. */
75117 #ifdef __cplusplus
75118 extern "C"
75119 #endif
75120 char __frexpieee128 ();
75121 int
75122 main ()
75123 {
75124 return __frexpieee128 ();
75125 ;
75126 return 0;
75127 }
75128 _ACEOF
75129 if ac_fn_c_try_link "$LINENO"; then :
75130 ac_cv_lib_m___frexpieee128=yes
75131 else
75132 ac_cv_lib_m___frexpieee128=no
75133 fi
75134 rm -f core conftest.err conftest.$ac_objext \
75135 conftest$ac_exeext conftest.$ac_ext
75136 LIBS=$ac_check_lib_save_LIBS
75137 fi
75138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75139 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75140 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75141 ac_ldbl_ieee128_in_libc=yes
75142 else
75143 ac_ldbl_ieee128_in_libc=no
75144 fi
75145
75146 if test $ac_ldbl_ieee128_in_libc = yes; then
75147 # Determine which long double format is the compiler's default:
75148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75149 /* end confdefs.h. */
75150
75151 int
75152 main ()
75153 {
75154
75155 #ifndef __LONG_DOUBLE_IEEE128__
75156 #error compiler defaults to ibm128
75157 #endif
75158
75159 ;
75160 return 0;
75161 }
75162 _ACEOF
75163 if ac_fn_c_try_compile "$LINENO"; then :
75164 ac_ldbl_ieee128_default=yes
75165 else
75166 ac_ldbl_ieee128_default=no
75167 fi
75168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75169 # Library objects should use default long double format.
75170 if test "$ac_ldbl_ieee128_default" = yes; then
75171 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75172 # Except for the ones that explicitly use these flags:
75173 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75174 else
75175 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75176 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75177 fi
75178
75179 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75180
75181 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75182 ac_ldbl_alt128_compat=yes
75183 else
75184 ac_ldbl_alt128_compat=no
75185 fi
75186 ;;
75187 esac
75188 fi
75189 esac
75190
75191
75192
75193
75194
75195
75196 # Check if assembler supports disabling hardware capability support.
75197
75198 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75199
75200 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75201 # with a different meaning.
75202 case ${target_os} in
75203 solaris2*)
75204 ac_save_CFLAGS="$CFLAGS"
75205 CFLAGS="$CFLAGS -Wa,-nH"
75206
75207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75208 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75210 /* end confdefs.h. */
75211
75212 int
75213 main ()
75214 {
75215 return 0;
75216 ;
75217 return 0;
75218 }
75219 _ACEOF
75220 if ac_fn_c_try_compile "$LINENO"; then :
75221 ac_hwcap_flags=yes
75222 else
75223 ac_hwcap_flags=no
75224 fi
75225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75226 if test "$ac_hwcap_flags" = "yes"; then
75227 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75228 fi
75229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75230 $as_echo "$ac_hwcap_flags" >&6; }
75231
75232 CFLAGS="$ac_save_CFLAGS"
75233 ;;
75234 esac
75235
75236
75237
75238
75239 # Check if assembler supports rdrand opcode.
75240
75241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75242 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75243 if ${ac_cv_x86_rdrand+:} false; then :
75244 $as_echo_n "(cached) " >&6
75245 else
75246
75247 ac_cv_x86_rdrand=no
75248 case "$target" in
75249 i?86-*-* | \
75250 x86_64-*-*)
75251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75252 /* end confdefs.h. */
75253
75254 int
75255 main ()
75256 {
75257 asm("rdrand %eax");
75258 ;
75259 return 0;
75260 }
75261 _ACEOF
75262 if ac_fn_c_try_compile "$LINENO"; then :
75263 ac_cv_x86_rdrand=yes
75264 else
75265 ac_cv_x86_rdrand=no
75266 fi
75267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75268 esac
75269
75270 fi
75271
75272 if test $ac_cv_x86_rdrand = yes; then
75273
75274 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75275
75276 fi
75277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75278 $as_echo "$ac_cv_x86_rdrand" >&6; }
75279
75280 # Check if assembler supports rdseed opcode.
75281
75282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75283 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75284 if ${ac_cv_x86_rdseed+:} false; then :
75285 $as_echo_n "(cached) " >&6
75286 else
75287
75288 ac_cv_x86_rdseed=no
75289 case "$target" in
75290 i?86-*-* | \
75291 x86_64-*-*)
75292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75293 /* end confdefs.h. */
75294
75295 int
75296 main ()
75297 {
75298 asm("rdseed %eax");
75299 ;
75300 return 0;
75301 }
75302 _ACEOF
75303 if ac_fn_c_try_compile "$LINENO"; then :
75304 ac_cv_x86_rdseed=yes
75305 else
75306 ac_cv_x86_rdseed=no
75307 fi
75308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75309 esac
75310
75311 fi
75312
75313 if test $ac_cv_x86_rdseed = yes; then
75314
75315 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75316
75317 fi
75318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75319 $as_echo "$ac_cv_x86_rdseed" >&6; }
75320
75321
75322 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75323
75324 # Do checks for resource limit functions.
75325
75326
75327 ac_ext=cpp
75328 ac_cpp='$CXXCPP $CPPFLAGS'
75329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75332
75333 setrlimit_have_headers=yes
75334 for ac_header in unistd.h sys/time.h sys/resource.h
75335 do :
75336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75337 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75339 cat >>confdefs.h <<_ACEOF
75340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75341 _ACEOF
75342
75343 else
75344 setrlimit_have_headers=no
75345 fi
75346
75347 done
75348
75349 # If don't have the headers, then we can't run the tests now, and we
75350 # won't be seeing any of these during testsuite compilation.
75351 if test $setrlimit_have_headers = yes; then
75352 # Can't do these in a loop, else the resulting syntax is wrong.
75353
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75355 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75357 /* end confdefs.h. */
75358 #include <unistd.h>
75359 #include <sys/time.h>
75360 #include <sys/resource.h>
75361
75362 int
75363 main ()
75364 {
75365 int f = RLIMIT_DATA ;
75366 ;
75367 return 0;
75368 }
75369 _ACEOF
75370 if ac_fn_cxx_try_compile "$LINENO"; then :
75371 glibcxx_mresult=1
75372 else
75373 glibcxx_mresult=0
75374 fi
75375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75376
75377 cat >>confdefs.h <<_ACEOF
75378 #define HAVE_LIMIT_DATA $glibcxx_mresult
75379 _ACEOF
75380
75381 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75383 $as_echo "$res" >&6; }
75384
75385
75386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75387 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75389 /* end confdefs.h. */
75390 #include <unistd.h>
75391 #include <sys/time.h>
75392 #include <sys/resource.h>
75393
75394 int
75395 main ()
75396 {
75397 int f = RLIMIT_RSS ;
75398 ;
75399 return 0;
75400 }
75401 _ACEOF
75402 if ac_fn_cxx_try_compile "$LINENO"; then :
75403 glibcxx_mresult=1
75404 else
75405 glibcxx_mresult=0
75406 fi
75407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75408
75409 cat >>confdefs.h <<_ACEOF
75410 #define HAVE_LIMIT_RSS $glibcxx_mresult
75411 _ACEOF
75412
75413 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75415 $as_echo "$res" >&6; }
75416
75417
75418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75419 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75421 /* end confdefs.h. */
75422 #include <unistd.h>
75423 #include <sys/time.h>
75424 #include <sys/resource.h>
75425
75426 int
75427 main ()
75428 {
75429 int f = RLIMIT_VMEM ;
75430 ;
75431 return 0;
75432 }
75433 _ACEOF
75434 if ac_fn_cxx_try_compile "$LINENO"; then :
75435 glibcxx_mresult=1
75436 else
75437 glibcxx_mresult=0
75438 fi
75439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75440
75441 cat >>confdefs.h <<_ACEOF
75442 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75443 _ACEOF
75444
75445 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75447 $as_echo "$res" >&6; }
75448
75449
75450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75451 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75453 /* end confdefs.h. */
75454 #include <unistd.h>
75455 #include <sys/time.h>
75456 #include <sys/resource.h>
75457
75458 int
75459 main ()
75460 {
75461 int f = RLIMIT_AS ;
75462 ;
75463 return 0;
75464 }
75465 _ACEOF
75466 if ac_fn_cxx_try_compile "$LINENO"; then :
75467 glibcxx_mresult=1
75468 else
75469 glibcxx_mresult=0
75470 fi
75471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75472
75473 cat >>confdefs.h <<_ACEOF
75474 #define HAVE_LIMIT_AS $glibcxx_mresult
75475 _ACEOF
75476
75477 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75479 $as_echo "$res" >&6; }
75480
75481
75482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75483 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75485 /* end confdefs.h. */
75486 #include <unistd.h>
75487 #include <sys/time.h>
75488 #include <sys/resource.h>
75489
75490 int
75491 main ()
75492 {
75493 int f = RLIMIT_FSIZE ;
75494 ;
75495 return 0;
75496 }
75497 _ACEOF
75498 if ac_fn_cxx_try_compile "$LINENO"; then :
75499 glibcxx_mresult=1
75500 else
75501 glibcxx_mresult=0
75502 fi
75503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75504
75505 cat >>confdefs.h <<_ACEOF
75506 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75507 _ACEOF
75508
75509 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75511 $as_echo "$res" >&6; }
75512
75513
75514 # Check for rlimit, setrlimit.
75515 if ${glibcxx_cv_setrlimit+:} false; then :
75516 $as_echo_n "(cached) " >&6
75517 else
75518
75519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75520 /* end confdefs.h. */
75521 #include <unistd.h>
75522 #include <sys/time.h>
75523 #include <sys/resource.h>
75524
75525 int
75526 main ()
75527 {
75528 struct rlimit r;
75529 setrlimit(0, &r);
75530 ;
75531 return 0;
75532 }
75533 _ACEOF
75534 if ac_fn_cxx_try_compile "$LINENO"; then :
75535 glibcxx_cv_setrlimit=yes
75536 else
75537 glibcxx_cv_setrlimit=no
75538 fi
75539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75540
75541 fi
75542
75543 fi
75544
75545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75546 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75547 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75548 ac_res_limits=yes
75549
75550 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75551
75552 else
75553 ac_res_limits=no
75554 fi
75555 ac_ext=c
75556 ac_cpp='$CPP $CPPFLAGS'
75557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75560
75561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75562 $as_echo "$ac_res_limits" >&6; }
75563
75564
75565 if $GLIBCXX_IS_NATIVE ; then
75566 # Look for setenv, so that extended locale tests can be performed.
75567
75568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75569 $as_echo_n "checking for setenv declaration... " >&6; }
75570 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75571 if ${glibcxx_cv_func_setenv_use+:} false; then :
75572 $as_echo_n "(cached) " >&6
75573 else
75574
75575
75576 ac_ext=cpp
75577 ac_cpp='$CXXCPP $CPPFLAGS'
75578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75581
75582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75583 /* end confdefs.h. */
75584 #include <stdlib.h>
75585 int
75586 main ()
75587 {
75588 setenv(0, 0, 0);
75589 ;
75590 return 0;
75591 }
75592 _ACEOF
75593 if ac_fn_cxx_try_compile "$LINENO"; then :
75594 glibcxx_cv_func_setenv_use=yes
75595 else
75596 glibcxx_cv_func_setenv_use=no
75597 fi
75598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75599 ac_ext=c
75600 ac_cpp='$CPP $CPPFLAGS'
75601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75604
75605
75606 fi
75607
75608 fi
75609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75610 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75611 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75612 for ac_func in setenv
75613 do :
75614 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75615 if test "x$ac_cv_func_setenv" = xyes; then :
75616 cat >>confdefs.h <<_ACEOF
75617 #define HAVE_SETENV 1
75618 _ACEOF
75619
75620 fi
75621 done
75622
75623 fi
75624
75625 fi
75626
75627 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75628 test $enable_symvers != no; then
75629 case "$host" in
75630 *-*-cygwin*)
75631 enable_abi_check=no ;;
75632 *)
75633 enable_abi_check=yes ;;
75634 esac
75635 else
75636 # Only build this as native, since automake does not understand
75637 # CXX_FOR_BUILD.
75638 enable_abi_check=no
75639 fi
75640
75641 # Export file names for ABI checking.
75642 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75643
75644 baseline_subdir_switch="$abi_baseline_subdir_switch"
75645
75646
75647
75648 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75649
75650 # Check whether --enable-libstdcxx-threads was given.
75651 if test "${enable_libstdcxx_threads+set}" = set; then :
75652 enableval=$enable_libstdcxx_threads;
75653 case "$enableval" in
75654 yes|no) ;;
75655 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75656 esac
75657
75658 else
75659 enable_libstdcxx_threads=auto
75660 fi
75661
75662
75663
75664 if test x$enable_libstdcxx_threads = xauto ||
75665 test x$enable_libstdcxx_threads = xyes; then
75666
75667
75668 ac_ext=cpp
75669 ac_cpp='$CXXCPP $CPPFLAGS'
75670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75673
75674
75675 ac_save_CXXFLAGS="$CXXFLAGS"
75676 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75677 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75678
75679 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75680 case $target_thread_file in
75681 posix)
75682 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75683 esac
75684
75685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75686 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75687
75688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75689 /* end confdefs.h. */
75690 #include <unistd.h>
75691 int
75692 main ()
75693 {
75694
75695 // In case of POSIX threads check _POSIX_TIMEOUTS.
75696 #if (defined(_PTHREADS) \
75697 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75698 #error
75699 #endif
75700
75701 ;
75702 return 0;
75703 }
75704 _ACEOF
75705 if ac_fn_cxx_try_compile "$LINENO"; then :
75706 ac_gthread_use_mutex_timedlock=1
75707 else
75708 ac_gthread_use_mutex_timedlock=0
75709 fi
75710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75711
75712
75713 cat >>confdefs.h <<_ACEOF
75714 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75715 _ACEOF
75716
75717
75718 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75719 else res_mutex_timedlock=no ; fi
75720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75721 $as_echo "$res_mutex_timedlock" >&6; }
75722
75723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75724 $as_echo_n "checking for gthreads library... " >&6; }
75725
75726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75727 /* end confdefs.h. */
75728 #include "gthr.h"
75729 int
75730 main ()
75731 {
75732
75733 #ifndef __GTHREADS_CXX0X
75734 #error
75735 #endif
75736
75737 ;
75738 return 0;
75739 }
75740 _ACEOF
75741 if ac_fn_cxx_try_compile "$LINENO"; then :
75742 ac_has_gthreads=yes
75743 else
75744 ac_has_gthreads=no
75745 fi
75746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75747 else
75748 ac_has_gthreads=no
75749 fi
75750
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75752 $as_echo "$ac_has_gthreads" >&6; }
75753
75754 if test x"$ac_has_gthreads" = x"yes"; then
75755
75756 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75757
75758
75759 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75760 # but only do so if we're using pthread in the gthread library.
75761 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75762 # but the pthread library is not there by default and the gthread library
75763 # does not use it.
75764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75765 /* end confdefs.h. */
75766 #include "gthr.h"
75767 int
75768 main ()
75769 {
75770
75771 #if (!defined(_PTHREADS))
75772 #error
75773 #endif
75774
75775 ;
75776 return 0;
75777 }
75778 _ACEOF
75779 if ac_fn_cxx_try_compile "$LINENO"; then :
75780 ac_gthread_use_pthreads=yes
75781 else
75782 ac_gthread_use_pthreads=no
75783 fi
75784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75785 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75786 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75787 "
75788 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75789
75790 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75791
75792 fi
75793
75794 fi
75795 fi
75796
75797 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
75798 if test "x$ac_cv_header_semaphore_h" = xyes; then :
75799
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
75801 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
75802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75803 /* end confdefs.h. */
75804
75805 #include <unistd.h>
75806 #include <semaphore.h>
75807 #include <limits.h>
75808
75809 int
75810 main ()
75811 {
75812
75813 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
75814 # error "POSIX Timeouts option not supported"
75815 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
75816 # error "POSIX Semaphores option not supported"
75817 #else
75818 #if defined SEM_VALUE_MAX
75819 constexpr int sem_value_max = SEM_VALUE_MAX;
75820 #elif defined _POSIX_SEM_VALUE_MAX
75821 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
75822 #else
75823 # error "SEM_VALUE_MAX not available"
75824 #endif
75825 sem_t sem;
75826 sem_init(&sem, 0, sem_value_max);
75827 struct timespec ts = { 0 };
75828 sem_timedwait(&sem, &ts);
75829 #endif
75830
75831 ;
75832 return 0;
75833 }
75834 _ACEOF
75835 if ac_fn_cxx_try_compile "$LINENO"; then :
75836 ac_have_posix_semaphore=yes
75837 else
75838 ac_have_posix_semaphore=no
75839 fi
75840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75841 else
75842 ac_have_posix_semaphore=no
75843 fi
75844
75845
75846
75847 if test $ac_have_posix_semaphore = yes ; then
75848
75849 $as_echo "#define _GLIBCXX_HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
75850
75851 fi
75852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
75853 $as_echo "$ac_have_posix_semaphore" >&6; }
75854
75855 CXXFLAGS="$ac_save_CXXFLAGS"
75856 ac_ext=c
75857 ac_cpp='$CPP $CPPFLAGS'
75858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75861
75862
75863
75864 # For Filesystem TS.
75865 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75866 do :
75867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75868 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75870 cat >>confdefs.h <<_ACEOF
75871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75872 _ACEOF
75873
75874 fi
75875
75876 done
75877
75878
75879 # Check whether --enable-libstdcxx-filesystem-ts was given.
75880 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75881 enableval=$enable_libstdcxx_filesystem_ts;
75882 case "$enableval" in
75883 yes|no|auto) ;;
75884 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75885 esac
75886
75887 else
75888 enable_libstdcxx_filesystem_ts=auto
75889 fi
75890
75891
75892
75893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75894 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75895 if test x"$ac_cv_header_dirent_h" != x"yes"; then
75896 enable_libstdcxx_filesystem_ts=no
75897 fi
75898 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75899 case "${target_os}" in
75900 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75901 enable_libstdcxx_filesystem_ts=yes
75902 ;;
75903 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75904 enable_libstdcxx_filesystem_ts=yes
75905 ;;
75906 rtems*)
75907 enable_libstdcxx_filesystem_ts=yes
75908 ;;
75909 solaris*)
75910 enable_libstdcxx_filesystem_ts=yes
75911 ;;
75912 mingw*)
75913 enable_libstdcxx_filesystem_ts=yes
75914 ;;
75915 *)
75916 enable_libstdcxx_filesystem_ts=no
75917 ;;
75918 esac
75919 fi
75920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75921 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75922
75923
75924
75925 ac_ext=cpp
75926 ac_cpp='$CXXCPP $CPPFLAGS'
75927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75930
75931 ac_save_CXXFLAGS="$CXXFLAGS"
75932 CXXFLAGS="$CXXFLAGS -fno-exceptions"
75933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75934 $as_echo_n "checking for struct dirent.d_type... " >&6; }
75935 if ${glibcxx_cv_dirent_d_type+:} false; then :
75936 $as_echo_n "(cached) " >&6
75937 else
75938 if test x$gcc_no_link = xyes; then
75939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75940 /* end confdefs.h. */
75941 #include <dirent.h>
75942 int
75943 main ()
75944 {
75945
75946 struct dirent d;
75947 if (sizeof d.d_type) return 0;
75948
75949 ;
75950 return 0;
75951 }
75952 _ACEOF
75953 if ac_fn_cxx_try_compile "$LINENO"; then :
75954 glibcxx_cv_dirent_d_type=yes
75955 else
75956 glibcxx_cv_dirent_d_type=no
75957 fi
75958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75959 else
75960 if test x$gcc_no_link = xyes; then
75961 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75962 fi
75963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75964 /* end confdefs.h. */
75965 #include <dirent.h>
75966 int
75967 main ()
75968 {
75969
75970 struct dirent d;
75971 if (sizeof d.d_type) return 0;
75972
75973 ;
75974 return 0;
75975 }
75976 _ACEOF
75977 if ac_fn_cxx_try_link "$LINENO"; then :
75978 glibcxx_cv_dirent_d_type=yes
75979 else
75980 glibcxx_cv_dirent_d_type=no
75981 fi
75982 rm -f core conftest.err conftest.$ac_objext \
75983 conftest$ac_exeext conftest.$ac_ext
75984 fi
75985
75986 fi
75987
75988 if test $glibcxx_cv_dirent_d_type = yes; then
75989
75990 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
75991
75992 fi
75993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
75994 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
75995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
75996 $as_echo_n "checking for realpath... " >&6; }
75997 if ${glibcxx_cv_realpath+:} false; then :
75998 $as_echo_n "(cached) " >&6
75999 else
76000 if test x$gcc_no_link = xyes; then
76001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76002 /* end confdefs.h. */
76003
76004 #include <limits.h>
76005 #include <stdlib.h>
76006 #include <unistd.h>
76007
76008 int
76009 main ()
76010 {
76011
76012 #if _XOPEN_VERSION < 500
76013 #error
76014 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76015 char *tmp = realpath((const char*)NULL, (char*)NULL);
76016 #else
76017 #error
76018 #endif
76019
76020 ;
76021 return 0;
76022 }
76023 _ACEOF
76024 if ac_fn_cxx_try_compile "$LINENO"; then :
76025 glibcxx_cv_realpath=yes
76026 else
76027 glibcxx_cv_realpath=no
76028 fi
76029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76030 else
76031 if test x$gcc_no_link = xyes; then
76032 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76033 fi
76034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76035 /* end confdefs.h. */
76036
76037 #include <limits.h>
76038 #include <stdlib.h>
76039 #include <unistd.h>
76040
76041 int
76042 main ()
76043 {
76044
76045 #if _XOPEN_VERSION < 500
76046 #error
76047 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76048 char *tmp = realpath((const char*)NULL, (char*)NULL);
76049 #else
76050 #error
76051 #endif
76052
76053 ;
76054 return 0;
76055 }
76056 _ACEOF
76057 if ac_fn_cxx_try_link "$LINENO"; then :
76058 glibcxx_cv_realpath=yes
76059 else
76060 glibcxx_cv_realpath=no
76061 fi
76062 rm -f core conftest.err conftest.$ac_objext \
76063 conftest$ac_exeext conftest.$ac_ext
76064 fi
76065
76066 fi
76067
76068 if test $glibcxx_cv_realpath = yes; then
76069
76070 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76071
76072 fi
76073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76074 $as_echo "$glibcxx_cv_realpath" >&6; }
76075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76076 $as_echo_n "checking for utimensat... " >&6; }
76077 if ${glibcxx_cv_utimensat+:} false; then :
76078 $as_echo_n "(cached) " >&6
76079 else
76080 if test x$gcc_no_link = xyes; then
76081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76082 /* end confdefs.h. */
76083
76084 #include <fcntl.h>
76085 #include <sys/stat.h>
76086
76087 int
76088 main ()
76089 {
76090
76091 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76092 int i = utimensat(AT_FDCWD, "path", ts, 0);
76093
76094 ;
76095 return 0;
76096 }
76097 _ACEOF
76098 if ac_fn_cxx_try_compile "$LINENO"; then :
76099 glibcxx_cv_utimensat=yes
76100 else
76101 glibcxx_cv_utimensat=no
76102 fi
76103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76104 else
76105 if test x$gcc_no_link = xyes; then
76106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76107 fi
76108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76109 /* end confdefs.h. */
76110
76111 #include <fcntl.h>
76112 #include <sys/stat.h>
76113
76114 int
76115 main ()
76116 {
76117
76118 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76119 int i = utimensat(AT_FDCWD, "path", ts, 0);
76120
76121 ;
76122 return 0;
76123 }
76124 _ACEOF
76125 if ac_fn_cxx_try_link "$LINENO"; then :
76126 glibcxx_cv_utimensat=yes
76127 else
76128 glibcxx_cv_utimensat=no
76129 fi
76130 rm -f core conftest.err conftest.$ac_objext \
76131 conftest$ac_exeext conftest.$ac_ext
76132 fi
76133
76134 fi
76135
76136 if test $glibcxx_cv_utimensat = yes; then
76137
76138 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76139
76140 fi
76141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76142 $as_echo "$glibcxx_cv_utimensat" >&6; }
76143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76144 $as_echo_n "checking for utime... " >&6; }
76145 if ${glibcxx_cv_utime+:} false; then :
76146 $as_echo_n "(cached) " >&6
76147 else
76148 if test x$gcc_no_link = xyes; then
76149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76150 /* end confdefs.h. */
76151
76152 #include <utime.h>
76153
76154 int
76155 main ()
76156 {
76157
76158 struct utimbuf t = { 1, 1 };
76159 int i = utime("path", &t);
76160
76161 ;
76162 return 0;
76163 }
76164 _ACEOF
76165 if ac_fn_cxx_try_compile "$LINENO"; then :
76166 glibcxx_cv_utime=yes
76167 else
76168 glibcxx_cv_utime=no
76169 fi
76170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76171 else
76172 if test x$gcc_no_link = xyes; then
76173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76174 fi
76175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76176 /* end confdefs.h. */
76177
76178 #include <utime.h>
76179
76180 int
76181 main ()
76182 {
76183
76184 struct utimbuf t = { 1, 1 };
76185 int i = utime("path", &t);
76186
76187 ;
76188 return 0;
76189 }
76190 _ACEOF
76191 if ac_fn_cxx_try_link "$LINENO"; then :
76192 glibcxx_cv_utime=yes
76193 else
76194 glibcxx_cv_utime=no
76195 fi
76196 rm -f core conftest.err conftest.$ac_objext \
76197 conftest$ac_exeext conftest.$ac_ext
76198 fi
76199
76200 fi
76201
76202 if test $glibcxx_cv_utime = yes; then
76203
76204 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76205
76206 fi
76207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76208 $as_echo "$glibcxx_cv_utime" >&6; }
76209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76210 $as_echo_n "checking for lstat... " >&6; }
76211 if ${glibcxx_cv_lstat+:} false; then :
76212 $as_echo_n "(cached) " >&6
76213 else
76214 if test x$gcc_no_link = xyes; then
76215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76216 /* end confdefs.h. */
76217 #include <sys/stat.h>
76218 int
76219 main ()
76220 {
76221
76222 struct stat st;
76223 int i = lstat("path", &st);
76224
76225 ;
76226 return 0;
76227 }
76228 _ACEOF
76229 if ac_fn_cxx_try_compile "$LINENO"; then :
76230 glibcxx_cv_lstat=yes
76231 else
76232 glibcxx_cv_lstat=no
76233 fi
76234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76235 else
76236 if test x$gcc_no_link = xyes; then
76237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76238 fi
76239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76240 /* end confdefs.h. */
76241 #include <sys/stat.h>
76242 int
76243 main ()
76244 {
76245
76246 struct stat st;
76247 int i = lstat("path", &st);
76248
76249 ;
76250 return 0;
76251 }
76252 _ACEOF
76253 if ac_fn_cxx_try_link "$LINENO"; then :
76254 glibcxx_cv_lstat=yes
76255 else
76256 glibcxx_cv_lstat=no
76257 fi
76258 rm -f core conftest.err conftest.$ac_objext \
76259 conftest$ac_exeext conftest.$ac_ext
76260 fi
76261
76262 fi
76263
76264 if test $glibcxx_cv_lstat = yes; then
76265
76266 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76267
76268 fi
76269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76270 $as_echo "$glibcxx_cv_lstat" >&6; }
76271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76272 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76273 if ${glibcxx_cv_st_mtim+:} false; then :
76274 $as_echo_n "(cached) " >&6
76275 else
76276 if test x$gcc_no_link = xyes; then
76277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76278 /* end confdefs.h. */
76279 #include <sys/stat.h>
76280 int
76281 main ()
76282 {
76283
76284 struct stat st;
76285 return st.st_mtim.tv_nsec;
76286
76287 ;
76288 return 0;
76289 }
76290 _ACEOF
76291 if ac_fn_cxx_try_compile "$LINENO"; then :
76292 glibcxx_cv_st_mtim=yes
76293 else
76294 glibcxx_cv_st_mtim=no
76295 fi
76296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76297 else
76298 if test x$gcc_no_link = xyes; then
76299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76300 fi
76301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76302 /* end confdefs.h. */
76303 #include <sys/stat.h>
76304 int
76305 main ()
76306 {
76307
76308 struct stat st;
76309 return st.st_mtim.tv_nsec;
76310
76311 ;
76312 return 0;
76313 }
76314 _ACEOF
76315 if ac_fn_cxx_try_link "$LINENO"; then :
76316 glibcxx_cv_st_mtim=yes
76317 else
76318 glibcxx_cv_st_mtim=no
76319 fi
76320 rm -f core conftest.err conftest.$ac_objext \
76321 conftest$ac_exeext conftest.$ac_ext
76322 fi
76323
76324 fi
76325
76326 if test $glibcxx_cv_st_mtim = yes; then
76327
76328 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76329
76330 fi
76331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76332 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76334 $as_echo_n "checking for fchmod... " >&6; }
76335 if ${glibcxx_cv_fchmod+:} false; then :
76336 $as_echo_n "(cached) " >&6
76337 else
76338 if test x$gcc_no_link = xyes; then
76339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76340 /* end confdefs.h. */
76341 #include <sys/stat.h>
76342 int
76343 main ()
76344 {
76345 fchmod(1, S_IWUSR);
76346 ;
76347 return 0;
76348 }
76349 _ACEOF
76350 if ac_fn_cxx_try_compile "$LINENO"; then :
76351 glibcxx_cv_fchmod=yes
76352 else
76353 glibcxx_cv_fchmod=no
76354 fi
76355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76356 else
76357 if test x$gcc_no_link = xyes; then
76358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76359 fi
76360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76361 /* end confdefs.h. */
76362 #include <sys/stat.h>
76363 int
76364 main ()
76365 {
76366 fchmod(1, S_IWUSR);
76367 ;
76368 return 0;
76369 }
76370 _ACEOF
76371 if ac_fn_cxx_try_link "$LINENO"; then :
76372 glibcxx_cv_fchmod=yes
76373 else
76374 glibcxx_cv_fchmod=no
76375 fi
76376 rm -f core conftest.err conftest.$ac_objext \
76377 conftest$ac_exeext conftest.$ac_ext
76378 fi
76379
76380 fi
76381
76382 if test $glibcxx_cv_fchmod = yes; then
76383
76384 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76385
76386 fi
76387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76388 $as_echo "$glibcxx_cv_fchmod" >&6; }
76389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76390 $as_echo_n "checking for fchmodat... " >&6; }
76391 if ${glibcxx_cv_fchmodat+:} false; then :
76392 $as_echo_n "(cached) " >&6
76393 else
76394 if test x$gcc_no_link = xyes; then
76395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76396 /* end confdefs.h. */
76397
76398 #include <fcntl.h>
76399 #include <sys/stat.h>
76400
76401 int
76402 main ()
76403 {
76404 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76405 ;
76406 return 0;
76407 }
76408 _ACEOF
76409 if ac_fn_cxx_try_compile "$LINENO"; then :
76410 glibcxx_cv_fchmodat=yes
76411 else
76412 glibcxx_cv_fchmodat=no
76413 fi
76414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76415 else
76416 if test x$gcc_no_link = xyes; then
76417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76418 fi
76419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76420 /* end confdefs.h. */
76421
76422 #include <fcntl.h>
76423 #include <sys/stat.h>
76424
76425 int
76426 main ()
76427 {
76428 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76429 ;
76430 return 0;
76431 }
76432 _ACEOF
76433 if ac_fn_cxx_try_link "$LINENO"; then :
76434 glibcxx_cv_fchmodat=yes
76435 else
76436 glibcxx_cv_fchmodat=no
76437 fi
76438 rm -f core conftest.err conftest.$ac_objext \
76439 conftest$ac_exeext conftest.$ac_ext
76440 fi
76441
76442 fi
76443
76444 if test $glibcxx_cv_fchmodat = yes; then
76445
76446 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76447
76448 fi
76449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76450 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76452 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76453 if ${glibcxx_cv_sendfile+:} false; then :
76454 $as_echo_n "(cached) " >&6
76455 else
76456 case "${target_os}" in
76457 gnu* | linux* | solaris* | uclinux*)
76458 if test x$gcc_no_link = xyes; then
76459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76460 /* end confdefs.h. */
76461 #include <sys/sendfile.h>
76462 int
76463 main ()
76464 {
76465 sendfile(1, 2, (off_t*)0, sizeof 1);
76466 ;
76467 return 0;
76468 }
76469 _ACEOF
76470 if ac_fn_cxx_try_compile "$LINENO"; then :
76471 glibcxx_cv_sendfile=yes
76472 else
76473 glibcxx_cv_sendfile=no
76474 fi
76475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76476 else
76477 if test x$gcc_no_link = xyes; then
76478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76479 fi
76480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76481 /* end confdefs.h. */
76482 #include <sys/sendfile.h>
76483 int
76484 main ()
76485 {
76486 sendfile(1, 2, (off_t*)0, sizeof 1);
76487 ;
76488 return 0;
76489 }
76490 _ACEOF
76491 if ac_fn_cxx_try_link "$LINENO"; then :
76492 glibcxx_cv_sendfile=yes
76493 else
76494 glibcxx_cv_sendfile=no
76495 fi
76496 rm -f core conftest.err conftest.$ac_objext \
76497 conftest$ac_exeext conftest.$ac_ext
76498 fi
76499 ;;
76500 *)
76501 glibcxx_cv_sendfile=no
76502 ;;
76503 esac
76504
76505 fi
76506
76507 if test $glibcxx_cv_sendfile = yes; then
76508
76509 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76510
76511 fi
76512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76513 $as_echo "$glibcxx_cv_sendfile" >&6; }
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76515 $as_echo_n "checking for link... " >&6; }
76516 if ${glibcxx_cv_link+:} false; then :
76517 $as_echo_n "(cached) " >&6
76518 else
76519 if test x$gcc_no_link = xyes; then
76520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76521 /* end confdefs.h. */
76522 #include <unistd.h>
76523 int
76524 main ()
76525 {
76526 link("", "");
76527 ;
76528 return 0;
76529 }
76530 _ACEOF
76531 if ac_fn_cxx_try_compile "$LINENO"; then :
76532 glibcxx_cv_link=yes
76533 else
76534 glibcxx_cv_link=no
76535 fi
76536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76537 else
76538 if test x$gcc_no_link = xyes; then
76539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76540 fi
76541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76542 /* end confdefs.h. */
76543 #include <unistd.h>
76544 int
76545 main ()
76546 {
76547 link("", "");
76548 ;
76549 return 0;
76550 }
76551 _ACEOF
76552 if ac_fn_cxx_try_link "$LINENO"; then :
76553 glibcxx_cv_link=yes
76554 else
76555 glibcxx_cv_link=no
76556 fi
76557 rm -f core conftest.err conftest.$ac_objext \
76558 conftest$ac_exeext conftest.$ac_ext
76559 fi
76560
76561 fi
76562
76563 if test $glibcxx_cv_link = yes; then
76564
76565 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76566
76567 fi
76568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76569 $as_echo "$glibcxx_cv_link" >&6; }
76570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76571 $as_echo_n "checking for readlink... " >&6; }
76572 if ${glibcxx_cv_readlink+:} false; then :
76573 $as_echo_n "(cached) " >&6
76574 else
76575 if test x$gcc_no_link = xyes; then
76576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76577 /* end confdefs.h. */
76578 #include <unistd.h>
76579 int
76580 main ()
76581 {
76582 char buf[32]; readlink("", buf, sizeof(buf));
76583 ;
76584 return 0;
76585 }
76586 _ACEOF
76587 if ac_fn_cxx_try_compile "$LINENO"; then :
76588 glibcxx_cv_readlink=yes
76589 else
76590 glibcxx_cv_readlink=no
76591 fi
76592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76593 else
76594 if test x$gcc_no_link = xyes; then
76595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76596 fi
76597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76598 /* end confdefs.h. */
76599 #include <unistd.h>
76600 int
76601 main ()
76602 {
76603 char buf[32]; readlink("", buf, sizeof(buf));
76604 ;
76605 return 0;
76606 }
76607 _ACEOF
76608 if ac_fn_cxx_try_link "$LINENO"; then :
76609 glibcxx_cv_readlink=yes
76610 else
76611 glibcxx_cv_readlink=no
76612 fi
76613 rm -f core conftest.err conftest.$ac_objext \
76614 conftest$ac_exeext conftest.$ac_ext
76615 fi
76616
76617 fi
76618
76619 if test $glibcxx_cv_readlink = yes; then
76620
76621 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76622
76623 fi
76624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76625 $as_echo "$glibcxx_cv_readlink" >&6; }
76626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76627 $as_echo_n "checking for symlink... " >&6; }
76628 if ${glibcxx_cv_symlink+:} false; then :
76629 $as_echo_n "(cached) " >&6
76630 else
76631 if test x$gcc_no_link = xyes; then
76632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76633 /* end confdefs.h. */
76634 #include <unistd.h>
76635 int
76636 main ()
76637 {
76638 symlink("", "");
76639 ;
76640 return 0;
76641 }
76642 _ACEOF
76643 if ac_fn_cxx_try_compile "$LINENO"; then :
76644 glibcxx_cv_symlink=yes
76645 else
76646 glibcxx_cv_symlink=no
76647 fi
76648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76649 else
76650 if test x$gcc_no_link = xyes; then
76651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76652 fi
76653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76654 /* end confdefs.h. */
76655 #include <unistd.h>
76656 int
76657 main ()
76658 {
76659 symlink("", "");
76660 ;
76661 return 0;
76662 }
76663 _ACEOF
76664 if ac_fn_cxx_try_link "$LINENO"; then :
76665 glibcxx_cv_symlink=yes
76666 else
76667 glibcxx_cv_symlink=no
76668 fi
76669 rm -f core conftest.err conftest.$ac_objext \
76670 conftest$ac_exeext conftest.$ac_ext
76671 fi
76672
76673 fi
76674
76675 if test $glibcxx_cv_symlink = yes; then
76676
76677 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76678
76679 fi
76680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76681 $as_echo "$glibcxx_cv_symlink" >&6; }
76682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76683 $as_echo_n "checking for truncate... " >&6; }
76684 if ${glibcxx_cv_truncate+:} false; then :
76685 $as_echo_n "(cached) " >&6
76686 else
76687 if test x$gcc_no_link = xyes; then
76688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76689 /* end confdefs.h. */
76690 #include <unistd.h>
76691 int
76692 main ()
76693 {
76694 truncate("", 99);
76695 ;
76696 return 0;
76697 }
76698 _ACEOF
76699 if ac_fn_cxx_try_compile "$LINENO"; then :
76700 glibcxx_cv_truncate=yes
76701 else
76702 glibcxx_cv_truncate=no
76703 fi
76704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76705 else
76706 if test x$gcc_no_link = xyes; then
76707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76708 fi
76709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76710 /* end confdefs.h. */
76711 #include <unistd.h>
76712 int
76713 main ()
76714 {
76715 truncate("", 99);
76716 ;
76717 return 0;
76718 }
76719 _ACEOF
76720 if ac_fn_cxx_try_link "$LINENO"; then :
76721 glibcxx_cv_truncate=yes
76722 else
76723 glibcxx_cv_truncate=no
76724 fi
76725 rm -f core conftest.err conftest.$ac_objext \
76726 conftest$ac_exeext conftest.$ac_ext
76727 fi
76728
76729 fi
76730
76731 if test $glibcxx_cv_truncate = yes; then
76732
76733 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76734
76735 fi
76736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76737 $as_echo "$glibcxx_cv_truncate" >&6; }
76738 CXXFLAGS="$ac_save_CXXFLAGS"
76739 ac_ext=c
76740 ac_cpp='$CPP $CPPFLAGS'
76741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76744
76745
76746
76747 # For Networking TS.
76748 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
76749 do :
76750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76751 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76752 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76753 cat >>confdefs.h <<_ACEOF
76754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76755 _ACEOF
76756
76757 fi
76758
76759 done
76760
76761
76762 # For Transactional Memory TS
76763
76764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76765 $as_echo_n "checking how size_t is mangled... " >&6; }
76766 if ${glibcxx_cv_size_t_mangling+:} false; then :
76767 $as_echo_n "(cached) " >&6
76768 else
76769
76770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76771 /* end confdefs.h. */
76772
76773 int
76774 main ()
76775 {
76776 extern __SIZE_TYPE__ x; extern unsigned long x;
76777 ;
76778 return 0;
76779 }
76780 _ACEOF
76781 if ac_fn_c_try_compile "$LINENO"; then :
76782 glibcxx_cv_size_t_mangling=m
76783 else
76784
76785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76786 /* end confdefs.h. */
76787
76788 int
76789 main ()
76790 {
76791 extern __SIZE_TYPE__ x; extern unsigned int x;
76792 ;
76793 return 0;
76794 }
76795 _ACEOF
76796 if ac_fn_c_try_compile "$LINENO"; then :
76797 glibcxx_cv_size_t_mangling=j
76798 else
76799
76800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76801 /* end confdefs.h. */
76802
76803 int
76804 main ()
76805 {
76806 extern __SIZE_TYPE__ x; extern unsigned long long x;
76807 ;
76808 return 0;
76809 }
76810 _ACEOF
76811 if ac_fn_c_try_compile "$LINENO"; then :
76812 glibcxx_cv_size_t_mangling=y
76813 else
76814
76815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76816 /* end confdefs.h. */
76817
76818 int
76819 main ()
76820 {
76821 extern __SIZE_TYPE__ x; extern unsigned short x;
76822 ;
76823 return 0;
76824 }
76825 _ACEOF
76826 if ac_fn_c_try_compile "$LINENO"; then :
76827 glibcxx_cv_size_t_mangling=t
76828 else
76829
76830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76831 /* end confdefs.h. */
76832
76833 int
76834 main ()
76835 {
76836 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76837 ;
76838 return 0;
76839 }
76840 _ACEOF
76841 if ac_fn_c_try_compile "$LINENO"; then :
76842 glibcxx_cv_size_t_mangling=u6uint20
76843 else
76844 glibcxx_cv_size_t_mangling=x
76845 fi
76846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76847
76848 fi
76849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76850
76851 fi
76852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76853
76854 fi
76855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76856
76857 fi
76858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76859
76860 fi
76861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76862 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76863 if test $glibcxx_cv_size_t_mangling = x; then
76864 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76865 fi
76866
76867 cat >>confdefs.h <<_ACEOF
76868 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76869 _ACEOF
76870
76871
76872
76873 # Check which release added std::exception_ptr for the target
76874
76875 if test $enable_symvers != no; then
76876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76877 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76878 case ${target} in
76879 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76880 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76881 ac_exception_ptr_since_gcc46=yes
76882 ;;
76883 *)
76884 # If the value of this macro changes then we will need to hardcode
76885 # yes/no here for additional targets based on the original value.
76886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887 /* end confdefs.h. */
76888
76889 int
76890 main ()
76891 {
76892
76893 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76894 # error atomic int not always lock free
76895 #endif
76896
76897 ;
76898 return 0;
76899 }
76900 _ACEOF
76901 if ac_fn_c_try_compile "$LINENO"; then :
76902 ac_exception_ptr_since_gcc46=yes
76903 else
76904 ac_exception_ptr_since_gcc46=no
76905 fi
76906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76907 ;;
76908 esac
76909 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76910
76911 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76912
76913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76914 $as_echo "4.6.0" >&6; }
76915 else
76916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76917 $as_echo "7.1.0" >&6; }
76918 fi
76919 fi
76920
76921
76922 # Define documentation rules conditionally.
76923
76924 # See if makeinfo has been installed and is modern enough
76925 # that we can use it.
76926
76927 # Extract the first word of "makeinfo", so it can be a program name with args.
76928 set dummy makeinfo; ac_word=$2
76929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76930 $as_echo_n "checking for $ac_word... " >&6; }
76931 if ${ac_cv_prog_MAKEINFO+:} false; then :
76932 $as_echo_n "(cached) " >&6
76933 else
76934 if test -n "$MAKEINFO"; then
76935 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76936 else
76937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76938 for as_dir in $PATH
76939 do
76940 IFS=$as_save_IFS
76941 test -z "$as_dir" && as_dir=.
76942 for ac_exec_ext in '' $ac_executable_extensions; do
76943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76944 ac_cv_prog_MAKEINFO="makeinfo"
76945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76946 break 2
76947 fi
76948 done
76949 done
76950 IFS=$as_save_IFS
76951
76952 fi
76953 fi
76954 MAKEINFO=$ac_cv_prog_MAKEINFO
76955 if test -n "$MAKEINFO"; then
76956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
76957 $as_echo "$MAKEINFO" >&6; }
76958 else
76959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76960 $as_echo "no" >&6; }
76961 fi
76962
76963
76964 if test -n "$MAKEINFO"; then
76965 # Found it, now check the version.
76966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
76967 $as_echo_n "checking for modern makeinfo... " >&6; }
76968 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
76969 $as_echo_n "(cached) " >&6
76970 else
76971 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
76972 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
76973
76974 case $ac_prog_version in
76975 '') gcc_cv_prog_makeinfo_modern=no;;
76976 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
76977 *) gcc_cv_prog_makeinfo_modern=no;;
76978 esac
76979
76980 fi
76981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
76982 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
76983 else
76984 gcc_cv_prog_makeinfo_modern=no
76985 fi
76986 if test $gcc_cv_prog_makeinfo_modern = no; then
76987 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
76988 fi
76989
76990 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
76991 BUILD_INFO_TRUE=
76992 BUILD_INFO_FALSE='#'
76993 else
76994 BUILD_INFO_TRUE='#'
76995 BUILD_INFO_FALSE=
76996 fi
76997
76998
76999 # Check for doxygen
77000 # Extract the first word of "doxygen", so it can be a program name with args.
77001 set dummy doxygen; ac_word=$2
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77003 $as_echo_n "checking for $ac_word... " >&6; }
77004 if ${ac_cv_prog_DOXYGEN+:} false; then :
77005 $as_echo_n "(cached) " >&6
77006 else
77007 if test -n "$DOXYGEN"; then
77008 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77009 else
77010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77011 for as_dir in $PATH
77012 do
77013 IFS=$as_save_IFS
77014 test -z "$as_dir" && as_dir=.
77015 for ac_exec_ext in '' $ac_executable_extensions; do
77016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77017 ac_cv_prog_DOXYGEN="yes"
77018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77019 break 2
77020 fi
77021 done
77022 done
77023 IFS=$as_save_IFS
77024
77025 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77026 fi
77027 fi
77028 DOXYGEN=$ac_cv_prog_DOXYGEN
77029 if test -n "$DOXYGEN"; then
77030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77031 $as_echo "$DOXYGEN" >&6; }
77032 else
77033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77034 $as_echo "no" >&6; }
77035 fi
77036
77037
77038 # Extract the first word of "dot", so it can be a program name with args.
77039 set dummy dot; ac_word=$2
77040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77041 $as_echo_n "checking for $ac_word... " >&6; }
77042 if ${ac_cv_prog_DOT+:} false; then :
77043 $as_echo_n "(cached) " >&6
77044 else
77045 if test -n "$DOT"; then
77046 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77047 else
77048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77049 for as_dir in $PATH
77050 do
77051 IFS=$as_save_IFS
77052 test -z "$as_dir" && as_dir=.
77053 for ac_exec_ext in '' $ac_executable_extensions; do
77054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77055 ac_cv_prog_DOT="yes"
77056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77057 break 2
77058 fi
77059 done
77060 done
77061 IFS=$as_save_IFS
77062
77063 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77064 fi
77065 fi
77066 DOT=$ac_cv_prog_DOT
77067 if test -n "$DOT"; then
77068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77069 $as_echo "$DOT" >&6; }
77070 else
77071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77072 $as_echo "no" >&6; }
77073 fi
77074
77075
77076
77077 # Check for docbook
77078 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77079 set dummy xmlcatalog; ac_word=$2
77080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77081 $as_echo_n "checking for $ac_word... " >&6; }
77082 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77083 $as_echo_n "(cached) " >&6
77084 else
77085 if test -n "$XMLCATALOG"; then
77086 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77087 else
77088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77089 for as_dir in $PATH
77090 do
77091 IFS=$as_save_IFS
77092 test -z "$as_dir" && as_dir=.
77093 for ac_exec_ext in '' $ac_executable_extensions; do
77094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77095 ac_cv_prog_XMLCATALOG="yes"
77096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77097 break 2
77098 fi
77099 done
77100 done
77101 IFS=$as_save_IFS
77102
77103 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77104 fi
77105 fi
77106 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77107 if test -n "$XMLCATALOG"; then
77108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77109 $as_echo "$XMLCATALOG" >&6; }
77110 else
77111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77112 $as_echo "no" >&6; }
77113 fi
77114
77115
77116 # Extract the first word of "xsltproc", so it can be a program name with args.
77117 set dummy xsltproc; ac_word=$2
77118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77119 $as_echo_n "checking for $ac_word... " >&6; }
77120 if ${ac_cv_prog_XSLTPROC+:} false; then :
77121 $as_echo_n "(cached) " >&6
77122 else
77123 if test -n "$XSLTPROC"; then
77124 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77125 else
77126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77127 for as_dir in $PATH
77128 do
77129 IFS=$as_save_IFS
77130 test -z "$as_dir" && as_dir=.
77131 for ac_exec_ext in '' $ac_executable_extensions; do
77132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77133 ac_cv_prog_XSLTPROC="yes"
77134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77135 break 2
77136 fi
77137 done
77138 done
77139 IFS=$as_save_IFS
77140
77141 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77142 fi
77143 fi
77144 XSLTPROC=$ac_cv_prog_XSLTPROC
77145 if test -n "$XSLTPROC"; then
77146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77147 $as_echo "$XSLTPROC" >&6; }
77148 else
77149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77150 $as_echo "no" >&6; }
77151 fi
77152
77153
77154 # Extract the first word of "xmllint", so it can be a program name with args.
77155 set dummy xmllint; ac_word=$2
77156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77157 $as_echo_n "checking for $ac_word... " >&6; }
77158 if ${ac_cv_prog_XMLLINT+:} false; then :
77159 $as_echo_n "(cached) " >&6
77160 else
77161 if test -n "$XMLLINT"; then
77162 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77163 else
77164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77165 for as_dir in $PATH
77166 do
77167 IFS=$as_save_IFS
77168 test -z "$as_dir" && as_dir=.
77169 for ac_exec_ext in '' $ac_executable_extensions; do
77170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77171 ac_cv_prog_XMLLINT="yes"
77172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77173 break 2
77174 fi
77175 done
77176 done
77177 IFS=$as_save_IFS
77178
77179 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77180 fi
77181 fi
77182 XMLLINT=$ac_cv_prog_XMLLINT
77183 if test -n "$XMLLINT"; then
77184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77185 $as_echo "$XMLLINT" >&6; }
77186 else
77187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77188 $as_echo "no" >&6; }
77189 fi
77190
77191
77192
77193
77194 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77195
77196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77197 $as_echo_n "checking for local stylesheet directory... " >&6; }
77198 glibcxx_local_stylesheets=no
77199 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77200 then
77201 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77202 glibcxx_local_stylesheets=yes
77203 else
77204 for dir in \
77205 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77206 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77207 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77208 /usr/share/xml/docbook/stylesheet/nwalsh/current
77209 do
77210 if test -d $dir; then
77211 glibcxx_local_stylesheets=yes
77212 XSL_STYLE_DIR=$dir
77213 break
77214 fi
77215 done
77216 fi
77217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77218 $as_echo "$glibcxx_local_stylesheets" >&6; }
77219
77220 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77221
77222 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77223 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77224
77225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77226 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77227 glibcxx_stylesheets=no
77228 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77229 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77230 glibcxx_stylesheets=yes
77231 fi
77232 fi
77233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77234 $as_echo "$glibcxx_stylesheets" >&6; }
77235
77236 else
77237 glibcxx_stylesheets=no
77238 fi
77239
77240 # Check for epub3 dependencies.
77241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77242 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77243 glibcxx_epub_stylesheets=no
77244 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77245 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77246 glibcxx_epub_stylesheets=yes
77247 fi
77248 fi
77249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77250 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77251 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77252 BUILD_EPUB_TRUE=
77253 BUILD_EPUB_FALSE='#'
77254 else
77255 BUILD_EPUB_TRUE='#'
77256 BUILD_EPUB_FALSE=
77257 fi
77258
77259
77260
77261
77262 # Check for xml/html dependencies.
77263 if test $ac_cv_prog_DOXYGEN = "yes" &&
77264 test $ac_cv_prog_DOT = "yes" &&
77265 test $ac_cv_prog_XSLTPROC = "yes" &&
77266 test $ac_cv_prog_XMLLINT = "yes" &&
77267 test $glibcxx_stylesheets = "yes"; then
77268 BUILD_XML_TRUE=
77269 BUILD_XML_FALSE='#'
77270 else
77271 BUILD_XML_TRUE='#'
77272 BUILD_XML_FALSE=
77273 fi
77274
77275
77276 if test $ac_cv_prog_DOXYGEN = "yes" &&
77277 test $ac_cv_prog_DOT = "yes" &&
77278 test $ac_cv_prog_XSLTPROC = "yes" &&
77279 test $ac_cv_prog_XMLLINT = "yes" &&
77280 test $glibcxx_stylesheets = "yes"; then
77281 BUILD_HTML_TRUE=
77282 BUILD_HTML_FALSE='#'
77283 else
77284 BUILD_HTML_TRUE='#'
77285 BUILD_HTML_FALSE=
77286 fi
77287
77288
77289 # Check for man dependencies.
77290 if test $ac_cv_prog_DOXYGEN = "yes" &&
77291 test $ac_cv_prog_DOT = "yes"; then
77292 BUILD_MAN_TRUE=
77293 BUILD_MAN_FALSE='#'
77294 else
77295 BUILD_MAN_TRUE='#'
77296 BUILD_MAN_FALSE=
77297 fi
77298
77299
77300 # Check for pdf dependencies.
77301 # Extract the first word of "dblatex", so it can be a program name with args.
77302 set dummy dblatex; ac_word=$2
77303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77304 $as_echo_n "checking for $ac_word... " >&6; }
77305 if ${ac_cv_prog_DBLATEX+:} false; then :
77306 $as_echo_n "(cached) " >&6
77307 else
77308 if test -n "$DBLATEX"; then
77309 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77310 else
77311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77312 for as_dir in $PATH
77313 do
77314 IFS=$as_save_IFS
77315 test -z "$as_dir" && as_dir=.
77316 for ac_exec_ext in '' $ac_executable_extensions; do
77317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77318 ac_cv_prog_DBLATEX="yes"
77319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77320 break 2
77321 fi
77322 done
77323 done
77324 IFS=$as_save_IFS
77325
77326 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77327 fi
77328 fi
77329 DBLATEX=$ac_cv_prog_DBLATEX
77330 if test -n "$DBLATEX"; then
77331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77332 $as_echo "$DBLATEX" >&6; }
77333 else
77334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77335 $as_echo "no" >&6; }
77336 fi
77337
77338
77339 # Extract the first word of "pdflatex", so it can be a program name with args.
77340 set dummy pdflatex; ac_word=$2
77341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77342 $as_echo_n "checking for $ac_word... " >&6; }
77343 if ${ac_cv_prog_PDFLATEX+:} false; then :
77344 $as_echo_n "(cached) " >&6
77345 else
77346 if test -n "$PDFLATEX"; then
77347 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77348 else
77349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77350 for as_dir in $PATH
77351 do
77352 IFS=$as_save_IFS
77353 test -z "$as_dir" && as_dir=.
77354 for ac_exec_ext in '' $ac_executable_extensions; do
77355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77356 ac_cv_prog_PDFLATEX="yes"
77357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77358 break 2
77359 fi
77360 done
77361 done
77362 IFS=$as_save_IFS
77363
77364 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77365 fi
77366 fi
77367 PDFLATEX=$ac_cv_prog_PDFLATEX
77368 if test -n "$PDFLATEX"; then
77369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77370 $as_echo "$PDFLATEX" >&6; }
77371 else
77372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77373 $as_echo "no" >&6; }
77374 fi
77375
77376
77377 if test $ac_cv_prog_DOXYGEN = "yes" &&
77378 test $ac_cv_prog_DOT = "yes" &&
77379 test $ac_cv_prog_XSLTPROC = "yes" &&
77380 test $ac_cv_prog_XMLLINT = "yes" &&
77381 test $ac_cv_prog_DBLATEX = "yes" &&
77382 test $ac_cv_prog_PDFLATEX = "yes"; then
77383 BUILD_PDF_TRUE=
77384 BUILD_PDF_FALSE='#'
77385 else
77386 BUILD_PDF_TRUE='#'
77387 BUILD_PDF_FALSE=
77388 fi
77389
77390
77391 case "$build" in
77392 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77393 * ) glibcxx_include_dir_notparallel=no ;;
77394 esac
77395 if test $glibcxx_include_dir_notparallel = "yes"; then
77396 INCLUDE_DIR_NOTPARALLEL_TRUE=
77397 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77398 else
77399 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77400 INCLUDE_DIR_NOTPARALLEL_FALSE=
77401 fi
77402
77403
77404 # Propagate the target-specific source directories through the build chain.
77405 ATOMICITY_SRCDIR=config/${atomicity_dir}
77406 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77407 ATOMIC_FLAGS=${atomic_flags}
77408 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77409 OS_INC_SRCDIR=config/${os_include_dir}
77410 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77411 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77412 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77413 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77414
77415
77416
77417
77418
77419
77420
77421
77422
77423
77424 # Conditionalize the makefile for this target machine.
77425 tmake_file_=
77426 for f in ${tmake_file}
77427 do
77428 if test -f ${srcdir}/config/$f
77429 then
77430 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77431 fi
77432 done
77433 tmake_file="${tmake_file_}"
77434
77435
77436 # Add CET specific flags if Intel CET is enabled.
77437 # Check whether --enable-cet was given.
77438 if test "${enable_cet+set}" = set; then :
77439 enableval=$enable_cet;
77440 case "$enableval" in
77441 yes|no|auto) ;;
77442 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77443 esac
77444
77445 else
77446 enable_cet=auto
77447 fi
77448
77449
77450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77451 $as_echo_n "checking for CET support... " >&6; }
77452
77453 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77454 case "$host" in
77455 i[34567]86-*-linux* | x86_64-*-linux*)
77456 case "$enable_cet" in
77457 auto)
77458 # Check if target supports multi-byte NOPs
77459 # and if compiler and assembler support CET insn.
77460 cet_save_CFLAGS="$CFLAGS"
77461 CFLAGS="$CFLAGS -fcf-protection"
77462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77463 /* end confdefs.h. */
77464
77465 int
77466 main ()
77467 {
77468
77469 #if !defined(__SSE2__)
77470 #error target does not support multi-byte NOPs
77471 #else
77472 asm ("setssbsy");
77473 #endif
77474
77475 ;
77476 return 0;
77477 }
77478 _ACEOF
77479 if ac_fn_c_try_compile "$LINENO"; then :
77480 enable_cet=yes
77481 else
77482 enable_cet=no
77483 fi
77484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77485 CFLAGS="$cet_save_CFLAGS"
77486 ;;
77487 yes)
77488 # Check if assembler supports CET.
77489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77490 /* end confdefs.h. */
77491
77492 int
77493 main ()
77494 {
77495 asm ("setssbsy");
77496 ;
77497 return 0;
77498 }
77499 _ACEOF
77500 if ac_fn_c_try_compile "$LINENO"; then :
77501
77502 else
77503 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77504 fi
77505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77506 ;;
77507 esac
77508 ;;
77509 *)
77510 enable_cet=no
77511 ;;
77512 esac
77513 if test x$enable_cet = xyes; then
77514 CET_FLAGS="-fcf-protection -mshstk"
77515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77516 $as_echo "yes" >&6; }
77517 else
77518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77519 $as_echo "no" >&6; }
77520 fi
77521
77522 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77523 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77524
77525
77526
77527 # Determine cross-compile flags and AM_CONDITIONALs.
77528 #AC_SUBST(GLIBCXX_IS_NATIVE)
77529 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77530 if test $is_hosted = yes; then
77531 GLIBCXX_HOSTED_TRUE=
77532 GLIBCXX_HOSTED_FALSE='#'
77533 else
77534 GLIBCXX_HOSTED_TRUE='#'
77535 GLIBCXX_HOSTED_FALSE=
77536 fi
77537
77538
77539 if test $enable_libstdcxx_pch = yes; then
77540 GLIBCXX_BUILD_PCH_TRUE=
77541 GLIBCXX_BUILD_PCH_FALSE='#'
77542 else
77543 GLIBCXX_BUILD_PCH_TRUE='#'
77544 GLIBCXX_BUILD_PCH_FALSE=
77545 fi
77546
77547
77548 if test $enable_float128 = yes; then
77549 ENABLE_FLOAT128_TRUE=
77550 ENABLE_FLOAT128_FALSE='#'
77551 else
77552 ENABLE_FLOAT128_TRUE='#'
77553 ENABLE_FLOAT128_FALSE=
77554 fi
77555
77556
77557 if test $enable_libstdcxx_allocator_flag = new; then
77558 ENABLE_ALLOCATOR_NEW_TRUE=
77559 ENABLE_ALLOCATOR_NEW_FALSE='#'
77560 else
77561 ENABLE_ALLOCATOR_NEW_TRUE='#'
77562 ENABLE_ALLOCATOR_NEW_FALSE=
77563 fi
77564
77565
77566 if test $enable_cheaders = c; then
77567 GLIBCXX_C_HEADERS_C_TRUE=
77568 GLIBCXX_C_HEADERS_C_FALSE='#'
77569 else
77570 GLIBCXX_C_HEADERS_C_TRUE='#'
77571 GLIBCXX_C_HEADERS_C_FALSE=
77572 fi
77573
77574
77575 if test $enable_cheaders = c_std; then
77576 GLIBCXX_C_HEADERS_C_STD_TRUE=
77577 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77578 else
77579 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77580 GLIBCXX_C_HEADERS_C_STD_FALSE=
77581 fi
77582
77583
77584 if test $enable_cheaders = c_global; then
77585 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77586 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77587 else
77588 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77589 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77590 fi
77591
77592
77593 if test $c_compatibility = yes; then
77594 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77595 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77596 else
77597 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77598 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77599 fi
77600
77601
77602 if test $enable_libstdcxx_debug = yes; then
77603 GLIBCXX_BUILD_DEBUG_TRUE=
77604 GLIBCXX_BUILD_DEBUG_FALSE='#'
77605 else
77606 GLIBCXX_BUILD_DEBUG_TRUE='#'
77607 GLIBCXX_BUILD_DEBUG_FALSE=
77608 fi
77609
77610
77611 if test $enable_extern_template = yes; then
77612 ENABLE_EXTERN_TEMPLATE_TRUE=
77613 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77614 else
77615 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77616 ENABLE_EXTERN_TEMPLATE_FALSE=
77617 fi
77618
77619
77620 if test $python_mod_dir != no; then
77621 ENABLE_PYTHONDIR_TRUE=
77622 ENABLE_PYTHONDIR_FALSE='#'
77623 else
77624 ENABLE_PYTHONDIR_TRUE='#'
77625 ENABLE_PYTHONDIR_FALSE=
77626 fi
77627
77628
77629 if test $enable_werror = yes; then
77630 ENABLE_WERROR_TRUE=
77631 ENABLE_WERROR_FALSE='#'
77632 else
77633 ENABLE_WERROR_TRUE='#'
77634 ENABLE_WERROR_FALSE=
77635 fi
77636
77637
77638 if test $enable_vtable_verify = yes; then
77639 ENABLE_VTABLE_VERIFY_TRUE=
77640 ENABLE_VTABLE_VERIFY_FALSE='#'
77641 else
77642 ENABLE_VTABLE_VERIFY_TRUE='#'
77643 ENABLE_VTABLE_VERIFY_FALSE=
77644 fi
77645
77646
77647 if test $enable_symvers != no; then
77648 ENABLE_SYMVERS_TRUE=
77649 ENABLE_SYMVERS_FALSE='#'
77650 else
77651 ENABLE_SYMVERS_TRUE='#'
77652 ENABLE_SYMVERS_FALSE=
77653 fi
77654
77655
77656 if test $enable_symvers = gnu; then
77657 ENABLE_SYMVERS_GNU_TRUE=
77658 ENABLE_SYMVERS_GNU_FALSE='#'
77659 else
77660 ENABLE_SYMVERS_GNU_TRUE='#'
77661 ENABLE_SYMVERS_GNU_FALSE=
77662 fi
77663
77664
77665 if test $enable_symvers = gnu-versioned-namespace; then
77666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77667 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77668 else
77669 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77670 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77671 fi
77672
77673
77674 if test $enable_symvers = darwin; then
77675 ENABLE_SYMVERS_DARWIN_TRUE=
77676 ENABLE_SYMVERS_DARWIN_FALSE='#'
77677 else
77678 ENABLE_SYMVERS_DARWIN_TRUE='#'
77679 ENABLE_SYMVERS_DARWIN_FALSE=
77680 fi
77681
77682
77683 if test $enable_symvers = sun; then
77684 ENABLE_SYMVERS_SUN_TRUE=
77685 ENABLE_SYMVERS_SUN_FALSE='#'
77686 else
77687 ENABLE_SYMVERS_SUN_TRUE='#'
77688 ENABLE_SYMVERS_SUN_FALSE=
77689 fi
77690
77691
77692 if test $enable_libstdcxx_visibility = yes; then
77693 ENABLE_VISIBILITY_TRUE=
77694 ENABLE_VISIBILITY_FALSE='#'
77695 else
77696 ENABLE_VISIBILITY_TRUE='#'
77697 ENABLE_VISIBILITY_FALSE=
77698 fi
77699
77700
77701 if test $enable_libstdcxx_dual_abi = yes; then
77702 ENABLE_DUAL_ABI_TRUE=
77703 ENABLE_DUAL_ABI_FALSE='#'
77704 else
77705 ENABLE_DUAL_ABI_TRUE='#'
77706 ENABLE_DUAL_ABI_FALSE=
77707 fi
77708
77709
77710 if test $glibcxx_cxx11_abi = 1; then
77711 ENABLE_CXX11_ABI_TRUE=
77712 ENABLE_CXX11_ABI_FALSE='#'
77713 else
77714 ENABLE_CXX11_ABI_TRUE='#'
77715 ENABLE_CXX11_ABI_FALSE=
77716 fi
77717
77718
77719 if test $ac_ldbl_compat = yes; then
77720 GLIBCXX_LDBL_COMPAT_TRUE=
77721 GLIBCXX_LDBL_COMPAT_FALSE='#'
77722 else
77723 GLIBCXX_LDBL_COMPAT_TRUE='#'
77724 GLIBCXX_LDBL_COMPAT_FALSE=
77725 fi
77726
77727
77728 if test $ac_ldbl_alt128_compat = yes; then
77729 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
77730 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
77731 else
77732 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
77733 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
77734 fi
77735
77736
77737 if test $enable_libstdcxx_filesystem_ts = yes; then
77738 ENABLE_FILESYSTEM_TS_TRUE=
77739 ENABLE_FILESYSTEM_TS_FALSE='#'
77740 else
77741 ENABLE_FILESYSTEM_TS_TRUE='#'
77742 ENABLE_FILESYSTEM_TS_FALSE=
77743 fi
77744
77745
77746
77747
77748 cat >confcache <<\_ACEOF
77749 # This file is a shell script that caches the results of configure
77750 # tests run on this system so they can be shared between configure
77751 # scripts and configure runs, see configure's option --config-cache.
77752 # It is not useful on other systems. If it contains results you don't
77753 # want to keep, you may remove or edit it.
77754 #
77755 # config.status only pays attention to the cache file if you give it
77756 # the --recheck option to rerun configure.
77757 #
77758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77760 # following values.
77761
77762 _ACEOF
77763
77764 # The following way of writing the cache mishandles newlines in values,
77765 # but we know of no workaround that is simple, portable, and efficient.
77766 # So, we kill variables containing newlines.
77767 # Ultrix sh set writes to stderr and can't be redirected directly,
77768 # and sets the high bit in the cache file unless we assign to the vars.
77769 (
77770 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77771 eval ac_val=\$$ac_var
77772 case $ac_val in #(
77773 *${as_nl}*)
77774 case $ac_var in #(
77775 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77776 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77777 esac
77778 case $ac_var in #(
77779 _ | IFS | as_nl) ;; #(
77780 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77781 *) { eval $ac_var=; unset $ac_var;} ;;
77782 esac ;;
77783 esac
77784 done
77785
77786 (set) 2>&1 |
77787 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77788 *${as_nl}ac_space=\ *)
77789 # `set' does not quote correctly, so add quotes: double-quote
77790 # substitution turns \\\\ into \\, and sed turns \\ into \.
77791 sed -n \
77792 "s/'/'\\\\''/g;
77793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77794 ;; #(
77795 *)
77796 # `set' quotes correctly as required by POSIX, so do not add quotes.
77797 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77798 ;;
77799 esac |
77800 sort
77801 ) |
77802 sed '
77803 /^ac_cv_env_/b end
77804 t clear
77805 :clear
77806 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77807 t end
77808 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77809 :end' >>confcache
77810 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77811 if test -w "$cache_file"; then
77812 if test "x$cache_file" != "x/dev/null"; then
77813 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77814 $as_echo "$as_me: updating cache $cache_file" >&6;}
77815 if test ! -f "$cache_file" || test -h "$cache_file"; then
77816 cat confcache >"$cache_file"
77817 else
77818 case $cache_file in #(
77819 */* | ?:*)
77820 mv -f confcache "$cache_file"$$ &&
77821 mv -f "$cache_file"$$ "$cache_file" ;; #(
77822 *)
77823 mv -f confcache "$cache_file" ;;
77824 esac
77825 fi
77826 fi
77827 else
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77829 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77830 fi
77831 fi
77832 rm -f confcache
77833
77834 if test ${multilib} = yes; then
77835 multilib_arg="--enable-multilib"
77836 else
77837 multilib_arg=
77838 fi
77839
77840 # Export all the install information.
77841
77842 glibcxx_toolexecdir=no
77843 glibcxx_toolexeclibdir=no
77844 glibcxx_prefixdir=$prefix
77845
77846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77847 $as_echo_n "checking for gxx-include-dir... " >&6; }
77848
77849 # Check whether --with-gxx-include-dir was given.
77850 if test "${with_gxx_include_dir+set}" = set; then :
77851 withval=$with_gxx_include_dir; case "$withval" in
77852 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77853 no) gxx_include_dir=no ;;
77854 *) gxx_include_dir=$withval ;;
77855 esac
77856 else
77857 gxx_include_dir=no
77858 fi
77859
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77861 $as_echo "$gxx_include_dir" >&6; }
77862
77863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77865 # Check whether --enable-version-specific-runtime-libs was given.
77866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
77867 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77868 yes) version_specific_libs=yes ;;
77869 no) version_specific_libs=no ;;
77870 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77871 esac
77872 else
77873 version_specific_libs=no
77874 fi
77875
77876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77877 $as_echo "$version_specific_libs" >&6; }
77878
77879
77880 # Check whether --with-toolexeclibdir was given.
77881 if test "${with_toolexeclibdir+set}" = set; then :
77882 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
77883 /)
77884 ;;
77885 */)
77886 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
77887 ;;
77888 esac
77889 else
77890 with_toolexeclibdir=no
77891 fi
77892
77893
77894
77895 # Default case for install directory for include files.
77896 if test $version_specific_libs = no && test $gxx_include_dir = no; then
77897 gxx_include_dir='include/c++/${gcc_version}'
77898 if test -n "$with_cross_host" &&
77899 test x"$with_cross_host" != x"no"; then
77900 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77901 else
77902 gxx_include_dir='${prefix}/'"$gxx_include_dir"
77903 fi
77904 fi
77905
77906 # Version-specific runtime libs processing.
77907 if test $version_specific_libs = yes; then
77908 # Need the gcc compiler version to know where to install libraries
77909 # and header files if --enable-version-specific-runtime-libs option
77910 # is selected. FIXME: these variables are misnamed, there are
77911 # no executables installed in _toolexecdir or _toolexeclibdir.
77912 if test x"$gxx_include_dir" = x"no"; then
77913 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77914 fi
77915 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77916 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77917 fi
77918
77919 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77920 # Install a library built with a cross compiler in tooldir, not libdir.
77921 if test x"$glibcxx_toolexecdir" = x"no"; then
77922 if test -n "$with_cross_host" &&
77923 test x"$with_cross_host" != x"no"; then
77924 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77925 case ${with_toolexeclibdir} in
77926 no)
77927 glibcxx_toolexeclibdir='${toolexecdir}/lib'
77928 ;;
77929 *)
77930 glibcxx_toolexeclibdir=${with_toolexeclibdir}
77931 ;;
77932 esac
77933 else
77934 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77935 glibcxx_toolexeclibdir='${libdir}'
77936 fi
77937 multi_os_directory=`$CXX -print-multi-os-directory`
77938 case $multi_os_directory in
77939 .) ;; # Avoid trailing /.
77940 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77941 esac
77942 fi
77943
77944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77945 $as_echo_n "checking for install location... " >&6; }
77946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77947 $as_echo "$gxx_include_dir" >&6; }
77948
77949
77950
77951
77952
77953
77954
77955 # Export all the include and flag information to Makefiles.
77956
77957 # Used for every C++ compile we perform.
77958 GLIBCXX_INCLUDES="\
77959 -I$glibcxx_builddir/include/$host_alias \
77960 -I$glibcxx_builddir/include \
77961 -I$glibcxx_srcdir/libsupc++"
77962
77963 # For Canadian crosses, pick this up too.
77964 if test $CANADIAN = yes; then
77965 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77966 fi
77967
77968 # Stuff in the actual top level. Currently only used by libsupc++ to
77969 # get unwind* headers from the libgcc dir.
77970 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77971 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77972
77973 # Now, export this to all the little Makefiles....
77974
77975
77976
77977
77978 # Optimization flags that are probably a good idea for thrill-seekers. Just
77979 # uncomment the lines below and make, everything else is ready to go...
77980 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
77981 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
77982
77983
77984 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
77985
77986
77987
77988 # Determine what GCC version number to use in filesystem paths.
77989
77990 get_gcc_base_ver="cat"
77991
77992 # Check whether --with-gcc-major-version-only was given.
77993 if test "${with_gcc_major_version_only+set}" = set; then :
77994 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
77995 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
77996 fi
77997
77998 fi
77999
78000
78001
78002
78003 ac_config_files="$ac_config_files Makefile"
78004
78005 ac_config_files="$ac_config_files scripts/testsuite_flags"
78006
78007 ac_config_files="$ac_config_files scripts/extract_symvers"
78008
78009 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78010
78011
78012 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78013 # that multilib installs will end up installed in the correct place.
78014 # The testsuite needs it for multilib-aware ABI baseline files.
78015 # To work around this not being passed down from config-ml.in ->
78016 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78017 # append it here. Only modify Makefiles that have just been created.
78018 #
78019 # Also, get rid of this simulated-VPATH thing that automake does.
78020 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"
78021
78022
78023 ac_config_commands="$ac_config_commands generate-headers"
78024
78025
78026 cat >confcache <<\_ACEOF
78027 # This file is a shell script that caches the results of configure
78028 # tests run on this system so they can be shared between configure
78029 # scripts and configure runs, see configure's option --config-cache.
78030 # It is not useful on other systems. If it contains results you don't
78031 # want to keep, you may remove or edit it.
78032 #
78033 # config.status only pays attention to the cache file if you give it
78034 # the --recheck option to rerun configure.
78035 #
78036 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78037 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78038 # following values.
78039
78040 _ACEOF
78041
78042 # The following way of writing the cache mishandles newlines in values,
78043 # but we know of no workaround that is simple, portable, and efficient.
78044 # So, we kill variables containing newlines.
78045 # Ultrix sh set writes to stderr and can't be redirected directly,
78046 # and sets the high bit in the cache file unless we assign to the vars.
78047 (
78048 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78049 eval ac_val=\$$ac_var
78050 case $ac_val in #(
78051 *${as_nl}*)
78052 case $ac_var in #(
78053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78055 esac
78056 case $ac_var in #(
78057 _ | IFS | as_nl) ;; #(
78058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78059 *) { eval $ac_var=; unset $ac_var;} ;;
78060 esac ;;
78061 esac
78062 done
78063
78064 (set) 2>&1 |
78065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78066 *${as_nl}ac_space=\ *)
78067 # `set' does not quote correctly, so add quotes: double-quote
78068 # substitution turns \\\\ into \\, and sed turns \\ into \.
78069 sed -n \
78070 "s/'/'\\\\''/g;
78071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78072 ;; #(
78073 *)
78074 # `set' quotes correctly as required by POSIX, so do not add quotes.
78075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78076 ;;
78077 esac |
78078 sort
78079 ) |
78080 sed '
78081 /^ac_cv_env_/b end
78082 t clear
78083 :clear
78084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78085 t end
78086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78087 :end' >>confcache
78088 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78089 if test -w "$cache_file"; then
78090 if test "x$cache_file" != "x/dev/null"; then
78091 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78092 $as_echo "$as_me: updating cache $cache_file" >&6;}
78093 if test ! -f "$cache_file" || test -h "$cache_file"; then
78094 cat confcache >"$cache_file"
78095 else
78096 case $cache_file in #(
78097 */* | ?:*)
78098 mv -f confcache "$cache_file"$$ &&
78099 mv -f "$cache_file"$$ "$cache_file" ;; #(
78100 *)
78101 mv -f confcache "$cache_file" ;;
78102 esac
78103 fi
78104 fi
78105 else
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78107 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78108 fi
78109 fi
78110 rm -f confcache
78111
78112 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78113 # Let make expand exec_prefix.
78114 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78115
78116 DEFS=-DHAVE_CONFIG_H
78117
78118 ac_libobjs=
78119 ac_ltlibobjs=
78120 U=
78121 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78122 # 1. Remove the extension, and $U if already installed.
78123 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78124 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78125 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78126 # will be set to the directory where LIBOBJS objects are built.
78127 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78128 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78129 done
78130 LIBOBJS=$ac_libobjs
78131
78132 LTLIBOBJS=$ac_ltlibobjs
78133
78134
78135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78136 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78137 if test -n "$am_sleep_pid"; then
78138 # Hide warnings about reused PIDs.
78139 wait $am_sleep_pid 2>/dev/null
78140 fi
78141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78142 $as_echo "done" >&6; }
78143 if test -n "$EXEEXT"; then
78144 am__EXEEXT_TRUE=
78145 am__EXEEXT_FALSE='#'
78146 else
78147 am__EXEEXT_TRUE='#'
78148 am__EXEEXT_FALSE=
78149 fi
78150
78151 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78152 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78154 fi
78155 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78156 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78158 fi
78159 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78160 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78162 fi
78163 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78164 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78166 fi
78167 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78168 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78170 fi
78171 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78172 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78174 fi
78175 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78176 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78178 fi
78179 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78180 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78182 fi
78183 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78184 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78186 fi
78187 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78188 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78190 fi
78191 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78192 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78194 fi
78195 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78196 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78198 fi
78199 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78200 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78202 fi
78203 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78204 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78206 fi
78207 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78208 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78210 fi
78211 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78212 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78214 fi
78215 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78216 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78218 fi
78219 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78220 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78222 fi
78223 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78224 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78226 fi
78227 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78228 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78230 fi
78231 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78232 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78234 fi
78235 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78236 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78238 fi
78239 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78240 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78242 fi
78243 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78244 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78246 fi
78247 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
78248 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
78249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78250 fi
78251 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78252 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78254 fi
78255 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78256 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78258 fi
78259 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78260 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78262 fi
78263 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78264 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78266 fi
78267 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78268 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78270 fi
78271 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78272 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78274 fi
78275 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78276 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78278 fi
78279 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78280 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78282 fi
78283
78284 : "${CONFIG_STATUS=./config.status}"
78285 ac_write_fail=0
78286 ac_clean_files_save=$ac_clean_files
78287 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78289 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78290 as_write_fail=0
78291 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78292 #! $SHELL
78293 # Generated by $as_me.
78294 # Run this file to recreate the current configuration.
78295 # Compiler output produced by configure, useful for debugging
78296 # configure, is in config.log if it exists.
78297
78298 debug=false
78299 ac_cs_recheck=false
78300 ac_cs_silent=false
78301
78302 SHELL=\${CONFIG_SHELL-$SHELL}
78303 export SHELL
78304 _ASEOF
78305 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78306 ## -------------------- ##
78307 ## M4sh Initialization. ##
78308 ## -------------------- ##
78309
78310 # Be more Bourne compatible
78311 DUALCASE=1; export DUALCASE # for MKS sh
78312 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78313 emulate sh
78314 NULLCMD=:
78315 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78316 # is contrary to our usage. Disable this feature.
78317 alias -g '${1+"$@"}'='"$@"'
78318 setopt NO_GLOB_SUBST
78319 else
78320 case `(set -o) 2>/dev/null` in #(
78321 *posix*) :
78322 set -o posix ;; #(
78323 *) :
78324 ;;
78325 esac
78326 fi
78327
78328
78329 as_nl='
78330 '
78331 export as_nl
78332 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78333 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78335 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78336 # Prefer a ksh shell builtin over an external printf program on Solaris,
78337 # but without wasting forks for bash or zsh.
78338 if test -z "$BASH_VERSION$ZSH_VERSION" \
78339 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78340 as_echo='print -r --'
78341 as_echo_n='print -rn --'
78342 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78343 as_echo='printf %s\n'
78344 as_echo_n='printf %s'
78345 else
78346 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78347 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78348 as_echo_n='/usr/ucb/echo -n'
78349 else
78350 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78351 as_echo_n_body='eval
78352 arg=$1;
78353 case $arg in #(
78354 *"$as_nl"*)
78355 expr "X$arg" : "X\\(.*\\)$as_nl";
78356 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78357 esac;
78358 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78359 '
78360 export as_echo_n_body
78361 as_echo_n='sh -c $as_echo_n_body as_echo'
78362 fi
78363 export as_echo_body
78364 as_echo='sh -c $as_echo_body as_echo'
78365 fi
78366
78367 # The user is always right.
78368 if test "${PATH_SEPARATOR+set}" != set; then
78369 PATH_SEPARATOR=:
78370 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78371 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78372 PATH_SEPARATOR=';'
78373 }
78374 fi
78375
78376
78377 # IFS
78378 # We need space, tab and new line, in precisely that order. Quoting is
78379 # there to prevent editors from complaining about space-tab.
78380 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78381 # splitting by setting IFS to empty value.)
78382 IFS=" "" $as_nl"
78383
78384 # Find who we are. Look in the path if we contain no directory separator.
78385 as_myself=
78386 case $0 in #((
78387 *[\\/]* ) as_myself=$0 ;;
78388 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78389 for as_dir in $PATH
78390 do
78391 IFS=$as_save_IFS
78392 test -z "$as_dir" && as_dir=.
78393 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78394 done
78395 IFS=$as_save_IFS
78396
78397 ;;
78398 esac
78399 # We did not find ourselves, most probably we were run as `sh COMMAND'
78400 # in which case we are not to be found in the path.
78401 if test "x$as_myself" = x; then
78402 as_myself=$0
78403 fi
78404 if test ! -f "$as_myself"; then
78405 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78406 exit 1
78407 fi
78408
78409 # Unset variables that we do not need and which cause bugs (e.g. in
78410 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78411 # suppresses any "Segmentation fault" message there. '((' could
78412 # trigger a bug in pdksh 5.2.14.
78413 for as_var in BASH_ENV ENV MAIL MAILPATH
78414 do eval test x\${$as_var+set} = xset \
78415 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78416 done
78417 PS1='$ '
78418 PS2='> '
78419 PS4='+ '
78420
78421 # NLS nuisances.
78422 LC_ALL=C
78423 export LC_ALL
78424 LANGUAGE=C
78425 export LANGUAGE
78426
78427 # CDPATH.
78428 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78429
78430
78431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78432 # ----------------------------------------
78433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78435 # script with STATUS, using 1 if that was 0.
78436 as_fn_error ()
78437 {
78438 as_status=$1; test $as_status -eq 0 && as_status=1
78439 if test "$4"; then
78440 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78441 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78442 fi
78443 $as_echo "$as_me: error: $2" >&2
78444 as_fn_exit $as_status
78445 } # as_fn_error
78446
78447
78448 # as_fn_set_status STATUS
78449 # -----------------------
78450 # Set $? to STATUS, without forking.
78451 as_fn_set_status ()
78452 {
78453 return $1
78454 } # as_fn_set_status
78455
78456 # as_fn_exit STATUS
78457 # -----------------
78458 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78459 as_fn_exit ()
78460 {
78461 set +e
78462 as_fn_set_status $1
78463 exit $1
78464 } # as_fn_exit
78465
78466 # as_fn_unset VAR
78467 # ---------------
78468 # Portably unset VAR.
78469 as_fn_unset ()
78470 {
78471 { eval $1=; unset $1;}
78472 }
78473 as_unset=as_fn_unset
78474 # as_fn_append VAR VALUE
78475 # ----------------------
78476 # Append the text in VALUE to the end of the definition contained in VAR. Take
78477 # advantage of any shell optimizations that allow amortized linear growth over
78478 # repeated appends, instead of the typical quadratic growth present in naive
78479 # implementations.
78480 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78481 eval 'as_fn_append ()
78482 {
78483 eval $1+=\$2
78484 }'
78485 else
78486 as_fn_append ()
78487 {
78488 eval $1=\$$1\$2
78489 }
78490 fi # as_fn_append
78491
78492 # as_fn_arith ARG...
78493 # ------------------
78494 # Perform arithmetic evaluation on the ARGs, and store the result in the
78495 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78496 # must be portable across $(()) and expr.
78497 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78498 eval 'as_fn_arith ()
78499 {
78500 as_val=$(( $* ))
78501 }'
78502 else
78503 as_fn_arith ()
78504 {
78505 as_val=`expr "$@" || test $? -eq 1`
78506 }
78507 fi # as_fn_arith
78508
78509
78510 if expr a : '\(a\)' >/dev/null 2>&1 &&
78511 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78512 as_expr=expr
78513 else
78514 as_expr=false
78515 fi
78516
78517 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78518 as_basename=basename
78519 else
78520 as_basename=false
78521 fi
78522
78523 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78524 as_dirname=dirname
78525 else
78526 as_dirname=false
78527 fi
78528
78529 as_me=`$as_basename -- "$0" ||
78530 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78531 X"$0" : 'X\(//\)$' \| \
78532 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78533 $as_echo X/"$0" |
78534 sed '/^.*\/\([^/][^/]*\)\/*$/{
78535 s//\1/
78536 q
78537 }
78538 /^X\/\(\/\/\)$/{
78539 s//\1/
78540 q
78541 }
78542 /^X\/\(\/\).*/{
78543 s//\1/
78544 q
78545 }
78546 s/.*/./; q'`
78547
78548 # Avoid depending upon Character Ranges.
78549 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78550 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78551 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78552 as_cr_digits='0123456789'
78553 as_cr_alnum=$as_cr_Letters$as_cr_digits
78554
78555 ECHO_C= ECHO_N= ECHO_T=
78556 case `echo -n x` in #(((((
78557 -n*)
78558 case `echo 'xy\c'` in
78559 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78560 xy) ECHO_C='\c';;
78561 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78562 ECHO_T=' ';;
78563 esac;;
78564 *)
78565 ECHO_N='-n';;
78566 esac
78567
78568 rm -f conf$$ conf$$.exe conf$$.file
78569 if test -d conf$$.dir; then
78570 rm -f conf$$.dir/conf$$.file
78571 else
78572 rm -f conf$$.dir
78573 mkdir conf$$.dir 2>/dev/null
78574 fi
78575 if (echo >conf$$.file) 2>/dev/null; then
78576 if ln -s conf$$.file conf$$ 2>/dev/null; then
78577 as_ln_s='ln -s'
78578 # ... but there are two gotchas:
78579 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78580 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78581 # In both cases, we have to default to `cp -pR'.
78582 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78583 as_ln_s='cp -pR'
78584 elif ln conf$$.file conf$$ 2>/dev/null; then
78585 as_ln_s=ln
78586 else
78587 as_ln_s='cp -pR'
78588 fi
78589 else
78590 as_ln_s='cp -pR'
78591 fi
78592 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78593 rmdir conf$$.dir 2>/dev/null
78594
78595
78596 # as_fn_mkdir_p
78597 # -------------
78598 # Create "$as_dir" as a directory, including parents if necessary.
78599 as_fn_mkdir_p ()
78600 {
78601
78602 case $as_dir in #(
78603 -*) as_dir=./$as_dir;;
78604 esac
78605 test -d "$as_dir" || eval $as_mkdir_p || {
78606 as_dirs=
78607 while :; do
78608 case $as_dir in #(
78609 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78610 *) as_qdir=$as_dir;;
78611 esac
78612 as_dirs="'$as_qdir' $as_dirs"
78613 as_dir=`$as_dirname -- "$as_dir" ||
78614 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78615 X"$as_dir" : 'X\(//\)[^/]' \| \
78616 X"$as_dir" : 'X\(//\)$' \| \
78617 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78618 $as_echo X"$as_dir" |
78619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78620 s//\1/
78621 q
78622 }
78623 /^X\(\/\/\)[^/].*/{
78624 s//\1/
78625 q
78626 }
78627 /^X\(\/\/\)$/{
78628 s//\1/
78629 q
78630 }
78631 /^X\(\/\).*/{
78632 s//\1/
78633 q
78634 }
78635 s/.*/./; q'`
78636 test -d "$as_dir" && break
78637 done
78638 test -z "$as_dirs" || eval "mkdir $as_dirs"
78639 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78640
78641
78642 } # as_fn_mkdir_p
78643 if mkdir -p . 2>/dev/null; then
78644 as_mkdir_p='mkdir -p "$as_dir"'
78645 else
78646 test -d ./-p && rmdir ./-p
78647 as_mkdir_p=false
78648 fi
78649
78650
78651 # as_fn_executable_p FILE
78652 # -----------------------
78653 # Test if FILE is an executable regular file.
78654 as_fn_executable_p ()
78655 {
78656 test -f "$1" && test -x "$1"
78657 } # as_fn_executable_p
78658 as_test_x='test -x'
78659 as_executable_p=as_fn_executable_p
78660
78661 # Sed expression to map a string onto a valid CPP name.
78662 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78663
78664 # Sed expression to map a string onto a valid variable name.
78665 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78666
78667
78668 exec 6>&1
78669 ## ----------------------------------- ##
78670 ## Main body of $CONFIG_STATUS script. ##
78671 ## ----------------------------------- ##
78672 _ASEOF
78673 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78674
78675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78676 # Save the log message, to keep $0 and so on meaningful, and to
78677 # report actual input values of CONFIG_FILES etc. instead of their
78678 # values after options handling.
78679 ac_log="
78680 This file was extended by package-unused $as_me version-unused, which was
78681 generated by GNU Autoconf 2.69. Invocation command line was
78682
78683 CONFIG_FILES = $CONFIG_FILES
78684 CONFIG_HEADERS = $CONFIG_HEADERS
78685 CONFIG_LINKS = $CONFIG_LINKS
78686 CONFIG_COMMANDS = $CONFIG_COMMANDS
78687 $ $0 $@
78688
78689 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78690 "
78691
78692 _ACEOF
78693
78694 case $ac_config_files in *"
78695 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78696 esac
78697
78698 case $ac_config_headers in *"
78699 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78700 esac
78701
78702
78703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78704 # Files that config.status was made for.
78705 config_files="$ac_config_files"
78706 config_headers="$ac_config_headers"
78707 config_commands="$ac_config_commands"
78708
78709 _ACEOF
78710
78711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78712 ac_cs_usage="\
78713 \`$as_me' instantiates files and other configuration actions
78714 from templates according to the current configuration. Unless the files
78715 and actions are specified as TAGs, all are instantiated by default.
78716
78717 Usage: $0 [OPTION]... [TAG]...
78718
78719 -h, --help print this help, then exit
78720 -V, --version print version number and configuration settings, then exit
78721 --config print configuration, then exit
78722 -q, --quiet, --silent
78723 do not print progress messages
78724 -d, --debug don't remove temporary files
78725 --recheck update $as_me by reconfiguring in the same conditions
78726 --file=FILE[:TEMPLATE]
78727 instantiate the configuration file FILE
78728 --header=FILE[:TEMPLATE]
78729 instantiate the configuration header FILE
78730
78731 Configuration files:
78732 $config_files
78733
78734 Configuration headers:
78735 $config_headers
78736
78737 Configuration commands:
78738 $config_commands
78739
78740 Report bugs to the package provider."
78741
78742 _ACEOF
78743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78744 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78745 ac_cs_version="\\
78746 package-unused config.status version-unused
78747 configured by $0, generated by GNU Autoconf 2.69,
78748 with options \\"\$ac_cs_config\\"
78749
78750 Copyright (C) 2012 Free Software Foundation, Inc.
78751 This config.status script is free software; the Free Software Foundation
78752 gives unlimited permission to copy, distribute and modify it."
78753
78754 ac_pwd='$ac_pwd'
78755 srcdir='$srcdir'
78756 INSTALL='$INSTALL'
78757 MKDIR_P='$MKDIR_P'
78758 AWK='$AWK'
78759 test -n "\$AWK" || AWK=awk
78760 _ACEOF
78761
78762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78763 # The default lists apply if the user does not specify any file.
78764 ac_need_defaults=:
78765 while test $# != 0
78766 do
78767 case $1 in
78768 --*=?*)
78769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78770 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78771 ac_shift=:
78772 ;;
78773 --*=)
78774 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78775 ac_optarg=
78776 ac_shift=:
78777 ;;
78778 *)
78779 ac_option=$1
78780 ac_optarg=$2
78781 ac_shift=shift
78782 ;;
78783 esac
78784
78785 case $ac_option in
78786 # Handling of the options.
78787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78788 ac_cs_recheck=: ;;
78789 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78790 $as_echo "$ac_cs_version"; exit ;;
78791 --config | --confi | --conf | --con | --co | --c )
78792 $as_echo "$ac_cs_config"; exit ;;
78793 --debug | --debu | --deb | --de | --d | -d )
78794 debug=: ;;
78795 --file | --fil | --fi | --f )
78796 $ac_shift
78797 case $ac_optarg in
78798 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78799 '') as_fn_error $? "missing file argument" ;;
78800 esac
78801 as_fn_append CONFIG_FILES " '$ac_optarg'"
78802 ac_need_defaults=false;;
78803 --header | --heade | --head | --hea )
78804 $ac_shift
78805 case $ac_optarg in
78806 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78807 esac
78808 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78809 ac_need_defaults=false;;
78810 --he | --h)
78811 # Conflict between --help and --header
78812 as_fn_error $? "ambiguous option: \`$1'
78813 Try \`$0 --help' for more information.";;
78814 --help | --hel | -h )
78815 $as_echo "$ac_cs_usage"; exit ;;
78816 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78817 | -silent | --silent | --silen | --sile | --sil | --si | --s)
78818 ac_cs_silent=: ;;
78819
78820 # This is an error.
78821 -*) as_fn_error $? "unrecognized option: \`$1'
78822 Try \`$0 --help' for more information." ;;
78823
78824 *) as_fn_append ac_config_targets " $1"
78825 ac_need_defaults=false ;;
78826
78827 esac
78828 shift
78829 done
78830
78831 ac_configure_extra_args=
78832
78833 if $ac_cs_silent; then
78834 exec 6>/dev/null
78835 ac_configure_extra_args="$ac_configure_extra_args --silent"
78836 fi
78837
78838 _ACEOF
78839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78840 if \$ac_cs_recheck; then
78841 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78842 shift
78843 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78844 CONFIG_SHELL='$SHELL'
78845 export CONFIG_SHELL
78846 exec "\$@"
78847 fi
78848
78849 _ACEOF
78850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78851 exec 5>>config.log
78852 {
78853 echo
78854 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78855 ## Running $as_me. ##
78856 _ASBOX
78857 $as_echo "$ac_log"
78858 } >&5
78859
78860 _ACEOF
78861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78862 #
78863 # INIT-COMMANDS
78864 #
78865
78866 srcdir="$srcdir"
78867 host="$host"
78868 target="$target"
78869 with_multisubdir="$with_multisubdir"
78870 with_multisrctop="$with_multisrctop"
78871 with_target_subdir="$with_target_subdir"
78872 ac_configure_args="${multilib_arg} ${ac_configure_args}"
78873 multi_basedir="$multi_basedir"
78874 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78875 CC="$CC"
78876 CXX="$CXX"
78877 GFORTRAN="$GFORTRAN"
78878 GDC="$GDC"
78879
78880
78881 # The HP-UX ksh and POSIX shell print the target directory to stdout
78882 # if CDPATH is set.
78883 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78884
78885 sed_quote_subst='$sed_quote_subst'
78886 double_quote_subst='$double_quote_subst'
78887 delay_variable_subst='$delay_variable_subst'
78888 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78889 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78890 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78891 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78892 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78893 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78894 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78895 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78896 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78897 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78898 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78899 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78900 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78901 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78902 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78903 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78904 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78905 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78906 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78907 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78908 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78909 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78910 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78911 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78912 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78913 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78914 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78915 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78916 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78917 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78918 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78919 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78920 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78921 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78922 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78923 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78924 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78925 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78926 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78927 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78928 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78929 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78930 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78931 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78932 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78933 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78934 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78935 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78936 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"`'
78937 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78938 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78939 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78940 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78941 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78942 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78943 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78944 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78945 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78946 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78947 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78948 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78949 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78950 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78951 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78952 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78953 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78954 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78955 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78956 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78957 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78958 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78959 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78960 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78961 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78962 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78963 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78964 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78965 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78966 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78967 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78968 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78969 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78970 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78971 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78972 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78973 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78974 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78975 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78976 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78977 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78978 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78979 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78980 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78981 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78982 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78983 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78984 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
78985 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
78986 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
78987 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
78988 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
78989 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
78990 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
78991 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
78992 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
78993 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
78994 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
78995 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78996 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78997 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
78998 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
78999 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79000 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79001 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79002 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79003 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79004 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79005 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79006 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79007 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79008 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79009 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79010 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79011 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79012 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79013 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79014 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79015 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79016 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79017 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79018 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79019 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79020 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79021 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79022 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79023 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79024 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79025 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79026 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79027 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79028 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79029 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79030 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79031 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79032 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79033 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79034 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79035 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79036 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79037 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79038 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79039 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79040 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79041 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79042 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79043 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79044 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79045 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79046 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79047 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79048 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79049 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79050 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79051 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79052 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79053 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79054 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79055 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79056 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79057 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79058 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79059 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79060 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79061 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79062 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79063
79064 LTCC='$LTCC'
79065 LTCFLAGS='$LTCFLAGS'
79066 compiler='$compiler_DEFAULT'
79067
79068 # A function that is used when there is no print builtin or printf.
79069 func_fallback_echo ()
79070 {
79071 eval 'cat <<_LTECHO_EOF
79072 \$1
79073 _LTECHO_EOF'
79074 }
79075
79076 # Quote evaled strings.
79077 for var in SHELL \
79078 ECHO \
79079 SED \
79080 GREP \
79081 EGREP \
79082 FGREP \
79083 LD \
79084 NM \
79085 LN_S \
79086 lt_SP2NL \
79087 lt_NL2SP \
79088 reload_flag \
79089 OBJDUMP \
79090 deplibs_check_method \
79091 file_magic_cmd \
79092 AR \
79093 AR_FLAGS \
79094 STRIP \
79095 RANLIB \
79096 CC \
79097 CFLAGS \
79098 compiler \
79099 lt_cv_sys_global_symbol_pipe \
79100 lt_cv_sys_global_symbol_to_cdecl \
79101 lt_cv_sys_global_symbol_to_c_name_address \
79102 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79103 lt_prog_compiler_no_builtin_flag \
79104 lt_prog_compiler_wl \
79105 lt_prog_compiler_pic \
79106 lt_prog_compiler_static \
79107 lt_cv_prog_compiler_c_o \
79108 need_locks \
79109 DSYMUTIL \
79110 NMEDIT \
79111 LIPO \
79112 OTOOL \
79113 OTOOL64 \
79114 shrext_cmds \
79115 export_dynamic_flag_spec \
79116 whole_archive_flag_spec \
79117 compiler_needs_object \
79118 with_gnu_ld \
79119 allow_undefined_flag \
79120 no_undefined_flag \
79121 hardcode_libdir_flag_spec \
79122 hardcode_libdir_flag_spec_ld \
79123 hardcode_libdir_separator \
79124 fix_srcfile_path \
79125 exclude_expsyms \
79126 include_expsyms \
79127 file_list_spec \
79128 variables_saved_for_relink \
79129 libname_spec \
79130 library_names_spec \
79131 soname_spec \
79132 install_override_mode \
79133 finish_eval \
79134 old_striplib \
79135 striplib \
79136 compiler_lib_search_dirs \
79137 predep_objects \
79138 postdep_objects \
79139 predeps \
79140 postdeps \
79141 compiler_lib_search_path \
79142 LD_CXX \
79143 reload_flag_CXX \
79144 compiler_CXX \
79145 lt_prog_compiler_no_builtin_flag_CXX \
79146 lt_prog_compiler_wl_CXX \
79147 lt_prog_compiler_pic_CXX \
79148 lt_prog_compiler_static_CXX \
79149 lt_cv_prog_compiler_c_o_CXX \
79150 export_dynamic_flag_spec_CXX \
79151 whole_archive_flag_spec_CXX \
79152 compiler_needs_object_CXX \
79153 with_gnu_ld_CXX \
79154 allow_undefined_flag_CXX \
79155 no_undefined_flag_CXX \
79156 hardcode_libdir_flag_spec_CXX \
79157 hardcode_libdir_flag_spec_ld_CXX \
79158 hardcode_libdir_separator_CXX \
79159 fix_srcfile_path_CXX \
79160 exclude_expsyms_CXX \
79161 include_expsyms_CXX \
79162 file_list_spec_CXX \
79163 compiler_lib_search_dirs_CXX \
79164 predep_objects_CXX \
79165 postdep_objects_CXX \
79166 predeps_CXX \
79167 postdeps_CXX \
79168 compiler_lib_search_path_CXX; do
79169 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79170 *[\\\\\\\`\\"\\\$]*)
79171 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79172 ;;
79173 *)
79174 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79175 ;;
79176 esac
79177 done
79178
79179 # Double-quote double-evaled strings.
79180 for var in reload_cmds \
79181 old_postinstall_cmds \
79182 old_postuninstall_cmds \
79183 old_archive_cmds \
79184 extract_expsyms_cmds \
79185 old_archive_from_new_cmds \
79186 old_archive_from_expsyms_cmds \
79187 archive_cmds \
79188 archive_expsym_cmds \
79189 module_cmds \
79190 module_expsym_cmds \
79191 export_symbols_cmds \
79192 prelink_cmds \
79193 postinstall_cmds \
79194 postuninstall_cmds \
79195 finish_cmds \
79196 sys_lib_search_path_spec \
79197 sys_lib_dlsearch_path_spec \
79198 reload_cmds_CXX \
79199 old_archive_cmds_CXX \
79200 old_archive_from_new_cmds_CXX \
79201 old_archive_from_expsyms_cmds_CXX \
79202 archive_cmds_CXX \
79203 archive_expsym_cmds_CXX \
79204 module_cmds_CXX \
79205 module_expsym_cmds_CXX \
79206 export_symbols_cmds_CXX \
79207 prelink_cmds_CXX; do
79208 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79209 *[\\\\\\\`\\"\\\$]*)
79210 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79211 ;;
79212 *)
79213 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79214 ;;
79215 esac
79216 done
79217
79218 ac_aux_dir='$ac_aux_dir'
79219 xsi_shell='$xsi_shell'
79220 lt_shell_append='$lt_shell_append'
79221
79222 # See if we are running on zsh, and set the options which allow our
79223 # commands through without removal of \ escapes INIT.
79224 if test -n "\${ZSH_VERSION+set}" ; then
79225 setopt NO_GLOB_SUBST
79226 fi
79227
79228
79229 PACKAGE='$PACKAGE'
79230 VERSION='$VERSION'
79231 TIMESTAMP='$TIMESTAMP'
79232 RM='$RM'
79233 ofile='$ofile'
79234
79235
79236
79237
79238
79239
79240 GCC="$GCC"
79241 CC="$CC"
79242 acx_cv_header_stdint="$acx_cv_header_stdint"
79243 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79244 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79245 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79246 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79247 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79248 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79249 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79250 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79251 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79252 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79253 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79254 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79255 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79256
79257
79258 _ACEOF
79259
79260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79261
79262 # Handling of arguments.
79263 for ac_config_target in $ac_config_targets
79264 do
79265 case $ac_config_target in
79266 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79267 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79268 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79269 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79270 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79271 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79272 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79273 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79274 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79275 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79276 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79277 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79278 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79279 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79280 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79281 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79282 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79283 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79284 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79285 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79286 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79287
79288 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79289 esac
79290 done
79291
79292
79293 # If the user did not use the arguments to specify the items to instantiate,
79294 # then the envvar interface is used. Set only those that are not.
79295 # We use the long form for the default assignment because of an extremely
79296 # bizarre bug on SunOS 4.1.3.
79297 if $ac_need_defaults; then
79298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79299 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79301 fi
79302
79303 # Have a temporary directory for convenience. Make it in the build tree
79304 # simply because there is no reason against having it here, and in addition,
79305 # creating and moving files from /tmp can sometimes cause problems.
79306 # Hook for its removal unless debugging.
79307 # Note that there is a small window in which the directory will not be cleaned:
79308 # after its creation but before its name has been assigned to `$tmp'.
79309 $debug ||
79310 {
79311 tmp= ac_tmp=
79312 trap 'exit_status=$?
79313 : "${ac_tmp:=$tmp}"
79314 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79315 ' 0
79316 trap 'as_fn_exit 1' 1 2 13 15
79317 }
79318 # Create a (secure) tmp directory for tmp files.
79319
79320 {
79321 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79322 test -d "$tmp"
79323 } ||
79324 {
79325 tmp=./conf$$-$RANDOM
79326 (umask 077 && mkdir "$tmp")
79327 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79328 ac_tmp=$tmp
79329
79330 # Set up the scripts for CONFIG_FILES section.
79331 # No need to generate them if there are no CONFIG_FILES.
79332 # This happens for instance with `./config.status config.h'.
79333 if test -n "$CONFIG_FILES"; then
79334
79335
79336 ac_cr=`echo X | tr X '\015'`
79337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79338 # But we know of no other shell where ac_cr would be empty at this
79339 # point, so we can use a bashism as a fallback.
79340 if test "x$ac_cr" = x; then
79341 eval ac_cr=\$\'\\r\'
79342 fi
79343 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79345 ac_cs_awk_cr='\\r'
79346 else
79347 ac_cs_awk_cr=$ac_cr
79348 fi
79349
79350 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79351 _ACEOF
79352
79353
79354 {
79355 echo "cat >conf$$subs.awk <<_ACEOF" &&
79356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79357 echo "_ACEOF"
79358 } >conf$$subs.sh ||
79359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79361 ac_delim='%!_!# '
79362 for ac_last_try in false false false false false :; do
79363 . ./conf$$subs.sh ||
79364 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79365
79366 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79367 if test $ac_delim_n = $ac_delim_num; then
79368 break
79369 elif $ac_last_try; then
79370 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79371 else
79372 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79373 fi
79374 done
79375 rm -f conf$$subs.sh
79376
79377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79378 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79379 _ACEOF
79380 sed -n '
79381 h
79382 s/^/S["/; s/!.*/"]=/
79383 p
79384 g
79385 s/^[^!]*!//
79386 :repl
79387 t repl
79388 s/'"$ac_delim"'$//
79389 t delim
79390 :nl
79391 h
79392 s/\(.\{148\}\)..*/\1/
79393 t more1
79394 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79395 p
79396 n
79397 b repl
79398 :more1
79399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79400 p
79401 g
79402 s/.\{148\}//
79403 t nl
79404 :delim
79405 h
79406 s/\(.\{148\}\)..*/\1/
79407 t more2
79408 s/["\\]/\\&/g; s/^/"/; s/$/"/
79409 p
79410 b
79411 :more2
79412 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79413 p
79414 g
79415 s/.\{148\}//
79416 t delim
79417 ' <conf$$subs.awk | sed '
79418 /^[^""]/{
79419 N
79420 s/\n//
79421 }
79422 ' >>$CONFIG_STATUS || ac_write_fail=1
79423 rm -f conf$$subs.awk
79424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79425 _ACAWK
79426 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79427 for (key in S) S_is_set[key] = 1
79428 FS = "\a"
79429
79430 }
79431 {
79432 line = $ 0
79433 nfields = split(line, field, "@")
79434 substed = 0
79435 len = length(field[1])
79436 for (i = 2; i < nfields; i++) {
79437 key = field[i]
79438 keylen = length(key)
79439 if (S_is_set[key]) {
79440 value = S[key]
79441 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79442 len += length(value) + length(field[++i])
79443 substed = 1
79444 } else
79445 len += 1 + keylen
79446 }
79447
79448 print line
79449 }
79450
79451 _ACAWK
79452 _ACEOF
79453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79454 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79455 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79456 else
79457 cat
79458 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79459 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79460 _ACEOF
79461
79462 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79463 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79464 # trailing colons and then remove the whole line if VPATH becomes empty
79465 # (actually we leave an empty line to preserve line numbers).
79466 if test "x$srcdir" = x.; then
79467 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79468 h
79469 s///
79470 s/^/:/
79471 s/[ ]*$/:/
79472 s/:\$(srcdir):/:/g
79473 s/:\${srcdir}:/:/g
79474 s/:@srcdir@:/:/g
79475 s/^:*//
79476 s/:*$//
79477 x
79478 s/\(=[ ]*\).*/\1/
79479 G
79480 s/\n//
79481 s/^[^=]*=[ ]*$//
79482 }'
79483 fi
79484
79485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79486 fi # test -n "$CONFIG_FILES"
79487
79488 # Set up the scripts for CONFIG_HEADERS section.
79489 # No need to generate them if there are no CONFIG_HEADERS.
79490 # This happens for instance with `./config.status Makefile'.
79491 if test -n "$CONFIG_HEADERS"; then
79492 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79493 BEGIN {
79494 _ACEOF
79495
79496 # Transform confdefs.h into an awk script `defines.awk', embedded as
79497 # here-document in config.status, that substitutes the proper values into
79498 # config.h.in to produce config.h.
79499
79500 # Create a delimiter string that does not exist in confdefs.h, to ease
79501 # handling of long lines.
79502 ac_delim='%!_!# '
79503 for ac_last_try in false false :; do
79504 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79505 if test -z "$ac_tt"; then
79506 break
79507 elif $ac_last_try; then
79508 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79509 else
79510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79511 fi
79512 done
79513
79514 # For the awk script, D is an array of macro values keyed by name,
79515 # likewise P contains macro parameters if any. Preserve backslash
79516 # newline sequences.
79517
79518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79519 sed -n '
79520 s/.\{148\}/&'"$ac_delim"'/g
79521 t rset
79522 :rset
79523 s/^[ ]*#[ ]*define[ ][ ]*/ /
79524 t def
79525 d
79526 :def
79527 s/\\$//
79528 t bsnl
79529 s/["\\]/\\&/g
79530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79531 D["\1"]=" \3"/p
79532 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79533 d
79534 :bsnl
79535 s/["\\]/\\&/g
79536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79537 D["\1"]=" \3\\\\\\n"\\/p
79538 t cont
79539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79540 t cont
79541 d
79542 :cont
79543 n
79544 s/.\{148\}/&'"$ac_delim"'/g
79545 t clear
79546 :clear
79547 s/\\$//
79548 t bsnlc
79549 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79550 d
79551 :bsnlc
79552 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79553 b cont
79554 ' <confdefs.h | sed '
79555 s/'"$ac_delim"'/"\\\
79556 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79557
79558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79559 for (key in D) D_is_set[key] = 1
79560 FS = "\a"
79561 }
79562 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79563 line = \$ 0
79564 split(line, arg, " ")
79565 if (arg[1] == "#") {
79566 defundef = arg[2]
79567 mac1 = arg[3]
79568 } else {
79569 defundef = substr(arg[1], 2)
79570 mac1 = arg[2]
79571 }
79572 split(mac1, mac2, "(") #)
79573 macro = mac2[1]
79574 prefix = substr(line, 1, index(line, defundef) - 1)
79575 if (D_is_set[macro]) {
79576 # Preserve the white space surrounding the "#".
79577 print prefix "define", macro P[macro] D[macro]
79578 next
79579 } else {
79580 # Replace #undef with comments. This is necessary, for example,
79581 # in the case of _POSIX_SOURCE, which is predefined and required
79582 # on some systems where configure will not decide to define it.
79583 if (defundef == "undef") {
79584 print "/*", prefix defundef, macro, "*/"
79585 next
79586 }
79587 }
79588 }
79589 { print }
79590 _ACAWK
79591 _ACEOF
79592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79593 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79594 fi # test -n "$CONFIG_HEADERS"
79595
79596
79597 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79598 shift
79599 for ac_tag
79600 do
79601 case $ac_tag in
79602 :[FHLC]) ac_mode=$ac_tag; continue;;
79603 esac
79604 case $ac_mode$ac_tag in
79605 :[FHL]*:*);;
79606 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79607 :[FH]-) ac_tag=-:-;;
79608 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79609 esac
79610 ac_save_IFS=$IFS
79611 IFS=:
79612 set x $ac_tag
79613 IFS=$ac_save_IFS
79614 shift
79615 ac_file=$1
79616 shift
79617
79618 case $ac_mode in
79619 :L) ac_source=$1;;
79620 :[FH])
79621 ac_file_inputs=
79622 for ac_f
79623 do
79624 case $ac_f in
79625 -) ac_f="$ac_tmp/stdin";;
79626 *) # Look for the file first in the build tree, then in the source tree
79627 # (if the path is not absolute). The absolute path cannot be DOS-style,
79628 # because $ac_f cannot contain `:'.
79629 test -f "$ac_f" ||
79630 case $ac_f in
79631 [\\/$]*) false;;
79632 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79633 esac ||
79634 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79635 esac
79636 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79637 as_fn_append ac_file_inputs " '$ac_f'"
79638 done
79639
79640 # Let's still pretend it is `configure' which instantiates (i.e., don't
79641 # use $as_me), people would be surprised to read:
79642 # /* config.h. Generated by config.status. */
79643 configure_input='Generated from '`
79644 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79645 `' by configure.'
79646 if test x"$ac_file" != x-; then
79647 configure_input="$ac_file. $configure_input"
79648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79649 $as_echo "$as_me: creating $ac_file" >&6;}
79650 fi
79651 # Neutralize special characters interpreted by sed in replacement strings.
79652 case $configure_input in #(
79653 *\&* | *\|* | *\\* )
79654 ac_sed_conf_input=`$as_echo "$configure_input" |
79655 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79656 *) ac_sed_conf_input=$configure_input;;
79657 esac
79658
79659 case $ac_tag in
79660 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79662 esac
79663 ;;
79664 esac
79665
79666 ac_dir=`$as_dirname -- "$ac_file" ||
79667 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79668 X"$ac_file" : 'X\(//\)[^/]' \| \
79669 X"$ac_file" : 'X\(//\)$' \| \
79670 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79671 $as_echo X"$ac_file" |
79672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79673 s//\1/
79674 q
79675 }
79676 /^X\(\/\/\)[^/].*/{
79677 s//\1/
79678 q
79679 }
79680 /^X\(\/\/\)$/{
79681 s//\1/
79682 q
79683 }
79684 /^X\(\/\).*/{
79685 s//\1/
79686 q
79687 }
79688 s/.*/./; q'`
79689 as_dir="$ac_dir"; as_fn_mkdir_p
79690 ac_builddir=.
79691
79692 case "$ac_dir" in
79693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79694 *)
79695 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79696 # A ".." for each directory in $ac_dir_suffix.
79697 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79698 case $ac_top_builddir_sub in
79699 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79700 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79701 esac ;;
79702 esac
79703 ac_abs_top_builddir=$ac_pwd
79704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79705 # for backward compatibility:
79706 ac_top_builddir=$ac_top_build_prefix
79707
79708 case $srcdir in
79709 .) # We are building in place.
79710 ac_srcdir=.
79711 ac_top_srcdir=$ac_top_builddir_sub
79712 ac_abs_top_srcdir=$ac_pwd ;;
79713 [\\/]* | ?:[\\/]* ) # Absolute name.
79714 ac_srcdir=$srcdir$ac_dir_suffix;
79715 ac_top_srcdir=$srcdir
79716 ac_abs_top_srcdir=$srcdir ;;
79717 *) # Relative name.
79718 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79719 ac_top_srcdir=$ac_top_build_prefix$srcdir
79720 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79721 esac
79722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79723
79724
79725 case $ac_mode in
79726 :F)
79727 #
79728 # CONFIG_FILE
79729 #
79730
79731 case $INSTALL in
79732 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79733 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79734 esac
79735 ac_MKDIR_P=$MKDIR_P
79736 case $MKDIR_P in
79737 [\\/$]* | ?:[\\/]* ) ;;
79738 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79739 esac
79740 _ACEOF
79741
79742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79743 # If the template does not know about datarootdir, expand it.
79744 # FIXME: This hack should be removed a few years after 2.60.
79745 ac_datarootdir_hack=; ac_datarootdir_seen=
79746 ac_sed_dataroot='
79747 /datarootdir/ {
79748 p
79749 q
79750 }
79751 /@datadir@/p
79752 /@docdir@/p
79753 /@infodir@/p
79754 /@localedir@/p
79755 /@mandir@/p'
79756 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79757 *datarootdir*) ac_datarootdir_seen=yes;;
79758 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79760 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79761 _ACEOF
79762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79763 ac_datarootdir_hack='
79764 s&@datadir@&$datadir&g
79765 s&@docdir@&$docdir&g
79766 s&@infodir@&$infodir&g
79767 s&@localedir@&$localedir&g
79768 s&@mandir@&$mandir&g
79769 s&\\\${datarootdir}&$datarootdir&g' ;;
79770 esac
79771 _ACEOF
79772
79773 # Neutralize VPATH when `$srcdir' = `.'.
79774 # Shell code in configure.ac might set extrasub.
79775 # FIXME: do we really want to maintain this feature?
79776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79777 ac_sed_extra="$ac_vpsub
79778 $extrasub
79779 _ACEOF
79780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79781 :t
79782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79783 s|@configure_input@|$ac_sed_conf_input|;t t
79784 s&@top_builddir@&$ac_top_builddir_sub&;t t
79785 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79786 s&@srcdir@&$ac_srcdir&;t t
79787 s&@abs_srcdir@&$ac_abs_srcdir&;t t
79788 s&@top_srcdir@&$ac_top_srcdir&;t t
79789 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79790 s&@builddir@&$ac_builddir&;t t
79791 s&@abs_builddir@&$ac_abs_builddir&;t t
79792 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79793 s&@INSTALL@&$ac_INSTALL&;t t
79794 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79795 $ac_datarootdir_hack
79796 "
79797 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79798 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79799
79800 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79801 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79802 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
79803 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79805 which seems to be undefined. Please make sure it is defined" >&5
79806 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79807 which seems to be undefined. Please make sure it is defined" >&2;}
79808
79809 rm -f "$ac_tmp/stdin"
79810 case $ac_file in
79811 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79812 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79813 esac \
79814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79815 ;;
79816 :H)
79817 #
79818 # CONFIG_HEADER
79819 #
79820 if test x"$ac_file" != x-; then
79821 {
79822 $as_echo "/* $configure_input */" \
79823 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79824 } >"$ac_tmp/config.h" \
79825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79826 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79827 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79828 $as_echo "$as_me: $ac_file is unchanged" >&6;}
79829 else
79830 rm -f "$ac_file"
79831 mv "$ac_tmp/config.h" "$ac_file" \
79832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79833 fi
79834 else
79835 $as_echo "/* $configure_input */" \
79836 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79837 || as_fn_error $? "could not create -" "$LINENO" 5
79838 fi
79839 # Compute "$ac_file"'s index in $config_headers.
79840 _am_arg="$ac_file"
79841 _am_stamp_count=1
79842 for _am_header in $config_headers :; do
79843 case $_am_header in
79844 $_am_arg | $_am_arg:* )
79845 break ;;
79846 * )
79847 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79848 esac
79849 done
79850 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79851 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79852 X"$_am_arg" : 'X\(//\)[^/]' \| \
79853 X"$_am_arg" : 'X\(//\)$' \| \
79854 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79855 $as_echo X"$_am_arg" |
79856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79857 s//\1/
79858 q
79859 }
79860 /^X\(\/\/\)[^/].*/{
79861 s//\1/
79862 q
79863 }
79864 /^X\(\/\/\)$/{
79865 s//\1/
79866 q
79867 }
79868 /^X\(\/\).*/{
79869 s//\1/
79870 q
79871 }
79872 s/.*/./; q'`/stamp-h$_am_stamp_count
79873 ;;
79874
79875 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79876 $as_echo "$as_me: executing $ac_file commands" >&6;}
79877 ;;
79878 esac
79879
79880
79881 case $ac_file$ac_mode in
79882 "default-1":C)
79883 # Only add multilib support code if we just rebuilt the top-level
79884 # Makefile.
79885 case " $CONFIG_FILES " in
79886 *" Makefile "*)
79887 ac_file=Makefile . ${multi_basedir}/config-ml.in
79888 ;;
79889 esac ;;
79890 "libtool":C)
79891
79892 # See if we are running on zsh, and set the options which allow our
79893 # commands through without removal of \ escapes.
79894 if test -n "${ZSH_VERSION+set}" ; then
79895 setopt NO_GLOB_SUBST
79896 fi
79897
79898 cfgfile="${ofile}T"
79899 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79900 $RM "$cfgfile"
79901
79902 cat <<_LT_EOF >> "$cfgfile"
79903 #! $SHELL
79904
79905 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79906 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79907 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79908 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
79909 #
79910 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79911 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79912 # Written by Gordon Matzigkeit, 1996
79913 #
79914 # This file is part of GNU Libtool.
79915 #
79916 # GNU Libtool is free software; you can redistribute it and/or
79917 # modify it under the terms of the GNU General Public License as
79918 # published by the Free Software Foundation; either version 2 of
79919 # the License, or (at your option) any later version.
79920 #
79921 # As a special exception to the GNU General Public License,
79922 # if you distribute this file as part of a program or library that
79923 # is built using GNU Libtool, you may include this file under the
79924 # same distribution terms that you use for the rest of that program.
79925 #
79926 # GNU Libtool is distributed in the hope that it will be useful,
79927 # but WITHOUT ANY WARRANTY; without even the implied warranty of
79928 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79929 # GNU General Public License for more details.
79930 #
79931 # You should have received a copy of the GNU General Public License
79932 # along with GNU Libtool; see the file COPYING. If not, a copy
79933 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79934 # obtained by writing to the Free Software Foundation, Inc.,
79935 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79936
79937
79938 # The names of the tagged configurations supported by this script.
79939 available_tags="CXX "
79940
79941 # ### BEGIN LIBTOOL CONFIG
79942
79943 # Which release of libtool.m4 was used?
79944 macro_version=$macro_version
79945 macro_revision=$macro_revision
79946
79947 # Whether or not to build shared libraries.
79948 build_libtool_libs=$enable_shared
79949
79950 # Whether or not to build static libraries.
79951 build_old_libs=$enable_static
79952
79953 # What type of objects to build.
79954 pic_mode=$pic_mode
79955
79956 # Whether or not to optimize for fast installation.
79957 fast_install=$enable_fast_install
79958
79959 # Shell to use when invoking shell scripts.
79960 SHELL=$lt_SHELL
79961
79962 # An echo program that protects backslashes.
79963 ECHO=$lt_ECHO
79964
79965 # The host system.
79966 host_alias=$host_alias
79967 host=$host
79968 host_os=$host_os
79969
79970 # The build system.
79971 build_alias=$build_alias
79972 build=$build
79973 build_os=$build_os
79974
79975 # A sed program that does not truncate output.
79976 SED=$lt_SED
79977
79978 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
79979 Xsed="\$SED -e 1s/^X//"
79980
79981 # A grep program that handles long lines.
79982 GREP=$lt_GREP
79983
79984 # An ERE matcher.
79985 EGREP=$lt_EGREP
79986
79987 # A literal string matcher.
79988 FGREP=$lt_FGREP
79989
79990 # A BSD- or MS-compatible name lister.
79991 NM=$lt_NM
79992
79993 # Whether we need soft or hard links.
79994 LN_S=$lt_LN_S
79995
79996 # What is the maximum length of a command?
79997 max_cmd_len=$max_cmd_len
79998
79999 # Object file suffix (normally "o").
80000 objext=$ac_objext
80001
80002 # Executable file suffix (normally "").
80003 exeext=$exeext
80004
80005 # whether the shell understands "unset".
80006 lt_unset=$lt_unset
80007
80008 # turn spaces into newlines.
80009 SP2NL=$lt_lt_SP2NL
80010
80011 # turn newlines into spaces.
80012 NL2SP=$lt_lt_NL2SP
80013
80014 # An object symbol dumper.
80015 OBJDUMP=$lt_OBJDUMP
80016
80017 # Method to check whether dependent libraries are shared objects.
80018 deplibs_check_method=$lt_deplibs_check_method
80019
80020 # Command to use when deplibs_check_method == "file_magic".
80021 file_magic_cmd=$lt_file_magic_cmd
80022
80023 # The archiver.
80024 AR=$lt_AR
80025 AR_FLAGS=$lt_AR_FLAGS
80026
80027 # A symbol stripping program.
80028 STRIP=$lt_STRIP
80029
80030 # Commands used to install an old-style archive.
80031 RANLIB=$lt_RANLIB
80032 old_postinstall_cmds=$lt_old_postinstall_cmds
80033 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80034
80035 # Whether to use a lock for old archive extraction.
80036 lock_old_archive_extraction=$lock_old_archive_extraction
80037
80038 # A C compiler.
80039 LTCC=$lt_CC
80040
80041 # LTCC compiler flags.
80042 LTCFLAGS=$lt_CFLAGS
80043
80044 # Take the output of nm and produce a listing of raw symbols and C names.
80045 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80046
80047 # Transform the output of nm in a proper C declaration.
80048 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80049
80050 # Transform the output of nm in a C name address pair.
80051 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80052
80053 # Transform the output of nm in a C name address pair when lib prefix is needed.
80054 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80055
80056 # The name of the directory that contains temporary libtool files.
80057 objdir=$objdir
80058
80059 # Used to examine libraries when file_magic_cmd begins with "file".
80060 MAGIC_CMD=$MAGIC_CMD
80061
80062 # Must we lock files when doing compilation?
80063 need_locks=$lt_need_locks
80064
80065 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80066 DSYMUTIL=$lt_DSYMUTIL
80067
80068 # Tool to change global to local symbols on Mac OS X.
80069 NMEDIT=$lt_NMEDIT
80070
80071 # Tool to manipulate fat objects and archives on Mac OS X.
80072 LIPO=$lt_LIPO
80073
80074 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80075 OTOOL=$lt_OTOOL
80076
80077 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80078 OTOOL64=$lt_OTOOL64
80079
80080 # Old archive suffix (normally "a").
80081 libext=$libext
80082
80083 # Shared library suffix (normally ".so").
80084 shrext_cmds=$lt_shrext_cmds
80085
80086 # The commands to extract the exported symbol list from a shared archive.
80087 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80088
80089 # Variables whose values should be saved in libtool wrapper scripts and
80090 # restored at link time.
80091 variables_saved_for_relink=$lt_variables_saved_for_relink
80092
80093 # Do we need the "lib" prefix for modules?
80094 need_lib_prefix=$need_lib_prefix
80095
80096 # Do we need a version for libraries?
80097 need_version=$need_version
80098
80099 # Library versioning type.
80100 version_type=$version_type
80101
80102 # Shared library runtime path variable.
80103 runpath_var=$runpath_var
80104
80105 # Shared library path variable.
80106 shlibpath_var=$shlibpath_var
80107
80108 # Is shlibpath searched before the hard-coded library search path?
80109 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80110
80111 # Format of library name prefix.
80112 libname_spec=$lt_libname_spec
80113
80114 # List of archive names. First name is the real one, the rest are links.
80115 # The last name is the one that the linker finds with -lNAME
80116 library_names_spec=$lt_library_names_spec
80117
80118 # The coded name of the library, if different from the real name.
80119 soname_spec=$lt_soname_spec
80120
80121 # Permission mode override for installation of shared libraries.
80122 install_override_mode=$lt_install_override_mode
80123
80124 # Command to use after installation of a shared archive.
80125 postinstall_cmds=$lt_postinstall_cmds
80126
80127 # Command to use after uninstallation of a shared archive.
80128 postuninstall_cmds=$lt_postuninstall_cmds
80129
80130 # Commands used to finish a libtool library installation in a directory.
80131 finish_cmds=$lt_finish_cmds
80132
80133 # As "finish_cmds", except a single script fragment to be evaled but
80134 # not shown.
80135 finish_eval=$lt_finish_eval
80136
80137 # Whether we should hardcode library paths into libraries.
80138 hardcode_into_libs=$hardcode_into_libs
80139
80140 # Compile-time system search path for libraries.
80141 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80142
80143 # Run-time system search path for libraries.
80144 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80145
80146 # Whether dlopen is supported.
80147 dlopen_support=$enable_dlopen
80148
80149 # Whether dlopen of programs is supported.
80150 dlopen_self=$enable_dlopen_self
80151
80152 # Whether dlopen of statically linked programs is supported.
80153 dlopen_self_static=$enable_dlopen_self_static
80154
80155 # Commands to strip libraries.
80156 old_striplib=$lt_old_striplib
80157 striplib=$lt_striplib
80158
80159
80160 # The linker used to build libraries.
80161 LD=$lt_LD
80162
80163 # How to create reloadable object files.
80164 reload_flag=$lt_reload_flag
80165 reload_cmds=$lt_reload_cmds
80166
80167 # Commands used to build an old-style archive.
80168 old_archive_cmds=$lt_old_archive_cmds
80169
80170 # A language specific compiler.
80171 CC=$lt_compiler
80172
80173 # Is the compiler the GNU compiler?
80174 with_gcc=$GCC
80175
80176 # Compiler flag to turn off builtin functions.
80177 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80178
80179 # How to pass a linker flag through the compiler.
80180 wl=$lt_lt_prog_compiler_wl
80181
80182 # Additional compiler flags for building library objects.
80183 pic_flag=$lt_lt_prog_compiler_pic
80184
80185 # Compiler flag to prevent dynamic linking.
80186 link_static_flag=$lt_lt_prog_compiler_static
80187
80188 # Does compiler simultaneously support -c and -o options?
80189 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80190
80191 # Whether or not to add -lc for building shared libraries.
80192 build_libtool_need_lc=$archive_cmds_need_lc
80193
80194 # Whether or not to disallow shared libs when runtime libs are static.
80195 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80196
80197 # Compiler flag to allow reflexive dlopens.
80198 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80199
80200 # Compiler flag to generate shared objects directly from archives.
80201 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80202
80203 # Whether the compiler copes with passing no objects directly.
80204 compiler_needs_object=$lt_compiler_needs_object
80205
80206 # Create an old-style archive from a shared archive.
80207 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80208
80209 # Create a temporary old-style archive to link instead of a shared archive.
80210 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80211
80212 # Commands used to build a shared archive.
80213 archive_cmds=$lt_archive_cmds
80214 archive_expsym_cmds=$lt_archive_expsym_cmds
80215
80216 # Commands used to build a loadable module if different from building
80217 # a shared archive.
80218 module_cmds=$lt_module_cmds
80219 module_expsym_cmds=$lt_module_expsym_cmds
80220
80221 # Whether we are building with GNU ld or not.
80222 with_gnu_ld=$lt_with_gnu_ld
80223
80224 # Flag that allows shared libraries with undefined symbols to be built.
80225 allow_undefined_flag=$lt_allow_undefined_flag
80226
80227 # Flag that enforces no undefined symbols.
80228 no_undefined_flag=$lt_no_undefined_flag
80229
80230 # Flag to hardcode \$libdir into a binary during linking.
80231 # This must work even if \$libdir does not exist
80232 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80233
80234 # If ld is used when linking, flag to hardcode \$libdir into a binary
80235 # during linking. This must work even if \$libdir does not exist.
80236 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80237
80238 # Whether we need a single "-rpath" flag with a separated argument.
80239 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80240
80241 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80242 # DIR into the resulting binary.
80243 hardcode_direct=$hardcode_direct
80244
80245 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80246 # DIR into the resulting binary and the resulting library dependency is
80247 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80248 # library is relocated.
80249 hardcode_direct_absolute=$hardcode_direct_absolute
80250
80251 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80252 # into the resulting binary.
80253 hardcode_minus_L=$hardcode_minus_L
80254
80255 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80256 # into the resulting binary.
80257 hardcode_shlibpath_var=$hardcode_shlibpath_var
80258
80259 # Set to "yes" if building a shared library automatically hardcodes DIR
80260 # into the library and all subsequent libraries and executables linked
80261 # against it.
80262 hardcode_automatic=$hardcode_automatic
80263
80264 # Set to yes if linker adds runtime paths of dependent libraries
80265 # to runtime path list.
80266 inherit_rpath=$inherit_rpath
80267
80268 # Whether libtool must link a program against all its dependency libraries.
80269 link_all_deplibs=$link_all_deplibs
80270
80271 # Fix the shell variable \$srcfile for the compiler.
80272 fix_srcfile_path=$lt_fix_srcfile_path
80273
80274 # Set to "yes" if exported symbols are required.
80275 always_export_symbols=$always_export_symbols
80276
80277 # The commands to list exported symbols.
80278 export_symbols_cmds=$lt_export_symbols_cmds
80279
80280 # Symbols that should not be listed in the preloaded symbols.
80281 exclude_expsyms=$lt_exclude_expsyms
80282
80283 # Symbols that must always be exported.
80284 include_expsyms=$lt_include_expsyms
80285
80286 # Commands necessary for linking programs (against libraries) with templates.
80287 prelink_cmds=$lt_prelink_cmds
80288
80289 # Specify filename containing input files.
80290 file_list_spec=$lt_file_list_spec
80291
80292 # How to hardcode a shared library path into an executable.
80293 hardcode_action=$hardcode_action
80294
80295 # The directories searched by this compiler when creating a shared library.
80296 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80297
80298 # Dependencies to place before and after the objects being linked to
80299 # create a shared library.
80300 predep_objects=$lt_predep_objects
80301 postdep_objects=$lt_postdep_objects
80302 predeps=$lt_predeps
80303 postdeps=$lt_postdeps
80304
80305 # The library search path used internally by the compiler when linking
80306 # a shared library.
80307 compiler_lib_search_path=$lt_compiler_lib_search_path
80308
80309 # ### END LIBTOOL CONFIG
80310
80311 _LT_EOF
80312
80313 case $host_os in
80314 aix3*)
80315 cat <<\_LT_EOF >> "$cfgfile"
80316 # AIX sometimes has problems with the GCC collect2 program. For some
80317 # reason, if we set the COLLECT_NAMES environment variable, the problems
80318 # vanish in a puff of smoke.
80319 if test "X${COLLECT_NAMES+set}" != Xset; then
80320 COLLECT_NAMES=
80321 export COLLECT_NAMES
80322 fi
80323 _LT_EOF
80324 ;;
80325 esac
80326
80327
80328 ltmain="$ac_aux_dir/ltmain.sh"
80329
80330
80331 # We use sed instead of cat because bash on DJGPP gets confused if
80332 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80333 # text mode, it properly converts lines to CR/LF. This bash problem
80334 # is reportedly fixed, but why not run on old versions too?
80335 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80336 || (rm -f "$cfgfile"; exit 1)
80337
80338 case $xsi_shell in
80339 yes)
80340 cat << \_LT_EOF >> "$cfgfile"
80341
80342 # func_dirname file append nondir_replacement
80343 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80344 # otherwise set result to NONDIR_REPLACEMENT.
80345 func_dirname ()
80346 {
80347 case ${1} in
80348 */*) func_dirname_result="${1%/*}${2}" ;;
80349 * ) func_dirname_result="${3}" ;;
80350 esac
80351 }
80352
80353 # func_basename file
80354 func_basename ()
80355 {
80356 func_basename_result="${1##*/}"
80357 }
80358
80359 # func_dirname_and_basename file append nondir_replacement
80360 # perform func_basename and func_dirname in a single function
80361 # call:
80362 # dirname: Compute the dirname of FILE. If nonempty,
80363 # add APPEND to the result, otherwise set result
80364 # to NONDIR_REPLACEMENT.
80365 # value returned in "$func_dirname_result"
80366 # basename: Compute filename of FILE.
80367 # value retuned in "$func_basename_result"
80368 # Implementation must be kept synchronized with func_dirname
80369 # and func_basename. For efficiency, we do not delegate to
80370 # those functions but instead duplicate the functionality here.
80371 func_dirname_and_basename ()
80372 {
80373 case ${1} in
80374 */*) func_dirname_result="${1%/*}${2}" ;;
80375 * ) func_dirname_result="${3}" ;;
80376 esac
80377 func_basename_result="${1##*/}"
80378 }
80379
80380 # func_stripname prefix suffix name
80381 # strip PREFIX and SUFFIX off of NAME.
80382 # PREFIX and SUFFIX must not contain globbing or regex special
80383 # characters, hashes, percent signs, but SUFFIX may contain a leading
80384 # dot (in which case that matches only a dot).
80385 func_stripname ()
80386 {
80387 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80388 # positional parameters, so assign one to ordinary parameter first.
80389 func_stripname_result=${3}
80390 func_stripname_result=${func_stripname_result#"${1}"}
80391 func_stripname_result=${func_stripname_result%"${2}"}
80392 }
80393
80394 # func_opt_split
80395 func_opt_split ()
80396 {
80397 func_opt_split_opt=${1%%=*}
80398 func_opt_split_arg=${1#*=}
80399 }
80400
80401 # func_lo2o object
80402 func_lo2o ()
80403 {
80404 case ${1} in
80405 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80406 *) func_lo2o_result=${1} ;;
80407 esac
80408 }
80409
80410 # func_xform libobj-or-source
80411 func_xform ()
80412 {
80413 func_xform_result=${1%.*}.lo
80414 }
80415
80416 # func_arith arithmetic-term...
80417 func_arith ()
80418 {
80419 func_arith_result=$(( $* ))
80420 }
80421
80422 # func_len string
80423 # STRING may not start with a hyphen.
80424 func_len ()
80425 {
80426 func_len_result=${#1}
80427 }
80428
80429 _LT_EOF
80430 ;;
80431 *) # Bourne compatible functions.
80432 cat << \_LT_EOF >> "$cfgfile"
80433
80434 # func_dirname file append nondir_replacement
80435 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80436 # otherwise set result to NONDIR_REPLACEMENT.
80437 func_dirname ()
80438 {
80439 # Extract subdirectory from the argument.
80440 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80441 if test "X$func_dirname_result" = "X${1}"; then
80442 func_dirname_result="${3}"
80443 else
80444 func_dirname_result="$func_dirname_result${2}"
80445 fi
80446 }
80447
80448 # func_basename file
80449 func_basename ()
80450 {
80451 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80452 }
80453
80454
80455 # func_stripname prefix suffix name
80456 # strip PREFIX and SUFFIX off of NAME.
80457 # PREFIX and SUFFIX must not contain globbing or regex special
80458 # characters, hashes, percent signs, but SUFFIX may contain a leading
80459 # dot (in which case that matches only a dot).
80460 # func_strip_suffix prefix name
80461 func_stripname ()
80462 {
80463 case ${2} in
80464 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80465 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80466 esac
80467 }
80468
80469 # sed scripts:
80470 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80471 my_sed_long_arg='1s/^-[^=]*=//'
80472
80473 # func_opt_split
80474 func_opt_split ()
80475 {
80476 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80477 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80478 }
80479
80480 # func_lo2o object
80481 func_lo2o ()
80482 {
80483 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80484 }
80485
80486 # func_xform libobj-or-source
80487 func_xform ()
80488 {
80489 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80490 }
80491
80492 # func_arith arithmetic-term...
80493 func_arith ()
80494 {
80495 func_arith_result=`expr "$@"`
80496 }
80497
80498 # func_len string
80499 # STRING may not start with a hyphen.
80500 func_len ()
80501 {
80502 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80503 }
80504
80505 _LT_EOF
80506 esac
80507
80508 case $lt_shell_append in
80509 yes)
80510 cat << \_LT_EOF >> "$cfgfile"
80511
80512 # func_append var value
80513 # Append VALUE to the end of shell variable VAR.
80514 func_append ()
80515 {
80516 eval "$1+=\$2"
80517 }
80518 _LT_EOF
80519 ;;
80520 *)
80521 cat << \_LT_EOF >> "$cfgfile"
80522
80523 # func_append var value
80524 # Append VALUE to the end of shell variable VAR.
80525 func_append ()
80526 {
80527 eval "$1=\$$1\$2"
80528 }
80529
80530 _LT_EOF
80531 ;;
80532 esac
80533
80534
80535 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80536 || (rm -f "$cfgfile"; exit 1)
80537
80538 mv -f "$cfgfile" "$ofile" ||
80539 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80540 chmod +x "$ofile"
80541
80542
80543 cat <<_LT_EOF >> "$ofile"
80544
80545 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80546
80547 # The linker used to build libraries.
80548 LD=$lt_LD_CXX
80549
80550 # How to create reloadable object files.
80551 reload_flag=$lt_reload_flag_CXX
80552 reload_cmds=$lt_reload_cmds_CXX
80553
80554 # Commands used to build an old-style archive.
80555 old_archive_cmds=$lt_old_archive_cmds_CXX
80556
80557 # A language specific compiler.
80558 CC=$lt_compiler_CXX
80559
80560 # Is the compiler the GNU compiler?
80561 with_gcc=$GCC_CXX
80562
80563 # Compiler flag to turn off builtin functions.
80564 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80565
80566 # How to pass a linker flag through the compiler.
80567 wl=$lt_lt_prog_compiler_wl_CXX
80568
80569 # Additional compiler flags for building library objects.
80570 pic_flag=$lt_lt_prog_compiler_pic_CXX
80571
80572 # Compiler flag to prevent dynamic linking.
80573 link_static_flag=$lt_lt_prog_compiler_static_CXX
80574
80575 # Does compiler simultaneously support -c and -o options?
80576 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80577
80578 # Whether or not to add -lc for building shared libraries.
80579 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80580
80581 # Whether or not to disallow shared libs when runtime libs are static.
80582 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80583
80584 # Compiler flag to allow reflexive dlopens.
80585 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80586
80587 # Compiler flag to generate shared objects directly from archives.
80588 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80589
80590 # Whether the compiler copes with passing no objects directly.
80591 compiler_needs_object=$lt_compiler_needs_object_CXX
80592
80593 # Create an old-style archive from a shared archive.
80594 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80595
80596 # Create a temporary old-style archive to link instead of a shared archive.
80597 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80598
80599 # Commands used to build a shared archive.
80600 archive_cmds=$lt_archive_cmds_CXX
80601 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80602
80603 # Commands used to build a loadable module if different from building
80604 # a shared archive.
80605 module_cmds=$lt_module_cmds_CXX
80606 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80607
80608 # Whether we are building with GNU ld or not.
80609 with_gnu_ld=$lt_with_gnu_ld_CXX
80610
80611 # Flag that allows shared libraries with undefined symbols to be built.
80612 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80613
80614 # Flag that enforces no undefined symbols.
80615 no_undefined_flag=$lt_no_undefined_flag_CXX
80616
80617 # Flag to hardcode \$libdir into a binary during linking.
80618 # This must work even if \$libdir does not exist
80619 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80620
80621 # If ld is used when linking, flag to hardcode \$libdir into a binary
80622 # during linking. This must work even if \$libdir does not exist.
80623 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80624
80625 # Whether we need a single "-rpath" flag with a separated argument.
80626 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80627
80628 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80629 # DIR into the resulting binary.
80630 hardcode_direct=$hardcode_direct_CXX
80631
80632 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80633 # DIR into the resulting binary and the resulting library dependency is
80634 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80635 # library is relocated.
80636 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80637
80638 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80639 # into the resulting binary.
80640 hardcode_minus_L=$hardcode_minus_L_CXX
80641
80642 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80643 # into the resulting binary.
80644 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80645
80646 # Set to "yes" if building a shared library automatically hardcodes DIR
80647 # into the library and all subsequent libraries and executables linked
80648 # against it.
80649 hardcode_automatic=$hardcode_automatic_CXX
80650
80651 # Set to yes if linker adds runtime paths of dependent libraries
80652 # to runtime path list.
80653 inherit_rpath=$inherit_rpath_CXX
80654
80655 # Whether libtool must link a program against all its dependency libraries.
80656 link_all_deplibs=$link_all_deplibs_CXX
80657
80658 # Fix the shell variable \$srcfile for the compiler.
80659 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80660
80661 # Set to "yes" if exported symbols are required.
80662 always_export_symbols=$always_export_symbols_CXX
80663
80664 # The commands to list exported symbols.
80665 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80666
80667 # Symbols that should not be listed in the preloaded symbols.
80668 exclude_expsyms=$lt_exclude_expsyms_CXX
80669
80670 # Symbols that must always be exported.
80671 include_expsyms=$lt_include_expsyms_CXX
80672
80673 # Commands necessary for linking programs (against libraries) with templates.
80674 prelink_cmds=$lt_prelink_cmds_CXX
80675
80676 # Specify filename containing input files.
80677 file_list_spec=$lt_file_list_spec_CXX
80678
80679 # How to hardcode a shared library path into an executable.
80680 hardcode_action=$hardcode_action_CXX
80681
80682 # The directories searched by this compiler when creating a shared library.
80683 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80684
80685 # Dependencies to place before and after the objects being linked to
80686 # create a shared library.
80687 predep_objects=$lt_predep_objects_CXX
80688 postdep_objects=$lt_postdep_objects_CXX
80689 predeps=$lt_predeps_CXX
80690 postdeps=$lt_postdeps_CXX
80691
80692 # The library search path used internally by the compiler when linking
80693 # a shared library.
80694 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80695
80696 # ### END LIBTOOL TAG CONFIG: CXX
80697 _LT_EOF
80698
80699 ;;
80700 "include/gstdint.h":C)
80701 if test "$GCC" = yes; then
80702 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80703 else
80704 echo "/* generated for $CC */" > tmp-stdint.h
80705 fi
80706
80707 sed 's/^ *//' >> tmp-stdint.h <<EOF
80708
80709 #ifndef GCC_GENERATED_STDINT_H
80710 #define GCC_GENERATED_STDINT_H 1
80711
80712 #include <sys/types.h>
80713 EOF
80714
80715 if test "$acx_cv_header_stdint" != stdint.h; then
80716 echo "#include <stddef.h>" >> tmp-stdint.h
80717 fi
80718 if test "$acx_cv_header_stdint" != stddef.h; then
80719 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80720 fi
80721
80722 sed 's/^ *//' >> tmp-stdint.h <<EOF
80723 /* glibc uses these symbols as guards to prevent redefinitions. */
80724 #ifdef __int8_t_defined
80725 #define _INT8_T
80726 #define _INT16_T
80727 #define _INT32_T
80728 #endif
80729 #ifdef __uint32_t_defined
80730 #define _UINT32_T
80731 #endif
80732
80733 EOF
80734
80735 # ----------------- done header, emit basic int types -------------
80736 if test "$acx_cv_header_stdint" = stddef.h; then
80737 sed 's/^ *//' >> tmp-stdint.h <<EOF
80738
80739 #ifndef _UINT8_T
80740 #define _UINT8_T
80741 #ifndef __uint8_t_defined
80742 #define __uint8_t_defined
80743 #ifndef uint8_t
80744 typedef unsigned $acx_cv_type_int8_t uint8_t;
80745 #endif
80746 #endif
80747 #endif
80748
80749 #ifndef _UINT16_T
80750 #define _UINT16_T
80751 #ifndef __uint16_t_defined
80752 #define __uint16_t_defined
80753 #ifndef uint16_t
80754 typedef unsigned $acx_cv_type_int16_t uint16_t;
80755 #endif
80756 #endif
80757 #endif
80758
80759 #ifndef _UINT32_T
80760 #define _UINT32_T
80761 #ifndef __uint32_t_defined
80762 #define __uint32_t_defined
80763 #ifndef uint32_t
80764 typedef unsigned $acx_cv_type_int32_t uint32_t;
80765 #endif
80766 #endif
80767 #endif
80768
80769 #ifndef _INT8_T
80770 #define _INT8_T
80771 #ifndef __int8_t_defined
80772 #define __int8_t_defined
80773 #ifndef int8_t
80774 typedef $acx_cv_type_int8_t int8_t;
80775 #endif
80776 #endif
80777 #endif
80778
80779 #ifndef _INT16_T
80780 #define _INT16_T
80781 #ifndef __int16_t_defined
80782 #define __int16_t_defined
80783 #ifndef int16_t
80784 typedef $acx_cv_type_int16_t int16_t;
80785 #endif
80786 #endif
80787 #endif
80788
80789 #ifndef _INT32_T
80790 #define _INT32_T
80791 #ifndef __int32_t_defined
80792 #define __int32_t_defined
80793 #ifndef int32_t
80794 typedef $acx_cv_type_int32_t int32_t;
80795 #endif
80796 #endif
80797 #endif
80798 EOF
80799 elif test "$ac_cv_type_u_int32_t" = yes; then
80800 sed 's/^ *//' >> tmp-stdint.h <<EOF
80801
80802 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80803 #ifndef _INT8_T
80804 #define _INT8_T
80805 #endif
80806 #ifndef _INT16_T
80807 #define _INT16_T
80808 #endif
80809 #ifndef _INT32_T
80810 #define _INT32_T
80811 #endif
80812
80813 #ifndef _UINT8_T
80814 #define _UINT8_T
80815 #ifndef __uint8_t_defined
80816 #define __uint8_t_defined
80817 #ifndef uint8_t
80818 typedef u_int8_t uint8_t;
80819 #endif
80820 #endif
80821 #endif
80822
80823 #ifndef _UINT16_T
80824 #define _UINT16_T
80825 #ifndef __uint16_t_defined
80826 #define __uint16_t_defined
80827 #ifndef uint16_t
80828 typedef u_int16_t uint16_t;
80829 #endif
80830 #endif
80831 #endif
80832
80833 #ifndef _UINT32_T
80834 #define _UINT32_T
80835 #ifndef __uint32_t_defined
80836 #define __uint32_t_defined
80837 #ifndef uint32_t
80838 typedef u_int32_t uint32_t;
80839 #endif
80840 #endif
80841 #endif
80842 EOF
80843 else
80844 sed 's/^ *//' >> tmp-stdint.h <<EOF
80845
80846 /* Some systems have guard macros to prevent redefinitions, define them. */
80847 #ifndef _INT8_T
80848 #define _INT8_T
80849 #endif
80850 #ifndef _INT16_T
80851 #define _INT16_T
80852 #endif
80853 #ifndef _INT32_T
80854 #define _INT32_T
80855 #endif
80856 #ifndef _UINT8_T
80857 #define _UINT8_T
80858 #endif
80859 #ifndef _UINT16_T
80860 #define _UINT16_T
80861 #endif
80862 #ifndef _UINT32_T
80863 #define _UINT32_T
80864 #endif
80865 EOF
80866 fi
80867
80868 # ------------- done basic int types, emit int64_t types ------------
80869 if test "$ac_cv_type_uint64_t" = yes; then
80870 sed 's/^ *//' >> tmp-stdint.h <<EOF
80871
80872 /* system headers have good uint64_t and int64_t */
80873 #ifndef _INT64_T
80874 #define _INT64_T
80875 #endif
80876 #ifndef _UINT64_T
80877 #define _UINT64_T
80878 #endif
80879 EOF
80880 elif test "$ac_cv_type_u_int64_t" = yes; then
80881 sed 's/^ *//' >> tmp-stdint.h <<EOF
80882
80883 /* system headers have an u_int64_t (and int64_t) */
80884 #ifndef _INT64_T
80885 #define _INT64_T
80886 #endif
80887 #ifndef _UINT64_T
80888 #define _UINT64_T
80889 #ifndef __uint64_t_defined
80890 #define __uint64_t_defined
80891 #ifndef uint64_t
80892 typedef u_int64_t uint64_t;
80893 #endif
80894 #endif
80895 #endif
80896 EOF
80897 elif test -n "$acx_cv_type_int64_t"; then
80898 sed 's/^ *//' >> tmp-stdint.h <<EOF
80899
80900 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80901 #ifndef _INT64_T
80902 #define _INT64_T
80903 #ifndef int64_t
80904 typedef $acx_cv_type_int64_t int64_t;
80905 #endif
80906 #endif
80907 #ifndef _UINT64_T
80908 #define _UINT64_T
80909 #ifndef __uint64_t_defined
80910 #define __uint64_t_defined
80911 #ifndef uint64_t
80912 typedef unsigned $acx_cv_type_int64_t uint64_t;
80913 #endif
80914 #endif
80915 #endif
80916 EOF
80917 else
80918 sed 's/^ *//' >> tmp-stdint.h <<EOF
80919
80920 /* some common heuristics for int64_t, using compiler-specific tests */
80921 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80922 #ifndef _INT64_T
80923 #define _INT64_T
80924 #ifndef __int64_t_defined
80925 #ifndef int64_t
80926 typedef long long int64_t;
80927 #endif
80928 #endif
80929 #endif
80930 #ifndef _UINT64_T
80931 #define _UINT64_T
80932 #ifndef uint64_t
80933 typedef unsigned long long uint64_t;
80934 #endif
80935 #endif
80936
80937 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80938 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80939 does not implement __extension__. But that compiler doesn't define
80940 __GNUC_MINOR__. */
80941 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80942 # define __extension__
80943 # endif
80944
80945 # ifndef _INT64_T
80946 # define _INT64_T
80947 # ifndef int64_t
80948 __extension__ typedef long long int64_t;
80949 # endif
80950 # endif
80951 # ifndef _UINT64_T
80952 # define _UINT64_T
80953 # ifndef uint64_t
80954 __extension__ typedef unsigned long long uint64_t;
80955 # endif
80956 # endif
80957
80958 #elif !defined __STRICT_ANSI__
80959 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80960
80961 # ifndef _INT64_T
80962 # define _INT64_T
80963 # ifndef int64_t
80964 typedef __int64 int64_t;
80965 # endif
80966 # endif
80967 # ifndef _UINT64_T
80968 # define _UINT64_T
80969 # ifndef uint64_t
80970 typedef unsigned __int64 uint64_t;
80971 # endif
80972 # endif
80973 # endif /* compiler */
80974
80975 #endif /* ANSI version */
80976 EOF
80977 fi
80978
80979 # ------------- done int64_t types, emit intptr types ------------
80980 if test "$ac_cv_type_uintptr_t" != yes; then
80981 sed 's/^ *//' >> tmp-stdint.h <<EOF
80982
80983 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80984 #ifndef __uintptr_t_defined
80985 #ifndef uintptr_t
80986 typedef u$acx_cv_type_intptr_t uintptr_t;
80987 #endif
80988 #endif
80989 #ifndef __intptr_t_defined
80990 #ifndef intptr_t
80991 typedef $acx_cv_type_intptr_t intptr_t;
80992 #endif
80993 #endif
80994 EOF
80995 fi
80996
80997 # ------------- done intptr types, emit int_least types ------------
80998 if test "$ac_cv_type_int_least32_t" != yes; then
80999 sed 's/^ *//' >> tmp-stdint.h <<EOF
81000
81001 /* Define int_least types */
81002 typedef int8_t int_least8_t;
81003 typedef int16_t int_least16_t;
81004 typedef int32_t int_least32_t;
81005 #ifdef _INT64_T
81006 typedef int64_t int_least64_t;
81007 #endif
81008
81009 typedef uint8_t uint_least8_t;
81010 typedef uint16_t uint_least16_t;
81011 typedef uint32_t uint_least32_t;
81012 #ifdef _UINT64_T
81013 typedef uint64_t uint_least64_t;
81014 #endif
81015 EOF
81016 fi
81017
81018 # ------------- done intptr types, emit int_fast types ------------
81019 if test "$ac_cv_type_int_fast32_t" != yes; then
81020 sed 's/^ *//' >> tmp-stdint.h <<EOF
81021
81022 /* Define int_fast types. short is often slow */
81023 typedef int8_t int_fast8_t;
81024 typedef int int_fast16_t;
81025 typedef int32_t int_fast32_t;
81026 #ifdef _INT64_T
81027 typedef int64_t int_fast64_t;
81028 #endif
81029
81030 typedef uint8_t uint_fast8_t;
81031 typedef unsigned int uint_fast16_t;
81032 typedef uint32_t uint_fast32_t;
81033 #ifdef _UINT64_T
81034 typedef uint64_t uint_fast64_t;
81035 #endif
81036 EOF
81037 fi
81038
81039 if test "$ac_cv_type_uintmax_t" != yes; then
81040 sed 's/^ *//' >> tmp-stdint.h <<EOF
81041
81042 /* Define intmax based on what we found */
81043 #ifndef intmax_t
81044 #ifdef _INT64_T
81045 typedef int64_t intmax_t;
81046 #else
81047 typedef long intmax_t;
81048 #endif
81049 #endif
81050 #ifndef uintmax_t
81051 #ifdef _UINT64_T
81052 typedef uint64_t uintmax_t;
81053 #else
81054 typedef unsigned long uintmax_t;
81055 #endif
81056 #endif
81057 EOF
81058 fi
81059
81060 sed 's/^ *//' >> tmp-stdint.h <<EOF
81061
81062 #endif /* GCC_GENERATED_STDINT_H */
81063 EOF
81064
81065 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81066 rm -f tmp-stdint.h
81067 else
81068 mv -f tmp-stdint.h include/gstdint.h
81069 fi
81070
81071 ;;
81072 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81073 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81074 "include/Makefile":F) cat > vpsed$$ << \_EOF
81075 s!`test -f '$<' || echo '$(srcdir)/'`!!
81076 _EOF
81077 sed -f vpsed$$ $ac_file > tmp$$
81078 mv tmp$$ $ac_file
81079 rm vpsed$$
81080 echo 'MULTISUBDIR =' >> $ac_file
81081 ml_norecursion=yes
81082 . ${multi_basedir}/config-ml.in
81083 { ml_norecursion=; unset ml_norecursion;}
81084 ;;
81085 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81086 s!`test -f '$<' || echo '$(srcdir)/'`!!
81087 _EOF
81088 sed -f vpsed$$ $ac_file > tmp$$
81089 mv tmp$$ $ac_file
81090 rm vpsed$$
81091 echo 'MULTISUBDIR =' >> $ac_file
81092 ml_norecursion=yes
81093 . ${multi_basedir}/config-ml.in
81094 { ml_norecursion=; unset ml_norecursion;}
81095 ;;
81096 "src/Makefile":F) cat > vpsed$$ << \_EOF
81097 s!`test -f '$<' || echo '$(srcdir)/'`!!
81098 _EOF
81099 sed -f vpsed$$ $ac_file > tmp$$
81100 mv tmp$$ $ac_file
81101 rm vpsed$$
81102 echo 'MULTISUBDIR =' >> $ac_file
81103 ml_norecursion=yes
81104 . ${multi_basedir}/config-ml.in
81105 { ml_norecursion=; unset ml_norecursion;}
81106 ;;
81107 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81108 s!`test -f '$<' || echo '$(srcdir)/'`!!
81109 _EOF
81110 sed -f vpsed$$ $ac_file > tmp$$
81111 mv tmp$$ $ac_file
81112 rm vpsed$$
81113 echo 'MULTISUBDIR =' >> $ac_file
81114 ml_norecursion=yes
81115 . ${multi_basedir}/config-ml.in
81116 { ml_norecursion=; unset ml_norecursion;}
81117 ;;
81118 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81119 s!`test -f '$<' || echo '$(srcdir)/'`!!
81120 _EOF
81121 sed -f vpsed$$ $ac_file > tmp$$
81122 mv tmp$$ $ac_file
81123 rm vpsed$$
81124 echo 'MULTISUBDIR =' >> $ac_file
81125 ml_norecursion=yes
81126 . ${multi_basedir}/config-ml.in
81127 { ml_norecursion=; unset ml_norecursion;}
81128 ;;
81129 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81130 s!`test -f '$<' || echo '$(srcdir)/'`!!
81131 _EOF
81132 sed -f vpsed$$ $ac_file > tmp$$
81133 mv tmp$$ $ac_file
81134 rm vpsed$$
81135 echo 'MULTISUBDIR =' >> $ac_file
81136 ml_norecursion=yes
81137 . ${multi_basedir}/config-ml.in
81138 { ml_norecursion=; unset ml_norecursion;}
81139 ;;
81140 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81141 s!`test -f '$<' || echo '$(srcdir)/'`!!
81142 _EOF
81143 sed -f vpsed$$ $ac_file > tmp$$
81144 mv tmp$$ $ac_file
81145 rm vpsed$$
81146 echo 'MULTISUBDIR =' >> $ac_file
81147 ml_norecursion=yes
81148 . ${multi_basedir}/config-ml.in
81149 { ml_norecursion=; unset ml_norecursion;}
81150 ;;
81151 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81152 s!`test -f '$<' || echo '$(srcdir)/'`!!
81153 _EOF
81154 sed -f vpsed$$ $ac_file > tmp$$
81155 mv tmp$$ $ac_file
81156 rm vpsed$$
81157 echo 'MULTISUBDIR =' >> $ac_file
81158 ml_norecursion=yes
81159 . ${multi_basedir}/config-ml.in
81160 { ml_norecursion=; unset ml_norecursion;}
81161 ;;
81162 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81163 s!`test -f '$<' || echo '$(srcdir)/'`!!
81164 _EOF
81165 sed -f vpsed$$ $ac_file > tmp$$
81166 mv tmp$$ $ac_file
81167 rm vpsed$$
81168 echo 'MULTISUBDIR =' >> $ac_file
81169 ml_norecursion=yes
81170 . ${multi_basedir}/config-ml.in
81171 { ml_norecursion=; unset ml_norecursion;}
81172 ;;
81173 "po/Makefile":F) cat > vpsed$$ << \_EOF
81174 s!`test -f '$<' || echo '$(srcdir)/'`!!
81175 _EOF
81176 sed -f vpsed$$ $ac_file > tmp$$
81177 mv tmp$$ $ac_file
81178 rm vpsed$$
81179 echo 'MULTISUBDIR =' >> $ac_file
81180 ml_norecursion=yes
81181 . ${multi_basedir}/config-ml.in
81182 { ml_norecursion=; unset ml_norecursion;}
81183 ;;
81184 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81185 s!`test -f '$<' || echo '$(srcdir)/'`!!
81186 _EOF
81187 sed -f vpsed$$ $ac_file > tmp$$
81188 mv tmp$$ $ac_file
81189 rm vpsed$$
81190 echo 'MULTISUBDIR =' >> $ac_file
81191 ml_norecursion=yes
81192 . ${multi_basedir}/config-ml.in
81193 { ml_norecursion=; unset ml_norecursion;}
81194 ;;
81195 "python/Makefile":F) cat > vpsed$$ << \_EOF
81196 s!`test -f '$<' || echo '$(srcdir)/'`!!
81197 _EOF
81198 sed -f vpsed$$ $ac_file > tmp$$
81199 mv tmp$$ $ac_file
81200 rm vpsed$$
81201 echo 'MULTISUBDIR =' >> $ac_file
81202 ml_norecursion=yes
81203 . ${multi_basedir}/config-ml.in
81204 { ml_norecursion=; unset ml_norecursion;}
81205 ;;
81206 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81207
81208 esac
81209 done # for ac_tag
81210
81211
81212 as_fn_exit 0
81213 _ACEOF
81214 ac_clean_files=$ac_clean_files_save
81215
81216 test $ac_write_fail = 0 ||
81217 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81218
81219
81220 # configure is writing to config.log, and then calls config.status.
81221 # config.status does its own redirection, appending to config.log.
81222 # Unfortunately, on DOS this fails, as config.log is still kept open
81223 # by configure, so config.status won't be able to write to it; its
81224 # output is simply discarded. So we exec the FD to /dev/null,
81225 # effectively closing config.log, so it can be properly (re)opened and
81226 # appended to by config.status. When coming back to configure, we
81227 # need to make the FD available again.
81228 if test "$no_create" != yes; then
81229 ac_cs_success=:
81230 ac_config_status_args=
81231 test "$silent" = yes &&
81232 ac_config_status_args="$ac_config_status_args --quiet"
81233 exec 5>/dev/null
81234 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81235 exec 5>>config.log
81236 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81237 # would make configure fail if this is the last instruction.
81238 $ac_cs_success || as_fn_exit 1
81239 fi
81240 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81242 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
81243 fi
81244