re PR libstdc++/51133 (Incorrect implementation of std::tr1::hermite())
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
638 DOT
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 enable_static
716 enable_shared
717 lt_host_flags
718 CXXCPP
719 OTOOL64
720 OTOOL
721 LIPO
722 NMEDIT
723 DSYMUTIL
724 OBJDUMP
725 NM
726 ac_ct_DUMPBIN
727 DUMPBIN
728 LD
729 FGREP
730 SED
731 LIBTOOL
732 EGREP
733 GREP
734 CPP
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 RANLIB
739 AR
740 AS
741 LN_S
742 toplevel_srcdir
743 toplevel_builddir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
748 CXX
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
755 CC
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
761 AWK
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_libstdcxx_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
871 '
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
875 CC
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
880 CXX
881 CXXFLAGS
882 CCC
883 CPP
884 CXXCPP
885 CXXFILT'
886
887
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
909
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
935
936 ac_prev=
937 ac_dashdash=
938 for ac_option
939 do
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
945 fi
946
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
951
952 # Accept the important Cygnus configure options, so we can diagnose typos.
953
954 case $ac_dashdash$ac_option in
955 --)
956 ac_dashdash=yes ;;
957
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
962
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
967
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
974
975 --config-cache | -C)
976 cache_file=config.cache ;;
977
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
982
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
989
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
998 *"
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1005
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1010
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1015
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1031
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1040
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1044
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1051
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1056
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1062
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1069
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1074
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1079
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1086
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1091
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1098
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1103
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1107
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1111
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1115
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1124
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1129
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1136
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1143
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1160
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1165
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1170
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1174
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1180
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1191
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1196
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1201
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1208
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1213
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1216
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1219
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1228 *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1235
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1244 *"
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1251
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1255
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1262
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1269
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1272 ;;
1273
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1283
1284 *)
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290 ;;
1291
1292 esac
1293 done
1294
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1298 fi
1299
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1306 fi
1307
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1313 do
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1328
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1335
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1344 fi
1345 fi
1346
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
1350 test "$silent" = yes && exec 6>/dev/null
1351
1352
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1359
1360
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1373 q
1374 }
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)$/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\).*/{
1384 s//\1/
1385 q
1386 }
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1391 fi
1392 else
1393 ac_srcdir_defaulted=no
1394 fi
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 fi
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1406 fi
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1419
1420 #
1421 # Report the --help message.
1422 #
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1430
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1433
1434 Defaults for the options are specified in brackets.
1435
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1452
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1457
1458 For better control, use the options below.
1459
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1481
1482 cat <<\_ACEOF
1483
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1494 fi
1495
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1501
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-libstdcxx-visibility
1558 enables visibility safe usage [default=yes]
1559 --enable-version-specific-runtime-libs
1560 Specify that runtime libraries should be installed
1561 in a compiler-specific directory
1562
1563 Optional Packages:
1564 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1565 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1566 --with-target-subdir=SUBDIR
1567 configuring in a subdirectory
1568 --with-cross-host=HOST configuring with a cross compiler
1569 --with-newlib assume newlib as a system C library
1570 --with-pic try to use only PIC/non-PIC objects [default=use
1571 both]
1572 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1573 --with-gnu-ld assume the C compiler uses GNU ld default=no
1574 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1575 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1576 --with-system-libunwind use installed libunwind
1577 --with-gxx-include-dir=DIR
1578 installation directory for include files
1579
1580 Some influential environment variables:
1581 CC C compiler command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1584 nonstandard directory <lib dir>
1585 LIBS libraries to pass to the linker, e.g. -l<library>
1586 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1587 you have headers in a nonstandard directory <include dir>
1588 CXX C++ compiler command
1589 CXXFLAGS C++ compiler flags
1590 CPP C preprocessor
1591 CXXCPP C++ preprocessor
1592 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1593 `c++filt', `gc++filt' on PATH.
1594
1595 Use these variables to override the choices made by `configure' or to help
1596 it to find libraries and programs with nonstandard names/locations.
1597
1598 Report bugs to the package provider.
1599 _ACEOF
1600 ac_status=$?
1601 fi
1602
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1608 continue
1609 ac_builddir=.
1610
1611 case "$ac_dir" in
1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 *)
1614 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 esac ;;
1621 esac
1622 ac_abs_top_builddir=$ac_pwd
1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir=$ac_top_build_prefix
1626
1627 case $srcdir in
1628 .) # We are building in place.
1629 ac_srcdir=.
1630 ac_top_srcdir=$ac_top_builddir_sub
1631 ac_abs_top_srcdir=$ac_pwd ;;
1632 [\\/]* | ?:[\\/]* ) # Absolute name.
1633 ac_srcdir=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir=$srcdir
1635 ac_abs_top_srcdir=$srcdir ;;
1636 *) # Relative name.
1637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1640 esac
1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642
1643 cd "$ac_dir" || { ac_status=$?; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1646 echo &&
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1649 echo &&
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1651 else
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 fi || ac_status=$?
1654 cd "$ac_pwd" || { ac_status=$?; break; }
1655 done
1656 fi
1657
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1660 cat <<\_ACEOF
1661 package-unused configure version-unused
1662 generated by GNU Autoconf 2.64
1663
1664 Copyright (C) 2009 Free Software Foundation, Inc.
1665 This configure script is free software; the Free Software Foundation
1666 gives unlimited permission to copy, distribute and modify it.
1667 _ACEOF
1668 exit
1669 fi
1670
1671 ## ------------------------ ##
1672 ## Autoconf initialization. ##
1673 ## ------------------------ ##
1674
1675 # ac_fn_c_try_compile LINENO
1676 # --------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_compile ()
1679 {
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1683 case "(($ac_try" in
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1690 ac_status=$?
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1695 fi
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1701 ac_retval=0
1702 else
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1705
1706 ac_retval=1
1707 fi
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 return $ac_retval
1710
1711 } # ac_fn_c_try_compile
1712
1713 # ac_fn_cxx_try_compile LINENO
1714 # ----------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_cxx_try_compile ()
1717 {
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1721 case "(($ac_try" in
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1724 esac
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1728 ac_status=$?
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1733 fi
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_cxx_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1739 ac_retval=0
1740 else
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744 ac_retval=1
1745 fi
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 return $ac_retval
1748
1749 } # ac_fn_cxx_try_compile
1750
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_c_try_cpp ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if { { ac_try="$ac_cpp conftest.$ac_ext"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1770 fi
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } >/dev/null && {
1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 }; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 ac_retval=1
1782 fi
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1785
1786 } # ac_fn_c_try_cpp
1787
1788 # ac_fn_c_try_link LINENO
1789 # -----------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_link ()
1792 {
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 rm -f conftest.$ac_objext conftest$ac_exeext
1795 if { { ac_try="$ac_link"
1796 case "(($ac_try" in
1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798 *) ac_try_echo=$ac_try;;
1799 esac
1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>conftest.err
1803 ac_status=$?
1804 if test -s conftest.err; then
1805 grep -v '^ *+' conftest.err >conftest.er1
1806 cat conftest.er1 >&5
1807 mv -f conftest.er1 conftest.err
1808 fi
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && {
1811 test -z "$ac_c_werror_flag" ||
1812 test ! -s conftest.err
1813 } && test -s conftest$ac_exeext && {
1814 test "$cross_compiling" = yes ||
1815 $as_test_x conftest$ac_exeext
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822 ac_retval=1
1823 fi
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 return $ac_retval
1831
1832 } # ac_fn_c_try_link
1833
1834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1835 # -------------------------------------------------------
1836 # Tests whether HEADER exists and can be compiled using the include files in
1837 # INCLUDES, setting the cache variable VAR accordingly.
1838 ac_fn_c_check_header_compile ()
1839 {
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 $as_echo_n "(cached) " >&6
1845 else
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 $4
1849 #include <$2>
1850 _ACEOF
1851 if ac_fn_c_try_compile "$LINENO"; then :
1852 eval "$3=yes"
1853 else
1854 eval "$3=no"
1855 fi
1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 fi
1858 eval ac_res=\$$3
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862
1863 } # ac_fn_c_check_header_compile
1864
1865 # ac_fn_c_try_run LINENO
1866 # ----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1868 # that executables *can* be run.
1869 ac_fn_c_try_run ()
1870 {
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 if { { ac_try="$ac_link"
1873 case "(($ac_try" in
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1876 esac
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_link") 2>&5
1880 ac_status=$?
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1883 { { case "(($ac_try" in
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_try") 2>&5
1890 ac_status=$?
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; }; }; then :
1893 ac_retval=0
1894 else
1895 $as_echo "$as_me: program exited with status $ac_status" >&5
1896 $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1898
1899 ac_retval=$ac_status
1900 fi
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 return $ac_retval
1904
1905 } # ac_fn_c_try_run
1906
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1911 {
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916 $as_echo_n "(cached) " >&6
1917 else
1918 if test x$gcc_no_link = xyes; then
1919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1920 fi
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1925 #define $2 innocuous_$2
1926
1927 /* System header to define __stub macros and hopefully few prototypes,
1928 which can conflict with char $2 (); below.
1929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930 <limits.h> exists even on freestanding compilers. */
1931
1932 #ifdef __STDC__
1933 # include <limits.h>
1934 #else
1935 # include <assert.h>
1936 #endif
1937
1938 #undef $2
1939
1940 /* Override any GCC internal prototype to avoid an error.
1941 Use char because int might match the return type of a GCC
1942 builtin and then its argument prototype would still apply. */
1943 #ifdef __cplusplus
1944 extern "C"
1945 #endif
1946 char $2 ();
1947 /* The GNU C library defines this for functions which it implements
1948 to always fail with ENOSYS. Some functions are actually named
1949 something starting with __ and the normal name is an alias. */
1950 #if defined __stub_$2 || defined __stub___$2
1951 choke me
1952 #endif
1953
1954 int
1955 main ()
1956 {
1957 return $2 ();
1958 ;
1959 return 0;
1960 }
1961 _ACEOF
1962 if ac_fn_c_try_link "$LINENO"; then :
1963 eval "$3=yes"
1964 else
1965 eval "$3=no"
1966 fi
1967 rm -f core conftest.err conftest.$ac_objext \
1968 conftest$ac_exeext conftest.$ac_ext
1969 fi
1970 eval ac_res=\$$3
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974
1975 } # ac_fn_c_check_func
1976
1977 # ac_fn_cxx_try_cpp LINENO
1978 # ------------------------
1979 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1980 ac_fn_cxx_try_cpp ()
1981 {
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if { { ac_try="$ac_cpp conftest.$ac_ext"
1984 case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1991 ac_status=$?
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1996 fi
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } >/dev/null && {
1999 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 }; then :
2002 ac_retval=0
2003 else
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.$ac_ext >&5
2006
2007 ac_retval=1
2008 fi
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010 return $ac_retval
2011
2012 } # ac_fn_cxx_try_cpp
2013
2014 # ac_fn_cxx_try_link LINENO
2015 # -------------------------
2016 # Try to link conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_link ()
2018 {
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 rm -f conftest.$ac_objext conftest$ac_exeext
2021 if { { ac_try="$ac_link"
2022 case "(($ac_try" in
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2025 esac
2026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027 $as_echo "$ac_try_echo"; } >&5
2028 (eval "$ac_link") 2>conftest.err
2029 ac_status=$?
2030 if test -s conftest.err; then
2031 grep -v '^ *+' conftest.err >conftest.er1
2032 cat conftest.er1 >&5
2033 mv -f conftest.er1 conftest.err
2034 fi
2035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036 test $ac_status = 0; } && {
2037 test -z "$ac_cxx_werror_flag" ||
2038 test ! -s conftest.err
2039 } && test -s conftest$ac_exeext && {
2040 test "$cross_compiling" = yes ||
2041 $as_test_x conftest$ac_exeext
2042 }; then :
2043 ac_retval=0
2044 else
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2047
2048 ac_retval=1
2049 fi
2050 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2051 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2052 # interfere with the next link command; also delete a directory that is
2053 # left behind by Apple's compiler. We do this before executing the actions.
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 return $ac_retval
2057
2058 } # ac_fn_cxx_try_link
2059
2060 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2061 # -------------------------------------------------------
2062 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2063 # the include files in INCLUDES and setting the cache variable VAR
2064 # accordingly.
2065 ac_fn_c_check_header_mongrel ()
2066 {
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2072 $as_echo_n "(cached) " >&6
2073 fi
2074 eval ac_res=\$$3
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 else
2078 # Is the header compilable?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2080 $as_echo_n "checking $2 usability... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2083 $4
2084 #include <$2>
2085 _ACEOF
2086 if ac_fn_c_try_compile "$LINENO"; then :
2087 ac_header_compiler=yes
2088 else
2089 ac_header_compiler=no
2090 fi
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2093 $as_echo "$ac_header_compiler" >&6; }
2094
2095 # Is the header present?
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2097 $as_echo_n "checking $2 presence... " >&6; }
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_cpp "$LINENO"; then :
2103 ac_header_preproc=yes
2104 else
2105 ac_header_preproc=no
2106 fi
2107 rm -f conftest.err conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2109 $as_echo "$ac_header_preproc" >&6; }
2110
2111 # So? What about this header?
2112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2113 yes:no: )
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2115 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 ;;
2119 no:yes:* )
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2121 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2123 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2125 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2127 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 ;;
2131 esac
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133 $as_echo_n "checking for $2... " >&6; }
2134 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2135 $as_echo_n "(cached) " >&6
2136 else
2137 eval "$3=\$ac_header_compiler"
2138 fi
2139 eval ac_res=\$$3
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2141 $as_echo "$ac_res" >&6; }
2142 fi
2143 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144
2145 } # ac_fn_c_check_header_mongrel
2146
2147 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2148 # ---------------------------------------------------------
2149 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2150 # the include files in INCLUDES and setting the cache variable VAR
2151 # accordingly.
2152 ac_fn_cxx_check_header_mongrel ()
2153 {
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157 $as_echo_n "checking for $2... " >&6; }
2158 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2159 $as_echo_n "(cached) " >&6
2160 fi
2161 eval ac_res=\$$3
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 else
2165 # Is the header compilable?
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2167 $as_echo_n "checking $2 usability... " >&6; }
2168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2170 $4
2171 #include <$2>
2172 _ACEOF
2173 if ac_fn_cxx_try_compile "$LINENO"; then :
2174 ac_header_compiler=yes
2175 else
2176 ac_header_compiler=no
2177 fi
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2180 $as_echo "$ac_header_compiler" >&6; }
2181
2182 # Is the header present?
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2184 $as_echo_n "checking $2 presence... " >&6; }
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_cpp "$LINENO"; then :
2190 ac_header_preproc=yes
2191 else
2192 ac_header_preproc=no
2193 fi
2194 rm -f conftest.err conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2196 $as_echo "$ac_header_preproc" >&6; }
2197
2198 # So? What about this header?
2199 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2200 yes:no: )
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2202 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 ;;
2206 no:yes:* )
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2208 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2210 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2212 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2214 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2216 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2217 ;;
2218 esac
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2220 $as_echo_n "checking for $2... " >&6; }
2221 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2222 $as_echo_n "(cached) " >&6
2223 else
2224 eval "$3=\$ac_header_compiler"
2225 fi
2226 eval ac_res=\$$3
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2228 $as_echo "$ac_res" >&6; }
2229 fi
2230 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2231
2232 } # ac_fn_cxx_check_header_mongrel
2233
2234 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2235 # --------------------------------------------
2236 # Tries to find the compile-time value of EXPR in a program that includes
2237 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2238 # computed
2239 ac_fn_c_compute_int ()
2240 {
2241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2242 if test "$cross_compiling" = yes; then
2243 # Depending upon the size, compute the lo and hi bounds.
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2246 $4
2247 int
2248 main ()
2249 {
2250 static int test_array [1 - 2 * !(($2) >= 0)];
2251 test_array [0] = 0
2252
2253 ;
2254 return 0;
2255 }
2256 _ACEOF
2257 if ac_fn_c_try_compile "$LINENO"; then :
2258 ac_lo=0 ac_mid=0
2259 while :; do
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2267 test_array [0] = 0
2268
2269 ;
2270 return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_hi=$ac_mid; break
2275 else
2276 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2277 if test $ac_lo -le $ac_mid; then
2278 ac_lo= ac_hi=
2279 break
2280 fi
2281 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2282 fi
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 done
2285 else
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2288 $4
2289 int
2290 main ()
2291 {
2292 static int test_array [1 - 2 * !(($2) < 0)];
2293 test_array [0] = 0
2294
2295 ;
2296 return 0;
2297 }
2298 _ACEOF
2299 if ac_fn_c_try_compile "$LINENO"; then :
2300 ac_hi=-1 ac_mid=-1
2301 while :; do
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2309 test_array [0] = 0
2310
2311 ;
2312 return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_lo=$ac_mid; break
2317 else
2318 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2319 if test $ac_mid -le $ac_hi; then
2320 ac_lo= ac_hi=
2321 break
2322 fi
2323 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2324 fi
2325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2326 done
2327 else
2328 ac_lo= ac_hi=
2329 fi
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 fi
2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2333 # Binary search between lo and hi bounds.
2334 while test "x$ac_lo" != "x$ac_hi"; do
2335 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2338 $4
2339 int
2340 main ()
2341 {
2342 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2343 test_array [0] = 0
2344
2345 ;
2346 return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=$ac_mid
2351 else
2352 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2353 fi
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 done
2356 case $ac_lo in #((
2357 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2358 '') ac_retval=1 ;;
2359 esac
2360 else
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2363 $4
2364 static long int longval () { return $2; }
2365 static unsigned long int ulongval () { return $2; }
2366 #include <stdio.h>
2367 #include <stdlib.h>
2368 int
2369 main ()
2370 {
2371
2372 FILE *f = fopen ("conftest.val", "w");
2373 if (! f)
2374 return 1;
2375 if (($2) < 0)
2376 {
2377 long int i = longval ();
2378 if (i != ($2))
2379 return 1;
2380 fprintf (f, "%ld", i);
2381 }
2382 else
2383 {
2384 unsigned long int i = ulongval ();
2385 if (i != ($2))
2386 return 1;
2387 fprintf (f, "%lu", i);
2388 }
2389 /* Do not output a trailing newline, as this causes \r\n confusion
2390 on some platforms. */
2391 return ferror (f) || fclose (f) != 0;
2392
2393 ;
2394 return 0;
2395 }
2396 _ACEOF
2397 if ac_fn_c_try_run "$LINENO"; then :
2398 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2399 else
2400 ac_retval=1
2401 fi
2402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2403 conftest.$ac_objext conftest.beam conftest.$ac_ext
2404 rm -f conftest.val
2405
2406 fi
2407 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2408 return $ac_retval
2409
2410 } # ac_fn_c_compute_int
2411
2412 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2413 # -------------------------------------------
2414 # Tests whether TYPE exists after having included INCLUDES, setting cache
2415 # variable VAR accordingly.
2416 ac_fn_c_check_type ()
2417 {
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2420 $as_echo_n "checking for $2... " >&6; }
2421 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2422 $as_echo_n "(cached) " >&6
2423 else
2424 eval "$3=no"
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2427 $4
2428 int
2429 main ()
2430 {
2431 if (sizeof ($2))
2432 return 0;
2433 ;
2434 return 0;
2435 }
2436 _ACEOF
2437 if ac_fn_c_try_compile "$LINENO"; then :
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2440 $4
2441 int
2442 main ()
2443 {
2444 if (sizeof (($2)))
2445 return 0;
2446 ;
2447 return 0;
2448 }
2449 _ACEOF
2450 if ac_fn_c_try_compile "$LINENO"; then :
2451
2452 else
2453 eval "$3=yes"
2454 fi
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 fi
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 fi
2459 eval ac_res=\$$3
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2463
2464 } # ac_fn_c_check_type
2465 cat >config.log <<_ACEOF
2466 This file contains any messages produced by compilers while
2467 running configure, to aid debugging if configure makes a mistake.
2468
2469 It was created by package-unused $as_me version-unused, which was
2470 generated by GNU Autoconf 2.64. Invocation command line was
2471
2472 $ $0 $@
2473
2474 _ACEOF
2475 exec 5>>config.log
2476 {
2477 cat <<_ASUNAME
2478 ## --------- ##
2479 ## Platform. ##
2480 ## --------- ##
2481
2482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2487
2488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2490
2491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2498
2499 _ASUNAME
2500
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 for as_dir in $PATH
2503 do
2504 IFS=$as_save_IFS
2505 test -z "$as_dir" && as_dir=.
2506 $as_echo "PATH: $as_dir"
2507 done
2508 IFS=$as_save_IFS
2509
2510 } >&5
2511
2512 cat >&5 <<_ACEOF
2513
2514
2515 ## ----------- ##
2516 ## Core tests. ##
2517 ## ----------- ##
2518
2519 _ACEOF
2520
2521
2522 # Keep a trace of the command line.
2523 # Strip out --no-create and --no-recursion so they do not pile up.
2524 # Strip out --silent because we don't want to record it for future runs.
2525 # Also quote any args containing shell meta-characters.
2526 # Make two passes to allow for proper duplicate-argument suppression.
2527 ac_configure_args=
2528 ac_configure_args0=
2529 ac_configure_args1=
2530 ac_must_keep_next=false
2531 for ac_pass in 1 2
2532 do
2533 for ac_arg
2534 do
2535 case $ac_arg in
2536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2538 | -silent | --silent | --silen | --sile | --sil)
2539 continue ;;
2540 *\'*)
2541 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2542 esac
2543 case $ac_pass in
2544 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2545 2)
2546 as_fn_append ac_configure_args1 " '$ac_arg'"
2547 if test $ac_must_keep_next = true; then
2548 ac_must_keep_next=false # Got value, back to normal.
2549 else
2550 case $ac_arg in
2551 *=* | --config-cache | -C | -disable-* | --disable-* \
2552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2554 | -with-* | --with-* | -without-* | --without-* | --x)
2555 case "$ac_configure_args0 " in
2556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2557 esac
2558 ;;
2559 -* ) ac_must_keep_next=true ;;
2560 esac
2561 fi
2562 as_fn_append ac_configure_args " '$ac_arg'"
2563 ;;
2564 esac
2565 done
2566 done
2567 { ac_configure_args0=; unset ac_configure_args0;}
2568 { ac_configure_args1=; unset ac_configure_args1;}
2569
2570 # When interrupted or exit'd, cleanup temporary files, and complete
2571 # config.log. We remove comments because anyway the quotes in there
2572 # would cause problems or look ugly.
2573 # WARNING: Use '\'' to represent an apostrophe within the trap.
2574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2575 trap 'exit_status=$?
2576 # Save into config.log some information that might help in debugging.
2577 {
2578 echo
2579
2580 cat <<\_ASBOX
2581 ## ---------------- ##
2582 ## Cache variables. ##
2583 ## ---------------- ##
2584 _ASBOX
2585 echo
2586 # The following way of writing the cache mishandles newlines in values,
2587 (
2588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2589 eval ac_val=\$$ac_var
2590 case $ac_val in #(
2591 *${as_nl}*)
2592 case $ac_var in #(
2593 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2595 esac
2596 case $ac_var in #(
2597 _ | IFS | as_nl) ;; #(
2598 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2599 *) { eval $ac_var=; unset $ac_var;} ;;
2600 esac ;;
2601 esac
2602 done
2603 (set) 2>&1 |
2604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2605 *${as_nl}ac_space=\ *)
2606 sed -n \
2607 "s/'\''/'\''\\\\'\'''\''/g;
2608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2609 ;; #(
2610 *)
2611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2612 ;;
2613 esac |
2614 sort
2615 )
2616 echo
2617
2618 cat <<\_ASBOX
2619 ## ----------------- ##
2620 ## Output variables. ##
2621 ## ----------------- ##
2622 _ASBOX
2623 echo
2624 for ac_var in $ac_subst_vars
2625 do
2626 eval ac_val=\$$ac_var
2627 case $ac_val in
2628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2629 esac
2630 $as_echo "$ac_var='\''$ac_val'\''"
2631 done | sort
2632 echo
2633
2634 if test -n "$ac_subst_files"; then
2635 cat <<\_ASBOX
2636 ## ------------------- ##
2637 ## File substitutions. ##
2638 ## ------------------- ##
2639 _ASBOX
2640 echo
2641 for ac_var in $ac_subst_files
2642 do
2643 eval ac_val=\$$ac_var
2644 case $ac_val in
2645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2646 esac
2647 $as_echo "$ac_var='\''$ac_val'\''"
2648 done | sort
2649 echo
2650 fi
2651
2652 if test -s confdefs.h; then
2653 cat <<\_ASBOX
2654 ## ----------- ##
2655 ## confdefs.h. ##
2656 ## ----------- ##
2657 _ASBOX
2658 echo
2659 cat confdefs.h
2660 echo
2661 fi
2662 test "$ac_signal" != 0 &&
2663 $as_echo "$as_me: caught signal $ac_signal"
2664 $as_echo "$as_me: exit $exit_status"
2665 } >&5
2666 rm -f core *.core core.conftest.* &&
2667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2668 exit $exit_status
2669 ' 0
2670 for ac_signal in 1 2 13 15; do
2671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2672 done
2673 ac_signal=0
2674
2675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2676 rm -f -r conftest* confdefs.h
2677
2678 $as_echo "/* confdefs.h */" > confdefs.h
2679
2680 # Predefined preprocessor variables.
2681
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_NAME "$PACKAGE_NAME"
2684 _ACEOF
2685
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2688 _ACEOF
2689
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2692 _ACEOF
2693
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_STRING "$PACKAGE_STRING"
2696 _ACEOF
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_URL "$PACKAGE_URL"
2704 _ACEOF
2705
2706
2707 # Let the site file select an alternate cache file if it wants to.
2708 # Prefer an explicitly selected file to automatically selected ones.
2709 ac_site_file1=NONE
2710 ac_site_file2=NONE
2711 if test -n "$CONFIG_SITE"; then
2712 ac_site_file1=$CONFIG_SITE
2713 elif test "x$prefix" != xNONE; then
2714 ac_site_file1=$prefix/share/config.site
2715 ac_site_file2=$prefix/etc/config.site
2716 else
2717 ac_site_file1=$ac_default_prefix/share/config.site
2718 ac_site_file2=$ac_default_prefix/etc/config.site
2719 fi
2720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2721 do
2722 test "x$ac_site_file" = xNONE && continue
2723 if test -r "$ac_site_file"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2726 sed 's/^/| /' "$ac_site_file" >&5
2727 . "$ac_site_file"
2728 fi
2729 done
2730
2731 if test -r "$cache_file"; then
2732 # Some versions of bash will fail to source /dev/null (special
2733 # files actually), so we avoid doing that.
2734 if test -f "$cache_file"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2736 $as_echo "$as_me: loading cache $cache_file" >&6;}
2737 case $cache_file in
2738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2739 *) . "./$cache_file";;
2740 esac
2741 fi
2742 else
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2744 $as_echo "$as_me: creating cache $cache_file" >&6;}
2745 >$cache_file
2746 fi
2747
2748 # Check that the precious variables saved in the cache have kept the same
2749 # value.
2750 ac_cache_corrupted=false
2751 for ac_var in $ac_precious_vars; do
2752 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2753 eval ac_new_set=\$ac_env_${ac_var}_set
2754 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2755 eval ac_new_val=\$ac_env_${ac_var}_value
2756 case $ac_old_set,$ac_new_set in
2757 set,)
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2760 ac_cache_corrupted=: ;;
2761 ,set)
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2764 ac_cache_corrupted=: ;;
2765 ,);;
2766 *)
2767 if test "x$ac_old_val" != "x$ac_new_val"; then
2768 # differences in whitespace do not lead to failure.
2769 ac_old_val_w=`echo x $ac_old_val`
2770 ac_new_val_w=`echo x $ac_new_val`
2771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2774 ac_cache_corrupted=:
2775 else
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2778 eval $ac_var=\$ac_old_val
2779 fi
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2784 fi;;
2785 esac
2786 # Pass precious variables to config.status.
2787 if test "$ac_new_set" = set; then
2788 case $ac_new_val in
2789 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2790 *) ac_arg=$ac_var=$ac_new_val ;;
2791 esac
2792 case " $ac_configure_args " in
2793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2794 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2795 esac
2796 fi
2797 done
2798 if $ac_cache_corrupted; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2803 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2804 fi
2805 ## -------------------- ##
2806 ## Main body of script. ##
2807 ## -------------------- ##
2808
2809 ac_ext=c
2810 ac_cpp='$CPP $CPPFLAGS'
2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2814
2815
2816
2817
2818
2819
2820 ac_config_headers="$ac_config_headers config.h"
2821
2822
2823 # This works around the fact that libtool configuration may change LD
2824 # for this particular configuration, but some shells, instead of
2825 # keeping the changes in LD private, export them just because LD is
2826 # exported. Only used at the end of this file.
2827 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2828
2829 # Find the rest of the source tree framework.
2830 # Default to --enable-multilib
2831 # Check whether --enable-multilib was given.
2832 if test "${enable_multilib+set}" = set; then :
2833 enableval=$enable_multilib; case "$enableval" in
2834 yes) multilib=yes ;;
2835 no) multilib=no ;;
2836 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2837 esac
2838 else
2839 multilib=yes
2840 fi
2841
2842
2843 # We may get other options which we leave undocumented:
2844 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2845 # See config-ml.in if you want the gory details.
2846
2847 if test "$srcdir" = "."; then
2848 if test "$with_target_subdir" != "."; then
2849 multi_basedir="$srcdir/$with_multisrctop../.."
2850 else
2851 multi_basedir="$srcdir/$with_multisrctop.."
2852 fi
2853 else
2854 multi_basedir="$srcdir/.."
2855 fi
2856
2857
2858 # Even if the default multilib is not a cross compilation,
2859 # it may be that some of the other multilibs are.
2860 if test $cross_compiling = no && test $multilib = yes \
2861 && test "x${with_multisubdir}" != x ; then
2862 cross_compiling=maybe
2863 fi
2864
2865 ac_config_commands="$ac_config_commands default-1"
2866
2867
2868 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2869 #
2870 # You will slowly go insane if you do not grok the following fact: when
2871 # building v3 as part of the compiler, the top-level /target/ becomes the
2872 # library's /host/. configure then causes --target to default to --host,
2873 # exactly like any other package using autoconf. Therefore, 'target' and
2874 # 'host' will always be the same. This makes sense both for native and
2875 # cross compilers, just think about it for a little while. :-)
2876 #
2877 # Also, if v3 is being configured as part of a cross compiler, the top-level
2878 # configure script will pass the "real" host as $with_cross_host.
2879 #
2880 # Do not delete or change the following two lines. For why, see
2881 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2882 ac_aux_dir=
2883 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2884 for ac_t in install-sh install.sh shtool; do
2885 if test -f "$ac_dir/$ac_t"; then
2886 ac_aux_dir=$ac_dir
2887 ac_install_sh="$ac_aux_dir/$ac_t -c"
2888 break 2
2889 fi
2890 done
2891 done
2892 if test -z "$ac_aux_dir"; then
2893 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2894 fi
2895
2896 # These three variables are undocumented and unsupported,
2897 # and are intended to be withdrawn in a future Autoconf release.
2898 # They can cause serious problems if a builder's source tree is in a directory
2899 # whose full name contains unusual characters.
2900 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2901 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2902 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2903
2904
2905 # Make sure we can run config.sub.
2906 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2907 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2908
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2910 $as_echo_n "checking build system type... " >&6; }
2911 if test "${ac_cv_build+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 ac_build_alias=$build_alias
2915 test "x$ac_build_alias" = x &&
2916 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2917 test "x$ac_build_alias" = x &&
2918 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2919 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2920 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2921
2922 fi
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2924 $as_echo "$ac_cv_build" >&6; }
2925 case $ac_cv_build in
2926 *-*-*) ;;
2927 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2928 esac
2929 build=$ac_cv_build
2930 ac_save_IFS=$IFS; IFS='-'
2931 set x $ac_cv_build
2932 shift
2933 build_cpu=$1
2934 build_vendor=$2
2935 shift; shift
2936 # Remember, the first character of IFS is used to create $*,
2937 # except with old shells:
2938 build_os=$*
2939 IFS=$ac_save_IFS
2940 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2941
2942
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2944 $as_echo_n "checking host system type... " >&6; }
2945 if test "${ac_cv_host+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 if test "x$host_alias" = x; then
2949 ac_cv_host=$ac_cv_build
2950 else
2951 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2952 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2953 fi
2954
2955 fi
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2957 $as_echo "$ac_cv_host" >&6; }
2958 case $ac_cv_host in
2959 *-*-*) ;;
2960 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2961 esac
2962 host=$ac_cv_host
2963 ac_save_IFS=$IFS; IFS='-'
2964 set x $ac_cv_host
2965 shift
2966 host_cpu=$1
2967 host_vendor=$2
2968 shift; shift
2969 # Remember, the first character of IFS is used to create $*,
2970 # except with old shells:
2971 host_os=$*
2972 IFS=$ac_save_IFS
2973 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2974
2975
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2977 $as_echo_n "checking target system type... " >&6; }
2978 if test "${ac_cv_target+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2980 else
2981 if test "x$target_alias" = x; then
2982 ac_cv_target=$ac_cv_host
2983 else
2984 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2985 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2986 fi
2987
2988 fi
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2990 $as_echo "$ac_cv_target" >&6; }
2991 case $ac_cv_target in
2992 *-*-*) ;;
2993 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2994 esac
2995 target=$ac_cv_target
2996 ac_save_IFS=$IFS; IFS='-'
2997 set x $ac_cv_target
2998 shift
2999 target_cpu=$1
3000 target_vendor=$2
3001 shift; shift
3002 # Remember, the first character of IFS is used to create $*,
3003 # except with old shells:
3004 target_os=$*
3005 IFS=$ac_save_IFS
3006 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3007
3008
3009 # The aliases save the names the user supplied, while $host etc.
3010 # will get canonicalized.
3011 test -n "$target_alias" &&
3012 test "$program_prefix$program_suffix$program_transform_name" = \
3013 NONENONEs,x,x, &&
3014 program_prefix=${target_alias}-
3015
3016 target_alias=${target_alias-$host_alias}
3017
3018 # Handy for debugging:
3019 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3020
3021 if test "$build" != "$host"; then
3022 # We are being configured with some form of cross compiler.
3023 GLIBCXX_IS_NATIVE=false
3024 case "$host","$target" in
3025 # Darwin crosses can use the host system's libraries and headers,
3026 # because of the fat library support. Of course, it must be the
3027 # same version of Darwin on both sides. Allow the user to
3028 # just say --target=foo-darwin without a version number to mean
3029 # "the version on this system".
3030 *-*-darwin*,*-*-darwin*)
3031 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3032 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3033 if test $hostos = $targetos -o $targetos = darwin ; then
3034 GLIBCXX_IS_NATIVE=true
3035 fi
3036 ;;
3037
3038 *)
3039
3040 ;;
3041 esac
3042 else
3043 GLIBCXX_IS_NATIVE=true
3044 fi
3045
3046 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3047 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3048 # 1.x: minimum required version
3049 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3050 # of other PACKAGE_* variables will, however, and there's nothing
3051 # we can do about that; they come from AC_INIT).
3052 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3053 # file in the top srcdir, etc, etc), so stop complaining.
3054 # no-dependencies: turns off auto dependency generation (just for now)
3055 # no-dist: we don't want 'dist' and related rules.
3056 # -Wall: turns on all automake warnings...
3057 # -Wno-portability: ...except this one, since GNU make is now required.
3058 am__api_version='1.11'
3059
3060 # Find a good install program. We prefer a C program (faster),
3061 # so one script is as good as another. But avoid the broken or
3062 # incompatible versions:
3063 # SysV /etc/install, /usr/sbin/install
3064 # SunOS /usr/etc/install
3065 # IRIX /sbin/install
3066 # AIX /bin/install
3067 # AmigaOS /C/install, which installs bootblocks on floppy discs
3068 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3069 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3070 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3071 # OS/2's system install, which has a completely different semantic
3072 # ./install, which can be erroneously created by make from ./install.sh.
3073 # Reject install programs that cannot install multiple files.
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3075 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3076 if test -z "$INSTALL"; then
3077 if test "${ac_cv_path_install+set}" = set; then :
3078 $as_echo_n "(cached) " >&6
3079 else
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3082 do
3083 IFS=$as_save_IFS
3084 test -z "$as_dir" && as_dir=.
3085 # Account for people who put trailing slashes in PATH elements.
3086 case $as_dir/ in #((
3087 ./ | .// | /[cC]/* | \
3088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3089 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3090 /usr/ucb/* ) ;;
3091 *)
3092 # OSF1 and SCO ODT 3.0 have their own names for install.
3093 # Don't use installbsd from OSF since it installs stuff as root
3094 # by default.
3095 for ac_prog in ginstall scoinst install; do
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3098 if test $ac_prog = install &&
3099 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3100 # AIX install. It has an incompatible calling convention.
3101 :
3102 elif test $ac_prog = install &&
3103 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3104 # program-specific install script used by HP pwplus--don't use.
3105 :
3106 else
3107 rm -rf conftest.one conftest.two conftest.dir
3108 echo one > conftest.one
3109 echo two > conftest.two
3110 mkdir conftest.dir
3111 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3112 test -s conftest.one && test -s conftest.two &&
3113 test -s conftest.dir/conftest.one &&
3114 test -s conftest.dir/conftest.two
3115 then
3116 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3117 break 3
3118 fi
3119 fi
3120 fi
3121 done
3122 done
3123 ;;
3124 esac
3125
3126 done
3127 IFS=$as_save_IFS
3128
3129 rm -rf conftest.one conftest.two conftest.dir
3130
3131 fi
3132 if test "${ac_cv_path_install+set}" = set; then
3133 INSTALL=$ac_cv_path_install
3134 else
3135 # As a last resort, use the slow shell script. Don't cache a
3136 # value for INSTALL within a source directory, because that will
3137 # break other packages using the cache if that directory is
3138 # removed, or if the value is a relative name.
3139 INSTALL=$ac_install_sh
3140 fi
3141 fi
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3143 $as_echo "$INSTALL" >&6; }
3144
3145 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3146 # It thinks the first close brace ends the variable substitution.
3147 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3148
3149 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3150
3151 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3152
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3154 $as_echo_n "checking whether build environment is sane... " >&6; }
3155 # Just in case
3156 sleep 1
3157 echo timestamp > conftest.file
3158 # Reject unsafe characters in $srcdir or the absolute working directory
3159 # name. Accept space and tab only in the latter.
3160 am_lf='
3161 '
3162 case `pwd` in
3163 *[\\\"\#\$\&\'\`$am_lf]*)
3164 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3165 esac
3166 case $srcdir in
3167 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3168 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3169 esac
3170
3171 # Do `set' in a subshell so we don't clobber the current shell's
3172 # arguments. Must try -L first in case configure is actually a
3173 # symlink; some systems play weird games with the mod time of symlinks
3174 # (eg FreeBSD returns the mod time of the symlink's containing
3175 # directory).
3176 if (
3177 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3178 if test "$*" = "X"; then
3179 # -L didn't work.
3180 set X `ls -t "$srcdir/configure" conftest.file`
3181 fi
3182 rm -f conftest.file
3183 if test "$*" != "X $srcdir/configure conftest.file" \
3184 && test "$*" != "X conftest.file $srcdir/configure"; then
3185
3186 # If neither matched, then we have a broken ls. This can happen
3187 # if, for instance, CONFIG_SHELL is bash and it inherits a
3188 # broken ls alias from the environment. This has actually
3189 # happened. Such a system could not be considered "sane".
3190 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3191 alias in your environment" "$LINENO" 5
3192 fi
3193
3194 test "$2" = conftest.file
3195 )
3196 then
3197 # Ok.
3198 :
3199 else
3200 as_fn_error "newly created file is older than distributed files!
3201 Check your system clock" "$LINENO" 5
3202 fi
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3204 $as_echo "yes" >&6; }
3205 test "$program_prefix" != NONE &&
3206 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3207 # Use a double $ so make ignores it.
3208 test "$program_suffix" != NONE &&
3209 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3210 # Double any \ or $.
3211 # By default was `s,x,x', remove it if useless.
3212 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3213 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3214
3215 # expand $ac_aux_dir to an absolute path
3216 am_aux_dir=`cd $ac_aux_dir && pwd`
3217
3218 if test x"${MISSING+set}" != xset; then
3219 case $am_aux_dir in
3220 *\ * | *\ *)
3221 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3222 *)
3223 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3224 esac
3225 fi
3226 # Use eval to expand $SHELL
3227 if eval "$MISSING --run true"; then
3228 am_missing_run="$MISSING --run "
3229 else
3230 am_missing_run=
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3232 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3233 fi
3234
3235 if test x"${install_sh}" != xset; then
3236 case $am_aux_dir in
3237 *\ * | *\ *)
3238 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3239 *)
3240 install_sh="\${SHELL} $am_aux_dir/install-sh"
3241 esac
3242 fi
3243
3244 # Installed binaries are usually stripped using `strip' when the user
3245 # run `make install-strip'. However `strip' might not be the right
3246 # tool to use in cross-compilation environments, therefore Automake
3247 # will honor the `STRIP' environment variable to overrule this program.
3248 if test "$cross_compiling" != no; then
3249 if test -n "$ac_tool_prefix"; then
3250 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3251 set dummy ${ac_tool_prefix}strip; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if test "${ac_cv_prog_STRIP+set}" = set; then :
3255 $as_echo_n "(cached) " >&6
3256 else
3257 if test -n "$STRIP"; then
3258 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3259 else
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 for as_dir in $PATH
3262 do
3263 IFS=$as_save_IFS
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3267 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 break 2
3270 fi
3271 done
3272 done
3273 IFS=$as_save_IFS
3274
3275 fi
3276 fi
3277 STRIP=$ac_cv_prog_STRIP
3278 if test -n "$STRIP"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3280 $as_echo "$STRIP" >&6; }
3281 else
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3284 fi
3285
3286
3287 fi
3288 if test -z "$ac_cv_prog_STRIP"; then
3289 ac_ct_STRIP=$STRIP
3290 # Extract the first word of "strip", so it can be a program name with args.
3291 set dummy strip; ac_word=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 if test -n "$ac_ct_STRIP"; then
3298 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3302 do
3303 IFS=$as_save_IFS
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 ac_cv_prog_ac_ct_STRIP="strip"
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 break 2
3310 fi
3311 done
3312 done
3313 IFS=$as_save_IFS
3314
3315 fi
3316 fi
3317 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3318 if test -n "$ac_ct_STRIP"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3320 $as_echo "$ac_ct_STRIP" >&6; }
3321 else
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3324 fi
3325
3326 if test "x$ac_ct_STRIP" = x; then
3327 STRIP=":"
3328 else
3329 case $cross_compiling:$ac_tool_warned in
3330 yes:)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3333 ac_tool_warned=yes ;;
3334 esac
3335 STRIP=$ac_ct_STRIP
3336 fi
3337 else
3338 STRIP="$ac_cv_prog_STRIP"
3339 fi
3340
3341 fi
3342 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3343
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3345 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3346 if test -z "$MKDIR_P"; then
3347 if test "${ac_cv_path_mkdir+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3352 do
3353 IFS=$as_save_IFS
3354 test -z "$as_dir" && as_dir=.
3355 for ac_prog in mkdir gmkdir; do
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3358 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3359 'mkdir (GNU coreutils) '* | \
3360 'mkdir (coreutils) '* | \
3361 'mkdir (fileutils) '4.1*)
3362 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3363 break 3;;
3364 esac
3365 done
3366 done
3367 done
3368 IFS=$as_save_IFS
3369
3370 fi
3371
3372 if test "${ac_cv_path_mkdir+set}" = set; then
3373 MKDIR_P="$ac_cv_path_mkdir -p"
3374 else
3375 # As a last resort, use the slow shell script. Don't cache a
3376 # value for MKDIR_P within a source directory, because that will
3377 # break other packages using the cache if that directory is
3378 # removed, or if the value is a relative name.
3379 test -d ./--version && rmdir ./--version
3380 MKDIR_P="$ac_install_sh -d"
3381 fi
3382 fi
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3384 $as_echo "$MKDIR_P" >&6; }
3385
3386 mkdir_p="$MKDIR_P"
3387 case $mkdir_p in
3388 [\\/$]* | ?:[\\/]*) ;;
3389 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3390 esac
3391
3392 for ac_prog in gawk mawk nawk awk
3393 do
3394 # Extract the first word of "$ac_prog", so it can be a program name with args.
3395 set dummy $ac_prog; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_AWK+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$AWK"; then
3402 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3406 do
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_AWK="$ac_prog"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3414 fi
3415 done
3416 done
3417 IFS=$as_save_IFS
3418
3419 fi
3420 fi
3421 AWK=$ac_cv_prog_AWK
3422 if test -n "$AWK"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3424 $as_echo "$AWK" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 fi
3429
3430
3431 test -n "$AWK" && break
3432 done
3433
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3435 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3436 set x ${MAKE-make}
3437 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3438 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 cat >conftest.make <<\_ACEOF
3442 SHELL = /bin/sh
3443 all:
3444 @echo '@@@%%%=$(MAKE)=@@@%%%'
3445 _ACEOF
3446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3447 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3448 *@@@%%%=?*=@@@%%%*)
3449 eval ac_cv_prog_make_${ac_make}_set=yes;;
3450 *)
3451 eval ac_cv_prog_make_${ac_make}_set=no;;
3452 esac
3453 rm -f conftest.make
3454 fi
3455 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3457 $as_echo "yes" >&6; }
3458 SET_MAKE=
3459 else
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3462 SET_MAKE="MAKE=${MAKE-make}"
3463 fi
3464
3465 rm -rf .tst 2>/dev/null
3466 mkdir .tst 2>/dev/null
3467 if test -d .tst; then
3468 am__leading_dot=.
3469 else
3470 am__leading_dot=_
3471 fi
3472 rmdir .tst 2>/dev/null
3473
3474 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3475 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3476 # is not polluted with repeated "-I."
3477 am__isrc=' -I$(srcdir)'
3478 # test to see if srcdir already configured
3479 if test -f $srcdir/config.status; then
3480 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3481 fi
3482 fi
3483
3484 # test whether we have cygpath
3485 if test -z "$CYGPATH_W"; then
3486 if (cygpath --version) >/dev/null 2>/dev/null; then
3487 CYGPATH_W='cygpath -w'
3488 else
3489 CYGPATH_W=echo
3490 fi
3491 fi
3492
3493
3494 # Define the identity of the package.
3495 PACKAGE='libstdc++'
3496 VERSION='version-unused'
3497
3498
3499 # Some tools Automake needs.
3500
3501 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3502
3503
3504 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3505
3506
3507 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3508
3509
3510 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3511
3512
3513 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3514
3515 # We need awk for the "check" target. The system "awk" is bad on
3516 # some platforms.
3517 # Always define AMTAR for backward compatibility.
3518
3519 AMTAR=${AMTAR-"${am_missing_run}tar"}
3520
3521 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3522
3523
3524
3525
3526
3527
3528
3529
3530 # -fno-builtin must be present here so that a non-conflicting form of
3531 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3532
3533 save_CXXFLAGS="$CXXFLAGS"
3534 CXXFLAGS="$CXXFLAGS -fno-builtin"
3535 ac_ext=c
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3540 if test -n "$ac_tool_prefix"; then
3541 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3542 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 $as_echo_n "checking for $ac_word... " >&6; }
3545 if test "${ac_cv_prog_CC+set}" = set; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 if test -n "$CC"; then
3549 ac_cv_prog_CC="$CC" # Let the user override the test.
3550 else
3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 for as_dir in $PATH
3553 do
3554 IFS=$as_save_IFS
3555 test -z "$as_dir" && as_dir=.
3556 for ac_exec_ext in '' $ac_executable_extensions; do
3557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3558 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 break 2
3561 fi
3562 done
3563 done
3564 IFS=$as_save_IFS
3565
3566 fi
3567 fi
3568 CC=$ac_cv_prog_CC
3569 if test -n "$CC"; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3571 $as_echo "$CC" >&6; }
3572 else
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3575 fi
3576
3577
3578 fi
3579 if test -z "$ac_cv_prog_CC"; then
3580 ac_ct_CC=$CC
3581 # Extract the first word of "gcc", so it can be a program name with args.
3582 set dummy gcc; ac_word=$2
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3584 $as_echo_n "checking for $ac_word... " >&6; }
3585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3586 $as_echo_n "(cached) " >&6
3587 else
3588 if test -n "$ac_ct_CC"; then
3589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3590 else
3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3592 for as_dir in $PATH
3593 do
3594 IFS=$as_save_IFS
3595 test -z "$as_dir" && as_dir=.
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3598 ac_cv_prog_ac_ct_CC="gcc"
3599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 break 2
3601 fi
3602 done
3603 done
3604 IFS=$as_save_IFS
3605
3606 fi
3607 fi
3608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3609 if test -n "$ac_ct_CC"; then
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3611 $as_echo "$ac_ct_CC" >&6; }
3612 else
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3614 $as_echo "no" >&6; }
3615 fi
3616
3617 if test "x$ac_ct_CC" = x; then
3618 CC=""
3619 else
3620 case $cross_compiling:$ac_tool_warned in
3621 yes:)
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3624 ac_tool_warned=yes ;;
3625 esac
3626 CC=$ac_ct_CC
3627 fi
3628 else
3629 CC="$ac_cv_prog_CC"
3630 fi
3631
3632 if test -z "$CC"; then
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}cc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3646 do
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}cc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3654 fi
3655 done
3656 done
3657 IFS=$as_save_IFS
3658
3659 fi
3660 fi
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3668 fi
3669
3670
3671 fi
3672 fi
3673 if test -z "$CC"; then
3674 # Extract the first word of "cc", so it can be a program name with args.
3675 set dummy cc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$CC"; then
3682 ac_cv_prog_CC="$CC" # Let the user override the test.
3683 else
3684 ac_prog_rejected=no
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3687 do
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3693 ac_prog_rejected=yes
3694 continue
3695 fi
3696 ac_cv_prog_CC="cc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2
3699 fi
3700 done
3701 done
3702 IFS=$as_save_IFS
3703
3704 if test $ac_prog_rejected = yes; then
3705 # We found a bogon in the path, so make sure we never use it.
3706 set dummy $ac_cv_prog_CC
3707 shift
3708 if test $# != 0; then
3709 # We chose a different compiler from the bogus one.
3710 # However, it has the same basename, so the bogon will be chosen
3711 # first if we set CC to just the basename; use the full file name.
3712 shift
3713 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3714 fi
3715 fi
3716 fi
3717 fi
3718 CC=$ac_cv_prog_CC
3719 if test -n "$CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 fi
3726
3727
3728 fi
3729 if test -z "$CC"; then
3730 if test -n "$ac_tool_prefix"; then
3731 for ac_prog in cl.exe
3732 do
3733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if test "${ac_cv_prog_CC+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 if test -n "$CC"; then
3741 ac_cv_prog_CC="$CC" # Let the user override the test.
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3745 do
3746 IFS=$as_save_IFS
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 break 2
3753 fi
3754 done
3755 done
3756 IFS=$as_save_IFS
3757
3758 fi
3759 fi
3760 CC=$ac_cv_prog_CC
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3764 else
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3767 fi
3768
3769
3770 test -n "$CC" && break
3771 done
3772 fi
3773 if test -z "$CC"; then
3774 ac_ct_CC=$CC
3775 for ac_prog in cl.exe
3776 do
3777 # Extract the first word of "$ac_prog", so it can be a program name with args.
3778 set dummy $ac_prog; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 if test -n "$ac_ct_CC"; then
3785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 else
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3789 do
3790 IFS=$as_save_IFS
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794 ac_cv_prog_ac_ct_CC="$ac_prog"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 break 2
3797 fi
3798 done
3799 done
3800 IFS=$as_save_IFS
3801
3802 fi
3803 fi
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3811 fi
3812
3813
3814 test -n "$ac_ct_CC" && break
3815 done
3816
3817 if test "x$ac_ct_CC" = x; then
3818 CC=""
3819 else
3820 case $cross_compiling:$ac_tool_warned in
3821 yes:)
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3824 ac_tool_warned=yes ;;
3825 esac
3826 CC=$ac_ct_CC
3827 fi
3828 fi
3829
3830 fi
3831
3832
3833 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3835 as_fn_error "no acceptable C compiler found in \$PATH
3836 See \`config.log' for more details." "$LINENO" 5; }
3837
3838 # Provide some information about the compiler.
3839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3840 set X $ac_compile
3841 ac_compiler=$2
3842 for ac_option in --version -v -V -qversion; do
3843 { { ac_try="$ac_compiler $ac_option >&5"
3844 case "(($ac_try" in
3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 *) ac_try_echo=$ac_try;;
3847 esac
3848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3849 $as_echo "$ac_try_echo"; } >&5
3850 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3851 ac_status=$?
3852 if test -s conftest.err; then
3853 sed '10a\
3854 ... rest of stderr output deleted ...
3855 10q' conftest.err >conftest.er1
3856 cat conftest.er1 >&5
3857 rm -f conftest.er1 conftest.err
3858 fi
3859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860 test $ac_status = 0; }
3861 done
3862
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3865
3866 int
3867 main ()
3868 {
3869
3870 ;
3871 return 0;
3872 }
3873 _ACEOF
3874 # FIXME: Cleanup?
3875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3876 (eval $ac_link) 2>&5
3877 ac_status=$?
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }; then :
3880 gcc_no_link=no
3881 else
3882 gcc_no_link=yes
3883 fi
3884 if test x$gcc_no_link = xyes; then
3885 # Setting cross_compile will disable run tests; it will
3886 # also disable AC_CHECK_FILE but that's generally
3887 # correct if we can't link.
3888 cross_compiling=yes
3889 EXEEXT=
3890 else
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3893
3894 int
3895 main ()
3896 {
3897
3898 ;
3899 return 0;
3900 }
3901 _ACEOF
3902 ac_clean_files_save=$ac_clean_files
3903 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3904 # Try to create an executable without -o first, disregard a.out.
3905 # It will help us diagnose broken compilers, and finding out an intuition
3906 # of exeext.
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3908 $as_echo_n "checking for C compiler default output file name... " >&6; }
3909 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3910
3911 # The possible output files:
3912 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3913
3914 ac_rmfiles=
3915 for ac_file in $ac_files
3916 do
3917 case $ac_file in
3918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3919 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3920 esac
3921 done
3922 rm -f $ac_rmfiles
3923
3924 if { { ac_try="$ac_link_default"
3925 case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3928 esac
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931 (eval "$ac_link_default") 2>&5
3932 ac_status=$?
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }; then :
3935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3936 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3937 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3938 # so that the user can short-circuit this test for compilers unknown to
3939 # Autoconf.
3940 for ac_file in $ac_files ''
3941 do
3942 test -f "$ac_file" || continue
3943 case $ac_file in
3944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3945 ;;
3946 [ab].out )
3947 # We found the default executable, but exeext='' is most
3948 # certainly right.
3949 break;;
3950 *.* )
3951 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3952 then :; else
3953 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3954 fi
3955 # We set ac_cv_exeext here because the later test for it is not
3956 # safe: cross compilers may not add the suffix if given an `-o'
3957 # argument, so we may need to know it at that point already.
3958 # Even if this section looks crufty: it has the advantage of
3959 # actually working.
3960 break;;
3961 * )
3962 break;;
3963 esac
3964 done
3965 test "$ac_cv_exeext" = no && ac_cv_exeext=
3966
3967 else
3968 ac_file=''
3969 fi
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3971 $as_echo "$ac_file" >&6; }
3972 if test -z "$ac_file"; then :
3973 $as_echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.$ac_ext >&5
3975
3976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978 { as_fn_set_status 77
3979 as_fn_error "C compiler cannot create executables
3980 See \`config.log' for more details." "$LINENO" 5; }; }
3981 fi
3982 ac_exeext=$ac_cv_exeext
3983
3984 # Check that the compiler produces executables we can run. If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3987 $as_echo_n "checking whether the C compiler works... " >&6; }
3988 # If not cross compiling, check that we can run a simple program.
3989 if test "$cross_compiling" != yes; then
3990 if { ac_try='./$ac_file'
3991 { { case "(($ac_try" in
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3994 esac
3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996 $as_echo "$ac_try_echo"; } >&5
3997 (eval "$ac_try") 2>&5
3998 ac_status=$?
3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000 test $ac_status = 0; }; }; then
4001 cross_compiling=no
4002 else
4003 if test "$cross_compiling" = maybe; then
4004 cross_compiling=yes
4005 else
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error "cannot run C compiled programs.
4009 If you meant to cross compile, use \`--host'.
4010 See \`config.log' for more details." "$LINENO" 5; }
4011 fi
4012 fi
4013 fi
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4015 $as_echo "yes" >&6; }
4016
4017 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4018 ac_clean_files=$ac_clean_files_save
4019 # Check that the compiler produces executables we can run. If not, either
4020 # the compiler is broken, or we cross compile.
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4022 $as_echo_n "checking whether we are cross compiling... " >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4024 $as_echo "$cross_compiling" >&6; }
4025
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try="$ac_link"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4040 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4042 # `rm'.
4043 for ac_file in conftest.exe conftest conftest.*; do
4044 test -f "$ac_file" || continue
4045 case $ac_file in
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4047 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 break;;
4049 * ) break;;
4050 esac
4051 done
4052 else
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details." "$LINENO" 5; }
4057 fi
4058 rm -f conftest$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4061
4062 rm -f conftest.$ac_ext
4063 EXEEXT=$ac_cv_exeext
4064 ac_exeext=$EXEEXT
4065 fi
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4067 $as_echo_n "checking for suffix of object files... " >&6; }
4068 if test "${ac_cv_objext+set}" = set; then :
4069 $as_echo_n "(cached) " >&6
4070 else
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4073
4074 int
4075 main ()
4076 {
4077
4078 ;
4079 return 0;
4080 }
4081 _ACEOF
4082 rm -f conftest.o conftest.obj
4083 if { { ac_try="$ac_compile"
4084 case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_compile") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; then :
4094 for ac_file in conftest.o conftest.obj conftest.*; do
4095 test -f "$ac_file" || continue;
4096 case $ac_file in
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4099 break;;
4100 esac
4101 done
4102 else
4103 $as_echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4105
4106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error "cannot compute suffix of object files: cannot compile
4109 See \`config.log' for more details." "$LINENO" 5; }
4110 fi
4111 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4112 fi
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4114 $as_echo "$ac_cv_objext" >&6; }
4115 OBJEXT=$ac_cv_objext
4116 ac_objext=$OBJEXT
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4118 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4119 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4121 else
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4124
4125 int
4126 main ()
4127 {
4128 #ifndef __GNUC__
4129 choke me
4130 #endif
4131
4132 ;
4133 return 0;
4134 }
4135 _ACEOF
4136 if ac_fn_c_try_compile "$LINENO"; then :
4137 ac_compiler_gnu=yes
4138 else
4139 ac_compiler_gnu=no
4140 fi
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4143
4144 fi
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4146 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4147 if test $ac_compiler_gnu = yes; then
4148 GCC=yes
4149 else
4150 GCC=
4151 fi
4152 ac_test_CFLAGS=${CFLAGS+set}
4153 ac_save_CFLAGS=$CFLAGS
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4155 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4156 if test "${ac_cv_prog_cc_g+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 ac_save_c_werror_flag=$ac_c_werror_flag
4160 ac_c_werror_flag=yes
4161 ac_cv_prog_cc_g=no
4162 CFLAGS="-g"
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165
4166 int
4167 main ()
4168 {
4169
4170 ;
4171 return 0;
4172 }
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175 ac_cv_prog_cc_g=yes
4176 else
4177 CFLAGS=""
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4180
4181 int
4182 main ()
4183 {
4184
4185 ;
4186 return 0;
4187 }
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190
4191 else
4192 ac_c_werror_flag=$ac_save_c_werror_flag
4193 CFLAGS="-g"
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196
4197 int
4198 main ()
4199 {
4200
4201 ;
4202 return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_cv_prog_cc_g=yes
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 fi
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 fi
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_c_werror_flag=$ac_save_c_werror_flag
4214 fi
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4216 $as_echo "$ac_cv_prog_cc_g" >&6; }
4217 if test "$ac_test_CFLAGS" = set; then
4218 CFLAGS=$ac_save_CFLAGS
4219 elif test $ac_cv_prog_cc_g = yes; then
4220 if test "$GCC" = yes; then
4221 CFLAGS="-g -O2"
4222 else
4223 CFLAGS="-g"
4224 fi
4225 else
4226 if test "$GCC" = yes; then
4227 CFLAGS="-O2"
4228 else
4229 CFLAGS=
4230 fi
4231 fi
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4233 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4234 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 ac_cv_prog_cc_c89=no
4238 ac_save_CC=$CC
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4241 #include <stdarg.h>
4242 #include <stdio.h>
4243 #include <sys/types.h>
4244 #include <sys/stat.h>
4245 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4246 struct buf { int x; };
4247 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4248 static char *e (p, i)
4249 char **p;
4250 int i;
4251 {
4252 return p[i];
4253 }
4254 static char *f (char * (*g) (char **, int), char **p, ...)
4255 {
4256 char *s;
4257 va_list v;
4258 va_start (v,p);
4259 s = g (p, va_arg (v,int));
4260 va_end (v);
4261 return s;
4262 }
4263
4264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4265 function prototypes and stuff, but not '\xHH' hex character constants.
4266 These don't provoke an error unfortunately, instead are silently treated
4267 as 'x'. The following induces an error, until -std is added to get
4268 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4269 array size at least. It's necessary to write '\x00'==0 to get something
4270 that's true only with -std. */
4271 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4272
4273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4274 inside strings and character constants. */
4275 #define FOO(x) 'x'
4276 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4277
4278 int test (int i, double x);
4279 struct s1 {int (*f) (int a);};
4280 struct s2 {int (*f) (double a);};
4281 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4282 int argc;
4283 char **argv;
4284 int
4285 main ()
4286 {
4287 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4288 ;
4289 return 0;
4290 }
4291 _ACEOF
4292 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4293 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4294 do
4295 CC="$ac_save_CC $ac_arg"
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_c89=$ac_arg
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext
4300 test "x$ac_cv_prog_cc_c89" != "xno" && break
4301 done
4302 rm -f conftest.$ac_ext
4303 CC=$ac_save_CC
4304
4305 fi
4306 # AC_CACHE_VAL
4307 case "x$ac_cv_prog_cc_c89" in
4308 x)
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4310 $as_echo "none needed" >&6; } ;;
4311 xno)
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4313 $as_echo "unsupported" >&6; } ;;
4314 *)
4315 CC="$CC $ac_cv_prog_cc_c89"
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4317 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4318 esac
4319 if test "x$ac_cv_prog_cc_c89" != xno; then :
4320
4321 fi
4322
4323 ac_ext=c
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328
4329 ac_ext=cpp
4330 ac_cpp='$CXXCPP $CPPFLAGS'
4331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4334 if test -z "$CXX"; then
4335 if test -n "$CCC"; then
4336 CXX=$CCC
4337 else
4338 if test -n "$ac_tool_prefix"; then
4339 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4340 do
4341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if test "${ac_cv_prog_CXX+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 if test -n "$CXX"; then
4349 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4350 else
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 for as_dir in $PATH
4353 do
4354 IFS=$as_save_IFS
4355 test -z "$as_dir" && as_dir=.
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 break 2
4361 fi
4362 done
4363 done
4364 IFS=$as_save_IFS
4365
4366 fi
4367 fi
4368 CXX=$ac_cv_prog_CXX
4369 if test -n "$CXX"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4371 $as_echo "$CXX" >&6; }
4372 else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4375 fi
4376
4377
4378 test -n "$CXX" && break
4379 done
4380 fi
4381 if test -z "$CXX"; then
4382 ac_ct_CXX=$CXX
4383 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4384 do
4385 # Extract the first word of "$ac_prog", so it can be a program name with args.
4386 set dummy $ac_prog; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$ac_ct_CXX"; then
4393 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4397 do
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_ac_ct_CXX="$ac_prog"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4405 fi
4406 done
4407 done
4408 IFS=$as_save_IFS
4409
4410 fi
4411 fi
4412 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4413 if test -n "$ac_ct_CXX"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4415 $as_echo "$ac_ct_CXX" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4419 fi
4420
4421
4422 test -n "$ac_ct_CXX" && break
4423 done
4424
4425 if test "x$ac_ct_CXX" = x; then
4426 CXX="g++"
4427 else
4428 case $cross_compiling:$ac_tool_warned in
4429 yes:)
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4432 ac_tool_warned=yes ;;
4433 esac
4434 CXX=$ac_ct_CXX
4435 fi
4436 fi
4437
4438 fi
4439 fi
4440 # Provide some information about the compiler.
4441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4442 set X $ac_compile
4443 ac_compiler=$2
4444 for ac_option in --version -v -V -qversion; do
4445 { { ac_try="$ac_compiler $ac_option >&5"
4446 case "(($ac_try" in
4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4448 *) ac_try_echo=$ac_try;;
4449 esac
4450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4451 $as_echo "$ac_try_echo"; } >&5
4452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4453 ac_status=$?
4454 if test -s conftest.err; then
4455 sed '10a\
4456 ... rest of stderr output deleted ...
4457 10q' conftest.err >conftest.er1
4458 cat conftest.er1 >&5
4459 rm -f conftest.er1 conftest.err
4460 fi
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }
4463 done
4464
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4466 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4467 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4472
4473 int
4474 main ()
4475 {
4476 #ifndef __GNUC__
4477 choke me
4478 #endif
4479
4480 ;
4481 return 0;
4482 }
4483 _ACEOF
4484 if ac_fn_cxx_try_compile "$LINENO"; then :
4485 ac_compiler_gnu=yes
4486 else
4487 ac_compiler_gnu=no
4488 fi
4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4490 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4491
4492 fi
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4494 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4495 if test $ac_compiler_gnu = yes; then
4496 GXX=yes
4497 else
4498 GXX=
4499 fi
4500 ac_test_CXXFLAGS=${CXXFLAGS+set}
4501 ac_save_CXXFLAGS=$CXXFLAGS
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4503 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4504 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4505 $as_echo_n "(cached) " >&6
4506 else
4507 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4508 ac_cxx_werror_flag=yes
4509 ac_cv_prog_cxx_g=no
4510 CXXFLAGS="-g"
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4513
4514 int
4515 main ()
4516 {
4517
4518 ;
4519 return 0;
4520 }
4521 _ACEOF
4522 if ac_fn_cxx_try_compile "$LINENO"; then :
4523 ac_cv_prog_cxx_g=yes
4524 else
4525 CXXFLAGS=""
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528
4529 int
4530 main ()
4531 {
4532
4533 ;
4534 return 0;
4535 }
4536 _ACEOF
4537 if ac_fn_cxx_try_compile "$LINENO"; then :
4538
4539 else
4540 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4541 CXXFLAGS="-g"
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4544
4545 int
4546 main ()
4547 {
4548
4549 ;
4550 return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 ac_cv_prog_cxx_g=yes
4555 fi
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 fi
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 fi
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4562 fi
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4564 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4565 if test "$ac_test_CXXFLAGS" = set; then
4566 CXXFLAGS=$ac_save_CXXFLAGS
4567 elif test $ac_cv_prog_cxx_g = yes; then
4568 if test "$GXX" = yes; then
4569 CXXFLAGS="-g -O2"
4570 else
4571 CXXFLAGS="-g"
4572 fi
4573 else
4574 if test "$GXX" = yes; then
4575 CXXFLAGS="-O2"
4576 else
4577 CXXFLAGS=
4578 fi
4579 fi
4580 ac_ext=c
4581 ac_cpp='$CPP $CPPFLAGS'
4582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4585
4586 CXXFLAGS="$save_CXXFLAGS"
4587
4588 # Runs configure.host, and assorted other critical bits. Sets
4589 # up critical shell variables.
4590
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4597 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4598 # On Suns, sometimes $CPP names a directory.
4599 if test -n "$CPP" && test -d "$CPP"; then
4600 CPP=
4601 fi
4602 if test -z "$CPP"; then
4603 if test "${ac_cv_prog_CPP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 # Double quotes because CPP needs to be expanded
4607 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4608 do
4609 ac_preproc_ok=false
4610 for ac_c_preproc_warn_flag in '' yes
4611 do
4612 # Use a header file that comes with gcc, so configuring glibc
4613 # with a fresh cross-compiler works.
4614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615 # <limits.h> exists even on freestanding compilers.
4616 # On the NeXT, cc -E runs the code through the compiler's parser,
4617 # not just through cpp. "Syntax error" is here to catch this case.
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620 #ifdef __STDC__
4621 # include <limits.h>
4622 #else
4623 # include <assert.h>
4624 #endif
4625 Syntax error
4626 _ACEOF
4627 if ac_fn_c_try_cpp "$LINENO"; then :
4628
4629 else
4630 # Broken: fails on valid input.
4631 continue
4632 fi
4633 rm -f conftest.err conftest.$ac_ext
4634
4635 # OK, works on sane cases. Now check whether nonexistent headers
4636 # can be detected and how.
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4639 #include <ac_nonexistent.h>
4640 _ACEOF
4641 if ac_fn_c_try_cpp "$LINENO"; then :
4642 # Broken: success on invalid input.
4643 continue
4644 else
4645 # Passes both tests.
4646 ac_preproc_ok=:
4647 break
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651 done
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.err conftest.$ac_ext
4654 if $ac_preproc_ok; then :
4655 break
4656 fi
4657
4658 done
4659 ac_cv_prog_CPP=$CPP
4660
4661 fi
4662 CPP=$ac_cv_prog_CPP
4663 else
4664 ac_cv_prog_CPP=$CPP
4665 fi
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4667 $as_echo "$CPP" >&6; }
4668 ac_preproc_ok=false
4669 for ac_c_preproc_warn_flag in '' yes
4670 do
4671 # Use a header file that comes with gcc, so configuring glibc
4672 # with a fresh cross-compiler works.
4673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4674 # <limits.h> exists even on freestanding compilers.
4675 # On the NeXT, cc -E runs the code through the compiler's parser,
4676 # not just through cpp. "Syntax error" is here to catch this case.
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4679 #ifdef __STDC__
4680 # include <limits.h>
4681 #else
4682 # include <assert.h>
4683 #endif
4684 Syntax error
4685 _ACEOF
4686 if ac_fn_c_try_cpp "$LINENO"; then :
4687
4688 else
4689 # Broken: fails on valid input.
4690 continue
4691 fi
4692 rm -f conftest.err conftest.$ac_ext
4693
4694 # OK, works on sane cases. Now check whether nonexistent headers
4695 # can be detected and how.
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <ac_nonexistent.h>
4699 _ACEOF
4700 if ac_fn_c_try_cpp "$LINENO"; then :
4701 # Broken: success on invalid input.
4702 continue
4703 else
4704 # Passes both tests.
4705 ac_preproc_ok=:
4706 break
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710 done
4711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4712 rm -f conftest.err conftest.$ac_ext
4713 if $ac_preproc_ok; then :
4714
4715 else
4716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4718 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4719 See \`config.log' for more details." "$LINENO" 5; }
4720 fi
4721
4722 ac_ext=c
4723 ac_cpp='$CPP $CPPFLAGS'
4724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727
4728
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4730 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4731 if test "${ac_cv_path_GREP+set}" = set; then :
4732 $as_echo_n "(cached) " >&6
4733 else
4734 if test -z "$GREP"; then
4735 ac_path_GREP_found=false
4736 # Loop through the user's path and test for each of PROGNAME-LIST
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739 do
4740 IFS=$as_save_IFS
4741 test -z "$as_dir" && as_dir=.
4742 for ac_prog in grep ggrep; do
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4745 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4746 # Check for GNU ac_path_GREP and select it if it is found.
4747 # Check for GNU $ac_path_GREP
4748 case `"$ac_path_GREP" --version 2>&1` in
4749 *GNU*)
4750 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4751 *)
4752 ac_count=0
4753 $as_echo_n 0123456789 >"conftest.in"
4754 while :
4755 do
4756 cat "conftest.in" "conftest.in" >"conftest.tmp"
4757 mv "conftest.tmp" "conftest.in"
4758 cp "conftest.in" "conftest.nl"
4759 $as_echo 'GREP' >> "conftest.nl"
4760 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4762 as_fn_arith $ac_count + 1 && ac_count=$as_val
4763 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4764 # Best one so far, save it but keep looking for a better one
4765 ac_cv_path_GREP="$ac_path_GREP"
4766 ac_path_GREP_max=$ac_count
4767 fi
4768 # 10*(2^10) chars as input seems more than enough
4769 test $ac_count -gt 10 && break
4770 done
4771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4772 esac
4773
4774 $ac_path_GREP_found && break 3
4775 done
4776 done
4777 done
4778 IFS=$as_save_IFS
4779 if test -z "$ac_cv_path_GREP"; then
4780 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781 fi
4782 else
4783 ac_cv_path_GREP=$GREP
4784 fi
4785
4786 fi
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4788 $as_echo "$ac_cv_path_GREP" >&6; }
4789 GREP="$ac_cv_path_GREP"
4790
4791
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4793 $as_echo_n "checking for egrep... " >&6; }
4794 if test "${ac_cv_path_EGREP+set}" = set; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4798 then ac_cv_path_EGREP="$GREP -E"
4799 else
4800 if test -z "$EGREP"; then
4801 ac_path_EGREP_found=false
4802 # Loop through the user's path and test for each of PROGNAME-LIST
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4805 do
4806 IFS=$as_save_IFS
4807 test -z "$as_dir" && as_dir=.
4808 for ac_prog in egrep; do
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4812 # Check for GNU ac_path_EGREP and select it if it is found.
4813 # Check for GNU $ac_path_EGREP
4814 case `"$ac_path_EGREP" --version 2>&1` in
4815 *GNU*)
4816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4817 *)
4818 ac_count=0
4819 $as_echo_n 0123456789 >"conftest.in"
4820 while :
4821 do
4822 cat "conftest.in" "conftest.in" >"conftest.tmp"
4823 mv "conftest.tmp" "conftest.in"
4824 cp "conftest.in" "conftest.nl"
4825 $as_echo 'EGREP' >> "conftest.nl"
4826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4828 as_fn_arith $ac_count + 1 && ac_count=$as_val
4829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4830 # Best one so far, save it but keep looking for a better one
4831 ac_cv_path_EGREP="$ac_path_EGREP"
4832 ac_path_EGREP_max=$ac_count
4833 fi
4834 # 10*(2^10) chars as input seems more than enough
4835 test $ac_count -gt 10 && break
4836 done
4837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838 esac
4839
4840 $ac_path_EGREP_found && break 3
4841 done
4842 done
4843 done
4844 IFS=$as_save_IFS
4845 if test -z "$ac_cv_path_EGREP"; then
4846 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4847 fi
4848 else
4849 ac_cv_path_EGREP=$EGREP
4850 fi
4851
4852 fi
4853 fi
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4855 $as_echo "$ac_cv_path_EGREP" >&6; }
4856 EGREP="$ac_cv_path_EGREP"
4857
4858
4859
4860 # Keep these sync'd with the list in Makefile.am. The first provides an
4861 # expandable list at autoconf time; the second provides an expandable list
4862 # (i.e., shell variable) at configure time.
4863
4864 SUBDIRS='include libsupc++ python src doc po testsuite'
4865
4866 # These need to be absolute paths, yet at the same time need to
4867 # canonicalize only relative paths, because then amd will not unmount
4868 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4869 glibcxx_builddir=`${PWDCMD-pwd}`
4870 case $srcdir in
4871 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4872 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4873 esac
4874 toplevel_builddir=${glibcxx_builddir}/..
4875 toplevel_srcdir=${glibcxx_srcdir}/..
4876
4877
4878
4879
4880
4881 # We use these options to decide which functions to include. They are
4882 # set from the top level.
4883
4884 # Check whether --with-target-subdir was given.
4885 if test "${with_target_subdir+set}" = set; then :
4886 withval=$with_target_subdir;
4887 fi
4888
4889
4890
4891 # Check whether --with-cross-host was given.
4892 if test "${with_cross_host+set}" = set; then :
4893 withval=$with_cross_host;
4894 fi
4895
4896
4897
4898 # Check whether --with-newlib was given.
4899 if test "${with_newlib+set}" = set; then :
4900 withval=$with_newlib;
4901 fi
4902
4903
4904 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4905 # available). Uncomment the next line to force a particular method.
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4907 $as_echo_n "checking whether ln -s works... " >&6; }
4908 LN_S=$as_ln_s
4909 if test "$LN_S" = "ln -s"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4914 $as_echo "no, using $LN_S" >&6; }
4915 fi
4916
4917 #LN_S='cp -p'
4918
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}as; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_AS+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$AS"; then
4928 ac_cv_prog_AS="$AS" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4932 do
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_AS="${ac_tool_prefix}as"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4940 fi
4941 done
4942 done
4943 IFS=$as_save_IFS
4944
4945 fi
4946 fi
4947 AS=$ac_cv_prog_AS
4948 if test -n "$AS"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4950 $as_echo "$AS" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 fi
4955
4956
4957 fi
4958 if test -z "$ac_cv_prog_AS"; then
4959 ac_ct_AS=$AS
4960 # Extract the first word of "as", so it can be a program name with args.
4961 set dummy as; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 if test -n "$ac_ct_AS"; then
4968 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4972 do
4973 IFS=$as_save_IFS
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_AS="as"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 break 2
4980 fi
4981 done
4982 done
4983 IFS=$as_save_IFS
4984
4985 fi
4986 fi
4987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4988 if test -n "$ac_ct_AS"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4990 $as_echo "$ac_ct_AS" >&6; }
4991 else
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4994 fi
4995
4996 if test "x$ac_ct_AS" = x; then
4997 AS=""
4998 else
4999 case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005 AS=$ac_ct_AS
5006 fi
5007 else
5008 AS="$ac_cv_prog_AS"
5009 fi
5010
5011 if test -n "$ac_tool_prefix"; then
5012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}ar; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_AR+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR="$AR" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5024 do
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_AR="${ac_tool_prefix}ar"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5032 fi
5033 done
5034 done
5035 IFS=$as_save_IFS
5036
5037 fi
5038 fi
5039 AR=$ac_cv_prog_AR
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 fi
5047
5048
5049 fi
5050 if test -z "$ac_cv_prog_AR"; then
5051 ac_ct_AR=$AR
5052 # Extract the first word of "ar", so it can be a program name with args.
5053 set dummy ar; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5064 do
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_AR="ar"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5072 fi
5073 done
5074 done
5075 IFS=$as_save_IFS
5076
5077 fi
5078 fi
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5086 fi
5087
5088 if test "x$ac_ct_AR" = x; then
5089 AR=""
5090 else
5091 case $cross_compiling:$ac_tool_warned in
5092 yes:)
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5096 esac
5097 AR=$ac_ct_AR
5098 fi
5099 else
5100 AR="$ac_cv_prog_AR"
5101 fi
5102
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$RANLIB"; then
5112 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5116 do
5117 IFS=$as_save_IFS
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 break 2
5124 fi
5125 done
5126 done
5127 IFS=$as_save_IFS
5128
5129 fi
5130 fi
5131 RANLIB=$ac_cv_prog_RANLIB
5132 if test -n "$RANLIB"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5134 $as_echo "$RANLIB" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5138 fi
5139
5140
5141 fi
5142 if test -z "$ac_cv_prog_RANLIB"; then
5143 ac_ct_RANLIB=$RANLIB
5144 # Extract the first word of "ranlib", so it can be a program name with args.
5145 set dummy ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$ac_ct_RANLIB"; then
5152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5156 do
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_RANLIB="ranlib"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5164 fi
5165 done
5166 done
5167 IFS=$as_save_IFS
5168
5169 fi
5170 fi
5171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5172 if test -n "$ac_ct_RANLIB"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5174 $as_echo "$ac_ct_RANLIB" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5178 fi
5179
5180 if test "x$ac_ct_RANLIB" = x; then
5181 RANLIB="ranlib-not-found-in-path-error"
5182 else
5183 case $cross_compiling:$ac_tool_warned in
5184 yes:)
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5188 esac
5189 RANLIB=$ac_ct_RANLIB
5190 fi
5191 else
5192 RANLIB="$ac_cv_prog_RANLIB"
5193 fi
5194
5195
5196
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5198 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5199 # Check whether --enable-maintainer-mode was given.
5200 if test "${enable_maintainer_mode+set}" = set; then :
5201 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5202 else
5203 USE_MAINTAINER_MODE=no
5204 fi
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5207 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5208 if test $USE_MAINTAINER_MODE = yes; then
5209 MAINTAINER_MODE_TRUE=
5210 MAINTAINER_MODE_FALSE='#'
5211 else
5212 MAINTAINER_MODE_TRUE='#'
5213 MAINTAINER_MODE_FALSE=
5214 fi
5215
5216 MAINT=$MAINTAINER_MODE_TRUE
5217
5218
5219
5220 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5221 # which are themselves conditionally expanded.
5222 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5223 ## other macros from doing the same. This should be automated.) -pme
5224
5225 # Check for C library flavor since GNU/Linux platforms use different
5226 # configuration directories depending on the C library in use.
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5229
5230 #include <stdio.h>
5231 #if __UCLIBC__
5232 _using_uclibc
5233 #endif
5234
5235 _ACEOF
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5238 uclibc=yes
5239 else
5240 uclibc=no
5241 fi
5242 rm -f conftest*
5243
5244
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247
5248 #include <stdio.h>
5249 #if __BIONIC__
5250 _using_bionic
5251 #endif
5252
5253 _ACEOF
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5256 bionic=yes
5257 else
5258 bionic=no
5259 fi
5260 rm -f conftest*
5261
5262
5263 # Find platform-specific directories containing configuration info.
5264 # Also possibly modify flags used elsewhere, as needed by the platform.
5265
5266 . $glibcxx_srcdir/configure.host
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5268 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5270 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5271
5272
5273
5274 if test "x${with_newlib}" != "xyes"; then
5275 enable_dlopen=yes
5276
5277
5278
5279 fi
5280 case `pwd` in
5281 *\ * | *\ *)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5283 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5284 esac
5285
5286
5287
5288 macro_version='2.2.7a'
5289 macro_revision='1.3134'
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303 ltmain="$ac_aux_dir/ltmain.sh"
5304
5305 # Backslashify metacharacters that are still active within
5306 # double-quoted strings.
5307 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5308
5309 # Same as above, but do not quote variable references.
5310 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5311
5312 # Sed substitution to delay expansion of an escaped shell variable in a
5313 # double_quote_subst'ed string.
5314 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5315
5316 # Sed substitution to delay expansion of an escaped single quote.
5317 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5318
5319 # Sed substitution to avoid accidental globbing in evaled expressions
5320 no_glob_subst='s/\*/\\\*/g'
5321
5322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5325
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5327 $as_echo_n "checking how to print strings... " >&6; }
5328 # Test print first, because it will be a builtin if present.
5329 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5330 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5331 ECHO='print -r --'
5332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5333 ECHO='printf %s\n'
5334 else
5335 # Use this function as a fallback that always works.
5336 func_fallback_echo ()
5337 {
5338 eval 'cat <<_LTECHO_EOF
5339 $1
5340 _LTECHO_EOF'
5341 }
5342 ECHO='func_fallback_echo'
5343 fi
5344
5345 # func_echo_all arg...
5346 # Invoke $ECHO with all args, space-separated.
5347 func_echo_all ()
5348 {
5349 $ECHO ""
5350 }
5351
5352 case "$ECHO" in
5353 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5354 $as_echo "printf" >&6; } ;;
5355 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5356 $as_echo "print -r" >&6; } ;;
5357 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5358 $as_echo "cat" >&6; } ;;
5359 esac
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5375 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5376 if test "${ac_cv_path_SED+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5380 for ac_i in 1 2 3 4 5 6 7; do
5381 ac_script="$ac_script$as_nl$ac_script"
5382 done
5383 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5384 { ac_script=; unset ac_script;}
5385 if test -z "$SED"; then
5386 ac_path_SED_found=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5390 do
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_prog in sed gsed; do
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5396 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5397 # Check for GNU ac_path_SED and select it if it is found.
5398 # Check for GNU $ac_path_SED
5399 case `"$ac_path_SED" --version 2>&1` in
5400 *GNU*)
5401 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5402 *)
5403 ac_count=0
5404 $as_echo_n 0123456789 >"conftest.in"
5405 while :
5406 do
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo '' >> "conftest.nl"
5411 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413 as_fn_arith $ac_count + 1 && ac_count=$as_val
5414 if test $ac_count -gt ${ac_path_SED_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_SED="$ac_path_SED"
5417 ac_path_SED_max=$ac_count
5418 fi
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5421 done
5422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 esac
5424
5425 $ac_path_SED_found && break 3
5426 done
5427 done
5428 done
5429 IFS=$as_save_IFS
5430 if test -z "$ac_cv_path_SED"; then
5431 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5432 fi
5433 else
5434 ac_cv_path_SED=$SED
5435 fi
5436
5437 fi
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5439 $as_echo "$ac_cv_path_SED" >&6; }
5440 SED="$ac_cv_path_SED"
5441 rm -f conftest.sed
5442
5443 test -z "$SED" && SED=sed
5444 Xsed="$SED -e 1s/^X//"
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5457 $as_echo_n "checking for fgrep... " >&6; }
5458 if test "${ac_cv_path_FGREP+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5462 then ac_cv_path_FGREP="$GREP -F"
5463 else
5464 if test -z "$FGREP"; then
5465 ac_path_FGREP_found=false
5466 # Loop through the user's path and test for each of PROGNAME-LIST
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5469 do
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_prog in fgrep; do
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5475 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5476 # Check for GNU ac_path_FGREP and select it if it is found.
5477 # Check for GNU $ac_path_FGREP
5478 case `"$ac_path_FGREP" --version 2>&1` in
5479 *GNU*)
5480 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5481 *)
5482 ac_count=0
5483 $as_echo_n 0123456789 >"conftest.in"
5484 while :
5485 do
5486 cat "conftest.in" "conftest.in" >"conftest.tmp"
5487 mv "conftest.tmp" "conftest.in"
5488 cp "conftest.in" "conftest.nl"
5489 $as_echo 'FGREP' >> "conftest.nl"
5490 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5492 as_fn_arith $ac_count + 1 && ac_count=$as_val
5493 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5494 # Best one so far, save it but keep looking for a better one
5495 ac_cv_path_FGREP="$ac_path_FGREP"
5496 ac_path_FGREP_max=$ac_count
5497 fi
5498 # 10*(2^10) chars as input seems more than enough
5499 test $ac_count -gt 10 && break
5500 done
5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 esac
5503
5504 $ac_path_FGREP_found && break 3
5505 done
5506 done
5507 done
5508 IFS=$as_save_IFS
5509 if test -z "$ac_cv_path_FGREP"; then
5510 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5511 fi
5512 else
5513 ac_cv_path_FGREP=$FGREP
5514 fi
5515
5516 fi
5517 fi
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5519 $as_echo "$ac_cv_path_FGREP" >&6; }
5520 FGREP="$ac_cv_path_FGREP"
5521
5522
5523 test -z "$GREP" && GREP=grep
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543 # Check whether --with-gnu-ld was given.
5544 if test "${with_gnu_ld+set}" = set; then :
5545 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5546 else
5547 with_gnu_ld=no
5548 fi
5549
5550 ac_prog=ld
5551 if test "$GCC" = yes; then
5552 # Check if gcc -print-prog-name=ld gives a path.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5554 $as_echo_n "checking for ld used by $CC... " >&6; }
5555 case $host in
5556 *-*-mingw*)
5557 # gcc leaves a trailing carriage return which upsets mingw
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5559 *)
5560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5561 esac
5562 case $ac_prog in
5563 # Accept absolute paths.
5564 [\\/]* | ?:[\\/]*)
5565 re_direlt='/[^/][^/]*/\.\./'
5566 # Canonicalize the pathname of ld
5567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5570 done
5571 test -z "$LD" && LD="$ac_prog"
5572 ;;
5573 "")
5574 # If it fails, then pretend we aren't using GCC.
5575 ac_prog=ld
5576 ;;
5577 *)
5578 # If it is relative, then search for the first ld in PATH.
5579 with_gnu_ld=unknown
5580 ;;
5581 esac
5582 elif test "$with_gnu_ld" = yes; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5584 $as_echo_n "checking for GNU ld... " >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5587 $as_echo_n "checking for non-GNU ld... " >&6; }
5588 fi
5589 if test "${lt_cv_path_LD+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -z "$LD"; then
5593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5594 for ac_dir in $PATH; do
5595 IFS="$lt_save_ifs"
5596 test -z "$ac_dir" && ac_dir=.
5597 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5598 lt_cv_path_LD="$ac_dir/$ac_prog"
5599 # Check to see if the program is GNU ld. I'd rather use --version,
5600 # but apparently some variants of GNU ld only accept -v.
5601 # Break only if it was the GNU/non-GNU ld that we prefer.
5602 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5603 *GNU* | *'with BFD'*)
5604 test "$with_gnu_ld" != no && break
5605 ;;
5606 *)
5607 test "$with_gnu_ld" != yes && break
5608 ;;
5609 esac
5610 fi
5611 done
5612 IFS="$lt_save_ifs"
5613 else
5614 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5615 fi
5616 fi
5617
5618 LD="$lt_cv_path_LD"
5619 if test -n "$LD"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5621 $as_echo "$LD" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5625 fi
5626 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5633 case `$LD -v 2>&1 </dev/null` in
5634 *GNU* | *'with BFD'*)
5635 lt_cv_prog_gnu_ld=yes
5636 ;;
5637 *)
5638 lt_cv_prog_gnu_ld=no
5639 ;;
5640 esac
5641 fi
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5644 with_gnu_ld=$lt_cv_prog_gnu_ld
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5655 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5656 if test "${lt_cv_path_NM+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$NM"; then
5660 # Let the user override the test.
5661 lt_cv_path_NM="$NM"
5662 else
5663 lt_nm_to_check="${ac_tool_prefix}nm"
5664 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5665 lt_nm_to_check="$lt_nm_to_check nm"
5666 fi
5667 for lt_tmp_nm in $lt_nm_to_check; do
5668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5669 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5670 IFS="$lt_save_ifs"
5671 test -z "$ac_dir" && ac_dir=.
5672 tmp_nm="$ac_dir/$lt_tmp_nm"
5673 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5674 # Check to see if the nm accepts a BSD-compat flag.
5675 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5676 # nm: unknown option "B" ignored
5677 # Tru64's nm complains that /dev/null is an invalid object file
5678 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5679 */dev/null* | *'Invalid file or object type'*)
5680 lt_cv_path_NM="$tmp_nm -B"
5681 break
5682 ;;
5683 *)
5684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5685 */dev/null*)
5686 lt_cv_path_NM="$tmp_nm -p"
5687 break
5688 ;;
5689 *)
5690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691 continue # so that we can try to find one that supports BSD flags
5692 ;;
5693 esac
5694 ;;
5695 esac
5696 fi
5697 done
5698 IFS="$lt_save_ifs"
5699 done
5700 : ${lt_cv_path_NM=no}
5701 fi
5702 fi
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704 $as_echo "$lt_cv_path_NM" >&6; }
5705 if test "$lt_cv_path_NM" != "no"; then
5706 NM="$lt_cv_path_NM"
5707 else
5708 # Didn't find any BSD compatible name lister, look for dumpbin.
5709 if test -n "$DUMPBIN"; then :
5710 # Let the user override the test.
5711 else
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in dumpbin "link -dump"
5714 do
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if test -n "$DUMPBIN"; then
5723 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5727 do
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 break 2
5735 fi
5736 done
5737 done
5738 IFS=$as_save_IFS
5739
5740 fi
5741 fi
5742 DUMPBIN=$ac_cv_prog_DUMPBIN
5743 if test -n "$DUMPBIN"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5745 $as_echo "$DUMPBIN" >&6; }
5746 else
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5749 fi
5750
5751
5752 test -n "$DUMPBIN" && break
5753 done
5754 fi
5755 if test -z "$DUMPBIN"; then
5756 ac_ct_DUMPBIN=$DUMPBIN
5757 for ac_prog in dumpbin "link -dump"
5758 do
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5765 else
5766 if test -n "$ac_ct_DUMPBIN"; then
5767 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5771 do
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 break 2
5779 fi
5780 done
5781 done
5782 IFS=$as_save_IFS
5783
5784 fi
5785 fi
5786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5787 if test -n "$ac_ct_DUMPBIN"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5789 $as_echo "$ac_ct_DUMPBIN" >&6; }
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5793 fi
5794
5795
5796 test -n "$ac_ct_DUMPBIN" && break
5797 done
5798
5799 if test "x$ac_ct_DUMPBIN" = x; then
5800 DUMPBIN=":"
5801 else
5802 case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808 DUMPBIN=$ac_ct_DUMPBIN
5809 fi
5810 fi
5811
5812 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5813 *COFF*)
5814 DUMPBIN="$DUMPBIN -symbols"
5815 ;;
5816 *)
5817 DUMPBIN=:
5818 ;;
5819 esac
5820 fi
5821
5822 if test "$DUMPBIN" != ":"; then
5823 NM="$DUMPBIN"
5824 fi
5825 fi
5826 test -z "$NM" && NM=nm
5827
5828
5829
5830
5831
5832
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5835 if test "${lt_cv_nm_interface+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 lt_cv_nm_interface="BSD nm"
5839 echo "int some_variable = 0;" > conftest.$ac_ext
5840 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5841 (eval "$ac_compile" 2>conftest.err)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5844 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5845 cat conftest.err >&5
5846 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5847 cat conftest.out >&5
5848 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5849 lt_cv_nm_interface="MS dumpbin"
5850 fi
5851 rm -f conftest*
5852 fi
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5854 $as_echo "$lt_cv_nm_interface" >&6; }
5855
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 i=0
5863 teststring="ABCD"
5864
5865 case $build_os in
5866 msdosdjgpp*)
5867 # On DJGPP, this test can blow up pretty badly due to problems in libc
5868 # (any single argument exceeding 2000 bytes causes a buffer overrun
5869 # during glob expansion). Even if it were fixed, the result of this
5870 # check would be larger than it should be.
5871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5872 ;;
5873
5874 gnu*)
5875 # Under GNU Hurd, this test is not required because there is
5876 # no limit to the length of command line arguments.
5877 # Libtool will interpret -1 as no limit whatsoever
5878 lt_cv_sys_max_cmd_len=-1;
5879 ;;
5880
5881 cygwin* | mingw* | cegcc*)
5882 # On Win9x/ME, this test blows up -- it succeeds, but takes
5883 # about 5 minutes as the teststring grows exponentially.
5884 # Worse, since 9x/ME are not pre-emptively multitasking,
5885 # you end up with a "frozen" computer, even though with patience
5886 # the test eventually succeeds (with a max line length of 256k).
5887 # Instead, let's just punt: use the minimum linelength reported by
5888 # all of the supported platforms: 8192 (on NT/2K/XP).
5889 lt_cv_sys_max_cmd_len=8192;
5890 ;;
5891
5892 mint*)
5893 # On MiNT this can take a long time and run out of memory.
5894 lt_cv_sys_max_cmd_len=8192;
5895 ;;
5896
5897 amigaos*)
5898 # On AmigaOS with pdksh, this test takes hours, literally.
5899 # So we just punt and use a minimum line length of 8192.
5900 lt_cv_sys_max_cmd_len=8192;
5901 ;;
5902
5903 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904 # This has been around since 386BSD, at least. Likely further.
5905 if test -x /sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907 elif test -x /usr/sbin/sysctl; then
5908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5909 else
5910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5911 fi
5912 # And add a safety zone
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5915 ;;
5916
5917 interix*)
5918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919 lt_cv_sys_max_cmd_len=196608
5920 ;;
5921
5922 osf*)
5923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925 # nice to cause kernel panics so lets avoid the loop below.
5926 # First set a reasonable default.
5927 lt_cv_sys_max_cmd_len=16384
5928 #
5929 if test -x /sbin/sysconfig; then
5930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5932 esac
5933 fi
5934 ;;
5935 sco3.2v5*)
5936 lt_cv_sys_max_cmd_len=102400
5937 ;;
5938 sysv5* | sco5v6* | sysv4.2uw2*)
5939 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940 if test -n "$kargmax"; then
5941 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5942 else
5943 lt_cv_sys_max_cmd_len=32768
5944 fi
5945 ;;
5946 *)
5947 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948 if test -n "$lt_cv_sys_max_cmd_len"; then
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951 else
5952 # Make teststring a little bigger before we do anything with it.
5953 # a 1K string should be a reasonable start.
5954 for i in 1 2 3 4 5 6 7 8 ; do
5955 teststring=$teststring$teststring
5956 done
5957 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958 # If test is not a shell built-in, we'll probably end up computing a
5959 # maximum length that is only half of the actual maximum length, but
5960 # we can't tell.
5961 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963 test $i != 17 # 1/2 MB should be enough
5964 do
5965 i=`expr $i + 1`
5966 teststring=$teststring$teststring
5967 done
5968 # Only check the string length outside the loop.
5969 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5970 teststring=
5971 # Add a significant safety factor because C++ compilers can tack on
5972 # massive amounts of additional arguments before passing them to the
5973 # linker. It appears as though 1/2 is a usable value.
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5975 fi
5976 ;;
5977 esac
5978
5979 fi
5980
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5987 fi
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5989
5990
5991
5992
5993
5994
5995 : ${CP="cp -f"}
5996 : ${MV="mv -f"}
5997 : ${RM="rm -f"}
5998
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6002 xsi_shell=no
6003 ( _lt_dummy="a/b/c"
6004 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6005 = c,a/b,, \
6006 && eval 'test $(( 1 + 1 )) -eq 2 \
6007 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6008 && xsi_shell=yes
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6011
6012
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6015 lt_shell_append=no
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6017 >/dev/null 2>&1 \
6018 && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6021
6022
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6024 lt_unset=unset
6025 else
6026 lt_unset=false
6027 fi
6028
6029
6030
6031
6032
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035 A) # ASCII based system
6036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037 lt_SP2NL='tr \040 \012'
6038 lt_NL2SP='tr \015\012 \040\040'
6039 ;;
6040 *) # EBCDIC based system
6041 lt_SP2NL='tr \100 \n'
6042 lt_NL2SP='tr \r\n \100\100'
6043 ;;
6044 esac
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 lt_cv_ld_reload_flag='-r'
6060 fi
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6065 "" | " "*) ;;
6066 *) reload_flag=" $reload_flag" ;;
6067 esac
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 case $host_os in
6070 darwin*)
6071 if test "$GCC" = yes; then
6072 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6073 else
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6075 fi
6076 ;;
6077 esac
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6093 $as_echo_n "(cached) " >&6
6094 else
6095 if test -n "$OBJDUMP"; then
6096 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6100 do
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6108 fi
6109 done
6110 done
6111 IFS=$as_save_IFS
6112
6113 fi
6114 fi
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6122 fi
6123
6124
6125 fi
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127 ac_ct_OBJDUMP=$OBJDUMP
6128 # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_OBJDUMP"; then
6136 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6140 do
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6148 fi
6149 done
6150 done
6151 IFS=$as_save_IFS
6152
6153 fi
6154 fi
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6162 fi
6163
6164 if test "x$ac_ct_OBJDUMP" = x; then
6165 OBJDUMP="false"
6166 else
6167 case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173 OBJDUMP=$ac_ct_OBJDUMP
6174 fi
6175 else
6176 OBJDUMP="$ac_cv_prog_OBJDUMP"
6177 fi
6178
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6207
6208 case $host_os in
6209 aix[4-9]*)
6210 lt_cv_deplibs_check_method=pass_all
6211 ;;
6212
6213 beos*)
6214 lt_cv_deplibs_check_method=pass_all
6215 ;;
6216
6217 bsdi[45]*)
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6221 ;;
6222
6223 cygwin*)
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6227 ;;
6228
6229 mingw* | pw32*)
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6237 else
6238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239 lt_cv_file_magic_cmd='$OBJDUMP -f'
6240 fi
6241 ;;
6242
6243 cegcc*)
6244 # use the weaker test based on 'objdump'. See mingw*.
6245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246 lt_cv_file_magic_cmd='$OBJDUMP -f'
6247 ;;
6248
6249 darwin* | rhapsody*)
6250 lt_cv_deplibs_check_method=pass_all
6251 ;;
6252
6253 freebsd* | dragonfly*)
6254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6255 case $host_cpu in
6256 i*86 )
6257 # Not sure whether the presence of OpenBSD here was a mistake.
6258 # Let's accept both of them until this is cleared up.
6259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260 lt_cv_file_magic_cmd=/usr/bin/file
6261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6262 ;;
6263 esac
6264 else
6265 lt_cv_deplibs_check_method=pass_all
6266 fi
6267 ;;
6268
6269 gnu*)
6270 lt_cv_deplibs_check_method=pass_all
6271 ;;
6272
6273 haiku*)
6274 lt_cv_deplibs_check_method=pass_all
6275 ;;
6276
6277 hpux10.20* | hpux11*)
6278 lt_cv_file_magic_cmd=/usr/bin/file
6279 case $host_cpu in
6280 ia64*)
6281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6283 ;;
6284 hppa*64*)
6285 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]'
6286 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6287 ;;
6288 *)
6289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6291 ;;
6292 esac
6293 ;;
6294
6295 interix[3-9]*)
6296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6298 ;;
6299
6300 irix5* | irix6* | nonstopux*)
6301 case $LD in
6302 *-32|*"-32 ") libmagic=32-bit;;
6303 *-n32|*"-n32 ") libmagic=N32;;
6304 *-64|*"-64 ") libmagic=64-bit;;
6305 *) libmagic=never-match;;
6306 esac
6307 lt_cv_deplibs_check_method=pass_all
6308 ;;
6309
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312 lt_cv_deplibs_check_method=pass_all
6313 ;;
6314
6315 netbsd*)
6316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6318 else
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6320 fi
6321 ;;
6322
6323 newos6*)
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325 lt_cv_file_magic_cmd=/usr/bin/file
6326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6327 ;;
6328
6329 *nto* | *qnx*)
6330 lt_cv_deplibs_check_method=pass_all
6331 ;;
6332
6333 openbsd*)
6334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6336 else
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6338 fi
6339 ;;
6340
6341 osf3* | osf4* | osf5*)
6342 lt_cv_deplibs_check_method=pass_all
6343 ;;
6344
6345 rdos*)
6346 lt_cv_deplibs_check_method=pass_all
6347 ;;
6348
6349 solaris*)
6350 lt_cv_deplibs_check_method=pass_all
6351 ;;
6352
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354 lt_cv_deplibs_check_method=pass_all
6355 ;;
6356
6357 sysv4 | sysv4.3*)
6358 case $host_vendor in
6359 motorola)
6360 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]'
6361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6362 ;;
6363 ncr)
6364 lt_cv_deplibs_check_method=pass_all
6365 ;;
6366 sequent)
6367 lt_cv_file_magic_cmd='/bin/file'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6369 ;;
6370 sni)
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373 lt_cv_file_magic_test_file=/lib/libc.so
6374 ;;
6375 siemens)
6376 lt_cv_deplibs_check_method=pass_all
6377 ;;
6378 pc)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381 esac
6382 ;;
6383
6384 tpf*)
6385 lt_cv_deplibs_check_method=pass_all
6386 ;;
6387 esac
6388
6389 fi
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_AR+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$AR"; then
6416 ac_cv_prog_AR="$AR" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6420 do
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_AR="${ac_tool_prefix}ar"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6428 fi
6429 done
6430 done
6431 IFS=$as_save_IFS
6432
6433 fi
6434 fi
6435 AR=$ac_cv_prog_AR
6436 if test -n "$AR"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6442 fi
6443
6444
6445 fi
6446 if test -z "$ac_cv_prog_AR"; then
6447 ac_ct_AR=$AR
6448 # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 if test -n "$ac_ct_AR"; then
6456 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6460 do
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_AR="ar"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6468 fi
6469 done
6470 done
6471 IFS=$as_save_IFS
6472
6473 fi
6474 fi
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6482 fi
6483
6484 if test "x$ac_ct_AR" = x; then
6485 AR="false"
6486 else
6487 case $cross_compiling:$ac_tool_warned in
6488 yes:)
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6492 esac
6493 AR=$ac_ct_AR
6494 fi
6495 else
6496 AR="$ac_cv_prog_AR"
6497 fi
6498
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_STRIP+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$STRIP"; then
6521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6533 fi
6534 done
6535 done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_STRIP"; then
6552 ac_ct_STRIP=$STRIP
6553 # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_STRIP"; then
6561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_STRIP="strip"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6573 fi
6574 done
6575 done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589 if test "x$ac_ct_STRIP" = x; then
6590 STRIP=":"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 STRIP=$ac_ct_STRIP
6599 fi
6600 else
6601 STRIP="$ac_cv_prog_STRIP"
6602 fi
6603
6604 test -z "$STRIP" && STRIP=:
6605
6606
6607
6608
6609
6610
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$RANLIB"; then
6620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6624 do
6625 IFS=$as_save_IFS
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 break 2
6632 fi
6633 done
6634 done
6635 IFS=$as_save_IFS
6636
6637 fi
6638 fi
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6646 fi
6647
6648
6649 fi
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651 ac_ct_RANLIB=$RANLIB
6652 # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 if test -n "$ac_ct_RANLIB"; then
6660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6664 do
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_ac_ct_RANLIB="ranlib"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6672 fi
6673 done
6674 done
6675 IFS=$as_save_IFS
6676
6677 fi
6678 fi
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6683 else
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6686 fi
6687
6688 if test "x$ac_ct_RANLIB" = x; then
6689 RANLIB=":"
6690 else
6691 case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6696 esac
6697 RANLIB=$ac_ct_RANLIB
6698 fi
6699 else
6700 RANLIB="$ac_cv_prog_RANLIB"
6701 fi
6702
6703 test -z "$RANLIB" && RANLIB=:
6704
6705
6706
6707
6708
6709
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6714
6715 if test -n "$RANLIB"; then
6716 case $host_os in
6717 openbsd*)
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6719 ;;
6720 *)
6721 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6722 ;;
6723 esac
6724 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6725 fi
6726
6727 case $host_os in
6728 darwin*)
6729 lock_old_archive_extraction=yes ;;
6730 *)
6731 lock_old_archive_extraction=no ;;
6732 esac
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6774
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6777
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6780
6781
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6791
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6794
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6797
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801 symcode='[BCDT]'
6802 ;;
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6805 ;;
6806 hpux*)
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6809 fi
6810 ;;
6811 irix* | nonstopux*)
6812 symcode='[BCDEGRST]'
6813 ;;
6814 osf*)
6815 symcode='[BCDEGQRST]'
6816 ;;
6817 solaris*)
6818 symcode='[BDRT]'
6819 ;;
6820 sco3.2v5*)
6821 symcode='[DT]'
6822 ;;
6823 sysv4.2uw2*)
6824 symcode='[DT]'
6825 ;;
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827 symcode='[ABDT]'
6828 ;;
6829 sysv4)
6830 symcode='[DFNSTU]'
6831 ;;
6832 esac
6833
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6838 esac
6839
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6844
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 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'"
6848
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6854 ;;
6855 esac
6856
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6859
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6862
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6880 else
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6882 fi
6883
6884 # Check to see that the pipe works correctly.
6885 pipe_works=no
6886
6887 rm -f conftest*
6888 cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6896 }
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6900
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6903 ac_status=$?
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6907 nlist=conftest.nm
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6910 ac_status=$?
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6916 else
6917 rm -f "$nlist"T
6918 fi
6919
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6927
6928 _LT_EOF
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6931
6932 cat <<_LT_EOF >> conftest.$ac_ext
6933
6934 /* The mapping between symbol names and symbols. */
6935 const struct {
6936 const char *name;
6937 void *address;
6938 }
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6940 {
6941 { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6945 {0, (void *) 0}
6946 };
6947
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6952 }
6953 #endif
6954
6955 #ifdef __cplusplus
6956 }
6957 #endif
6958 _LT_EOF
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6967 ac_status=$?
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970 pipe_works=yes
6971 fi
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6974 else
6975 echo "cannot find nm_test_func in $nlist" >&5
6976 fi
6977 else
6978 echo "cannot find nm_test_var in $nlist" >&5
6979 fi
6980 else
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6982 fi
6983 else
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6986 fi
6987 rm -rf conftest* conftst*
6988
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6991 break
6992 else
6993 lt_cv_sys_global_symbol_pipe=
6994 fi
6995 done
6996
6997 fi
6998
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7001 fi
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7008 fi
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7034 fi
7035
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7037
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7046 ac_status=$?
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7050 *ELF-32*)
7051 HPUX_IA64_MODE="32"
7052 ;;
7053 *ELF-64*)
7054 HPUX_IA64_MODE="64"
7055 ;;
7056 esac
7057 fi
7058 rm -rf conftest*
7059 ;;
7060 *-*-irix6*)
7061 # Find out which ABI we are using.
7062 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7065 ac_status=$?
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7070 *32-bit*)
7071 LD="${LD-ld} -melf32bsmip"
7072 ;;
7073 *N32*)
7074 LD="${LD-ld} -melf32bmipn32"
7075 ;;
7076 *64-bit*)
7077 LD="${LD-ld} -melf64bmip"
7078 ;;
7079 esac
7080 else
7081 case `/usr/bin/file conftest.$ac_objext` in
7082 *32-bit*)
7083 LD="${LD-ld} -32"
7084 ;;
7085 *N32*)
7086 LD="${LD-ld} -n32"
7087 ;;
7088 *64-bit*)
7089 LD="${LD-ld} -64"
7090 ;;
7091 esac
7092 fi
7093 fi
7094 rm -rf conftest*
7095 ;;
7096
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7103 ac_status=$?
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7107 *32-bit*)
7108 case $host in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7111 ;;
7112 x86_64-*linux*)
7113 LD="${LD-ld} -m elf_i386"
7114 ;;
7115 ppc64-*linux*|powerpc64-*linux*)
7116 LD="${LD-ld} -m elf32ppclinux"
7117 ;;
7118 s390x-*linux*)
7119 LD="${LD-ld} -m elf_s390"
7120 ;;
7121 sparc64-*linux*)
7122 LD="${LD-ld} -m elf32_sparc"
7123 ;;
7124 esac
7125 ;;
7126 *64-bit*)
7127 case $host in
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_x86_64_fbsd"
7130 ;;
7131 x86_64-*linux*)
7132 LD="${LD-ld} -m elf_x86_64"
7133 ;;
7134 ppc*-*linux*|powerpc*-*linux*)
7135 LD="${LD-ld} -m elf64ppc"
7136 ;;
7137 s390*-*linux*|s390*-*tpf*)
7138 LD="${LD-ld} -m elf64_s390"
7139 ;;
7140 sparc*-*linux*)
7141 LD="${LD-ld} -m elf64_sparc"
7142 ;;
7143 esac
7144 ;;
7145 esac
7146 fi
7147 rm -rf conftest*
7148 ;;
7149
7150 *-*-sco3.2v5*)
7151 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152 SAVE_CFLAGS="$CFLAGS"
7153 CFLAGS="$CFLAGS -belf"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7164
7165 if test x$gcc_no_link = xyes; then
7166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7167 fi
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7170
7171 int
7172 main ()
7173 {
7174
7175 ;
7176 return 0;
7177 }
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 lt_cv_cc_needs_belf=yes
7181 else
7182 lt_cv_cc_needs_belf=no
7183 fi
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191
7192 fi
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197 CFLAGS="$SAVE_CFLAGS"
7198 fi
7199 ;;
7200 sparc*-*solaris*)
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7205 ac_status=$?
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.o` in
7209 *64-bit*)
7210 case $lt_cv_prog_gnu_ld in
7211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7212 *)
7213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214 LD="${LD-ld} -64"
7215 fi
7216 ;;
7217 esac
7218 ;;
7219 esac
7220 fi
7221 rm -rf conftest*
7222 ;;
7223 esac
7224
7225 need_locks="$enable_libtool_lock"
7226
7227
7228 case $host_os in
7229 rhapsody* | darwin*)
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$DSYMUTIL"; then
7239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7243 do
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7251 fi
7252 done
7253 done
7254 IFS=$as_save_IFS
7255
7256 fi
7257 fi
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7265 fi
7266
7267
7268 fi
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270 ac_ct_DSYMUTIL=$DSYMUTIL
7271 # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 if test -n "$ac_ct_DSYMUTIL"; then
7279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7283 do
7284 IFS=$as_save_IFS
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 break 2
7291 fi
7292 done
7293 done
7294 IFS=$as_save_IFS
7295
7296 fi
7297 fi
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7305 fi
7306
7307 if test "x$ac_ct_DSYMUTIL" = x; then
7308 DSYMUTIL=":"
7309 else
7310 case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316 DSYMUTIL=$ac_ct_DSYMUTIL
7317 fi
7318 else
7319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7320 fi
7321
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$NMEDIT"; then
7331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7335 do
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7343 fi
7344 done
7345 done
7346 IFS=$as_save_IFS
7347
7348 fi
7349 fi
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7357 fi
7358
7359
7360 fi
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362 ac_ct_NMEDIT=$NMEDIT
7363 # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$ac_ct_NMEDIT"; then
7371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7375 do
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7383 fi
7384 done
7385 done
7386 IFS=$as_save_IFS
7387
7388 fi
7389 fi
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7397 fi
7398
7399 if test "x$ac_ct_NMEDIT" = x; then
7400 NMEDIT=":"
7401 else
7402 case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408 NMEDIT=$ac_ct_NMEDIT
7409 fi
7410 else
7411 NMEDIT="$ac_cv_prog_NMEDIT"
7412 fi
7413
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$LIPO"; then
7423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7427 do
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7435 fi
7436 done
7437 done
7438 IFS=$as_save_IFS
7439
7440 fi
7441 fi
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7449 fi
7450
7451
7452 fi
7453 if test -z "$ac_cv_prog_LIPO"; then
7454 ac_ct_LIPO=$LIPO
7455 # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$ac_ct_LIPO"; then
7463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7467 do
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_ac_ct_LIPO="lipo"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7475 fi
7476 done
7477 done
7478 IFS=$as_save_IFS
7479
7480 fi
7481 fi
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7489 fi
7490
7491 if test "x$ac_ct_LIPO" = x; then
7492 LIPO=":"
7493 else
7494 case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500 LIPO=$ac_ct_LIPO
7501 fi
7502 else
7503 LIPO="$ac_cv_prog_LIPO"
7504 fi
7505
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7519 do
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7527 fi
7528 done
7529 done
7530 IFS=$as_save_IFS
7531
7532 fi
7533 fi
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7541 fi
7542
7543
7544 fi
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546 ac_ct_OTOOL=$OTOOL
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7559 do
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7567 fi
7568 done
7569 done
7570 IFS=$as_save_IFS
7571
7572 fi
7573 fi
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7581 fi
7582
7583 if test "x$ac_ct_OTOOL" = x; then
7584 OTOOL=":"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 OTOOL=$ac_ct_OTOOL
7593 fi
7594 else
7595 OTOOL="$ac_cv_prog_OTOOL"
7596 fi
7597
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 if test -n "$OTOOL64"; then
7607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7611 do
7612 IFS=$as_save_IFS
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 break 2
7619 fi
7620 done
7621 done
7622 IFS=$as_save_IFS
7623
7624 fi
7625 fi
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7633 fi
7634
7635
7636 fi
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638 ac_ct_OTOOL64=$OTOOL64
7639 # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 if test -n "$ac_ct_OTOOL64"; then
7647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7651 do
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_OTOOL64="otool64"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 break 2
7659 fi
7660 done
7661 done
7662 IFS=$as_save_IFS
7663
7664 fi
7665 fi
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7673 fi
7674
7675 if test "x$ac_ct_OTOOL64" = x; then
7676 OTOOL64=":"
7677 else
7678 case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684 OTOOL64=$ac_ct_OTOOL64
7685 fi
7686 else
7687 OTOOL64="$ac_cv_prog_OTOOL64"
7688 fi
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 lt_cv_apple_cc_single_mod=no
7722 if test -z "${LT_MULTI_MODULE}"; then
7723 # By default we will add the -single_module flag. You can override
7724 # by either setting the environment variable LT_MULTI_MODULE
7725 # non-empty at configure time, or by adding -multi_module to the
7726 # link flags.
7727 rm -rf libconftest.dylib*
7728 echo "int foo(void){return 1;}" > conftest.c
7729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733 _lt_result=$?
7734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735 lt_cv_apple_cc_single_mod=yes
7736 else
7737 cat conftest.err >&5
7738 fi
7739 rm -rf libconftest.dylib*
7740 rm -f conftest.*
7741 fi
7742 fi
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 lt_cv_ld_exported_symbols_list=no
7751 save_LDFLAGS=$LDFLAGS
7752 echo "_main" > conftest.sym
7753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754 if test x$gcc_no_link = xyes; then
7755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7756 fi
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7759
7760 int
7761 main ()
7762 {
7763
7764 ;
7765 return 0;
7766 }
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 lt_cv_ld_exported_symbols_list=yes
7770 else
7771 lt_cv_ld_exported_symbols_list=no
7772 fi
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LDFLAGS="$save_LDFLAGS"
7776
7777 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7781 $as_echo_n "checking for -force_load linker flag... " >&6; }
7782 if test "${lt_cv_ld_force_load+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 lt_cv_ld_force_load=no
7786 cat > conftest.c << _LT_EOF
7787 int forced_loaded() { return 2;}
7788 _LT_EOF
7789 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7790 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7791 echo "$AR cru libconftest.a conftest.o" >&5
7792 $AR cru libconftest.a conftest.o 2>&5
7793 cat > conftest.c << _LT_EOF
7794 int main() { return 0;}
7795 _LT_EOF
7796 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7797 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7798 _lt_result=$?
7799 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7800 lt_cv_ld_force_load=yes
7801 else
7802 cat conftest.err >&5
7803 fi
7804 rm -f conftest.err libconftest.a conftest conftest.c
7805 rm -rf conftest.dSYM
7806
7807 fi
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7809 $as_echo "$lt_cv_ld_force_load" >&6; }
7810 case $host_os in
7811 rhapsody* | darwin1.[012])
7812 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7813 darwin1.*)
7814 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7815 darwin*) # darwin 5.x on
7816 # if running on 10.5 or later, the deployment target defaults
7817 # to the OS version, if on x86, and 10.4, the deployment
7818 # target defaults to 10.4. Don't you love it?
7819 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7820 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7822 10.[012]*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 10.*)
7825 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7826 esac
7827 ;;
7828 esac
7829 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7830 _lt_dar_single_mod='$single_module'
7831 fi
7832 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7833 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7834 else
7835 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7836 fi
7837 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7838 _lt_dsymutil='~$DSYMUTIL $lib || :'
7839 else
7840 _lt_dsymutil=
7841 fi
7842 ;;
7843 esac
7844
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7846 $as_echo_n "checking for ANSI C header files... " >&6; }
7847 if test "${ac_cv_header_stdc+set}" = set; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <stdlib.h>
7853 #include <stdarg.h>
7854 #include <string.h>
7855 #include <float.h>
7856
7857 int
7858 main ()
7859 {
7860
7861 ;
7862 return 0;
7863 }
7864 _ACEOF
7865 if ac_fn_c_try_compile "$LINENO"; then :
7866 ac_cv_header_stdc=yes
7867 else
7868 ac_cv_header_stdc=no
7869 fi
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871
7872 if test $ac_cv_header_stdc = yes; then
7873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <string.h>
7877
7878 _ACEOF
7879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7880 $EGREP "memchr" >/dev/null 2>&1; then :
7881
7882 else
7883 ac_cv_header_stdc=no
7884 fi
7885 rm -f conftest*
7886
7887 fi
7888
7889 if test $ac_cv_header_stdc = yes; then
7890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 #include <stdlib.h>
7894
7895 _ACEOF
7896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7897 $EGREP "free" >/dev/null 2>&1; then :
7898
7899 else
7900 ac_cv_header_stdc=no
7901 fi
7902 rm -f conftest*
7903
7904 fi
7905
7906 if test $ac_cv_header_stdc = yes; then
7907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7908 if test "$cross_compiling" = yes; then :
7909 :
7910 else
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <ctype.h>
7914 #include <stdlib.h>
7915 #if ((' ' & 0x0FF) == 0x020)
7916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7918 #else
7919 # define ISLOWER(c) \
7920 (('a' <= (c) && (c) <= 'i') \
7921 || ('j' <= (c) && (c) <= 'r') \
7922 || ('s' <= (c) && (c) <= 'z'))
7923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7924 #endif
7925
7926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7927 int
7928 main ()
7929 {
7930 int i;
7931 for (i = 0; i < 256; i++)
7932 if (XOR (islower (i), ISLOWER (i))
7933 || toupper (i) != TOUPPER (i))
7934 return 2;
7935 return 0;
7936 }
7937 _ACEOF
7938 if ac_fn_c_try_run "$LINENO"; then :
7939
7940 else
7941 ac_cv_header_stdc=no
7942 fi
7943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7944 conftest.$ac_objext conftest.beam conftest.$ac_ext
7945 fi
7946
7947 fi
7948 fi
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 $as_echo "$ac_cv_header_stdc" >&6; }
7951 if test $ac_cv_header_stdc = yes; then
7952
7953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7954
7955 fi
7956
7957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7959 inttypes.h stdint.h unistd.h
7960 do :
7961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7963 "
7964 eval as_val=\$$as_ac_Header
7965 if test "x$as_val" = x""yes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968 _ACEOF
7969
7970 fi
7971
7972 done
7973
7974
7975 for ac_header in dlfcn.h
7976 do :
7977 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7978 "
7979 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7980 cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DLFCN_H 1
7982 _ACEOF
7983
7984 fi
7985
7986 done
7987
7988
7989
7990
7991
7992
7993 # Set options
7994
7995
7996
7997
7998 enable_win32_dll=no
7999
8000
8001 # Check whether --enable-shared was given.
8002 if test "${enable_shared+set}" = set; then :
8003 enableval=$enable_shared; p=${PACKAGE-default}
8004 case $enableval in
8005 yes) enable_shared=yes ;;
8006 no) enable_shared=no ;;
8007 *)
8008 enable_shared=no
8009 # Look at the argument we got. We use all the common list separators.
8010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011 for pkg in $enableval; do
8012 IFS="$lt_save_ifs"
8013 if test "X$pkg" = "X$p"; then
8014 enable_shared=yes
8015 fi
8016 done
8017 IFS="$lt_save_ifs"
8018 ;;
8019 esac
8020 else
8021 enable_shared=yes
8022 fi
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032 # Check whether --enable-static was given.
8033 if test "${enable_static+set}" = set; then :
8034 enableval=$enable_static; p=${PACKAGE-default}
8035 case $enableval in
8036 yes) enable_static=yes ;;
8037 no) enable_static=no ;;
8038 *)
8039 enable_static=no
8040 # Look at the argument we got. We use all the common list separators.
8041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042 for pkg in $enableval; do
8043 IFS="$lt_save_ifs"
8044 if test "X$pkg" = "X$p"; then
8045 enable_static=yes
8046 fi
8047 done
8048 IFS="$lt_save_ifs"
8049 ;;
8050 esac
8051 else
8052 enable_static=yes
8053 fi
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064 # Check whether --with-pic was given.
8065 if test "${with_pic+set}" = set; then :
8066 withval=$with_pic; pic_mode="$withval"
8067 else
8068 pic_mode=default
8069 fi
8070
8071
8072 test -z "$pic_mode" && pic_mode=default
8073
8074
8075
8076
8077
8078
8079
8080 # Check whether --enable-fast-install was given.
8081 if test "${enable_fast_install+set}" = set; then :
8082 enableval=$enable_fast_install; p=${PACKAGE-default}
8083 case $enableval in
8084 yes) enable_fast_install=yes ;;
8085 no) enable_fast_install=no ;;
8086 *)
8087 enable_fast_install=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8091 IFS="$lt_save_ifs"
8092 if test "X$pkg" = "X$p"; then
8093 enable_fast_install=yes
8094 fi
8095 done
8096 IFS="$lt_save_ifs"
8097 ;;
8098 esac
8099 else
8100 enable_fast_install=yes
8101 fi
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113 # This can be used to rebuild libtool when needed
8114 LIBTOOL_DEPS="$ltmain"
8115
8116 # Always use our own libtool.
8117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144 test -z "$LN_S" && LN_S="ln -s"
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159 if test -n "${ZSH_VERSION+set}" ; then
8160 setopt NO_GLOB_SUBST
8161 fi
8162
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8164 $as_echo_n "checking for objdir... " >&6; }
8165 if test "${lt_cv_objdir+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 rm -f .libs 2>/dev/null
8169 mkdir .libs 2>/dev/null
8170 if test -d .libs; then
8171 lt_cv_objdir=.libs
8172 else
8173 # MS-DOS does not allow filenames that begin with a dot.
8174 lt_cv_objdir=_libs
8175 fi
8176 rmdir .libs 2>/dev/null
8177 fi
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8179 $as_echo "$lt_cv_objdir" >&6; }
8180 objdir=$lt_cv_objdir
8181
8182
8183
8184
8185
8186 cat >>confdefs.h <<_ACEOF
8187 #define LT_OBJDIR "$lt_cv_objdir/"
8188 _ACEOF
8189
8190
8191
8192
8193 case $host_os in
8194 aix3*)
8195 # AIX sometimes has problems with the GCC collect2 program. For some
8196 # reason, if we set the COLLECT_NAMES environment variable, the problems
8197 # vanish in a puff of smoke.
8198 if test "X${COLLECT_NAMES+set}" != Xset; then
8199 COLLECT_NAMES=
8200 export COLLECT_NAMES
8201 fi
8202 ;;
8203 esac
8204
8205 # Global variables:
8206 ofile=libtool
8207 can_build_shared=yes
8208
8209 # All known linkers require a `.a' archive for static linking (except MSVC,
8210 # which needs '.lib').
8211 libext=a
8212
8213 with_gnu_ld="$lt_cv_prog_gnu_ld"
8214
8215 old_CC="$CC"
8216 old_CFLAGS="$CFLAGS"
8217
8218 # Set sane defaults for various variables
8219 test -z "$CC" && CC=cc
8220 test -z "$LTCC" && LTCC=$CC
8221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8222 test -z "$LD" && LD=ld
8223 test -z "$ac_objext" && ac_objext=o
8224
8225 for cc_temp in $compiler""; do
8226 case $cc_temp in
8227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8229 \-*) ;;
8230 *) break;;
8231 esac
8232 done
8233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8234
8235
8236 # Only perform the check for file, if the check method requires it
8237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8238 case $deplibs_check_method in
8239 file_magic*)
8240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 case $MAGIC_CMD in
8247 [\\/*] | ?:[\\/]*)
8248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8249 ;;
8250 *)
8251 lt_save_MAGIC_CMD="$MAGIC_CMD"
8252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8254 for ac_dir in $ac_dummy; do
8255 IFS="$lt_save_ifs"
8256 test -z "$ac_dir" && ac_dir=.
8257 if test -f $ac_dir/${ac_tool_prefix}file; then
8258 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8259 if test -n "$file_magic_test_file"; then
8260 case $deplibs_check_method in
8261 "file_magic "*)
8262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8265 $EGREP "$file_magic_regex" > /dev/null; then
8266 :
8267 else
8268 cat <<_LT_EOF 1>&2
8269
8270 *** Warning: the command libtool uses to detect shared libraries,
8271 *** $file_magic_cmd, produces output that libtool cannot recognize.
8272 *** The result is that libtool may fail to recognize shared libraries
8273 *** as such. This will affect the creation of libtool libraries that
8274 *** depend on shared libraries, but programs linked with such libtool
8275 *** libraries will work regardless of this problem. Nevertheless, you
8276 *** may want to report the problem to your system manager and/or to
8277 *** bug-libtool@gnu.org
8278
8279 _LT_EOF
8280 fi ;;
8281 esac
8282 fi
8283 break
8284 fi
8285 done
8286 IFS="$lt_save_ifs"
8287 MAGIC_CMD="$lt_save_MAGIC_CMD"
8288 ;;
8289 esac
8290 fi
8291
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8295 $as_echo "$MAGIC_CMD" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8299 fi
8300
8301
8302
8303
8304
8305 if test -z "$lt_cv_path_MAGIC_CMD"; then
8306 if test -n "$ac_tool_prefix"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8308 $as_echo_n "checking for file... " >&6; }
8309 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 case $MAGIC_CMD in
8313 [\\/*] | ?:[\\/]*)
8314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8315 ;;
8316 *)
8317 lt_save_MAGIC_CMD="$MAGIC_CMD"
8318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8319 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8320 for ac_dir in $ac_dummy; do
8321 IFS="$lt_save_ifs"
8322 test -z "$ac_dir" && ac_dir=.
8323 if test -f $ac_dir/file; then
8324 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8325 if test -n "$file_magic_test_file"; then
8326 case $deplibs_check_method in
8327 "file_magic "*)
8328 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8331 $EGREP "$file_magic_regex" > /dev/null; then
8332 :
8333 else
8334 cat <<_LT_EOF 1>&2
8335
8336 *** Warning: the command libtool uses to detect shared libraries,
8337 *** $file_magic_cmd, produces output that libtool cannot recognize.
8338 *** The result is that libtool may fail to recognize shared libraries
8339 *** as such. This will affect the creation of libtool libraries that
8340 *** depend on shared libraries, but programs linked with such libtool
8341 *** libraries will work regardless of this problem. Nevertheless, you
8342 *** may want to report the problem to your system manager and/or to
8343 *** bug-libtool@gnu.org
8344
8345 _LT_EOF
8346 fi ;;
8347 esac
8348 fi
8349 break
8350 fi
8351 done
8352 IFS="$lt_save_ifs"
8353 MAGIC_CMD="$lt_save_MAGIC_CMD"
8354 ;;
8355 esac
8356 fi
8357
8358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8359 if test -n "$MAGIC_CMD"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8361 $as_echo "$MAGIC_CMD" >&6; }
8362 else
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8365 fi
8366
8367
8368 else
8369 MAGIC_CMD=:
8370 fi
8371 fi
8372
8373 fi
8374 ;;
8375 esac
8376
8377 # Use C for the default configuration in the libtool script
8378
8379 lt_save_CC="$CC"
8380 ac_ext=c
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8385
8386
8387 # Source file extension for C test sources.
8388 ac_ext=c
8389
8390 # Object file extension for compiled C test sources.
8391 objext=o
8392 objext=$objext
8393
8394 # Code to be used in simple compile tests
8395 lt_simple_compile_test_code="int some_variable = 0;"
8396
8397 # Code to be used in simple link tests
8398 lt_simple_link_test_code='int main(){return(0);}'
8399
8400
8401
8402
8403
8404
8405
8406 # If no C compiler was specified, use CC.
8407 LTCC=${LTCC-"$CC"}
8408
8409 # If no C compiler flags were specified, use CFLAGS.
8410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8411
8412 # Allow CC to be a program name with arguments.
8413 compiler=$CC
8414
8415 # Save the default compiler, since it gets overwritten when the other
8416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8417 compiler_DEFAULT=$CC
8418
8419 # save warnings/boilerplate of simple test code
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_compiler_boilerplate=`cat conftest.err`
8424 $RM conftest*
8425
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_linker_boilerplate=`cat conftest.err`
8430 $RM -r conftest*
8431
8432
8433 ## CAVEAT EMPTOR:
8434 ## There is no encapsulation within the following macros, do not change
8435 ## the running order or otherwise move them around unless you know exactly
8436 ## what you are doing...
8437 if test -n "$compiler"; then
8438
8439 lt_prog_compiler_no_builtin_flag=
8440
8441 if test "$GCC" = yes; then
8442 case $cc_basename in
8443 nvcc*)
8444 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8445 *)
8446 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8447 esac
8448
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 lt_cv_prog_compiler_rtti_exceptions=no
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457 lt_compiler_flag="-fno-rtti -fno-exceptions"
8458 # Insert the option either (1) after the last *FLAGS variable, or
8459 # (2) before a word containing "conftest.", or (3) at the end.
8460 # Note that $ac_compile itself does not contain backslashes and begins
8461 # with a dollar sign (not a hyphen), so the echo should work correctly.
8462 # The option is referenced via a variable to avoid confusing sed.
8463 lt_compile=`echo "$ac_compile" | $SED \
8464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466 -e 's:$: $lt_compiler_flag:'`
8467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468 (eval "$lt_compile" 2>conftest.err)
8469 ac_status=$?
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 if (exit $ac_status) && test -s "$ac_outfile"; then
8473 # The compiler can only warn and ignore the option if not recognized
8474 # So say no if there are warnings other than the usual output.
8475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8476 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8477 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8478 lt_cv_prog_compiler_rtti_exceptions=yes
8479 fi
8480 fi
8481 $RM conftest*
8482
8483 fi
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8486
8487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8488 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 else
8490 :
8491 fi
8492
8493 fi
8494
8495
8496
8497
8498
8499
8500 lt_prog_compiler_wl=
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_static=
8503
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8506
8507 if test "$GCC" = yes; then
8508 lt_prog_compiler_wl='-Wl,'
8509 lt_prog_compiler_static='-static'
8510
8511 case $host_os in
8512 aix*)
8513 # All AIX code is PIC.
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 now supports IA64 processor
8516 lt_prog_compiler_static='-Bstatic'
8517 fi
8518 ;;
8519
8520 amigaos*)
8521 case $host_cpu in
8522 powerpc)
8523 # see comment about AmigaOS4 .so support
8524 lt_prog_compiler_pic='-fPIC'
8525 ;;
8526 m68k)
8527 # FIXME: we need at least 68020 code to build shared libraries, but
8528 # adding the `-m68020' flag to GCC prevents building anything better,
8529 # like `-m68040'.
8530 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8531 ;;
8532 esac
8533 ;;
8534
8535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8536 # PIC is the default for these OSes.
8537 ;;
8538
8539 mingw* | cygwin* | pw32* | os2* | cegcc*)
8540 # This hack is so that the source file can tell whether it is being
8541 # built for inclusion in a dll (and should export symbols for example).
8542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8543 # (--disable-auto-import) libraries
8544 lt_prog_compiler_pic='-DDLL_EXPORT'
8545 ;;
8546
8547 darwin* | rhapsody*)
8548 # PIC is the default on this platform
8549 # Common symbols not allowed in MH_DYLIB files
8550 lt_prog_compiler_pic='-fno-common'
8551 ;;
8552
8553 haiku*)
8554 # PIC is the default for Haiku.
8555 # The "-static" flag exists, but is broken.
8556 lt_prog_compiler_static=
8557 ;;
8558
8559 hpux*)
8560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8562 # sets the default TLS model and affects inlining.
8563 case $host_cpu in
8564 hppa*64*)
8565 # +Z the default
8566 ;;
8567 *)
8568 lt_prog_compiler_pic='-fPIC'
8569 ;;
8570 esac
8571 ;;
8572
8573 interix[3-9]*)
8574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8575 # Instead, we relocate shared libraries at runtime.
8576 ;;
8577
8578 msdosdjgpp*)
8579 # Just because we use GCC doesn't mean we suddenly get shared libraries
8580 # on systems that don't support them.
8581 lt_prog_compiler_can_build_shared=no
8582 enable_shared=no
8583 ;;
8584
8585 *nto* | *qnx*)
8586 # QNX uses GNU C++, but need to define -shared option too, otherwise
8587 # it will coredump.
8588 lt_prog_compiler_pic='-fPIC -shared'
8589 ;;
8590
8591 sysv4*MP*)
8592 if test -d /usr/nec; then
8593 lt_prog_compiler_pic=-Kconform_pic
8594 fi
8595 ;;
8596
8597 *)
8598 lt_prog_compiler_pic='-fPIC'
8599 ;;
8600 esac
8601
8602 case $cc_basename in
8603 nvcc*) # Cuda Compiler Driver 2.2
8604 lt_prog_compiler_wl='-Xlinker '
8605 lt_prog_compiler_pic='-Xcompiler -fPIC'
8606 ;;
8607 esac
8608 else
8609 # PORTME Check for flag to pass linker flags through the system compiler.
8610 case $host_os in
8611 aix*)
8612 lt_prog_compiler_wl='-Wl,'
8613 if test "$host_cpu" = ia64; then
8614 # AIX 5 now supports IA64 processor
8615 lt_prog_compiler_static='-Bstatic'
8616 else
8617 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8618 fi
8619 ;;
8620
8621 mingw* | cygwin* | pw32* | os2* | cegcc*)
8622 # This hack is so that the source file can tell whether it is being
8623 # built for inclusion in a dll (and should export symbols for example).
8624 lt_prog_compiler_pic='-DDLL_EXPORT'
8625 ;;
8626
8627 hpux9* | hpux10* | hpux11*)
8628 lt_prog_compiler_wl='-Wl,'
8629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8630 # not for PA HP-UX.
8631 case $host_cpu in
8632 hppa*64*|ia64*)
8633 # +Z the default
8634 ;;
8635 *)
8636 lt_prog_compiler_pic='+Z'
8637 ;;
8638 esac
8639 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640 lt_prog_compiler_static='${wl}-a ${wl}archive'
8641 ;;
8642
8643 irix5* | irix6* | nonstopux*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC (with -KPIC) is the default.
8646 lt_prog_compiler_static='-non_shared'
8647 ;;
8648
8649 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8650 case $cc_basename in
8651 # old Intel for x86_64 which still supported -KPIC.
8652 ecc*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-static'
8656 ;;
8657 # icc used to be incompatible with GCC.
8658 # ICC 10 doesn't accept -KPIC any more.
8659 icc* | ifort*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-fPIC'
8662 lt_prog_compiler_static='-static'
8663 ;;
8664 # Lahey Fortran 8.1.
8665 lf95*)
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='--shared'
8668 lt_prog_compiler_static='--static'
8669 ;;
8670 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671 # Portland Group compilers (*not* the Pentium gcc compiler,
8672 # which looks to be a dead project)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fpic'
8675 lt_prog_compiler_static='-Bstatic'
8676 ;;
8677 ccc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 # All Alpha code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8681 ;;
8682 xl* | bgxl* | bgf* | mpixl*)
8683 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-qpic'
8686 lt_prog_compiler_static='-qstaticlink'
8687 ;;
8688 *)
8689 case `$CC -V 2>&1 | sed 5q` in
8690 *Sun\ F* | *Sun*Fortran*)
8691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl=''
8695 ;;
8696 *Sun\ C*)
8697 # Sun C 5.9
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8701 ;;
8702 esac
8703 ;;
8704 esac
8705 ;;
8706
8707 newsos6)
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8710 ;;
8711
8712 *nto* | *qnx*)
8713 # QNX uses GNU C++, but need to define -shared option too, otherwise
8714 # it will coredump.
8715 lt_prog_compiler_pic='-fPIC -shared'
8716 ;;
8717
8718 osf3* | osf4* | osf5*)
8719 lt_prog_compiler_wl='-Wl,'
8720 # All OSF/1 code is PIC.
8721 lt_prog_compiler_static='-non_shared'
8722 ;;
8723
8724 rdos*)
8725 lt_prog_compiler_static='-non_shared'
8726 ;;
8727
8728 solaris*)
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 case $cc_basename in
8732 f77* | f90* | f95*)
8733 lt_prog_compiler_wl='-Qoption ld ';;
8734 *)
8735 lt_prog_compiler_wl='-Wl,';;
8736 esac
8737 ;;
8738
8739 sunos4*)
8740 lt_prog_compiler_wl='-Qoption ld '
8741 lt_prog_compiler_pic='-PIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 ;;
8744
8745 sysv4 | sysv4.2uw2* | sysv4.3*)
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8749 ;;
8750
8751 sysv4*MP*)
8752 if test -d /usr/nec ;then
8753 lt_prog_compiler_pic='-Kconform_pic'
8754 lt_prog_compiler_static='-Bstatic'
8755 fi
8756 ;;
8757
8758 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8762 ;;
8763
8764 unicos*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_can_build_shared=no
8767 ;;
8768
8769 uts4*)
8770 lt_prog_compiler_pic='-pic'
8771 lt_prog_compiler_static='-Bstatic'
8772 ;;
8773
8774 *)
8775 lt_prog_compiler_can_build_shared=no
8776 ;;
8777 esac
8778 fi
8779
8780 case $host_os in
8781 # For platforms which do not support PIC, -DPIC is meaningless:
8782 *djgpp*)
8783 lt_prog_compiler_pic=
8784 ;;
8785 *)
8786 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8787 ;;
8788 esac
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8790 $as_echo "$lt_prog_compiler_pic" >&6; }
8791
8792
8793
8794
8795
8796
8797 #
8798 # Check to make sure the PIC flag actually works.
8799 #
8800 if test -n "$lt_prog_compiler_pic"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8803 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 lt_cv_prog_compiler_pic_works=no
8807 ac_outfile=conftest.$ac_objext
8808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 # The option is referenced via a variable to avoid confusing sed.
8815 lt_compile=`echo "$ac_compile" | $SED \
8816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818 -e 's:$: $lt_compiler_flag:'`
8819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8820 (eval "$lt_compile" 2>conftest.err)
8821 ac_status=$?
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 if (exit $ac_status) && test -s "$ac_outfile"; then
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings other than the usual output.
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8829 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_pic_works=yes
8831 fi
8832 fi
8833 $RM conftest*
8834
8835 fi
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8838
8839 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8840 case $lt_prog_compiler_pic in
8841 "" | " "*) ;;
8842 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8843 esac
8844 else
8845 lt_prog_compiler_pic=
8846 lt_prog_compiler_can_build_shared=no
8847 fi
8848
8849 fi
8850
8851
8852
8853
8854
8855
8856 #
8857 # Check to make sure the static flag actually works.
8858 #
8859 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8861 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8862 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 lt_cv_prog_compiler_static_works=no
8866 save_LDFLAGS="$LDFLAGS"
8867 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8868 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8869 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8870 # The linker can only warn and ignore the option if not recognized
8871 # So say no if there are warnings
8872 if test -s conftest.err; then
8873 # Append any errors to the config.log.
8874 cat conftest.err 1>&5
8875 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8877 if diff conftest.exp conftest.er2 >/dev/null; then
8878 lt_cv_prog_compiler_static_works=yes
8879 fi
8880 else
8881 lt_cv_prog_compiler_static_works=yes
8882 fi
8883 fi
8884 $RM -r conftest*
8885 LDFLAGS="$save_LDFLAGS"
8886
8887 fi
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8889 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8890
8891 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8892 :
8893 else
8894 lt_prog_compiler_static=
8895 fi
8896
8897
8898
8899
8900
8901
8902
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_c_o=no
8909 $RM -r conftest 2>/dev/null
8910 mkdir conftest
8911 cd conftest
8912 mkdir out
8913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914
8915 lt_compiler_flag="-o out/conftest2.$ac_objext"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 lt_compile=`echo "$ac_compile" | $SED \
8921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923 -e 's:$: $lt_compiler_flag:'`
8924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925 (eval "$lt_compile" 2>out/conftest.err)
8926 ac_status=$?
8927 cat out/conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930 then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_c_o=yes
8937 fi
8938 fi
8939 chmod u+w . 2>&5
8940 $RM conftest*
8941 # SGI C++ compiler will create directory out/ii_files/ for
8942 # template instantiation
8943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944 $RM out/* && rmdir out
8945 cd ..
8946 $RM -r conftest
8947 $RM conftest*
8948
8949 fi
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8952
8953
8954
8955
8956
8957
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 lt_cv_prog_compiler_c_o=no
8964 $RM -r conftest 2>/dev/null
8965 mkdir conftest
8966 cd conftest
8967 mkdir out
8968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969
8970 lt_compiler_flag="-o out/conftest2.$ac_objext"
8971 # Insert the option either (1) after the last *FLAGS variable, or
8972 # (2) before a word containing "conftest.", or (3) at the end.
8973 # Note that $ac_compile itself does not contain backslashes and begins
8974 # with a dollar sign (not a hyphen), so the echo should work correctly.
8975 lt_compile=`echo "$ac_compile" | $SED \
8976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978 -e 's:$: $lt_compiler_flag:'`
8979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980 (eval "$lt_compile" 2>out/conftest.err)
8981 ac_status=$?
8982 cat out/conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985 then
8986 # The compiler can only warn and ignore the option if not recognized
8987 # So say no if there are warnings
8988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991 lt_cv_prog_compiler_c_o=yes
8992 fi
8993 fi
8994 chmod u+w . 2>&5
8995 $RM conftest*
8996 # SGI C++ compiler will create directory out/ii_files/ for
8997 # template instantiation
8998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8999 $RM out/* && rmdir out
9000 cd ..
9001 $RM -r conftest
9002 $RM conftest*
9003
9004 fi
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9007
9008
9009
9010
9011 hard_links="nottested"
9012 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9013 # do not overwrite the value of need_locks provided by the user
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9015 $as_echo_n "checking if we can lock with hard links... " >&6; }
9016 hard_links=yes
9017 $RM conftest*
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 touch conftest.a
9020 ln conftest.a conftest.b 2>&5 || hard_links=no
9021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9023 $as_echo "$hard_links" >&6; }
9024 if test "$hard_links" = no; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9027 need_locks=warn
9028 fi
9029 else
9030 need_locks=no
9031 fi
9032
9033
9034
9035
9036
9037
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9039 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9040
9041 runpath_var=
9042 allow_undefined_flag=
9043 always_export_symbols=no
9044 archive_cmds=
9045 archive_expsym_cmds=
9046 compiler_needs_object=no
9047 enable_shared_with_static_runtimes=no
9048 export_dynamic_flag_spec=
9049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9050 hardcode_automatic=no
9051 hardcode_direct=no
9052 hardcode_direct_absolute=no
9053 hardcode_libdir_flag_spec=
9054 hardcode_libdir_flag_spec_ld=
9055 hardcode_libdir_separator=
9056 hardcode_minus_L=no
9057 hardcode_shlibpath_var=unsupported
9058 inherit_rpath=no
9059 link_all_deplibs=unknown
9060 module_cmds=
9061 module_expsym_cmds=
9062 old_archive_from_new_cmds=
9063 old_archive_from_expsyms_cmds=
9064 thread_safe_flag_spec=
9065 whole_archive_flag_spec=
9066 # include_expsyms should be a list of space-separated symbols to be *always*
9067 # included in the symbol list
9068 include_expsyms=
9069 # exclude_expsyms can be an extended regexp of symbols to exclude
9070 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9071 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9072 # as well as any symbol that contains `d'.
9073 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075 # platforms (ab)use it in PIC code, but their linkers get confused if
9076 # the symbol is explicitly referenced. Since portable code cannot
9077 # rely on this symbol name, it's probably fine to never include it in
9078 # preloaded symbol tables.
9079 # Exclude shared library initialization/finalization symbols.
9080 extract_expsyms_cmds=
9081
9082 case $host_os in
9083 cygwin* | mingw* | pw32* | cegcc*)
9084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085 # When not using gcc, we currently assume that we are using
9086 # Microsoft Visual C++.
9087 if test "$GCC" != yes; then
9088 with_gnu_ld=no
9089 fi
9090 ;;
9091 interix*)
9092 # we just hope/assume this is gcc and not c89 (= MSVC++)
9093 with_gnu_ld=yes
9094 ;;
9095 openbsd*)
9096 with_gnu_ld=no
9097 ;;
9098 esac
9099
9100 ld_shlibs=yes
9101
9102 # On some targets, GNU ld is compatible enough with the native linker
9103 # that we're better off using the native interface for both.
9104 lt_use_gnu_ld_interface=no
9105 if test "$with_gnu_ld" = yes; then
9106 case $host_os in
9107 aix*)
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9110 # block says, versions before 2.19.5* couldn't really create working
9111 # shared libraries, regardless of the interface used.
9112 case `$LD -v 2>&1` in
9113 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9114 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9115 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9116 *)
9117 lt_use_gnu_ld_interface=yes
9118 ;;
9119 esac
9120 ;;
9121 *)
9122 lt_use_gnu_ld_interface=yes
9123 ;;
9124 esac
9125 fi
9126
9127 if test "$lt_use_gnu_ld_interface" = yes; then
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9129 wlarc='${wl}'
9130
9131 # Set some defaults for GNU ld with shared library support. These
9132 # are reset later if shared libraries are not supported. Putting them
9133 # here allows them to be overridden if necessary.
9134 runpath_var=LD_RUN_PATH
9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136 export_dynamic_flag_spec='${wl}--export-dynamic'
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9139 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9140 else
9141 whole_archive_flag_spec=
9142 fi
9143 supports_anon_versioning=no
9144 case `$LD -v 2>&1` in
9145 *GNU\ gold*) supports_anon_versioning=yes ;;
9146 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9147 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9148 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9149 *\ 2.11.*) ;; # other 2.11 versions
9150 *) supports_anon_versioning=yes ;;
9151 esac
9152
9153 # See if GNU ld supports shared libraries.
9154 case $host_os in
9155 aix[3-9]*)
9156 # On AIX/PPC, the GNU linker is very broken
9157 if test "$host_cpu" != ia64; then
9158 ld_shlibs=no
9159 cat <<_LT_EOF 1>&2
9160
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support. If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9167
9168 _LT_EOF
9169 fi
9170 ;;
9171
9172 amigaos*)
9173 case $host_cpu in
9174 powerpc)
9175 # see comment about AmigaOS4 .so support
9176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177 archive_expsym_cmds=''
9178 ;;
9179 m68k)
9180 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)'
9181 hardcode_libdir_flag_spec='-L$libdir'
9182 hardcode_minus_L=yes
9183 ;;
9184 esac
9185 ;;
9186
9187 beos*)
9188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189 allow_undefined_flag=unsupported
9190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191 # support --undefined. This deserves some investigation. FIXME
9192 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193 else
9194 ld_shlibs=no
9195 fi
9196 ;;
9197
9198 cygwin* | mingw* | pw32* | cegcc*)
9199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200 # as there is no search path for DLLs.
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 export_dynamic_flag_spec='${wl}--export-all-symbols'
9203 allow_undefined_flag=unsupported
9204 always_export_symbols=no
9205 enable_shared_with_static_runtimes=yes
9206 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9207
9208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9210 # If the export-symbols file already is a .def file (1st line
9211 # is EXPORTS), use it as is; otherwise, prepend...
9212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9213 cp $export_symbols $output_objdir/$soname.def;
9214 else
9215 echo EXPORTS > $output_objdir/$soname.def;
9216 cat $export_symbols >> $output_objdir/$soname.def;
9217 fi~
9218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 else
9220 ld_shlibs=no
9221 fi
9222 ;;
9223
9224 haiku*)
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 link_all_deplibs=yes
9227 ;;
9228
9229 interix[3-9]*)
9230 hardcode_direct=no
9231 hardcode_shlibpath_var=no
9232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233 export_dynamic_flag_spec='${wl}-E'
9234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235 # Instead, shared libraries are loaded at an image base (0x10000000 by
9236 # default) and relocated if they conflict, which is a slow very memory
9237 # consuming and fragmenting process. To avoid this, we pick a random,
9238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241 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'
9242 ;;
9243
9244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245 tmp_diet=no
9246 if test "$host_os" = linux-dietlibc; then
9247 case $cc_basename in
9248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9249 esac
9250 fi
9251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252 && test "$tmp_diet" = no
9253 then
9254 tmp_addflag=
9255 tmp_sharedflag='-shared'
9256 case $cc_basename,$host_cpu in
9257 pgcc*) # Portland Group C compiler
9258 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'
9259 tmp_addflag=' $pic_flag'
9260 ;;
9261 pgf77* | pgf90* | pgf95* | pgfortran*)
9262 # Portland Group f77 and f90 compilers
9263 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'
9264 tmp_addflag=' $pic_flag -Mnomain' ;;
9265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9266 tmp_addflag=' -i_dynamic' ;;
9267 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9268 tmp_addflag=' -i_dynamic -nofor_main' ;;
9269 ifc* | ifort*) # Intel Fortran compiler
9270 tmp_addflag=' -nofor_main' ;;
9271 lf95*) # Lahey Fortran 8.1
9272 whole_archive_flag_spec=
9273 tmp_sharedflag='--shared' ;;
9274 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9275 tmp_sharedflag='-qmkshrobj'
9276 tmp_addflag= ;;
9277 nvcc*) # Cuda Compiler Driver 2.2
9278 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'
9279 compiler_needs_object=yes
9280 ;;
9281 esac
9282 case `$CC -V 2>&1 | sed 5q` in
9283 *Sun\ C*) # Sun C 5.9
9284 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'
9285 compiler_needs_object=yes
9286 tmp_sharedflag='-G' ;;
9287 *Sun\ F*) # Sun Fortran 8.3
9288 tmp_sharedflag='-G' ;;
9289 esac
9290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291
9292 if test "x$supports_anon_versioning" = xyes; then
9293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295 echo "local: *; };" >> $output_objdir/$libname.ver~
9296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9297 fi
9298
9299 case $cc_basename in
9300 xlf* | bgf* | bgxlf* | mpixlf*)
9301 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9302 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9303 hardcode_libdir_flag_spec=
9304 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9305 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306 if test "x$supports_anon_versioning" = xyes; then
9307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309 echo "local: *; };" >> $output_objdir/$libname.ver~
9310 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9311 fi
9312 ;;
9313 esac
9314 else
9315 ld_shlibs=no
9316 fi
9317 ;;
9318
9319 netbsd*)
9320 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9322 wlarc=
9323 else
9324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9326 fi
9327 ;;
9328
9329 solaris*)
9330 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9331 ld_shlibs=no
9332 cat <<_LT_EOF 1>&2
9333
9334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9335 *** create shared libraries on Solaris systems. Therefore, libtool
9336 *** is disabling shared libraries support. We urge you to upgrade GNU
9337 *** binutils to release 2.9.1 or newer. Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9340
9341 _LT_EOF
9342 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 else
9346 ld_shlibs=no
9347 fi
9348 ;;
9349
9350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9351 case `$LD -v 2>&1` in
9352 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9353 ld_shlibs=no
9354 cat <<_LT_EOF 1>&2
9355
9356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9357 *** reliably create shared libraries on SCO systems. Therefore, libtool
9358 *** is disabling shared libraries support. We urge you to upgrade GNU
9359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9360 *** your PATH or compiler configuration so that the native linker is
9361 *** used, and then restart.
9362
9363 _LT_EOF
9364 ;;
9365 *)
9366 # For security reasons, it is highly recommended that you always
9367 # use absolute paths for naming shared libraries, and exclude the
9368 # DT_RUNPATH tag from executables and libraries. But doing so
9369 # requires that you compile everything twice, which is a pain.
9370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 else
9375 ld_shlibs=no
9376 fi
9377 ;;
9378 esac
9379 ;;
9380
9381 sunos4*)
9382 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383 wlarc=
9384 hardcode_direct=yes
9385 hardcode_shlibpath_var=no
9386 ;;
9387
9388 *)
9389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392 else
9393 ld_shlibs=no
9394 fi
9395 ;;
9396 esac
9397
9398 if test "$ld_shlibs" = no; then
9399 runpath_var=
9400 hardcode_libdir_flag_spec=
9401 export_dynamic_flag_spec=
9402 whole_archive_flag_spec=
9403 fi
9404 else
9405 # PORTME fill in a description of your system's linker (not GNU ld)
9406 case $host_os in
9407 aix3*)
9408 allow_undefined_flag=unsupported
9409 always_export_symbols=yes
9410 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'
9411 # Note: this linker hardcodes the directories in LIBPATH if there
9412 # are no directories specified by -L.
9413 hardcode_minus_L=yes
9414 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9415 # Neither direct hardcoding nor static linking is supported with a
9416 # broken collect2.
9417 hardcode_direct=unsupported
9418 fi
9419 ;;
9420
9421 aix[4-9]*)
9422 if test "$host_cpu" = ia64; then
9423 # On IA64, the linker does run time linking by default, so we don't
9424 # have to do anything special.
9425 aix_use_runtimelinking=no
9426 exp_sym_flag='-Bexport'
9427 no_entry_flag=""
9428 else
9429 # If we're using GNU nm, then we don't want the "-C" option.
9430 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9431 # Also, AIX nm treats weak defined symbols like other global
9432 # defined symbols, whereas GNU nm marks them as "W".
9433 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9434 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'
9435 else
9436 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9437 fi
9438 aix_use_runtimelinking=no
9439
9440 # Test if we are trying to use run time linking or normal
9441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442 # need to do runtime linking.
9443 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444 for ld_flag in $LDFLAGS; do
9445 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446 aix_use_runtimelinking=yes
9447 break
9448 fi
9449 done
9450 ;;
9451 esac
9452
9453 exp_sym_flag='-bexport'
9454 no_entry_flag='-bnoentry'
9455 fi
9456
9457 # When large executables or shared objects are built, AIX ld can
9458 # have problems creating the table of contents. If linking a library
9459 # or program results in "error TOC overflow" add -mminimal-toc to
9460 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9461 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9462
9463 archive_cmds=''
9464 hardcode_direct=yes
9465 hardcode_direct_absolute=yes
9466 hardcode_libdir_separator=':'
9467 link_all_deplibs=yes
9468 file_list_spec='${wl}-f,'
9469
9470 if test "$GCC" = yes; then
9471 case $host_os in aix4.[012]|aix4.[012].*)
9472 # We only want to do this on AIX 4.2 and lower, the check
9473 # below for broken collect2 doesn't work under 4.3+
9474 collect2name=`${CC} -print-prog-name=collect2`
9475 if test -f "$collect2name" &&
9476 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9477 then
9478 # We have reworked collect2
9479 :
9480 else
9481 # We have old collect2
9482 hardcode_direct=unsupported
9483 # It fails to find uninstalled libraries when the uninstalled
9484 # path is not listed in the libpath. Setting hardcode_minus_L
9485 # to unsupported forces relinking
9486 hardcode_minus_L=yes
9487 hardcode_libdir_flag_spec='-L$libdir'
9488 hardcode_libdir_separator=
9489 fi
9490 ;;
9491 esac
9492 shared_flag='-shared'
9493 if test "$aix_use_runtimelinking" = yes; then
9494 shared_flag="$shared_flag "'${wl}-G'
9495 fi
9496 else
9497 # not using gcc
9498 if test "$host_cpu" = ia64; then
9499 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9500 # chokes on -Wl,-G. The following line is correct:
9501 shared_flag='-G'
9502 else
9503 if test "$aix_use_runtimelinking" = yes; then
9504 shared_flag='${wl}-G'
9505 else
9506 shared_flag='${wl}-bM:SRE'
9507 fi
9508 fi
9509 fi
9510
9511 export_dynamic_flag_spec='${wl}-bexpall'
9512 # It seems that -bexpall does not export symbols beginning with
9513 # underscore (_), so it is better to generate a list of symbols to export.
9514 always_export_symbols=yes
9515 if test "$aix_use_runtimelinking" = yes; then
9516 # Warning - without using the other runtime loading flags (-brtl),
9517 # -berok will link without error, but may produce a broken library.
9518 allow_undefined_flag='-berok'
9519 # Determine the default libpath from the value encoded in an
9520 # empty executable.
9521 if test x$gcc_no_link = xyes; then
9522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9523 fi
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526
9527 int
9528 main ()
9529 {
9530
9531 ;
9532 return 0;
9533 }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536
9537 lt_aix_libpath_sed='
9538 /Import File Strings/,/^$/ {
9539 /^0/ {
9540 s/^0 *\(.*\)$/\1/
9541 p
9542 }
9543 }'
9544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 # Check for a 64-bit object if we didn't find anything.
9546 if test -z "$aix_libpath"; then
9547 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9548 fi
9549 fi
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9553
9554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 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"
9556 else
9557 if test "$host_cpu" = ia64; then
9558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559 allow_undefined_flag="-z nodefs"
9560 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"
9561 else
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9566 fi
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569
9570 int
9571 main ()
9572 {
9573
9574 ;
9575 return 0;
9576 }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9584 p
9585 }
9586 }'
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 fi
9592 fi
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9596
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 # Warning - without using the other run time loading flags,
9599 # -berok will link without error, but may produce a broken library.
9600 no_undefined_flag=' ${wl}-bernotok'
9601 allow_undefined_flag=' ${wl}-berok'
9602 if test "$with_gnu_ld" = yes; then
9603 # We only use this code for GNU lds that support --whole-archive.
9604 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605 else
9606 # Exported symbols can be pulled into shared objects from archives
9607 whole_archive_flag_spec='$convenience'
9608 fi
9609 archive_cmds_need_lc=yes
9610 # This is similar to how AIX traditionally builds its shared libraries.
9611 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'
9612 fi
9613 fi
9614 ;;
9615
9616 amigaos*)
9617 case $host_cpu in
9618 powerpc)
9619 # see comment about AmigaOS4 .so support
9620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621 archive_expsym_cmds=''
9622 ;;
9623 m68k)
9624 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)'
9625 hardcode_libdir_flag_spec='-L$libdir'
9626 hardcode_minus_L=yes
9627 ;;
9628 esac
9629 ;;
9630
9631 bsdi[45]*)
9632 export_dynamic_flag_spec=-rdynamic
9633 ;;
9634
9635 cygwin* | mingw* | pw32* | cegcc*)
9636 # When not using gcc, we currently assume that we are using
9637 # Microsoft Visual C++.
9638 # hardcode_libdir_flag_spec is actually meaningless, as there is
9639 # no search path for DLLs.
9640 hardcode_libdir_flag_spec=' '
9641 allow_undefined_flag=unsupported
9642 # Tell ltmain to make .lib files, not .a files.
9643 libext=lib
9644 # Tell ltmain to make .dll files, not .so files.
9645 shrext_cmds=".dll"
9646 # FIXME: Setting linknames here is a bad hack.
9647 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648 # The linker will automatically build a .lib file if we build a DLL.
9649 old_archive_from_new_cmds='true'
9650 # FIXME: Should let the user specify the lib program.
9651 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652 fix_srcfile_path='`cygpath -w "$srcfile"`'
9653 enable_shared_with_static_runtimes=yes
9654 ;;
9655
9656 darwin* | rhapsody*)
9657
9658
9659 archive_cmds_need_lc=no
9660 hardcode_direct=no
9661 hardcode_automatic=yes
9662 hardcode_shlibpath_var=unsupported
9663 if test "$lt_cv_ld_force_load" = "yes"; then
9664 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\"`'
9665 else
9666 whole_archive_flag_spec=''
9667 fi
9668 link_all_deplibs=yes
9669 allow_undefined_flag="$_lt_dar_allow_undefined"
9670 case $cc_basename in
9671 ifort*) _lt_dar_can_shared=yes ;;
9672 *) _lt_dar_can_shared=$GCC ;;
9673 esac
9674 if test "$_lt_dar_can_shared" = "yes"; then
9675 output_verbose_link_cmd=func_echo_all
9676 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9677 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9678 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}"
9679 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}"
9680
9681 else
9682 ld_shlibs=no
9683 fi
9684
9685 ;;
9686
9687 dgux*)
9688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec='-L$libdir'
9690 hardcode_shlibpath_var=no
9691 ;;
9692
9693 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9694 # support. Future versions do this automatically, but an explicit c++rt0.o
9695 # does not break anything, and helps significantly (at the cost of a little
9696 # extra space).
9697 freebsd2.2*)
9698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9699 hardcode_libdir_flag_spec='-R$libdir'
9700 hardcode_direct=yes
9701 hardcode_shlibpath_var=no
9702 ;;
9703
9704 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9705 freebsd2*)
9706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_direct=yes
9708 hardcode_minus_L=yes
9709 hardcode_shlibpath_var=no
9710 ;;
9711
9712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9713 freebsd* | dragonfly*)
9714 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9715 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_direct=yes
9717 hardcode_shlibpath_var=no
9718 ;;
9719
9720 hpux9*)
9721 if test "$GCC" = yes; then
9722 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'
9723 else
9724 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'
9725 fi
9726 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9727 hardcode_libdir_separator=:
9728 hardcode_direct=yes
9729
9730 # hardcode_minus_L: Not really in the search PATH,
9731 # but as the default location of the library.
9732 hardcode_minus_L=yes
9733 export_dynamic_flag_spec='${wl}-E'
9734 ;;
9735
9736 hpux10*)
9737 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 else
9740 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9741 fi
9742 if test "$with_gnu_ld" = no; then
9743 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9744 hardcode_libdir_flag_spec_ld='+b $libdir'
9745 hardcode_libdir_separator=:
9746 hardcode_direct=yes
9747 hardcode_direct_absolute=yes
9748 export_dynamic_flag_spec='${wl}-E'
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L=yes
9752 fi
9753 ;;
9754
9755 hpux11*)
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757 case $host_cpu in
9758 hppa*64*)
9759 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 ;;
9761 ia64*)
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763 ;;
9764 *)
9765 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9766 ;;
9767 esac
9768 else
9769 case $host_cpu in
9770 hppa*64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772 ;;
9773 ia64*)
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775 ;;
9776 *)
9777
9778 # Older versions of the 11.00 compiler do not understand -b yet
9779 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9781 $as_echo_n "checking if $CC understands -b... " >&6; }
9782 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 lt_cv_prog_compiler__b=no
9786 save_LDFLAGS="$LDFLAGS"
9787 LDFLAGS="$LDFLAGS -b"
9788 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9789 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9790 # The linker can only warn and ignore the option if not recognized
9791 # So say no if there are warnings
9792 if test -s conftest.err; then
9793 # Append any errors to the config.log.
9794 cat conftest.err 1>&5
9795 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9796 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9797 if diff conftest.exp conftest.er2 >/dev/null; then
9798 lt_cv_prog_compiler__b=yes
9799 fi
9800 else
9801 lt_cv_prog_compiler__b=yes
9802 fi
9803 fi
9804 $RM -r conftest*
9805 LDFLAGS="$save_LDFLAGS"
9806
9807 fi
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9809 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9810
9811 if test x"$lt_cv_prog_compiler__b" = xyes; then
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813 else
9814 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9815 fi
9816
9817 ;;
9818 esac
9819 fi
9820 if test "$with_gnu_ld" = no; then
9821 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9822 hardcode_libdir_separator=:
9823
9824 case $host_cpu in
9825 hppa*64*|ia64*)
9826 hardcode_direct=no
9827 hardcode_shlibpath_var=no
9828 ;;
9829 *)
9830 hardcode_direct=yes
9831 hardcode_direct_absolute=yes
9832 export_dynamic_flag_spec='${wl}-E'
9833
9834 # hardcode_minus_L: Not really in the search PATH,
9835 # but as the default location of the library.
9836 hardcode_minus_L=yes
9837 ;;
9838 esac
9839 fi
9840 ;;
9841
9842 irix5* | irix6* | nonstopux*)
9843 if test "$GCC" = yes; then
9844 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'
9845 # Try to use the -exported_symbol ld option, if it does not
9846 # work, assume that -exports_file does not work either and
9847 # implicitly export all symbols.
9848 save_LDFLAGS="$LDFLAGS"
9849 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850 if test x$gcc_no_link = xyes; then
9851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9852 fi
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int foo(void) {}
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 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'
9859
9860 fi
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS="$save_LDFLAGS"
9864 else
9865 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'
9866 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'
9867 fi
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9871 inherit_rpath=yes
9872 link_all_deplibs=yes
9873 ;;
9874
9875 netbsd*)
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9878 else
9879 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9880 fi
9881 hardcode_libdir_flag_spec='-R$libdir'
9882 hardcode_direct=yes
9883 hardcode_shlibpath_var=no
9884 ;;
9885
9886 newsos6)
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_direct=yes
9889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator=:
9891 hardcode_shlibpath_var=no
9892 ;;
9893
9894 *nto* | *qnx*)
9895 ;;
9896
9897 openbsd*)
9898 if test -f /usr/libexec/ld.so; then
9899 hardcode_direct=yes
9900 hardcode_shlibpath_var=no
9901 hardcode_direct_absolute=yes
9902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec='${wl}-E'
9907 else
9908 case $host_os in
9909 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9912 ;;
9913 *)
9914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9916 ;;
9917 esac
9918 fi
9919 else
9920 ld_shlibs=no
9921 fi
9922 ;;
9923
9924 os2*)
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_minus_L=yes
9927 allow_undefined_flag=unsupported
9928 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'
9929 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9930 ;;
9931
9932 osf3*)
9933 if test "$GCC" = yes; then
9934 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935 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'
9936 else
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 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'
9939 fi
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942 hardcode_libdir_separator=:
9943 ;;
9944
9945 osf4* | osf5*) # as osf3* with the addition of -msym flag
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 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'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950 else
9951 allow_undefined_flag=' -expect_unresolved \*'
9952 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'
9953 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~
9954 $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'
9955
9956 # Both c and cxx compiler support -rpath directly
9957 hardcode_libdir_flag_spec='-rpath $libdir'
9958 fi
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_separator=:
9961 ;;
9962
9963 solaris*)
9964 no_undefined_flag=' -z defs'
9965 if test "$GCC" = yes; then
9966 wlarc='${wl}'
9967 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9970 else
9971 case `$CC -V 2>&1` in
9972 *"Compilers 5.0"*)
9973 wlarc=''
9974 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9977 ;;
9978 *)
9979 wlarc='${wl}'
9980 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9983 ;;
9984 esac
9985 fi
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_shlibpath_var=no
9988 case $host_os in
9989 solaris2.[0-5] | solaris2.[0-5].*) ;;
9990 *)
9991 # The compiler driver will combine and reorder linker options,
9992 # but understands `-z linker_flag'. GCC discards it without `$wl',
9993 # but is careful enough not to reorder.
9994 # Supported since Solaris 2.6 (maybe 2.5.1?)
9995 if test "$GCC" = yes; then
9996 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9997 else
9998 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9999 fi
10000 ;;
10001 esac
10002 link_all_deplibs=yes
10003 ;;
10004
10005 sunos4*)
10006 if test "x$host_vendor" = xsequent; then
10007 # Use $CC to link under sequent, because it throws in some extra .o
10008 # files that make .init and .fini sections work.
10009 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10010 else
10011 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10012 fi
10013 hardcode_libdir_flag_spec='-L$libdir'
10014 hardcode_direct=yes
10015 hardcode_minus_L=yes
10016 hardcode_shlibpath_var=no
10017 ;;
10018
10019 sysv4)
10020 case $host_vendor in
10021 sni)
10022 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct=yes # is this really true???
10024 ;;
10025 siemens)
10026 ## LD is ld it makes a PLAMLIB
10027 ## CC just makes a GrossModule.
10028 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029 reload_cmds='$CC -r -o $output$reload_objs'
10030 hardcode_direct=no
10031 ;;
10032 motorola)
10033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10035 ;;
10036 esac
10037 runpath_var='LD_RUN_PATH'
10038 hardcode_shlibpath_var=no
10039 ;;
10040
10041 sysv4.3*)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_shlibpath_var=no
10044 export_dynamic_flag_spec='-Bexport'
10045 ;;
10046
10047 sysv4*MP*)
10048 if test -d /usr/nec; then
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var=no
10051 runpath_var=LD_RUN_PATH
10052 hardcode_runpath_var=yes
10053 ld_shlibs=yes
10054 fi
10055 ;;
10056
10057 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10058 no_undefined_flag='${wl}-z,text'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 runpath_var='LD_RUN_PATH'
10062
10063 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 else
10067 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 fi
10070 ;;
10071
10072 sysv5* | sco3.2v5* | sco5v6*)
10073 # Note: We can NOT use -z defs as we might desire, because we do not
10074 # link with -lc, and that would cause any symbols used from libc to
10075 # always be unresolved, which means just about no library would
10076 # ever link correctly. If we're not using GNU ld we use -z text
10077 # though, which does catch some bad symbols but isn't as heavy-handed
10078 # as -z defs.
10079 no_undefined_flag='${wl}-z,text'
10080 allow_undefined_flag='${wl}-z,nodefs'
10081 archive_cmds_need_lc=no
10082 hardcode_shlibpath_var=no
10083 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10084 hardcode_libdir_separator=':'
10085 link_all_deplibs=yes
10086 export_dynamic_flag_spec='${wl}-Bexport'
10087 runpath_var='LD_RUN_PATH'
10088
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 else
10093 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 fi
10096 ;;
10097
10098 uts4*)
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec='-L$libdir'
10101 hardcode_shlibpath_var=no
10102 ;;
10103
10104 *)
10105 ld_shlibs=no
10106 ;;
10107 esac
10108
10109 if test x$host_vendor = xsni; then
10110 case $host in
10111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10112 export_dynamic_flag_spec='${wl}-Blargedynsym'
10113 ;;
10114 esac
10115 fi
10116 fi
10117
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no && can_build_shared=no
10121
10122 with_gnu_ld=$with_gnu_ld
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138 #
10139 # Do we need to explicitly link libc?
10140 #
10141 case "x$archive_cmds_need_lc" in
10142 x|xyes)
10143 # Assume -lc should be added
10144 archive_cmds_need_lc=yes
10145
10146 if test "$enable_shared" = yes && test "$GCC" = yes; then
10147 case $archive_cmds in
10148 *'~'*)
10149 # FIXME: we may have to deal with multi-command sequences.
10150 ;;
10151 '$CC '*)
10152 # Test whether the compiler implicitly links with -lc since on some
10153 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154 # to ld, don't add -lc before -lgcc.
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10157 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 $RM conftest*
10161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10162
10163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164 (eval $ac_compile) 2>&5
10165 ac_status=$?
10166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167 test $ac_status = 0; } 2>conftest.err; then
10168 soname=conftest
10169 lib=conftest
10170 libobjs=conftest.$ac_objext
10171 deplibs=
10172 wl=$lt_prog_compiler_wl
10173 pic_flag=$lt_prog_compiler_pic
10174 compiler_flags=-v
10175 linker_flags=-v
10176 verstring=
10177 output_objdir=.
10178 libname=conftest
10179 lt_save_allow_undefined_flag=$allow_undefined_flag
10180 allow_undefined_flag=
10181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10183 ac_status=$?
10184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185 test $ac_status = 0; }
10186 then
10187 lt_cv_archive_cmds_need_lc=no
10188 else
10189 lt_cv_archive_cmds_need_lc=yes
10190 fi
10191 allow_undefined_flag=$lt_save_allow_undefined_flag
10192 else
10193 cat conftest.err 1>&5
10194 fi
10195 $RM conftest*
10196
10197 fi
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10199 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10200 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10201 ;;
10202 esac
10203 fi
10204 ;;
10205 esac
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10365
10366 if test "$GCC" = yes; then
10367 case $host_os in
10368 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10369 *) lt_awk_arg="/^libraries:/" ;;
10370 esac
10371 case $host_os in
10372 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10373 *) lt_sed_strip_eq="s,=/,/,g" ;;
10374 esac
10375 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10376 case $lt_search_path_spec in
10377 *\;*)
10378 # if the path contains ";" then we assume it to be the separator
10379 # otherwise default to the standard path separator (i.e. ":") - it is
10380 # assumed that no part of a normal pathname contains ";" but that should
10381 # okay in the real world where ";" in dirpaths is itself problematic.
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10383 ;;
10384 *)
10385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10386 ;;
10387 esac
10388 # Ok, now we have the path, separated by spaces, we can step through it
10389 # and add multilib dir if necessary.
10390 lt_tmp_lt_search_path_spec=
10391 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392 for lt_sys_path in $lt_search_path_spec; do
10393 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10395 else
10396 test -d "$lt_sys_path" && \
10397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10398 fi
10399 done
10400 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10402 lt_foo="";
10403 lt_count=0;
10404 for (lt_i = NF; lt_i > 0; lt_i--) {
10405 if ($lt_i != "" && $lt_i != ".") {
10406 if ($lt_i == "..") {
10407 lt_count++;
10408 } else {
10409 if (lt_count == 0) {
10410 lt_foo="/" $lt_i lt_foo;
10411 } else {
10412 lt_count--;
10413 }
10414 }
10415 }
10416 }
10417 if (lt_foo != "") { lt_freq[lt_foo]++; }
10418 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10419 }'`
10420 # AWK program above erroneously prepends '/' to C:/dos/paths
10421 # for these hosts.
10422 case $host_os in
10423 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10424 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10425 esac
10426 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10427 else
10428 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10429 fi
10430 library_names_spec=
10431 libname_spec='lib$name'
10432 soname_spec=
10433 shrext_cmds=".so"
10434 postinstall_cmds=
10435 postuninstall_cmds=
10436 finish_cmds=
10437 finish_eval=
10438 shlibpath_var=
10439 shlibpath_overrides_runpath=unknown
10440 version_type=none
10441 dynamic_linker="$host_os ld.so"
10442 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10443 need_lib_prefix=unknown
10444 hardcode_into_libs=no
10445
10446 # when you set need_version to no, make sure it does not cause -set_version
10447 # flags to be left without arguments
10448 need_version=unknown
10449
10450 case $host_os in
10451 aix3*)
10452 version_type=linux
10453 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10454 shlibpath_var=LIBPATH
10455
10456 # AIX 3 has no versioning support, so we append a major version to the name.
10457 soname_spec='${libname}${release}${shared_ext}$major'
10458 ;;
10459
10460 aix[4-9]*)
10461 version_type=linux
10462 need_lib_prefix=no
10463 need_version=no
10464 hardcode_into_libs=yes
10465 if test "$host_cpu" = ia64; then
10466 # AIX 5 supports IA64
10467 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10468 shlibpath_var=LD_LIBRARY_PATH
10469 else
10470 # With GCC up to 2.95.x, collect2 would create an import file
10471 # for dependence libraries. The import file would start with
10472 # the line `#! .'. This would cause the generated library to
10473 # depend on `.', always an invalid library. This was fixed in
10474 # development snapshots of GCC prior to 3.0.
10475 case $host_os in
10476 aix4 | aix4.[01] | aix4.[01].*)
10477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10478 echo ' yes '
10479 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10480 :
10481 else
10482 can_build_shared=no
10483 fi
10484 ;;
10485 esac
10486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10487 # soname into executable. Probably we can add versioning support to
10488 # collect2, so additional links can be useful in future.
10489 if test "$aix_use_runtimelinking" = yes; then
10490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491 # instead of lib<name>.a to let people know that these are not
10492 # typical AIX shared libraries.
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 else
10495 # We preserve .a as extension for shared libraries through AIX4.2
10496 # and later when we are not doing run time linking.
10497 library_names_spec='${libname}${release}.a $libname.a'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10499 fi
10500 shlibpath_var=LIBPATH
10501 fi
10502 ;;
10503
10504 amigaos*)
10505 case $host_cpu in
10506 powerpc)
10507 # Since July 2007 AmigaOS4 officially supports .so libraries.
10508 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 ;;
10511 m68k)
10512 library_names_spec='$libname.ixlibrary $libname.a'
10513 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10514 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'
10515 ;;
10516 esac
10517 ;;
10518
10519 beos*)
10520 library_names_spec='${libname}${shared_ext}'
10521 dynamic_linker="$host_os ld.so"
10522 shlibpath_var=LIBRARY_PATH
10523 ;;
10524
10525 bsdi[45]*)
10526 version_type=linux
10527 need_version=no
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10533 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10534 # the default ld.so.conf also contains /usr/contrib/lib and
10535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10536 # libtool to hard-code these into programs
10537 ;;
10538
10539 cygwin* | mingw* | pw32* | cegcc*)
10540 version_type=windows
10541 shrext_cmds=".dll"
10542 need_version=no
10543 need_lib_prefix=no
10544
10545 case $GCC,$host_os in
10546 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10547 library_names_spec='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds='base_file=`basename \${file}`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10557 fi'
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10560 $RM \$dlpath'
10561 shlibpath_overrides_runpath=yes
10562
10563 case $host_os in
10564 cygwin*)
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567
10568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10569 ;;
10570 mingw* | cegcc*)
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573 ;;
10574 pw32*)
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577 ;;
10578 esac
10579 ;;
10580
10581 *)
10582 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10583 ;;
10584 esac
10585 dynamic_linker='Win32 ld.exe'
10586 # FIXME: first we should search . and the directory the executable is in
10587 shlibpath_var=PATH
10588 ;;
10589
10590 darwin* | rhapsody*)
10591 dynamic_linker="$host_os dyld"
10592 version_type=darwin
10593 need_lib_prefix=no
10594 need_version=no
10595 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10596 soname_spec='${libname}${release}${major}$shared_ext'
10597 shlibpath_overrides_runpath=yes
10598 shlibpath_var=DYLD_LIBRARY_PATH
10599 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10600
10601 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10602 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10603 ;;
10604
10605 dgux*)
10606 version_type=linux
10607 need_lib_prefix=no
10608 need_version=no
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10612 ;;
10613
10614 freebsd* | dragonfly*)
10615 # DragonFly does not have aout. When/if they implement a new
10616 # versioning mechanism, adjust this.
10617 if test -x /usr/bin/objformat; then
10618 objformat=`/usr/bin/objformat`
10619 else
10620 case $host_os in
10621 freebsd[123]*) objformat=aout ;;
10622 *) objformat=elf ;;
10623 esac
10624 fi
10625 version_type=freebsd-$objformat
10626 case $version_type in
10627 freebsd-elf*)
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 need_version=no
10630 need_lib_prefix=no
10631 ;;
10632 freebsd-*)
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10634 need_version=yes
10635 ;;
10636 esac
10637 shlibpath_var=LD_LIBRARY_PATH
10638 case $host_os in
10639 freebsd2*)
10640 shlibpath_overrides_runpath=yes
10641 ;;
10642 freebsd3.[01]* | freebsdelf3.[01]*)
10643 shlibpath_overrides_runpath=yes
10644 hardcode_into_libs=yes
10645 ;;
10646 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10647 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10648 shlibpath_overrides_runpath=no
10649 hardcode_into_libs=yes
10650 ;;
10651 *) # from 4.6 on, and DragonFly
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10654 ;;
10655 esac
10656 ;;
10657
10658 gnu*)
10659 version_type=linux
10660 need_lib_prefix=no
10661 need_version=no
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 shlibpath_var=LD_LIBRARY_PATH
10665 hardcode_into_libs=yes
10666 ;;
10667
10668 haiku*)
10669 version_type=linux
10670 need_lib_prefix=no
10671 need_version=no
10672 dynamic_linker="$host_os runtime_loader"
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes
10677 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10678 hardcode_into_libs=yes
10679 ;;
10680
10681 hpux9* | hpux10* | hpux11*)
10682 # Give a soname corresponding to the major version so that dld.sl refuses to
10683 # link against other versions.
10684 version_type=sunos
10685 need_lib_prefix=no
10686 need_version=no
10687 case $host_cpu in
10688 ia64*)
10689 shrext_cmds='.so'
10690 hardcode_into_libs=yes
10691 dynamic_linker="$host_os dld.so"
10692 shlibpath_var=LD_LIBRARY_PATH
10693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 if test "X$HPUX_IA64_MODE" = X32; then
10697 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10698 else
10699 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10700 fi
10701 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10702 ;;
10703 hppa*64*)
10704 shrext_cmds='.sl'
10705 hardcode_into_libs=yes
10706 dynamic_linker="$host_os dld.sl"
10707 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10708 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10713 ;;
10714 *)
10715 shrext_cmds='.sl'
10716 dynamic_linker="$host_os dld.sl"
10717 shlibpath_var=SHLIB_PATH
10718 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 ;;
10722 esac
10723 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10724 postinstall_cmds='chmod 555 $lib'
10725 # or fails outright, so override atomically:
10726 install_override_mode=555
10727 ;;
10728
10729 interix[3-9]*)
10730 version_type=linux
10731 need_lib_prefix=no
10732 need_version=no
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10738 hardcode_into_libs=yes
10739 ;;
10740
10741 irix5* | irix6* | nonstopux*)
10742 case $host_os in
10743 nonstopux*) version_type=nonstopux ;;
10744 *)
10745 if test "$lt_cv_prog_gnu_ld" = yes; then
10746 version_type=linux
10747 else
10748 version_type=irix
10749 fi ;;
10750 esac
10751 need_lib_prefix=no
10752 need_version=no
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10755 case $host_os in
10756 irix5* | nonstopux*)
10757 libsuff= shlibsuff=
10758 ;;
10759 *)
10760 case $LD in # libtool.m4 will add one of these switches to LD
10761 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10762 libsuff= shlibsuff= libmagic=32-bit;;
10763 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10764 libsuff=32 shlibsuff=N32 libmagic=N32;;
10765 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10766 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10767 *) libsuff= shlibsuff= libmagic=never-match;;
10768 esac
10769 ;;
10770 esac
10771 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10772 shlibpath_overrides_runpath=no
10773 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10774 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10775 hardcode_into_libs=yes
10776 ;;
10777
10778 # No shared lib support for Linux oldld, aout, or coff.
10779 linux*oldld* | linux*aout* | linux*coff*)
10780 dynamic_linker=no
10781 ;;
10782
10783 # This must be Linux ELF.
10784 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10785 version_type=linux
10786 need_lib_prefix=no
10787 need_version=no
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=no
10793
10794 # Some binutils ld are patched to set DT_RUNPATH
10795 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 lt_cv_shlibpath_overrides_runpath=no
10799 save_LDFLAGS=$LDFLAGS
10800 save_libdir=$libdir
10801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10803 if test x$gcc_no_link = xyes; then
10804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10805 fi
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808
10809 int
10810 main ()
10811 {
10812
10813 ;
10814 return 0;
10815 }
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10819 lt_cv_shlibpath_overrides_runpath=yes
10820 fi
10821 fi
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LDFLAGS=$save_LDFLAGS
10825 libdir=$save_libdir
10826
10827 fi
10828
10829 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10830
10831 # This implies no fast_install, which is unacceptable.
10832 # Some rework will be needed to allow for fast_install
10833 # before this can be enabled.
10834 hardcode_into_libs=yes
10835
10836 # Append ld.so.conf contents to the search path
10837 if test -f /etc/ld.so.conf; then
10838 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' ' '`
10839 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10840 fi
10841
10842 # We used to test for /lib/ld.so.1 and disable shared libraries on
10843 # powerpc, because MkLinux only supported shared libraries with the
10844 # GNU dynamic linker. Since this was broken with cross compilers,
10845 # most powerpc-linux boxes support dynamic linking these days and
10846 # people can always --disable-shared, the test was removed, and we
10847 # assume the GNU/Linux dynamic linker is in use.
10848 dynamic_linker='GNU/Linux ld.so'
10849 ;;
10850
10851 netbsd*)
10852 version_type=sunos
10853 need_lib_prefix=no
10854 need_version=no
10855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10858 dynamic_linker='NetBSD (a.out) ld.so'
10859 else
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 dynamic_linker='NetBSD ld.elf_so'
10863 fi
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10866 hardcode_into_libs=yes
10867 ;;
10868
10869 newsos6)
10870 version_type=linux
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 shlibpath_var=LD_LIBRARY_PATH
10873 shlibpath_overrides_runpath=yes
10874 ;;
10875
10876 *nto* | *qnx*)
10877 version_type=qnx
10878 need_lib_prefix=no
10879 need_version=no
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=no
10884 hardcode_into_libs=yes
10885 dynamic_linker='ldqnx.so'
10886 ;;
10887
10888 openbsd*)
10889 version_type=sunos
10890 sys_lib_dlsearch_path_spec="/usr/lib"
10891 need_lib_prefix=no
10892 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10893 case $host_os in
10894 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10895 *) need_version=no ;;
10896 esac
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10901 case $host_os in
10902 openbsd2.[89] | openbsd2.[89].*)
10903 shlibpath_overrides_runpath=no
10904 ;;
10905 *)
10906 shlibpath_overrides_runpath=yes
10907 ;;
10908 esac
10909 else
10910 shlibpath_overrides_runpath=yes
10911 fi
10912 ;;
10913
10914 os2*)
10915 libname_spec='$name'
10916 shrext_cmds=".dll"
10917 need_lib_prefix=no
10918 library_names_spec='$libname${shared_ext} $libname.a'
10919 dynamic_linker='OS/2 ld.exe'
10920 shlibpath_var=LIBPATH
10921 ;;
10922
10923 osf3* | osf4* | osf5*)
10924 version_type=osf
10925 need_lib_prefix=no
10926 need_version=no
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10931 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10932 ;;
10933
10934 rdos*)
10935 dynamic_linker=no
10936 ;;
10937
10938 solaris*)
10939 version_type=linux
10940 need_lib_prefix=no
10941 need_version=no
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath=yes
10946 hardcode_into_libs=yes
10947 # ldd complains unless libraries are executable
10948 postinstall_cmds='chmod +x $lib'
10949 ;;
10950
10951 sunos4*)
10952 version_type=sunos
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 if test "$with_gnu_ld" = yes; then
10958 need_lib_prefix=no
10959 fi
10960 need_version=yes
10961 ;;
10962
10963 sysv4 | sysv4.3*)
10964 version_type=linux
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 case $host_vendor in
10969 sni)
10970 shlibpath_overrides_runpath=no
10971 need_lib_prefix=no
10972 runpath_var=LD_RUN_PATH
10973 ;;
10974 siemens)
10975 need_lib_prefix=no
10976 ;;
10977 motorola)
10978 need_lib_prefix=no
10979 need_version=no
10980 shlibpath_overrides_runpath=no
10981 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10982 ;;
10983 esac
10984 ;;
10985
10986 sysv4*MP*)
10987 if test -d /usr/nec ;then
10988 version_type=linux
10989 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10990 soname_spec='$libname${shared_ext}.$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 fi
10993 ;;
10994
10995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10996 version_type=freebsd-elf
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=yes
11003 hardcode_into_libs=yes
11004 if test "$with_gnu_ld" = yes; then
11005 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11006 else
11007 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11008 case $host_os in
11009 sco3.2v5*)
11010 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11011 ;;
11012 esac
11013 fi
11014 sys_lib_dlsearch_path_spec='/usr/lib'
11015 ;;
11016
11017 tpf*)
11018 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11019 version_type=linux
11020 need_lib_prefix=no
11021 need_version=no
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=no
11025 hardcode_into_libs=yes
11026 ;;
11027
11028 uts4*)
11029 version_type=linux
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 ;;
11034
11035 *)
11036 dynamic_linker=no
11037 ;;
11038 esac
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11040 $as_echo "$dynamic_linker" >&6; }
11041 test "$dynamic_linker" = no && can_build_shared=no
11042
11043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11044 if test "$GCC" = yes; then
11045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11046 fi
11047
11048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11049 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11050 fi
11051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11052 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11053 fi
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11148 hardcode_action=
11149 if test -n "$hardcode_libdir_flag_spec" ||
11150 test -n "$runpath_var" ||
11151 test "X$hardcode_automatic" = "Xyes" ; then
11152
11153 # We can hardcode non-existent directories.
11154 if test "$hardcode_direct" != no &&
11155 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11156 # have to relink, otherwise we might link with an installed library
11157 # when we should be linking with a yet-to-be-installed one
11158 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11159 test "$hardcode_minus_L" != no; then
11160 # Linking always hardcodes the temporary library directory.
11161 hardcode_action=relink
11162 else
11163 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11164 hardcode_action=immediate
11165 fi
11166 else
11167 # We cannot hardcode anything, or else we can only hardcode existing
11168 # directories.
11169 hardcode_action=unsupported
11170 fi
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11172 $as_echo "$hardcode_action" >&6; }
11173
11174 if test "$hardcode_action" = relink ||
11175 test "$inherit_rpath" = yes; then
11176 # Fast installation is not supported
11177 enable_fast_install=no
11178 elif test "$shlibpath_overrides_runpath" = yes ||
11179 test "$enable_shared" = no; then
11180 # Fast installation is not necessary
11181 enable_fast_install=needless
11182 fi
11183
11184
11185
11186
11187
11188
11189 if test "x$enable_dlopen" != xyes; then
11190 enable_dlopen=unknown
11191 enable_dlopen_self=unknown
11192 enable_dlopen_self_static=unknown
11193 else
11194 lt_cv_dlopen=no
11195 lt_cv_dlopen_libs=
11196
11197 case $host_os in
11198 beos*)
11199 lt_cv_dlopen="load_add_on"
11200 lt_cv_dlopen_libs=
11201 lt_cv_dlopen_self=yes
11202 ;;
11203
11204 mingw* | pw32* | cegcc*)
11205 lt_cv_dlopen="LoadLibrary"
11206 lt_cv_dlopen_libs=
11207 ;;
11208
11209 cygwin*)
11210 lt_cv_dlopen="dlopen"
11211 lt_cv_dlopen_libs=
11212 ;;
11213
11214 darwin*)
11215 # if libdl is installed we need to link against it
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-ldl $LIBS"
11223 if test x$gcc_no_link = xyes; then
11224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11225 fi
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11228
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dlopen ();
11236 int
11237 main ()
11238 {
11239 return dlopen ();
11240 ;
11241 return 0;
11242 }
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dl_dlopen=yes
11246 else
11247 ac_cv_lib_dl_dlopen=no
11248 fi
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11252 fi
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 else
11258
11259 lt_cv_dlopen="dyld"
11260 lt_cv_dlopen_libs=
11261 lt_cv_dlopen_self=yes
11262
11263 fi
11264
11265 ;;
11266
11267 *)
11268 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11269 if test "x$ac_cv_func_shl_load" = x""yes; then :
11270 lt_cv_dlopen="shl_load"
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11273 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11281 fi
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11284
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char shl_load ();
11292 int
11293 main ()
11294 {
11295 return shl_load ();
11296 ;
11297 return 0;
11298 }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_shl_load=yes
11302 else
11303 ac_cv_lib_dld_shl_load=no
11304 fi
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11308 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11313 else
11314 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315 if test "x$ac_cv_func_dlopen" = x""yes; then :
11316 lt_cv_dlopen="dlopen"
11317 else
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-ldl $LIBS"
11325 if test x$gcc_no_link = xyes; then
11326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11327 fi
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11330
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char dlopen ();
11338 int
11339 main ()
11340 {
11341 return dlopen ();
11342 ;
11343 return 0;
11344 }
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_dl_dlopen=yes
11348 else
11349 ac_cv_lib_dl_dlopen=no
11350 fi
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11354 fi
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11357 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11359 else
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11362 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lsvld $LIBS"
11367 if test x$gcc_no_link = xyes; then
11368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11369 fi
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dlopen ();
11380 int
11381 main ()
11382 {
11383 return dlopen ();
11384 ;
11385 return 0;
11386 }
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_svld_dlopen=yes
11390 else
11391 ac_cv_lib_svld_dlopen=no
11392 fi
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11396 fi
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11401 else
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-ldld $LIBS"
11409 if test x$gcc_no_link = xyes; then
11410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11411 fi
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dld_link ();
11422 int
11423 main ()
11424 {
11425 return dld_link ();
11426 ;
11427 return 0;
11428 }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_dld_dld_link=yes
11432 else
11433 ac_cv_lib_dld_dld_link=no
11434 fi
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11438 fi
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11442 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11443 fi
11444
11445
11446 fi
11447
11448
11449 fi
11450
11451
11452 fi
11453
11454
11455 fi
11456
11457
11458 fi
11459
11460 ;;
11461 esac
11462
11463 if test "x$lt_cv_dlopen" != xno; then
11464 enable_dlopen=yes
11465 else
11466 enable_dlopen=no
11467 fi
11468
11469 case $lt_cv_dlopen in
11470 dlopen)
11471 save_CPPFLAGS="$CPPFLAGS"
11472 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11473
11474 save_LDFLAGS="$LDFLAGS"
11475 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11476
11477 save_LIBS="$LIBS"
11478 LIBS="$lt_cv_dlopen_libs $LIBS"
11479
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if test "${lt_cv_dlopen_self+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self=cross
11487 else
11488 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489 lt_status=$lt_dlunknown
11490 cat > conftest.$ac_ext <<_LT_EOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11493
11494 #if HAVE_DLFCN_H
11495 #include <dlfcn.h>
11496 #endif
11497
11498 #include <stdio.h>
11499
11500 #ifdef RTLD_GLOBAL
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11502 #else
11503 # ifdef DL_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11505 # else
11506 # define LT_DLGLOBAL 0
11507 # endif
11508 #endif
11509
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11513 # ifdef RTLD_LAZY
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # else
11516 # ifdef DL_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # else
11519 # ifdef RTLD_NOW
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # else
11522 # ifdef DL_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11524 # else
11525 # define LT_DLLAZY_OR_NOW 0
11526 # endif
11527 # endif
11528 # endif
11529 # endif
11530 #endif
11531
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 void fnord () __attribute__((visibility("default")));
11536 #endif
11537
11538 void fnord () { int i=42; }
11539 int main ()
11540 {
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11543
11544 if (self)
11545 {
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 else
11548 {
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11551 }
11552 /* dlclose (self); */
11553 }
11554 else
11555 puts (dlerror ());
11556
11557 return status;
11558 }
11559 _LT_EOF
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11562 ac_status=$?
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565 (./conftest; exit; ) >&5 2>/dev/null
11566 lt_status=$?
11567 case x$lt_status in
11568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11571 esac
11572 else :
11573 # compilation failed
11574 lt_cv_dlopen_self=no
11575 fi
11576 fi
11577 rm -fr conftest*
11578
11579
11580 fi
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11583
11584 if test "x$lt_cv_dlopen_self" = xyes; then
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self_static=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11637
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11643
11644 void fnord () { int i=42; }
11645 int main ()
11646 {
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11649
11650 if (self)
11651 {
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11654 {
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11657 }
11658 /* dlclose (self); */
11659 }
11660 else
11661 puts (dlerror ());
11662
11663 return status;
11664 }
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self_static=no
11681 fi
11682 fi
11683 rm -fr conftest*
11684
11685
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11689 fi
11690
11691 CPPFLAGS="$save_CPPFLAGS"
11692 LDFLAGS="$save_LDFLAGS"
11693 LIBS="$save_LIBS"
11694 ;;
11695 esac
11696
11697 case $lt_cv_dlopen_self in
11698 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699 *) enable_dlopen_self=unknown ;;
11700 esac
11701
11702 case $lt_cv_dlopen_self_static in
11703 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704 *) enable_dlopen_self_static=unknown ;;
11705 esac
11706 fi
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724 striplib=
11725 old_striplib=
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11733 else
11734 # FIXME - insert some real tests, host_os isn't really good enough
11735 case $host_os in
11736 darwin*)
11737 if test -n "$STRIP" ; then
11738 striplib="$STRIP -x"
11739 old_striplib="$STRIP -S"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11745 fi
11746 ;;
11747 *)
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11750 ;;
11751 esac
11752 fi
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765 # Report which library types will actually be built
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11770
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773 test "$can_build_shared" = "no" && enable_shared=no
11774
11775 # On AIX, shared libraries and static libraries use the same namespace, and
11776 # are all built from PIC.
11777 case $host_os in
11778 aix3*)
11779 test "$enable_shared" = yes && enable_static=no
11780 if test -n "$RANLIB"; then
11781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782 postinstall_cmds='$RANLIB $lib'
11783 fi
11784 ;;
11785
11786 aix[4-9]*)
11787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788 test "$enable_shared" = yes && enable_static=no
11789 fi
11790 ;;
11791 esac
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11794
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797 # Make sure either enable_shared or enable_static is yes.
11798 test "$enable_shared" = yes || enable_static=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11801
11802
11803
11804
11805 fi
11806 ac_ext=c
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11811
11812 CC="$lt_save_CC"
11813
11814 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11815 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11816 (test "X$CXX" != "Xg++"))) ; then
11817 ac_ext=cpp
11818 ac_cpp='$CXXCPP $CPPFLAGS'
11819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11824 if test -z "$CXXCPP"; then
11825 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 # Double quotes because CXXCPP needs to be expanded
11829 for CXXCPP in "$CXX -E" "/lib/cpp"
11830 do
11831 ac_preproc_ok=false
11832 for ac_cxx_preproc_warn_flag in '' yes
11833 do
11834 # Use a header file that comes with gcc, so configuring glibc
11835 # with a fresh cross-compiler works.
11836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837 # <limits.h> exists even on freestanding compilers.
11838 # On the NeXT, cc -E runs the code through the compiler's parser,
11839 # not just through cpp. "Syntax error" is here to catch this case.
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 #ifdef __STDC__
11843 # include <limits.h>
11844 #else
11845 # include <assert.h>
11846 #endif
11847 Syntax error
11848 _ACEOF
11849 if ac_fn_cxx_try_cpp "$LINENO"; then :
11850
11851 else
11852 # Broken: fails on valid input.
11853 continue
11854 fi
11855 rm -f conftest.err conftest.$ac_ext
11856
11857 # OK, works on sane cases. Now check whether nonexistent headers
11858 # can be detected and how.
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #include <ac_nonexistent.h>
11862 _ACEOF
11863 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864 # Broken: success on invalid input.
11865 continue
11866 else
11867 # Passes both tests.
11868 ac_preproc_ok=:
11869 break
11870 fi
11871 rm -f conftest.err conftest.$ac_ext
11872
11873 done
11874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11875 rm -f conftest.err conftest.$ac_ext
11876 if $ac_preproc_ok; then :
11877 break
11878 fi
11879
11880 done
11881 ac_cv_prog_CXXCPP=$CXXCPP
11882
11883 fi
11884 CXXCPP=$ac_cv_prog_CXXCPP
11885 else
11886 ac_cv_prog_CXXCPP=$CXXCPP
11887 fi
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11889 $as_echo "$CXXCPP" >&6; }
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11892 do
11893 # Use a header file that comes with gcc, so configuring glibc
11894 # with a fresh cross-compiler works.
11895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 # <limits.h> exists even on freestanding compilers.
11897 # On the NeXT, cc -E runs the code through the compiler's parser,
11898 # not just through cpp. "Syntax error" is here to catch this case.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906 Syntax error
11907 _ACEOF
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11909
11910 else
11911 # Broken: fails on valid input.
11912 continue
11913 fi
11914 rm -f conftest.err conftest.$ac_ext
11915
11916 # OK, works on sane cases. Now check whether nonexistent headers
11917 # can be detected and how.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <ac_nonexistent.h>
11921 _ACEOF
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923 # Broken: success on invalid input.
11924 continue
11925 else
11926 # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11929 fi
11930 rm -f conftest.err conftest.$ac_ext
11931
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11936
11937 else
11938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11940 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11941 See \`config.log' for more details." "$LINENO" 5; }
11942 fi
11943
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949
11950 else
11951 _lt_caught_CXX_error=yes
11952 fi
11953
11954 ac_ext=cpp
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11959
11960 archive_cmds_need_lc_CXX=no
11961 allow_undefined_flag_CXX=
11962 always_export_symbols_CXX=no
11963 archive_expsym_cmds_CXX=
11964 compiler_needs_object_CXX=no
11965 export_dynamic_flag_spec_CXX=
11966 hardcode_direct_CXX=no
11967 hardcode_direct_absolute_CXX=no
11968 hardcode_libdir_flag_spec_CXX=
11969 hardcode_libdir_flag_spec_ld_CXX=
11970 hardcode_libdir_separator_CXX=
11971 hardcode_minus_L_CXX=no
11972 hardcode_shlibpath_var_CXX=unsupported
11973 hardcode_automatic_CXX=no
11974 inherit_rpath_CXX=no
11975 module_cmds_CXX=
11976 module_expsym_cmds_CXX=
11977 link_all_deplibs_CXX=unknown
11978 old_archive_cmds_CXX=$old_archive_cmds
11979 reload_flag_CXX=$reload_flag
11980 reload_cmds_CXX=$reload_cmds
11981 no_undefined_flag_CXX=
11982 whole_archive_flag_spec_CXX=
11983 enable_shared_with_static_runtimes_CXX=no
11984
11985 # Source file extension for C++ test sources.
11986 ac_ext=cpp
11987
11988 # Object file extension for compiled C++ test sources.
11989 objext=o
11990 objext_CXX=$objext
11991
11992 # No sense in running all these tests if we already determined that
11993 # the CXX compiler isn't working. Some variables (like enable_shared)
11994 # are currently assumed to apply to all compilers on this platform,
11995 # and will be corrupted by setting them based on a non-working compiler.
11996 if test "$_lt_caught_CXX_error" != yes; then
11997 # Code to be used in simple compile tests
11998 lt_simple_compile_test_code="int some_variable = 0;"
11999
12000 # Code to be used in simple link tests
12001 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12002
12003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12004
12005
12006
12007
12008
12009
12010 # If no C compiler was specified, use CC.
12011 LTCC=${LTCC-"$CC"}
12012
12013 # If no C compiler flags were specified, use CFLAGS.
12014 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12015
12016 # Allow CC to be a program name with arguments.
12017 compiler=$CC
12018
12019
12020 # save warnings/boilerplate of simple test code
12021 ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12023 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_compiler_boilerplate=`cat conftest.err`
12025 $RM conftest*
12026
12027 ac_outfile=conftest.$ac_objext
12028 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12029 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12030 _lt_linker_boilerplate=`cat conftest.err`
12031 $RM -r conftest*
12032
12033
12034 # Allow CC to be a program name with arguments.
12035 lt_save_CC=$CC
12036 lt_save_LD=$LD
12037 lt_save_GCC=$GCC
12038 GCC=$GXX
12039 lt_save_with_gnu_ld=$with_gnu_ld
12040 lt_save_path_LD=$lt_cv_path_LD
12041 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12042 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12043 else
12044 $as_unset lt_cv_prog_gnu_ld
12045 fi
12046 if test -n "${lt_cv_path_LDCXX+set}"; then
12047 lt_cv_path_LD=$lt_cv_path_LDCXX
12048 else
12049 $as_unset lt_cv_path_LD
12050 fi
12051 test -z "${LDCXX+set}" || LD=$LDCXX
12052 CC=${CXX-"c++"}
12053 compiler=$CC
12054 compiler_CXX=$CC
12055 for cc_temp in $compiler""; do
12056 case $cc_temp in
12057 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12058 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12059 \-*) ;;
12060 *) break;;
12061 esac
12062 done
12063 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12064
12065
12066 if test -n "$compiler"; then
12067 # We don't want -fno-exception when compiling C++ code, so set the
12068 # no_builtin_flag separately
12069 if test "$GXX" = yes; then
12070 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12071 else
12072 lt_prog_compiler_no_builtin_flag_CXX=
12073 fi
12074
12075 if test "$GXX" = yes; then
12076 # Set up default GNU C++ configuration
12077
12078
12079
12080 # Check whether --with-gnu-ld was given.
12081 if test "${with_gnu_ld+set}" = set; then :
12082 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12083 else
12084 with_gnu_ld=no
12085 fi
12086
12087 ac_prog=ld
12088 if test "$GCC" = yes; then
12089 # Check if gcc -print-prog-name=ld gives a path.
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12091 $as_echo_n "checking for ld used by $CC... " >&6; }
12092 case $host in
12093 *-*-mingw*)
12094 # gcc leaves a trailing carriage return which upsets mingw
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12096 *)
12097 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12098 esac
12099 case $ac_prog in
12100 # Accept absolute paths.
12101 [\\/]* | ?:[\\/]*)
12102 re_direlt='/[^/][^/]*/\.\./'
12103 # Canonicalize the pathname of ld
12104 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12105 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12106 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12107 done
12108 test -z "$LD" && LD="$ac_prog"
12109 ;;
12110 "")
12111 # If it fails, then pretend we aren't using GCC.
12112 ac_prog=ld
12113 ;;
12114 *)
12115 # If it is relative, then search for the first ld in PATH.
12116 with_gnu_ld=unknown
12117 ;;
12118 esac
12119 elif test "$with_gnu_ld" = yes; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12121 $as_echo_n "checking for GNU ld... " >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12124 $as_echo_n "checking for non-GNU ld... " >&6; }
12125 fi
12126 if test "${lt_cv_path_LD+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 if test -z "$LD"; then
12130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12131 for ac_dir in $PATH; do
12132 IFS="$lt_save_ifs"
12133 test -z "$ac_dir" && ac_dir=.
12134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12135 lt_cv_path_LD="$ac_dir/$ac_prog"
12136 # Check to see if the program is GNU ld. I'd rather use --version,
12137 # but apparently some variants of GNU ld only accept -v.
12138 # Break only if it was the GNU/non-GNU ld that we prefer.
12139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12140 *GNU* | *'with BFD'*)
12141 test "$with_gnu_ld" != no && break
12142 ;;
12143 *)
12144 test "$with_gnu_ld" != yes && break
12145 ;;
12146 esac
12147 fi
12148 done
12149 IFS="$lt_save_ifs"
12150 else
12151 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12152 fi
12153 fi
12154
12155 LD="$lt_cv_path_LD"
12156 if test -n "$LD"; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12158 $as_echo "$LD" >&6; }
12159 else
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12162 fi
12163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12166 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12170 case `$LD -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172 lt_cv_prog_gnu_ld=yes
12173 ;;
12174 *)
12175 lt_cv_prog_gnu_ld=no
12176 ;;
12177 esac
12178 fi
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12181 with_gnu_ld=$lt_cv_prog_gnu_ld
12182
12183
12184
12185
12186
12187
12188
12189 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12190 # archiving commands below assume that GNU ld is being used.
12191 if test "$with_gnu_ld" = yes; then
12192 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12194
12195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12197
12198 # If archive_cmds runs LD, not CC, wlarc should be empty
12199 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12200 # investigate it a little bit more. (MM)
12201 wlarc='${wl}'
12202
12203 # ancient GNU ld didn't support --whole-archive et. al.
12204 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12205 $GREP 'no-whole-archive' > /dev/null; then
12206 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12207 else
12208 whole_archive_flag_spec_CXX=
12209 fi
12210 else
12211 with_gnu_ld=no
12212 wlarc=
12213
12214 # A generic and very simple default shared library creation
12215 # command for GNU C++ for the case where it uses the native
12216 # linker, instead of GNU ld. If possible, this setting should
12217 # overridden to take advantage of the native linker features on
12218 # the platform it is being used on.
12219 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12220 fi
12221
12222 # Commands to make compiler produce verbose output that lists
12223 # what "hidden" libraries, object files and flags are used when
12224 # linking a shared library.
12225 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12226
12227 else
12228 GXX=no
12229 with_gnu_ld=no
12230 wlarc=
12231 fi
12232
12233 # PORTME: fill in a description of your system's C++ link characteristics
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12236 ld_shlibs_CXX=yes
12237 case $host_os in
12238 aix3*)
12239 # FIXME: insert proper C++ library support
12240 ld_shlibs_CXX=no
12241 ;;
12242 aix[4-9]*)
12243 if test "$host_cpu" = ia64; then
12244 # On IA64, the linker does run time linking by default, so we don't
12245 # have to do anything special.
12246 aix_use_runtimelinking=no
12247 exp_sym_flag='-Bexport'
12248 no_entry_flag=""
12249 else
12250 aix_use_runtimelinking=no
12251
12252 # Test if we are trying to use run time linking or normal
12253 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12254 # need to do runtime linking.
12255 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12256 for ld_flag in $LDFLAGS; do
12257 case $ld_flag in
12258 *-brtl*)
12259 aix_use_runtimelinking=yes
12260 break
12261 ;;
12262 esac
12263 done
12264 ;;
12265 esac
12266
12267 exp_sym_flag='-bexport'
12268 no_entry_flag='-bnoentry'
12269 fi
12270
12271 # When large executables or shared objects are built, AIX ld can
12272 # have problems creating the table of contents. If linking a library
12273 # or program results in "error TOC overflow" add -mminimal-toc to
12274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12276
12277 archive_cmds_CXX=''
12278 hardcode_direct_CXX=yes
12279 hardcode_direct_absolute_CXX=yes
12280 hardcode_libdir_separator_CXX=':'
12281 link_all_deplibs_CXX=yes
12282 file_list_spec_CXX='${wl}-f,'
12283
12284 if test "$GXX" = yes; then
12285 case $host_os in aix4.[012]|aix4.[012].*)
12286 # We only want to do this on AIX 4.2 and lower, the check
12287 # below for broken collect2 doesn't work under 4.3+
12288 collect2name=`${CC} -print-prog-name=collect2`
12289 if test -f "$collect2name" &&
12290 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12291 then
12292 # We have reworked collect2
12293 :
12294 else
12295 # We have old collect2
12296 hardcode_direct_CXX=unsupported
12297 # It fails to find uninstalled libraries when the uninstalled
12298 # path is not listed in the libpath. Setting hardcode_minus_L
12299 # to unsupported forces relinking
12300 hardcode_minus_L_CXX=yes
12301 hardcode_libdir_flag_spec_CXX='-L$libdir'
12302 hardcode_libdir_separator_CXX=
12303 fi
12304 esac
12305 shared_flag='-shared'
12306 if test "$aix_use_runtimelinking" = yes; then
12307 shared_flag="$shared_flag "'${wl}-G'
12308 fi
12309 else
12310 # not using gcc
12311 if test "$host_cpu" = ia64; then
12312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12313 # chokes on -Wl,-G. The following line is correct:
12314 shared_flag='-G'
12315 else
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag='${wl}-G'
12318 else
12319 shared_flag='${wl}-bM:SRE'
12320 fi
12321 fi
12322 fi
12323
12324 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12325 # It seems that -bexpall does not export symbols beginning with
12326 # underscore (_), so it is better to generate a list of symbols to
12327 # export.
12328 always_export_symbols_CXX=yes
12329 if test "$aix_use_runtimelinking" = yes; then
12330 # Warning - without using the other runtime loading flags (-brtl),
12331 # -berok will link without error, but may produce a broken library.
12332 allow_undefined_flag_CXX='-berok'
12333 # Determine the default libpath from the value encoded in an empty
12334 # executable.
12335 if test x$gcc_no_link = xyes; then
12336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12337 fi
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340
12341 int
12342 main ()
12343 {
12344
12345 ;
12346 return 0;
12347 }
12348 _ACEOF
12349 if ac_fn_cxx_try_link "$LINENO"; then :
12350
12351 lt_aix_libpath_sed='
12352 /Import File Strings/,/^$/ {
12353 /^0/ {
12354 s/^0 *\(.*\)$/\1/
12355 p
12356 }
12357 }'
12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 # Check for a 64-bit object if we didn't find anything.
12360 if test -z "$aix_libpath"; then
12361 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12362 fi
12363 fi
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12367
12368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12369
12370 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"
12371 else
12372 if test "$host_cpu" = ia64; then
12373 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12374 allow_undefined_flag_CXX="-z nodefs"
12375 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"
12376 else
12377 # Determine the default libpath from the value encoded in an
12378 # empty executable.
12379 if test x$gcc_no_link = xyes; then
12380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12381 fi
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12384
12385 int
12386 main ()
12387 {
12388
12389 ;
12390 return 0;
12391 }
12392 _ACEOF
12393 if ac_fn_cxx_try_link "$LINENO"; then :
12394
12395 lt_aix_libpath_sed='
12396 /Import File Strings/,/^$/ {
12397 /^0/ {
12398 s/^0 *\(.*\)$/\1/
12399 p
12400 }
12401 }'
12402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12406 fi
12407 fi
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12411
12412 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 # Warning - without using the other run time loading flags,
12414 # -berok will link without error, but may produce a broken library.
12415 no_undefined_flag_CXX=' ${wl}-bernotok'
12416 allow_undefined_flag_CXX=' ${wl}-berok'
12417 if test "$with_gnu_ld" = yes; then
12418 # We only use this code for GNU lds that support --whole-archive.
12419 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12420 else
12421 # Exported symbols can be pulled into shared objects from archives
12422 whole_archive_flag_spec_CXX='$convenience'
12423 fi
12424 archive_cmds_need_lc_CXX=yes
12425 # This is similar to how AIX traditionally builds its shared
12426 # libraries.
12427 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'
12428 fi
12429 fi
12430 ;;
12431
12432 beos*)
12433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12434 allow_undefined_flag_CXX=unsupported
12435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12436 # support --undefined. This deserves some investigation. FIXME
12437 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 else
12439 ld_shlibs_CXX=no
12440 fi
12441 ;;
12442
12443 chorus*)
12444 case $cc_basename in
12445 *)
12446 # FIXME: insert proper C++ library support
12447 ld_shlibs_CXX=no
12448 ;;
12449 esac
12450 ;;
12451
12452 cygwin* | mingw* | pw32* | cegcc*)
12453 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12454 # as there is no search path for DLLs.
12455 hardcode_libdir_flag_spec_CXX='-L$libdir'
12456 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12457 allow_undefined_flag_CXX=unsupported
12458 always_export_symbols_CXX=no
12459 enable_shared_with_static_runtimes_CXX=yes
12460
12461 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12462 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'
12463 # If the export-symbols file already is a .def file (1st line
12464 # is EXPORTS), use it as is; otherwise, prepend...
12465 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12466 cp $export_symbols $output_objdir/$soname.def;
12467 else
12468 echo EXPORTS > $output_objdir/$soname.def;
12469 cat $export_symbols >> $output_objdir/$soname.def;
12470 fi~
12471 $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'
12472 else
12473 ld_shlibs_CXX=no
12474 fi
12475 ;;
12476 darwin* | rhapsody*)
12477
12478
12479 archive_cmds_need_lc_CXX=no
12480 hardcode_direct_CXX=no
12481 hardcode_automatic_CXX=yes
12482 hardcode_shlibpath_var_CXX=unsupported
12483 if test "$lt_cv_ld_force_load" = "yes"; then
12484 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\"`'
12485 else
12486 whole_archive_flag_spec_CXX=''
12487 fi
12488 link_all_deplibs_CXX=yes
12489 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12490 case $cc_basename in
12491 ifort*) _lt_dar_can_shared=yes ;;
12492 *) _lt_dar_can_shared=$GCC ;;
12493 esac
12494 if test "$_lt_dar_can_shared" = "yes"; then
12495 output_verbose_link_cmd=func_echo_all
12496 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}"
12497 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12498 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}"
12499 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}"
12500 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12501 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}"
12502 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}"
12503 fi
12504
12505 else
12506 ld_shlibs_CXX=no
12507 fi
12508
12509 ;;
12510
12511 dgux*)
12512 case $cc_basename in
12513 ec++*)
12514 # FIXME: insert proper C++ library support
12515 ld_shlibs_CXX=no
12516 ;;
12517 ghcx*)
12518 # Green Hills C++ Compiler
12519 # FIXME: insert proper C++ library support
12520 ld_shlibs_CXX=no
12521 ;;
12522 *)
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12525 ;;
12526 esac
12527 ;;
12528
12529 freebsd[12]*)
12530 # C++ shared libraries reported to be fairly broken before
12531 # switch to ELF
12532 ld_shlibs_CXX=no
12533 ;;
12534
12535 freebsd-elf*)
12536 archive_cmds_need_lc_CXX=no
12537 ;;
12538
12539 freebsd* | dragonfly*)
12540 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12541 # conventions
12542 ld_shlibs_CXX=yes
12543 ;;
12544
12545 gnu*)
12546 ;;
12547
12548 haiku*)
12549 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 link_all_deplibs_CXX=yes
12551 ;;
12552
12553 hpux9*)
12554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12555 hardcode_libdir_separator_CXX=:
12556 export_dynamic_flag_spec_CXX='${wl}-E'
12557 hardcode_direct_CXX=yes
12558 hardcode_minus_L_CXX=yes # Not in the search PATH,
12559 # but as the default
12560 # location of the library.
12561
12562 case $cc_basename in
12563 CC*)
12564 # FIXME: insert proper C++ library support
12565 ld_shlibs_CXX=no
12566 ;;
12567 aCC*)
12568 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'
12569 # Commands to make compiler produce verbose output that lists
12570 # what "hidden" libraries, object files and flags are used when
12571 # linking a shared library.
12572 #
12573 # There doesn't appear to be a way to prevent this compiler from
12574 # explicitly linking system object files so we need to strip them
12575 # from the output so that they don't get included in the library
12576 # dependencies.
12577 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"'
12578 ;;
12579 *)
12580 if test "$GXX" = yes; then
12581 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'
12582 else
12583 # FIXME: insert proper C++ library support
12584 ld_shlibs_CXX=no
12585 fi
12586 ;;
12587 esac
12588 ;;
12589
12590 hpux10*|hpux11*)
12591 if test $with_gnu_ld = no; then
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594
12595 case $host_cpu in
12596 hppa*64*|ia64*)
12597 ;;
12598 *)
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12600 ;;
12601 esac
12602 fi
12603 case $host_cpu in
12604 hppa*64*|ia64*)
12605 hardcode_direct_CXX=no
12606 hardcode_shlibpath_var_CXX=no
12607 ;;
12608 *)
12609 hardcode_direct_CXX=yes
12610 hardcode_direct_absolute_CXX=yes
12611 hardcode_minus_L_CXX=yes # Not in the search PATH,
12612 # but as the default
12613 # location of the library.
12614 ;;
12615 esac
12616
12617 case $cc_basename in
12618 CC*)
12619 # FIXME: insert proper C++ library support
12620 ld_shlibs_CXX=no
12621 ;;
12622 aCC*)
12623 case $host_cpu in
12624 hppa*64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626 ;;
12627 ia64*)
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629 ;;
12630 *)
12631 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 ;;
12633 esac
12634 # Commands to make compiler produce verbose output that lists
12635 # what "hidden" libraries, object files and flags are used when
12636 # linking a shared library.
12637 #
12638 # There doesn't appear to be a way to prevent this compiler from
12639 # explicitly linking system object files so we need to strip them
12640 # from the output so that they don't get included in the library
12641 # dependencies.
12642 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"'
12643 ;;
12644 *)
12645 if test "$GXX" = yes; then
12646 if test $with_gnu_ld = no; then
12647 case $host_cpu in
12648 hppa*64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 ;;
12651 ia64*)
12652 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12653 ;;
12654 *)
12655 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'
12656 ;;
12657 esac
12658 fi
12659 else
12660 # FIXME: insert proper C++ library support
12661 ld_shlibs_CXX=no
12662 fi
12663 ;;
12664 esac
12665 ;;
12666
12667 interix[3-9]*)
12668 hardcode_direct_CXX=no
12669 hardcode_shlibpath_var_CXX=no
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12671 export_dynamic_flag_spec_CXX='${wl}-E'
12672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12673 # Instead, shared libraries are loaded at an image base (0x10000000 by
12674 # default) and relocated if they conflict, which is a slow very memory
12675 # consuming and fragmenting process. To avoid this, we pick a random,
12676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12678 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'
12679 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'
12680 ;;
12681 irix5* | irix6*)
12682 case $cc_basename in
12683 CC*)
12684 # SGI C++
12685 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'
12686
12687 # Archives containing C++ object files must be created using
12688 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12692 ;;
12693 *)
12694 if test "$GXX" = yes; then
12695 if test "$with_gnu_ld" = no; then
12696 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'
12697 else
12698 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'
12699 fi
12700 fi
12701 link_all_deplibs_CXX=yes
12702 ;;
12703 esac
12704 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12705 hardcode_libdir_separator_CXX=:
12706 inherit_rpath_CXX=yes
12707 ;;
12708
12709 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12710 case $cc_basename in
12711 KCC*)
12712 # Kuck and Associates, Inc. (KAI) C++ Compiler
12713
12714 # KCC will only create a shared library if the output file
12715 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12716 # to its proper name (with version) after linking.
12717 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'
12718 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'
12719 # Commands to make compiler produce verbose output that lists
12720 # what "hidden" libraries, object files and flags are used when
12721 # linking a shared library.
12722 #
12723 # There doesn't appear to be a way to prevent this compiler from
12724 # explicitly linking system object files so we need to strip them
12725 # from the output so that they don't get included in the library
12726 # dependencies.
12727 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"'
12728
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12731
12732 # Archives containing C++ object files must be created using
12733 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12734 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12735 ;;
12736 icpc* | ecpc* )
12737 # Intel C++
12738 with_gnu_ld=yes
12739 # version 8.0 and above of icpc choke on multiply defined symbols
12740 # if we add $predep_objects and $postdep_objects, however 7.1 and
12741 # earlier do not add the objects themselves.
12742 case `$CC -V 2>&1` in
12743 *"Version 7."*)
12744 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745 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'
12746 ;;
12747 *) # Version 8.0 or newer
12748 tmp_idyn=
12749 case $host_cpu in
12750 ia64*) tmp_idyn=' -i_dynamic';;
12751 esac
12752 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753 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'
12754 ;;
12755 esac
12756 archive_cmds_need_lc_CXX=no
12757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12760 ;;
12761 pgCC* | pgcpp*)
12762 # Portland Group C++ compiler
12763 case `$CC -V` in
12764 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12765 prelink_cmds_CXX='tpldir=Template.dir~
12766 rm -rf $tpldir~
12767 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12768 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12769 old_archive_cmds_CXX='tpldir=Template.dir~
12770 rm -rf $tpldir~
12771 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12772 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12773 $RANLIB $oldlib'
12774 archive_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12777 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12778 archive_expsym_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12782 ;;
12783 *) # Version 6 and above use weak symbols
12784 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785 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'
12786 ;;
12787 esac
12788
12789 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 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'
12792 ;;
12793 cxx*)
12794 # Compaq C++
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12797
12798 runpath_var=LD_RUN_PATH
12799 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12800 hardcode_libdir_separator_CXX=:
12801
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12805 #
12806 # There doesn't appear to be a way to prevent this compiler from
12807 # explicitly linking system object files so we need to strip them
12808 # from the output so that they don't get included in the library
12809 # dependencies.
12810 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'
12811 ;;
12812 xl* | mpixl* | bgxl*)
12813 # IBM XL 8.0 on PPC, with GNU ld
12814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817 if test "x$supports_anon_versioning" = xyes; then
12818 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12820 echo "local: *; };" >> $output_objdir/$libname.ver~
12821 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12822 fi
12823 ;;
12824 *)
12825 case `$CC -V 2>&1 | sed 5q` in
12826 *Sun\ C*)
12827 # Sun C++ 5.9
12828 no_undefined_flag_CXX=' -zdefs'
12829 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 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'
12831 hardcode_libdir_flag_spec_CXX='-R$libdir'
12832 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'
12833 compiler_needs_object_CXX=yes
12834
12835 # Not sure whether something based on
12836 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12837 # would be better.
12838 output_verbose_link_cmd='func_echo_all'
12839
12840 # Archives containing C++ object files must be created using
12841 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12842 # necessary to make sure instantiated templates are included
12843 # in the archive.
12844 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12845 ;;
12846 esac
12847 ;;
12848 esac
12849 ;;
12850
12851 lynxos*)
12852 # FIXME: insert proper C++ library support
12853 ld_shlibs_CXX=no
12854 ;;
12855
12856 m88k*)
12857 # FIXME: insert proper C++ library support
12858 ld_shlibs_CXX=no
12859 ;;
12860
12861 mvs*)
12862 case $cc_basename in
12863 cxx*)
12864 # FIXME: insert proper C++ library support
12865 ld_shlibs_CXX=no
12866 ;;
12867 *)
12868 # FIXME: insert proper C++ library support
12869 ld_shlibs_CXX=no
12870 ;;
12871 esac
12872 ;;
12873
12874 netbsd*)
12875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12876 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12877 wlarc=
12878 hardcode_libdir_flag_spec_CXX='-R$libdir'
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12881 fi
12882 # Workaround some broken pre-1.5 toolchains
12883 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12884 ;;
12885
12886 *nto* | *qnx*)
12887 ld_shlibs_CXX=yes
12888 ;;
12889
12890 openbsd2*)
12891 # C++ shared libraries are fairly broken
12892 ld_shlibs_CXX=no
12893 ;;
12894
12895 openbsd*)
12896 if test -f /usr/libexec/ld.so; then
12897 hardcode_direct_CXX=yes
12898 hardcode_shlibpath_var_CXX=no
12899 hardcode_direct_absolute_CXX=yes
12900 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12903 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12904 export_dynamic_flag_spec_CXX='${wl}-E'
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906 fi
12907 output_verbose_link_cmd=func_echo_all
12908 else
12909 ld_shlibs_CXX=no
12910 fi
12911 ;;
12912
12913 osf3* | osf4* | osf5*)
12914 case $cc_basename in
12915 KCC*)
12916 # Kuck and Associates, Inc. (KAI) C++ Compiler
12917
12918 # KCC will only create a shared library if the output file
12919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12920 # to its proper name (with version) after linking.
12921 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'
12922
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924 hardcode_libdir_separator_CXX=:
12925
12926 # Archives containing C++ object files must be created using
12927 # the KAI C++ compiler.
12928 case $host in
12929 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12930 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12931 esac
12932 ;;
12933 RCC*)
12934 # Rational C++ 2.4.1
12935 # FIXME: insert proper C++ library support
12936 ld_shlibs_CXX=no
12937 ;;
12938 cxx*)
12939 case $host in
12940 osf3*)
12941 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12942 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'
12943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12944 ;;
12945 *)
12946 allow_undefined_flag_CXX=' -expect_unresolved \*'
12947 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'
12948 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12949 echo "-hidden">> $lib.exp~
12950 $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~
12951 $RM $lib.exp'
12952 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12953 ;;
12954 esac
12955
12956 hardcode_libdir_separator_CXX=:
12957
12958 # Commands to make compiler produce verbose output that lists
12959 # what "hidden" libraries, object files and flags are used when
12960 # linking a shared library.
12961 #
12962 # There doesn't appear to be a way to prevent this compiler from
12963 # explicitly linking system object files so we need to strip them
12964 # from the output so that they don't get included in the library
12965 # dependencies.
12966 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"'
12967 ;;
12968 *)
12969 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12970 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971 case $host in
12972 osf3*)
12973 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'
12974 ;;
12975 *)
12976 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'
12977 ;;
12978 esac
12979
12980 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12981 hardcode_libdir_separator_CXX=:
12982
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12987
12988 else
12989 # FIXME: insert proper C++ library support
12990 ld_shlibs_CXX=no
12991 fi
12992 ;;
12993 esac
12994 ;;
12995
12996 psos*)
12997 # FIXME: insert proper C++ library support
12998 ld_shlibs_CXX=no
12999 ;;
13000
13001 sunos4*)
13002 case $cc_basename in
13003 CC*)
13004 # Sun C++ 4.x
13005 # FIXME: insert proper C++ library support
13006 ld_shlibs_CXX=no
13007 ;;
13008 lcc*)
13009 # Lucid
13010 # FIXME: insert proper C++ library support
13011 ld_shlibs_CXX=no
13012 ;;
13013 *)
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 ;;
13017 esac
13018 ;;
13019
13020 solaris*)
13021 case $cc_basename in
13022 CC*)
13023 # Sun C++ 4.2, 5.x and Centerline C++
13024 archive_cmds_need_lc_CXX=yes
13025 no_undefined_flag_CXX=' -zdefs'
13026 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13027 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028 $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'
13029
13030 hardcode_libdir_flag_spec_CXX='-R$libdir'
13031 hardcode_shlibpath_var_CXX=no
13032 case $host_os in
13033 solaris2.[0-5] | solaris2.[0-5].*) ;;
13034 *)
13035 # The compiler driver will combine and reorder linker options,
13036 # but understands `-z linker_flag'.
13037 # Supported since Solaris 2.6 (maybe 2.5.1?)
13038 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13039 ;;
13040 esac
13041 link_all_deplibs_CXX=yes
13042
13043 output_verbose_link_cmd='func_echo_all'
13044
13045 # Archives containing C++ object files must be created using
13046 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13047 # necessary to make sure instantiated templates are included
13048 # in the archive.
13049 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13050 ;;
13051 gcx*)
13052 # Green Hills C++ Compiler
13053 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13054
13055 # The C++ compiler must be used to create the archive.
13056 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13057 ;;
13058 *)
13059 # GNU C++ compiler with Solaris linker
13060 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13061 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13062 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13063 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13065 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13066
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13070 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13071 else
13072 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13073 # platform.
13074 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13077
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13081 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13082 fi
13083
13084 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13085 case $host_os in
13086 solaris2.[0-5] | solaris2.[0-5].*) ;;
13087 *)
13088 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13089 ;;
13090 esac
13091 fi
13092 ;;
13093 esac
13094 ;;
13095
13096 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13097 no_undefined_flag_CXX='${wl}-z,text'
13098 archive_cmds_need_lc_CXX=no
13099 hardcode_shlibpath_var_CXX=no
13100 runpath_var='LD_RUN_PATH'
13101
13102 case $cc_basename in
13103 CC*)
13104 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 ;;
13107 *)
13108 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 ;;
13111 esac
13112 ;;
13113
13114 sysv5* | sco3.2v5* | sco5v6*)
13115 # Note: We can NOT use -z defs as we might desire, because we do not
13116 # link with -lc, and that would cause any symbols used from libc to
13117 # always be unresolved, which means just about no library would
13118 # ever link correctly. If we're not using GNU ld we use -z text
13119 # though, which does catch some bad symbols but isn't as heavy-handed
13120 # as -z defs.
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 allow_undefined_flag_CXX='${wl}-z,nodefs'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13126 hardcode_libdir_separator_CXX=':'
13127 link_all_deplibs_CXX=yes
13128 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13129 runpath_var='LD_RUN_PATH'
13130
13131 case $cc_basename in
13132 CC*)
13133 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13136 '"$old_archive_cmds_CXX"
13137 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13138 '"$reload_cmds_CXX"
13139 ;;
13140 *)
13141 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 ;;
13144 esac
13145 ;;
13146
13147 tandem*)
13148 case $cc_basename in
13149 NCC*)
13150 # NonStop-UX NCC 3.20
13151 # FIXME: insert proper C++ library support
13152 ld_shlibs_CXX=no
13153 ;;
13154 *)
13155 # FIXME: insert proper C++ library support
13156 ld_shlibs_CXX=no
13157 ;;
13158 esac
13159 ;;
13160
13161 vxworks*)
13162 # FIXME: insert proper C++ library support
13163 ld_shlibs_CXX=no
13164 ;;
13165
13166 *)
13167 # FIXME: insert proper C++ library support
13168 ld_shlibs_CXX=no
13169 ;;
13170 esac
13171
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13173 $as_echo "$ld_shlibs_CXX" >&6; }
13174 test "$ld_shlibs_CXX" = no && can_build_shared=no
13175
13176 GCC_CXX="$GXX"
13177 LD_CXX="$LD"
13178
13179 ## CAVEAT EMPTOR:
13180 ## There is no encapsulation within the following macros, do not change
13181 ## the running order or otherwise move them around unless you know exactly
13182 ## what you are doing...
13183 # Dependencies to place before and after the object being linked:
13184 predep_objects_CXX=
13185 postdep_objects_CXX=
13186 predeps_CXX=
13187 postdeps_CXX=
13188 compiler_lib_search_path_CXX=
13189
13190 cat > conftest.$ac_ext <<_LT_EOF
13191 class Foo
13192 {
13193 public:
13194 Foo (void) { a = 0; }
13195 private:
13196 int a;
13197 };
13198 _LT_EOF
13199
13200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13201 (eval $ac_compile) 2>&5
13202 ac_status=$?
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 # Parse the compiler output and extract the necessary
13206 # objects, libraries and library flags.
13207
13208 # Sentinel used to keep track of whether or not we are before
13209 # the conftest object file.
13210 pre_test_object_deps_done=no
13211
13212 for p in `eval "$output_verbose_link_cmd"`; do
13213 case $p in
13214
13215 -L* | -R* | -l*)
13216 # Some compilers place space between "-{L,R}" and the path.
13217 # Remove the space.
13218 if test $p = "-L" ||
13219 test $p = "-R"; then
13220 prev=$p
13221 continue
13222 else
13223 prev=
13224 fi
13225
13226 if test "$pre_test_object_deps_done" = no; then
13227 case $p in
13228 -L* | -R*)
13229 # Internal compiler library paths should come after those
13230 # provided the user. The postdeps already come after the
13231 # user supplied libs so there is no need to process them.
13232 if test -z "$compiler_lib_search_path_CXX"; then
13233 compiler_lib_search_path_CXX="${prev}${p}"
13234 else
13235 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13236 fi
13237 ;;
13238 # The "-l" case would never come before the object being
13239 # linked, so don't bother handling this case.
13240 esac
13241 else
13242 if test -z "$postdeps_CXX"; then
13243 postdeps_CXX="${prev}${p}"
13244 else
13245 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13246 fi
13247 fi
13248 ;;
13249
13250 *.$objext)
13251 # This assumes that the test object file only shows up
13252 # once in the compiler output.
13253 if test "$p" = "conftest.$objext"; then
13254 pre_test_object_deps_done=yes
13255 continue
13256 fi
13257
13258 if test "$pre_test_object_deps_done" = no; then
13259 if test -z "$predep_objects_CXX"; then
13260 predep_objects_CXX="$p"
13261 else
13262 predep_objects_CXX="$predep_objects_CXX $p"
13263 fi
13264 else
13265 if test -z "$postdep_objects_CXX"; then
13266 postdep_objects_CXX="$p"
13267 else
13268 postdep_objects_CXX="$postdep_objects_CXX $p"
13269 fi
13270 fi
13271 ;;
13272
13273 *) ;; # Ignore the rest.
13274
13275 esac
13276 done
13277
13278 # Clean up.
13279 rm -f a.out a.exe
13280 else
13281 echo "libtool.m4: error: problem compiling CXX test program"
13282 fi
13283
13284 $RM -f confest.$objext
13285
13286 # PORTME: override above test on systems where it is broken
13287 case $host_os in
13288 interix[3-9]*)
13289 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13290 # hack all around it, let's just trust "g++" to DTRT.
13291 predep_objects_CXX=
13292 postdep_objects_CXX=
13293 postdeps_CXX=
13294 ;;
13295
13296 linux*)
13297 case `$CC -V 2>&1 | sed 5q` in
13298 *Sun\ C*)
13299 # Sun C++ 5.9
13300
13301 # The more standards-conforming stlport4 library is
13302 # incompatible with the Cstd library. Avoid specifying
13303 # it if it's in CXXFLAGS. Ignore libCrun as
13304 # -library=stlport4 depends on it.
13305 case " $CXX $CXXFLAGS " in
13306 *" -library=stlport4 "*)
13307 solaris_use_stlport4=yes
13308 ;;
13309 esac
13310
13311 if test "$solaris_use_stlport4" != yes; then
13312 postdeps_CXX='-library=Cstd -library=Crun'
13313 fi
13314 ;;
13315 esac
13316 ;;
13317
13318 solaris*)
13319 case $cc_basename in
13320 CC*)
13321 # The more standards-conforming stlport4 library is
13322 # incompatible with the Cstd library. Avoid specifying
13323 # it if it's in CXXFLAGS. Ignore libCrun as
13324 # -library=stlport4 depends on it.
13325 case " $CXX $CXXFLAGS " in
13326 *" -library=stlport4 "*)
13327 solaris_use_stlport4=yes
13328 ;;
13329 esac
13330
13331 # Adding this requires a known-good setup of shared libraries for
13332 # Sun compiler versions before 5.6, else PIC objects from an old
13333 # archive will be linked into the output, leading to subtle bugs.
13334 if test "$solaris_use_stlport4" != yes; then
13335 postdeps_CXX='-library=Cstd -library=Crun'
13336 fi
13337 ;;
13338 esac
13339 ;;
13340 esac
13341
13342
13343 case " $postdeps_CXX " in
13344 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13345 esac
13346 compiler_lib_search_dirs_CXX=
13347 if test -n "${compiler_lib_search_path_CXX}"; then
13348 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13349 fi
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381 lt_prog_compiler_wl_CXX=
13382 lt_prog_compiler_pic_CXX=
13383 lt_prog_compiler_static_CXX=
13384
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13386 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13387
13388 # C++ specific cases for pic, static, wl, etc.
13389 if test "$GXX" = yes; then
13390 lt_prog_compiler_wl_CXX='-Wl,'
13391 lt_prog_compiler_static_CXX='-static'
13392
13393 case $host_os in
13394 aix*)
13395 # All AIX code is PIC.
13396 if test "$host_cpu" = ia64; then
13397 # AIX 5 now supports IA64 processor
13398 lt_prog_compiler_static_CXX='-Bstatic'
13399 fi
13400 ;;
13401
13402 amigaos*)
13403 case $host_cpu in
13404 powerpc)
13405 # see comment about AmigaOS4 .so support
13406 lt_prog_compiler_pic_CXX='-fPIC'
13407 ;;
13408 m68k)
13409 # FIXME: we need at least 68020 code to build shared libraries, but
13410 # adding the `-m68020' flag to GCC prevents building anything better,
13411 # like `-m68040'.
13412 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13413 ;;
13414 esac
13415 ;;
13416
13417 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13418 # PIC is the default for these OSes.
13419 ;;
13420 mingw* | cygwin* | os2* | pw32* | cegcc*)
13421 # This hack is so that the source file can tell whether it is being
13422 # built for inclusion in a dll (and should export symbols for example).
13423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13424 # (--disable-auto-import) libraries
13425 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13426 ;;
13427 darwin* | rhapsody*)
13428 # PIC is the default on this platform
13429 # Common symbols not allowed in MH_DYLIB files
13430 lt_prog_compiler_pic_CXX='-fno-common'
13431 ;;
13432 *djgpp*)
13433 # DJGPP does not support shared libraries at all
13434 lt_prog_compiler_pic_CXX=
13435 ;;
13436 haiku*)
13437 # PIC is the default for Haiku.
13438 # The "-static" flag exists, but is broken.
13439 lt_prog_compiler_static_CXX=
13440 ;;
13441 interix[3-9]*)
13442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443 # Instead, we relocate shared libraries at runtime.
13444 ;;
13445 sysv4*MP*)
13446 if test -d /usr/nec; then
13447 lt_prog_compiler_pic_CXX=-Kconform_pic
13448 fi
13449 ;;
13450 hpux*)
13451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13453 # sets the default TLS model and affects inlining.
13454 case $host_cpu in
13455 hppa*64*)
13456 ;;
13457 *)
13458 lt_prog_compiler_pic_CXX='-fPIC'
13459 ;;
13460 esac
13461 ;;
13462 *qnx* | *nto*)
13463 # QNX uses GNU C++, but need to define -shared option too, otherwise
13464 # it will coredump.
13465 lt_prog_compiler_pic_CXX='-fPIC -shared'
13466 ;;
13467 *)
13468 lt_prog_compiler_pic_CXX='-fPIC'
13469 ;;
13470 esac
13471 else
13472 case $host_os in
13473 aix[4-9]*)
13474 # All AIX code is PIC.
13475 if test "$host_cpu" = ia64; then
13476 # AIX 5 now supports IA64 processor
13477 lt_prog_compiler_static_CXX='-Bstatic'
13478 else
13479 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13480 fi
13481 ;;
13482 chorus*)
13483 case $cc_basename in
13484 cxch68*)
13485 # Green Hills C++ Compiler
13486 # _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"
13487 ;;
13488 esac
13489 ;;
13490 dgux*)
13491 case $cc_basename in
13492 ec++*)
13493 lt_prog_compiler_pic_CXX='-KPIC'
13494 ;;
13495 ghcx*)
13496 # Green Hills C++ Compiler
13497 lt_prog_compiler_pic_CXX='-pic'
13498 ;;
13499 *)
13500 ;;
13501 esac
13502 ;;
13503 freebsd* | dragonfly*)
13504 # FreeBSD uses GNU C++
13505 ;;
13506 hpux9* | hpux10* | hpux11*)
13507 case $cc_basename in
13508 CC*)
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13511 if test "$host_cpu" != ia64; then
13512 lt_prog_compiler_pic_CXX='+Z'
13513 fi
13514 ;;
13515 aCC*)
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13518 case $host_cpu in
13519 hppa*64*|ia64*)
13520 # +Z the default
13521 ;;
13522 *)
13523 lt_prog_compiler_pic_CXX='+Z'
13524 ;;
13525 esac
13526 ;;
13527 *)
13528 ;;
13529 esac
13530 ;;
13531 interix*)
13532 # This is c89, which is MS Visual C++ (no shared libs)
13533 # Anyone wants to do a port?
13534 ;;
13535 irix5* | irix6* | nonstopux*)
13536 case $cc_basename in
13537 CC*)
13538 lt_prog_compiler_wl_CXX='-Wl,'
13539 lt_prog_compiler_static_CXX='-non_shared'
13540 # CC pic flag -KPIC is the default.
13541 ;;
13542 *)
13543 ;;
13544 esac
13545 ;;
13546 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13547 case $cc_basename in
13548 KCC*)
13549 # KAI C++ Compiler
13550 lt_prog_compiler_wl_CXX='--backend -Wl,'
13551 lt_prog_compiler_pic_CXX='-fPIC'
13552 ;;
13553 ecpc* )
13554 # old Intel C++ for x86_64 which still supported -KPIC.
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_pic_CXX='-KPIC'
13557 lt_prog_compiler_static_CXX='-static'
13558 ;;
13559 icpc* )
13560 # Intel C++, used to be incompatible with GCC.
13561 # ICC 10 doesn't accept -KPIC any more.
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-fPIC'
13564 lt_prog_compiler_static_CXX='-static'
13565 ;;
13566 pgCC* | pgcpp*)
13567 # Portland Group C++ compiler
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_pic_CXX='-fpic'
13570 lt_prog_compiler_static_CXX='-Bstatic'
13571 ;;
13572 cxx*)
13573 # Compaq C++
13574 # Make sure the PIC flag is empty. It appears that all Alpha
13575 # Linux and Compaq Tru64 Unix objects are PIC.
13576 lt_prog_compiler_pic_CXX=
13577 lt_prog_compiler_static_CXX='-non_shared'
13578 ;;
13579 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13580 # IBM XL 8.0, 9.0 on PPC and BlueGene
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-qpic'
13583 lt_prog_compiler_static_CXX='-qstaticlink'
13584 ;;
13585 *)
13586 case `$CC -V 2>&1 | sed 5q` in
13587 *Sun\ C*)
13588 # Sun C++ 5.9
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-Bstatic'
13591 lt_prog_compiler_wl_CXX='-Qoption ld '
13592 ;;
13593 esac
13594 ;;
13595 esac
13596 ;;
13597 lynxos*)
13598 ;;
13599 m88k*)
13600 ;;
13601 mvs*)
13602 case $cc_basename in
13603 cxx*)
13604 lt_prog_compiler_pic_CXX='-W c,exportall'
13605 ;;
13606 *)
13607 ;;
13608 esac
13609 ;;
13610 netbsd*)
13611 ;;
13612 *qnx* | *nto*)
13613 # QNX uses GNU C++, but need to define -shared option too, otherwise
13614 # it will coredump.
13615 lt_prog_compiler_pic_CXX='-fPIC -shared'
13616 ;;
13617 osf3* | osf4* | osf5*)
13618 case $cc_basename in
13619 KCC*)
13620 lt_prog_compiler_wl_CXX='--backend -Wl,'
13621 ;;
13622 RCC*)
13623 # Rational C++ 2.4.1
13624 lt_prog_compiler_pic_CXX='-pic'
13625 ;;
13626 cxx*)
13627 # Digital/Compaq C++
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 # Make sure the PIC flag is empty. It appears that all Alpha
13630 # Linux and Compaq Tru64 Unix objects are PIC.
13631 lt_prog_compiler_pic_CXX=
13632 lt_prog_compiler_static_CXX='-non_shared'
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 ;;
13638 psos*)
13639 ;;
13640 solaris*)
13641 case $cc_basename in
13642 CC*)
13643 # Sun C++ 4.2, 5.x and Centerline C++
13644 lt_prog_compiler_pic_CXX='-KPIC'
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 lt_prog_compiler_wl_CXX='-Qoption ld '
13647 ;;
13648 gcx*)
13649 # Green Hills C++ Compiler
13650 lt_prog_compiler_pic_CXX='-PIC'
13651 ;;
13652 *)
13653 ;;
13654 esac
13655 ;;
13656 sunos4*)
13657 case $cc_basename in
13658 CC*)
13659 # Sun C++ 4.x
13660 lt_prog_compiler_pic_CXX='-pic'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13662 ;;
13663 lcc*)
13664 # Lucid
13665 lt_prog_compiler_pic_CXX='-pic'
13666 ;;
13667 *)
13668 ;;
13669 esac
13670 ;;
13671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13672 case $cc_basename in
13673 CC*)
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-KPIC'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13677 ;;
13678 esac
13679 ;;
13680 tandem*)
13681 case $cc_basename in
13682 NCC*)
13683 # NonStop-UX NCC 3.20
13684 lt_prog_compiler_pic_CXX='-KPIC'
13685 ;;
13686 *)
13687 ;;
13688 esac
13689 ;;
13690 vxworks*)
13691 ;;
13692 *)
13693 lt_prog_compiler_can_build_shared_CXX=no
13694 ;;
13695 esac
13696 fi
13697
13698 case $host_os in
13699 # For platforms which do not support PIC, -DPIC is meaningless:
13700 *djgpp*)
13701 lt_prog_compiler_pic_CXX=
13702 ;;
13703 *)
13704 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13705 ;;
13706 esac
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13708 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13709
13710
13711
13712 #
13713 # Check to make sure the PIC flag actually works.
13714 #
13715 if test -n "$lt_prog_compiler_pic_CXX"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13717 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13718 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 lt_cv_prog_compiler_pic_works_CXX=no
13722 ac_outfile=conftest.$ac_objext
13723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13724 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13725 # Insert the option either (1) after the last *FLAGS variable, or
13726 # (2) before a word containing "conftest.", or (3) at the end.
13727 # Note that $ac_compile itself does not contain backslashes and begins
13728 # with a dollar sign (not a hyphen), so the echo should work correctly.
13729 # The option is referenced via a variable to avoid confusing sed.
13730 lt_compile=`echo "$ac_compile" | $SED \
13731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733 -e 's:$: $lt_compiler_flag:'`
13734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13735 (eval "$lt_compile" 2>conftest.err)
13736 ac_status=$?
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 if (exit $ac_status) && test -s "$ac_outfile"; then
13740 # The compiler can only warn and ignore the option if not recognized
13741 # So say no if there are warnings other than the usual output.
13742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13744 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13745 lt_cv_prog_compiler_pic_works_CXX=yes
13746 fi
13747 fi
13748 $RM conftest*
13749
13750 fi
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13752 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13753
13754 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13755 case $lt_prog_compiler_pic_CXX in
13756 "" | " "*) ;;
13757 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13758 esac
13759 else
13760 lt_prog_compiler_pic_CXX=
13761 lt_prog_compiler_can_build_shared_CXX=no
13762 fi
13763
13764 fi
13765
13766
13767
13768 #
13769 # Check to make sure the static flag actually works.
13770 #
13771 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13773 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13774 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 lt_cv_prog_compiler_static_works_CXX=no
13778 save_LDFLAGS="$LDFLAGS"
13779 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13780 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13781 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13782 # The linker can only warn and ignore the option if not recognized
13783 # So say no if there are warnings
13784 if test -s conftest.err; then
13785 # Append any errors to the config.log.
13786 cat conftest.err 1>&5
13787 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13789 if diff conftest.exp conftest.er2 >/dev/null; then
13790 lt_cv_prog_compiler_static_works_CXX=yes
13791 fi
13792 else
13793 lt_cv_prog_compiler_static_works_CXX=yes
13794 fi
13795 fi
13796 $RM -r conftest*
13797 LDFLAGS="$save_LDFLAGS"
13798
13799 fi
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13801 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13802
13803 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13804 :
13805 else
13806 lt_prog_compiler_static_CXX=
13807 fi
13808
13809
13810
13811
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 lt_cv_prog_compiler_c_o_CXX=no
13818 $RM -r conftest 2>/dev/null
13819 mkdir conftest
13820 cd conftest
13821 mkdir out
13822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13823
13824 lt_compiler_flag="-o out/conftest2.$ac_objext"
13825 # Insert the option either (1) after the last *FLAGS variable, or
13826 # (2) before a word containing "conftest.", or (3) at the end.
13827 # Note that $ac_compile itself does not contain backslashes and begins
13828 # with a dollar sign (not a hyphen), so the echo should work correctly.
13829 lt_compile=`echo "$ac_compile" | $SED \
13830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13832 -e 's:$: $lt_compiler_flag:'`
13833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13834 (eval "$lt_compile" 2>out/conftest.err)
13835 ac_status=$?
13836 cat out/conftest.err >&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13839 then
13840 # The compiler can only warn and ignore the option if not recognized
13841 # So say no if there are warnings
13842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13845 lt_cv_prog_compiler_c_o_CXX=yes
13846 fi
13847 fi
13848 chmod u+w . 2>&5
13849 $RM conftest*
13850 # SGI C++ compiler will create directory out/ii_files/ for
13851 # template instantiation
13852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13853 $RM out/* && rmdir out
13854 cd ..
13855 $RM -r conftest
13856 $RM conftest*
13857
13858 fi
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13860 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13861
13862
13863
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13875
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13898 fi
13899 fi
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13909
13910 fi
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13913
13914
13915
13916
13917 hard_links="nottested"
13918 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13919 # do not overwrite the value of need_locks provided by the user
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13921 $as_echo_n "checking if we can lock with hard links... " >&6; }
13922 hard_links=yes
13923 $RM conftest*
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 touch conftest.a
13926 ln conftest.a conftest.b 2>&5 || hard_links=no
13927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13929 $as_echo "$hard_links" >&6; }
13930 if test "$hard_links" = no; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13933 need_locks=warn
13934 fi
13935 else
13936 need_locks=no
13937 fi
13938
13939
13940
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13943
13944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945 case $host_os in
13946 aix[4-9]*)
13947 # If we're using GNU nm, then we don't want the "-C" option.
13948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13949 # Also, AIX nm treats weak defined symbols like other global defined
13950 # symbols, whereas GNU nm marks them as "W".
13951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13952 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'
13953 else
13954 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13955 fi
13956 ;;
13957 pw32*)
13958 export_symbols_cmds_CXX="$ltdll_cmds"
13959 ;;
13960 cygwin* | mingw* | cegcc*)
13961 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'
13962 ;;
13963 *)
13964 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13965 ;;
13966 esac
13967 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13968
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13970 $as_echo "$ld_shlibs_CXX" >&6; }
13971 test "$ld_shlibs_CXX" = no && can_build_shared=no
13972
13973 with_gnu_ld_CXX=$with_gnu_ld
13974
13975
13976
13977
13978
13979
13980 #
13981 # Do we need to explicitly link libc?
13982 #
13983 case "x$archive_cmds_need_lc_CXX" in
13984 x|xyes)
13985 # Assume -lc should be added
13986 archive_cmds_need_lc_CXX=yes
13987
13988 if test "$enable_shared" = yes && test "$GCC" = yes; then
13989 case $archive_cmds_CXX in
13990 *'~'*)
13991 # FIXME: we may have to deal with multi-command sequences.
13992 ;;
13993 '$CC '*)
13994 # Test whether the compiler implicitly links with -lc since on some
13995 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13996 # to ld, don't add -lc before -lgcc.
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13998 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13999 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 $RM conftest*
14003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14004
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14006 (eval $ac_compile) 2>&5
14007 ac_status=$?
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; } 2>conftest.err; then
14010 soname=conftest
14011 lib=conftest
14012 libobjs=conftest.$ac_objext
14013 deplibs=
14014 wl=$lt_prog_compiler_wl_CXX
14015 pic_flag=$lt_prog_compiler_pic_CXX
14016 compiler_flags=-v
14017 linker_flags=-v
14018 verstring=
14019 output_objdir=.
14020 libname=conftest
14021 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14022 allow_undefined_flag_CXX=
14023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14024 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14025 ac_status=$?
14026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14027 test $ac_status = 0; }
14028 then
14029 lt_cv_archive_cmds_need_lc_CXX=no
14030 else
14031 lt_cv_archive_cmds_need_lc_CXX=yes
14032 fi
14033 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14034 else
14035 cat conftest.err 1>&5
14036 fi
14037 $RM conftest*
14038
14039 fi
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14041 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14042 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14043 ;;
14044 esac
14045 fi
14046 ;;
14047 esac
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14114
14115 library_names_spec=
14116 libname_spec='lib$name'
14117 soname_spec=
14118 shrext_cmds=".so"
14119 postinstall_cmds=
14120 postuninstall_cmds=
14121 finish_cmds=
14122 finish_eval=
14123 shlibpath_var=
14124 shlibpath_overrides_runpath=unknown
14125 version_type=none
14126 dynamic_linker="$host_os ld.so"
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14130
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14134
14135 case $host_os in
14136 aix3*)
14137 version_type=linux
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139 shlibpath_var=LIBPATH
14140
14141 # AIX 3 has no versioning support, so we append a major version to the name.
14142 soname_spec='${libname}${release}${shared_ext}$major'
14143 ;;
14144
14145 aix[4-9]*)
14146 version_type=linux
14147 need_lib_prefix=no
14148 need_version=no
14149 hardcode_into_libs=yes
14150 if test "$host_cpu" = ia64; then
14151 # AIX 5 supports IA64
14152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 else
14155 # With GCC up to 2.95.x, collect2 would create an import file
14156 # for dependence libraries. The import file would start with
14157 # the line `#! .'. This would cause the generated library to
14158 # depend on `.', always an invalid library. This was fixed in
14159 # development snapshots of GCC prior to 3.0.
14160 case $host_os in
14161 aix4 | aix4.[01] | aix4.[01].*)
14162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14163 echo ' yes '
14164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14165 :
14166 else
14167 can_build_shared=no
14168 fi
14169 ;;
14170 esac
14171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172 # soname into executable. Probably we can add versioning support to
14173 # collect2, so additional links can be useful in future.
14174 if test "$aix_use_runtimelinking" = yes; then
14175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176 # instead of lib<name>.a to let people know that these are not
14177 # typical AIX shared libraries.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179 else
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='${libname}${release}.a $libname.a'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14184 fi
14185 shlibpath_var=LIBPATH
14186 fi
14187 ;;
14188
14189 amigaos*)
14190 case $host_cpu in
14191 powerpc)
14192 # Since July 2007 AmigaOS4 officially supports .so libraries.
14193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195 ;;
14196 m68k)
14197 library_names_spec='$libname.ixlibrary $libname.a'
14198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14199 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'
14200 ;;
14201 esac
14202 ;;
14203
14204 beos*)
14205 library_names_spec='${libname}${shared_ext}'
14206 dynamic_linker="$host_os ld.so"
14207 shlibpath_var=LIBRARY_PATH
14208 ;;
14209
14210 bsdi[45]*)
14211 version_type=linux
14212 need_version=no
14213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14214 soname_spec='${libname}${release}${shared_ext}$major'
14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14216 shlibpath_var=LD_LIBRARY_PATH
14217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14219 # the default ld.so.conf also contains /usr/contrib/lib and
14220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14221 # libtool to hard-code these into programs
14222 ;;
14223
14224 cygwin* | mingw* | pw32* | cegcc*)
14225 version_type=windows
14226 shrext_cmds=".dll"
14227 need_version=no
14228 need_lib_prefix=no
14229
14230 case $GCC,$host_os in
14231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14232 library_names_spec='$libname.dll.a'
14233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14234 postinstall_cmds='base_file=`basename \${file}`~
14235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14236 dldir=$destdir/`dirname \$dlpath`~
14237 test -d \$dldir || mkdir -p \$dldir~
14238 $install_prog $dir/$dlname \$dldir/$dlname~
14239 chmod a+x \$dldir/$dlname~
14240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14242 fi'
14243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14244 dlpath=$dir/\$dldll~
14245 $RM \$dlpath'
14246 shlibpath_overrides_runpath=yes
14247
14248 case $host_os in
14249 cygwin*)
14250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14252
14253 ;;
14254 mingw* | cegcc*)
14255 # MinGW DLLs use traditional 'lib' prefix
14256 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14257 ;;
14258 pw32*)
14259 # pw32 DLLs use 'pw' prefix rather than 'lib'
14260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261 ;;
14262 esac
14263 ;;
14264
14265 *)
14266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14267 ;;
14268 esac
14269 dynamic_linker='Win32 ld.exe'
14270 # FIXME: first we should search . and the directory the executable is in
14271 shlibpath_var=PATH
14272 ;;
14273
14274 darwin* | rhapsody*)
14275 dynamic_linker="$host_os dyld"
14276 version_type=darwin
14277 need_lib_prefix=no
14278 need_version=no
14279 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14280 soname_spec='${libname}${release}${major}$shared_ext'
14281 shlibpath_overrides_runpath=yes
14282 shlibpath_var=DYLD_LIBRARY_PATH
14283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14284
14285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14286 ;;
14287
14288 dgux*)
14289 version_type=linux
14290 need_lib_prefix=no
14291 need_version=no
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LD_LIBRARY_PATH
14295 ;;
14296
14297 freebsd* | dragonfly*)
14298 # DragonFly does not have aout. When/if they implement a new
14299 # versioning mechanism, adjust this.
14300 if test -x /usr/bin/objformat; then
14301 objformat=`/usr/bin/objformat`
14302 else
14303 case $host_os in
14304 freebsd[123]*) objformat=aout ;;
14305 *) objformat=elf ;;
14306 esac
14307 fi
14308 version_type=freebsd-$objformat
14309 case $version_type in
14310 freebsd-elf*)
14311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14312 need_version=no
14313 need_lib_prefix=no
14314 ;;
14315 freebsd-*)
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14317 need_version=yes
14318 ;;
14319 esac
14320 shlibpath_var=LD_LIBRARY_PATH
14321 case $host_os in
14322 freebsd2*)
14323 shlibpath_overrides_runpath=yes
14324 ;;
14325 freebsd3.[01]* | freebsdelf3.[01]*)
14326 shlibpath_overrides_runpath=yes
14327 hardcode_into_libs=yes
14328 ;;
14329 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14330 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14331 shlibpath_overrides_runpath=no
14332 hardcode_into_libs=yes
14333 ;;
14334 *) # from 4.6 on, and DragonFly
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14337 ;;
14338 esac
14339 ;;
14340
14341 gnu*)
14342 version_type=linux
14343 need_lib_prefix=no
14344 need_version=no
14345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14346 soname_spec='${libname}${release}${shared_ext}$major'
14347 shlibpath_var=LD_LIBRARY_PATH
14348 hardcode_into_libs=yes
14349 ;;
14350
14351 haiku*)
14352 version_type=linux
14353 need_lib_prefix=no
14354 need_version=no
14355 dynamic_linker="$host_os runtime_loader"
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357 soname_spec='${libname}${release}${shared_ext}$major'
14358 shlibpath_var=LIBRARY_PATH
14359 shlibpath_overrides_runpath=yes
14360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14361 hardcode_into_libs=yes
14362 ;;
14363
14364 hpux9* | hpux10* | hpux11*)
14365 # Give a soname corresponding to the major version so that dld.sl refuses to
14366 # link against other versions.
14367 version_type=sunos
14368 need_lib_prefix=no
14369 need_version=no
14370 case $host_cpu in
14371 ia64*)
14372 shrext_cmds='.so'
14373 hardcode_into_libs=yes
14374 dynamic_linker="$host_os dld.so"
14375 shlibpath_var=LD_LIBRARY_PATH
14376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 if test "X$HPUX_IA64_MODE" = X32; then
14380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14381 else
14382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14383 fi
14384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14385 ;;
14386 hppa*64*)
14387 shrext_cmds='.sl'
14388 hardcode_into_libs=yes
14389 dynamic_linker="$host_os dld.sl"
14390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14396 ;;
14397 *)
14398 shrext_cmds='.sl'
14399 dynamic_linker="$host_os dld.sl"
14400 shlibpath_var=SHLIB_PATH
14401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 ;;
14405 esac
14406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14407 postinstall_cmds='chmod 555 $lib'
14408 # or fails outright, so override atomically:
14409 install_override_mode=555
14410 ;;
14411
14412 interix[3-9]*)
14413 version_type=linux
14414 need_lib_prefix=no
14415 need_version=no
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=no
14421 hardcode_into_libs=yes
14422 ;;
14423
14424 irix5* | irix6* | nonstopux*)
14425 case $host_os in
14426 nonstopux*) version_type=nonstopux ;;
14427 *)
14428 if test "$lt_cv_prog_gnu_ld" = yes; then
14429 version_type=linux
14430 else
14431 version_type=irix
14432 fi ;;
14433 esac
14434 need_lib_prefix=no
14435 need_version=no
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14438 case $host_os in
14439 irix5* | nonstopux*)
14440 libsuff= shlibsuff=
14441 ;;
14442 *)
14443 case $LD in # libtool.m4 will add one of these switches to LD
14444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14445 libsuff= shlibsuff= libmagic=32-bit;;
14446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14447 libsuff=32 shlibsuff=N32 libmagic=N32;;
14448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14450 *) libsuff= shlibsuff= libmagic=never-match;;
14451 esac
14452 ;;
14453 esac
14454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14455 shlibpath_overrides_runpath=no
14456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14458 hardcode_into_libs=yes
14459 ;;
14460
14461 # No shared lib support for Linux oldld, aout, or coff.
14462 linux*oldld* | linux*aout* | linux*coff*)
14463 dynamic_linker=no
14464 ;;
14465
14466 # This must be Linux ELF.
14467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14468 version_type=linux
14469 need_lib_prefix=no
14470 need_version=no
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 shlibpath_overrides_runpath=no
14476
14477 # Some binutils ld are patched to set DT_RUNPATH
14478 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_shlibpath_overrides_runpath=no
14482 save_LDFLAGS=$LDFLAGS
14483 save_libdir=$libdir
14484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14486 if test x$gcc_no_link = xyes; then
14487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14488 fi
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491
14492 int
14493 main ()
14494 {
14495
14496 ;
14497 return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14502 lt_cv_shlibpath_overrides_runpath=yes
14503 fi
14504 fi
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LDFLAGS=$save_LDFLAGS
14508 libdir=$save_libdir
14509
14510 fi
14511
14512 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14513
14514 # This implies no fast_install, which is unacceptable.
14515 # Some rework will be needed to allow for fast_install
14516 # before this can be enabled.
14517 hardcode_into_libs=yes
14518
14519 # Append ld.so.conf contents to the search path
14520 if test -f /etc/ld.so.conf; then
14521 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' ' '`
14522 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14523 fi
14524
14525 # We used to test for /lib/ld.so.1 and disable shared libraries on
14526 # powerpc, because MkLinux only supported shared libraries with the
14527 # GNU dynamic linker. Since this was broken with cross compilers,
14528 # most powerpc-linux boxes support dynamic linking these days and
14529 # people can always --disable-shared, the test was removed, and we
14530 # assume the GNU/Linux dynamic linker is in use.
14531 dynamic_linker='GNU/Linux ld.so'
14532 ;;
14533
14534 netbsd*)
14535 version_type=sunos
14536 need_lib_prefix=no
14537 need_version=no
14538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14541 dynamic_linker='NetBSD (a.out) ld.so'
14542 else
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 dynamic_linker='NetBSD ld.elf_so'
14546 fi
14547 shlibpath_var=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath=yes
14549 hardcode_into_libs=yes
14550 ;;
14551
14552 newsos6)
14553 version_type=linux
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 shlibpath_var=LD_LIBRARY_PATH
14556 shlibpath_overrides_runpath=yes
14557 ;;
14558
14559 *nto* | *qnx*)
14560 version_type=qnx
14561 need_lib_prefix=no
14562 need_version=no
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 shlibpath_var=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath=no
14567 hardcode_into_libs=yes
14568 dynamic_linker='ldqnx.so'
14569 ;;
14570
14571 openbsd*)
14572 version_type=sunos
14573 sys_lib_dlsearch_path_spec="/usr/lib"
14574 need_lib_prefix=no
14575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14576 case $host_os in
14577 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14578 *) need_version=no ;;
14579 esac
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14584 case $host_os in
14585 openbsd2.[89] | openbsd2.[89].*)
14586 shlibpath_overrides_runpath=no
14587 ;;
14588 *)
14589 shlibpath_overrides_runpath=yes
14590 ;;
14591 esac
14592 else
14593 shlibpath_overrides_runpath=yes
14594 fi
14595 ;;
14596
14597 os2*)
14598 libname_spec='$name'
14599 shrext_cmds=".dll"
14600 need_lib_prefix=no
14601 library_names_spec='$libname${shared_ext} $libname.a'
14602 dynamic_linker='OS/2 ld.exe'
14603 shlibpath_var=LIBPATH
14604 ;;
14605
14606 osf3* | osf4* | osf5*)
14607 version_type=osf
14608 need_lib_prefix=no
14609 need_version=no
14610 soname_spec='${libname}${release}${shared_ext}$major'
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14614 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14615 ;;
14616
14617 rdos*)
14618 dynamic_linker=no
14619 ;;
14620
14621 solaris*)
14622 version_type=linux
14623 need_lib_prefix=no
14624 need_version=no
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath=yes
14629 hardcode_into_libs=yes
14630 # ldd complains unless libraries are executable
14631 postinstall_cmds='chmod +x $lib'
14632 ;;
14633
14634 sunos4*)
14635 version_type=sunos
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 if test "$with_gnu_ld" = yes; then
14641 need_lib_prefix=no
14642 fi
14643 need_version=yes
14644 ;;
14645
14646 sysv4 | sysv4.3*)
14647 version_type=linux
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14651 case $host_vendor in
14652 sni)
14653 shlibpath_overrides_runpath=no
14654 need_lib_prefix=no
14655 runpath_var=LD_RUN_PATH
14656 ;;
14657 siemens)
14658 need_lib_prefix=no
14659 ;;
14660 motorola)
14661 need_lib_prefix=no
14662 need_version=no
14663 shlibpath_overrides_runpath=no
14664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14665 ;;
14666 esac
14667 ;;
14668
14669 sysv4*MP*)
14670 if test -d /usr/nec ;then
14671 version_type=linux
14672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14673 soname_spec='$libname${shared_ext}.$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 fi
14676 ;;
14677
14678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14679 version_type=freebsd-elf
14680 need_lib_prefix=no
14681 need_version=no
14682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14683 soname_spec='${libname}${release}${shared_ext}$major'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=yes
14686 hardcode_into_libs=yes
14687 if test "$with_gnu_ld" = yes; then
14688 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14689 else
14690 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14691 case $host_os in
14692 sco3.2v5*)
14693 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14694 ;;
14695 esac
14696 fi
14697 sys_lib_dlsearch_path_spec='/usr/lib'
14698 ;;
14699
14700 tpf*)
14701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14702 version_type=linux
14703 need_lib_prefix=no
14704 need_version=no
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath=no
14708 hardcode_into_libs=yes
14709 ;;
14710
14711 uts4*)
14712 version_type=linux
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 shlibpath_var=LD_LIBRARY_PATH
14716 ;;
14717
14718 *)
14719 dynamic_linker=no
14720 ;;
14721 esac
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14723 $as_echo "$dynamic_linker" >&6; }
14724 test "$dynamic_linker" = no && can_build_shared=no
14725
14726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727 if test "$GCC" = yes; then
14728 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14729 fi
14730
14731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14732 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14733 fi
14734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14735 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14736 fi
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14777 hardcode_action_CXX=
14778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14779 test -n "$runpath_var_CXX" ||
14780 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14781
14782 # We can hardcode non-existent directories.
14783 if test "$hardcode_direct_CXX" != no &&
14784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14785 # have to relink, otherwise we might link with an installed library
14786 # when we should be linking with a yet-to-be-installed one
14787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14788 test "$hardcode_minus_L_CXX" != no; then
14789 # Linking always hardcodes the temporary library directory.
14790 hardcode_action_CXX=relink
14791 else
14792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14793 hardcode_action_CXX=immediate
14794 fi
14795 else
14796 # We cannot hardcode anything, or else we can only hardcode existing
14797 # directories.
14798 hardcode_action_CXX=unsupported
14799 fi
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14801 $as_echo "$hardcode_action_CXX" >&6; }
14802
14803 if test "$hardcode_action_CXX" = relink ||
14804 test "$inherit_rpath_CXX" = yes; then
14805 # Fast installation is not supported
14806 enable_fast_install=no
14807 elif test "$shlibpath_overrides_runpath" = yes ||
14808 test "$enable_shared" = no; then
14809 # Fast installation is not necessary
14810 enable_fast_install=needless
14811 fi
14812
14813
14814
14815
14816
14817
14818
14819 fi # test -n "$compiler"
14820
14821 CC=$lt_save_CC
14822 LDCXX=$LD
14823 LD=$lt_save_LD
14824 GCC=$lt_save_GCC
14825 with_gnu_ld=$lt_save_with_gnu_ld
14826 lt_cv_path_LDCXX=$lt_cv_path_LD
14827 lt_cv_path_LD=$lt_save_path_LD
14828 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14829 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14830 fi # test "$_lt_caught_CXX_error" != yes
14831
14832 ac_ext=c
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850 ac_config_commands="$ac_config_commands libtool"
14851
14852
14853
14854
14855 # Only expand once:
14856
14857
14858
14859
14860
14861 case $host in
14862 *-cygwin* | *-mingw*)
14863 # 'host' will be top-level target in the case of a target lib,
14864 # we must compare to with_cross_host to decide if this is a native
14865 # or cross-compiler and select where to install dlls appropriately.
14866 if test -n "$with_cross_host" &&
14867 test x"$with_cross_host" != x"no"; then
14868 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14869 else
14870 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14871 fi
14872 ;;
14873 *)
14874 lt_host_flags=
14875 ;;
14876 esac
14877
14878
14879
14880
14881
14882
14883 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14884 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14885
14886 # Possibly disable most of the library.
14887 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14888 ## than just ignoring the results. Faster /and/ more correct, win win.
14889
14890 # Check whether --enable-hosted-libstdcxx was given.
14891 if test "${enable_hosted_libstdcxx+set}" = set; then :
14892 enableval=$enable_hosted_libstdcxx;
14893 else
14894 case "$host" in
14895 arm*-*-symbianelf*)
14896 enable_hosted_libstdcxx=no
14897 ;;
14898 *)
14899 enable_hosted_libstdcxx=yes
14900 ;;
14901 esac
14902 fi
14903
14904 if test "$enable_hosted_libstdcxx" = no; then
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14906 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14907 is_hosted=no
14908 hosted_define=0
14909 enable_abi_check=no
14910 enable_libstdcxx_pch=no
14911 else
14912 is_hosted=yes
14913 hosted_define=1
14914 fi
14915
14916
14917 cat >>confdefs.h <<_ACEOF
14918 #define _GLIBCXX_HOSTED $hosted_define
14919 _ACEOF
14920
14921
14922
14923 # Enable compiler support that doesn't require linking.
14924
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14926 $as_echo_n "checking for exception model to use... " >&6; }
14927
14928 ac_ext=cpp
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934 # Check whether --enable-sjlj-exceptions was given.
14935 if test "${enable_sjlj_exceptions+set}" = set; then :
14936 enableval=$enable_sjlj_exceptions;
14937 case "$enableval" in
14938 yes|no|auto) ;;
14939 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14940 esac
14941
14942 else
14943 enable_sjlj_exceptions=auto
14944 fi
14945
14946
14947
14948 if test $enable_sjlj_exceptions = auto; then
14949 # Botheration. Now we've got to detect the exception model. Link tests
14950 # against libgcc.a are problematic since we've not been given proper -L
14951 # bits for single-tree newlib and libgloss.
14952 #
14953 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14954 cat > conftest.$ac_ext << EOF
14955 #line 14955 "configure"
14956 struct S { ~S(); };
14957 void bar();
14958 void foo()
14959 {
14960 S s;
14961 bar();
14962 }
14963 EOF
14964 old_CXXFLAGS="$CXXFLAGS"
14965 CXXFLAGS=-S
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14968 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=yes
14973 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14975 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14976 enable_sjlj_exceptions=no
14977 fi
14978 fi
14979 CXXFLAGS="$old_CXXFLAGS"
14980 rm -f conftest*
14981 fi
14982
14983 # This is a tad weird, for hysterical raisins. We have to map
14984 # enable/disable to two different models.
14985 case $enable_sjlj_exceptions in
14986 yes)
14987
14988 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14989
14990 ac_exception_model_name=sjlj
14991 ;;
14992 no)
14993 ac_exception_model_name="call frame"
14994 ;;
14995 *)
14996 as_fn_error "unable to detect exception model" "$LINENO" 5
14997 ;;
14998 esac
14999 ac_ext=c
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15004
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15006 $as_echo "$ac_exception_model_name" >&6; }
15007
15008
15009 # Check whether --enable-libstdcxx-pch was given.
15010 if test "${enable_libstdcxx_pch+set}" = set; then :
15011 enableval=$enable_libstdcxx_pch;
15012 case "$enableval" in
15013 yes|no) ;;
15014 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15015 esac
15016
15017 else
15018 enable_libstdcxx_pch=$is_hosted
15019 fi
15020
15021
15022 if test $enable_libstdcxx_pch = yes; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15024 $as_echo_n "checking for compiler with PCH support... " >&6; }
15025 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_save_CXXFLAGS="$CXXFLAGS"
15029 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15030
15031 ac_ext=cpp
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15036
15037 echo '#include <math.h>' > conftest.h
15038 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15039 -o conftest.h.gch 1>&5 2>&1 &&
15040 echo '#error "pch failed"' > conftest.h &&
15041 echo '#include "conftest.h"' > conftest.cc &&
15042 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15043 then
15044 glibcxx_cv_prog_CXX_pch=yes
15045 else
15046 glibcxx_cv_prog_CXX_pch=no
15047 fi
15048 rm -f conftest*
15049 CXXFLAGS=$ac_save_CXXFLAGS
15050 ac_ext=c
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15055
15056
15057 fi
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15059 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15060 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15061 fi
15062
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15064 $as_echo_n "checking for enabled PCH... " >&6; }
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15066 $as_echo "$enable_libstdcxx_pch" >&6; }
15067
15068
15069 if test $enable_libstdcxx_pch = yes; then
15070 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15071 else
15072 glibcxx_PCHFLAGS=""
15073 fi
15074
15075
15076
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15078 $as_echo_n "checking for thread model used by GCC... " >&6; }
15079 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15081 $as_echo "$target_thread_file" >&6; }
15082
15083
15084
15085 ac_ext=cpp
15086 ac_cpp='$CXXCPP $CPPFLAGS'
15087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15090
15091 old_CXXFLAGS="$CXXFLAGS"
15092
15093 # Do link tests if possible, instead asm tests, limited to some platforms
15094 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15095 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15096 atomic_builtins_link_tests=no
15097 if test x$gcc_no_link != xyes; then
15098 # Can do link tests. Limit to some tested platforms
15099 case "$host" in
15100 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15101 atomic_builtins_link_tests=yes
15102 ;;
15103 esac
15104 fi
15105
15106 if test x$atomic_builtins_link_tests = xyes; then
15107
15108 # Do link tests.
15109
15110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15111
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15113 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15114 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117
15118 if test x$gcc_no_link = xyes; then
15119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15120 fi
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123
15124 int
15125 main ()
15126 {
15127 typedef bool atomic_type;
15128 atomic_type c1;
15129 atomic_type c2;
15130 const atomic_type c3(0);
15131 __sync_fetch_and_add(&c1, c2);
15132 __sync_val_compare_and_swap(&c1, c3, c2);
15133 __sync_lock_test_and_set(&c1, c3);
15134 __sync_lock_release(&c1);
15135 __sync_synchronize();
15136 ;
15137 return 0;
15138 }
15139 _ACEOF
15140 if ac_fn_cxx_try_link "$LINENO"; then :
15141 glibcxx_cv_atomic_bool=yes
15142 else
15143 glibcxx_cv_atomic_bool=no
15144 fi
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15147
15148 fi
15149
15150 if test $glibcxx_cv_atomic_bool = yes; then
15151
15152 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15153
15154 fi
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15156 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15157
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15159 $as_echo_n "checking for atomic builtins for short... " >&6; }
15160 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163
15164 if test x$gcc_no_link = xyes; then
15165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15166 fi
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169
15170 int
15171 main ()
15172 {
15173 typedef short atomic_type;
15174 atomic_type c1;
15175 atomic_type c2;
15176 const atomic_type c3(0);
15177 __sync_fetch_and_add(&c1, c2);
15178 __sync_val_compare_and_swap(&c1, c3, c2);
15179 __sync_lock_test_and_set(&c1, c3);
15180 __sync_lock_release(&c1);
15181 __sync_synchronize();
15182 ;
15183 return 0;
15184 }
15185 _ACEOF
15186 if ac_fn_cxx_try_link "$LINENO"; then :
15187 glibcxx_cv_atomic_short=yes
15188 else
15189 glibcxx_cv_atomic_short=no
15190 fi
15191 rm -f core conftest.err conftest.$ac_objext \
15192 conftest$ac_exeext conftest.$ac_ext
15193
15194 fi
15195
15196 if test $glibcxx_cv_atomic_short = yes; then
15197
15198 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15199
15200 fi
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15202 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15203
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15205 $as_echo_n "checking for atomic builtins for int... " >&6; }
15206 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15207 $as_echo_n "(cached) " >&6
15208 else
15209
15210 if test x$gcc_no_link = xyes; then
15211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15212 fi
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15215
15216 int
15217 main ()
15218 {
15219 typedef int atomic_type;
15220 atomic_type c1;
15221 atomic_type c2;
15222 const atomic_type c3(0);
15223 __sync_fetch_and_add(&c1, c2);
15224 __sync_val_compare_and_swap(&c1, c3, c2);
15225 __sync_lock_test_and_set(&c1, c3);
15226 __sync_lock_release(&c1);
15227 __sync_synchronize();
15228 ;
15229 return 0;
15230 }
15231 _ACEOF
15232 if ac_fn_cxx_try_link "$LINENO"; then :
15233 glibcxx_cv_atomic_int=yes
15234 else
15235 glibcxx_cv_atomic_int=no
15236 fi
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15239
15240 fi
15241
15242 if test $glibcxx_cv_atomic_int = yes; then
15243
15244 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15245
15246 fi
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15248 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15251 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15252 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258 fi
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261
15262 int
15263 main ()
15264 {
15265 typedef long long atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 const atomic_type c3(0);
15269 __sync_fetch_and_add(&c1, c2);
15270 __sync_val_compare_and_swap(&c1, c3, c2);
15271 __sync_lock_test_and_set(&c1, c3);
15272 __sync_lock_release(&c1);
15273 __sync_synchronize();
15274 ;
15275 return 0;
15276 }
15277 _ACEOF
15278 if ac_fn_cxx_try_link "$LINENO"; then :
15279 glibcxx_cv_atomic_long_long=yes
15280 else
15281 glibcxx_cv_atomic_long_long=no
15282 fi
15283 rm -f core conftest.err conftest.$ac_objext \
15284 conftest$ac_exeext conftest.$ac_ext
15285
15286 fi
15287
15288 if test $glibcxx_cv_atomic_long_long = yes; then
15289
15290 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15291
15292 fi
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15294 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15295
15296 else
15297
15298 # Do asm tests.
15299
15300 # Compile unoptimized.
15301 CXXFLAGS='-O0 -S'
15302
15303 # Fake what AC_TRY_COMPILE does.
15304
15305 cat > conftest.$ac_ext << EOF
15306 #line 15306 "configure"
15307 int main()
15308 {
15309 typedef bool atomic_type;
15310 atomic_type c1;
15311 atomic_type c2;
15312 const atomic_type c3(0);
15313 __sync_fetch_and_add(&c1, c2);
15314 __sync_val_compare_and_swap(&c1, c3, c2);
15315 __sync_lock_test_and_set(&c1, c3);
15316 __sync_lock_release(&c1);
15317 __sync_synchronize();
15318 return 0;
15319 }
15320 EOF
15321
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15323 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15325 (eval $ac_compile) 2>&5
15326 ac_status=$?
15327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15328 test $ac_status = 0; }; then
15329 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15330 glibcxx_cv_atomic_bool=no
15331 else
15332
15333 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15334
15335 glibcxx_cv_atomic_bool=yes
15336 fi
15337 fi
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15339 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15340 rm -f conftest*
15341
15342 cat > conftest.$ac_ext << EOF
15343 #line 15343 "configure"
15344 int main()
15345 {
15346 typedef short atomic_type;
15347 atomic_type c1;
15348 atomic_type c2;
15349 const atomic_type c3(0);
15350 __sync_fetch_and_add(&c1, c2);
15351 __sync_val_compare_and_swap(&c1, c3, c2);
15352 __sync_lock_test_and_set(&c1, c3);
15353 __sync_lock_release(&c1);
15354 __sync_synchronize();
15355 return 0;
15356 }
15357 EOF
15358
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15360 $as_echo_n "checking for atomic builtins for short... " >&6; }
15361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15362 (eval $ac_compile) 2>&5
15363 ac_status=$?
15364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15365 test $ac_status = 0; }; then
15366 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15367 glibcxx_cv_atomic_short=no
15368 else
15369
15370 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15371
15372 glibcxx_cv_atomic_short=yes
15373 fi
15374 fi
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15376 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15377 rm -f conftest*
15378
15379 cat > conftest.$ac_ext << EOF
15380 #line 15380 "configure"
15381 int main()
15382 {
15383 // NB: _Atomic_word not necessarily int.
15384 typedef int atomic_type;
15385 atomic_type c1;
15386 atomic_type c2;
15387 const atomic_type c3(0);
15388 __sync_fetch_and_add(&c1, c2);
15389 __sync_val_compare_and_swap(&c1, c3, c2);
15390 __sync_lock_test_and_set(&c1, c3);
15391 __sync_lock_release(&c1);
15392 __sync_synchronize();
15393 return 0;
15394 }
15395 EOF
15396
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15398 $as_echo_n "checking for atomic builtins for int... " >&6; }
15399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15400 (eval $ac_compile) 2>&5
15401 ac_status=$?
15402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15403 test $ac_status = 0; }; then
15404 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15405 glibcxx_cv_atomic_int=no
15406 else
15407
15408 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15409
15410 glibcxx_cv_atomic_int=yes
15411 fi
15412 fi
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15414 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15415 rm -f conftest*
15416
15417 cat > conftest.$ac_ext << EOF
15418 #line 15418 "configure"
15419 int main()
15420 {
15421 typedef long long atomic_type;
15422 atomic_type c1;
15423 atomic_type c2;
15424 const atomic_type c3(0);
15425 __sync_fetch_and_add(&c1, c2);
15426 __sync_val_compare_and_swap(&c1, c3, c2);
15427 __sync_lock_test_and_set(&c1, c3);
15428 __sync_lock_release(&c1);
15429 __sync_synchronize();
15430 return 0;
15431 }
15432 EOF
15433
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15435 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15436 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15437 (eval $ac_compile) 2>&5
15438 ac_status=$?
15439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15440 test $ac_status = 0; }; then
15441 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15442 glibcxx_cv_atomic_long_long=no
15443 else
15444
15445 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15446
15447 glibcxx_cv_atomic_long_long=yes
15448 fi
15449 fi
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15451 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15452 rm -f conftest*
15453
15454 fi
15455
15456 CXXFLAGS="$old_CXXFLAGS"
15457 ac_ext=c
15458 ac_cpp='$CPP $CPPFLAGS'
15459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15462
15463
15464 # Set atomicity_dir to builtins if either of above tests pass.
15465 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15466 atomicity_dir=cpu/generic/atomicity_builtins
15467 fi
15468
15469 # If still generic, set to mutex.
15470 if test $atomicity_dir = "cpu/generic" ; then
15471 atomicity_dir=cpu/generic/atomicity_mutex
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15473 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15474 if test "x$target_thread_file" = xsingle; then
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15476 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15478 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15479 else
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15481 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15483 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15484 fi
15485 fi
15486
15487
15488
15489
15490 # Fake what AC_TRY_COMPILE does, without linking as this is
15491 # unnecessary for this test.
15492
15493 cat > conftest.$ac_ext << EOF
15494 #line 15494 "configure"
15495 int main()
15496 {
15497 _Decimal32 d1;
15498 _Decimal64 d2;
15499 _Decimal128 d3;
15500 return 0;
15501 }
15502 EOF
15503
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15505 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15507 (eval $ac_compile) 2>&5
15508 ac_status=$?
15509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15510 test $ac_status = 0; }; then
15511
15512 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15513
15514 enable_dfp=yes
15515 else
15516 enable_dfp=no
15517 fi
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15519 $as_echo "$enable_dfp" >&6; }
15520 rm -f conftest*
15521
15522
15523
15524
15525 ac_ext=cpp
15526 ac_cpp='$CXXCPP $CPPFLAGS'
15527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15530
15531
15532 # Fake what AC_TRY_COMPILE does, without linking as this is
15533 # unnecessary for this test.
15534
15535 cat > conftest.$ac_ext << EOF
15536 #line 15536 "configure"
15537 template<typename T1, typename T2>
15538 struct same
15539 { typedef T2 type; };
15540
15541 template<typename T>
15542 struct same<T, T>;
15543
15544 int main()
15545 {
15546 typename same<long, __int128>::type i1;
15547 typename same<long long, __int128>::type i2;
15548 }
15549 EOF
15550
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15552 $as_echo_n "checking for __int128... " >&6; }
15553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15554 (eval $ac_compile) 2>&5
15555 ac_status=$?
15556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15557 test $ac_status = 0; }; then
15558
15559 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15560
15561 enable_int128=yes
15562 else
15563 enable_int128=no
15564 fi
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15566 $as_echo "$enable_int128" >&6; }
15567 rm -f conftest*
15568
15569 cat > conftest.$ac_ext << EOF
15570 #line 15570 "configure"
15571 template<typename T1, typename T2>
15572 struct same
15573 { typedef T2 type; };
15574
15575 template<typename T>
15576 struct same<T, T>;
15577
15578 int main()
15579 {
15580 typename same<double, __float128>::type f1;
15581 typename same<long double, __float128>::type f2;
15582 }
15583 EOF
15584
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15586 $as_echo_n "checking for __float128... " >&6; }
15587 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15588 (eval $ac_compile) 2>&5
15589 ac_status=$?
15590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15591 test $ac_status = 0; }; then
15592
15593 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15594
15595 enable_float128=yes
15596 else
15597 enable_float128=no
15598 fi
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15600 $as_echo "$enable_float128" >&6; }
15601 rm -f conftest*
15602
15603 ac_ext=c
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15608
15609
15610
15611 # Checks for compiler support that doesn't require linking.
15612
15613 # All these tests are for C++; save the language and the compiler flags.
15614 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15615 # found in GLIBCXX_CONFIGURE.
15616
15617 ac_ext=cpp
15618 ac_cpp='$CXXCPP $CPPFLAGS'
15619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15622
15623 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15624 ac_save_CXXFLAGS="$CXXFLAGS"
15625
15626 # Check for maintainer-mode bits.
15627 if test x"$USE_MAINTAINER_MODE" = xno; then
15628 WERROR=''
15629 else
15630 WERROR='-Werror'
15631 fi
15632
15633 # Check for -ffunction-sections -fdata-sections
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15635 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15636 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15638 /* end confdefs.h. */
15639 int foo; void bar() { };
15640 int
15641 main ()
15642 {
15643
15644 ;
15645 return 0;
15646 }
15647 _ACEOF
15648 if ac_fn_cxx_try_compile "$LINENO"; then :
15649 ac_fdsections=yes
15650 else
15651 ac_fdsections=no
15652 fi
15653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15654 if test "$ac_test_CXXFLAGS" = set; then
15655 CXXFLAGS="$ac_save_CXXFLAGS"
15656 else
15657 # this is the suspicious part
15658 CXXFLAGS=''
15659 fi
15660 if test x"$ac_fdsections" = x"yes"; then
15661 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15662 fi
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15664 $as_echo "$ac_fdsections" >&6; }
15665
15666 ac_ext=c
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15671
15672
15673
15674
15675
15676 # Enable all the variable C++ runtime options that don't require linking.
15677
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15679 $as_echo_n "checking for underlying I/O to use... " >&6; }
15680 # Check whether --enable-cstdio was given.
15681 if test "${enable_cstdio+set}" = set; then :
15682 enableval=$enable_cstdio;
15683 case "$enableval" in
15684 stdio) ;;
15685 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15686 esac
15687
15688 else
15689 enable_cstdio=stdio
15690 fi
15691
15692
15693
15694 # Now that libio has been removed, you can have any color you want as long
15695 # as it's black. This is one big no-op until other packages are added, but
15696 # showing the framework never hurts.
15697 case ${enable_cstdio} in
15698 stdio)
15699 CSTDIO_H=config/io/c_io_stdio.h
15700 BASIC_FILE_H=config/io/basic_file_stdio.h
15701 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15703 $as_echo "stdio" >&6; }
15704 ;;
15705 esac
15706
15707
15708
15709
15710
15711
15712 # Check whether --enable-clocale was given.
15713 if test "${enable_clocale+set}" = set; then :
15714 enableval=$enable_clocale;
15715 case "$enableval" in
15716 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15717 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15718 esac
15719
15720 else
15721 enable_clocale=auto
15722 fi
15723
15724
15725
15726 # Deal with gettext issues. Default to not using it (=no) until we detect
15727 # support for it later. Let the user turn it off via --e/d, but let that
15728 # default to on for easier handling.
15729 USE_NLS=no
15730 # Check whether --enable-nls was given.
15731 if test "${enable_nls+set}" = set; then :
15732 enableval=$enable_nls;
15733 else
15734 enable_nls=yes
15735 fi
15736
15737
15738 # Either a known package, or "auto"
15739 if test $enable_clocale = no || test $enable_clocale = yes; then
15740 enable_clocale=auto
15741 fi
15742 enable_clocale_flag=$enable_clocale
15743
15744 # Probe for locale model to use if none specified.
15745 # Default to "generic".
15746 if test $enable_clocale_flag = auto; then
15747 case ${target_os} in
15748 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15749 enable_clocale_flag=gnu
15750 ;;
15751 darwin* | freebsd*)
15752 enable_clocale_flag=darwin
15753 ;;
15754 *)
15755 if test x"$with_newlib" = x"yes"; then
15756 enable_clocale_flag=newlib
15757 else
15758 enable_clocale_flag=generic
15759 fi
15760 ;;
15761 esac
15762 fi
15763
15764 # Sanity check model, and test for special functionality.
15765 if test $enable_clocale_flag = gnu; then
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15768
15769 #include <features.h>
15770 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15771 _GLIBCXX_ok
15772 #endif
15773
15774 _ACEOF
15775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15776 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15777 enable_clocale_flag=gnu
15778 else
15779 enable_clocale_flag=generic
15780 fi
15781 rm -f conftest*
15782
15783
15784 # Set it to scream when it hurts.
15785 ac_save_CFLAGS="$CFLAGS"
15786 CFLAGS="-Wimplicit-function-declaration -Werror"
15787
15788 # Use strxfrm_l if available.
15789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15791 #define _GNU_SOURCE 1
15792 #include <string.h>
15793 #include <locale.h>
15794 int
15795 main ()
15796 {
15797 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15798 ;
15799 return 0;
15800 }
15801 _ACEOF
15802 if ac_fn_c_try_compile "$LINENO"; then :
15803
15804 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15805
15806 fi
15807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15808
15809 # Use strerror_l if available.
15810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15812 #define _GNU_SOURCE 1
15813 #include <string.h>
15814 #include <locale.h>
15815 int
15816 main ()
15817 {
15818 __locale_t loc; strerror_l(5, loc);
15819 ;
15820 return 0;
15821 }
15822 _ACEOF
15823 if ac_fn_c_try_compile "$LINENO"; then :
15824
15825 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15826
15827 fi
15828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829
15830 CFLAGS="$ac_save_CFLAGS"
15831 fi
15832
15833 # Perhaps use strerror_r if available, and strerror_l isn't.
15834 ac_save_CFLAGS="$CFLAGS"
15835 CFLAGS="-Wimplicit-function-declaration -Werror"
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838 #define _GNU_SOURCE 1
15839 #include <string.h>
15840 #include <locale.h>
15841 int
15842 main ()
15843 {
15844 char s[128]; strerror_r(5, s, 128);
15845 ;
15846 return 0;
15847 }
15848 _ACEOF
15849 if ac_fn_c_try_compile "$LINENO"; then :
15850
15851 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15852
15853 fi
15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855 CFLAGS="$ac_save_CFLAGS"
15856
15857 # Set configure bits for specified locale package
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15859 $as_echo_n "checking for C locale to use... " >&6; }
15860 case ${enable_clocale_flag} in
15861 generic)
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15863 $as_echo "generic" >&6; }
15864
15865 CLOCALE_H=config/locale/generic/c_locale.h
15866 CLOCALE_CC=config/locale/generic/c_locale.cc
15867 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15868 CCOLLATE_CC=config/locale/generic/collate_members.cc
15869 CCTYPE_CC=config/locale/generic/ctype_members.cc
15870 CMESSAGES_H=config/locale/generic/messages_members.h
15871 CMESSAGES_CC=config/locale/generic/messages_members.cc
15872 CMONEY_CC=config/locale/generic/monetary_members.cc
15873 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15874 CTIME_H=config/locale/generic/time_members.h
15875 CTIME_CC=config/locale/generic/time_members.cc
15876 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15877 ;;
15878 darwin)
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15880 $as_echo "darwin or freebsd" >&6; }
15881
15882 CLOCALE_H=config/locale/generic/c_locale.h
15883 CLOCALE_CC=config/locale/generic/c_locale.cc
15884 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15885 CCOLLATE_CC=config/locale/generic/collate_members.cc
15886 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15887 CMESSAGES_H=config/locale/generic/messages_members.h
15888 CMESSAGES_CC=config/locale/generic/messages_members.cc
15889 CMONEY_CC=config/locale/generic/monetary_members.cc
15890 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15891 CTIME_H=config/locale/generic/time_members.h
15892 CTIME_CC=config/locale/generic/time_members.cc
15893 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15894 ;;
15895
15896 gnu)
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15898 $as_echo "gnu" >&6; }
15899
15900 # Declare intention to use gettext, and add support for specific
15901 # languages.
15902 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15903 ALL_LINGUAS="de fr"
15904
15905 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15906 # Extract the first word of "msgfmt", so it can be a program name with args.
15907 set dummy msgfmt; ac_word=$2
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15909 $as_echo_n "checking for $ac_word... " >&6; }
15910 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15911 $as_echo_n "(cached) " >&6
15912 else
15913 if test -n "$check_msgfmt"; then
15914 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15915 else
15916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15917 for as_dir in $PATH
15918 do
15919 IFS=$as_save_IFS
15920 test -z "$as_dir" && as_dir=.
15921 for ac_exec_ext in '' $ac_executable_extensions; do
15922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15923 ac_cv_prog_check_msgfmt="yes"
15924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15925 break 2
15926 fi
15927 done
15928 done
15929 IFS=$as_save_IFS
15930
15931 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15932 fi
15933 fi
15934 check_msgfmt=$ac_cv_prog_check_msgfmt
15935 if test -n "$check_msgfmt"; then
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15937 $as_echo "$check_msgfmt" >&6; }
15938 else
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15940 $as_echo "no" >&6; }
15941 fi
15942
15943
15944 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15945 USE_NLS=yes
15946 fi
15947 # Export the build objects.
15948 for ling in $ALL_LINGUAS; do \
15949 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15950 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15951 done
15952
15953
15954
15955 CLOCALE_H=config/locale/gnu/c_locale.h
15956 CLOCALE_CC=config/locale/gnu/c_locale.cc
15957 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15958 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15959 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15960 CMESSAGES_H=config/locale/gnu/messages_members.h
15961 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15962 CMONEY_CC=config/locale/gnu/monetary_members.cc
15963 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15964 CTIME_H=config/locale/gnu/time_members.h
15965 CTIME_CC=config/locale/gnu/time_members.cc
15966 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15967 ;;
15968 ieee_1003.1-2001)
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15970 $as_echo "IEEE 1003.1" >&6; }
15971
15972 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15973 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15974 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15975 CCOLLATE_CC=config/locale/generic/collate_members.cc
15976 CCTYPE_CC=config/locale/generic/ctype_members.cc
15977 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15978 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15979 CMONEY_CC=config/locale/generic/monetary_members.cc
15980 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15981 CTIME_H=config/locale/generic/time_members.h
15982 CTIME_CC=config/locale/generic/time_members.cc
15983 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15984 ;;
15985 newlib)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15987 $as_echo "newlib" >&6; }
15988
15989 CLOCALE_H=config/locale/generic/c_locale.h
15990 CLOCALE_CC=config/locale/generic/c_locale.cc
15991 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/generic/collate_members.cc
15993 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/generic/monetary_members.cc
15997 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15998 CTIME_H=config/locale/generic/time_members.h
15999 CTIME_CC=config/locale/generic/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16001 ;;
16002 esac
16003
16004 # This is where the testsuite looks for locale catalogs, using the
16005 # -DLOCALEDIR define during testsuite compilation.
16006 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16007
16008
16009 # A standalone libintl (e.g., GNU libintl) may be in use.
16010 if test $USE_NLS = yes; then
16011 for ac_header in libintl.h
16012 do :
16013 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16014 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_LIBINTL_H 1
16017 _ACEOF
16018
16019 else
16020 USE_NLS=no
16021 fi
16022
16023 done
16024
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16026 $as_echo_n "checking for library containing gettext... " >&6; }
16027 if test "${ac_cv_search_gettext+set}" = set; then :
16028 $as_echo_n "(cached) " >&6
16029 else
16030 ac_func_search_save_LIBS=$LIBS
16031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16033
16034 /* Override any GCC internal prototype to avoid an error.
16035 Use char because int might match the return type of a GCC
16036 builtin and then its argument prototype would still apply. */
16037 #ifdef __cplusplus
16038 extern "C"
16039 #endif
16040 char gettext ();
16041 int
16042 main ()
16043 {
16044 return gettext ();
16045 ;
16046 return 0;
16047 }
16048 _ACEOF
16049 for ac_lib in '' intl; do
16050 if test -z "$ac_lib"; then
16051 ac_res="none required"
16052 else
16053 ac_res=-l$ac_lib
16054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16055 fi
16056 if test x$gcc_no_link = xyes; then
16057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16058 fi
16059 if ac_fn_c_try_link "$LINENO"; then :
16060 ac_cv_search_gettext=$ac_res
16061 fi
16062 rm -f core conftest.err conftest.$ac_objext \
16063 conftest$ac_exeext
16064 if test "${ac_cv_search_gettext+set}" = set; then :
16065 break
16066 fi
16067 done
16068 if test "${ac_cv_search_gettext+set}" = set; then :
16069
16070 else
16071 ac_cv_search_gettext=no
16072 fi
16073 rm conftest.$ac_ext
16074 LIBS=$ac_func_search_save_LIBS
16075 fi
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16077 $as_echo "$ac_cv_search_gettext" >&6; }
16078 ac_res=$ac_cv_search_gettext
16079 if test "$ac_res" != no; then :
16080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16081
16082 else
16083 USE_NLS=no
16084 fi
16085
16086 fi
16087 if test $USE_NLS = yes; then
16088
16089 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16090
16091 fi
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16109 $as_echo_n "checking for std::allocator base class... " >&6; }
16110 # Check whether --enable-libstdcxx-allocator was given.
16111 if test "${enable_libstdcxx_allocator+set}" = set; then :
16112 enableval=$enable_libstdcxx_allocator;
16113 case "$enableval" in
16114 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16115 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16116 esac
16117
16118 else
16119 enable_libstdcxx_allocator=auto
16120 fi
16121
16122
16123
16124 # If they didn't use this option switch, or if they specified --enable
16125 # with no specific model, we'll have to look for one. If they
16126 # specified --disable (???), do likewise.
16127 if test $enable_libstdcxx_allocator = no ||
16128 test $enable_libstdcxx_allocator = yes;
16129 then
16130 enable_libstdcxx_allocator=auto
16131 fi
16132
16133 # Either a known package, or "auto". Auto implies the default choice
16134 # for a particular platform.
16135 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16136
16137 # Probe for host-specific support if no specific model is specified.
16138 # Default to "new".
16139 if test $enable_libstdcxx_allocator_flag = auto; then
16140 case ${target_os} in
16141 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16142 enable_libstdcxx_allocator_flag=new
16143 ;;
16144 *)
16145 enable_libstdcxx_allocator_flag=new
16146 ;;
16147 esac
16148 fi
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16150 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16151
16152
16153 # Set configure bits for specified locale package
16154 case ${enable_libstdcxx_allocator_flag} in
16155 bitmap)
16156 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16157 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16158 ;;
16159 malloc)
16160 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16161 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16162 ;;
16163 mt)
16164 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16165 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16166 ;;
16167 new)
16168 ALLOCATOR_H=config/allocator/new_allocator_base.h
16169 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16170 ;;
16171 pool)
16172 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16173 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16174 ;;
16175 esac
16176
16177
16178
16179
16180
16181 # Check whether --enable-cheaders was given.
16182 if test "${enable_cheaders+set}" = set; then :
16183 enableval=$enable_cheaders;
16184 case "$enableval" in
16185 c|c_std|c_global) ;;
16186 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16187 esac
16188
16189 else
16190 enable_cheaders=$c_model
16191 fi
16192
16193
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16195 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16196
16197 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16198
16199 # Allow overrides to configure.host here.
16200 if test $enable_cheaders = c_global; then
16201 c_compatibility=yes
16202 fi
16203
16204
16205
16206
16207
16208
16209
16210 # Check whether --enable-long-long was given.
16211 if test "${enable_long_long+set}" = set; then :
16212 enableval=$enable_long_long;
16213 case "$enableval" in
16214 yes|no) ;;
16215 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16216 esac
16217
16218 else
16219 enable_long_long=yes
16220 fi
16221
16222
16223 if test $enable_long_long = yes; then
16224
16225 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16226
16227 fi
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16229 $as_echo_n "checking for enabled long long specializations... " >&6; }
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16231 $as_echo "$enable_long_long" >&6; }
16232
16233
16234 # Check whether --enable-wchar_t was given.
16235 if test "${enable_wchar_t+set}" = set; then :
16236 enableval=$enable_wchar_t;
16237 case "$enableval" in
16238 yes|no) ;;
16239 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16240 esac
16241
16242 else
16243 enable_wchar_t=yes
16244 fi
16245
16246
16247
16248 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16249 for ac_header in wchar.h
16250 do :
16251 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16252 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_WCHAR_H 1
16255 _ACEOF
16256 ac_has_wchar_h=yes
16257 else
16258 ac_has_wchar_h=no
16259 fi
16260
16261 done
16262
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16264 $as_echo_n "checking for mbstate_t... " >&6; }
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16267 #include <wchar.h>
16268 int
16269 main ()
16270 {
16271 mbstate_t teststate;
16272 ;
16273 return 0;
16274 }
16275 _ACEOF
16276 if ac_fn_c_try_compile "$LINENO"; then :
16277 have_mbstate_t=yes
16278 else
16279 have_mbstate_t=no
16280 fi
16281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16283 $as_echo "$have_mbstate_t" >&6; }
16284 if test x"$have_mbstate_t" = xyes; then
16285
16286 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16287
16288 fi
16289
16290 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16291 # ac_has_wchar_h.
16292 for ac_header in wctype.h
16293 do :
16294 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16295 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_WCTYPE_H 1
16298 _ACEOF
16299 ac_has_wctype_h=yes
16300 else
16301 ac_has_wctype_h=no
16302 fi
16303
16304 done
16305
16306
16307 if test x"$enable_wchar_t" = x"yes"; then
16308
16309
16310 ac_ext=cpp
16311 ac_cpp='$CXXCPP $CPPFLAGS'
16312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16315
16316
16317 if test x"$ac_has_wchar_h" = xyes &&
16318 test x"$ac_has_wctype_h" = xyes; then
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16321 #include <wchar.h>
16322 #include <stddef.h>
16323 wint_t i;
16324 long l = WEOF;
16325 long j = WCHAR_MIN;
16326 long k = WCHAR_MAX;
16327 namespace test
16328 {
16329 using ::btowc;
16330 using ::fgetwc;
16331 using ::fgetws;
16332 using ::fputwc;
16333 using ::fputws;
16334 using ::fwide;
16335 using ::fwprintf;
16336 using ::fwscanf;
16337 using ::getwc;
16338 using ::getwchar;
16339 using ::mbrlen;
16340 using ::mbrtowc;
16341 using ::mbsinit;
16342 using ::mbsrtowcs;
16343 using ::putwc;
16344 using ::putwchar;
16345 using ::swprintf;
16346 using ::swscanf;
16347 using ::ungetwc;
16348 using ::vfwprintf;
16349 using ::vswprintf;
16350 using ::vwprintf;
16351 using ::wcrtomb;
16352 using ::wcscat;
16353 using ::wcschr;
16354 using ::wcscmp;
16355 using ::wcscoll;
16356 using ::wcscpy;
16357 using ::wcscspn;
16358 using ::wcsftime;
16359 using ::wcslen;
16360 using ::wcsncat;
16361 using ::wcsncmp;
16362 using ::wcsncpy;
16363 using ::wcspbrk;
16364 using ::wcsrchr;
16365 using ::wcsrtombs;
16366 using ::wcsspn;
16367 using ::wcsstr;
16368 using ::wcstod;
16369 using ::wcstok;
16370 using ::wcstol;
16371 using ::wcstoul;
16372 using ::wcsxfrm;
16373 using ::wctob;
16374 using ::wmemchr;
16375 using ::wmemcmp;
16376 using ::wmemcpy;
16377 using ::wmemmove;
16378 using ::wmemset;
16379 using ::wprintf;
16380 using ::wscanf;
16381 }
16382
16383 int
16384 main ()
16385 {
16386
16387 ;
16388 return 0;
16389 }
16390 _ACEOF
16391 if ac_fn_cxx_try_compile "$LINENO"; then :
16392
16393 else
16394 enable_wchar_t=no
16395 fi
16396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16397 else
16398 enable_wchar_t=no
16399 fi
16400
16401 ac_ext=c
16402 ac_cpp='$CPP $CPPFLAGS'
16403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16406
16407 fi
16408
16409 if test x"$enable_wchar_t" = x"yes"; then
16410
16411 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16412
16413 fi
16414
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16416 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16418 $as_echo "$enable_wchar_t" >&6; }
16419
16420
16421
16422 # Check whether --enable-c99 was given.
16423 if test "${enable_c99+set}" = set; then :
16424 enableval=$enable_c99;
16425 case "$enableval" in
16426 yes|no) ;;
16427 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16428 esac
16429
16430 else
16431 enable_c99=yes
16432 fi
16433
16434
16435
16436 if test x"$enable_c99" = x"yes"; then
16437
16438
16439 ac_ext=cpp
16440 ac_cpp='$CXXCPP $CPPFLAGS'
16441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16444
16445
16446 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16447 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16448 # spuriously enabled.
16449 # Long term, -std=c++0x could be even better, could manage to explicitely
16450 # request C99 facilities to the underlying C headers.
16451 ac_save_CXXFLAGS="$CXXFLAGS"
16452 CXXFLAGS="$CXXFLAGS -std=c++98"
16453 ac_save_LIBS="$LIBS"
16454 ac_save_gcc_no_link="$gcc_no_link"
16455
16456 if test x$gcc_no_link != xyes; then
16457 # Use -fno-exceptions to that the C driver can link these tests without
16458 # hitting undefined references to personality routines.
16459 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16461 $as_echo_n "checking for sin in -lm... " >&6; }
16462 if test "${ac_cv_lib_m_sin+set}" = set; then :
16463 $as_echo_n "(cached) " >&6
16464 else
16465 ac_check_lib_save_LIBS=$LIBS
16466 LIBS="-lm $LIBS"
16467 if test x$gcc_no_link = xyes; then
16468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16469 fi
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472
16473 /* Override any GCC internal prototype to avoid an error.
16474 Use char because int might match the return type of a GCC
16475 builtin and then its argument prototype would still apply. */
16476 #ifdef __cplusplus
16477 extern "C"
16478 #endif
16479 char sin ();
16480 int
16481 main ()
16482 {
16483 return sin ();
16484 ;
16485 return 0;
16486 }
16487 _ACEOF
16488 if ac_fn_cxx_try_link "$LINENO"; then :
16489 ac_cv_lib_m_sin=yes
16490 else
16491 ac_cv_lib_m_sin=no
16492 fi
16493 rm -f core conftest.err conftest.$ac_objext \
16494 conftest$ac_exeext conftest.$ac_ext
16495 LIBS=$ac_check_lib_save_LIBS
16496 fi
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16498 $as_echo "$ac_cv_lib_m_sin" >&6; }
16499 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16500
16501 LIBS="$LIBS -lm"
16502
16503 else
16504
16505 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16506 gcc_no_link=yes
16507
16508 fi
16509
16510 fi
16511
16512 # Check for the existence of <math.h> functions used if C99 is enabled.
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16514 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16515 if test "${glibcxx_cv_c99_math+set}" = set; then :
16516 $as_echo_n "(cached) " >&6
16517 else
16518
16519 if test x$gcc_no_link = xyes; then
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16522 #include <math.h>
16523 volatile double d1, d2;
16524 volatile int i;
16525 int
16526 main ()
16527 {
16528 i = fpclassify(d1);
16529 i = isfinite(d1);
16530 i = isinf(d1);
16531 i = isnan(d1);
16532 i = isnormal(d1);
16533 i = signbit(d1);
16534 i = isgreater(d1, d2);
16535 i = isgreaterequal(d1, d2);
16536 i = isless(d1, d2);
16537 i = islessequal(d1, d2);
16538 i = islessgreater(d1, d2);
16539 i = islessgreater(d1, d2);
16540 i = isunordered(d1, d2);
16541
16542 ;
16543 return 0;
16544 }
16545 _ACEOF
16546 if ac_fn_cxx_try_compile "$LINENO"; then :
16547 glibcxx_cv_c99_math=yes
16548 else
16549 glibcxx_cv_c99_math=no
16550 fi
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 else
16553 if test x$gcc_no_link = xyes; then
16554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16555 fi
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16558 #include <math.h>
16559 volatile double d1, d2;
16560 volatile int i;
16561 int
16562 main ()
16563 {
16564 i = fpclassify(d1);
16565 i = isfinite(d1);
16566 i = isinf(d1);
16567 i = isnan(d1);
16568 i = isnormal(d1);
16569 i = signbit(d1);
16570 i = isgreater(d1, d2);
16571 i = isgreaterequal(d1, d2);
16572 i = isless(d1, d2);
16573 i = islessequal(d1, d2);
16574 i = islessgreater(d1, d2);
16575 i = islessgreater(d1, d2);
16576 i = isunordered(d1, d2);
16577
16578 ;
16579 return 0;
16580 }
16581 _ACEOF
16582 if ac_fn_cxx_try_link "$LINENO"; then :
16583 glibcxx_cv_c99_math=yes
16584 else
16585 glibcxx_cv_c99_math=no
16586 fi
16587 rm -f core conftest.err conftest.$ac_objext \
16588 conftest$ac_exeext conftest.$ac_ext
16589 fi
16590
16591 fi
16592
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16594 $as_echo "$glibcxx_cv_c99_math" >&6; }
16595 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16596
16597 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16598
16599 fi
16600
16601 # Check for the existence of <complex.h> complex math functions.
16602 # This is necessary even though libstdc++ uses the builtin versions
16603 # of these functions, because if the builtin cannot be used, a reference
16604 # to the library function is emitted.
16605 for ac_header in tgmath.h
16606 do :
16607 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16608 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_TGMATH_H 1
16611 _ACEOF
16612 ac_has_tgmath_h=yes
16613 else
16614 ac_has_tgmath_h=no
16615 fi
16616
16617 done
16618
16619 for ac_header in complex.h
16620 do :
16621 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16622 if test "x$ac_cv_header_complex_h" = x""yes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_COMPLEX_H 1
16625 _ACEOF
16626 ac_has_complex_h=yes
16627 else
16628 ac_has_complex_h=no
16629 fi
16630
16631 done
16632
16633 glibcxx_cv_c99_complex=no;
16634 if test x"$ac_has_complex_h" = x"yes"; then
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16636 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16637 if test x$gcc_no_link = xyes; then
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #include <complex.h>
16641 typedef __complex__ float float_type;
16642 typedef __complex__ double double_type;
16643 typedef __complex__ long double ld_type;
16644 volatile float_type tmpf;
16645 volatile double_type tmpd;
16646 volatile ld_type tmpld;
16647 volatile float f;
16648 volatile double d;
16649 volatile long double ld;
16650 int
16651 main ()
16652 {
16653 f = cabsf(tmpf);
16654 f = cargf(tmpf);
16655 tmpf = ccosf(tmpf);
16656 tmpf = ccoshf(tmpf);
16657 tmpf = cexpf(tmpf);
16658 tmpf = clogf(tmpf);
16659 tmpf = csinf(tmpf);
16660 tmpf = csinhf(tmpf);
16661 tmpf = csqrtf(tmpf);
16662 tmpf = ctanf(tmpf);
16663 tmpf = ctanhf(tmpf);
16664 tmpf = cpowf(tmpf, tmpf);
16665 tmpf = cprojf(tmpf);
16666 d = cabs(tmpd);
16667 d = carg(tmpd);
16668 tmpd = ccos(tmpd);
16669 tmpd = ccosh(tmpd);
16670 tmpd = cexp(tmpd);
16671 tmpd = clog(tmpd);
16672 tmpd = csin(tmpd);
16673 tmpd = csinh(tmpd);
16674 tmpd = csqrt(tmpd);
16675 tmpd = ctan(tmpd);
16676 tmpd = ctanh(tmpd);
16677 tmpd = cpow(tmpd, tmpd);
16678 tmpd = cproj(tmpd);
16679 ld = cabsl(tmpld);
16680 ld = cargl(tmpld);
16681 tmpld = ccosl(tmpld);
16682 tmpld = ccoshl(tmpld);
16683 tmpld = cexpl(tmpld);
16684 tmpld = clogl(tmpld);
16685 tmpld = csinl(tmpld);
16686 tmpld = csinhl(tmpld);
16687 tmpld = csqrtl(tmpld);
16688 tmpld = ctanl(tmpld);
16689 tmpld = ctanhl(tmpld);
16690 tmpld = cpowl(tmpld, tmpld);
16691 tmpld = cprojl(tmpld);
16692
16693 ;
16694 return 0;
16695 }
16696 _ACEOF
16697 if ac_fn_cxx_try_compile "$LINENO"; then :
16698 glibcxx_cv_c99_complex=yes
16699 else
16700 glibcxx_cv_c99_complex=no
16701 fi
16702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16703 else
16704 if test x$gcc_no_link = xyes; then
16705 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16706 fi
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #include <complex.h>
16710 typedef __complex__ float float_type;
16711 typedef __complex__ double double_type;
16712 typedef __complex__ long double ld_type;
16713 volatile float_type tmpf;
16714 volatile double_type tmpd;
16715 volatile ld_type tmpld;
16716 volatile float f;
16717 volatile double d;
16718 volatile long double ld;
16719 int
16720 main ()
16721 {
16722 f = cabsf(tmpf);
16723 f = cargf(tmpf);
16724 tmpf = ccosf(tmpf);
16725 tmpf = ccoshf(tmpf);
16726 tmpf = cexpf(tmpf);
16727 tmpf = clogf(tmpf);
16728 tmpf = csinf(tmpf);
16729 tmpf = csinhf(tmpf);
16730 tmpf = csqrtf(tmpf);
16731 tmpf = ctanf(tmpf);
16732 tmpf = ctanhf(tmpf);
16733 tmpf = cpowf(tmpf, tmpf);
16734 tmpf = cprojf(tmpf);
16735 d = cabs(tmpd);
16736 d = carg(tmpd);
16737 tmpd = ccos(tmpd);
16738 tmpd = ccosh(tmpd);
16739 tmpd = cexp(tmpd);
16740 tmpd = clog(tmpd);
16741 tmpd = csin(tmpd);
16742 tmpd = csinh(tmpd);
16743 tmpd = csqrt(tmpd);
16744 tmpd = ctan(tmpd);
16745 tmpd = ctanh(tmpd);
16746 tmpd = cpow(tmpd, tmpd);
16747 tmpd = cproj(tmpd);
16748 ld = cabsl(tmpld);
16749 ld = cargl(tmpld);
16750 tmpld = ccosl(tmpld);
16751 tmpld = ccoshl(tmpld);
16752 tmpld = cexpl(tmpld);
16753 tmpld = clogl(tmpld);
16754 tmpld = csinl(tmpld);
16755 tmpld = csinhl(tmpld);
16756 tmpld = csqrtl(tmpld);
16757 tmpld = ctanl(tmpld);
16758 tmpld = ctanhl(tmpld);
16759 tmpld = cpowl(tmpld, tmpld);
16760 tmpld = cprojl(tmpld);
16761
16762 ;
16763 return 0;
16764 }
16765 _ACEOF
16766 if ac_fn_cxx_try_link "$LINENO"; then :
16767 glibcxx_cv_c99_complex=yes
16768 else
16769 glibcxx_cv_c99_complex=no
16770 fi
16771 rm -f core conftest.err conftest.$ac_objext \
16772 conftest$ac_exeext conftest.$ac_ext
16773 fi
16774 fi
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16776 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16777 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16778
16779 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16780
16781 fi
16782
16783 # Check for the existence in <stdio.h> of vscanf, et. al.
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16785 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16786 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789
16790 if test x$gcc_no_link = xyes; then
16791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792 /* end confdefs.h. */
16793 #include <stdio.h>
16794 #include <stdarg.h>
16795 void foo(char* fmt, ...)
16796 {
16797 va_list args; va_start(args, fmt);
16798 vfscanf(stderr, "%i", args);
16799 vscanf("%i", args);
16800 vsnprintf(fmt, 0, "%i", args);
16801 vsscanf(fmt, "%i", args);
16802 }
16803 int
16804 main ()
16805 {
16806 snprintf("12", 0, "%i");
16807 ;
16808 return 0;
16809 }
16810 _ACEOF
16811 if ac_fn_cxx_try_compile "$LINENO"; then :
16812 glibcxx_cv_c99_stdio=yes
16813 else
16814 glibcxx_cv_c99_stdio=no
16815 fi
16816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16817 else
16818 if test x$gcc_no_link = xyes; then
16819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16820 fi
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823 #include <stdio.h>
16824 #include <stdarg.h>
16825 void foo(char* fmt, ...)
16826 {
16827 va_list args; va_start(args, fmt);
16828 vfscanf(stderr, "%i", args);
16829 vscanf("%i", args);
16830 vsnprintf(fmt, 0, "%i", args);
16831 vsscanf(fmt, "%i", args);
16832 }
16833 int
16834 main ()
16835 {
16836 snprintf("12", 0, "%i");
16837 ;
16838 return 0;
16839 }
16840 _ACEOF
16841 if ac_fn_cxx_try_link "$LINENO"; then :
16842 glibcxx_cv_c99_stdio=yes
16843 else
16844 glibcxx_cv_c99_stdio=no
16845 fi
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16848 fi
16849
16850 fi
16851
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16853 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16854
16855 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16857 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16858 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861
16862 if test x$gcc_no_link = xyes; then
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16865 #include <stdlib.h>
16866 volatile float f;
16867 volatile long double ld;
16868 volatile unsigned long long ll;
16869 lldiv_t mydivt;
16870 int
16871 main ()
16872 {
16873 char* tmp;
16874 f = strtof("gnu", &tmp);
16875 ld = strtold("gnu", &tmp);
16876 ll = strtoll("gnu", &tmp, 10);
16877 ll = strtoull("gnu", &tmp, 10);
16878 ll = llabs(10);
16879 mydivt = lldiv(10,1);
16880 ll = mydivt.quot;
16881 ll = mydivt.rem;
16882 ll = atoll("10");
16883 _Exit(0);
16884
16885 ;
16886 return 0;
16887 }
16888 _ACEOF
16889 if ac_fn_cxx_try_compile "$LINENO"; then :
16890 glibcxx_cv_c99_stdlib=yes
16891 else
16892 glibcxx_cv_c99_stdlib=no
16893 fi
16894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16895 else
16896 if test x$gcc_no_link = xyes; then
16897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16898 fi
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 #include <stdlib.h>
16902 volatile float f;
16903 volatile long double ld;
16904 volatile unsigned long long ll;
16905 lldiv_t mydivt;
16906 int
16907 main ()
16908 {
16909 char* tmp;
16910 f = strtof("gnu", &tmp);
16911 ld = strtold("gnu", &tmp);
16912 ll = strtoll("gnu", &tmp, 10);
16913 ll = strtoull("gnu", &tmp, 10);
16914 ll = llabs(10);
16915 mydivt = lldiv(10,1);
16916 ll = mydivt.quot;
16917 ll = mydivt.rem;
16918 ll = atoll("10");
16919 _Exit(0);
16920
16921 ;
16922 return 0;
16923 }
16924 _ACEOF
16925 if ac_fn_cxx_try_link "$LINENO"; then :
16926 glibcxx_cv_c99_stdlib=yes
16927 else
16928 glibcxx_cv_c99_stdlib=no
16929 fi
16930 rm -f core conftest.err conftest.$ac_objext \
16931 conftest$ac_exeext conftest.$ac_ext
16932 fi
16933
16934 fi
16935
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16937 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16938
16939 # Check for the existence in <wchar.h> of wcstold, etc.
16940 glibcxx_cv_c99_wchar=no;
16941 if test x"$ac_has_wchar_h" = xyes &&
16942 test x"$ac_has_wctype_h" = xyes; then
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16944 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <wchar.h>
16948 namespace test
16949 {
16950 using ::wcstold;
16951 using ::wcstoll;
16952 using ::wcstoull;
16953 }
16954
16955 int
16956 main ()
16957 {
16958
16959 ;
16960 return 0;
16961 }
16962 _ACEOF
16963 if ac_fn_cxx_try_compile "$LINENO"; then :
16964 glibcxx_cv_c99_wchar=yes
16965 else
16966 glibcxx_cv_c99_wchar=no
16967 fi
16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16969
16970 # Checks for wide character functions that may not be present.
16971 # Injection of these is wrapped with guard macros.
16972 # NB: only put functions here, instead of immediately above, if
16973 # absolutely necessary.
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16976 #include <wchar.h>
16977 namespace test { using ::vfwscanf; }
16978 int
16979 main ()
16980 {
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 if ac_fn_cxx_try_compile "$LINENO"; then :
16987
16988 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16989
16990 fi
16991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992
16993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16994 /* end confdefs.h. */
16995 #include <wchar.h>
16996 namespace test { using ::vswscanf; }
16997 int
16998 main ()
16999 {
17000
17001 ;
17002 return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_cxx_try_compile "$LINENO"; then :
17006
17007 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17008
17009 fi
17010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17011
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17014 #include <wchar.h>
17015 namespace test { using ::vwscanf; }
17016 int
17017 main ()
17018 {
17019
17020 ;
17021 return 0;
17022 }
17023 _ACEOF
17024 if ac_fn_cxx_try_compile "$LINENO"; then :
17025
17026 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17027
17028 fi
17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <wchar.h>
17034 namespace test { using ::wcstof; }
17035 int
17036 main ()
17037 {
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044
17045 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17046
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #include <wctype.h>
17053 int
17054 main ()
17055 {
17056 wint_t t; int i = iswblank(t);
17057 ;
17058 return 0;
17059 }
17060 _ACEOF
17061 if ac_fn_cxx_try_compile "$LINENO"; then :
17062
17063 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17064
17065 fi
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17069 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17070 fi
17071
17072 # Option parsed, now set things appropriately.
17073 if test x"$glibcxx_cv_c99_math" = x"no" ||
17074 test x"$glibcxx_cv_c99_complex" = x"no" ||
17075 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17076 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17077 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17078 enable_c99=no;
17079 else
17080
17081 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17082
17083 fi
17084
17085 gcc_no_link="$ac_save_gcc_no_link"
17086 LIBS="$ac_save_LIBS"
17087 CXXFLAGS="$ac_save_CXXFLAGS"
17088 ac_ext=c
17089 ac_cpp='$CPP $CPPFLAGS'
17090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17093
17094 fi
17095
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17097 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17099 $as_echo "$enable_c99" >&6; }
17100
17101
17102 # Check whether --enable-concept-checks was given.
17103 if test "${enable_concept_checks+set}" = set; then :
17104 enableval=$enable_concept_checks;
17105 case "$enableval" in
17106 yes|no) ;;
17107 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17108 esac
17109
17110 else
17111 enable_concept_checks=no
17112 fi
17113
17114
17115 if test $enable_concept_checks = yes; then
17116
17117 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17118
17119 fi
17120
17121
17122 # Check whether --enable-libstdcxx-debug-flags was given.
17123 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17124 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17125 xno | x) enable_libstdcxx_debug_flags= ;;
17126 x-*) ;;
17127 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17128 esac
17129 else
17130 enable_libstdcxx_debug_flags="-g3 -O0"
17131 fi
17132
17133
17134
17135 # Option parsed, now set things appropriately
17136 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17137
17138
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17140 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17141
17142
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17144 $as_echo_n "checking for additional debug build... " >&6; }
17145 # Check whether --enable-libstdcxx-debug was given.
17146 if test "${enable_libstdcxx_debug+set}" = set; then :
17147 enableval=$enable_libstdcxx_debug;
17148 case "$enableval" in
17149 yes|no) ;;
17150 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17151 esac
17152
17153 else
17154 enable_libstdcxx_debug=no
17155 fi
17156
17157
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17159 $as_echo "$enable_libstdcxx_debug" >&6; }
17160
17161
17162
17163
17164 enable_parallel=no;
17165
17166 # See if configured libgomp/omp.h exists. (libgomp may be in
17167 # noconfigdirs but not explicitly disabled.)
17168 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17169 enable_parallel=yes;
17170 else
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17172 $as_echo "$as_me: target-libgomp not built" >&6;}
17173 fi
17174
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17176 $as_echo_n "checking for parallel mode support... " >&6; }
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17178 $as_echo "$enable_parallel" >&6; }
17179
17180
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17182 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17183 # Check whether --enable-cxx-flags was given.
17184 if test "${enable_cxx_flags+set}" = set; then :
17185 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17186 xno | x) enable_cxx_flags= ;;
17187 x-*) ;;
17188 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17189 esac
17190 else
17191 enable_cxx_flags=
17192 fi
17193
17194
17195
17196 # Run through flags (either default or command-line) and set anything
17197 # extra (e.g., #defines) that must accompany particular g++ options.
17198 if test -n "$enable_cxx_flags"; then
17199 for f in $enable_cxx_flags; do
17200 case "$f" in
17201 -fhonor-std) ;;
17202 -*) ;;
17203 *) # and we're trying to pass /what/ exactly?
17204 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17205 esac
17206 done
17207 fi
17208
17209 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17211 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17212
17213
17214
17215 # Check whether --enable-fully-dynamic-string was given.
17216 if test "${enable_fully_dynamic_string+set}" = set; then :
17217 enableval=$enable_fully_dynamic_string;
17218 case "$enableval" in
17219 yes|no) ;;
17220 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17221 esac
17222
17223 else
17224 enable_fully_dynamic_string=no
17225 fi
17226
17227
17228 if test $enable_fully_dynamic_string = yes; then
17229 enable_fully_dynamic_string_def=1
17230 else
17231 enable_fully_dynamic_string_def=0
17232 fi
17233
17234 cat >>confdefs.h <<_ACEOF
17235 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17236 _ACEOF
17237
17238
17239
17240
17241 # Check whether --enable-extern-template was given.
17242 if test "${enable_extern_template+set}" = set; then :
17243 enableval=$enable_extern_template;
17244 case "$enableval" in
17245 yes|no) ;;
17246 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17247 esac
17248
17249 else
17250 enable_extern_template=yes
17251 fi
17252
17253
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17256 $as_echo_n "checking for extern template support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17258 $as_echo "$enable_extern_template" >&6; }
17259
17260
17261
17262
17263 # Checks for operating systems support that doesn't require linking.
17264
17265
17266
17267 ac_ext=cpp
17268 ac_cpp='$CXXCPP $CPPFLAGS'
17269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17272
17273
17274 case "$host" in
17275 *-*-solaris2.*)
17276 # Solaris 8 FCS only had an overload for double std::abs(double) in
17277 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17278 # introduced the full set also found from Solaris 9 onwards.
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17280 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17281 if test "${glibcxx_cv_abs_float+set}" = set; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #include <math.h>
17288 namespace std {
17289 inline float abs(float __x)
17290 { return __builtin_fabsf(__x); }
17291 }
17292
17293 _ACEOF
17294 if ac_fn_cxx_try_compile "$LINENO"; then :
17295 glibcxx_cv_abs_float=no
17296 else
17297 glibcxx_cv_abs_float=yes
17298
17299 fi
17300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17301 fi
17302
17303
17304 # autoheader cannot handle indented templates.
17305
17306
17307
17308 if test $glibcxx_cv_abs_float = yes; then
17309 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17310
17311 else
17312 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17313
17314 fi
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17316 $as_echo "$glibcxx_cv_abs_float" >&6; }
17317 ;;
17318 esac
17319
17320 ac_ext=c
17321 ac_cpp='$CPP $CPPFLAGS'
17322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17325
17326
17327
17328
17329
17330 ac_ext=cpp
17331 ac_cpp='$CXXCPP $CPPFLAGS'
17332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17335
17336
17337 case "$host" in
17338 *-*-solaris2.*)
17339 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17340 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17341 # (SPARC) and 109608-02 (x86) introduced them.
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17343 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17344 if test "${glibcxx_cv_abs_long+set}" = set; then :
17345 $as_echo_n "(cached) " >&6
17346 else
17347
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <stdlib.h>
17351 namespace std {
17352 inline long
17353 abs(long __i) { return labs(__i); }
17354 }
17355
17356 _ACEOF
17357 if ac_fn_cxx_try_compile "$LINENO"; then :
17358 glibcxx_cv_abs_long=no
17359 else
17360 glibcxx_cv_abs_long=yes
17361
17362 fi
17363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17364 fi
17365
17366
17367 # autoheader cannot handle indented templates.
17368
17369 if test $glibcxx_cv_abs_long = yes; then
17370 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17371
17372 fi
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17374 $as_echo "$glibcxx_cv_abs_long" >&6; }
17375 ;;
17376 esac
17377
17378 ac_ext=c
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17383
17384
17385
17386
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17388 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17389 if test "${glibcxx_cv_system_error1+set}" = set; then :
17390 $as_echo_n "(cached) " >&6
17391 else
17392
17393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17394 /* end confdefs.h. */
17395 #include <errno.h>
17396 int
17397 main ()
17398 {
17399 int i = EOWNERDEAD;
17400 ;
17401 return 0;
17402 }
17403 _ACEOF
17404 if ac_fn_c_try_compile "$LINENO"; then :
17405 glibcxx_cv_system_error1=yes
17406 else
17407 glibcxx_cv_system_error1=no
17408 fi
17409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410
17411 fi
17412
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17414 $as_echo "$glibcxx_cv_system_error1" >&6; }
17415 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17416
17417 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17418
17419 fi
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17421 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17422 if test "${glibcxx_cv_system_error2+set}" = set; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 #include <errno.h>
17429 int
17430 main ()
17431 {
17432 int i = ENOTRECOVERABLE;
17433 ;
17434 return 0;
17435 }
17436 _ACEOF
17437 if ac_fn_c_try_compile "$LINENO"; then :
17438 glibcxx_cv_system_error2=yes
17439 else
17440 glibcxx_cv_system_error2=no
17441 fi
17442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17443
17444 fi
17445
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17447 $as_echo "$glibcxx_cv_system_error2" >&6; }
17448 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17449
17450 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17451
17452 fi
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17454 $as_echo_n "checking for ENOLINK... " >&6; }
17455 if test "${glibcxx_cv_system_error3+set}" = set; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17461 #include <errno.h>
17462 int
17463 main ()
17464 {
17465 int i = ENOLINK;
17466 ;
17467 return 0;
17468 }
17469 _ACEOF
17470 if ac_fn_c_try_compile "$LINENO"; then :
17471 glibcxx_cv_system_error3=yes
17472 else
17473 glibcxx_cv_system_error3=no
17474 fi
17475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17476
17477 fi
17478
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17480 $as_echo "$glibcxx_cv_system_error3" >&6; }
17481 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17482
17483 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17484
17485 fi
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17487 $as_echo_n "checking for EPROTO... " >&6; }
17488 if test "${glibcxx_cv_system_error4+set}" = set; then :
17489 $as_echo_n "(cached) " >&6
17490 else
17491
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 #include <errno.h>
17495 int
17496 main ()
17497 {
17498 int i = EPROTO;
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 if ac_fn_c_try_compile "$LINENO"; then :
17504 glibcxx_cv_system_error4=yes
17505 else
17506 glibcxx_cv_system_error4=no
17507 fi
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509
17510 fi
17511
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17513 $as_echo "$glibcxx_cv_system_error4" >&6; }
17514 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17515
17516 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17517
17518 fi
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17520 $as_echo_n "checking for ENODATA... " >&6; }
17521 if test "${glibcxx_cv_system_error5+set}" = set; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 #include <errno.h>
17528 int
17529 main ()
17530 {
17531 int i = ENODATA;
17532 ;
17533 return 0;
17534 }
17535 _ACEOF
17536 if ac_fn_c_try_compile "$LINENO"; then :
17537 glibcxx_cv_system_error5=yes
17538 else
17539 glibcxx_cv_system_error5=no
17540 fi
17541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17542
17543 fi
17544
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17546 $as_echo "$glibcxx_cv_system_error5" >&6; }
17547 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17548
17549 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17550
17551 fi
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17553 $as_echo_n "checking for ENOSR... " >&6; }
17554 if test "${glibcxx_cv_system_error6+set}" = set; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17560 #include <errno.h>
17561 int
17562 main ()
17563 {
17564 int i = ENOSR;
17565 ;
17566 return 0;
17567 }
17568 _ACEOF
17569 if ac_fn_c_try_compile "$LINENO"; then :
17570 glibcxx_cv_system_error6=yes
17571 else
17572 glibcxx_cv_system_error6=no
17573 fi
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575
17576 fi
17577
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17579 $as_echo "$glibcxx_cv_system_error6" >&6; }
17580 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17581
17582 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17583
17584 fi
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17586 $as_echo_n "checking for ENOSTR... " >&6; }
17587 if test "${glibcxx_cv_system_error7+set}" = set; then :
17588 $as_echo_n "(cached) " >&6
17589 else
17590
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 #include <errno.h>
17594 int
17595 main ()
17596 {
17597 int i = ENOSTR;
17598 ;
17599 return 0;
17600 }
17601 _ACEOF
17602 if ac_fn_c_try_compile "$LINENO"; then :
17603 glibcxx_cv_system_error7=yes
17604 else
17605 glibcxx_cv_system_error7=no
17606 fi
17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17608
17609 fi
17610
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17612 $as_echo "$glibcxx_cv_system_error7" >&6; }
17613 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17614
17615 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17616
17617 fi
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17619 $as_echo_n "checking for ETIME... " >&6; }
17620 if test "${glibcxx_cv_system_error8+set}" = set; then :
17621 $as_echo_n "(cached) " >&6
17622 else
17623
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #include <errno.h>
17627 int
17628 main ()
17629 {
17630 int i = ETIME;
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636 glibcxx_cv_system_error8=yes
17637 else
17638 glibcxx_cv_system_error8=no
17639 fi
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641
17642 fi
17643
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17645 $as_echo "$glibcxx_cv_system_error8" >&6; }
17646 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17647
17648 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17649
17650 fi
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17652 $as_echo_n "checking for EBADMSG... " >&6; }
17653 if test "${glibcxx_cv_system_error9+set}" = set; then :
17654 $as_echo_n "(cached) " >&6
17655 else
17656
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17659 #include <errno.h>
17660 int
17661 main ()
17662 {
17663 int i = EBADMSG;
17664 ;
17665 return 0;
17666 }
17667 _ACEOF
17668 if ac_fn_c_try_compile "$LINENO"; then :
17669 glibcxx_cv_system_error9=yes
17670 else
17671 glibcxx_cv_system_error9=no
17672 fi
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674
17675 fi
17676
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17678 $as_echo "$glibcxx_cv_system_error9" >&6; }
17679 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17680
17681 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17682
17683 fi
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17685 $as_echo_n "checking for ECANCELED... " >&6; }
17686 if test "${glibcxx_cv_system_error10+set}" = set; then :
17687 $as_echo_n "(cached) " >&6
17688 else
17689
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17692 #include <errno.h>
17693 int
17694 main ()
17695 {
17696 int i = ECANCELED;
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 if ac_fn_c_try_compile "$LINENO"; then :
17702 glibcxx_cv_system_error10=yes
17703 else
17704 glibcxx_cv_system_error10=no
17705 fi
17706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707
17708 fi
17709
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17711 $as_echo "$glibcxx_cv_system_error10" >&6; }
17712 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17713
17714 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17715
17716 fi
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17718 $as_echo_n "checking for EOVERFLOW... " >&6; }
17719 if test "${glibcxx_cv_system_error11+set}" = set; then :
17720 $as_echo_n "(cached) " >&6
17721 else
17722
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 #include <errno.h>
17726 int
17727 main ()
17728 {
17729 int i = EOVERFLOW;
17730 ;
17731 return 0;
17732 }
17733 _ACEOF
17734 if ac_fn_c_try_compile "$LINENO"; then :
17735 glibcxx_cv_system_error11=yes
17736 else
17737 glibcxx_cv_system_error11=no
17738 fi
17739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17740
17741 fi
17742
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17744 $as_echo "$glibcxx_cv_system_error11" >&6; }
17745 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17746
17747 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17748
17749 fi
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17751 $as_echo_n "checking for ENOTSUP... " >&6; }
17752 if test "${glibcxx_cv_system_error12+set}" = set; then :
17753 $as_echo_n "(cached) " >&6
17754 else
17755
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h. */
17758 #include <errno.h>
17759 int
17760 main ()
17761 {
17762 int i = ENOTSUP;
17763 ;
17764 return 0;
17765 }
17766 _ACEOF
17767 if ac_fn_c_try_compile "$LINENO"; then :
17768 glibcxx_cv_system_error12=yes
17769 else
17770 glibcxx_cv_system_error12=no
17771 fi
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774 fi
17775
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17777 $as_echo "$glibcxx_cv_system_error12" >&6; }
17778 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17779
17780 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17781
17782 fi
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17784 $as_echo_n "checking for EIDRM... " >&6; }
17785 if test "${glibcxx_cv_system_error13+set}" = set; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17788
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17791 #include <errno.h>
17792 int
17793 main ()
17794 {
17795 int i = EIDRM;
17796 ;
17797 return 0;
17798 }
17799 _ACEOF
17800 if ac_fn_c_try_compile "$LINENO"; then :
17801 glibcxx_cv_system_error13=yes
17802 else
17803 glibcxx_cv_system_error13=no
17804 fi
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806
17807 fi
17808
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17810 $as_echo "$glibcxx_cv_system_error13" >&6; }
17811 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17812
17813 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17814
17815 fi
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17817 $as_echo_n "checking for ETXTBSY... " >&6; }
17818 if test "${glibcxx_cv_system_error14+set}" = set; then :
17819 $as_echo_n "(cached) " >&6
17820 else
17821
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <errno.h>
17825 int
17826 main ()
17827 {
17828 int i = ETXTBSY;
17829 ;
17830 return 0;
17831 }
17832 _ACEOF
17833 if ac_fn_c_try_compile "$LINENO"; then :
17834 glibcxx_cv_system_error14=yes
17835 else
17836 glibcxx_cv_system_error14=no
17837 fi
17838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839
17840 fi
17841
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17843 $as_echo "$glibcxx_cv_system_error14" >&6; }
17844 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17845
17846 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17847
17848 fi
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17850 $as_echo_n "checking for ECHILD... " >&6; }
17851 if test "${glibcxx_cv_system_error15+set}" = set; then :
17852 $as_echo_n "(cached) " >&6
17853 else
17854
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 #include <errno.h>
17858 int
17859 main ()
17860 {
17861 int i = ECHILD;
17862 ;
17863 return 0;
17864 }
17865 _ACEOF
17866 if ac_fn_c_try_compile "$LINENO"; then :
17867 glibcxx_cv_system_error15=yes
17868 else
17869 glibcxx_cv_system_error15=no
17870 fi
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873 fi
17874
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17876 $as_echo "$glibcxx_cv_system_error15" >&6; }
17877 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17878
17879 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17880
17881 fi
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17883 $as_echo_n "checking for ENOSPC... " >&6; }
17884 if test "${glibcxx_cv_system_error16+set}" = set; then :
17885 $as_echo_n "(cached) " >&6
17886 else
17887
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17890 #include <errno.h>
17891 int
17892 main ()
17893 {
17894 int i = ENOSPC;
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 if ac_fn_c_try_compile "$LINENO"; then :
17900 glibcxx_cv_system_error16=yes
17901 else
17902 glibcxx_cv_system_error16=no
17903 fi
17904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17905
17906 fi
17907
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17909 $as_echo "$glibcxx_cv_system_error16" >&6; }
17910 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17911
17912 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17913
17914 fi
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17916 $as_echo_n "checking for EPERM... " >&6; }
17917 if test "${glibcxx_cv_system_error17+set}" = set; then :
17918 $as_echo_n "(cached) " >&6
17919 else
17920
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h. */
17923 #include <errno.h>
17924 int
17925 main ()
17926 {
17927 int i = EPERM;
17928 ;
17929 return 0;
17930 }
17931 _ACEOF
17932 if ac_fn_c_try_compile "$LINENO"; then :
17933 glibcxx_cv_system_error17=yes
17934 else
17935 glibcxx_cv_system_error17=no
17936 fi
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938
17939 fi
17940
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17942 $as_echo "$glibcxx_cv_system_error17" >&6; }
17943 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17944
17945 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17946
17947 fi
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17949 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17950 if test "${glibcxx_cv_system_error18+set}" = set; then :
17951 $as_echo_n "(cached) " >&6
17952 else
17953
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17956 #include <errno.h>
17957 int
17958 main ()
17959 {
17960 int i = ETIMEDOUT;
17961 ;
17962 return 0;
17963 }
17964 _ACEOF
17965 if ac_fn_c_try_compile "$LINENO"; then :
17966 glibcxx_cv_system_error18=yes
17967 else
17968 glibcxx_cv_system_error18=no
17969 fi
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971
17972 fi
17973
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17975 $as_echo "$glibcxx_cv_system_error18" >&6; }
17976 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17977
17978 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17979
17980 fi
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17982 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17983 if test "${glibcxx_cv_system_error19+set}" = set; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17986
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 #include <errno.h>
17990 int
17991 main ()
17992 {
17993 int i = EWOULDBLOCK;
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 if ac_fn_c_try_compile "$LINENO"; then :
17999 glibcxx_cv_system_error19=yes
18000 else
18001 glibcxx_cv_system_error19=no
18002 fi
18003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18004
18005 fi
18006
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18008 $as_echo "$glibcxx_cv_system_error19" >&6; }
18009 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18010
18011 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18012
18013 fi
18014
18015
18016
18017 # For the streamoff typedef.
18018
18019
18020
18021 ac_ext=cpp
18022 ac_cpp='$CXXCPP $CPPFLAGS'
18023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18026
18027
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18029 $as_echo_n "checking for int64_t... " >&6; }
18030 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18031 $as_echo_n "(cached) " >&6
18032 else
18033
18034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 /* end confdefs.h. */
18036 #include <stdint.h>
18037 int
18038 main ()
18039 {
18040 int64_t var;
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 if ac_fn_cxx_try_compile "$LINENO"; then :
18046 glibcxx_cv_INT64_T=yes
18047 else
18048 glibcxx_cv_INT64_T=no
18049 fi
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051
18052 fi
18053
18054
18055 if test $glibcxx_cv_INT64_T = yes; then
18056
18057 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18058
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18060 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18061
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18063 $as_echo_n "checking for int64_t as long... " >&6; }
18064 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18065 $as_echo_n "(cached) " >&6
18066 else
18067
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18070 #include <stdint.h>
18071 template<typename, typename> struct same { enum { value = -1 }; };
18072 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18073 int array[same<int64_t, long>::value];
18074 int
18075 main ()
18076 {
18077
18078 ;
18079 return 0;
18080 }
18081 _ACEOF
18082 if ac_fn_cxx_try_compile "$LINENO"; then :
18083 glibcxx_cv_int64_t_long=yes
18084 else
18085 glibcxx_cv_int64_t_long=no
18086 fi
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18088
18089 fi
18090
18091
18092 if test $glibcxx_cv_int64_t_long = yes; then
18093
18094 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18095
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18097 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18098 fi
18099
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18101 $as_echo_n "checking for int64_t as long long... " >&6; }
18102 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18103 $as_echo_n "(cached) " >&6
18104 else
18105
18106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h. */
18108 #include <stdint.h>
18109 template<typename, typename> struct same { enum { value = -1 }; };
18110 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18111 int array[same<int64_t, long long>::value];
18112 int
18113 main ()
18114 {
18115
18116 ;
18117 return 0;
18118 }
18119 _ACEOF
18120 if ac_fn_cxx_try_compile "$LINENO"; then :
18121 glibcxx_cv_int64_t_long_long=yes
18122 else
18123 glibcxx_cv_int64_t_long_long=no
18124 fi
18125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18126
18127 fi
18128
18129
18130 if test $glibcxx_cv_int64_t_long_long = yes; then
18131
18132 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18133
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18135 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18136 fi
18137 fi
18138
18139 ac_ext=c
18140 ac_cpp='$CPP $CPPFLAGS'
18141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18144
18145
18146
18147 # For LFS support.
18148
18149
18150 ac_ext=cpp
18151 ac_cpp='$CXXCPP $CPPFLAGS'
18152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18155
18156 ac_save_CXXFLAGS="$CXXFLAGS"
18157 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18159 $as_echo_n "checking for LFS support... " >&6; }
18160 if test "${glibcxx_cv_LFS+set}" = set; then :
18161 $as_echo_n "(cached) " >&6
18162 else
18163
18164 if test x$gcc_no_link = xyes; then
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18167 #include <unistd.h>
18168 #include <stdio.h>
18169 #include <sys/stat.h>
18170
18171 int
18172 main ()
18173 {
18174 FILE* fp;
18175 fopen64("t", "w");
18176 fseeko64(fp, 0, SEEK_CUR);
18177 ftello64(fp);
18178 lseek64(1, 0, SEEK_CUR);
18179 struct stat64 buf;
18180 fstat64(1, &buf);
18181 ;
18182 return 0;
18183 }
18184 _ACEOF
18185 if ac_fn_cxx_try_compile "$LINENO"; then :
18186 glibcxx_cv_LFS=yes
18187 else
18188 glibcxx_cv_LFS=no
18189 fi
18190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18191 else
18192 if test x$gcc_no_link = xyes; then
18193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18194 fi
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18197 #include <unistd.h>
18198 #include <stdio.h>
18199 #include <sys/stat.h>
18200
18201 int
18202 main ()
18203 {
18204 FILE* fp;
18205 fopen64("t", "w");
18206 fseeko64(fp, 0, SEEK_CUR);
18207 ftello64(fp);
18208 lseek64(1, 0, SEEK_CUR);
18209 struct stat64 buf;
18210 fstat64(1, &buf);
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 if ac_fn_cxx_try_link "$LINENO"; then :
18216 glibcxx_cv_LFS=yes
18217 else
18218 glibcxx_cv_LFS=no
18219 fi
18220 rm -f core conftest.err conftest.$ac_objext \
18221 conftest$ac_exeext conftest.$ac_ext
18222 fi
18223
18224 fi
18225
18226 if test $glibcxx_cv_LFS = yes; then
18227
18228 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18229
18230 fi
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18232 $as_echo "$glibcxx_cv_LFS" >&6; }
18233 CXXFLAGS="$ac_save_CXXFLAGS"
18234 ac_ext=c
18235 ac_cpp='$CPP $CPPFLAGS'
18236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18239
18240
18241
18242 # For showmanyc_helper().
18243 for ac_header in sys/ioctl.h sys/filio.h
18244 do :
18245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18246 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18247 eval as_val=\$$as_ac_Header
18248 if test "x$as_val" = x""yes; then :
18249 cat >>confdefs.h <<_ACEOF
18250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18251 _ACEOF
18252
18253 fi
18254
18255 done
18256
18257
18258
18259
18260 ac_ext=cpp
18261 ac_cpp='$CXXCPP $CPPFLAGS'
18262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18265
18266 ac_save_CXXFLAGS="$CXXFLAGS"
18267 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18268
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18270 $as_echo_n "checking for poll... " >&6; }
18271 if test "${glibcxx_cv_POLL+set}" = set; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18274
18275 if test x$gcc_no_link = xyes; then
18276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18277 /* end confdefs.h. */
18278 #include <poll.h>
18279 int
18280 main ()
18281 {
18282 struct pollfd pfd[1];
18283 pfd[0].events = POLLIN;
18284 poll(pfd, 1, 0);
18285 ;
18286 return 0;
18287 }
18288 _ACEOF
18289 if ac_fn_cxx_try_compile "$LINENO"; then :
18290 glibcxx_cv_POLL=yes
18291 else
18292 glibcxx_cv_POLL=no
18293 fi
18294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 else
18296 if test x$gcc_no_link = xyes; then
18297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18298 fi
18299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18301 #include <poll.h>
18302 int
18303 main ()
18304 {
18305 struct pollfd pfd[1];
18306 pfd[0].events = POLLIN;
18307 poll(pfd, 1, 0);
18308 ;
18309 return 0;
18310 }
18311 _ACEOF
18312 if ac_fn_cxx_try_link "$LINENO"; then :
18313 glibcxx_cv_POLL=yes
18314 else
18315 glibcxx_cv_POLL=no
18316 fi
18317 rm -f core conftest.err conftest.$ac_objext \
18318 conftest$ac_exeext conftest.$ac_ext
18319 fi
18320
18321 fi
18322
18323 if test $glibcxx_cv_POLL = yes; then
18324
18325 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18326
18327 fi
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18329 $as_echo "$glibcxx_cv_POLL" >&6; }
18330
18331 CXXFLAGS="$ac_save_CXXFLAGS"
18332 ac_ext=c
18333 ac_cpp='$CPP $CPPFLAGS'
18334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18337
18338
18339
18340
18341
18342 ac_ext=cpp
18343 ac_cpp='$CXXCPP $CPPFLAGS'
18344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18347
18348 ac_save_CXXFLAGS="$CXXFLAGS"
18349 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18350
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18352 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18353 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18354 $as_echo_n "(cached) " >&6
18355 else
18356
18357 if test x$gcc_no_link = xyes; then
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18360 #include <sys/stat.h>
18361 int
18362 main ()
18363 {
18364 struct stat buffer;
18365 fstat(0, &buffer);
18366 S_ISREG(buffer.st_mode);
18367 ;
18368 return 0;
18369 }
18370 _ACEOF
18371 if ac_fn_cxx_try_compile "$LINENO"; then :
18372 glibcxx_cv_S_ISREG=yes
18373 else
18374 glibcxx_cv_S_ISREG=no
18375 fi
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377 else
18378 if test x$gcc_no_link = xyes; then
18379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18380 fi
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <sys/stat.h>
18384 int
18385 main ()
18386 {
18387 struct stat buffer;
18388 fstat(0, &buffer);
18389 S_ISREG(buffer.st_mode);
18390 ;
18391 return 0;
18392 }
18393 _ACEOF
18394 if ac_fn_cxx_try_link "$LINENO"; then :
18395 glibcxx_cv_S_ISREG=yes
18396 else
18397 glibcxx_cv_S_ISREG=no
18398 fi
18399 rm -f core conftest.err conftest.$ac_objext \
18400 conftest$ac_exeext conftest.$ac_ext
18401 fi
18402
18403 fi
18404
18405 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18406 $as_echo_n "(cached) " >&6
18407 else
18408
18409 if test x$gcc_no_link = xyes; then
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 #include <sys/stat.h>
18413 int
18414 main ()
18415 {
18416 struct stat buffer;
18417 fstat(0, &buffer);
18418 S_IFREG & buffer.st_mode;
18419 ;
18420 return 0;
18421 }
18422 _ACEOF
18423 if ac_fn_cxx_try_compile "$LINENO"; then :
18424 glibcxx_cv_S_IFREG=yes
18425 else
18426 glibcxx_cv_S_IFREG=no
18427 fi
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 else
18430 if test x$gcc_no_link = xyes; then
18431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18432 fi
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #include <sys/stat.h>
18436 int
18437 main ()
18438 {
18439 struct stat buffer;
18440 fstat(0, &buffer);
18441 S_IFREG & buffer.st_mode;
18442 ;
18443 return 0;
18444 }
18445 _ACEOF
18446 if ac_fn_cxx_try_link "$LINENO"; then :
18447 glibcxx_cv_S_IFREG=yes
18448 else
18449 glibcxx_cv_S_IFREG=no
18450 fi
18451 rm -f core conftest.err conftest.$ac_objext \
18452 conftest$ac_exeext conftest.$ac_ext
18453 fi
18454
18455 fi
18456
18457 res=no
18458 if test $glibcxx_cv_S_ISREG = yes; then
18459
18460 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18461
18462 res=S_ISREG
18463 elif test $glibcxx_cv_S_IFREG = yes; then
18464
18465 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18466
18467 res=S_IFREG
18468 fi
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18470 $as_echo "$res" >&6; }
18471
18472 CXXFLAGS="$ac_save_CXXFLAGS"
18473 ac_ext=c
18474 ac_cpp='$CPP $CPPFLAGS'
18475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18478
18479
18480
18481 # For xsputn_2().
18482 for ac_header in sys/uio.h
18483 do :
18484 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18485 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18486 cat >>confdefs.h <<_ACEOF
18487 #define HAVE_SYS_UIO_H 1
18488 _ACEOF
18489
18490 fi
18491
18492 done
18493
18494
18495
18496
18497 ac_ext=cpp
18498 ac_cpp='$CXXCPP $CPPFLAGS'
18499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18502
18503 ac_save_CXXFLAGS="$CXXFLAGS"
18504 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18505
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18507 $as_echo_n "checking for writev... " >&6; }
18508 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18509 $as_echo_n "(cached) " >&6
18510 else
18511
18512 if test x$gcc_no_link = xyes; then
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 #include <sys/uio.h>
18516 int
18517 main ()
18518 {
18519 struct iovec iov[2];
18520 writev(0, iov, 0);
18521 ;
18522 return 0;
18523 }
18524 _ACEOF
18525 if ac_fn_cxx_try_compile "$LINENO"; then :
18526 glibcxx_cv_WRITEV=yes
18527 else
18528 glibcxx_cv_WRITEV=no
18529 fi
18530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 else
18532 if test x$gcc_no_link = xyes; then
18533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18534 fi
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #include <sys/uio.h>
18538 int
18539 main ()
18540 {
18541 struct iovec iov[2];
18542 writev(0, iov, 0);
18543 ;
18544 return 0;
18545 }
18546 _ACEOF
18547 if ac_fn_cxx_try_link "$LINENO"; then :
18548 glibcxx_cv_WRITEV=yes
18549 else
18550 glibcxx_cv_WRITEV=no
18551 fi
18552 rm -f core conftest.err conftest.$ac_objext \
18553 conftest$ac_exeext conftest.$ac_ext
18554 fi
18555
18556 fi
18557
18558 if test $glibcxx_cv_WRITEV = yes; then
18559
18560 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18561
18562 fi
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18564 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18565
18566 CXXFLAGS="$ac_save_CXXFLAGS"
18567 ac_ext=c
18568 ac_cpp='$CPP $CPPFLAGS'
18569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18572
18573
18574
18575 # For C99 support to TR1.
18576
18577
18578
18579 ac_ext=cpp
18580 ac_cpp='$CXXCPP $CPPFLAGS'
18581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18584
18585
18586 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18587 # undefined and fake C99 facilities may be spuriously enabled.
18588 ac_save_CXXFLAGS="$CXXFLAGS"
18589 CXXFLAGS="$CXXFLAGS -std=c++98"
18590
18591 # Check for the existence of <complex.h> complex math functions used
18592 # by tr1/complex.
18593 for ac_header in complex.h
18594 do :
18595 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18596 if test "x$ac_cv_header_complex_h" = x""yes; then :
18597 cat >>confdefs.h <<_ACEOF
18598 #define HAVE_COMPLEX_H 1
18599 _ACEOF
18600 ac_has_complex_h=yes
18601 else
18602 ac_has_complex_h=no
18603 fi
18604
18605 done
18606
18607 ac_c99_complex_tr1=no;
18608 if test x"$ac_has_complex_h" = x"yes"; then
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18610 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 #include <complex.h>
18614 int
18615 main ()
18616 {
18617 typedef __complex__ float float_type; float_type tmpf;
18618 cacosf(tmpf);
18619 casinf(tmpf);
18620 catanf(tmpf);
18621 cacoshf(tmpf);
18622 casinhf(tmpf);
18623 catanhf(tmpf);
18624 typedef __complex__ double double_type; double_type tmpd;
18625 cacos(tmpd);
18626 casin(tmpd);
18627 catan(tmpd);
18628 cacosh(tmpd);
18629 casinh(tmpd);
18630 catanh(tmpd);
18631 typedef __complex__ long double ld_type; ld_type tmpld;
18632 cacosl(tmpld);
18633 casinl(tmpld);
18634 catanl(tmpld);
18635 cacoshl(tmpld);
18636 casinhl(tmpld);
18637 catanhl(tmpld);
18638
18639 ;
18640 return 0;
18641 }
18642 _ACEOF
18643 if ac_fn_cxx_try_compile "$LINENO"; then :
18644 ac_c99_complex_tr1=yes
18645 else
18646 ac_c99_complex_tr1=no
18647 fi
18648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18649 fi
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18651 $as_echo "$ac_c99_complex_tr1" >&6; }
18652 if test x"$ac_c99_complex_tr1" = x"yes"; then
18653
18654 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18655
18656 fi
18657
18658 # Check for the existence of <ctype.h> functions.
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18660 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18661 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18662 $as_echo_n "(cached) " >&6
18663 else
18664
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18667 #include <ctype.h>
18668 int
18669 main ()
18670 {
18671 int ch;
18672 int ret;
18673 ret = isblank(ch);
18674
18675 ;
18676 return 0;
18677 }
18678 _ACEOF
18679 if ac_fn_cxx_try_compile "$LINENO"; then :
18680 glibcxx_cv_c99_ctype_tr1=yes
18681 else
18682 glibcxx_cv_c99_ctype_tr1=no
18683 fi
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685
18686 fi
18687
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18689 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18690 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18691
18692 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18693
18694 fi
18695
18696 # Check for the existence of <fenv.h> functions.
18697 for ac_header in fenv.h
18698 do :
18699 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18700 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18701 cat >>confdefs.h <<_ACEOF
18702 #define HAVE_FENV_H 1
18703 _ACEOF
18704 ac_has_fenv_h=yes
18705 else
18706 ac_has_fenv_h=no
18707 fi
18708
18709 done
18710
18711 ac_c99_fenv_tr1=no;
18712 if test x"$ac_has_fenv_h" = x"yes"; then
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18714 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 #include <fenv.h>
18718 int
18719 main ()
18720 {
18721 int except, mode;
18722 fexcept_t* pflag;
18723 fenv_t* penv;
18724 int ret;
18725 ret = feclearexcept(except);
18726 ret = fegetexceptflag(pflag, except);
18727 ret = feraiseexcept(except);
18728 ret = fesetexceptflag(pflag, except);
18729 ret = fetestexcept(except);
18730 ret = fegetround();
18731 ret = fesetround(mode);
18732 ret = fegetenv(penv);
18733 ret = feholdexcept(penv);
18734 ret = fesetenv(penv);
18735 ret = feupdateenv(penv);
18736
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742 ac_c99_fenv_tr1=yes
18743 else
18744 ac_c99_fenv_tr1=no
18745 fi
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 fi
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18749 $as_echo "$ac_c99_fenv_tr1" >&6; }
18750 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18751
18752 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18753
18754 fi
18755
18756 # Check for the existence of <stdint.h> types.
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18758 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18759 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18760 $as_echo_n "(cached) " >&6
18761 else
18762
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #define __STDC_LIMIT_MACROS
18766 #define __STDC_CONSTANT_MACROS
18767 #include <stdint.h>
18768 int
18769 main ()
18770 {
18771 typedef int8_t my_int8_t;
18772 my_int8_t i8 = INT8_MIN;
18773 i8 = INT8_MAX;
18774 typedef int16_t my_int16_t;
18775 my_int16_t i16 = INT16_MIN;
18776 i16 = INT16_MAX;
18777 typedef int32_t my_int32_t;
18778 my_int32_t i32 = INT32_MIN;
18779 i32 = INT32_MAX;
18780 typedef int64_t my_int64_t;
18781 my_int64_t i64 = INT64_MIN;
18782 i64 = INT64_MAX;
18783 typedef int_fast8_t my_int_fast8_t;
18784 my_int_fast8_t if8 = INT_FAST8_MIN;
18785 if8 = INT_FAST8_MAX;
18786 typedef int_fast16_t my_int_fast16_t;
18787 my_int_fast16_t if16 = INT_FAST16_MIN;
18788 if16 = INT_FAST16_MAX;
18789 typedef int_fast32_t my_int_fast32_t;
18790 my_int_fast32_t if32 = INT_FAST32_MIN;
18791 if32 = INT_FAST32_MAX;
18792 typedef int_fast64_t my_int_fast64_t;
18793 my_int_fast64_t if64 = INT_FAST64_MIN;
18794 if64 = INT_FAST64_MAX;
18795 typedef int_least8_t my_int_least8_t;
18796 my_int_least8_t il8 = INT_LEAST8_MIN;
18797 il8 = INT_LEAST8_MAX;
18798 typedef int_least16_t my_int_least16_t;
18799 my_int_least16_t il16 = INT_LEAST16_MIN;
18800 il16 = INT_LEAST16_MAX;
18801 typedef int_least32_t my_int_least32_t;
18802 my_int_least32_t il32 = INT_LEAST32_MIN;
18803 il32 = INT_LEAST32_MAX;
18804 typedef int_least64_t my_int_least64_t;
18805 my_int_least64_t il64 = INT_LEAST64_MIN;
18806 il64 = INT_LEAST64_MAX;
18807 typedef intmax_t my_intmax_t;
18808 my_intmax_t im = INTMAX_MAX;
18809 im = INTMAX_MIN;
18810 typedef intptr_t my_intptr_t;
18811 my_intptr_t ip = INTPTR_MAX;
18812 ip = INTPTR_MIN;
18813 typedef uint8_t my_uint8_t;
18814 my_uint8_t ui8 = UINT8_MAX;
18815 ui8 = UINT8_MAX;
18816 typedef uint16_t my_uint16_t;
18817 my_uint16_t ui16 = UINT16_MAX;
18818 ui16 = UINT16_MAX;
18819 typedef uint32_t my_uint32_t;
18820 my_uint32_t ui32 = UINT32_MAX;
18821 ui32 = UINT32_MAX;
18822 typedef uint64_t my_uint64_t;
18823 my_uint64_t ui64 = UINT64_MAX;
18824 ui64 = UINT64_MAX;
18825 typedef uint_fast8_t my_uint_fast8_t;
18826 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18827 uif8 = UINT_FAST8_MAX;
18828 typedef uint_fast16_t my_uint_fast16_t;
18829 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18830 uif16 = UINT_FAST16_MAX;
18831 typedef uint_fast32_t my_uint_fast32_t;
18832 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18833 uif32 = UINT_FAST32_MAX;
18834 typedef uint_fast64_t my_uint_fast64_t;
18835 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18836 uif64 = UINT_FAST64_MAX;
18837 typedef uint_least8_t my_uint_least8_t;
18838 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18839 uil8 = UINT_LEAST8_MAX;
18840 typedef uint_least16_t my_uint_least16_t;
18841 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18842 uil16 = UINT_LEAST16_MAX;
18843 typedef uint_least32_t my_uint_least32_t;
18844 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18845 uil32 = UINT_LEAST32_MAX;
18846 typedef uint_least64_t my_uint_least64_t;
18847 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18848 uil64 = UINT_LEAST64_MAX;
18849 typedef uintmax_t my_uintmax_t;
18850 my_uintmax_t uim = UINTMAX_MAX;
18851 uim = UINTMAX_MAX;
18852 typedef uintptr_t my_uintptr_t;
18853 my_uintptr_t uip = UINTPTR_MAX;
18854 uip = UINTPTR_MAX;
18855
18856 ;
18857 return 0;
18858 }
18859 _ACEOF
18860 if ac_fn_cxx_try_compile "$LINENO"; then :
18861 glibcxx_cv_c99_stdint_tr1=yes
18862 else
18863 glibcxx_cv_c99_stdint_tr1=no
18864 fi
18865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18866
18867 fi
18868
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18870 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18871 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18872
18873 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18874
18875 fi
18876
18877 # Check for the existence of <math.h> functions.
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18879 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18880 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18881 $as_echo_n "(cached) " >&6
18882 else
18883
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 #include <math.h>
18887 int
18888 main ()
18889 {
18890 typedef double_t my_double_t;
18891 typedef float_t my_float_t;
18892 acosh(0.0);
18893 acoshf(0.0f);
18894 acoshl(0.0l);
18895 asinh(0.0);
18896 asinhf(0.0f);
18897 asinhl(0.0l);
18898 atanh(0.0);
18899 atanhf(0.0f);
18900 atanhl(0.0l);
18901 cbrt(0.0);
18902 cbrtf(0.0f);
18903 cbrtl(0.0l);
18904 copysign(0.0, 0.0);
18905 copysignf(0.0f, 0.0f);
18906 copysignl(0.0l, 0.0l);
18907 erf(0.0);
18908 erff(0.0f);
18909 erfl(0.0l);
18910 erfc(0.0);
18911 erfcf(0.0f);
18912 erfcl(0.0l);
18913 exp2(0.0);
18914 exp2f(0.0f);
18915 exp2l(0.0l);
18916 expm1(0.0);
18917 expm1f(0.0f);
18918 expm1l(0.0l);
18919 fdim(0.0, 0.0);
18920 fdimf(0.0f, 0.0f);
18921 fdiml(0.0l, 0.0l);
18922 fma(0.0, 0.0, 0.0);
18923 fmaf(0.0f, 0.0f, 0.0f);
18924 fmal(0.0l, 0.0l, 0.0l);
18925 fmax(0.0, 0.0);
18926 fmaxf(0.0f, 0.0f);
18927 fmaxl(0.0l, 0.0l);
18928 fmin(0.0, 0.0);
18929 fminf(0.0f, 0.0f);
18930 fminl(0.0l, 0.0l);
18931 hypot(0.0, 0.0);
18932 hypotf(0.0f, 0.0f);
18933 hypotl(0.0l, 0.0l);
18934 ilogb(0.0);
18935 ilogbf(0.0f);
18936 ilogbl(0.0l);
18937 lgamma(0.0);
18938 lgammaf(0.0f);
18939 lgammal(0.0l);
18940 llrint(0.0);
18941 llrintf(0.0f);
18942 llrintl(0.0l);
18943 llround(0.0);
18944 llroundf(0.0f);
18945 llroundl(0.0l);
18946 log1p(0.0);
18947 log1pf(0.0f);
18948 log1pl(0.0l);
18949 log2(0.0);
18950 log2f(0.0f);
18951 log2l(0.0l);
18952 logb(0.0);
18953 logbf(0.0f);
18954 logbl(0.0l);
18955 lrint(0.0);
18956 lrintf(0.0f);
18957 lrintl(0.0l);
18958 lround(0.0);
18959 lroundf(0.0f);
18960 lroundl(0.0l);
18961 nan(0);
18962 nanf(0);
18963 nanl(0);
18964 nearbyint(0.0);
18965 nearbyintf(0.0f);
18966 nearbyintl(0.0l);
18967 nextafter(0.0, 0.0);
18968 nextafterf(0.0f, 0.0f);
18969 nextafterl(0.0l, 0.0l);
18970 nexttoward(0.0, 0.0);
18971 nexttowardf(0.0f, 0.0f);
18972 nexttowardl(0.0l, 0.0l);
18973 remainder(0.0, 0.0);
18974 remainderf(0.0f, 0.0f);
18975 remainderl(0.0l, 0.0l);
18976 remquo(0.0, 0.0, 0);
18977 remquof(0.0f, 0.0f, 0);
18978 remquol(0.0l, 0.0l, 0);
18979 rint(0.0);
18980 rintf(0.0f);
18981 rintl(0.0l);
18982 round(0.0);
18983 roundf(0.0f);
18984 roundl(0.0l);
18985 scalbln(0.0, 0l);
18986 scalblnf(0.0f, 0l);
18987 scalblnl(0.0l, 0l);
18988 scalbn(0.0, 0);
18989 scalbnf(0.0f, 0);
18990 scalbnl(0.0l, 0);
18991 tgamma(0.0);
18992 tgammaf(0.0f);
18993 tgammal(0.0l);
18994 trunc(0.0);
18995 truncf(0.0f);
18996 truncl(0.0l);
18997
18998 ;
18999 return 0;
19000 }
19001 _ACEOF
19002 if ac_fn_cxx_try_compile "$LINENO"; then :
19003 glibcxx_cv_c99_math_tr1=yes
19004 else
19005 glibcxx_cv_c99_math_tr1=no
19006 fi
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19008
19009 fi
19010
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19012 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19013 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19014
19015 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19016
19017 fi
19018
19019 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19020 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19021 ac_c99_inttypes_tr1=no;
19022 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19024 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 #include <inttypes.h>
19028 int
19029 main ()
19030 {
19031 intmax_t i, numer, denom, base;
19032 const char* s;
19033 char** endptr;
19034 intmax_t ret = imaxabs(i);
19035 imaxdiv_t dret = imaxdiv(numer, denom);
19036 ret = strtoimax(s, endptr, base);
19037 uintmax_t uret = strtoumax(s, endptr, base);
19038
19039 ;
19040 return 0;
19041 }
19042 _ACEOF
19043 if ac_fn_cxx_try_compile "$LINENO"; then :
19044 ac_c99_inttypes_tr1=yes
19045 else
19046 ac_c99_inttypes_tr1=no
19047 fi
19048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 fi
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19051 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19052 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19053
19054 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19055
19056 fi
19057
19058 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19059 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19060 ac_c99_inttypes_wchar_t_tr1=no;
19061 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19063 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19066 #include <inttypes.h>
19067 int
19068 main ()
19069 {
19070 intmax_t base;
19071 const wchar_t* s;
19072 wchar_t** endptr;
19073 intmax_t ret = wcstoimax(s, endptr, base);
19074 uintmax_t uret = wcstoumax(s, endptr, base);
19075
19076 ;
19077 return 0;
19078 }
19079 _ACEOF
19080 if ac_fn_cxx_try_compile "$LINENO"; then :
19081 ac_c99_inttypes_wchar_t_tr1=yes
19082 else
19083 ac_c99_inttypes_wchar_t_tr1=no
19084 fi
19085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086 fi
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19088 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19089 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19090
19091 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19092
19093 fi
19094
19095 # Check for the existence of the <stdbool.h> header.
19096 for ac_header in stdbool.h
19097 do :
19098 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19099 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STDBOOL_H 1
19102 _ACEOF
19103
19104 fi
19105
19106 done
19107
19108
19109 # Check for the existence of the <stdalign.h> header.
19110 for ac_header in stdalign.h
19111 do :
19112 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19113 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STDALIGN_H 1
19116 _ACEOF
19117
19118 fi
19119
19120 done
19121
19122
19123 CXXFLAGS="$ac_save_CXXFLAGS"
19124 ac_ext=c
19125 ac_cpp='$CPP $CPPFLAGS'
19126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19129
19130
19131
19132 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19133
19134
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19136 $as_echo_n "checking for the value of EOF... " >&6; }
19137 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19140
19141 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19142
19143 else
19144 as_fn_error "computing EOF failed" "$LINENO" 5
19145 fi
19146
19147
19148 fi
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19150 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19151
19152 cat >>confdefs.h <<_ACEOF
19153 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19154 _ACEOF
19155
19156
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19158 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19159 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19160 $as_echo_n "(cached) " >&6
19161 else
19162
19163 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19164
19165 else
19166 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19167 fi
19168
19169
19170 fi
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19172 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19173
19174 cat >>confdefs.h <<_ACEOF
19175 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19176 _ACEOF
19177
19178
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19180 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19181 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19182 $as_echo_n "(cached) " >&6
19183 else
19184
19185 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19186
19187 else
19188 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19189 fi
19190
19191
19192 fi
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19194 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19195
19196 cat >>confdefs.h <<_ACEOF
19197 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19198 _ACEOF
19199
19200
19201
19202 # For gettimeofday support.
19203
19204
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19206 $as_echo_n "checking for gettimeofday... " >&6; }
19207
19208
19209 ac_ext=cpp
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19214
19215 ac_save_CXXFLAGS="$CXXFLAGS"
19216 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19217
19218 ac_has_gettimeofday=no;
19219 for ac_header in sys/time.h
19220 do :
19221 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19222 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_SYS_TIME_H 1
19225 _ACEOF
19226 ac_has_sys_time_h=yes
19227 else
19228 ac_has_sys_time_h=no
19229 fi
19230
19231 done
19232
19233 if test x"$ac_has_sys_time_h" = x"yes"; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19235 $as_echo_n "checking for gettimeofday... " >&6; }
19236 if test x$gcc_no_link = xyes; then
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 #include <sys/time.h>
19240 int
19241 main ()
19242 {
19243 timeval tv; gettimeofday(&tv, 0);
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 if ac_fn_cxx_try_compile "$LINENO"; then :
19249 ac_has_gettimeofday=yes
19250 else
19251 ac_has_gettimeofday=no
19252 fi
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 else
19255 if test x$gcc_no_link = xyes; then
19256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19257 fi
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 #include <sys/time.h>
19261 int
19262 main ()
19263 {
19264 timeval tv; gettimeofday(&tv, 0);
19265 ;
19266 return 0;
19267 }
19268 _ACEOF
19269 if ac_fn_cxx_try_link "$LINENO"; then :
19270 ac_has_gettimeofday=yes
19271 else
19272 ac_has_gettimeofday=no
19273 fi
19274 rm -f core conftest.err conftest.$ac_objext \
19275 conftest$ac_exeext conftest.$ac_ext
19276 fi
19277
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19279 $as_echo "$ac_has_gettimeofday" >&6; }
19280 fi
19281
19282 if test x"$ac_has_gettimeofday" = x"yes"; then
19283
19284 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19285
19286 fi
19287
19288 CXXFLAGS="$ac_save_CXXFLAGS"
19289 ac_ext=c
19290 ac_cpp='$CPP $CPPFLAGS'
19291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19294
19295
19296
19297 # For clock_gettime, nanosleep and sched_yield support.
19298 # NB: The default is [no], because otherwise it requires linking.
19299
19300
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19302 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19303 # Check whether --enable-libstdcxx-time was given.
19304 if test "${enable_libstdcxx_time+set}" = set; then :
19305 enableval=$enable_libstdcxx_time;
19306 case "$enableval" in
19307 yes|no|rt) ;;
19308 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19309 esac
19310
19311 else
19312 enable_libstdcxx_time=no
19313 fi
19314
19315
19316
19317
19318 ac_ext=cpp
19319 ac_cpp='$CXXCPP $CPPFLAGS'
19320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19323
19324 ac_save_CXXFLAGS="$CXXFLAGS"
19325 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19326 ac_save_LIBS="$LIBS"
19327
19328 ac_has_clock_monotonic=no
19329 ac_has_clock_realtime=no
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19331 $as_echo "$enable_libstdcxx_time" >&6; }
19332
19333 if test x"$enable_libstdcxx_time" != x"no"; then
19334
19335 if test x"$enable_libstdcxx_time" = x"rt"; then
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19337 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19338 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19339 $as_echo_n "(cached) " >&6
19340 else
19341 ac_func_search_save_LIBS=$LIBS
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344
19345 /* Override any GCC internal prototype to avoid an error.
19346 Use char because int might match the return type of a GCC
19347 builtin and then its argument prototype would still apply. */
19348 #ifdef __cplusplus
19349 extern "C"
19350 #endif
19351 char clock_gettime ();
19352 int
19353 main ()
19354 {
19355 return clock_gettime ();
19356 ;
19357 return 0;
19358 }
19359 _ACEOF
19360 for ac_lib in '' rt posix4; do
19361 if test -z "$ac_lib"; then
19362 ac_res="none required"
19363 else
19364 ac_res=-l$ac_lib
19365 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19366 fi
19367 if test x$gcc_no_link = xyes; then
19368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19369 fi
19370 if ac_fn_cxx_try_link "$LINENO"; then :
19371 ac_cv_search_clock_gettime=$ac_res
19372 fi
19373 rm -f core conftest.err conftest.$ac_objext \
19374 conftest$ac_exeext
19375 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19376 break
19377 fi
19378 done
19379 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19380
19381 else
19382 ac_cv_search_clock_gettime=no
19383 fi
19384 rm conftest.$ac_ext
19385 LIBS=$ac_func_search_save_LIBS
19386 fi
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19388 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19389 ac_res=$ac_cv_search_clock_gettime
19390 if test "$ac_res" != no; then :
19391 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19392
19393 fi
19394
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19396 $as_echo_n "checking for library containing nanosleep... " >&6; }
19397 if test "${ac_cv_search_nanosleep+set}" = set; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19400 ac_func_search_save_LIBS=$LIBS
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403
19404 /* Override any GCC internal prototype to avoid an error.
19405 Use char because int might match the return type of a GCC
19406 builtin and then its argument prototype would still apply. */
19407 #ifdef __cplusplus
19408 extern "C"
19409 #endif
19410 char nanosleep ();
19411 int
19412 main ()
19413 {
19414 return nanosleep ();
19415 ;
19416 return 0;
19417 }
19418 _ACEOF
19419 for ac_lib in '' rt posix4; do
19420 if test -z "$ac_lib"; then
19421 ac_res="none required"
19422 else
19423 ac_res=-l$ac_lib
19424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19425 fi
19426 if test x$gcc_no_link = xyes; then
19427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19428 fi
19429 if ac_fn_cxx_try_link "$LINENO"; then :
19430 ac_cv_search_nanosleep=$ac_res
19431 fi
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext
19434 if test "${ac_cv_search_nanosleep+set}" = set; then :
19435 break
19436 fi
19437 done
19438 if test "${ac_cv_search_nanosleep+set}" = set; then :
19439
19440 else
19441 ac_cv_search_nanosleep=no
19442 fi
19443 rm conftest.$ac_ext
19444 LIBS=$ac_func_search_save_LIBS
19445 fi
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19447 $as_echo "$ac_cv_search_nanosleep" >&6; }
19448 ac_res=$ac_cv_search_nanosleep
19449 if test "$ac_res" != no; then :
19450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19451
19452 fi
19453
19454 else
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19456 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19457 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19459 else
19460 ac_func_search_save_LIBS=$LIBS
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463
19464 /* Override any GCC internal prototype to avoid an error.
19465 Use char because int might match the return type of a GCC
19466 builtin and then its argument prototype would still apply. */
19467 #ifdef __cplusplus
19468 extern "C"
19469 #endif
19470 char clock_gettime ();
19471 int
19472 main ()
19473 {
19474 return clock_gettime ();
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 for ac_lib in '' posix4; do
19480 if test -z "$ac_lib"; then
19481 ac_res="none required"
19482 else
19483 ac_res=-l$ac_lib
19484 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19485 fi
19486 if test x$gcc_no_link = xyes; then
19487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488 fi
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490 ac_cv_search_clock_gettime=$ac_res
19491 fi
19492 rm -f core conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext
19494 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19495 break
19496 fi
19497 done
19498 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19499
19500 else
19501 ac_cv_search_clock_gettime=no
19502 fi
19503 rm conftest.$ac_ext
19504 LIBS=$ac_func_search_save_LIBS
19505 fi
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19507 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19508 ac_res=$ac_cv_search_clock_gettime
19509 if test "$ac_res" != no; then :
19510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19511
19512 fi
19513
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19515 $as_echo_n "checking for library containing nanosleep... " >&6; }
19516 if test "${ac_cv_search_nanosleep+set}" = set; then :
19517 $as_echo_n "(cached) " >&6
19518 else
19519 ac_func_search_save_LIBS=$LIBS
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522
19523 /* Override any GCC internal prototype to avoid an error.
19524 Use char because int might match the return type of a GCC
19525 builtin and then its argument prototype would still apply. */
19526 #ifdef __cplusplus
19527 extern "C"
19528 #endif
19529 char nanosleep ();
19530 int
19531 main ()
19532 {
19533 return nanosleep ();
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 for ac_lib in '' posix4; do
19539 if test -z "$ac_lib"; then
19540 ac_res="none required"
19541 else
19542 ac_res=-l$ac_lib
19543 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19544 fi
19545 if test x$gcc_no_link = xyes; then
19546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 fi
19548 if ac_fn_cxx_try_link "$LINENO"; then :
19549 ac_cv_search_nanosleep=$ac_res
19550 fi
19551 rm -f core conftest.err conftest.$ac_objext \
19552 conftest$ac_exeext
19553 if test "${ac_cv_search_nanosleep+set}" = set; then :
19554 break
19555 fi
19556 done
19557 if test "${ac_cv_search_nanosleep+set}" = set; then :
19558
19559 else
19560 ac_cv_search_nanosleep=no
19561 fi
19562 rm conftest.$ac_ext
19563 LIBS=$ac_func_search_save_LIBS
19564 fi
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19566 $as_echo "$ac_cv_search_nanosleep" >&6; }
19567 ac_res=$ac_cv_search_nanosleep
19568 if test "$ac_res" != no; then :
19569 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19570
19571 fi
19572
19573 fi
19574
19575 case "$ac_cv_search_clock_gettime" in
19576 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19577 ;;
19578 esac
19579 case "$ac_cv_search_nanosleep" in
19580 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19581 ;;
19582 esac
19583
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19585 $as_echo_n "checking for library containing sched_yield... " >&6; }
19586 if test "${ac_cv_search_sched_yield+set}" = set; then :
19587 $as_echo_n "(cached) " >&6
19588 else
19589 ac_func_search_save_LIBS=$LIBS
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592
19593 /* Override any GCC internal prototype to avoid an error.
19594 Use char because int might match the return type of a GCC
19595 builtin and then its argument prototype would still apply. */
19596 #ifdef __cplusplus
19597 extern "C"
19598 #endif
19599 char sched_yield ();
19600 int
19601 main ()
19602 {
19603 return sched_yield ();
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 for ac_lib in '' rt posix4; do
19609 if test -z "$ac_lib"; then
19610 ac_res="none required"
19611 else
19612 ac_res=-l$ac_lib
19613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19614 fi
19615 if test x$gcc_no_link = xyes; then
19616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 fi
19618 if ac_fn_cxx_try_link "$LINENO"; then :
19619 ac_cv_search_sched_yield=$ac_res
19620 fi
19621 rm -f core conftest.err conftest.$ac_objext \
19622 conftest$ac_exeext
19623 if test "${ac_cv_search_sched_yield+set}" = set; then :
19624 break
19625 fi
19626 done
19627 if test "${ac_cv_search_sched_yield+set}" = set; then :
19628
19629 else
19630 ac_cv_search_sched_yield=no
19631 fi
19632 rm conftest.$ac_ext
19633 LIBS=$ac_func_search_save_LIBS
19634 fi
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19636 $as_echo "$ac_cv_search_sched_yield" >&6; }
19637 ac_res=$ac_cv_search_sched_yield
19638 if test "$ac_res" != no; then :
19639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19640
19641 fi
19642
19643
19644 case "$ac_cv_search_sched_yield" in
19645 -lposix4*)
19646 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19647
19648 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19649
19650 ;;
19651 -lrt*)
19652 if test x"$enable_libstdcxx_time" = x"rt"; then
19653 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19654
19655 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19656
19657 fi
19658 ;;
19659 *)
19660
19661 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19662
19663 ;;
19664 esac
19665
19666 for ac_header in unistd.h
19667 do :
19668 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19669 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_UNISTD_H 1
19672 _ACEOF
19673 ac_has_unistd_h=yes
19674 else
19675 ac_has_unistd_h=no
19676 fi
19677
19678 done
19679
19680
19681 if test x"$ac_has_unistd_h" = x"yes"; then
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19683 $as_echo_n "checking for monotonic clock... " >&6; }
19684 if test x$gcc_no_link = xyes; then
19685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19686 fi
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19689 #include <unistd.h>
19690 #include <time.h>
19691
19692 int
19693 main ()
19694 {
19695 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19696 timespec tp;
19697 #endif
19698 clock_gettime(CLOCK_MONOTONIC, &tp);
19699
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 if ac_fn_cxx_try_link "$LINENO"; then :
19705 ac_has_clock_monotonic=yes
19706 else
19707 ac_has_clock_monotonic=no
19708 fi
19709 rm -f core conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext conftest.$ac_ext
19711
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19713 $as_echo "$ac_has_clock_monotonic" >&6; }
19714
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19716 $as_echo_n "checking for realtime clock... " >&6; }
19717 if test x$gcc_no_link = xyes; then
19718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 fi
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #include <unistd.h>
19723 #include <time.h>
19724
19725 int
19726 main ()
19727 {
19728 #if _POSIX_TIMERS > 0
19729 timespec tp;
19730 #endif
19731 clock_gettime(CLOCK_REALTIME, &tp);
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 if ac_fn_cxx_try_link "$LINENO"; then :
19738 ac_has_clock_realtime=yes
19739 else
19740 ac_has_clock_realtime=no
19741 fi
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19746 $as_echo "$ac_has_clock_realtime" >&6; }
19747
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19749 $as_echo_n "checking for nanosleep... " >&6; }
19750 if test x$gcc_no_link = xyes; then
19751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 fi
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #include <unistd.h>
19756 #include <time.h>
19757
19758 int
19759 main ()
19760 {
19761 #if _POSIX_TIMERS > 0
19762 timespec tp;
19763 #endif
19764 nanosleep(&tp, 0);
19765
19766 ;
19767 return 0;
19768 }
19769 _ACEOF
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771 ac_has_nanosleep=yes
19772 else
19773 ac_has_nanosleep=no
19774 fi
19775 rm -f core conftest.err conftest.$ac_objext \
19776 conftest$ac_exeext conftest.$ac_ext
19777
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19779 $as_echo "$ac_has_nanosleep" >&6; }
19780 fi
19781 fi
19782
19783 if test x"$ac_has_clock_monotonic" = x"yes"; then
19784
19785 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19786
19787 fi
19788
19789 if test x"$ac_has_clock_realtime" = x"yes"; then
19790
19791 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19792
19793 fi
19794
19795 if test x"$ac_has_nanosleep" = x"yes"; then
19796
19797 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19798
19799 fi
19800
19801
19802
19803 CXXFLAGS="$ac_save_CXXFLAGS"
19804 LIBS="$ac_save_LIBS"
19805 ac_ext=c
19806 ac_cpp='$CPP $CPPFLAGS'
19807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19810
19811
19812
19813 # For gthread support
19814
19815
19816 ac_ext=cpp
19817 ac_cpp='$CXXCPP $CPPFLAGS'
19818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19821
19822
19823 ac_save_CXXFLAGS="$CXXFLAGS"
19824 CXXFLAGS="$CXXFLAGS -fno-exceptions \
19825 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19826
19827 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19828 case $target_thread_file in
19829 posix)
19830 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19831 esac
19832
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19834 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19835
19836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19837 /* end confdefs.h. */
19838 #include <unistd.h>
19839 int
19840 main ()
19841 {
19842
19843 // In case of POSIX threads check _POSIX_TIMEOUTS.
19844 #if (defined(_PTHREADS) \
19845 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19846 #error
19847 #endif
19848
19849 ;
19850 return 0;
19851 }
19852 _ACEOF
19853 if ac_fn_cxx_try_compile "$LINENO"; then :
19854 ac_gthread_use_mutex_timedlock=1
19855 else
19856 ac_gthread_use_mutex_timedlock=0
19857 fi
19858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19859
19860
19861 cat >>confdefs.h <<_ACEOF
19862 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19863 _ACEOF
19864
19865
19866 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19867 else res_mutex_timedlock=no ; fi
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19869 $as_echo "$res_mutex_timedlock" >&6; }
19870
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19872 $as_echo_n "checking for gthreads library... " >&6; }
19873
19874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19876 #include "gthr.h"
19877 int
19878 main ()
19879 {
19880
19881 #ifndef __GTHREADS_CXX0X
19882 #error
19883 #endif
19884
19885 ;
19886 return 0;
19887 }
19888 _ACEOF
19889 if ac_fn_cxx_try_compile "$LINENO"; then :
19890 ac_has_gthreads=yes
19891 else
19892 ac_has_gthreads=no
19893 fi
19894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19895
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19897 $as_echo "$ac_has_gthreads" >&6; }
19898
19899 if test x"$ac_has_gthreads" = x"yes"; then
19900
19901 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19902
19903 fi
19904
19905 CXXFLAGS="$ac_save_CXXFLAGS"
19906 ac_ext=c
19907 ac_cpp='$CPP $CPPFLAGS'
19908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19911
19912
19913
19914
19915 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19916 if test "x$ac_cv_header_locale_h" = x""yes; then :
19917
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19919 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19920 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19921 $as_echo_n "(cached) " >&6
19922 else
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19925 #include <locale.h>
19926 int
19927 main ()
19928 {
19929 return LC_MESSAGES
19930 ;
19931 return 0;
19932 }
19933 _ACEOF
19934 if ac_fn_c_try_compile "$LINENO"; then :
19935 ac_cv_val_LC_MESSAGES=yes
19936 else
19937 ac_cv_val_LC_MESSAGES=no
19938 fi
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 fi
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19942 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19943 if test $ac_cv_val_LC_MESSAGES = yes; then
19944
19945 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19946
19947 fi
19948
19949 fi
19950
19951
19952
19953
19954 # For hardware_concurrency
19955 for ac_header in sys/sysinfo.h
19956 do :
19957 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19958 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19959 cat >>confdefs.h <<_ACEOF
19960 #define HAVE_SYS_SYSINFO_H 1
19961 _ACEOF
19962
19963 fi
19964
19965 done
19966
19967
19968
19969
19970 ac_ext=cpp
19971 ac_cpp='$CXXCPP $CPPFLAGS'
19972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19975
19976 ac_save_CXXFLAGS="$CXXFLAGS"
19977 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19978
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19980 $as_echo_n "checking for get_nprocs... " >&6; }
19981 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19982 $as_echo_n "(cached) " >&6
19983 else
19984
19985 if test x$gcc_no_link = xyes; then
19986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19987 /* end confdefs.h. */
19988 #include <sys/sysinfo.h>
19989 int
19990 main ()
19991 {
19992 int n = get_nprocs();
19993 ;
19994 return 0;
19995 }
19996 _ACEOF
19997 if ac_fn_cxx_try_compile "$LINENO"; then :
19998 glibcxx_cv_GET_NPROCS=yes
19999 else
20000 glibcxx_cv_GET_NPROCS=no
20001 fi
20002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 else
20004 if test x$gcc_no_link = xyes; then
20005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20006 fi
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20009 #include <sys/sysinfo.h>
20010 int
20011 main ()
20012 {
20013 int n = get_nprocs();
20014 ;
20015 return 0;
20016 }
20017 _ACEOF
20018 if ac_fn_cxx_try_link "$LINENO"; then :
20019 glibcxx_cv_GET_NPROCS=yes
20020 else
20021 glibcxx_cv_GET_NPROCS=no
20022 fi
20023 rm -f core conftest.err conftest.$ac_objext \
20024 conftest$ac_exeext conftest.$ac_ext
20025 fi
20026
20027 fi
20028
20029 if test $glibcxx_cv_GET_NPROCS = yes; then
20030
20031 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20032
20033 fi
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20035 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20036
20037 CXXFLAGS="$ac_save_CXXFLAGS"
20038 ac_ext=c
20039 ac_cpp='$CPP $CPPFLAGS'
20040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20043
20044
20045 for ac_header in unistd.h
20046 do :
20047 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20048 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20049 cat >>confdefs.h <<_ACEOF
20050 #define HAVE_UNISTD_H 1
20051 _ACEOF
20052
20053 fi
20054
20055 done
20056
20057
20058
20059
20060 ac_ext=cpp
20061 ac_cpp='$CXXCPP $CPPFLAGS'
20062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20065
20066 ac_save_CXXFLAGS="$CXXFLAGS"
20067 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20068
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20070 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20071 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20072 $as_echo_n "(cached) " >&6
20073 else
20074
20075 if test x$gcc_no_link = xyes; then
20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h. */
20078 #include <unistd.h>
20079 int
20080 main ()
20081 {
20082 int n = sysconf(_SC_NPROCESSORS_ONLN);
20083 ;
20084 return 0;
20085 }
20086 _ACEOF
20087 if ac_fn_cxx_try_compile "$LINENO"; then :
20088 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20089 else
20090 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20091 fi
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 else
20094 if test x$gcc_no_link = xyes; then
20095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20096 fi
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 #include <unistd.h>
20100 int
20101 main ()
20102 {
20103 int n = sysconf(_SC_NPROCESSORS_ONLN);
20104 ;
20105 return 0;
20106 }
20107 _ACEOF
20108 if ac_fn_cxx_try_link "$LINENO"; then :
20109 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20110 else
20111 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20112 fi
20113 rm -f core conftest.err conftest.$ac_objext \
20114 conftest$ac_exeext conftest.$ac_ext
20115 fi
20116
20117 fi
20118
20119 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20120
20121 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20122
20123 fi
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20125 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20126
20127 CXXFLAGS="$ac_save_CXXFLAGS"
20128 ac_ext=c
20129 ac_cpp='$CPP $CPPFLAGS'
20130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20133
20134
20135
20136
20137
20138 ac_ext=cpp
20139 ac_cpp='$CXXCPP $CPPFLAGS'
20140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20143
20144 ac_save_CXXFLAGS="$CXXFLAGS"
20145 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20146
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20148 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20149 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20150 $as_echo_n "(cached) " >&6
20151 else
20152
20153 if test x$gcc_no_link = xyes; then
20154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20155 /* end confdefs.h. */
20156 #include <unistd.h>
20157 int
20158 main ()
20159 {
20160 int n = sysconf(_SC_NPROC_ONLN);
20161 ;
20162 return 0;
20163 }
20164 _ACEOF
20165 if ac_fn_cxx_try_compile "$LINENO"; then :
20166 glibcxx_cv_SC_NPROC_ONLN=yes
20167 else
20168 glibcxx_cv_SC_NPROC_ONLN=no
20169 fi
20170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20171 else
20172 if test x$gcc_no_link = xyes; then
20173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20174 fi
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20177 #include <unistd.h>
20178 int
20179 main ()
20180 {
20181 int n = sysconf(_SC_NPROC_ONLN);
20182 ;
20183 return 0;
20184 }
20185 _ACEOF
20186 if ac_fn_cxx_try_link "$LINENO"; then :
20187 glibcxx_cv_SC_NPROC_ONLN=yes
20188 else
20189 glibcxx_cv_SC_NPROC_ONLN=no
20190 fi
20191 rm -f core conftest.err conftest.$ac_objext \
20192 conftest$ac_exeext conftest.$ac_ext
20193 fi
20194
20195 fi
20196
20197 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20198
20199 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20200
20201 fi
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20203 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20204
20205 CXXFLAGS="$ac_save_CXXFLAGS"
20206 ac_ext=c
20207 ac_cpp='$CPP $CPPFLAGS'
20208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20211
20212
20213
20214
20215
20216 ac_ext=cpp
20217 ac_cpp='$CXXCPP $CPPFLAGS'
20218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20221
20222 ac_save_CXXFLAGS="$CXXFLAGS"
20223 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20224
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20226 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20227 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20228 $as_echo_n "(cached) " >&6
20229 else
20230
20231 if test x$gcc_no_link = xyes; then
20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20233 /* end confdefs.h. */
20234 #include <pthread.h>
20235 int
20236 main ()
20237 {
20238 int n = pthread_num_processors_np();
20239 ;
20240 return 0;
20241 }
20242 _ACEOF
20243 if ac_fn_cxx_try_compile "$LINENO"; then :
20244 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20245 else
20246 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20247 fi
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20249 else
20250 if test x$gcc_no_link = xyes; then
20251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20252 fi
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20255 #include <pthread.h>
20256 int
20257 main ()
20258 {
20259 int n = pthread_num_processors_np();
20260 ;
20261 return 0;
20262 }
20263 _ACEOF
20264 if ac_fn_cxx_try_link "$LINENO"; then :
20265 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20266 else
20267 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20268 fi
20269 rm -f core conftest.err conftest.$ac_objext \
20270 conftest$ac_exeext conftest.$ac_ext
20271 fi
20272
20273 fi
20274
20275 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20276
20277 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20278
20279 fi
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20281 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20282
20283 CXXFLAGS="$ac_save_CXXFLAGS"
20284 ac_ext=c
20285 ac_cpp='$CPP $CPPFLAGS'
20286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20289
20290
20291
20292
20293
20294 ac_ext=cpp
20295 ac_cpp='$CXXCPP $CPPFLAGS'
20296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20299
20300 ac_save_CXXFLAGS="$CXXFLAGS"
20301 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20302
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20304 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20305 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20306 $as_echo_n "(cached) " >&6
20307 else
20308
20309 if test x$gcc_no_link = xyes; then
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20312
20313 #include <stddef.h>
20314 #include <sys/sysctl.h>
20315
20316 int
20317 main ()
20318 {
20319
20320 int count;
20321 size_t size = sizeof(count);
20322 int mib[] = { CTL_HW, HW_NCPU };
20323 sysctl(mib, 2, &count, &size, NULL, 0);
20324
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 if ac_fn_cxx_try_compile "$LINENO"; then :
20330 glibcxx_cv_SYSCTL_HW_NCPU=yes
20331 else
20332 glibcxx_cv_SYSCTL_HW_NCPU=no
20333 fi
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20335 else
20336 if test x$gcc_no_link = xyes; then
20337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20338 fi
20339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20340 /* end confdefs.h. */
20341
20342 #include <stddef.h>
20343 #include <sys/sysctl.h>
20344
20345 int
20346 main ()
20347 {
20348
20349 int count;
20350 size_t size = sizeof(count);
20351 int mib[] = { CTL_HW, HW_NCPU };
20352 sysctl(mib, 2, &count, &size, NULL, 0);
20353
20354 ;
20355 return 0;
20356 }
20357 _ACEOF
20358 if ac_fn_cxx_try_link "$LINENO"; then :
20359 glibcxx_cv_SYSCTL_HW_NCPU=yes
20360 else
20361 glibcxx_cv_SYSCTL_HW_NCPU=no
20362 fi
20363 rm -f core conftest.err conftest.$ac_objext \
20364 conftest$ac_exeext conftest.$ac_ext
20365 fi
20366
20367 fi
20368
20369 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20370
20371 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20372
20373 fi
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20375 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20376
20377 CXXFLAGS="$ac_save_CXXFLAGS"
20378 ac_ext=c
20379 ac_cpp='$CPP $CPPFLAGS'
20380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20383
20384
20385
20386 # Check for available headers.
20387 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20388 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20389 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20390 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20391 wchar.h wctype.h
20392 do :
20393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20394 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20395 eval as_val=\$$as_ac_Header
20396 if test "x$as_val" = x""yes; then :
20397 cat >>confdefs.h <<_ACEOF
20398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20399 _ACEOF
20400
20401 fi
20402
20403 done
20404
20405
20406 # Only do link tests if native. Else, hardcode.
20407 if $GLIBCXX_IS_NATIVE; then
20408
20409 # We can do more elaborate tests that assume a working linker.
20410 CANADIAN=no
20411
20412
20413
20414 # Check whether --with-gnu-ld was given.
20415 if test "${with_gnu_ld+set}" = set; then :
20416 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20417 else
20418 with_gnu_ld=no
20419 fi
20420
20421 ac_prog=ld
20422 if test "$GCC" = yes; then
20423 # Check if gcc -print-prog-name=ld gives a path.
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20425 $as_echo_n "checking for ld used by $CC... " >&6; }
20426 case $host in
20427 *-*-mingw*)
20428 # gcc leaves a trailing carriage return which upsets mingw
20429 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20430 *)
20431 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20432 esac
20433 case $ac_prog in
20434 # Accept absolute paths.
20435 [\\/]* | ?:[\\/]*)
20436 re_direlt='/[^/][^/]*/\.\./'
20437 # Canonicalize the pathname of ld
20438 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20439 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20440 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20441 done
20442 test -z "$LD" && LD="$ac_prog"
20443 ;;
20444 "")
20445 # If it fails, then pretend we aren't using GCC.
20446 ac_prog=ld
20447 ;;
20448 *)
20449 # If it is relative, then search for the first ld in PATH.
20450 with_gnu_ld=unknown
20451 ;;
20452 esac
20453 elif test "$with_gnu_ld" = yes; then
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20455 $as_echo_n "checking for GNU ld... " >&6; }
20456 else
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20458 $as_echo_n "checking for non-GNU ld... " >&6; }
20459 fi
20460 if test "${lt_cv_path_LD+set}" = set; then :
20461 $as_echo_n "(cached) " >&6
20462 else
20463 if test -z "$LD"; then
20464 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20465 for ac_dir in $PATH; do
20466 IFS="$lt_save_ifs"
20467 test -z "$ac_dir" && ac_dir=.
20468 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20469 lt_cv_path_LD="$ac_dir/$ac_prog"
20470 # Check to see if the program is GNU ld. I'd rather use --version,
20471 # but apparently some variants of GNU ld only accept -v.
20472 # Break only if it was the GNU/non-GNU ld that we prefer.
20473 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20474 *GNU* | *'with BFD'*)
20475 test "$with_gnu_ld" != no && break
20476 ;;
20477 *)
20478 test "$with_gnu_ld" != yes && break
20479 ;;
20480 esac
20481 fi
20482 done
20483 IFS="$lt_save_ifs"
20484 else
20485 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20486 fi
20487 fi
20488
20489 LD="$lt_cv_path_LD"
20490 if test -n "$LD"; then
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20492 $as_echo "$LD" >&6; }
20493 else
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20495 $as_echo "no" >&6; }
20496 fi
20497 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20499 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20500 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20501 $as_echo_n "(cached) " >&6
20502 else
20503 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20504 case `$LD -v 2>&1 </dev/null` in
20505 *GNU* | *'with BFD'*)
20506 lt_cv_prog_gnu_ld=yes
20507 ;;
20508 *)
20509 lt_cv_prog_gnu_ld=no
20510 ;;
20511 esac
20512 fi
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20514 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20515 with_gnu_ld=$lt_cv_prog_gnu_ld
20516
20517
20518
20519
20520
20521
20522
20523 # If we're not using GNU ld, then there's no point in even trying these
20524 # tests. Check for that first. We should have already tested for gld
20525 # by now (in libtool), but require it now just to be safe...
20526 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20527 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20528
20529
20530
20531 # The name set by libtool depends on the version of libtool. Shame on us
20532 # for depending on an impl detail, but c'est la vie. Older versions used
20533 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20534 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20535 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20536 # set (hence we're using an older libtool), then set it.
20537 if test x${with_gnu_ld+set} != xset; then
20538 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20539 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20540 with_gnu_ld=no
20541 else
20542 with_gnu_ld=$ac_cv_prog_gnu_ld
20543 fi
20544 fi
20545
20546 # Start by getting the version number. I think the libtool test already
20547 # does some of this, but throws away the result.
20548 glibcxx_ld_is_gold=no
20549 if test x"$with_gnu_ld" = x"yes"; then
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20551 $as_echo_n "checking for ld version... " >&6; }
20552
20553 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20554 glibcxx_ld_is_gold=yes
20555 fi
20556 ldver=`$LD --version 2>/dev/null |
20557 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
20558
20559 glibcxx_gnu_ld_version=`echo $ldver | \
20560 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20562 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20563 fi
20564
20565 # Set --gc-sections.
20566 glibcxx_have_gc_sections=no
20567 if test "$glibcxx_ld_is_gold" = "yes"; then
20568 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20569 glibcxx_have_gc_sections=yes
20570 fi
20571 else
20572 glibcxx_gcsections_min_ld=21602
20573 if test x"$with_gnu_ld" = x"yes" &&
20574 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20575 glibcxx_have_gc_sections=yes
20576 fi
20577 fi
20578 if test "$glibcxx_have_gc_sections" = "yes"; then
20579 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20580 # NB: This flag only works reliably after 2.16.1. Configure tests
20581 # for this are difficult, so hard wire a value that should work.
20582
20583 ac_test_CFLAGS="${CFLAGS+set}"
20584 ac_save_CFLAGS="$CFLAGS"
20585 CFLAGS='-Wl,--gc-sections'
20586
20587 # Check for -Wl,--gc-sections
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20589 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20590 if test x$gcc_no_link = xyes; then
20591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20592 fi
20593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20595 int one(void) { return 1; }
20596 int two(void) { return 2; }
20597
20598 int
20599 main ()
20600 {
20601 two();
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 if ac_fn_c_try_link "$LINENO"; then :
20607 ac_gcsections=yes
20608 else
20609 ac_gcsections=no
20610 fi
20611 rm -f core conftest.err conftest.$ac_objext \
20612 conftest$ac_exeext conftest.$ac_ext
20613 if test "$ac_gcsections" = "yes"; then
20614 rm -f conftest.c
20615 touch conftest.c
20616 if $CC -c conftest.c; then
20617 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20618 grep "Warning: gc-sections option ignored" > /dev/null; then
20619 ac_gcsections=no
20620 fi
20621 fi
20622 rm -f conftest.c conftest.o conftest
20623 fi
20624 if test "$ac_gcsections" = "yes"; then
20625 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20626 fi
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20628 $as_echo "$ac_gcsections" >&6; }
20629
20630 if test "$ac_test_CFLAGS" = set; then
20631 CFLAGS="$ac_save_CFLAGS"
20632 else
20633 # this is the suspicious part
20634 CFLAGS=''
20635 fi
20636 fi
20637
20638 # Set -z,relro.
20639 # Note this is only for shared objects.
20640 ac_ld_relro=no
20641 if test x"$with_gnu_ld" = x"yes"; then
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20643 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20644 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20645 if test -n "$cxx_z_relo"; then
20646 OPT_LDFLAGS="-Wl,-z,relro"
20647 ac_ld_relro=yes
20648 fi
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20650 $as_echo "$ac_ld_relro" >&6; }
20651 fi
20652
20653 # Set linker optimization flags.
20654 if test x"$with_gnu_ld" = x"yes"; then
20655 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20656 fi
20657
20658
20659
20660
20661
20662 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20663 ac_save_CXXFLAGS="$CXXFLAGS"
20664 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20665
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20667 $as_echo_n "checking for sin in -lm... " >&6; }
20668 if test "${ac_cv_lib_m_sin+set}" = set; then :
20669 $as_echo_n "(cached) " >&6
20670 else
20671 ac_check_lib_save_LIBS=$LIBS
20672 LIBS="-lm $LIBS"
20673 if test x$gcc_no_link = xyes; then
20674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20675 fi
20676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20677 /* end confdefs.h. */
20678
20679 /* Override any GCC internal prototype to avoid an error.
20680 Use char because int might match the return type of a GCC
20681 builtin and then its argument prototype would still apply. */
20682 #ifdef __cplusplus
20683 extern "C"
20684 #endif
20685 char sin ();
20686 int
20687 main ()
20688 {
20689 return sin ();
20690 ;
20691 return 0;
20692 }
20693 _ACEOF
20694 if ac_fn_c_try_link "$LINENO"; then :
20695 ac_cv_lib_m_sin=yes
20696 else
20697 ac_cv_lib_m_sin=no
20698 fi
20699 rm -f core conftest.err conftest.$ac_objext \
20700 conftest$ac_exeext conftest.$ac_ext
20701 LIBS=$ac_check_lib_save_LIBS
20702 fi
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20704 $as_echo "$ac_cv_lib_m_sin" >&6; }
20705 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20706 libm="-lm"
20707 fi
20708
20709 ac_save_LIBS="$LIBS"
20710 LIBS="$LIBS $libm"
20711
20712
20713
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20715 $as_echo_n "checking for isinf declaration... " >&6; }
20716 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20717 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20718 $as_echo_n "(cached) " >&6
20719 else
20720
20721
20722 ac_ext=cpp
20723 ac_cpp='$CXXCPP $CPPFLAGS'
20724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20727
20728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20730 #include <math.h>
20731 #ifdef HAVE_IEEEFP_H
20732 #include <ieeefp.h>
20733 #endif
20734
20735 int
20736 main ()
20737 {
20738 isinf(0);
20739 ;
20740 return 0;
20741 }
20742 _ACEOF
20743 if ac_fn_cxx_try_compile "$LINENO"; then :
20744 glibcxx_cv_func_isinf_use=yes
20745 else
20746 glibcxx_cv_func_isinf_use=no
20747 fi
20748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20749 ac_ext=c
20750 ac_cpp='$CPP $CPPFLAGS'
20751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20754
20755
20756 fi
20757
20758 fi
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20760 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20761
20762 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20763 for ac_func in isinf
20764 do :
20765 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20766 if test "x$ac_cv_func_isinf" = x""yes; then :
20767 cat >>confdefs.h <<_ACEOF
20768 #define HAVE_ISINF 1
20769 _ACEOF
20770
20771 fi
20772 done
20773
20774 else
20775
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20777 $as_echo_n "checking for _isinf declaration... " >&6; }
20778 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20779 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20780 $as_echo_n "(cached) " >&6
20781 else
20782
20783
20784 ac_ext=cpp
20785 ac_cpp='$CXXCPP $CPPFLAGS'
20786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20789
20790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20791 /* end confdefs.h. */
20792 #include <math.h>
20793 #ifdef HAVE_IEEEFP_H
20794 #include <ieeefp.h>
20795 #endif
20796
20797 int
20798 main ()
20799 {
20800 _isinf(0);
20801 ;
20802 return 0;
20803 }
20804 _ACEOF
20805 if ac_fn_cxx_try_compile "$LINENO"; then :
20806 glibcxx_cv_func__isinf_use=yes
20807 else
20808 glibcxx_cv_func__isinf_use=no
20809 fi
20810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20811 ac_ext=c
20812 ac_cpp='$CPP $CPPFLAGS'
20813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20816
20817
20818 fi
20819
20820 fi
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20822 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20823
20824 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20825 for ac_func in _isinf
20826 do :
20827 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20828 if test "x$ac_cv_func__isinf" = x""yes; then :
20829 cat >>confdefs.h <<_ACEOF
20830 #define HAVE__ISINF 1
20831 _ACEOF
20832
20833 fi
20834 done
20835
20836 fi
20837 fi
20838
20839
20840
20841
20842
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20844 $as_echo_n "checking for isnan declaration... " >&6; }
20845 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20846 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20847 $as_echo_n "(cached) " >&6
20848 else
20849
20850
20851 ac_ext=cpp
20852 ac_cpp='$CXXCPP $CPPFLAGS'
20853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20856
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #include <math.h>
20860 #ifdef HAVE_IEEEFP_H
20861 #include <ieeefp.h>
20862 #endif
20863
20864 int
20865 main ()
20866 {
20867 isnan(0);
20868 ;
20869 return 0;
20870 }
20871 _ACEOF
20872 if ac_fn_cxx_try_compile "$LINENO"; then :
20873 glibcxx_cv_func_isnan_use=yes
20874 else
20875 glibcxx_cv_func_isnan_use=no
20876 fi
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20878 ac_ext=c
20879 ac_cpp='$CPP $CPPFLAGS'
20880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20883
20884
20885 fi
20886
20887 fi
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20889 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20890
20891 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20892 for ac_func in isnan
20893 do :
20894 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20895 if test "x$ac_cv_func_isnan" = x""yes; then :
20896 cat >>confdefs.h <<_ACEOF
20897 #define HAVE_ISNAN 1
20898 _ACEOF
20899
20900 fi
20901 done
20902
20903 else
20904
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20906 $as_echo_n "checking for _isnan declaration... " >&6; }
20907 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20908 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20909 $as_echo_n "(cached) " >&6
20910 else
20911
20912
20913 ac_ext=cpp
20914 ac_cpp='$CXXCPP $CPPFLAGS'
20915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20918
20919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20921 #include <math.h>
20922 #ifdef HAVE_IEEEFP_H
20923 #include <ieeefp.h>
20924 #endif
20925
20926 int
20927 main ()
20928 {
20929 _isnan(0);
20930 ;
20931 return 0;
20932 }
20933 _ACEOF
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 glibcxx_cv_func__isnan_use=yes
20936 else
20937 glibcxx_cv_func__isnan_use=no
20938 fi
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 ac_ext=c
20941 ac_cpp='$CPP $CPPFLAGS'
20942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20945
20946
20947 fi
20948
20949 fi
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20951 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20952
20953 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20954 for ac_func in _isnan
20955 do :
20956 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20957 if test "x$ac_cv_func__isnan" = x""yes; then :
20958 cat >>confdefs.h <<_ACEOF
20959 #define HAVE__ISNAN 1
20960 _ACEOF
20961
20962 fi
20963 done
20964
20965 fi
20966 fi
20967
20968
20969
20970
20971
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20973 $as_echo_n "checking for finite declaration... " >&6; }
20974 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20975 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20976 $as_echo_n "(cached) " >&6
20977 else
20978
20979
20980 ac_ext=cpp
20981 ac_cpp='$CXXCPP $CPPFLAGS'
20982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20985
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #include <math.h>
20989 #ifdef HAVE_IEEEFP_H
20990 #include <ieeefp.h>
20991 #endif
20992
20993 int
20994 main ()
20995 {
20996 finite(0);
20997 ;
20998 return 0;
20999 }
21000 _ACEOF
21001 if ac_fn_cxx_try_compile "$LINENO"; then :
21002 glibcxx_cv_func_finite_use=yes
21003 else
21004 glibcxx_cv_func_finite_use=no
21005 fi
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 ac_ext=c
21008 ac_cpp='$CPP $CPPFLAGS'
21009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21012
21013
21014 fi
21015
21016 fi
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21018 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21019
21020 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21021 for ac_func in finite
21022 do :
21023 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21024 if test "x$ac_cv_func_finite" = x""yes; then :
21025 cat >>confdefs.h <<_ACEOF
21026 #define HAVE_FINITE 1
21027 _ACEOF
21028
21029 fi
21030 done
21031
21032 else
21033
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21035 $as_echo_n "checking for _finite declaration... " >&6; }
21036 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21037 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21039 else
21040
21041
21042 ac_ext=cpp
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21047
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21050 #include <math.h>
21051 #ifdef HAVE_IEEEFP_H
21052 #include <ieeefp.h>
21053 #endif
21054
21055 int
21056 main ()
21057 {
21058 _finite(0);
21059 ;
21060 return 0;
21061 }
21062 _ACEOF
21063 if ac_fn_cxx_try_compile "$LINENO"; then :
21064 glibcxx_cv_func__finite_use=yes
21065 else
21066 glibcxx_cv_func__finite_use=no
21067 fi
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 ac_ext=c
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21074
21075
21076 fi
21077
21078 fi
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21080 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21081
21082 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21083 for ac_func in _finite
21084 do :
21085 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21086 if test "x$ac_cv_func__finite" = x""yes; then :
21087 cat >>confdefs.h <<_ACEOF
21088 #define HAVE__FINITE 1
21089 _ACEOF
21090
21091 fi
21092 done
21093
21094 fi
21095 fi
21096
21097
21098
21099
21100
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21102 $as_echo_n "checking for sincos declaration... " >&6; }
21103 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21104 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21105 $as_echo_n "(cached) " >&6
21106 else
21107
21108
21109 ac_ext=cpp
21110 ac_cpp='$CXXCPP $CPPFLAGS'
21111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21114
21115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21116 /* end confdefs.h. */
21117 #include <math.h>
21118 int
21119 main ()
21120 {
21121 sincos(0, 0, 0);
21122 ;
21123 return 0;
21124 }
21125 _ACEOF
21126 if ac_fn_cxx_try_compile "$LINENO"; then :
21127 glibcxx_cv_func_sincos_use=yes
21128 else
21129 glibcxx_cv_func_sincos_use=no
21130 fi
21131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 ac_ext=c
21133 ac_cpp='$CPP $CPPFLAGS'
21134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21137
21138
21139 fi
21140
21141 fi
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21143 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21144
21145 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21146 for ac_func in sincos
21147 do :
21148 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21149 if test "x$ac_cv_func_sincos" = x""yes; then :
21150 cat >>confdefs.h <<_ACEOF
21151 #define HAVE_SINCOS 1
21152 _ACEOF
21153
21154 fi
21155 done
21156
21157 else
21158
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21160 $as_echo_n "checking for _sincos declaration... " >&6; }
21161 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21162 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21163 $as_echo_n "(cached) " >&6
21164 else
21165
21166
21167 ac_ext=cpp
21168 ac_cpp='$CXXCPP $CPPFLAGS'
21169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21172
21173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h. */
21175 #include <math.h>
21176 int
21177 main ()
21178 {
21179 _sincos(0, 0, 0);
21180 ;
21181 return 0;
21182 }
21183 _ACEOF
21184 if ac_fn_cxx_try_compile "$LINENO"; then :
21185 glibcxx_cv_func__sincos_use=yes
21186 else
21187 glibcxx_cv_func__sincos_use=no
21188 fi
21189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21190 ac_ext=c
21191 ac_cpp='$CPP $CPPFLAGS'
21192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195
21196
21197 fi
21198
21199 fi
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21201 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21202
21203 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21204 for ac_func in _sincos
21205 do :
21206 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21207 if test "x$ac_cv_func__sincos" = x""yes; then :
21208 cat >>confdefs.h <<_ACEOF
21209 #define HAVE__SINCOS 1
21210 _ACEOF
21211
21212 fi
21213 done
21214
21215 fi
21216 fi
21217
21218
21219
21220
21221
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21223 $as_echo_n "checking for fpclass declaration... " >&6; }
21224 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21225 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21226 $as_echo_n "(cached) " >&6
21227 else
21228
21229
21230 ac_ext=cpp
21231 ac_cpp='$CXXCPP $CPPFLAGS'
21232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21235
21236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h. */
21238 #include <math.h>
21239 #ifdef HAVE_IEEEFP_H
21240 #include <ieeefp.h>
21241 #endif
21242
21243 int
21244 main ()
21245 {
21246 fpclass(0);
21247 ;
21248 return 0;
21249 }
21250 _ACEOF
21251 if ac_fn_cxx_try_compile "$LINENO"; then :
21252 glibcxx_cv_func_fpclass_use=yes
21253 else
21254 glibcxx_cv_func_fpclass_use=no
21255 fi
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21257 ac_ext=c
21258 ac_cpp='$CPP $CPPFLAGS'
21259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21262
21263
21264 fi
21265
21266 fi
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21268 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21269
21270 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21271 for ac_func in fpclass
21272 do :
21273 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21274 if test "x$ac_cv_func_fpclass" = x""yes; then :
21275 cat >>confdefs.h <<_ACEOF
21276 #define HAVE_FPCLASS 1
21277 _ACEOF
21278
21279 fi
21280 done
21281
21282 else
21283
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21285 $as_echo_n "checking for _fpclass declaration... " >&6; }
21286 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21287 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21288 $as_echo_n "(cached) " >&6
21289 else
21290
21291
21292 ac_ext=cpp
21293 ac_cpp='$CXXCPP $CPPFLAGS'
21294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21297
21298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21299 /* end confdefs.h. */
21300 #include <math.h>
21301 #ifdef HAVE_IEEEFP_H
21302 #include <ieeefp.h>
21303 #endif
21304
21305 int
21306 main ()
21307 {
21308 _fpclass(0);
21309 ;
21310 return 0;
21311 }
21312 _ACEOF
21313 if ac_fn_cxx_try_compile "$LINENO"; then :
21314 glibcxx_cv_func__fpclass_use=yes
21315 else
21316 glibcxx_cv_func__fpclass_use=no
21317 fi
21318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319 ac_ext=c
21320 ac_cpp='$CPP $CPPFLAGS'
21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21324
21325
21326 fi
21327
21328 fi
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21330 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21331
21332 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21333 for ac_func in _fpclass
21334 do :
21335 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21336 if test "x$ac_cv_func__fpclass" = x""yes; then :
21337 cat >>confdefs.h <<_ACEOF
21338 #define HAVE__FPCLASS 1
21339 _ACEOF
21340
21341 fi
21342 done
21343
21344 fi
21345 fi
21346
21347
21348
21349
21350
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21352 $as_echo_n "checking for qfpclass declaration... " >&6; }
21353 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21354 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21355 $as_echo_n "(cached) " >&6
21356 else
21357
21358
21359 ac_ext=cpp
21360 ac_cpp='$CXXCPP $CPPFLAGS'
21361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21364
21365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21366 /* end confdefs.h. */
21367 #include <math.h>
21368 #ifdef HAVE_IEEEFP_H
21369 #include <ieeefp.h>
21370 #endif
21371
21372 int
21373 main ()
21374 {
21375 qfpclass(0);
21376 ;
21377 return 0;
21378 }
21379 _ACEOF
21380 if ac_fn_cxx_try_compile "$LINENO"; then :
21381 glibcxx_cv_func_qfpclass_use=yes
21382 else
21383 glibcxx_cv_func_qfpclass_use=no
21384 fi
21385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386 ac_ext=c
21387 ac_cpp='$CPP $CPPFLAGS'
21388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21391
21392
21393 fi
21394
21395 fi
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21397 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21398
21399 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21400 for ac_func in qfpclass
21401 do :
21402 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21403 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21404 cat >>confdefs.h <<_ACEOF
21405 #define HAVE_QFPCLASS 1
21406 _ACEOF
21407
21408 fi
21409 done
21410
21411 else
21412
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21414 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21415 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21416 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21417 $as_echo_n "(cached) " >&6
21418 else
21419
21420
21421 ac_ext=cpp
21422 ac_cpp='$CXXCPP $CPPFLAGS'
21423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21426
21427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h. */
21429 #include <math.h>
21430 #ifdef HAVE_IEEEFP_H
21431 #include <ieeefp.h>
21432 #endif
21433
21434 int
21435 main ()
21436 {
21437 _qfpclass(0);
21438 ;
21439 return 0;
21440 }
21441 _ACEOF
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 glibcxx_cv_func__qfpclass_use=yes
21444 else
21445 glibcxx_cv_func__qfpclass_use=no
21446 fi
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 ac_ext=c
21449 ac_cpp='$CPP $CPPFLAGS'
21450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21453
21454
21455 fi
21456
21457 fi
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21459 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21460
21461 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21462 for ac_func in _qfpclass
21463 do :
21464 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21465 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21466 cat >>confdefs.h <<_ACEOF
21467 #define HAVE__QFPCLASS 1
21468 _ACEOF
21469
21470 fi
21471 done
21472
21473 fi
21474 fi
21475
21476
21477
21478
21479
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21481 $as_echo_n "checking for hypot declaration... " >&6; }
21482 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21483 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21484 $as_echo_n "(cached) " >&6
21485 else
21486
21487
21488 ac_ext=cpp
21489 ac_cpp='$CXXCPP $CPPFLAGS'
21490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21493
21494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21495 /* end confdefs.h. */
21496 #include <math.h>
21497 int
21498 main ()
21499 {
21500 hypot(0, 0);
21501 ;
21502 return 0;
21503 }
21504 _ACEOF
21505 if ac_fn_cxx_try_compile "$LINENO"; then :
21506 glibcxx_cv_func_hypot_use=yes
21507 else
21508 glibcxx_cv_func_hypot_use=no
21509 fi
21510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21511 ac_ext=c
21512 ac_cpp='$CPP $CPPFLAGS'
21513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21516
21517
21518 fi
21519
21520 fi
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21522 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21523
21524 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21525 for ac_func in hypot
21526 do :
21527 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21528 if test "x$ac_cv_func_hypot" = x""yes; then :
21529 cat >>confdefs.h <<_ACEOF
21530 #define HAVE_HYPOT 1
21531 _ACEOF
21532
21533 fi
21534 done
21535
21536 else
21537
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21539 $as_echo_n "checking for _hypot declaration... " >&6; }
21540 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21541 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21542 $as_echo_n "(cached) " >&6
21543 else
21544
21545
21546 ac_ext=cpp
21547 ac_cpp='$CXXCPP $CPPFLAGS'
21548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21551
21552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553 /* end confdefs.h. */
21554 #include <math.h>
21555 int
21556 main ()
21557 {
21558 _hypot(0, 0);
21559 ;
21560 return 0;
21561 }
21562 _ACEOF
21563 if ac_fn_cxx_try_compile "$LINENO"; then :
21564 glibcxx_cv_func__hypot_use=yes
21565 else
21566 glibcxx_cv_func__hypot_use=no
21567 fi
21568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21569 ac_ext=c
21570 ac_cpp='$CPP $CPPFLAGS'
21571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21574
21575
21576 fi
21577
21578 fi
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21580 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21581
21582 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21583 for ac_func in _hypot
21584 do :
21585 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21586 if test "x$ac_cv_func__hypot" = x""yes; then :
21587 cat >>confdefs.h <<_ACEOF
21588 #define HAVE__HYPOT 1
21589 _ACEOF
21590
21591 fi
21592 done
21593
21594 fi
21595 fi
21596
21597
21598
21599
21600
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21602 $as_echo_n "checking for float trig functions... " >&6; }
21603 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21604 $as_echo_n "(cached) " >&6
21605 else
21606
21607
21608 ac_ext=cpp
21609 ac_cpp='$CXXCPP $CPPFLAGS'
21610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21613
21614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21616 #include <math.h>
21617 int
21618 main ()
21619 {
21620 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21621 ;
21622 return 0;
21623 }
21624 _ACEOF
21625 if ac_fn_cxx_try_compile "$LINENO"; then :
21626 glibcxx_cv_func_float_trig_use=yes
21627 else
21628 glibcxx_cv_func_float_trig_use=no
21629 fi
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 ac_ext=c
21632 ac_cpp='$CPP $CPPFLAGS'
21633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21636
21637 fi
21638
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21640 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21641 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21642 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21643 do :
21644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21646 eval as_val=\$$as_ac_var
21647 if test "x$as_val" = x""yes; then :
21648 cat >>confdefs.h <<_ACEOF
21649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21650 _ACEOF
21651
21652 fi
21653 done
21654
21655 else
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21657 $as_echo_n "checking for _float trig functions... " >&6; }
21658 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21659 $as_echo_n "(cached) " >&6
21660 else
21661
21662
21663 ac_ext=cpp
21664 ac_cpp='$CXXCPP $CPPFLAGS'
21665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21668
21669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21671 #include <math.h>
21672 int
21673 main ()
21674 {
21675 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21676 ;
21677 return 0;
21678 }
21679 _ACEOF
21680 if ac_fn_cxx_try_compile "$LINENO"; then :
21681 glibcxx_cv_func__float_trig_use=yes
21682 else
21683 glibcxx_cv_func__float_trig_use=no
21684 fi
21685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21686 ac_ext=c
21687 ac_cpp='$CPP $CPPFLAGS'
21688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21691
21692 fi
21693
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21695 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21696 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21697 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21698 do :
21699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21701 eval as_val=\$$as_ac_var
21702 if test "x$as_val" = x""yes; then :
21703 cat >>confdefs.h <<_ACEOF
21704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21705 _ACEOF
21706
21707 fi
21708 done
21709
21710 fi
21711 fi
21712
21713
21714
21715
21716
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21718 $as_echo_n "checking for float round functions... " >&6; }
21719 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21720 $as_echo_n "(cached) " >&6
21721 else
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21731 /* end confdefs.h. */
21732 #include <math.h>
21733 int
21734 main ()
21735 {
21736 ceilf (0); floorf (0);
21737 ;
21738 return 0;
21739 }
21740 _ACEOF
21741 if ac_fn_cxx_try_compile "$LINENO"; then :
21742 glibcxx_cv_func_float_round_use=yes
21743 else
21744 glibcxx_cv_func_float_round_use=no
21745 fi
21746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21752
21753 fi
21754
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21756 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21757 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21758 for ac_func in ceilf floorf
21759 do :
21760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21762 eval as_val=\$$as_ac_var
21763 if test "x$as_val" = x""yes; then :
21764 cat >>confdefs.h <<_ACEOF
21765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21766 _ACEOF
21767
21768 fi
21769 done
21770
21771 else
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21773 $as_echo_n "checking for _float round functions... " >&6; }
21774 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21775 $as_echo_n "(cached) " >&6
21776 else
21777
21778
21779 ac_ext=cpp
21780 ac_cpp='$CXXCPP $CPPFLAGS'
21781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21784
21785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h. */
21787 #include <math.h>
21788 int
21789 main ()
21790 {
21791 _ceilf (0); _floorf (0);
21792 ;
21793 return 0;
21794 }
21795 _ACEOF
21796 if ac_fn_cxx_try_compile "$LINENO"; then :
21797 glibcxx_cv_func__float_round_use=yes
21798 else
21799 glibcxx_cv_func__float_round_use=no
21800 fi
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 ac_ext=c
21803 ac_cpp='$CPP $CPPFLAGS'
21804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21807
21808 fi
21809
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21811 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21812 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21813 for ac_func in _ceilf _floorf
21814 do :
21815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21817 eval as_val=\$$as_ac_var
21818 if test "x$as_val" = x""yes; then :
21819 cat >>confdefs.h <<_ACEOF
21820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21821 _ACEOF
21822
21823 fi
21824 done
21825
21826 fi
21827 fi
21828
21829
21830
21831
21832
21833
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21835 $as_echo_n "checking for expf declaration... " >&6; }
21836 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21837 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21838 $as_echo_n "(cached) " >&6
21839 else
21840
21841
21842 ac_ext=cpp
21843 ac_cpp='$CXXCPP $CPPFLAGS'
21844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21847
21848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21849 /* end confdefs.h. */
21850 #include <math.h>
21851 #ifdef HAVE_IEEEFP_H
21852 #include <ieeefp.h>
21853 #endif
21854
21855 int
21856 main ()
21857 {
21858 expf(0);
21859 ;
21860 return 0;
21861 }
21862 _ACEOF
21863 if ac_fn_cxx_try_compile "$LINENO"; then :
21864 glibcxx_cv_func_expf_use=yes
21865 else
21866 glibcxx_cv_func_expf_use=no
21867 fi
21868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21869 ac_ext=c
21870 ac_cpp='$CPP $CPPFLAGS'
21871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21874
21875
21876 fi
21877
21878 fi
21879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21880 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21881
21882 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21883 for ac_func in expf
21884 do :
21885 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21886 if test "x$ac_cv_func_expf" = x""yes; then :
21887 cat >>confdefs.h <<_ACEOF
21888 #define HAVE_EXPF 1
21889 _ACEOF
21890
21891 fi
21892 done
21893
21894 else
21895
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21897 $as_echo_n "checking for _expf declaration... " >&6; }
21898 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21899 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21900 $as_echo_n "(cached) " >&6
21901 else
21902
21903
21904 ac_ext=cpp
21905 ac_cpp='$CXXCPP $CPPFLAGS'
21906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21909
21910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21911 /* end confdefs.h. */
21912 #include <math.h>
21913 #ifdef HAVE_IEEEFP_H
21914 #include <ieeefp.h>
21915 #endif
21916
21917 int
21918 main ()
21919 {
21920 _expf(0);
21921 ;
21922 return 0;
21923 }
21924 _ACEOF
21925 if ac_fn_cxx_try_compile "$LINENO"; then :
21926 glibcxx_cv_func__expf_use=yes
21927 else
21928 glibcxx_cv_func__expf_use=no
21929 fi
21930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21931 ac_ext=c
21932 ac_cpp='$CPP $CPPFLAGS'
21933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21936
21937
21938 fi
21939
21940 fi
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21942 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21943
21944 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21945 for ac_func in _expf
21946 do :
21947 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21948 if test "x$ac_cv_func__expf" = x""yes; then :
21949 cat >>confdefs.h <<_ACEOF
21950 #define HAVE__EXPF 1
21951 _ACEOF
21952
21953 fi
21954 done
21955
21956 fi
21957 fi
21958
21959
21960
21961
21962
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21964 $as_echo_n "checking for isnanf declaration... " >&6; }
21965 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21966 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21967 $as_echo_n "(cached) " >&6
21968 else
21969
21970
21971 ac_ext=cpp
21972 ac_cpp='$CXXCPP $CPPFLAGS'
21973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21976
21977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21978 /* end confdefs.h. */
21979 #include <math.h>
21980 #ifdef HAVE_IEEEFP_H
21981 #include <ieeefp.h>
21982 #endif
21983
21984 int
21985 main ()
21986 {
21987 isnanf(0);
21988 ;
21989 return 0;
21990 }
21991 _ACEOF
21992 if ac_fn_cxx_try_compile "$LINENO"; then :
21993 glibcxx_cv_func_isnanf_use=yes
21994 else
21995 glibcxx_cv_func_isnanf_use=no
21996 fi
21997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21998 ac_ext=c
21999 ac_cpp='$CPP $CPPFLAGS'
22000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22003
22004
22005 fi
22006
22007 fi
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22009 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22010
22011 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22012 for ac_func in isnanf
22013 do :
22014 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22015 if test "x$ac_cv_func_isnanf" = x""yes; then :
22016 cat >>confdefs.h <<_ACEOF
22017 #define HAVE_ISNANF 1
22018 _ACEOF
22019
22020 fi
22021 done
22022
22023 else
22024
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22026 $as_echo_n "checking for _isnanf declaration... " >&6; }
22027 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22028 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22029 $as_echo_n "(cached) " >&6
22030 else
22031
22032
22033 ac_ext=cpp
22034 ac_cpp='$CXXCPP $CPPFLAGS'
22035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22038
22039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22040 /* end confdefs.h. */
22041 #include <math.h>
22042 #ifdef HAVE_IEEEFP_H
22043 #include <ieeefp.h>
22044 #endif
22045
22046 int
22047 main ()
22048 {
22049 _isnanf(0);
22050 ;
22051 return 0;
22052 }
22053 _ACEOF
22054 if ac_fn_cxx_try_compile "$LINENO"; then :
22055 glibcxx_cv_func__isnanf_use=yes
22056 else
22057 glibcxx_cv_func__isnanf_use=no
22058 fi
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 ac_ext=c
22061 ac_cpp='$CPP $CPPFLAGS'
22062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22065
22066
22067 fi
22068
22069 fi
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22071 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22072
22073 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22074 for ac_func in _isnanf
22075 do :
22076 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22077 if test "x$ac_cv_func__isnanf" = x""yes; then :
22078 cat >>confdefs.h <<_ACEOF
22079 #define HAVE__ISNANF 1
22080 _ACEOF
22081
22082 fi
22083 done
22084
22085 fi
22086 fi
22087
22088
22089
22090
22091
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22093 $as_echo_n "checking for isinff declaration... " >&6; }
22094 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22095 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22096 $as_echo_n "(cached) " >&6
22097 else
22098
22099
22100 ac_ext=cpp
22101 ac_cpp='$CXXCPP $CPPFLAGS'
22102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105
22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h. */
22108 #include <math.h>
22109 #ifdef HAVE_IEEEFP_H
22110 #include <ieeefp.h>
22111 #endif
22112
22113 int
22114 main ()
22115 {
22116 isinff(0);
22117 ;
22118 return 0;
22119 }
22120 _ACEOF
22121 if ac_fn_cxx_try_compile "$LINENO"; then :
22122 glibcxx_cv_func_isinff_use=yes
22123 else
22124 glibcxx_cv_func_isinff_use=no
22125 fi
22126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127 ac_ext=c
22128 ac_cpp='$CPP $CPPFLAGS'
22129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22132
22133
22134 fi
22135
22136 fi
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22138 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22139
22140 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22141 for ac_func in isinff
22142 do :
22143 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22144 if test "x$ac_cv_func_isinff" = x""yes; then :
22145 cat >>confdefs.h <<_ACEOF
22146 #define HAVE_ISINFF 1
22147 _ACEOF
22148
22149 fi
22150 done
22151
22152 else
22153
22154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22155 $as_echo_n "checking for _isinff declaration... " >&6; }
22156 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22157 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22158 $as_echo_n "(cached) " >&6
22159 else
22160
22161
22162 ac_ext=cpp
22163 ac_cpp='$CXXCPP $CPPFLAGS'
22164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22167
22168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22169 /* end confdefs.h. */
22170 #include <math.h>
22171 #ifdef HAVE_IEEEFP_H
22172 #include <ieeefp.h>
22173 #endif
22174
22175 int
22176 main ()
22177 {
22178 _isinff(0);
22179 ;
22180 return 0;
22181 }
22182 _ACEOF
22183 if ac_fn_cxx_try_compile "$LINENO"; then :
22184 glibcxx_cv_func__isinff_use=yes
22185 else
22186 glibcxx_cv_func__isinff_use=no
22187 fi
22188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22189 ac_ext=c
22190 ac_cpp='$CPP $CPPFLAGS'
22191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22194
22195
22196 fi
22197
22198 fi
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22200 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22201
22202 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22203 for ac_func in _isinff
22204 do :
22205 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22206 if test "x$ac_cv_func__isinff" = x""yes; then :
22207 cat >>confdefs.h <<_ACEOF
22208 #define HAVE__ISINFF 1
22209 _ACEOF
22210
22211 fi
22212 done
22213
22214 fi
22215 fi
22216
22217
22218
22219
22220
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22222 $as_echo_n "checking for atan2f declaration... " >&6; }
22223 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22224 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22225 $as_echo_n "(cached) " >&6
22226 else
22227
22228
22229 ac_ext=cpp
22230 ac_cpp='$CXXCPP $CPPFLAGS'
22231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234
22235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22236 /* end confdefs.h. */
22237 #include <math.h>
22238 int
22239 main ()
22240 {
22241 atan2f(0, 0);
22242 ;
22243 return 0;
22244 }
22245 _ACEOF
22246 if ac_fn_cxx_try_compile "$LINENO"; then :
22247 glibcxx_cv_func_atan2f_use=yes
22248 else
22249 glibcxx_cv_func_atan2f_use=no
22250 fi
22251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22252 ac_ext=c
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22257
22258
22259 fi
22260
22261 fi
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22263 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22264
22265 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22266 for ac_func in atan2f
22267 do :
22268 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22269 if test "x$ac_cv_func_atan2f" = x""yes; then :
22270 cat >>confdefs.h <<_ACEOF
22271 #define HAVE_ATAN2F 1
22272 _ACEOF
22273
22274 fi
22275 done
22276
22277 else
22278
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22280 $as_echo_n "checking for _atan2f declaration... " >&6; }
22281 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22282 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22283 $as_echo_n "(cached) " >&6
22284 else
22285
22286
22287 ac_ext=cpp
22288 ac_cpp='$CXXCPP $CPPFLAGS'
22289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22292
22293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22294 /* end confdefs.h. */
22295 #include <math.h>
22296 int
22297 main ()
22298 {
22299 _atan2f(0, 0);
22300 ;
22301 return 0;
22302 }
22303 _ACEOF
22304 if ac_fn_cxx_try_compile "$LINENO"; then :
22305 glibcxx_cv_func__atan2f_use=yes
22306 else
22307 glibcxx_cv_func__atan2f_use=no
22308 fi
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22310 ac_ext=c
22311 ac_cpp='$CPP $CPPFLAGS'
22312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22315
22316
22317 fi
22318
22319 fi
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22321 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22322
22323 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22324 for ac_func in _atan2f
22325 do :
22326 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22327 if test "x$ac_cv_func__atan2f" = x""yes; then :
22328 cat >>confdefs.h <<_ACEOF
22329 #define HAVE__ATAN2F 1
22330 _ACEOF
22331
22332 fi
22333 done
22334
22335 fi
22336 fi
22337
22338
22339
22340
22341
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22343 $as_echo_n "checking for fabsf declaration... " >&6; }
22344 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22345 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22346 $as_echo_n "(cached) " >&6
22347 else
22348
22349
22350 ac_ext=cpp
22351 ac_cpp='$CXXCPP $CPPFLAGS'
22352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22355
22356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22357 /* end confdefs.h. */
22358 #include <math.h>
22359 #ifdef HAVE_IEEEFP_H
22360 #include <ieeefp.h>
22361 #endif
22362
22363 int
22364 main ()
22365 {
22366 fabsf(0);
22367 ;
22368 return 0;
22369 }
22370 _ACEOF
22371 if ac_fn_cxx_try_compile "$LINENO"; then :
22372 glibcxx_cv_func_fabsf_use=yes
22373 else
22374 glibcxx_cv_func_fabsf_use=no
22375 fi
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377 ac_ext=c
22378 ac_cpp='$CPP $CPPFLAGS'
22379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22382
22383
22384 fi
22385
22386 fi
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22388 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22389
22390 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22391 for ac_func in fabsf
22392 do :
22393 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22394 if test "x$ac_cv_func_fabsf" = x""yes; then :
22395 cat >>confdefs.h <<_ACEOF
22396 #define HAVE_FABSF 1
22397 _ACEOF
22398
22399 fi
22400 done
22401
22402 else
22403
22404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22405 $as_echo_n "checking for _fabsf declaration... " >&6; }
22406 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22407 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22408 $as_echo_n "(cached) " >&6
22409 else
22410
22411
22412 ac_ext=cpp
22413 ac_cpp='$CXXCPP $CPPFLAGS'
22414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22417
22418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22419 /* end confdefs.h. */
22420 #include <math.h>
22421 #ifdef HAVE_IEEEFP_H
22422 #include <ieeefp.h>
22423 #endif
22424
22425 int
22426 main ()
22427 {
22428 _fabsf(0);
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 if ac_fn_cxx_try_compile "$LINENO"; then :
22434 glibcxx_cv_func__fabsf_use=yes
22435 else
22436 glibcxx_cv_func__fabsf_use=no
22437 fi
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 ac_ext=c
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444
22445
22446 fi
22447
22448 fi
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22450 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22451
22452 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22453 for ac_func in _fabsf
22454 do :
22455 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22456 if test "x$ac_cv_func__fabsf" = x""yes; then :
22457 cat >>confdefs.h <<_ACEOF
22458 #define HAVE__FABSF 1
22459 _ACEOF
22460
22461 fi
22462 done
22463
22464 fi
22465 fi
22466
22467
22468
22469
22470
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22472 $as_echo_n "checking for fmodf declaration... " >&6; }
22473 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22474 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22475 $as_echo_n "(cached) " >&6
22476 else
22477
22478
22479 ac_ext=cpp
22480 ac_cpp='$CXXCPP $CPPFLAGS'
22481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484
22485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h. */
22487 #include <math.h>
22488 int
22489 main ()
22490 {
22491 fmodf(0, 0);
22492 ;
22493 return 0;
22494 }
22495 _ACEOF
22496 if ac_fn_cxx_try_compile "$LINENO"; then :
22497 glibcxx_cv_func_fmodf_use=yes
22498 else
22499 glibcxx_cv_func_fmodf_use=no
22500 fi
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502 ac_ext=c
22503 ac_cpp='$CPP $CPPFLAGS'
22504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22507
22508
22509 fi
22510
22511 fi
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22513 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22514
22515 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22516 for ac_func in fmodf
22517 do :
22518 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22519 if test "x$ac_cv_func_fmodf" = x""yes; then :
22520 cat >>confdefs.h <<_ACEOF
22521 #define HAVE_FMODF 1
22522 _ACEOF
22523
22524 fi
22525 done
22526
22527 else
22528
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22530 $as_echo_n "checking for _fmodf declaration... " >&6; }
22531 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22532 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22535
22536
22537 ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22542
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22545 #include <math.h>
22546 int
22547 main ()
22548 {
22549 _fmodf(0, 0);
22550 ;
22551 return 0;
22552 }
22553 _ACEOF
22554 if ac_fn_cxx_try_compile "$LINENO"; then :
22555 glibcxx_cv_func__fmodf_use=yes
22556 else
22557 glibcxx_cv_func__fmodf_use=no
22558 fi
22559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22560 ac_ext=c
22561 ac_cpp='$CPP $CPPFLAGS'
22562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22565
22566
22567 fi
22568
22569 fi
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22571 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22572
22573 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22574 for ac_func in _fmodf
22575 do :
22576 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22577 if test "x$ac_cv_func__fmodf" = x""yes; then :
22578 cat >>confdefs.h <<_ACEOF
22579 #define HAVE__FMODF 1
22580 _ACEOF
22581
22582 fi
22583 done
22584
22585 fi
22586 fi
22587
22588
22589
22590
22591
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22593 $as_echo_n "checking for frexpf declaration... " >&6; }
22594 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22595 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22596 $as_echo_n "(cached) " >&6
22597 else
22598
22599
22600 ac_ext=cpp
22601 ac_cpp='$CXXCPP $CPPFLAGS'
22602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22605
22606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22607 /* end confdefs.h. */
22608 #include <math.h>
22609 int
22610 main ()
22611 {
22612 frexpf(0, 0);
22613 ;
22614 return 0;
22615 }
22616 _ACEOF
22617 if ac_fn_cxx_try_compile "$LINENO"; then :
22618 glibcxx_cv_func_frexpf_use=yes
22619 else
22620 glibcxx_cv_func_frexpf_use=no
22621 fi
22622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22623 ac_ext=c
22624 ac_cpp='$CPP $CPPFLAGS'
22625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22628
22629
22630 fi
22631
22632 fi
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22634 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22635
22636 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22637 for ac_func in frexpf
22638 do :
22639 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22640 if test "x$ac_cv_func_frexpf" = x""yes; then :
22641 cat >>confdefs.h <<_ACEOF
22642 #define HAVE_FREXPF 1
22643 _ACEOF
22644
22645 fi
22646 done
22647
22648 else
22649
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22651 $as_echo_n "checking for _frexpf declaration... " >&6; }
22652 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22653 if test "${glibcxx_cv_func__frexpf_use+set}" = set; 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 int
22668 main ()
22669 {
22670 _frexpf(0, 0);
22671 ;
22672 return 0;
22673 }
22674 _ACEOF
22675 if ac_fn_cxx_try_compile "$LINENO"; then :
22676 glibcxx_cv_func__frexpf_use=yes
22677 else
22678 glibcxx_cv_func__frexpf_use=no
22679 fi
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 ac_ext=c
22682 ac_cpp='$CPP $CPPFLAGS'
22683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22686
22687
22688 fi
22689
22690 fi
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22692 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22693
22694 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22695 for ac_func in _frexpf
22696 do :
22697 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22698 if test "x$ac_cv_func__frexpf" = x""yes; then :
22699 cat >>confdefs.h <<_ACEOF
22700 #define HAVE__FREXPF 1
22701 _ACEOF
22702
22703 fi
22704 done
22705
22706 fi
22707 fi
22708
22709
22710
22711
22712
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22714 $as_echo_n "checking for hypotf declaration... " >&6; }
22715 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22716 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22718 else
22719
22720
22721 ac_ext=cpp
22722 ac_cpp='$CXXCPP $CPPFLAGS'
22723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726
22727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h. */
22729 #include <math.h>
22730 int
22731 main ()
22732 {
22733 hypotf(0, 0);
22734 ;
22735 return 0;
22736 }
22737 _ACEOF
22738 if ac_fn_cxx_try_compile "$LINENO"; then :
22739 glibcxx_cv_func_hypotf_use=yes
22740 else
22741 glibcxx_cv_func_hypotf_use=no
22742 fi
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 ac_ext=c
22745 ac_cpp='$CPP $CPPFLAGS'
22746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22749
22750
22751 fi
22752
22753 fi
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22755 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22756
22757 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22758 for ac_func in hypotf
22759 do :
22760 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22761 if test "x$ac_cv_func_hypotf" = x""yes; then :
22762 cat >>confdefs.h <<_ACEOF
22763 #define HAVE_HYPOTF 1
22764 _ACEOF
22765
22766 fi
22767 done
22768
22769 else
22770
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22772 $as_echo_n "checking for _hypotf declaration... " >&6; }
22773 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22774 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22775 $as_echo_n "(cached) " >&6
22776 else
22777
22778
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22784
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22787 #include <math.h>
22788 int
22789 main ()
22790 {
22791 _hypotf(0, 0);
22792 ;
22793 return 0;
22794 }
22795 _ACEOF
22796 if ac_fn_cxx_try_compile "$LINENO"; then :
22797 glibcxx_cv_func__hypotf_use=yes
22798 else
22799 glibcxx_cv_func__hypotf_use=no
22800 fi
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807
22808
22809 fi
22810
22811 fi
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22813 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22814
22815 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22816 for ac_func in _hypotf
22817 do :
22818 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22819 if test "x$ac_cv_func__hypotf" = x""yes; then :
22820 cat >>confdefs.h <<_ACEOF
22821 #define HAVE__HYPOTF 1
22822 _ACEOF
22823
22824 fi
22825 done
22826
22827 fi
22828 fi
22829
22830
22831
22832
22833
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22835 $as_echo_n "checking for ldexpf declaration... " >&6; }
22836 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22837 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22838 $as_echo_n "(cached) " >&6
22839 else
22840
22841
22842 ac_ext=cpp
22843 ac_cpp='$CXXCPP $CPPFLAGS'
22844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22847
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22850 #include <math.h>
22851 int
22852 main ()
22853 {
22854 ldexpf(0, 0);
22855 ;
22856 return 0;
22857 }
22858 _ACEOF
22859 if ac_fn_cxx_try_compile "$LINENO"; then :
22860 glibcxx_cv_func_ldexpf_use=yes
22861 else
22862 glibcxx_cv_func_ldexpf_use=no
22863 fi
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 ac_ext=c
22866 ac_cpp='$CPP $CPPFLAGS'
22867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22870
22871
22872 fi
22873
22874 fi
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22876 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22877
22878 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22879 for ac_func in ldexpf
22880 do :
22881 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22882 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22883 cat >>confdefs.h <<_ACEOF
22884 #define HAVE_LDEXPF 1
22885 _ACEOF
22886
22887 fi
22888 done
22889
22890 else
22891
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22893 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22894 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22895 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22896 $as_echo_n "(cached) " >&6
22897 else
22898
22899
22900 ac_ext=cpp
22901 ac_cpp='$CXXCPP $CPPFLAGS'
22902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22905
22906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22907 /* end confdefs.h. */
22908 #include <math.h>
22909 int
22910 main ()
22911 {
22912 _ldexpf(0, 0);
22913 ;
22914 return 0;
22915 }
22916 _ACEOF
22917 if ac_fn_cxx_try_compile "$LINENO"; then :
22918 glibcxx_cv_func__ldexpf_use=yes
22919 else
22920 glibcxx_cv_func__ldexpf_use=no
22921 fi
22922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22923 ac_ext=c
22924 ac_cpp='$CPP $CPPFLAGS'
22925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22928
22929
22930 fi
22931
22932 fi
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22934 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22935
22936 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22937 for ac_func in _ldexpf
22938 do :
22939 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22940 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22941 cat >>confdefs.h <<_ACEOF
22942 #define HAVE__LDEXPF 1
22943 _ACEOF
22944
22945 fi
22946 done
22947
22948 fi
22949 fi
22950
22951
22952
22953
22954
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22956 $as_echo_n "checking for logf declaration... " >&6; }
22957 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22958 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22959 $as_echo_n "(cached) " >&6
22960 else
22961
22962
22963 ac_ext=cpp
22964 ac_cpp='$CXXCPP $CPPFLAGS'
22965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22968
22969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22970 /* end confdefs.h. */
22971 #include <math.h>
22972 #ifdef HAVE_IEEEFP_H
22973 #include <ieeefp.h>
22974 #endif
22975
22976 int
22977 main ()
22978 {
22979 logf(0);
22980 ;
22981 return 0;
22982 }
22983 _ACEOF
22984 if ac_fn_cxx_try_compile "$LINENO"; then :
22985 glibcxx_cv_func_logf_use=yes
22986 else
22987 glibcxx_cv_func_logf_use=no
22988 fi
22989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22990 ac_ext=c
22991 ac_cpp='$CPP $CPPFLAGS'
22992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22995
22996
22997 fi
22998
22999 fi
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23001 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23002
23003 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23004 for ac_func in logf
23005 do :
23006 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23007 if test "x$ac_cv_func_logf" = x""yes; then :
23008 cat >>confdefs.h <<_ACEOF
23009 #define HAVE_LOGF 1
23010 _ACEOF
23011
23012 fi
23013 done
23014
23015 else
23016
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23018 $as_echo_n "checking for _logf declaration... " >&6; }
23019 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23020 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23021 $as_echo_n "(cached) " >&6
23022 else
23023
23024
23025 ac_ext=cpp
23026 ac_cpp='$CXXCPP $CPPFLAGS'
23027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23030
23031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23032 /* end confdefs.h. */
23033 #include <math.h>
23034 #ifdef HAVE_IEEEFP_H
23035 #include <ieeefp.h>
23036 #endif
23037
23038 int
23039 main ()
23040 {
23041 _logf(0);
23042 ;
23043 return 0;
23044 }
23045 _ACEOF
23046 if ac_fn_cxx_try_compile "$LINENO"; then :
23047 glibcxx_cv_func__logf_use=yes
23048 else
23049 glibcxx_cv_func__logf_use=no
23050 fi
23051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23052 ac_ext=c
23053 ac_cpp='$CPP $CPPFLAGS'
23054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057
23058
23059 fi
23060
23061 fi
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23063 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23064
23065 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23066 for ac_func in _logf
23067 do :
23068 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23069 if test "x$ac_cv_func__logf" = x""yes; then :
23070 cat >>confdefs.h <<_ACEOF
23071 #define HAVE__LOGF 1
23072 _ACEOF
23073
23074 fi
23075 done
23076
23077 fi
23078 fi
23079
23080
23081
23082
23083
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23085 $as_echo_n "checking for log10f declaration... " >&6; }
23086 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23087 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23088 $as_echo_n "(cached) " >&6
23089 else
23090
23091
23092 ac_ext=cpp
23093 ac_cpp='$CXXCPP $CPPFLAGS'
23094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23097
23098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23099 /* end confdefs.h. */
23100 #include <math.h>
23101 #ifdef HAVE_IEEEFP_H
23102 #include <ieeefp.h>
23103 #endif
23104
23105 int
23106 main ()
23107 {
23108 log10f(0);
23109 ;
23110 return 0;
23111 }
23112 _ACEOF
23113 if ac_fn_cxx_try_compile "$LINENO"; then :
23114 glibcxx_cv_func_log10f_use=yes
23115 else
23116 glibcxx_cv_func_log10f_use=no
23117 fi
23118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23119 ac_ext=c
23120 ac_cpp='$CPP $CPPFLAGS'
23121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124
23125
23126 fi
23127
23128 fi
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23130 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23131
23132 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23133 for ac_func in log10f
23134 do :
23135 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23136 if test "x$ac_cv_func_log10f" = x""yes; then :
23137 cat >>confdefs.h <<_ACEOF
23138 #define HAVE_LOG10F 1
23139 _ACEOF
23140
23141 fi
23142 done
23143
23144 else
23145
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23147 $as_echo_n "checking for _log10f declaration... " >&6; }
23148 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23149 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23151 else
23152
23153
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23162 #include <math.h>
23163 #ifdef HAVE_IEEEFP_H
23164 #include <ieeefp.h>
23165 #endif
23166
23167 int
23168 main ()
23169 {
23170 _log10f(0);
23171 ;
23172 return 0;
23173 }
23174 _ACEOF
23175 if ac_fn_cxx_try_compile "$LINENO"; then :
23176 glibcxx_cv_func__log10f_use=yes
23177 else
23178 glibcxx_cv_func__log10f_use=no
23179 fi
23180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23181 ac_ext=c
23182 ac_cpp='$CPP $CPPFLAGS'
23183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23186
23187
23188 fi
23189
23190 fi
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23192 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23193
23194 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23195 for ac_func in _log10f
23196 do :
23197 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23198 if test "x$ac_cv_func__log10f" = x""yes; then :
23199 cat >>confdefs.h <<_ACEOF
23200 #define HAVE__LOG10F 1
23201 _ACEOF
23202
23203 fi
23204 done
23205
23206 fi
23207 fi
23208
23209
23210
23211
23212
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23214 $as_echo_n "checking for modff declaration... " >&6; }
23215 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23216 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23217 $as_echo_n "(cached) " >&6
23218 else
23219
23220
23221 ac_ext=cpp
23222 ac_cpp='$CXXCPP $CPPFLAGS'
23223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23226
23227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23228 /* end confdefs.h. */
23229 #include <math.h>
23230 int
23231 main ()
23232 {
23233 modff(0, 0);
23234 ;
23235 return 0;
23236 }
23237 _ACEOF
23238 if ac_fn_cxx_try_compile "$LINENO"; then :
23239 glibcxx_cv_func_modff_use=yes
23240 else
23241 glibcxx_cv_func_modff_use=no
23242 fi
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23244 ac_ext=c
23245 ac_cpp='$CPP $CPPFLAGS'
23246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23249
23250
23251 fi
23252
23253 fi
23254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23255 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23256
23257 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23258 for ac_func in modff
23259 do :
23260 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23261 if test "x$ac_cv_func_modff" = x""yes; then :
23262 cat >>confdefs.h <<_ACEOF
23263 #define HAVE_MODFF 1
23264 _ACEOF
23265
23266 fi
23267 done
23268
23269 else
23270
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23272 $as_echo_n "checking for _modff declaration... " >&6; }
23273 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23274 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23275 $as_echo_n "(cached) " >&6
23276 else
23277
23278
23279 ac_ext=cpp
23280 ac_cpp='$CXXCPP $CPPFLAGS'
23281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23284
23285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23286 /* end confdefs.h. */
23287 #include <math.h>
23288 int
23289 main ()
23290 {
23291 _modff(0, 0);
23292 ;
23293 return 0;
23294 }
23295 _ACEOF
23296 if ac_fn_cxx_try_compile "$LINENO"; then :
23297 glibcxx_cv_func__modff_use=yes
23298 else
23299 glibcxx_cv_func__modff_use=no
23300 fi
23301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23302 ac_ext=c
23303 ac_cpp='$CPP $CPPFLAGS'
23304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23307
23308
23309 fi
23310
23311 fi
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23313 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23314
23315 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23316 for ac_func in _modff
23317 do :
23318 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23319 if test "x$ac_cv_func__modff" = x""yes; then :
23320 cat >>confdefs.h <<_ACEOF
23321 #define HAVE__MODFF 1
23322 _ACEOF
23323
23324 fi
23325 done
23326
23327 fi
23328 fi
23329
23330
23331
23332
23333
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23335 $as_echo_n "checking for modf declaration... " >&6; }
23336 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23337 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23338 $as_echo_n "(cached) " >&6
23339 else
23340
23341
23342 ac_ext=cpp
23343 ac_cpp='$CXXCPP $CPPFLAGS'
23344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23347
23348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23349 /* end confdefs.h. */
23350 #include <math.h>
23351 int
23352 main ()
23353 {
23354 modf(0, 0);
23355 ;
23356 return 0;
23357 }
23358 _ACEOF
23359 if ac_fn_cxx_try_compile "$LINENO"; then :
23360 glibcxx_cv_func_modf_use=yes
23361 else
23362 glibcxx_cv_func_modf_use=no
23363 fi
23364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23365 ac_ext=c
23366 ac_cpp='$CPP $CPPFLAGS'
23367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23370
23371
23372 fi
23373
23374 fi
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23376 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23377
23378 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23379 for ac_func in modf
23380 do :
23381 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23382 if test "x$ac_cv_func_modf" = x""yes; then :
23383 cat >>confdefs.h <<_ACEOF
23384 #define HAVE_MODF 1
23385 _ACEOF
23386
23387 fi
23388 done
23389
23390 else
23391
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23393 $as_echo_n "checking for _modf declaration... " >&6; }
23394 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23395 if test "${glibcxx_cv_func__modf_use+set}" = set; 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 _modf(0, 0);
23413 ;
23414 return 0;
23415 }
23416 _ACEOF
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func__modf_use=yes
23419 else
23420 glibcxx_cv_func__modf_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
23430 fi
23431
23432 fi
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23434 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23435
23436 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23437 for ac_func in _modf
23438 do :
23439 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23440 if test "x$ac_cv_func__modf" = x""yes; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define HAVE__MODF 1
23443 _ACEOF
23444
23445 fi
23446 done
23447
23448 fi
23449 fi
23450
23451
23452
23453
23454
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23456 $as_echo_n "checking for powf declaration... " >&6; }
23457 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23458 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23461
23462
23463 ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23471 #include <math.h>
23472 int
23473 main ()
23474 {
23475 powf(0, 0);
23476 ;
23477 return 0;
23478 }
23479 _ACEOF
23480 if ac_fn_cxx_try_compile "$LINENO"; then :
23481 glibcxx_cv_func_powf_use=yes
23482 else
23483 glibcxx_cv_func_powf_use=no
23484 fi
23485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23486 ac_ext=c
23487 ac_cpp='$CPP $CPPFLAGS'
23488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23491
23492
23493 fi
23494
23495 fi
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23497 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23498
23499 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23500 for ac_func in powf
23501 do :
23502 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23503 if test "x$ac_cv_func_powf" = x""yes; then :
23504 cat >>confdefs.h <<_ACEOF
23505 #define HAVE_POWF 1
23506 _ACEOF
23507
23508 fi
23509 done
23510
23511 else
23512
23513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23514 $as_echo_n "checking for _powf declaration... " >&6; }
23515 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23516 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23517 $as_echo_n "(cached) " >&6
23518 else
23519
23520
23521 ac_ext=cpp
23522 ac_cpp='$CXXCPP $CPPFLAGS'
23523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23526
23527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23528 /* end confdefs.h. */
23529 #include <math.h>
23530 int
23531 main ()
23532 {
23533 _powf(0, 0);
23534 ;
23535 return 0;
23536 }
23537 _ACEOF
23538 if ac_fn_cxx_try_compile "$LINENO"; then :
23539 glibcxx_cv_func__powf_use=yes
23540 else
23541 glibcxx_cv_func__powf_use=no
23542 fi
23543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23544 ac_ext=c
23545 ac_cpp='$CPP $CPPFLAGS'
23546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23549
23550
23551 fi
23552
23553 fi
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23555 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23556
23557 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23558 for ac_func in _powf
23559 do :
23560 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23561 if test "x$ac_cv_func__powf" = x""yes; then :
23562 cat >>confdefs.h <<_ACEOF
23563 #define HAVE__POWF 1
23564 _ACEOF
23565
23566 fi
23567 done
23568
23569 fi
23570 fi
23571
23572
23573
23574
23575
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23577 $as_echo_n "checking for sqrtf declaration... " >&6; }
23578 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23579 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23580 $as_echo_n "(cached) " >&6
23581 else
23582
23583
23584 ac_ext=cpp
23585 ac_cpp='$CXXCPP $CPPFLAGS'
23586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23589
23590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23591 /* end confdefs.h. */
23592 #include <math.h>
23593 #ifdef HAVE_IEEEFP_H
23594 #include <ieeefp.h>
23595 #endif
23596
23597 int
23598 main ()
23599 {
23600 sqrtf(0);
23601 ;
23602 return 0;
23603 }
23604 _ACEOF
23605 if ac_fn_cxx_try_compile "$LINENO"; then :
23606 glibcxx_cv_func_sqrtf_use=yes
23607 else
23608 glibcxx_cv_func_sqrtf_use=no
23609 fi
23610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23611 ac_ext=c
23612 ac_cpp='$CPP $CPPFLAGS'
23613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23616
23617
23618 fi
23619
23620 fi
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23622 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23623
23624 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23625 for ac_func in sqrtf
23626 do :
23627 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23628 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23629 cat >>confdefs.h <<_ACEOF
23630 #define HAVE_SQRTF 1
23631 _ACEOF
23632
23633 fi
23634 done
23635
23636 else
23637
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23639 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23640 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23641 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23642 $as_echo_n "(cached) " >&6
23643 else
23644
23645
23646 ac_ext=cpp
23647 ac_cpp='$CXXCPP $CPPFLAGS'
23648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23651
23652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23653 /* end confdefs.h. */
23654 #include <math.h>
23655 #ifdef HAVE_IEEEFP_H
23656 #include <ieeefp.h>
23657 #endif
23658
23659 int
23660 main ()
23661 {
23662 _sqrtf(0);
23663 ;
23664 return 0;
23665 }
23666 _ACEOF
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func__sqrtf_use=yes
23669 else
23670 glibcxx_cv_func__sqrtf_use=no
23671 fi
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678
23679
23680 fi
23681
23682 fi
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23684 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23685
23686 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23687 for ac_func in _sqrtf
23688 do :
23689 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23690 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23691 cat >>confdefs.h <<_ACEOF
23692 #define HAVE__SQRTF 1
23693 _ACEOF
23694
23695 fi
23696 done
23697
23698 fi
23699 fi
23700
23701
23702
23703
23704
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23706 $as_echo_n "checking for sincosf declaration... " >&6; }
23707 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23708 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23709 $as_echo_n "(cached) " >&6
23710 else
23711
23712
23713 ac_ext=cpp
23714 ac_cpp='$CXXCPP $CPPFLAGS'
23715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23718
23719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h. */
23721 #include <math.h>
23722 int
23723 main ()
23724 {
23725 sincosf(0, 0, 0);
23726 ;
23727 return 0;
23728 }
23729 _ACEOF
23730 if ac_fn_cxx_try_compile "$LINENO"; then :
23731 glibcxx_cv_func_sincosf_use=yes
23732 else
23733 glibcxx_cv_func_sincosf_use=no
23734 fi
23735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23736 ac_ext=c
23737 ac_cpp='$CPP $CPPFLAGS'
23738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23741
23742
23743 fi
23744
23745 fi
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23747 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23748
23749 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23750 for ac_func in sincosf
23751 do :
23752 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23753 if test "x$ac_cv_func_sincosf" = x""yes; then :
23754 cat >>confdefs.h <<_ACEOF
23755 #define HAVE_SINCOSF 1
23756 _ACEOF
23757
23758 fi
23759 done
23760
23761 else
23762
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23764 $as_echo_n "checking for _sincosf declaration... " >&6; }
23765 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23766 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23767 $as_echo_n "(cached) " >&6
23768 else
23769
23770
23771 ac_ext=cpp
23772 ac_cpp='$CXXCPP $CPPFLAGS'
23773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23776
23777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 /* end confdefs.h. */
23779 #include <math.h>
23780 int
23781 main ()
23782 {
23783 _sincosf(0, 0, 0);
23784 ;
23785 return 0;
23786 }
23787 _ACEOF
23788 if ac_fn_cxx_try_compile "$LINENO"; then :
23789 glibcxx_cv_func__sincosf_use=yes
23790 else
23791 glibcxx_cv_func__sincosf_use=no
23792 fi
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23794 ac_ext=c
23795 ac_cpp='$CPP $CPPFLAGS'
23796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23799
23800
23801 fi
23802
23803 fi
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23805 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23806
23807 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23808 for ac_func in _sincosf
23809 do :
23810 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23811 if test "x$ac_cv_func__sincosf" = x""yes; then :
23812 cat >>confdefs.h <<_ACEOF
23813 #define HAVE__SINCOSF 1
23814 _ACEOF
23815
23816 fi
23817 done
23818
23819 fi
23820 fi
23821
23822
23823
23824
23825
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23827 $as_echo_n "checking for finitef declaration... " >&6; }
23828 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23829 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23830 $as_echo_n "(cached) " >&6
23831 else
23832
23833
23834 ac_ext=cpp
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23839
23840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23841 /* end confdefs.h. */
23842 #include <math.h>
23843 #ifdef HAVE_IEEEFP_H
23844 #include <ieeefp.h>
23845 #endif
23846
23847 int
23848 main ()
23849 {
23850 finitef(0);
23851 ;
23852 return 0;
23853 }
23854 _ACEOF
23855 if ac_fn_cxx_try_compile "$LINENO"; then :
23856 glibcxx_cv_func_finitef_use=yes
23857 else
23858 glibcxx_cv_func_finitef_use=no
23859 fi
23860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23861 ac_ext=c
23862 ac_cpp='$CPP $CPPFLAGS'
23863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23866
23867
23868 fi
23869
23870 fi
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23872 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23873
23874 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23875 for ac_func in finitef
23876 do :
23877 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23878 if test "x$ac_cv_func_finitef" = x""yes; then :
23879 cat >>confdefs.h <<_ACEOF
23880 #define HAVE_FINITEF 1
23881 _ACEOF
23882
23883 fi
23884 done
23885
23886 else
23887
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23889 $as_echo_n "checking for _finitef declaration... " >&6; }
23890 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23891 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23892 $as_echo_n "(cached) " >&6
23893 else
23894
23895
23896 ac_ext=cpp
23897 ac_cpp='$CXXCPP $CPPFLAGS'
23898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23901
23902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23903 /* end confdefs.h. */
23904 #include <math.h>
23905 #ifdef HAVE_IEEEFP_H
23906 #include <ieeefp.h>
23907 #endif
23908
23909 int
23910 main ()
23911 {
23912 _finitef(0);
23913 ;
23914 return 0;
23915 }
23916 _ACEOF
23917 if ac_fn_cxx_try_compile "$LINENO"; then :
23918 glibcxx_cv_func__finitef_use=yes
23919 else
23920 glibcxx_cv_func__finitef_use=no
23921 fi
23922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23923 ac_ext=c
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23928
23929
23930 fi
23931
23932 fi
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23934 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23935
23936 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23937 for ac_func in _finitef
23938 do :
23939 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23940 if test "x$ac_cv_func__finitef" = x""yes; then :
23941 cat >>confdefs.h <<_ACEOF
23942 #define HAVE__FINITEF 1
23943 _ACEOF
23944
23945 fi
23946 done
23947
23948 fi
23949 fi
23950
23951
23952
23953
23954
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23956 $as_echo_n "checking for long double trig functions... " >&6; }
23957 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23958 $as_echo_n "(cached) " >&6
23959 else
23960
23961
23962 ac_ext=cpp
23963 ac_cpp='$CXXCPP $CPPFLAGS'
23964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23967
23968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23969 /* end confdefs.h. */
23970 #include <math.h>
23971 int
23972 main ()
23973 {
23974 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23975 ;
23976 return 0;
23977 }
23978 _ACEOF
23979 if ac_fn_cxx_try_compile "$LINENO"; then :
23980 glibcxx_cv_func_long_double_trig_use=yes
23981 else
23982 glibcxx_cv_func_long_double_trig_use=no
23983 fi
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23985 ac_ext=c
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990
23991 fi
23992
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23994 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23995 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23996 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23997 do :
23998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24000 eval as_val=\$$as_ac_var
24001 if test "x$as_val" = x""yes; then :
24002 cat >>confdefs.h <<_ACEOF
24003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24004 _ACEOF
24005
24006 fi
24007 done
24008
24009 else
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24011 $as_echo_n "checking for _long double trig functions... " >&6; }
24012 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24013 $as_echo_n "(cached) " >&6
24014 else
24015
24016
24017 ac_ext=cpp
24018 ac_cpp='$CXXCPP $CPPFLAGS'
24019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24022
24023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24024 /* end confdefs.h. */
24025 #include <math.h>
24026 int
24027 main ()
24028 {
24029 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24030 ;
24031 return 0;
24032 }
24033 _ACEOF
24034 if ac_fn_cxx_try_compile "$LINENO"; then :
24035 glibcxx_cv_func__long_double_trig_use=yes
24036 else
24037 glibcxx_cv_func__long_double_trig_use=no
24038 fi
24039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24040 ac_ext=c
24041 ac_cpp='$CPP $CPPFLAGS'
24042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24045
24046 fi
24047
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24049 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24050 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24051 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24052 do :
24053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24055 eval as_val=\$$as_ac_var
24056 if test "x$as_val" = x""yes; then :
24057 cat >>confdefs.h <<_ACEOF
24058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24059 _ACEOF
24060
24061 fi
24062 done
24063
24064 fi
24065 fi
24066
24067
24068
24069
24070
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24072 $as_echo_n "checking for long double round functions... " >&6; }
24073 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24075 else
24076
24077
24078 ac_ext=cpp
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083
24084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24086 #include <math.h>
24087 int
24088 main ()
24089 {
24090 ceill (0); floorl (0);
24091 ;
24092 return 0;
24093 }
24094 _ACEOF
24095 if ac_fn_cxx_try_compile "$LINENO"; then :
24096 glibcxx_cv_func_long_double_round_use=yes
24097 else
24098 glibcxx_cv_func_long_double_round_use=no
24099 fi
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 ac_ext=c
24102 ac_cpp='$CPP $CPPFLAGS'
24103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24106
24107 fi
24108
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24110 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24111 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24112 for ac_func in ceill floorl
24113 do :
24114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24116 eval as_val=\$$as_ac_var
24117 if test "x$as_val" = x""yes; then :
24118 cat >>confdefs.h <<_ACEOF
24119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24120 _ACEOF
24121
24122 fi
24123 done
24124
24125 else
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24127 $as_echo_n "checking for _long double round functions... " >&6; }
24128 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24129 $as_echo_n "(cached) " >&6
24130 else
24131
24132
24133 ac_ext=cpp
24134 ac_cpp='$CXXCPP $CPPFLAGS'
24135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24138
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h. */
24141 #include <math.h>
24142 int
24143 main ()
24144 {
24145 _ceill (0); _floorl (0);
24146 ;
24147 return 0;
24148 }
24149 _ACEOF
24150 if ac_fn_cxx_try_compile "$LINENO"; then :
24151 glibcxx_cv_func__long_double_round_use=yes
24152 else
24153 glibcxx_cv_func__long_double_round_use=no
24154 fi
24155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24156 ac_ext=c
24157 ac_cpp='$CPP $CPPFLAGS'
24158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24161
24162 fi
24163
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24165 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24166 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24167 for ac_func in _ceill _floorl
24168 do :
24169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24171 eval as_val=\$$as_ac_var
24172 if test "x$as_val" = x""yes; then :
24173 cat >>confdefs.h <<_ACEOF
24174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24175 _ACEOF
24176
24177 fi
24178 done
24179
24180 fi
24181 fi
24182
24183
24184
24185
24186
24187
24188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24189 $as_echo_n "checking for isnanl declaration... " >&6; }
24190 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24191 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24192 $as_echo_n "(cached) " >&6
24193 else
24194
24195
24196 ac_ext=cpp
24197 ac_cpp='$CXXCPP $CPPFLAGS'
24198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24201
24202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24203 /* end confdefs.h. */
24204 #include <math.h>
24205 #ifdef HAVE_IEEEFP_H
24206 #include <ieeefp.h>
24207 #endif
24208
24209 int
24210 main ()
24211 {
24212 isnanl(0);
24213 ;
24214 return 0;
24215 }
24216 _ACEOF
24217 if ac_fn_cxx_try_compile "$LINENO"; then :
24218 glibcxx_cv_func_isnanl_use=yes
24219 else
24220 glibcxx_cv_func_isnanl_use=no
24221 fi
24222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24223 ac_ext=c
24224 ac_cpp='$CPP $CPPFLAGS'
24225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24228
24229
24230 fi
24231
24232 fi
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24234 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24235
24236 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24237 for ac_func in isnanl
24238 do :
24239 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24240 if test "x$ac_cv_func_isnanl" = x""yes; then :
24241 cat >>confdefs.h <<_ACEOF
24242 #define HAVE_ISNANL 1
24243 _ACEOF
24244
24245 fi
24246 done
24247
24248 else
24249
24250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24251 $as_echo_n "checking for _isnanl declaration... " >&6; }
24252 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24253 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24254 $as_echo_n "(cached) " >&6
24255 else
24256
24257
24258 ac_ext=cpp
24259 ac_cpp='$CXXCPP $CPPFLAGS'
24260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24263
24264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24265 /* end confdefs.h. */
24266 #include <math.h>
24267 #ifdef HAVE_IEEEFP_H
24268 #include <ieeefp.h>
24269 #endif
24270
24271 int
24272 main ()
24273 {
24274 _isnanl(0);
24275 ;
24276 return 0;
24277 }
24278 _ACEOF
24279 if ac_fn_cxx_try_compile "$LINENO"; then :
24280 glibcxx_cv_func__isnanl_use=yes
24281 else
24282 glibcxx_cv_func__isnanl_use=no
24283 fi
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285 ac_ext=c
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290
24291
24292 fi
24293
24294 fi
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24296 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24297
24298 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24299 for ac_func in _isnanl
24300 do :
24301 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24302 if test "x$ac_cv_func__isnanl" = x""yes; then :
24303 cat >>confdefs.h <<_ACEOF
24304 #define HAVE__ISNANL 1
24305 _ACEOF
24306
24307 fi
24308 done
24309
24310 fi
24311 fi
24312
24313
24314
24315
24316
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24318 $as_echo_n "checking for isinfl declaration... " >&6; }
24319 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24320 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24321 $as_echo_n "(cached) " >&6
24322 else
24323
24324
24325 ac_ext=cpp
24326 ac_cpp='$CXXCPP $CPPFLAGS'
24327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24330
24331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24332 /* end confdefs.h. */
24333 #include <math.h>
24334 #ifdef HAVE_IEEEFP_H
24335 #include <ieeefp.h>
24336 #endif
24337
24338 int
24339 main ()
24340 {
24341 isinfl(0);
24342 ;
24343 return 0;
24344 }
24345 _ACEOF
24346 if ac_fn_cxx_try_compile "$LINENO"; then :
24347 glibcxx_cv_func_isinfl_use=yes
24348 else
24349 glibcxx_cv_func_isinfl_use=no
24350 fi
24351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24352 ac_ext=c
24353 ac_cpp='$CPP $CPPFLAGS'
24354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24357
24358
24359 fi
24360
24361 fi
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24363 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24364
24365 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24366 for ac_func in isinfl
24367 do :
24368 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24369 if test "x$ac_cv_func_isinfl" = x""yes; then :
24370 cat >>confdefs.h <<_ACEOF
24371 #define HAVE_ISINFL 1
24372 _ACEOF
24373
24374 fi
24375 done
24376
24377 else
24378
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24380 $as_echo_n "checking for _isinfl declaration... " >&6; }
24381 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24382 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24383 $as_echo_n "(cached) " >&6
24384 else
24385
24386
24387 ac_ext=cpp
24388 ac_cpp='$CXXCPP $CPPFLAGS'
24389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392
24393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24394 /* end confdefs.h. */
24395 #include <math.h>
24396 #ifdef HAVE_IEEEFP_H
24397 #include <ieeefp.h>
24398 #endif
24399
24400 int
24401 main ()
24402 {
24403 _isinfl(0);
24404 ;
24405 return 0;
24406 }
24407 _ACEOF
24408 if ac_fn_cxx_try_compile "$LINENO"; then :
24409 glibcxx_cv_func__isinfl_use=yes
24410 else
24411 glibcxx_cv_func__isinfl_use=no
24412 fi
24413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24414 ac_ext=c
24415 ac_cpp='$CPP $CPPFLAGS'
24416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24419
24420
24421 fi
24422
24423 fi
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24425 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24426
24427 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24428 for ac_func in _isinfl
24429 do :
24430 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24431 if test "x$ac_cv_func__isinfl" = x""yes; then :
24432 cat >>confdefs.h <<_ACEOF
24433 #define HAVE__ISINFL 1
24434 _ACEOF
24435
24436 fi
24437 done
24438
24439 fi
24440 fi
24441
24442
24443
24444
24445
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24447 $as_echo_n "checking for atan2l declaration... " >&6; }
24448 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24449 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24450 $as_echo_n "(cached) " >&6
24451 else
24452
24453
24454 ac_ext=cpp
24455 ac_cpp='$CXXCPP $CPPFLAGS'
24456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459
24460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24461 /* end confdefs.h. */
24462 #include <math.h>
24463 int
24464 main ()
24465 {
24466 atan2l(0, 0);
24467 ;
24468 return 0;
24469 }
24470 _ACEOF
24471 if ac_fn_cxx_try_compile "$LINENO"; then :
24472 glibcxx_cv_func_atan2l_use=yes
24473 else
24474 glibcxx_cv_func_atan2l_use=no
24475 fi
24476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24477 ac_ext=c
24478 ac_cpp='$CPP $CPPFLAGS'
24479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24482
24483
24484 fi
24485
24486 fi
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24488 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24489
24490 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24491 for ac_func in atan2l
24492 do :
24493 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24494 if test "x$ac_cv_func_atan2l" = x""yes; then :
24495 cat >>confdefs.h <<_ACEOF
24496 #define HAVE_ATAN2L 1
24497 _ACEOF
24498
24499 fi
24500 done
24501
24502 else
24503
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24505 $as_echo_n "checking for _atan2l declaration... " >&6; }
24506 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24507 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24508 $as_echo_n "(cached) " >&6
24509 else
24510
24511
24512 ac_ext=cpp
24513 ac_cpp='$CXXCPP $CPPFLAGS'
24514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24517
24518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24520 #include <math.h>
24521 int
24522 main ()
24523 {
24524 _atan2l(0, 0);
24525 ;
24526 return 0;
24527 }
24528 _ACEOF
24529 if ac_fn_cxx_try_compile "$LINENO"; then :
24530 glibcxx_cv_func__atan2l_use=yes
24531 else
24532 glibcxx_cv_func__atan2l_use=no
24533 fi
24534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24535 ac_ext=c
24536 ac_cpp='$CPP $CPPFLAGS'
24537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24540
24541
24542 fi
24543
24544 fi
24545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24546 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24547
24548 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24549 for ac_func in _atan2l
24550 do :
24551 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24552 if test "x$ac_cv_func__atan2l" = x""yes; then :
24553 cat >>confdefs.h <<_ACEOF
24554 #define HAVE__ATAN2L 1
24555 _ACEOF
24556
24557 fi
24558 done
24559
24560 fi
24561 fi
24562
24563
24564
24565
24566
24567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24568 $as_echo_n "checking for expl declaration... " >&6; }
24569 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24570 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24571 $as_echo_n "(cached) " >&6
24572 else
24573
24574
24575 ac_ext=cpp
24576 ac_cpp='$CXXCPP $CPPFLAGS'
24577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24580
24581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24582 /* end confdefs.h. */
24583 #include <math.h>
24584 #ifdef HAVE_IEEEFP_H
24585 #include <ieeefp.h>
24586 #endif
24587
24588 int
24589 main ()
24590 {
24591 expl(0);
24592 ;
24593 return 0;
24594 }
24595 _ACEOF
24596 if ac_fn_cxx_try_compile "$LINENO"; then :
24597 glibcxx_cv_func_expl_use=yes
24598 else
24599 glibcxx_cv_func_expl_use=no
24600 fi
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24602 ac_ext=c
24603 ac_cpp='$CPP $CPPFLAGS'
24604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24607
24608
24609 fi
24610
24611 fi
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24613 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24614
24615 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24616 for ac_func in expl
24617 do :
24618 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24619 if test "x$ac_cv_func_expl" = x""yes; then :
24620 cat >>confdefs.h <<_ACEOF
24621 #define HAVE_EXPL 1
24622 _ACEOF
24623
24624 fi
24625 done
24626
24627 else
24628
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24630 $as_echo_n "checking for _expl declaration... " >&6; }
24631 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24632 if test "${glibcxx_cv_func__expl_use+set}" = set; 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 _expl(0);
24654 ;
24655 return 0;
24656 }
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func__expl_use=yes
24660 else
24661 glibcxx_cv_func__expl_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__expl_use" >&5
24675 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24676
24677 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24678 for ac_func in _expl
24679 do :
24680 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24681 if test "x$ac_cv_func__expl" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE__EXPL 1
24684 _ACEOF
24685
24686 fi
24687 done
24688
24689 fi
24690 fi
24691
24692
24693
24694
24695
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24697 $as_echo_n "checking for fabsl declaration... " >&6; }
24698 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24699 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24700 $as_echo_n "(cached) " >&6
24701 else
24702
24703
24704 ac_ext=cpp
24705 ac_cpp='$CXXCPP $CPPFLAGS'
24706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24709
24710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24711 /* end confdefs.h. */
24712 #include <math.h>
24713 #ifdef HAVE_IEEEFP_H
24714 #include <ieeefp.h>
24715 #endif
24716
24717 int
24718 main ()
24719 {
24720 fabsl(0);
24721 ;
24722 return 0;
24723 }
24724 _ACEOF
24725 if ac_fn_cxx_try_compile "$LINENO"; then :
24726 glibcxx_cv_func_fabsl_use=yes
24727 else
24728 glibcxx_cv_func_fabsl_use=no
24729 fi
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731 ac_ext=c
24732 ac_cpp='$CPP $CPPFLAGS'
24733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24736
24737
24738 fi
24739
24740 fi
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24742 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24743
24744 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24745 for ac_func in fabsl
24746 do :
24747 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24748 if test "x$ac_cv_func_fabsl" = x""yes; then :
24749 cat >>confdefs.h <<_ACEOF
24750 #define HAVE_FABSL 1
24751 _ACEOF
24752
24753 fi
24754 done
24755
24756 else
24757
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24759 $as_echo_n "checking for _fabsl declaration... " >&6; }
24760 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24761 if test "${glibcxx_cv_func__fabsl_use+set}" = set; 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 _fabsl(0);
24783 ;
24784 return 0;
24785 }
24786 _ACEOF
24787 if ac_fn_cxx_try_compile "$LINENO"; then :
24788 glibcxx_cv_func__fabsl_use=yes
24789 else
24790 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
24804 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24805
24806 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24807 for ac_func in _fabsl
24808 do :
24809 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24810 if test "x$ac_cv_func__fabsl" = x""yes; then :
24811 cat >>confdefs.h <<_ACEOF
24812 #define HAVE__FABSL 1
24813 _ACEOF
24814
24815 fi
24816 done
24817
24818 fi
24819 fi
24820
24821
24822
24823
24824
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24826 $as_echo_n "checking for fmodl declaration... " >&6; }
24827 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24828 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24829 $as_echo_n "(cached) " >&6
24830 else
24831
24832
24833 ac_ext=cpp
24834 ac_cpp='$CXXCPP $CPPFLAGS'
24835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838
24839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840 /* end confdefs.h. */
24841 #include <math.h>
24842 int
24843 main ()
24844 {
24845 fmodl(0, 0);
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 if ac_fn_cxx_try_compile "$LINENO"; then :
24851 glibcxx_cv_func_fmodl_use=yes
24852 else
24853 glibcxx_cv_func_fmodl_use=no
24854 fi
24855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24856 ac_ext=c
24857 ac_cpp='$CPP $CPPFLAGS'
24858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24861
24862
24863 fi
24864
24865 fi
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24867 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24868
24869 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24870 for ac_func in fmodl
24871 do :
24872 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24873 if test "x$ac_cv_func_fmodl" = x""yes; then :
24874 cat >>confdefs.h <<_ACEOF
24875 #define HAVE_FMODL 1
24876 _ACEOF
24877
24878 fi
24879 done
24880
24881 else
24882
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24884 $as_echo_n "checking for _fmodl declaration... " >&6; }
24885 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24886 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24887 $as_echo_n "(cached) " >&6
24888 else
24889
24890
24891 ac_ext=cpp
24892 ac_cpp='$CXXCPP $CPPFLAGS'
24893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24896
24897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24898 /* end confdefs.h. */
24899 #include <math.h>
24900 int
24901 main ()
24902 {
24903 _fmodl(0, 0);
24904 ;
24905 return 0;
24906 }
24907 _ACEOF
24908 if ac_fn_cxx_try_compile "$LINENO"; then :
24909 glibcxx_cv_func__fmodl_use=yes
24910 else
24911 glibcxx_cv_func__fmodl_use=no
24912 fi
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24914 ac_ext=c
24915 ac_cpp='$CPP $CPPFLAGS'
24916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24919
24920
24921 fi
24922
24923 fi
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24925 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24926
24927 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24928 for ac_func in _fmodl
24929 do :
24930 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24931 if test "x$ac_cv_func__fmodl" = x""yes; then :
24932 cat >>confdefs.h <<_ACEOF
24933 #define HAVE__FMODL 1
24934 _ACEOF
24935
24936 fi
24937 done
24938
24939 fi
24940 fi
24941
24942
24943
24944
24945
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24947 $as_echo_n "checking for frexpl declaration... " >&6; }
24948 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24949 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24950 $as_echo_n "(cached) " >&6
24951 else
24952
24953
24954 ac_ext=cpp
24955 ac_cpp='$CXXCPP $CPPFLAGS'
24956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959
24960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24961 /* end confdefs.h. */
24962 #include <math.h>
24963 int
24964 main ()
24965 {
24966 frexpl(0, 0);
24967 ;
24968 return 0;
24969 }
24970 _ACEOF
24971 if ac_fn_cxx_try_compile "$LINENO"; then :
24972 glibcxx_cv_func_frexpl_use=yes
24973 else
24974 glibcxx_cv_func_frexpl_use=no
24975 fi
24976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24977 ac_ext=c
24978 ac_cpp='$CPP $CPPFLAGS'
24979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24982
24983
24984 fi
24985
24986 fi
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24988 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24989
24990 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24991 for ac_func in frexpl
24992 do :
24993 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24994 if test "x$ac_cv_func_frexpl" = x""yes; then :
24995 cat >>confdefs.h <<_ACEOF
24996 #define HAVE_FREXPL 1
24997 _ACEOF
24998
24999 fi
25000 done
25001
25002 else
25003
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25005 $as_echo_n "checking for _frexpl declaration... " >&6; }
25006 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25007 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25008 $as_echo_n "(cached) " >&6
25009 else
25010
25011
25012 ac_ext=cpp
25013 ac_cpp='$CXXCPP $CPPFLAGS'
25014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25017
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25020 #include <math.h>
25021 int
25022 main ()
25023 {
25024 _frexpl(0, 0);
25025 ;
25026 return 0;
25027 }
25028 _ACEOF
25029 if ac_fn_cxx_try_compile "$LINENO"; then :
25030 glibcxx_cv_func__frexpl_use=yes
25031 else
25032 glibcxx_cv_func__frexpl_use=no
25033 fi
25034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25035 ac_ext=c
25036 ac_cpp='$CPP $CPPFLAGS'
25037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25040
25041
25042 fi
25043
25044 fi
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25046 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25047
25048 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25049 for ac_func in _frexpl
25050 do :
25051 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25052 if test "x$ac_cv_func__frexpl" = x""yes; then :
25053 cat >>confdefs.h <<_ACEOF
25054 #define HAVE__FREXPL 1
25055 _ACEOF
25056
25057 fi
25058 done
25059
25060 fi
25061 fi
25062
25063
25064
25065
25066
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25068 $as_echo_n "checking for hypotl declaration... " >&6; }
25069 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25070 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25072 else
25073
25074
25075 ac_ext=cpp
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25080
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083 #include <math.h>
25084 int
25085 main ()
25086 {
25087 hypotl(0, 0);
25088 ;
25089 return 0;
25090 }
25091 _ACEOF
25092 if ac_fn_cxx_try_compile "$LINENO"; then :
25093 glibcxx_cv_func_hypotl_use=yes
25094 else
25095 glibcxx_cv_func_hypotl_use=no
25096 fi
25097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25098 ac_ext=c
25099 ac_cpp='$CPP $CPPFLAGS'
25100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25103
25104
25105 fi
25106
25107 fi
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25109 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25110
25111 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25112 for ac_func in hypotl
25113 do :
25114 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25115 if test "x$ac_cv_func_hypotl" = x""yes; then :
25116 cat >>confdefs.h <<_ACEOF
25117 #define HAVE_HYPOTL 1
25118 _ACEOF
25119
25120 fi
25121 done
25122
25123 else
25124
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25126 $as_echo_n "checking for _hypotl declaration... " >&6; }
25127 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25128 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25131
25132
25133 ac_ext=cpp
25134 ac_cpp='$CXXCPP $CPPFLAGS'
25135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25138
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25141 #include <math.h>
25142 int
25143 main ()
25144 {
25145 _hypotl(0, 0);
25146 ;
25147 return 0;
25148 }
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func__hypotl_use=yes
25152 else
25153 glibcxx_cv_func__hypotl_use=no
25154 fi
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25161
25162
25163 fi
25164
25165 fi
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25167 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25168
25169 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25170 for ac_func in _hypotl
25171 do :
25172 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25173 if test "x$ac_cv_func__hypotl" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE__HYPOTL 1
25176 _ACEOF
25177
25178 fi
25179 done
25180
25181 fi
25182 fi
25183
25184
25185
25186
25187
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25189 $as_echo_n "checking for ldexpl declaration... " >&6; }
25190 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25191 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25192 $as_echo_n "(cached) " >&6
25193 else
25194
25195
25196 ac_ext=cpp
25197 ac_cpp='$CXXCPP $CPPFLAGS'
25198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25201
25202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 /* end confdefs.h. */
25204 #include <math.h>
25205 int
25206 main ()
25207 {
25208 ldexpl(0, 0);
25209 ;
25210 return 0;
25211 }
25212 _ACEOF
25213 if ac_fn_cxx_try_compile "$LINENO"; then :
25214 glibcxx_cv_func_ldexpl_use=yes
25215 else
25216 glibcxx_cv_func_ldexpl_use=no
25217 fi
25218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219 ac_ext=c
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25224
25225
25226 fi
25227
25228 fi
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25230 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25231
25232 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25233 for ac_func in ldexpl
25234 do :
25235 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25236 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25237 cat >>confdefs.h <<_ACEOF
25238 #define HAVE_LDEXPL 1
25239 _ACEOF
25240
25241 fi
25242 done
25243
25244 else
25245
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25247 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25248 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25249 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25252
25253
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25259
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25263 int
25264 main ()
25265 {
25266 _ldexpl(0, 0);
25267 ;
25268 return 0;
25269 }
25270 _ACEOF
25271 if ac_fn_cxx_try_compile "$LINENO"; then :
25272 glibcxx_cv_func__ldexpl_use=yes
25273 else
25274 glibcxx_cv_func__ldexpl_use=no
25275 fi
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277 ac_ext=c
25278 ac_cpp='$CPP $CPPFLAGS'
25279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25282
25283
25284 fi
25285
25286 fi
25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25288 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25289
25290 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25291 for ac_func in _ldexpl
25292 do :
25293 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25294 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25295 cat >>confdefs.h <<_ACEOF
25296 #define HAVE__LDEXPL 1
25297 _ACEOF
25298
25299 fi
25300 done
25301
25302 fi
25303 fi
25304
25305
25306
25307
25308
25309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25310 $as_echo_n "checking for logl declaration... " >&6; }
25311 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25312 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25313 $as_echo_n "(cached) " >&6
25314 else
25315
25316
25317 ac_ext=cpp
25318 ac_cpp='$CXXCPP $CPPFLAGS'
25319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25322
25323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25324 /* end confdefs.h. */
25325 #include <math.h>
25326 #ifdef HAVE_IEEEFP_H
25327 #include <ieeefp.h>
25328 #endif
25329
25330 int
25331 main ()
25332 {
25333 logl(0);
25334 ;
25335 return 0;
25336 }
25337 _ACEOF
25338 if ac_fn_cxx_try_compile "$LINENO"; then :
25339 glibcxx_cv_func_logl_use=yes
25340 else
25341 glibcxx_cv_func_logl_use=no
25342 fi
25343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25344 ac_ext=c
25345 ac_cpp='$CPP $CPPFLAGS'
25346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25349
25350
25351 fi
25352
25353 fi
25354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25355 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25356
25357 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25358 for ac_func in logl
25359 do :
25360 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25361 if test "x$ac_cv_func_logl" = x""yes; then :
25362 cat >>confdefs.h <<_ACEOF
25363 #define HAVE_LOGL 1
25364 _ACEOF
25365
25366 fi
25367 done
25368
25369 else
25370
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25372 $as_echo_n "checking for _logl declaration... " >&6; }
25373 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25374 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25375 $as_echo_n "(cached) " >&6
25376 else
25377
25378
25379 ac_ext=cpp
25380 ac_cpp='$CXXCPP $CPPFLAGS'
25381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25384
25385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25386 /* end confdefs.h. */
25387 #include <math.h>
25388 #ifdef HAVE_IEEEFP_H
25389 #include <ieeefp.h>
25390 #endif
25391
25392 int
25393 main ()
25394 {
25395 _logl(0);
25396 ;
25397 return 0;
25398 }
25399 _ACEOF
25400 if ac_fn_cxx_try_compile "$LINENO"; then :
25401 glibcxx_cv_func__logl_use=yes
25402 else
25403 glibcxx_cv_func__logl_use=no
25404 fi
25405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25406 ac_ext=c
25407 ac_cpp='$CPP $CPPFLAGS'
25408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25411
25412
25413 fi
25414
25415 fi
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25417 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25418
25419 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25420 for ac_func in _logl
25421 do :
25422 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25423 if test "x$ac_cv_func__logl" = x""yes; then :
25424 cat >>confdefs.h <<_ACEOF
25425 #define HAVE__LOGL 1
25426 _ACEOF
25427
25428 fi
25429 done
25430
25431 fi
25432 fi
25433
25434
25435
25436
25437
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25439 $as_echo_n "checking for log10l declaration... " >&6; }
25440 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25441 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25442 $as_echo_n "(cached) " >&6
25443 else
25444
25445
25446 ac_ext=cpp
25447 ac_cpp='$CXXCPP $CPPFLAGS'
25448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25451
25452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25453 /* end confdefs.h. */
25454 #include <math.h>
25455 #ifdef HAVE_IEEEFP_H
25456 #include <ieeefp.h>
25457 #endif
25458
25459 int
25460 main ()
25461 {
25462 log10l(0);
25463 ;
25464 return 0;
25465 }
25466 _ACEOF
25467 if ac_fn_cxx_try_compile "$LINENO"; then :
25468 glibcxx_cv_func_log10l_use=yes
25469 else
25470 glibcxx_cv_func_log10l_use=no
25471 fi
25472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25473 ac_ext=c
25474 ac_cpp='$CPP $CPPFLAGS'
25475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478
25479
25480 fi
25481
25482 fi
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25484 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25485
25486 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25487 for ac_func in log10l
25488 do :
25489 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25490 if test "x$ac_cv_func_log10l" = x""yes; then :
25491 cat >>confdefs.h <<_ACEOF
25492 #define HAVE_LOG10L 1
25493 _ACEOF
25494
25495 fi
25496 done
25497
25498 else
25499
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25501 $as_echo_n "checking for _log10l declaration... " >&6; }
25502 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25503 if test "${glibcxx_cv_func__log10l_use+set}" = set; 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 _log10l(0);
25525 ;
25526 return 0;
25527 }
25528 _ACEOF
25529 if ac_fn_cxx_try_compile "$LINENO"; then :
25530 glibcxx_cv_func__log10l_use=yes
25531 else
25532 glibcxx_cv_func__log10l_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__log10l_use" >&5
25546 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25547
25548 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25549 for ac_func in _log10l
25550 do :
25551 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25552 if test "x$ac_cv_func__log10l" = x""yes; then :
25553 cat >>confdefs.h <<_ACEOF
25554 #define HAVE__LOG10L 1
25555 _ACEOF
25556
25557 fi
25558 done
25559
25560 fi
25561 fi
25562
25563
25564
25565
25566
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25568 $as_echo_n "checking for modfl declaration... " >&6; }
25569 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25570 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25571 $as_echo_n "(cached) " >&6
25572 else
25573
25574
25575 ac_ext=cpp
25576 ac_cpp='$CXXCPP $CPPFLAGS'
25577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25580
25581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25582 /* end confdefs.h. */
25583 #include <math.h>
25584 int
25585 main ()
25586 {
25587 modfl(0, 0);
25588 ;
25589 return 0;
25590 }
25591 _ACEOF
25592 if ac_fn_cxx_try_compile "$LINENO"; then :
25593 glibcxx_cv_func_modfl_use=yes
25594 else
25595 glibcxx_cv_func_modfl_use=no
25596 fi
25597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25598 ac_ext=c
25599 ac_cpp='$CPP $CPPFLAGS'
25600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25603
25604
25605 fi
25606
25607 fi
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25609 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25610
25611 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25612 for ac_func in modfl
25613 do :
25614 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25615 if test "x$ac_cv_func_modfl" = x""yes; then :
25616 cat >>confdefs.h <<_ACEOF
25617 #define HAVE_MODFL 1
25618 _ACEOF
25619
25620 fi
25621 done
25622
25623 else
25624
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25626 $as_echo_n "checking for _modfl declaration... " >&6; }
25627 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25628 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25629 $as_echo_n "(cached) " >&6
25630 else
25631
25632
25633 ac_ext=cpp
25634 ac_cpp='$CXXCPP $CPPFLAGS'
25635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25638
25639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25640 /* end confdefs.h. */
25641 #include <math.h>
25642 int
25643 main ()
25644 {
25645 _modfl(0, 0);
25646 ;
25647 return 0;
25648 }
25649 _ACEOF
25650 if ac_fn_cxx_try_compile "$LINENO"; then :
25651 glibcxx_cv_func__modfl_use=yes
25652 else
25653 glibcxx_cv_func__modfl_use=no
25654 fi
25655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25656 ac_ext=c
25657 ac_cpp='$CPP $CPPFLAGS'
25658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25661
25662
25663 fi
25664
25665 fi
25666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25667 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25668
25669 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25670 for ac_func in _modfl
25671 do :
25672 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25673 if test "x$ac_cv_func__modfl" = x""yes; then :
25674 cat >>confdefs.h <<_ACEOF
25675 #define HAVE__MODFL 1
25676 _ACEOF
25677
25678 fi
25679 done
25680
25681 fi
25682 fi
25683
25684
25685
25686
25687
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25689 $as_echo_n "checking for powl declaration... " >&6; }
25690 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25691 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25692 $as_echo_n "(cached) " >&6
25693 else
25694
25695
25696 ac_ext=cpp
25697 ac_cpp='$CXXCPP $CPPFLAGS'
25698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25701
25702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25703 /* end confdefs.h. */
25704 #include <math.h>
25705 int
25706 main ()
25707 {
25708 powl(0, 0);
25709 ;
25710 return 0;
25711 }
25712 _ACEOF
25713 if ac_fn_cxx_try_compile "$LINENO"; then :
25714 glibcxx_cv_func_powl_use=yes
25715 else
25716 glibcxx_cv_func_powl_use=no
25717 fi
25718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25719 ac_ext=c
25720 ac_cpp='$CPP $CPPFLAGS'
25721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25724
25725
25726 fi
25727
25728 fi
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25730 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25731
25732 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25733 for ac_func in powl
25734 do :
25735 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25736 if test "x$ac_cv_func_powl" = x""yes; then :
25737 cat >>confdefs.h <<_ACEOF
25738 #define HAVE_POWL 1
25739 _ACEOF
25740
25741 fi
25742 done
25743
25744 else
25745
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25747 $as_echo_n "checking for _powl declaration... " >&6; }
25748 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25749 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25750 $as_echo_n "(cached) " >&6
25751 else
25752
25753
25754 ac_ext=cpp
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25759
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25762 #include <math.h>
25763 int
25764 main ()
25765 {
25766 _powl(0, 0);
25767 ;
25768 return 0;
25769 }
25770 _ACEOF
25771 if ac_fn_cxx_try_compile "$LINENO"; then :
25772 glibcxx_cv_func__powl_use=yes
25773 else
25774 glibcxx_cv_func__powl_use=no
25775 fi
25776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25777 ac_ext=c
25778 ac_cpp='$CPP $CPPFLAGS'
25779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782
25783
25784 fi
25785
25786 fi
25787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25788 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25789
25790 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25791 for ac_func in _powl
25792 do :
25793 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25794 if test "x$ac_cv_func__powl" = x""yes; then :
25795 cat >>confdefs.h <<_ACEOF
25796 #define HAVE__POWL 1
25797 _ACEOF
25798
25799 fi
25800 done
25801
25802 fi
25803 fi
25804
25805
25806
25807
25808
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25810 $as_echo_n "checking for sqrtl declaration... " >&6; }
25811 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25812 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25815
25816
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25826 #ifdef HAVE_IEEEFP_H
25827 #include <ieeefp.h>
25828 #endif
25829
25830 int
25831 main ()
25832 {
25833 sqrtl(0);
25834 ;
25835 return 0;
25836 }
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839 glibcxx_cv_func_sqrtl_use=yes
25840 else
25841 glibcxx_cv_func_sqrtl_use=no
25842 fi
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25849
25850
25851 fi
25852
25853 fi
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25855 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25856
25857 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25858 for ac_func in sqrtl
25859 do :
25860 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25861 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE_SQRTL 1
25864 _ACEOF
25865
25866 fi
25867 done
25868
25869 else
25870
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25872 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25873 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25874 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25875 $as_echo_n "(cached) " >&6
25876 else
25877
25878
25879 ac_ext=cpp
25880 ac_cpp='$CXXCPP $CPPFLAGS'
25881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25884
25885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25886 /* end confdefs.h. */
25887 #include <math.h>
25888 #ifdef HAVE_IEEEFP_H
25889 #include <ieeefp.h>
25890 #endif
25891
25892 int
25893 main ()
25894 {
25895 _sqrtl(0);
25896 ;
25897 return 0;
25898 }
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func__sqrtl_use=yes
25902 else
25903 glibcxx_cv_func__sqrtl_use=no
25904 fi
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25911
25912
25913 fi
25914
25915 fi
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25917 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25918
25919 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25920 for ac_func in _sqrtl
25921 do :
25922 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25923 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE__SQRTL 1
25926 _ACEOF
25927
25928 fi
25929 done
25930
25931 fi
25932 fi
25933
25934
25935
25936
25937
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25939 $as_echo_n "checking for sincosl declaration... " >&6; }
25940 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25941 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25942 $as_echo_n "(cached) " >&6
25943 else
25944
25945
25946 ac_ext=cpp
25947 ac_cpp='$CXXCPP $CPPFLAGS'
25948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25951
25952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25953 /* end confdefs.h. */
25954 #include <math.h>
25955 int
25956 main ()
25957 {
25958 sincosl(0, 0, 0);
25959 ;
25960 return 0;
25961 }
25962 _ACEOF
25963 if ac_fn_cxx_try_compile "$LINENO"; then :
25964 glibcxx_cv_func_sincosl_use=yes
25965 else
25966 glibcxx_cv_func_sincosl_use=no
25967 fi
25968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 ac_ext=c
25970 ac_cpp='$CPP $CPPFLAGS'
25971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25974
25975
25976 fi
25977
25978 fi
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25980 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25981
25982 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25983 for ac_func in sincosl
25984 do :
25985 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25986 if test "x$ac_cv_func_sincosl" = x""yes; then :
25987 cat >>confdefs.h <<_ACEOF
25988 #define HAVE_SINCOSL 1
25989 _ACEOF
25990
25991 fi
25992 done
25993
25994 else
25995
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25997 $as_echo_n "checking for _sincosl declaration... " >&6; }
25998 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25999 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26000 $as_echo_n "(cached) " >&6
26001 else
26002
26003
26004 ac_ext=cpp
26005 ac_cpp='$CXXCPP $CPPFLAGS'
26006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26009
26010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26012 #include <math.h>
26013 int
26014 main ()
26015 {
26016 _sincosl(0, 0, 0);
26017 ;
26018 return 0;
26019 }
26020 _ACEOF
26021 if ac_fn_cxx_try_compile "$LINENO"; then :
26022 glibcxx_cv_func__sincosl_use=yes
26023 else
26024 glibcxx_cv_func__sincosl_use=no
26025 fi
26026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26027 ac_ext=c
26028 ac_cpp='$CPP $CPPFLAGS'
26029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26032
26033
26034 fi
26035
26036 fi
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26038 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26039
26040 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26041 for ac_func in _sincosl
26042 do :
26043 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26044 if test "x$ac_cv_func__sincosl" = x""yes; then :
26045 cat >>confdefs.h <<_ACEOF
26046 #define HAVE__SINCOSL 1
26047 _ACEOF
26048
26049 fi
26050 done
26051
26052 fi
26053 fi
26054
26055
26056
26057
26058
26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26060 $as_echo_n "checking for finitel declaration... " >&6; }
26061 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26062 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26063 $as_echo_n "(cached) " >&6
26064 else
26065
26066
26067 ac_ext=cpp
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072
26073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h. */
26075 #include <math.h>
26076 #ifdef HAVE_IEEEFP_H
26077 #include <ieeefp.h>
26078 #endif
26079
26080 int
26081 main ()
26082 {
26083 finitel(0);
26084 ;
26085 return 0;
26086 }
26087 _ACEOF
26088 if ac_fn_cxx_try_compile "$LINENO"; then :
26089 glibcxx_cv_func_finitel_use=yes
26090 else
26091 glibcxx_cv_func_finitel_use=no
26092 fi
26093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26094 ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26099
26100
26101 fi
26102
26103 fi
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26105 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26106
26107 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26108 for ac_func in finitel
26109 do :
26110 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26111 if test "x$ac_cv_func_finitel" = x""yes; then :
26112 cat >>confdefs.h <<_ACEOF
26113 #define HAVE_FINITEL 1
26114 _ACEOF
26115
26116 fi
26117 done
26118
26119 else
26120
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26122 $as_echo_n "checking for _finitel declaration... " >&6; }
26123 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26124 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26125 $as_echo_n "(cached) " >&6
26126 else
26127
26128
26129 ac_ext=cpp
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26134
26135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26137 #include <math.h>
26138 #ifdef HAVE_IEEEFP_H
26139 #include <ieeefp.h>
26140 #endif
26141
26142 int
26143 main ()
26144 {
26145 _finitel(0);
26146 ;
26147 return 0;
26148 }
26149 _ACEOF
26150 if ac_fn_cxx_try_compile "$LINENO"; then :
26151 glibcxx_cv_func__finitel_use=yes
26152 else
26153 glibcxx_cv_func__finitel_use=no
26154 fi
26155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26156 ac_ext=c
26157 ac_cpp='$CPP $CPPFLAGS'
26158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26161
26162
26163 fi
26164
26165 fi
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26167 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26168
26169 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26170 for ac_func in _finitel
26171 do :
26172 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26173 if test "x$ac_cv_func__finitel" = x""yes; then :
26174 cat >>confdefs.h <<_ACEOF
26175 #define HAVE__FINITEL 1
26176 _ACEOF
26177
26178 fi
26179 done
26180
26181 fi
26182 fi
26183
26184
26185
26186
26187 LIBS="$ac_save_LIBS"
26188 CXXFLAGS="$ac_save_CXXFLAGS"
26189
26190
26191 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26192 ac_save_CXXFLAGS="$CXXFLAGS"
26193 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26194
26195
26196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26197 $as_echo_n "checking for strtold declaration... " >&6; }
26198 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26199 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26200 $as_echo_n "(cached) " >&6
26201 else
26202
26203
26204 ac_ext=cpp
26205 ac_cpp='$CXXCPP $CPPFLAGS'
26206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26209
26210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26211 /* end confdefs.h. */
26212 #include <stdlib.h>
26213 int
26214 main ()
26215 {
26216 strtold(0, 0);
26217 ;
26218 return 0;
26219 }
26220 _ACEOF
26221 if ac_fn_cxx_try_compile "$LINENO"; then :
26222 glibcxx_cv_func_strtold_use=yes
26223 else
26224 glibcxx_cv_func_strtold_use=no
26225 fi
26226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26227 ac_ext=c
26228 ac_cpp='$CPP $CPPFLAGS'
26229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26232
26233
26234 fi
26235
26236 fi
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26238 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26239 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26240 for ac_func in strtold
26241 do :
26242 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26243 if test "x$ac_cv_func_strtold" = x""yes; then :
26244 cat >>confdefs.h <<_ACEOF
26245 #define HAVE_STRTOLD 1
26246 _ACEOF
26247
26248 fi
26249 done
26250
26251 fi
26252
26253
26254
26255
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26257 $as_echo_n "checking for strtof declaration... " >&6; }
26258 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26259 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26260 $as_echo_n "(cached) " >&6
26261 else
26262
26263
26264 ac_ext=cpp
26265 ac_cpp='$CXXCPP $CPPFLAGS'
26266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26269
26270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26271 /* end confdefs.h. */
26272 #include <stdlib.h>
26273 int
26274 main ()
26275 {
26276 strtof(0, 0);
26277 ;
26278 return 0;
26279 }
26280 _ACEOF
26281 if ac_fn_cxx_try_compile "$LINENO"; then :
26282 glibcxx_cv_func_strtof_use=yes
26283 else
26284 glibcxx_cv_func_strtof_use=no
26285 fi
26286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26287 ac_ext=c
26288 ac_cpp='$CPP $CPPFLAGS'
26289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26292
26293
26294 fi
26295
26296 fi
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26298 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26299 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26300 for ac_func in strtof
26301 do :
26302 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26303 if test "x$ac_cv_func_strtof" = x""yes; then :
26304 cat >>confdefs.h <<_ACEOF
26305 #define HAVE_STRTOF 1
26306 _ACEOF
26307
26308 fi
26309 done
26310
26311 fi
26312
26313
26314
26315
26316 CXXFLAGS="$ac_save_CXXFLAGS"
26317
26318
26319 # For /dev/random and /dev/urandom for TR1.
26320
26321
26322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26323 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26324 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26325 $as_echo_n "(cached) " >&6
26326 else
26327
26328 if test -r /dev/random && test -r /dev/urandom; then
26329 glibcxx_cv_random_tr1=yes;
26330 else
26331 glibcxx_cv_random_tr1=no;
26332 fi
26333
26334 fi
26335
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26337 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26338
26339 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26340
26341 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26342
26343 fi
26344
26345
26346
26347 # For TLS support.
26348
26349
26350 # Check whether --enable-tls was given.
26351 if test "${enable_tls+set}" = set; then :
26352 enableval=$enable_tls;
26353 case "$enableval" in
26354 yes|no) ;;
26355 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26356 esac
26357
26358 else
26359 enable_tls=yes
26360 fi
26361
26362
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26364 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26365 if test "${gcc_cv_have_tls+set}" = set; then :
26366 $as_echo_n "(cached) " >&6
26367 else
26368
26369 if test "$cross_compiling" = yes; then :
26370 if test x$gcc_no_link = xyes; then
26371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26372 fi
26373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26374 /* end confdefs.h. */
26375 __thread int a; int b; int main() { return a = b; }
26376 _ACEOF
26377 if ac_fn_c_try_link "$LINENO"; then :
26378 chktls_save_LDFLAGS="$LDFLAGS"
26379 case $host in
26380 *-*-linux*)
26381 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26382 ;;
26383 esac
26384 chktls_save_CFLAGS="$CFLAGS"
26385 CFLAGS="-fPIC $CFLAGS"
26386 if test x$gcc_no_link = xyes; then
26387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26388 fi
26389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26390 /* end confdefs.h. */
26391 int f() { return 0; }
26392 _ACEOF
26393 if ac_fn_c_try_link "$LINENO"; then :
26394 if test x$gcc_no_link = xyes; then
26395 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26396 fi
26397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26398 /* end confdefs.h. */
26399 __thread int a; int b; int f() { return a = b; }
26400 _ACEOF
26401 if ac_fn_c_try_link "$LINENO"; then :
26402 gcc_cv_have_tls=yes
26403 else
26404 gcc_cv_have_tls=no
26405 fi
26406 rm -f core conftest.err conftest.$ac_objext \
26407 conftest$ac_exeext conftest.$ac_ext
26408 else
26409 gcc_cv_have_tls=yes
26410 fi
26411 rm -f core conftest.err conftest.$ac_objext \
26412 conftest$ac_exeext conftest.$ac_ext
26413 CFLAGS="$chktls_save_CFLAGS"
26414 LDFLAGS="$chktls_save_LDFLAGS"
26415 else
26416 gcc_cv_have_tls=no
26417 fi
26418 rm -f core conftest.err conftest.$ac_objext \
26419 conftest$ac_exeext conftest.$ac_ext
26420
26421
26422 else
26423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26424 /* end confdefs.h. */
26425 __thread int a; int b; int main() { return a = b; }
26426 _ACEOF
26427 if ac_fn_c_try_run "$LINENO"; then :
26428 chktls_save_LDFLAGS="$LDFLAGS"
26429 LDFLAGS="-static $LDFLAGS"
26430 if test x$gcc_no_link = xyes; then
26431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26432 fi
26433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26434 /* end confdefs.h. */
26435 int main() { return 0; }
26436 _ACEOF
26437 if ac_fn_c_try_link "$LINENO"; then :
26438 if test "$cross_compiling" = yes; then :
26439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26441 as_fn_error "cannot run test program while cross compiling
26442 See \`config.log' for more details." "$LINENO" 5; }
26443 else
26444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26445 /* end confdefs.h. */
26446 __thread int a; int b; int main() { return a = b; }
26447 _ACEOF
26448 if ac_fn_c_try_run "$LINENO"; then :
26449 gcc_cv_have_tls=yes
26450 else
26451 gcc_cv_have_tls=no
26452 fi
26453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26454 conftest.$ac_objext conftest.beam conftest.$ac_ext
26455 fi
26456
26457 else
26458 gcc_cv_have_tls=yes
26459 fi
26460 rm -f core conftest.err conftest.$ac_objext \
26461 conftest$ac_exeext conftest.$ac_ext
26462 LDFLAGS="$chktls_save_LDFLAGS"
26463 if test $gcc_cv_have_tls = yes; then
26464 chktls_save_CFLAGS="$CFLAGS"
26465 thread_CFLAGS=failed
26466 for flag in '' '-pthread' '-lpthread'; do
26467 CFLAGS="$flag $chktls_save_CFLAGS"
26468 if test x$gcc_no_link = xyes; then
26469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26470 fi
26471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26472 /* end confdefs.h. */
26473 #include <pthread.h>
26474 void *g(void *d) { return NULL; }
26475 int
26476 main ()
26477 {
26478 pthread_t t; pthread_create(&t,NULL,g,NULL);
26479 ;
26480 return 0;
26481 }
26482 _ACEOF
26483 if ac_fn_c_try_link "$LINENO"; then :
26484 thread_CFLAGS="$flag"
26485 fi
26486 rm -f core conftest.err conftest.$ac_objext \
26487 conftest$ac_exeext conftest.$ac_ext
26488 if test "X$thread_CFLAGS" != Xfailed; then
26489 break
26490 fi
26491 done
26492 CFLAGS="$chktls_save_CFLAGS"
26493 if test "X$thread_CFLAGS" != Xfailed; then
26494 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26495 if test "$cross_compiling" = yes; then :
26496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26498 as_fn_error "cannot run test program while cross compiling
26499 See \`config.log' for more details." "$LINENO" 5; }
26500 else
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <pthread.h>
26504 __thread int a;
26505 static int *volatile a_in_other_thread;
26506 static void *
26507 thread_func (void *arg)
26508 {
26509 a_in_other_thread = &a;
26510 return (void *)0;
26511 }
26512 int
26513 main ()
26514 {
26515 pthread_t thread;
26516 void *thread_retval;
26517 int *volatile a_in_main_thread;
26518 a_in_main_thread = &a;
26519 if (pthread_create (&thread, (pthread_attr_t *)0,
26520 thread_func, (void *)0))
26521 return 0;
26522 if (pthread_join (thread, &thread_retval))
26523 return 0;
26524 return (a_in_other_thread == a_in_main_thread);
26525 ;
26526 return 0;
26527 }
26528 _ACEOF
26529 if ac_fn_c_try_run "$LINENO"; then :
26530 gcc_cv_have_tls=yes
26531 else
26532 gcc_cv_have_tls=no
26533 fi
26534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26535 conftest.$ac_objext conftest.beam conftest.$ac_ext
26536 fi
26537
26538 CFLAGS="$chktls_save_CFLAGS"
26539 fi
26540 fi
26541 else
26542 gcc_cv_have_tls=no
26543 fi
26544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26545 conftest.$ac_objext conftest.beam conftest.$ac_ext
26546 fi
26547
26548 fi
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26550 $as_echo "$gcc_cv_have_tls" >&6; }
26551 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26552
26553 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26554
26555 fi
26556
26557 # For iconv support.
26558
26559 if test "X$prefix" = "XNONE"; then
26560 acl_final_prefix="$ac_default_prefix"
26561 else
26562 acl_final_prefix="$prefix"
26563 fi
26564 if test "X$exec_prefix" = "XNONE"; then
26565 acl_final_exec_prefix='${prefix}'
26566 else
26567 acl_final_exec_prefix="$exec_prefix"
26568 fi
26569 acl_save_prefix="$prefix"
26570 prefix="$acl_final_prefix"
26571 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26572 prefix="$acl_save_prefix"
26573
26574
26575 # Check whether --with-gnu-ld was given.
26576 if test "${with_gnu_ld+set}" = set; then :
26577 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26578 else
26579 with_gnu_ld=no
26580 fi
26581
26582 # Prepare PATH_SEPARATOR.
26583 # The user is always right.
26584 if test "${PATH_SEPARATOR+set}" != set; then
26585 echo "#! /bin/sh" >conf$$.sh
26586 echo "exit 0" >>conf$$.sh
26587 chmod +x conf$$.sh
26588 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26589 PATH_SEPARATOR=';'
26590 else
26591 PATH_SEPARATOR=:
26592 fi
26593 rm -f conf$$.sh
26594 fi
26595 ac_prog=ld
26596 if test "$GCC" = yes; then
26597 # Check if gcc -print-prog-name=ld gives a path.
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26599 $as_echo_n "checking for ld used by GCC... " >&6; }
26600 case $host in
26601 *-*-mingw*)
26602 # gcc leaves a trailing carriage return which upsets mingw
26603 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26604 *)
26605 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26606 esac
26607 case $ac_prog in
26608 # Accept absolute paths.
26609 [\\/]* | [A-Za-z]:[\\/]*)
26610 re_direlt='/[^/][^/]*/\.\./'
26611 # Canonicalize the path of ld
26612 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26613 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26614 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26615 done
26616 test -z "$LD" && LD="$ac_prog"
26617 ;;
26618 "")
26619 # If it fails, then pretend we aren't using GCC.
26620 ac_prog=ld
26621 ;;
26622 *)
26623 # If it is relative, then search for the first ld in PATH.
26624 with_gnu_ld=unknown
26625 ;;
26626 esac
26627 elif test "$with_gnu_ld" = yes; then
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26629 $as_echo_n "checking for GNU ld... " >&6; }
26630 else
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26632 $as_echo_n "checking for non-GNU ld... " >&6; }
26633 fi
26634 if test "${acl_cv_path_LD+set}" = set; then :
26635 $as_echo_n "(cached) " >&6
26636 else
26637 if test -z "$LD"; then
26638 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26639 for ac_dir in $PATH; do
26640 test -z "$ac_dir" && ac_dir=.
26641 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26642 acl_cv_path_LD="$ac_dir/$ac_prog"
26643 # Check to see if the program is GNU ld. I'd rather use --version,
26644 # but apparently some GNU ld's only accept -v.
26645 # Break only if it was the GNU/non-GNU ld that we prefer.
26646 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26647 test "$with_gnu_ld" != no && break
26648 else
26649 test "$with_gnu_ld" != yes && break
26650 fi
26651 fi
26652 done
26653 IFS="$ac_save_ifs"
26654 else
26655 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26656 fi
26657 fi
26658
26659 LD="$acl_cv_path_LD"
26660 if test -n "$LD"; then
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26662 $as_echo "$LD" >&6; }
26663 else
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26665 $as_echo "no" >&6; }
26666 fi
26667 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26669 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26670 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26671 $as_echo_n "(cached) " >&6
26672 else
26673 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26674 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26675 acl_cv_prog_gnu_ld=yes
26676 else
26677 acl_cv_prog_gnu_ld=no
26678 fi
26679 fi
26680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26681 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26682 with_gnu_ld=$acl_cv_prog_gnu_ld
26683
26684
26685
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26687 $as_echo_n "checking for shared library run path origin... " >&6; }
26688 if test "${acl_cv_rpath+set}" = set; then :
26689 $as_echo_n "(cached) " >&6
26690 else
26691
26692 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26693 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26694 . ./conftest.sh
26695 rm -f ./conftest.sh
26696 acl_cv_rpath=done
26697
26698 fi
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26700 $as_echo "$acl_cv_rpath" >&6; }
26701 wl="$acl_cv_wl"
26702 libext="$acl_cv_libext"
26703 shlibext="$acl_cv_shlibext"
26704 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26705 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26706 hardcode_direct="$acl_cv_hardcode_direct"
26707 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26708 # Check whether --enable-rpath was given.
26709 if test "${enable_rpath+set}" = set; then :
26710 enableval=$enable_rpath; :
26711 else
26712 enable_rpath=yes
26713 fi
26714
26715
26716
26717
26718
26719
26720
26721
26722 use_additional=yes
26723
26724 acl_save_prefix="$prefix"
26725 prefix="$acl_final_prefix"
26726 acl_save_exec_prefix="$exec_prefix"
26727 exec_prefix="$acl_final_exec_prefix"
26728
26729 eval additional_includedir=\"$includedir\"
26730 eval additional_libdir=\"$libdir\"
26731
26732 exec_prefix="$acl_save_exec_prefix"
26733 prefix="$acl_save_prefix"
26734
26735
26736 # Check whether --with-libiconv-prefix was given.
26737 if test "${with_libiconv_prefix+set}" = set; then :
26738 withval=$with_libiconv_prefix;
26739 if test "X$withval" = "Xno"; then
26740 use_additional=no
26741 else
26742 if test "X$withval" = "X"; then
26743
26744 acl_save_prefix="$prefix"
26745 prefix="$acl_final_prefix"
26746 acl_save_exec_prefix="$exec_prefix"
26747 exec_prefix="$acl_final_exec_prefix"
26748
26749 eval additional_includedir=\"$includedir\"
26750 eval additional_libdir=\"$libdir\"
26751
26752 exec_prefix="$acl_save_exec_prefix"
26753 prefix="$acl_save_prefix"
26754
26755 else
26756 additional_includedir="$withval/include"
26757 additional_libdir="$withval/lib"
26758 fi
26759 fi
26760
26761 fi
26762
26763 LIBICONV=
26764 LTLIBICONV=
26765 INCICONV=
26766 rpathdirs=
26767 ltrpathdirs=
26768 names_already_handled=
26769 names_next_round='iconv '
26770 while test -n "$names_next_round"; do
26771 names_this_round="$names_next_round"
26772 names_next_round=
26773 for name in $names_this_round; do
26774 already_handled=
26775 for n in $names_already_handled; do
26776 if test "$n" = "$name"; then
26777 already_handled=yes
26778 break
26779 fi
26780 done
26781 if test -z "$already_handled"; then
26782 names_already_handled="$names_already_handled $name"
26783 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26784 eval value=\"\$HAVE_LIB$uppername\"
26785 if test -n "$value"; then
26786 if test "$value" = yes; then
26787 eval value=\"\$LIB$uppername\"
26788 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26789 eval value=\"\$LTLIB$uppername\"
26790 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26791 else
26792 :
26793 fi
26794 else
26795 found_dir=
26796 found_la=
26797 found_so=
26798 found_a=
26799 if test $use_additional = yes; then
26800 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26801 found_dir="$additional_libdir"
26802 found_so="$additional_libdir/lib$name.$shlibext"
26803 if test -f "$additional_libdir/lib$name.la"; then
26804 found_la="$additional_libdir/lib$name.la"
26805 fi
26806 else
26807 if test -f "$additional_libdir/lib$name.$libext"; then
26808 found_dir="$additional_libdir"
26809 found_a="$additional_libdir/lib$name.$libext"
26810 if test -f "$additional_libdir/lib$name.la"; then
26811 found_la="$additional_libdir/lib$name.la"
26812 fi
26813 fi
26814 fi
26815 fi
26816 if test "X$found_dir" = "X"; then
26817 for x in $LDFLAGS $LTLIBICONV; do
26818
26819 acl_save_prefix="$prefix"
26820 prefix="$acl_final_prefix"
26821 acl_save_exec_prefix="$exec_prefix"
26822 exec_prefix="$acl_final_exec_prefix"
26823 eval x=\"$x\"
26824 exec_prefix="$acl_save_exec_prefix"
26825 prefix="$acl_save_prefix"
26826
26827 case "$x" in
26828 -L*)
26829 dir=`echo "X$x" | sed -e 's/^X-L//'`
26830 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26831 found_dir="$dir"
26832 found_so="$dir/lib$name.$shlibext"
26833 if test -f "$dir/lib$name.la"; then
26834 found_la="$dir/lib$name.la"
26835 fi
26836 else
26837 if test -f "$dir/lib$name.$libext"; then
26838 found_dir="$dir"
26839 found_a="$dir/lib$name.$libext"
26840 if test -f "$dir/lib$name.la"; then
26841 found_la="$dir/lib$name.la"
26842 fi
26843 fi
26844 fi
26845 ;;
26846 esac
26847 if test "X$found_dir" != "X"; then
26848 break
26849 fi
26850 done
26851 fi
26852 if test "X$found_dir" != "X"; then
26853 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26854 if test "X$found_so" != "X"; then
26855 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26856 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26857 else
26858 haveit=
26859 for x in $ltrpathdirs; do
26860 if test "X$x" = "X$found_dir"; then
26861 haveit=yes
26862 break
26863 fi
26864 done
26865 if test -z "$haveit"; then
26866 ltrpathdirs="$ltrpathdirs $found_dir"
26867 fi
26868 if test "$hardcode_direct" = yes; then
26869 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26870 else
26871 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26872 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26873 haveit=
26874 for x in $rpathdirs; do
26875 if test "X$x" = "X$found_dir"; then
26876 haveit=yes
26877 break
26878 fi
26879 done
26880 if test -z "$haveit"; then
26881 rpathdirs="$rpathdirs $found_dir"
26882 fi
26883 else
26884 haveit=
26885 for x in $LDFLAGS $LIBICONV; do
26886
26887 acl_save_prefix="$prefix"
26888 prefix="$acl_final_prefix"
26889 acl_save_exec_prefix="$exec_prefix"
26890 exec_prefix="$acl_final_exec_prefix"
26891 eval x=\"$x\"
26892 exec_prefix="$acl_save_exec_prefix"
26893 prefix="$acl_save_prefix"
26894
26895 if test "X$x" = "X-L$found_dir"; then
26896 haveit=yes
26897 break
26898 fi
26899 done
26900 if test -z "$haveit"; then
26901 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26902 fi
26903 if test "$hardcode_minus_L" != no; then
26904 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26905 else
26906 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26907 fi
26908 fi
26909 fi
26910 fi
26911 else
26912 if test "X$found_a" != "X"; then
26913 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26914 else
26915 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26916 fi
26917 fi
26918 additional_includedir=
26919 case "$found_dir" in
26920 */lib | */lib/)
26921 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26922 additional_includedir="$basedir/include"
26923 ;;
26924 esac
26925 if test "X$additional_includedir" != "X"; then
26926 if test "X$additional_includedir" != "X/usr/include"; then
26927 haveit=
26928 if test "X$additional_includedir" = "X/usr/local/include"; then
26929 if test -n "$GCC"; then
26930 case $host_os in
26931 linux*) haveit=yes;;
26932 esac
26933 fi
26934 fi
26935 if test -z "$haveit"; then
26936 for x in $CPPFLAGS $INCICONV; do
26937
26938 acl_save_prefix="$prefix"
26939 prefix="$acl_final_prefix"
26940 acl_save_exec_prefix="$exec_prefix"
26941 exec_prefix="$acl_final_exec_prefix"
26942 eval x=\"$x\"
26943 exec_prefix="$acl_save_exec_prefix"
26944 prefix="$acl_save_prefix"
26945
26946 if test "X$x" = "X-I$additional_includedir"; then
26947 haveit=yes
26948 break
26949 fi
26950 done
26951 if test -z "$haveit"; then
26952 if test -d "$additional_includedir"; then
26953 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26954 fi
26955 fi
26956 fi
26957 fi
26958 fi
26959 if test -n "$found_la"; then
26960 save_libdir="$libdir"
26961 case "$found_la" in
26962 */* | *\\*) . "$found_la" ;;
26963 *) . "./$found_la" ;;
26964 esac
26965 libdir="$save_libdir"
26966 for dep in $dependency_libs; do
26967 case "$dep" in
26968 -L*)
26969 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26970 if test "X$additional_libdir" != "X/usr/lib"; then
26971 haveit=
26972 if test "X$additional_libdir" = "X/usr/local/lib"; then
26973 if test -n "$GCC"; then
26974 case $host_os in
26975 linux*) haveit=yes;;
26976 esac
26977 fi
26978 fi
26979 if test -z "$haveit"; then
26980 haveit=
26981 for x in $LDFLAGS $LIBICONV; do
26982
26983 acl_save_prefix="$prefix"
26984 prefix="$acl_final_prefix"
26985 acl_save_exec_prefix="$exec_prefix"
26986 exec_prefix="$acl_final_exec_prefix"
26987 eval x=\"$x\"
26988 exec_prefix="$acl_save_exec_prefix"
26989 prefix="$acl_save_prefix"
26990
26991 if test "X$x" = "X-L$additional_libdir"; then
26992 haveit=yes
26993 break
26994 fi
26995 done
26996 if test -z "$haveit"; then
26997 if test -d "$additional_libdir"; then
26998 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26999 fi
27000 fi
27001 haveit=
27002 for x in $LDFLAGS $LTLIBICONV; do
27003
27004 acl_save_prefix="$prefix"
27005 prefix="$acl_final_prefix"
27006 acl_save_exec_prefix="$exec_prefix"
27007 exec_prefix="$acl_final_exec_prefix"
27008 eval x=\"$x\"
27009 exec_prefix="$acl_save_exec_prefix"
27010 prefix="$acl_save_prefix"
27011
27012 if test "X$x" = "X-L$additional_libdir"; then
27013 haveit=yes
27014 break
27015 fi
27016 done
27017 if test -z "$haveit"; then
27018 if test -d "$additional_libdir"; then
27019 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27020 fi
27021 fi
27022 fi
27023 fi
27024 ;;
27025 -R*)
27026 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27027 if test "$enable_rpath" != no; then
27028 haveit=
27029 for x in $rpathdirs; do
27030 if test "X$x" = "X$dir"; then
27031 haveit=yes
27032 break
27033 fi
27034 done
27035 if test -z "$haveit"; then
27036 rpathdirs="$rpathdirs $dir"
27037 fi
27038 haveit=
27039 for x in $ltrpathdirs; do
27040 if test "X$x" = "X$dir"; then
27041 haveit=yes
27042 break
27043 fi
27044 done
27045 if test -z "$haveit"; then
27046 ltrpathdirs="$ltrpathdirs $dir"
27047 fi
27048 fi
27049 ;;
27050 -l*)
27051 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27052 ;;
27053 *.la)
27054 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27055 ;;
27056 *)
27057 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27058 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27059 ;;
27060 esac
27061 done
27062 fi
27063 else
27064 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27065 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27066 fi
27067 fi
27068 fi
27069 done
27070 done
27071 if test "X$rpathdirs" != "X"; then
27072 if test -n "$hardcode_libdir_separator"; then
27073 alldirs=
27074 for found_dir in $rpathdirs; do
27075 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27076 done
27077 acl_save_libdir="$libdir"
27078 libdir="$alldirs"
27079 eval flag=\"$hardcode_libdir_flag_spec\"
27080 libdir="$acl_save_libdir"
27081 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27082 else
27083 for found_dir in $rpathdirs; do
27084 acl_save_libdir="$libdir"
27085 libdir="$found_dir"
27086 eval flag=\"$hardcode_libdir_flag_spec\"
27087 libdir="$acl_save_libdir"
27088 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27089 done
27090 fi
27091 fi
27092 if test "X$ltrpathdirs" != "X"; then
27093 for found_dir in $ltrpathdirs; do
27094 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27095 done
27096 fi
27097
27098
27099
27100
27101
27102
27103
27104 am_save_CPPFLAGS="$CPPFLAGS"
27105
27106 for element in $INCICONV; do
27107 haveit=
27108 for x in $CPPFLAGS; do
27109
27110 acl_save_prefix="$prefix"
27111 prefix="$acl_final_prefix"
27112 acl_save_exec_prefix="$exec_prefix"
27113 exec_prefix="$acl_final_exec_prefix"
27114 eval x=\"$x\"
27115 exec_prefix="$acl_save_exec_prefix"
27116 prefix="$acl_save_prefix"
27117
27118 if test "X$x" = "X$element"; then
27119 haveit=yes
27120 break
27121 fi
27122 done
27123 if test -z "$haveit"; then
27124 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27125 fi
27126 done
27127
27128
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27130 $as_echo_n "checking for iconv... " >&6; }
27131 if test "${am_cv_func_iconv+set}" = set; then :
27132 $as_echo_n "(cached) " >&6
27133 else
27134
27135 am_cv_func_iconv="no, consider installing GNU libiconv"
27136 am_cv_lib_iconv=no
27137 if test x$gcc_no_link = xyes; then
27138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27139 fi
27140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27141 /* end confdefs.h. */
27142 #include <stdlib.h>
27143 #include <iconv.h>
27144 int
27145 main ()
27146 {
27147 iconv_t cd = iconv_open("","");
27148 iconv(cd,NULL,NULL,NULL,NULL);
27149 iconv_close(cd);
27150 ;
27151 return 0;
27152 }
27153 _ACEOF
27154 if ac_fn_c_try_link "$LINENO"; then :
27155 am_cv_func_iconv=yes
27156 fi
27157 rm -f core conftest.err conftest.$ac_objext \
27158 conftest$ac_exeext conftest.$ac_ext
27159 if test "$am_cv_func_iconv" != yes; then
27160 am_save_LIBS="$LIBS"
27161 LIBS="$LIBS $LIBICONV"
27162 if test x$gcc_no_link = xyes; then
27163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27164 fi
27165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27166 /* end confdefs.h. */
27167 #include <stdlib.h>
27168 #include <iconv.h>
27169 int
27170 main ()
27171 {
27172 iconv_t cd = iconv_open("","");
27173 iconv(cd,NULL,NULL,NULL,NULL);
27174 iconv_close(cd);
27175 ;
27176 return 0;
27177 }
27178 _ACEOF
27179 if ac_fn_c_try_link "$LINENO"; then :
27180 am_cv_lib_iconv=yes
27181 am_cv_func_iconv=yes
27182 fi
27183 rm -f core conftest.err conftest.$ac_objext \
27184 conftest$ac_exeext conftest.$ac_ext
27185 LIBS="$am_save_LIBS"
27186 fi
27187
27188 fi
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27190 $as_echo "$am_cv_func_iconv" >&6; }
27191 if test "$am_cv_func_iconv" = yes; then
27192
27193 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27194
27195 fi
27196 if test "$am_cv_lib_iconv" = yes; then
27197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27198 $as_echo_n "checking how to link with libiconv... " >&6; }
27199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27200 $as_echo "$LIBICONV" >&6; }
27201 else
27202 CPPFLAGS="$am_save_CPPFLAGS"
27203 LIBICONV=
27204 LTLIBICONV=
27205 fi
27206
27207
27208
27209 if test "$am_cv_func_iconv" = yes; then
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27211 $as_echo_n "checking for iconv declaration... " >&6; }
27212 if test "${am_cv_proto_iconv+set}" = set; then :
27213 $as_echo_n "(cached) " >&6
27214 else
27215
27216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27217 /* end confdefs.h. */
27218
27219 #include <stdlib.h>
27220 #include <iconv.h>
27221 extern
27222 #ifdef __cplusplus
27223 "C"
27224 #endif
27225 #if defined(__STDC__) || defined(__cplusplus)
27226 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27227 #else
27228 size_t iconv();
27229 #endif
27230
27231 int
27232 main ()
27233 {
27234
27235 ;
27236 return 0;
27237 }
27238 _ACEOF
27239 if ac_fn_c_try_compile "$LINENO"; then :
27240 am_cv_proto_iconv_arg1=""
27241 else
27242 am_cv_proto_iconv_arg1="const"
27243 fi
27244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27245 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);"
27246 fi
27247
27248 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27250 }$am_cv_proto_iconv" >&5
27251 $as_echo "${ac_t:-
27252 }$am_cv_proto_iconv" >&6; }
27253
27254 cat >>confdefs.h <<_ACEOF
27255 #define ICONV_CONST $am_cv_proto_iconv_arg1
27256 _ACEOF
27257
27258 fi
27259
27260
27261 else
27262
27263 # This lets us hard-code the functionality we know we'll have in the cross
27264 # target environment. "Let" is a sugar-coated word placed on an especially
27265 # dull and tedious hack, actually.
27266 #
27267 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27268 # that involve linking, can't be used:
27269 # "cannot open sim-crt0.o"
27270 # "cannot open crt0.o"
27271 # etc. All this is because there currently exists no unified, consistent
27272 # way for top level CC information to be passed down to target directories:
27273 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27274 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27275 # crosses can be removed.
27276
27277 # If Canadian cross, then don't pick up tools from the build directory.
27278 # Used only in GLIBCXX_EXPORT_INCLUDES.
27279 if test -n "$with_cross_host" &&
27280 test x"$build_alias" != x"$with_cross_host" &&
27281 test x"$build" != x"$target";
27282 then
27283 CANADIAN=yes
27284 else
27285 CANADIAN=no
27286 fi
27287
27288 # Construct crosses by hand, eliminating bits that need ld...
27289 # GLIBCXX_CHECK_MATH_SUPPORT
27290
27291 # First, test for "known" system libraries. We may be using newlib even
27292 # on a hosted environment.
27293 if test "x${with_newlib}" = "xyes"; then
27294 os_include_dir="os/newlib"
27295 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27296
27297
27298 # GLIBCXX_CHECK_STDLIB_SUPPORT
27299 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27300
27301
27302 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27303
27304 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27305
27306 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27307
27308 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27309
27310 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27311
27312 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27313
27314 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27315
27316 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27317
27318 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27319
27320 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27321
27322 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27323
27324 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27325
27326 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27327
27328 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27329
27330 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27331
27332 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27333
27334 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27335
27336 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27337
27338 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27339
27340 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27341
27342 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27343
27344 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27345
27346
27347 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27348
27349 else
27350
27351 # Base decisions on target environment.
27352 case "${host}" in
27353 arm*-*-symbianelf*)
27354 # This is a freestanding configuration; there is nothing to do here.
27355 ;;
27356
27357 mips*-sde-elf*)
27358 # These definitions are for the SDE C library rather than newlib.
27359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27360
27361
27362 # All these tests are for C++; save the language and the compiler flags.
27363 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27364 # found in GLIBCXX_CONFIGURE.
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 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27373 ac_save_CXXFLAGS="$CXXFLAGS"
27374
27375 # Check for maintainer-mode bits.
27376 if test x"$USE_MAINTAINER_MODE" = xno; then
27377 WERROR=''
27378 else
27379 WERROR='-Werror'
27380 fi
27381
27382 # Check for -ffunction-sections -fdata-sections
27383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27384 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27385 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27387 /* end confdefs.h. */
27388 int foo; void bar() { };
27389 int
27390 main ()
27391 {
27392
27393 ;
27394 return 0;
27395 }
27396 _ACEOF
27397 if ac_fn_cxx_try_compile "$LINENO"; then :
27398 ac_fdsections=yes
27399 else
27400 ac_fdsections=no
27401 fi
27402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27403 if test "$ac_test_CXXFLAGS" = set; then
27404 CXXFLAGS="$ac_save_CXXFLAGS"
27405 else
27406 # this is the suspicious part
27407 CXXFLAGS=''
27408 fi
27409 if test x"$ac_fdsections" = x"yes"; then
27410 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27411 fi
27412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27413 $as_echo "$ac_fdsections" >&6; }
27414
27415 ac_ext=c
27416 ac_cpp='$CPP $CPPFLAGS'
27417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27420
27421
27422
27423
27424
27425 # If we're not using GNU ld, then there's no point in even trying these
27426 # tests. Check for that first. We should have already tested for gld
27427 # by now (in libtool), but require it now just to be safe...
27428 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27429 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27430
27431
27432
27433 # The name set by libtool depends on the version of libtool. Shame on us
27434 # for depending on an impl detail, but c'est la vie. Older versions used
27435 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27436 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27437 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27438 # set (hence we're using an older libtool), then set it.
27439 if test x${with_gnu_ld+set} != xset; then
27440 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27441 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27442 with_gnu_ld=no
27443 else
27444 with_gnu_ld=$ac_cv_prog_gnu_ld
27445 fi
27446 fi
27447
27448 # Start by getting the version number. I think the libtool test already
27449 # does some of this, but throws away the result.
27450 glibcxx_ld_is_gold=no
27451 if test x"$with_gnu_ld" = x"yes"; then
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27453 $as_echo_n "checking for ld version... " >&6; }
27454
27455 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27456 glibcxx_ld_is_gold=yes
27457 fi
27458 ldver=`$LD --version 2>/dev/null |
27459 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
27460
27461 glibcxx_gnu_ld_version=`echo $ldver | \
27462 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27464 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27465 fi
27466
27467 # Set --gc-sections.
27468 glibcxx_have_gc_sections=no
27469 if test "$glibcxx_ld_is_gold" = "yes"; then
27470 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27471 glibcxx_have_gc_sections=yes
27472 fi
27473 else
27474 glibcxx_gcsections_min_ld=21602
27475 if test x"$with_gnu_ld" = x"yes" &&
27476 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27477 glibcxx_have_gc_sections=yes
27478 fi
27479 fi
27480 if test "$glibcxx_have_gc_sections" = "yes"; then
27481 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27482 # NB: This flag only works reliably after 2.16.1. Configure tests
27483 # for this are difficult, so hard wire a value that should work.
27484
27485 ac_test_CFLAGS="${CFLAGS+set}"
27486 ac_save_CFLAGS="$CFLAGS"
27487 CFLAGS='-Wl,--gc-sections'
27488
27489 # Check for -Wl,--gc-sections
27490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27491 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27492 if test x$gcc_no_link = xyes; then
27493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27494 fi
27495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27496 /* end confdefs.h. */
27497 int one(void) { return 1; }
27498 int two(void) { return 2; }
27499
27500 int
27501 main ()
27502 {
27503 two();
27504 ;
27505 return 0;
27506 }
27507 _ACEOF
27508 if ac_fn_c_try_link "$LINENO"; then :
27509 ac_gcsections=yes
27510 else
27511 ac_gcsections=no
27512 fi
27513 rm -f core conftest.err conftest.$ac_objext \
27514 conftest$ac_exeext conftest.$ac_ext
27515 if test "$ac_gcsections" = "yes"; then
27516 rm -f conftest.c
27517 touch conftest.c
27518 if $CC -c conftest.c; then
27519 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27520 grep "Warning: gc-sections option ignored" > /dev/null; then
27521 ac_gcsections=no
27522 fi
27523 fi
27524 rm -f conftest.c conftest.o conftest
27525 fi
27526 if test "$ac_gcsections" = "yes"; then
27527 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27528 fi
27529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27530 $as_echo "$ac_gcsections" >&6; }
27531
27532 if test "$ac_test_CFLAGS" = set; then
27533 CFLAGS="$ac_save_CFLAGS"
27534 else
27535 # this is the suspicious part
27536 CFLAGS=''
27537 fi
27538 fi
27539
27540 # Set -z,relro.
27541 # Note this is only for shared objects.
27542 ac_ld_relro=no
27543 if test x"$with_gnu_ld" = x"yes"; then
27544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27545 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27546 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27547 if test -n "$cxx_z_relo"; then
27548 OPT_LDFLAGS="-Wl,-z,relro"
27549 ac_ld_relro=yes
27550 fi
27551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27552 $as_echo "$ac_ld_relro" >&6; }
27553 fi
27554
27555 # Set linker optimization flags.
27556 if test x"$with_gnu_ld" = x"yes"; then
27557 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27558 fi
27559
27560
27561
27562
27563
27564 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27565 ac_save_CXXFLAGS="$CXXFLAGS"
27566 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27567
27568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27569 $as_echo_n "checking for sin in -lm... " >&6; }
27570 if test "${ac_cv_lib_m_sin+set}" = set; then :
27571 $as_echo_n "(cached) " >&6
27572 else
27573 ac_check_lib_save_LIBS=$LIBS
27574 LIBS="-lm $LIBS"
27575 if test x$gcc_no_link = xyes; then
27576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27577 fi
27578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27579 /* end confdefs.h. */
27580
27581 /* Override any GCC internal prototype to avoid an error.
27582 Use char because int might match the return type of a GCC
27583 builtin and then its argument prototype would still apply. */
27584 #ifdef __cplusplus
27585 extern "C"
27586 #endif
27587 char sin ();
27588 int
27589 main ()
27590 {
27591 return sin ();
27592 ;
27593 return 0;
27594 }
27595 _ACEOF
27596 if ac_fn_c_try_link "$LINENO"; then :
27597 ac_cv_lib_m_sin=yes
27598 else
27599 ac_cv_lib_m_sin=no
27600 fi
27601 rm -f core conftest.err conftest.$ac_objext \
27602 conftest$ac_exeext conftest.$ac_ext
27603 LIBS=$ac_check_lib_save_LIBS
27604 fi
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27606 $as_echo "$ac_cv_lib_m_sin" >&6; }
27607 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27608 libm="-lm"
27609 fi
27610
27611 ac_save_LIBS="$LIBS"
27612 LIBS="$LIBS $libm"
27613
27614
27615
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27617 $as_echo_n "checking for isinf declaration... " >&6; }
27618 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27619 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27620 $as_echo_n "(cached) " >&6
27621 else
27622
27623
27624 ac_ext=cpp
27625 ac_cpp='$CXXCPP $CPPFLAGS'
27626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27629
27630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27631 /* end confdefs.h. */
27632 #include <math.h>
27633 #ifdef HAVE_IEEEFP_H
27634 #include <ieeefp.h>
27635 #endif
27636
27637 int
27638 main ()
27639 {
27640 isinf(0);
27641 ;
27642 return 0;
27643 }
27644 _ACEOF
27645 if ac_fn_cxx_try_compile "$LINENO"; then :
27646 glibcxx_cv_func_isinf_use=yes
27647 else
27648 glibcxx_cv_func_isinf_use=no
27649 fi
27650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27651 ac_ext=c
27652 ac_cpp='$CPP $CPPFLAGS'
27653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27656
27657
27658 fi
27659
27660 fi
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27662 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27663
27664 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27665 for ac_func in isinf
27666 do :
27667 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27668 if test "x$ac_cv_func_isinf" = x""yes; then :
27669 cat >>confdefs.h <<_ACEOF
27670 #define HAVE_ISINF 1
27671 _ACEOF
27672
27673 fi
27674 done
27675
27676 else
27677
27678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27679 $as_echo_n "checking for _isinf declaration... " >&6; }
27680 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27681 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27682 $as_echo_n "(cached) " >&6
27683 else
27684
27685
27686 ac_ext=cpp
27687 ac_cpp='$CXXCPP $CPPFLAGS'
27688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27691
27692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27693 /* end confdefs.h. */
27694 #include <math.h>
27695 #ifdef HAVE_IEEEFP_H
27696 #include <ieeefp.h>
27697 #endif
27698
27699 int
27700 main ()
27701 {
27702 _isinf(0);
27703 ;
27704 return 0;
27705 }
27706 _ACEOF
27707 if ac_fn_cxx_try_compile "$LINENO"; then :
27708 glibcxx_cv_func__isinf_use=yes
27709 else
27710 glibcxx_cv_func__isinf_use=no
27711 fi
27712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27713 ac_ext=c
27714 ac_cpp='$CPP $CPPFLAGS'
27715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27718
27719
27720 fi
27721
27722 fi
27723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27724 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27725
27726 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27727 for ac_func in _isinf
27728 do :
27729 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27730 if test "x$ac_cv_func__isinf" = x""yes; then :
27731 cat >>confdefs.h <<_ACEOF
27732 #define HAVE__ISINF 1
27733 _ACEOF
27734
27735 fi
27736 done
27737
27738 fi
27739 fi
27740
27741
27742
27743
27744
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27746 $as_echo_n "checking for isnan declaration... " >&6; }
27747 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27748 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27749 $as_echo_n "(cached) " >&6
27750 else
27751
27752
27753 ac_ext=cpp
27754 ac_cpp='$CXXCPP $CPPFLAGS'
27755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27758
27759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27760 /* end confdefs.h. */
27761 #include <math.h>
27762 #ifdef HAVE_IEEEFP_H
27763 #include <ieeefp.h>
27764 #endif
27765
27766 int
27767 main ()
27768 {
27769 isnan(0);
27770 ;
27771 return 0;
27772 }
27773 _ACEOF
27774 if ac_fn_cxx_try_compile "$LINENO"; then :
27775 glibcxx_cv_func_isnan_use=yes
27776 else
27777 glibcxx_cv_func_isnan_use=no
27778 fi
27779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27780 ac_ext=c
27781 ac_cpp='$CPP $CPPFLAGS'
27782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27785
27786
27787 fi
27788
27789 fi
27790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27791 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27792
27793 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27794 for ac_func in isnan
27795 do :
27796 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27797 if test "x$ac_cv_func_isnan" = x""yes; then :
27798 cat >>confdefs.h <<_ACEOF
27799 #define HAVE_ISNAN 1
27800 _ACEOF
27801
27802 fi
27803 done
27804
27805 else
27806
27807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27808 $as_echo_n "checking for _isnan declaration... " >&6; }
27809 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27810 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27811 $as_echo_n "(cached) " >&6
27812 else
27813
27814
27815 ac_ext=cpp
27816 ac_cpp='$CXXCPP $CPPFLAGS'
27817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27820
27821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27822 /* end confdefs.h. */
27823 #include <math.h>
27824 #ifdef HAVE_IEEEFP_H
27825 #include <ieeefp.h>
27826 #endif
27827
27828 int
27829 main ()
27830 {
27831 _isnan(0);
27832 ;
27833 return 0;
27834 }
27835 _ACEOF
27836 if ac_fn_cxx_try_compile "$LINENO"; then :
27837 glibcxx_cv_func__isnan_use=yes
27838 else
27839 glibcxx_cv_func__isnan_use=no
27840 fi
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 ac_ext=c
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27847
27848
27849 fi
27850
27851 fi
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27853 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27854
27855 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27856 for ac_func in _isnan
27857 do :
27858 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27859 if test "x$ac_cv_func__isnan" = x""yes; then :
27860 cat >>confdefs.h <<_ACEOF
27861 #define HAVE__ISNAN 1
27862 _ACEOF
27863
27864 fi
27865 done
27866
27867 fi
27868 fi
27869
27870
27871
27872
27873
27874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27875 $as_echo_n "checking for finite declaration... " >&6; }
27876 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27877 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27878 $as_echo_n "(cached) " >&6
27879 else
27880
27881
27882 ac_ext=cpp
27883 ac_cpp='$CXXCPP $CPPFLAGS'
27884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27887
27888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h. */
27890 #include <math.h>
27891 #ifdef HAVE_IEEEFP_H
27892 #include <ieeefp.h>
27893 #endif
27894
27895 int
27896 main ()
27897 {
27898 finite(0);
27899 ;
27900 return 0;
27901 }
27902 _ACEOF
27903 if ac_fn_cxx_try_compile "$LINENO"; then :
27904 glibcxx_cv_func_finite_use=yes
27905 else
27906 glibcxx_cv_func_finite_use=no
27907 fi
27908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27909 ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27914
27915
27916 fi
27917
27918 fi
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27920 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27921
27922 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27923 for ac_func in finite
27924 do :
27925 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27926 if test "x$ac_cv_func_finite" = x""yes; then :
27927 cat >>confdefs.h <<_ACEOF
27928 #define HAVE_FINITE 1
27929 _ACEOF
27930
27931 fi
27932 done
27933
27934 else
27935
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27937 $as_echo_n "checking for _finite declaration... " >&6; }
27938 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27939 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27942
27943
27944 ac_ext=cpp
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27949
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27952 #include <math.h>
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27955 #endif
27956
27957 int
27958 main ()
27959 {
27960 _finite(0);
27961 ;
27962 return 0;
27963 }
27964 _ACEOF
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func__finite_use=yes
27967 else
27968 glibcxx_cv_func__finite_use=no
27969 fi
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27971 ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27976
27977
27978 fi
27979
27980 fi
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27982 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27983
27984 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27985 for ac_func in _finite
27986 do :
27987 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27988 if test "x$ac_cv_func__finite" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE__FINITE 1
27991 _ACEOF
27992
27993 fi
27994 done
27995
27996 fi
27997 fi
27998
27999
28000
28001
28002
28003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28004 $as_echo_n "checking for sincos declaration... " >&6; }
28005 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28006 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28007 $as_echo_n "(cached) " >&6
28008 else
28009
28010
28011 ac_ext=cpp
28012 ac_cpp='$CXXCPP $CPPFLAGS'
28013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28016
28017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28018 /* end confdefs.h. */
28019 #include <math.h>
28020 int
28021 main ()
28022 {
28023 sincos(0, 0, 0);
28024 ;
28025 return 0;
28026 }
28027 _ACEOF
28028 if ac_fn_cxx_try_compile "$LINENO"; then :
28029 glibcxx_cv_func_sincos_use=yes
28030 else
28031 glibcxx_cv_func_sincos_use=no
28032 fi
28033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28034 ac_ext=c
28035 ac_cpp='$CPP $CPPFLAGS'
28036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28039
28040
28041 fi
28042
28043 fi
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28045 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28046
28047 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28048 for ac_func in sincos
28049 do :
28050 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28051 if test "x$ac_cv_func_sincos" = x""yes; then :
28052 cat >>confdefs.h <<_ACEOF
28053 #define HAVE_SINCOS 1
28054 _ACEOF
28055
28056 fi
28057 done
28058
28059 else
28060
28061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28062 $as_echo_n "checking for _sincos declaration... " >&6; }
28063 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28064 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28065 $as_echo_n "(cached) " >&6
28066 else
28067
28068
28069 ac_ext=cpp
28070 ac_cpp='$CXXCPP $CPPFLAGS'
28071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28074
28075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28076 /* end confdefs.h. */
28077 #include <math.h>
28078 int
28079 main ()
28080 {
28081 _sincos(0, 0, 0);
28082 ;
28083 return 0;
28084 }
28085 _ACEOF
28086 if ac_fn_cxx_try_compile "$LINENO"; then :
28087 glibcxx_cv_func__sincos_use=yes
28088 else
28089 glibcxx_cv_func__sincos_use=no
28090 fi
28091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28092 ac_ext=c
28093 ac_cpp='$CPP $CPPFLAGS'
28094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28097
28098
28099 fi
28100
28101 fi
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28103 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28104
28105 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28106 for ac_func in _sincos
28107 do :
28108 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28109 if test "x$ac_cv_func__sincos" = x""yes; then :
28110 cat >>confdefs.h <<_ACEOF
28111 #define HAVE__SINCOS 1
28112 _ACEOF
28113
28114 fi
28115 done
28116
28117 fi
28118 fi
28119
28120
28121
28122
28123
28124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28125 $as_echo_n "checking for fpclass declaration... " >&6; }
28126 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28127 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28128 $as_echo_n "(cached) " >&6
28129 else
28130
28131
28132 ac_ext=cpp
28133 ac_cpp='$CXXCPP $CPPFLAGS'
28134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28137
28138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 /* end confdefs.h. */
28140 #include <math.h>
28141 #ifdef HAVE_IEEEFP_H
28142 #include <ieeefp.h>
28143 #endif
28144
28145 int
28146 main ()
28147 {
28148 fpclass(0);
28149 ;
28150 return 0;
28151 }
28152 _ACEOF
28153 if ac_fn_cxx_try_compile "$LINENO"; then :
28154 glibcxx_cv_func_fpclass_use=yes
28155 else
28156 glibcxx_cv_func_fpclass_use=no
28157 fi
28158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28159 ac_ext=c
28160 ac_cpp='$CPP $CPPFLAGS'
28161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28164
28165
28166 fi
28167
28168 fi
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28170 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28171
28172 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28173 for ac_func in fpclass
28174 do :
28175 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28176 if test "x$ac_cv_func_fpclass" = x""yes; then :
28177 cat >>confdefs.h <<_ACEOF
28178 #define HAVE_FPCLASS 1
28179 _ACEOF
28180
28181 fi
28182 done
28183
28184 else
28185
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28187 $as_echo_n "checking for _fpclass declaration... " >&6; }
28188 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28189 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28190 $as_echo_n "(cached) " >&6
28191 else
28192
28193
28194 ac_ext=cpp
28195 ac_cpp='$CXXCPP $CPPFLAGS'
28196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28199
28200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28201 /* end confdefs.h. */
28202 #include <math.h>
28203 #ifdef HAVE_IEEEFP_H
28204 #include <ieeefp.h>
28205 #endif
28206
28207 int
28208 main ()
28209 {
28210 _fpclass(0);
28211 ;
28212 return 0;
28213 }
28214 _ACEOF
28215 if ac_fn_cxx_try_compile "$LINENO"; then :
28216 glibcxx_cv_func__fpclass_use=yes
28217 else
28218 glibcxx_cv_func__fpclass_use=no
28219 fi
28220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28221 ac_ext=c
28222 ac_cpp='$CPP $CPPFLAGS'
28223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28226
28227
28228 fi
28229
28230 fi
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28232 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28233
28234 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28235 for ac_func in _fpclass
28236 do :
28237 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28238 if test "x$ac_cv_func__fpclass" = x""yes; then :
28239 cat >>confdefs.h <<_ACEOF
28240 #define HAVE__FPCLASS 1
28241 _ACEOF
28242
28243 fi
28244 done
28245
28246 fi
28247 fi
28248
28249
28250
28251
28252
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28254 $as_echo_n "checking for qfpclass declaration... " >&6; }
28255 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28256 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28257 $as_echo_n "(cached) " >&6
28258 else
28259
28260
28261 ac_ext=cpp
28262 ac_cpp='$CXXCPP $CPPFLAGS'
28263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28266
28267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28268 /* end confdefs.h. */
28269 #include <math.h>
28270 #ifdef HAVE_IEEEFP_H
28271 #include <ieeefp.h>
28272 #endif
28273
28274 int
28275 main ()
28276 {
28277 qfpclass(0);
28278 ;
28279 return 0;
28280 }
28281 _ACEOF
28282 if ac_fn_cxx_try_compile "$LINENO"; then :
28283 glibcxx_cv_func_qfpclass_use=yes
28284 else
28285 glibcxx_cv_func_qfpclass_use=no
28286 fi
28287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28288 ac_ext=c
28289 ac_cpp='$CPP $CPPFLAGS'
28290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28293
28294
28295 fi
28296
28297 fi
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28299 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28300
28301 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28302 for ac_func in qfpclass
28303 do :
28304 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28305 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28306 cat >>confdefs.h <<_ACEOF
28307 #define HAVE_QFPCLASS 1
28308 _ACEOF
28309
28310 fi
28311 done
28312
28313 else
28314
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28316 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28317 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28318 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28319 $as_echo_n "(cached) " >&6
28320 else
28321
28322
28323 ac_ext=cpp
28324 ac_cpp='$CXXCPP $CPPFLAGS'
28325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28328
28329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28330 /* end confdefs.h. */
28331 #include <math.h>
28332 #ifdef HAVE_IEEEFP_H
28333 #include <ieeefp.h>
28334 #endif
28335
28336 int
28337 main ()
28338 {
28339 _qfpclass(0);
28340 ;
28341 return 0;
28342 }
28343 _ACEOF
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345 glibcxx_cv_func__qfpclass_use=yes
28346 else
28347 glibcxx_cv_func__qfpclass_use=no
28348 fi
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28350 ac_ext=c
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28355
28356
28357 fi
28358
28359 fi
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28361 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28362
28363 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28364 for ac_func in _qfpclass
28365 do :
28366 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28367 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE__QFPCLASS 1
28370 _ACEOF
28371
28372 fi
28373 done
28374
28375 fi
28376 fi
28377
28378
28379
28380
28381
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28383 $as_echo_n "checking for hypot declaration... " >&6; }
28384 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28385 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28386 $as_echo_n "(cached) " >&6
28387 else
28388
28389
28390 ac_ext=cpp
28391 ac_cpp='$CXXCPP $CPPFLAGS'
28392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28395
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28398 #include <math.h>
28399 int
28400 main ()
28401 {
28402 hypot(0, 0);
28403 ;
28404 return 0;
28405 }
28406 _ACEOF
28407 if ac_fn_cxx_try_compile "$LINENO"; then :
28408 glibcxx_cv_func_hypot_use=yes
28409 else
28410 glibcxx_cv_func_hypot_use=no
28411 fi
28412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28413 ac_ext=c
28414 ac_cpp='$CPP $CPPFLAGS'
28415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28418
28419
28420 fi
28421
28422 fi
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28424 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28425
28426 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28427 for ac_func in hypot
28428 do :
28429 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28430 if test "x$ac_cv_func_hypot" = x""yes; then :
28431 cat >>confdefs.h <<_ACEOF
28432 #define HAVE_HYPOT 1
28433 _ACEOF
28434
28435 fi
28436 done
28437
28438 else
28439
28440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28441 $as_echo_n "checking for _hypot declaration... " >&6; }
28442 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28443 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28444 $as_echo_n "(cached) " >&6
28445 else
28446
28447
28448 ac_ext=cpp
28449 ac_cpp='$CXXCPP $CPPFLAGS'
28450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28453
28454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28455 /* end confdefs.h. */
28456 #include <math.h>
28457 int
28458 main ()
28459 {
28460 _hypot(0, 0);
28461 ;
28462 return 0;
28463 }
28464 _ACEOF
28465 if ac_fn_cxx_try_compile "$LINENO"; then :
28466 glibcxx_cv_func__hypot_use=yes
28467 else
28468 glibcxx_cv_func__hypot_use=no
28469 fi
28470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28471 ac_ext=c
28472 ac_cpp='$CPP $CPPFLAGS'
28473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28476
28477
28478 fi
28479
28480 fi
28481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28482 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28483
28484 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28485 for ac_func in _hypot
28486 do :
28487 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28488 if test "x$ac_cv_func__hypot" = x""yes; then :
28489 cat >>confdefs.h <<_ACEOF
28490 #define HAVE__HYPOT 1
28491 _ACEOF
28492
28493 fi
28494 done
28495
28496 fi
28497 fi
28498
28499
28500
28501
28502
28503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28504 $as_echo_n "checking for float trig functions... " >&6; }
28505 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28506 $as_echo_n "(cached) " >&6
28507 else
28508
28509
28510 ac_ext=cpp
28511 ac_cpp='$CXXCPP $CPPFLAGS'
28512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28515
28516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28517 /* end confdefs.h. */
28518 #include <math.h>
28519 int
28520 main ()
28521 {
28522 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28523 ;
28524 return 0;
28525 }
28526 _ACEOF
28527 if ac_fn_cxx_try_compile "$LINENO"; then :
28528 glibcxx_cv_func_float_trig_use=yes
28529 else
28530 glibcxx_cv_func_float_trig_use=no
28531 fi
28532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 ac_ext=c
28534 ac_cpp='$CPP $CPPFLAGS'
28535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28538
28539 fi
28540
28541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28542 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28543 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28544 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28545 do :
28546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28548 eval as_val=\$$as_ac_var
28549 if test "x$as_val" = x""yes; then :
28550 cat >>confdefs.h <<_ACEOF
28551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28552 _ACEOF
28553
28554 fi
28555 done
28556
28557 else
28558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28559 $as_echo_n "checking for _float trig functions... " >&6; }
28560 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28561 $as_echo_n "(cached) " >&6
28562 else
28563
28564
28565 ac_ext=cpp
28566 ac_cpp='$CXXCPP $CPPFLAGS'
28567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28570
28571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28572 /* end confdefs.h. */
28573 #include <math.h>
28574 int
28575 main ()
28576 {
28577 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28578 ;
28579 return 0;
28580 }
28581 _ACEOF
28582 if ac_fn_cxx_try_compile "$LINENO"; then :
28583 glibcxx_cv_func__float_trig_use=yes
28584 else
28585 glibcxx_cv_func__float_trig_use=no
28586 fi
28587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28588 ac_ext=c
28589 ac_cpp='$CPP $CPPFLAGS'
28590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28593
28594 fi
28595
28596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28597 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28598 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28599 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28600 do :
28601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28603 eval as_val=\$$as_ac_var
28604 if test "x$as_val" = x""yes; then :
28605 cat >>confdefs.h <<_ACEOF
28606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28607 _ACEOF
28608
28609 fi
28610 done
28611
28612 fi
28613 fi
28614
28615
28616
28617
28618
28619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28620 $as_echo_n "checking for float round functions... " >&6; }
28621 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28622 $as_echo_n "(cached) " >&6
28623 else
28624
28625
28626 ac_ext=cpp
28627 ac_cpp='$CXXCPP $CPPFLAGS'
28628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28631
28632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28633 /* end confdefs.h. */
28634 #include <math.h>
28635 int
28636 main ()
28637 {
28638 ceilf (0); floorf (0);
28639 ;
28640 return 0;
28641 }
28642 _ACEOF
28643 if ac_fn_cxx_try_compile "$LINENO"; then :
28644 glibcxx_cv_func_float_round_use=yes
28645 else
28646 glibcxx_cv_func_float_round_use=no
28647 fi
28648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28649 ac_ext=c
28650 ac_cpp='$CPP $CPPFLAGS'
28651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28654
28655 fi
28656
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28658 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28659 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28660 for ac_func in ceilf floorf
28661 do :
28662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28664 eval as_val=\$$as_ac_var
28665 if test "x$as_val" = x""yes; then :
28666 cat >>confdefs.h <<_ACEOF
28667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28668 _ACEOF
28669
28670 fi
28671 done
28672
28673 else
28674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28675 $as_echo_n "checking for _float round functions... " >&6; }
28676 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28677 $as_echo_n "(cached) " >&6
28678 else
28679
28680
28681 ac_ext=cpp
28682 ac_cpp='$CXXCPP $CPPFLAGS'
28683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28686
28687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28688 /* end confdefs.h. */
28689 #include <math.h>
28690 int
28691 main ()
28692 {
28693 _ceilf (0); _floorf (0);
28694 ;
28695 return 0;
28696 }
28697 _ACEOF
28698 if ac_fn_cxx_try_compile "$LINENO"; then :
28699 glibcxx_cv_func__float_round_use=yes
28700 else
28701 glibcxx_cv_func__float_round_use=no
28702 fi
28703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28704 ac_ext=c
28705 ac_cpp='$CPP $CPPFLAGS'
28706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28709
28710 fi
28711
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28713 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28714 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28715 for ac_func in _ceilf _floorf
28716 do :
28717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28719 eval as_val=\$$as_ac_var
28720 if test "x$as_val" = x""yes; then :
28721 cat >>confdefs.h <<_ACEOF
28722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28723 _ACEOF
28724
28725 fi
28726 done
28727
28728 fi
28729 fi
28730
28731
28732
28733
28734
28735
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28737 $as_echo_n "checking for expf declaration... " >&6; }
28738 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28739 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28740 $as_echo_n "(cached) " >&6
28741 else
28742
28743
28744 ac_ext=cpp
28745 ac_cpp='$CXXCPP $CPPFLAGS'
28746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28749
28750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28751 /* end confdefs.h. */
28752 #include <math.h>
28753 #ifdef HAVE_IEEEFP_H
28754 #include <ieeefp.h>
28755 #endif
28756
28757 int
28758 main ()
28759 {
28760 expf(0);
28761 ;
28762 return 0;
28763 }
28764 _ACEOF
28765 if ac_fn_cxx_try_compile "$LINENO"; then :
28766 glibcxx_cv_func_expf_use=yes
28767 else
28768 glibcxx_cv_func_expf_use=no
28769 fi
28770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28771 ac_ext=c
28772 ac_cpp='$CPP $CPPFLAGS'
28773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28776
28777
28778 fi
28779
28780 fi
28781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28782 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28783
28784 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28785 for ac_func in expf
28786 do :
28787 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28788 if test "x$ac_cv_func_expf" = x""yes; then :
28789 cat >>confdefs.h <<_ACEOF
28790 #define HAVE_EXPF 1
28791 _ACEOF
28792
28793 fi
28794 done
28795
28796 else
28797
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28799 $as_echo_n "checking for _expf declaration... " >&6; }
28800 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28801 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28802 $as_echo_n "(cached) " >&6
28803 else
28804
28805
28806 ac_ext=cpp
28807 ac_cpp='$CXXCPP $CPPFLAGS'
28808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28811
28812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28813 /* end confdefs.h. */
28814 #include <math.h>
28815 #ifdef HAVE_IEEEFP_H
28816 #include <ieeefp.h>
28817 #endif
28818
28819 int
28820 main ()
28821 {
28822 _expf(0);
28823 ;
28824 return 0;
28825 }
28826 _ACEOF
28827 if ac_fn_cxx_try_compile "$LINENO"; then :
28828 glibcxx_cv_func__expf_use=yes
28829 else
28830 glibcxx_cv_func__expf_use=no
28831 fi
28832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28833 ac_ext=c
28834 ac_cpp='$CPP $CPPFLAGS'
28835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28838
28839
28840 fi
28841
28842 fi
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28844 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28845
28846 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28847 for ac_func in _expf
28848 do :
28849 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28850 if test "x$ac_cv_func__expf" = x""yes; then :
28851 cat >>confdefs.h <<_ACEOF
28852 #define HAVE__EXPF 1
28853 _ACEOF
28854
28855 fi
28856 done
28857
28858 fi
28859 fi
28860
28861
28862
28863
28864
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28866 $as_echo_n "checking for isnanf declaration... " >&6; }
28867 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28868 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28869 $as_echo_n "(cached) " >&6
28870 else
28871
28872
28873 ac_ext=cpp
28874 ac_cpp='$CXXCPP $CPPFLAGS'
28875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28878
28879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28880 /* end confdefs.h. */
28881 #include <math.h>
28882 #ifdef HAVE_IEEEFP_H
28883 #include <ieeefp.h>
28884 #endif
28885
28886 int
28887 main ()
28888 {
28889 isnanf(0);
28890 ;
28891 return 0;
28892 }
28893 _ACEOF
28894 if ac_fn_cxx_try_compile "$LINENO"; then :
28895 glibcxx_cv_func_isnanf_use=yes
28896 else
28897 glibcxx_cv_func_isnanf_use=no
28898 fi
28899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28900 ac_ext=c
28901 ac_cpp='$CPP $CPPFLAGS'
28902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28905
28906
28907 fi
28908
28909 fi
28910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28911 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28912
28913 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28914 for ac_func in isnanf
28915 do :
28916 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28917 if test "x$ac_cv_func_isnanf" = x""yes; then :
28918 cat >>confdefs.h <<_ACEOF
28919 #define HAVE_ISNANF 1
28920 _ACEOF
28921
28922 fi
28923 done
28924
28925 else
28926
28927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28928 $as_echo_n "checking for _isnanf declaration... " >&6; }
28929 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28930 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28931 $as_echo_n "(cached) " >&6
28932 else
28933
28934
28935 ac_ext=cpp
28936 ac_cpp='$CXXCPP $CPPFLAGS'
28937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28940
28941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28942 /* end confdefs.h. */
28943 #include <math.h>
28944 #ifdef HAVE_IEEEFP_H
28945 #include <ieeefp.h>
28946 #endif
28947
28948 int
28949 main ()
28950 {
28951 _isnanf(0);
28952 ;
28953 return 0;
28954 }
28955 _ACEOF
28956 if ac_fn_cxx_try_compile "$LINENO"; then :
28957 glibcxx_cv_func__isnanf_use=yes
28958 else
28959 glibcxx_cv_func__isnanf_use=no
28960 fi
28961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28962 ac_ext=c
28963 ac_cpp='$CPP $CPPFLAGS'
28964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28967
28968
28969 fi
28970
28971 fi
28972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28973 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28974
28975 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28976 for ac_func in _isnanf
28977 do :
28978 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28979 if test "x$ac_cv_func__isnanf" = x""yes; then :
28980 cat >>confdefs.h <<_ACEOF
28981 #define HAVE__ISNANF 1
28982 _ACEOF
28983
28984 fi
28985 done
28986
28987 fi
28988 fi
28989
28990
28991
28992
28993
28994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28995 $as_echo_n "checking for isinff declaration... " >&6; }
28996 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28997 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28998 $as_echo_n "(cached) " >&6
28999 else
29000
29001
29002 ac_ext=cpp
29003 ac_cpp='$CXXCPP $CPPFLAGS'
29004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007
29008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29009 /* end confdefs.h. */
29010 #include <math.h>
29011 #ifdef HAVE_IEEEFP_H
29012 #include <ieeefp.h>
29013 #endif
29014
29015 int
29016 main ()
29017 {
29018 isinff(0);
29019 ;
29020 return 0;
29021 }
29022 _ACEOF
29023 if ac_fn_cxx_try_compile "$LINENO"; then :
29024 glibcxx_cv_func_isinff_use=yes
29025 else
29026 glibcxx_cv_func_isinff_use=no
29027 fi
29028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29029 ac_ext=c
29030 ac_cpp='$CPP $CPPFLAGS'
29031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034
29035
29036 fi
29037
29038 fi
29039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29040 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29041
29042 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29043 for ac_func in isinff
29044 do :
29045 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29046 if test "x$ac_cv_func_isinff" = x""yes; then :
29047 cat >>confdefs.h <<_ACEOF
29048 #define HAVE_ISINFF 1
29049 _ACEOF
29050
29051 fi
29052 done
29053
29054 else
29055
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29057 $as_echo_n "checking for _isinff declaration... " >&6; }
29058 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29059 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29060 $as_echo_n "(cached) " >&6
29061 else
29062
29063
29064 ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29069
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <math.h>
29073 #ifdef HAVE_IEEEFP_H
29074 #include <ieeefp.h>
29075 #endif
29076
29077 int
29078 main ()
29079 {
29080 _isinff(0);
29081 ;
29082 return 0;
29083 }
29084 _ACEOF
29085 if ac_fn_cxx_try_compile "$LINENO"; then :
29086 glibcxx_cv_func__isinff_use=yes
29087 else
29088 glibcxx_cv_func__isinff_use=no
29089 fi
29090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29091 ac_ext=c
29092 ac_cpp='$CPP $CPPFLAGS'
29093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29096
29097
29098 fi
29099
29100 fi
29101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29102 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29103
29104 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29105 for ac_func in _isinff
29106 do :
29107 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29108 if test "x$ac_cv_func__isinff" = x""yes; then :
29109 cat >>confdefs.h <<_ACEOF
29110 #define HAVE__ISINFF 1
29111 _ACEOF
29112
29113 fi
29114 done
29115
29116 fi
29117 fi
29118
29119
29120
29121
29122
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29124 $as_echo_n "checking for atan2f declaration... " >&6; }
29125 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29126 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29127 $as_echo_n "(cached) " >&6
29128 else
29129
29130
29131 ac_ext=cpp
29132 ac_cpp='$CXXCPP $CPPFLAGS'
29133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29136
29137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29138 /* end confdefs.h. */
29139 #include <math.h>
29140 int
29141 main ()
29142 {
29143 atan2f(0, 0);
29144 ;
29145 return 0;
29146 }
29147 _ACEOF
29148 if ac_fn_cxx_try_compile "$LINENO"; then :
29149 glibcxx_cv_func_atan2f_use=yes
29150 else
29151 glibcxx_cv_func_atan2f_use=no
29152 fi
29153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29154 ac_ext=c
29155 ac_cpp='$CPP $CPPFLAGS'
29156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29159
29160
29161 fi
29162
29163 fi
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29165 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29166
29167 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29168 for ac_func in atan2f
29169 do :
29170 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29171 if test "x$ac_cv_func_atan2f" = x""yes; then :
29172 cat >>confdefs.h <<_ACEOF
29173 #define HAVE_ATAN2F 1
29174 _ACEOF
29175
29176 fi
29177 done
29178
29179 else
29180
29181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29182 $as_echo_n "checking for _atan2f declaration... " >&6; }
29183 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29184 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29185 $as_echo_n "(cached) " >&6
29186 else
29187
29188
29189 ac_ext=cpp
29190 ac_cpp='$CXXCPP $CPPFLAGS'
29191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29194
29195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29196 /* end confdefs.h. */
29197 #include <math.h>
29198 int
29199 main ()
29200 {
29201 _atan2f(0, 0);
29202 ;
29203 return 0;
29204 }
29205 _ACEOF
29206 if ac_fn_cxx_try_compile "$LINENO"; then :
29207 glibcxx_cv_func__atan2f_use=yes
29208 else
29209 glibcxx_cv_func__atan2f_use=no
29210 fi
29211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29212 ac_ext=c
29213 ac_cpp='$CPP $CPPFLAGS'
29214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29217
29218
29219 fi
29220
29221 fi
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29223 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29224
29225 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29226 for ac_func in _atan2f
29227 do :
29228 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29229 if test "x$ac_cv_func__atan2f" = x""yes; then :
29230 cat >>confdefs.h <<_ACEOF
29231 #define HAVE__ATAN2F 1
29232 _ACEOF
29233
29234 fi
29235 done
29236
29237 fi
29238 fi
29239
29240
29241
29242
29243
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29245 $as_echo_n "checking for fabsf declaration... " >&6; }
29246 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29247 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29248 $as_echo_n "(cached) " >&6
29249 else
29250
29251
29252 ac_ext=cpp
29253 ac_cpp='$CXXCPP $CPPFLAGS'
29254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29257
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <math.h>
29261 #ifdef HAVE_IEEEFP_H
29262 #include <ieeefp.h>
29263 #endif
29264
29265 int
29266 main ()
29267 {
29268 fabsf(0);
29269 ;
29270 return 0;
29271 }
29272 _ACEOF
29273 if ac_fn_cxx_try_compile "$LINENO"; then :
29274 glibcxx_cv_func_fabsf_use=yes
29275 else
29276 glibcxx_cv_func_fabsf_use=no
29277 fi
29278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29279 ac_ext=c
29280 ac_cpp='$CPP $CPPFLAGS'
29281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29284
29285
29286 fi
29287
29288 fi
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29290 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29291
29292 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29293 for ac_func in fabsf
29294 do :
29295 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29296 if test "x$ac_cv_func_fabsf" = x""yes; then :
29297 cat >>confdefs.h <<_ACEOF
29298 #define HAVE_FABSF 1
29299 _ACEOF
29300
29301 fi
29302 done
29303
29304 else
29305
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29307 $as_echo_n "checking for _fabsf declaration... " >&6; }
29308 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29309 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29310 $as_echo_n "(cached) " >&6
29311 else
29312
29313
29314 ac_ext=cpp
29315 ac_cpp='$CXXCPP $CPPFLAGS'
29316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29319
29320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h. */
29322 #include <math.h>
29323 #ifdef HAVE_IEEEFP_H
29324 #include <ieeefp.h>
29325 #endif
29326
29327 int
29328 main ()
29329 {
29330 _fabsf(0);
29331 ;
29332 return 0;
29333 }
29334 _ACEOF
29335 if ac_fn_cxx_try_compile "$LINENO"; then :
29336 glibcxx_cv_func__fabsf_use=yes
29337 else
29338 glibcxx_cv_func__fabsf_use=no
29339 fi
29340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29341 ac_ext=c
29342 ac_cpp='$CPP $CPPFLAGS'
29343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29346
29347
29348 fi
29349
29350 fi
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29352 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29353
29354 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29355 for ac_func in _fabsf
29356 do :
29357 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29358 if test "x$ac_cv_func__fabsf" = x""yes; then :
29359 cat >>confdefs.h <<_ACEOF
29360 #define HAVE__FABSF 1
29361 _ACEOF
29362
29363 fi
29364 done
29365
29366 fi
29367 fi
29368
29369
29370
29371
29372
29373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29374 $as_echo_n "checking for fmodf declaration... " >&6; }
29375 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29376 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29377 $as_echo_n "(cached) " >&6
29378 else
29379
29380
29381 ac_ext=cpp
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29386
29387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29388 /* end confdefs.h. */
29389 #include <math.h>
29390 int
29391 main ()
29392 {
29393 fmodf(0, 0);
29394 ;
29395 return 0;
29396 }
29397 _ACEOF
29398 if ac_fn_cxx_try_compile "$LINENO"; then :
29399 glibcxx_cv_func_fmodf_use=yes
29400 else
29401 glibcxx_cv_func_fmodf_use=no
29402 fi
29403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29404 ac_ext=c
29405 ac_cpp='$CPP $CPPFLAGS'
29406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29409
29410
29411 fi
29412
29413 fi
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29415 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29416
29417 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29418 for ac_func in fmodf
29419 do :
29420 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29421 if test "x$ac_cv_func_fmodf" = x""yes; then :
29422 cat >>confdefs.h <<_ACEOF
29423 #define HAVE_FMODF 1
29424 _ACEOF
29425
29426 fi
29427 done
29428
29429 else
29430
29431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29432 $as_echo_n "checking for _fmodf declaration... " >&6; }
29433 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29434 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29435 $as_echo_n "(cached) " >&6
29436 else
29437
29438
29439 ac_ext=cpp
29440 ac_cpp='$CXXCPP $CPPFLAGS'
29441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29444
29445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29446 /* end confdefs.h. */
29447 #include <math.h>
29448 int
29449 main ()
29450 {
29451 _fmodf(0, 0);
29452 ;
29453 return 0;
29454 }
29455 _ACEOF
29456 if ac_fn_cxx_try_compile "$LINENO"; then :
29457 glibcxx_cv_func__fmodf_use=yes
29458 else
29459 glibcxx_cv_func__fmodf_use=no
29460 fi
29461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29462 ac_ext=c
29463 ac_cpp='$CPP $CPPFLAGS'
29464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29467
29468
29469 fi
29470
29471 fi
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29473 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29474
29475 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29476 for ac_func in _fmodf
29477 do :
29478 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29479 if test "x$ac_cv_func__fmodf" = x""yes; then :
29480 cat >>confdefs.h <<_ACEOF
29481 #define HAVE__FMODF 1
29482 _ACEOF
29483
29484 fi
29485 done
29486
29487 fi
29488 fi
29489
29490
29491
29492
29493
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29495 $as_echo_n "checking for frexpf declaration... " >&6; }
29496 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29497 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29498 $as_echo_n "(cached) " >&6
29499 else
29500
29501
29502 ac_ext=cpp
29503 ac_cpp='$CXXCPP $CPPFLAGS'
29504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507
29508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29509 /* end confdefs.h. */
29510 #include <math.h>
29511 int
29512 main ()
29513 {
29514 frexpf(0, 0);
29515 ;
29516 return 0;
29517 }
29518 _ACEOF
29519 if ac_fn_cxx_try_compile "$LINENO"; then :
29520 glibcxx_cv_func_frexpf_use=yes
29521 else
29522 glibcxx_cv_func_frexpf_use=no
29523 fi
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525 ac_ext=c
29526 ac_cpp='$CPP $CPPFLAGS'
29527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29530
29531
29532 fi
29533
29534 fi
29535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29536 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29537
29538 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29539 for ac_func in frexpf
29540 do :
29541 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29542 if test "x$ac_cv_func_frexpf" = x""yes; then :
29543 cat >>confdefs.h <<_ACEOF
29544 #define HAVE_FREXPF 1
29545 _ACEOF
29546
29547 fi
29548 done
29549
29550 else
29551
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29553 $as_echo_n "checking for _frexpf declaration... " >&6; }
29554 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29555 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29556 $as_echo_n "(cached) " >&6
29557 else
29558
29559
29560 ac_ext=cpp
29561 ac_cpp='$CXXCPP $CPPFLAGS'
29562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29565
29566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29567 /* end confdefs.h. */
29568 #include <math.h>
29569 int
29570 main ()
29571 {
29572 _frexpf(0, 0);
29573 ;
29574 return 0;
29575 }
29576 _ACEOF
29577 if ac_fn_cxx_try_compile "$LINENO"; then :
29578 glibcxx_cv_func__frexpf_use=yes
29579 else
29580 glibcxx_cv_func__frexpf_use=no
29581 fi
29582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29583 ac_ext=c
29584 ac_cpp='$CPP $CPPFLAGS'
29585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29588
29589
29590 fi
29591
29592 fi
29593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29594 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29595
29596 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29597 for ac_func in _frexpf
29598 do :
29599 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29600 if test "x$ac_cv_func__frexpf" = x""yes; then :
29601 cat >>confdefs.h <<_ACEOF
29602 #define HAVE__FREXPF 1
29603 _ACEOF
29604
29605 fi
29606 done
29607
29608 fi
29609 fi
29610
29611
29612
29613
29614
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29616 $as_echo_n "checking for hypotf declaration... " >&6; }
29617 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29618 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29619 $as_echo_n "(cached) " >&6
29620 else
29621
29622
29623 ac_ext=cpp
29624 ac_cpp='$CXXCPP $CPPFLAGS'
29625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29628
29629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29630 /* end confdefs.h. */
29631 #include <math.h>
29632 int
29633 main ()
29634 {
29635 hypotf(0, 0);
29636 ;
29637 return 0;
29638 }
29639 _ACEOF
29640 if ac_fn_cxx_try_compile "$LINENO"; then :
29641 glibcxx_cv_func_hypotf_use=yes
29642 else
29643 glibcxx_cv_func_hypotf_use=no
29644 fi
29645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29646 ac_ext=c
29647 ac_cpp='$CPP $CPPFLAGS'
29648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29651
29652
29653 fi
29654
29655 fi
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29657 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29658
29659 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29660 for ac_func in hypotf
29661 do :
29662 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29663 if test "x$ac_cv_func_hypotf" = x""yes; then :
29664 cat >>confdefs.h <<_ACEOF
29665 #define HAVE_HYPOTF 1
29666 _ACEOF
29667
29668 fi
29669 done
29670
29671 else
29672
29673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29674 $as_echo_n "checking for _hypotf declaration... " >&6; }
29675 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29676 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29677 $as_echo_n "(cached) " >&6
29678 else
29679
29680
29681 ac_ext=cpp
29682 ac_cpp='$CXXCPP $CPPFLAGS'
29683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29686
29687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29688 /* end confdefs.h. */
29689 #include <math.h>
29690 int
29691 main ()
29692 {
29693 _hypotf(0, 0);
29694 ;
29695 return 0;
29696 }
29697 _ACEOF
29698 if ac_fn_cxx_try_compile "$LINENO"; then :
29699 glibcxx_cv_func__hypotf_use=yes
29700 else
29701 glibcxx_cv_func__hypotf_use=no
29702 fi
29703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29704 ac_ext=c
29705 ac_cpp='$CPP $CPPFLAGS'
29706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29709
29710
29711 fi
29712
29713 fi
29714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29715 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29716
29717 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29718 for ac_func in _hypotf
29719 do :
29720 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29721 if test "x$ac_cv_func__hypotf" = x""yes; then :
29722 cat >>confdefs.h <<_ACEOF
29723 #define HAVE__HYPOTF 1
29724 _ACEOF
29725
29726 fi
29727 done
29728
29729 fi
29730 fi
29731
29732
29733
29734
29735
29736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29737 $as_echo_n "checking for ldexpf declaration... " >&6; }
29738 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29739 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29740 $as_echo_n "(cached) " >&6
29741 else
29742
29743
29744 ac_ext=cpp
29745 ac_cpp='$CXXCPP $CPPFLAGS'
29746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29749
29750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29751 /* end confdefs.h. */
29752 #include <math.h>
29753 int
29754 main ()
29755 {
29756 ldexpf(0, 0);
29757 ;
29758 return 0;
29759 }
29760 _ACEOF
29761 if ac_fn_cxx_try_compile "$LINENO"; then :
29762 glibcxx_cv_func_ldexpf_use=yes
29763 else
29764 glibcxx_cv_func_ldexpf_use=no
29765 fi
29766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29767 ac_ext=c
29768 ac_cpp='$CPP $CPPFLAGS'
29769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29772
29773
29774 fi
29775
29776 fi
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29778 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29779
29780 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29781 for ac_func in ldexpf
29782 do :
29783 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29784 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29785 cat >>confdefs.h <<_ACEOF
29786 #define HAVE_LDEXPF 1
29787 _ACEOF
29788
29789 fi
29790 done
29791
29792 else
29793
29794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29795 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29796 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29797 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29798 $as_echo_n "(cached) " >&6
29799 else
29800
29801
29802 ac_ext=cpp
29803 ac_cpp='$CXXCPP $CPPFLAGS'
29804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29807
29808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29809 /* end confdefs.h. */
29810 #include <math.h>
29811 int
29812 main ()
29813 {
29814 _ldexpf(0, 0);
29815 ;
29816 return 0;
29817 }
29818 _ACEOF
29819 if ac_fn_cxx_try_compile "$LINENO"; then :
29820 glibcxx_cv_func__ldexpf_use=yes
29821 else
29822 glibcxx_cv_func__ldexpf_use=no
29823 fi
29824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29825 ac_ext=c
29826 ac_cpp='$CPP $CPPFLAGS'
29827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29830
29831
29832 fi
29833
29834 fi
29835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29836 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29837
29838 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29839 for ac_func in _ldexpf
29840 do :
29841 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29842 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29843 cat >>confdefs.h <<_ACEOF
29844 #define HAVE__LDEXPF 1
29845 _ACEOF
29846
29847 fi
29848 done
29849
29850 fi
29851 fi
29852
29853
29854
29855
29856
29857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29858 $as_echo_n "checking for logf declaration... " >&6; }
29859 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29860 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29861 $as_echo_n "(cached) " >&6
29862 else
29863
29864
29865 ac_ext=cpp
29866 ac_cpp='$CXXCPP $CPPFLAGS'
29867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29870
29871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29872 /* end confdefs.h. */
29873 #include <math.h>
29874 #ifdef HAVE_IEEEFP_H
29875 #include <ieeefp.h>
29876 #endif
29877
29878 int
29879 main ()
29880 {
29881 logf(0);
29882 ;
29883 return 0;
29884 }
29885 _ACEOF
29886 if ac_fn_cxx_try_compile "$LINENO"; then :
29887 glibcxx_cv_func_logf_use=yes
29888 else
29889 glibcxx_cv_func_logf_use=no
29890 fi
29891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29892 ac_ext=c
29893 ac_cpp='$CPP $CPPFLAGS'
29894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29897
29898
29899 fi
29900
29901 fi
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29903 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29904
29905 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29906 for ac_func in logf
29907 do :
29908 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29909 if test "x$ac_cv_func_logf" = x""yes; then :
29910 cat >>confdefs.h <<_ACEOF
29911 #define HAVE_LOGF 1
29912 _ACEOF
29913
29914 fi
29915 done
29916
29917 else
29918
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29920 $as_echo_n "checking for _logf declaration... " >&6; }
29921 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29922 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29923 $as_echo_n "(cached) " >&6
29924 else
29925
29926
29927 ac_ext=cpp
29928 ac_cpp='$CXXCPP $CPPFLAGS'
29929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29932
29933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29935 #include <math.h>
29936 #ifdef HAVE_IEEEFP_H
29937 #include <ieeefp.h>
29938 #endif
29939
29940 int
29941 main ()
29942 {
29943 _logf(0);
29944 ;
29945 return 0;
29946 }
29947 _ACEOF
29948 if ac_fn_cxx_try_compile "$LINENO"; then :
29949 glibcxx_cv_func__logf_use=yes
29950 else
29951 glibcxx_cv_func__logf_use=no
29952 fi
29953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29954 ac_ext=c
29955 ac_cpp='$CPP $CPPFLAGS'
29956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29959
29960
29961 fi
29962
29963 fi
29964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29965 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29966
29967 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29968 for ac_func in _logf
29969 do :
29970 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29971 if test "x$ac_cv_func__logf" = x""yes; then :
29972 cat >>confdefs.h <<_ACEOF
29973 #define HAVE__LOGF 1
29974 _ACEOF
29975
29976 fi
29977 done
29978
29979 fi
29980 fi
29981
29982
29983
29984
29985
29986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29987 $as_echo_n "checking for log10f declaration... " >&6; }
29988 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29989 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29990 $as_echo_n "(cached) " >&6
29991 else
29992
29993
29994 ac_ext=cpp
29995 ac_cpp='$CXXCPP $CPPFLAGS'
29996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29999
30000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30001 /* end confdefs.h. */
30002 #include <math.h>
30003 #ifdef HAVE_IEEEFP_H
30004 #include <ieeefp.h>
30005 #endif
30006
30007 int
30008 main ()
30009 {
30010 log10f(0);
30011 ;
30012 return 0;
30013 }
30014 _ACEOF
30015 if ac_fn_cxx_try_compile "$LINENO"; then :
30016 glibcxx_cv_func_log10f_use=yes
30017 else
30018 glibcxx_cv_func_log10f_use=no
30019 fi
30020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30021 ac_ext=c
30022 ac_cpp='$CPP $CPPFLAGS'
30023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30026
30027
30028 fi
30029
30030 fi
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30032 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30033
30034 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30035 for ac_func in log10f
30036 do :
30037 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30038 if test "x$ac_cv_func_log10f" = x""yes; then :
30039 cat >>confdefs.h <<_ACEOF
30040 #define HAVE_LOG10F 1
30041 _ACEOF
30042
30043 fi
30044 done
30045
30046 else
30047
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30049 $as_echo_n "checking for _log10f declaration... " >&6; }
30050 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30051 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30054
30055
30056 ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30061
30062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h. */
30064 #include <math.h>
30065 #ifdef HAVE_IEEEFP_H
30066 #include <ieeefp.h>
30067 #endif
30068
30069 int
30070 main ()
30071 {
30072 _log10f(0);
30073 ;
30074 return 0;
30075 }
30076 _ACEOF
30077 if ac_fn_cxx_try_compile "$LINENO"; then :
30078 glibcxx_cv_func__log10f_use=yes
30079 else
30080 glibcxx_cv_func__log10f_use=no
30081 fi
30082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30083 ac_ext=c
30084 ac_cpp='$CPP $CPPFLAGS'
30085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30088
30089
30090 fi
30091
30092 fi
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30094 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30095
30096 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30097 for ac_func in _log10f
30098 do :
30099 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30100 if test "x$ac_cv_func__log10f" = x""yes; then :
30101 cat >>confdefs.h <<_ACEOF
30102 #define HAVE__LOG10F 1
30103 _ACEOF
30104
30105 fi
30106 done
30107
30108 fi
30109 fi
30110
30111
30112
30113
30114
30115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30116 $as_echo_n "checking for modff declaration... " >&6; }
30117 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30118 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30119 $as_echo_n "(cached) " >&6
30120 else
30121
30122
30123 ac_ext=cpp
30124 ac_cpp='$CXXCPP $CPPFLAGS'
30125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30128
30129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30130 /* end confdefs.h. */
30131 #include <math.h>
30132 int
30133 main ()
30134 {
30135 modff(0, 0);
30136 ;
30137 return 0;
30138 }
30139 _ACEOF
30140 if ac_fn_cxx_try_compile "$LINENO"; then :
30141 glibcxx_cv_func_modff_use=yes
30142 else
30143 glibcxx_cv_func_modff_use=no
30144 fi
30145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30146 ac_ext=c
30147 ac_cpp='$CPP $CPPFLAGS'
30148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30151
30152
30153 fi
30154
30155 fi
30156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30157 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30158
30159 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30160 for ac_func in modff
30161 do :
30162 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30163 if test "x$ac_cv_func_modff" = x""yes; then :
30164 cat >>confdefs.h <<_ACEOF
30165 #define HAVE_MODFF 1
30166 _ACEOF
30167
30168 fi
30169 done
30170
30171 else
30172
30173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30174 $as_echo_n "checking for _modff declaration... " >&6; }
30175 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30176 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30177 $as_echo_n "(cached) " >&6
30178 else
30179
30180
30181 ac_ext=cpp
30182 ac_cpp='$CXXCPP $CPPFLAGS'
30183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30186
30187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 /* end confdefs.h. */
30189 #include <math.h>
30190 int
30191 main ()
30192 {
30193 _modff(0, 0);
30194 ;
30195 return 0;
30196 }
30197 _ACEOF
30198 if ac_fn_cxx_try_compile "$LINENO"; then :
30199 glibcxx_cv_func__modff_use=yes
30200 else
30201 glibcxx_cv_func__modff_use=no
30202 fi
30203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30204 ac_ext=c
30205 ac_cpp='$CPP $CPPFLAGS'
30206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30209
30210
30211 fi
30212
30213 fi
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30215 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30216
30217 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30218 for ac_func in _modff
30219 do :
30220 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30221 if test "x$ac_cv_func__modff" = x""yes; then :
30222 cat >>confdefs.h <<_ACEOF
30223 #define HAVE__MODFF 1
30224 _ACEOF
30225
30226 fi
30227 done
30228
30229 fi
30230 fi
30231
30232
30233
30234
30235
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30237 $as_echo_n "checking for modf declaration... " >&6; }
30238 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30239 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30240 $as_echo_n "(cached) " >&6
30241 else
30242
30243
30244 ac_ext=cpp
30245 ac_cpp='$CXXCPP $CPPFLAGS'
30246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30249
30250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30251 /* end confdefs.h. */
30252 #include <math.h>
30253 int
30254 main ()
30255 {
30256 modf(0, 0);
30257 ;
30258 return 0;
30259 }
30260 _ACEOF
30261 if ac_fn_cxx_try_compile "$LINENO"; then :
30262 glibcxx_cv_func_modf_use=yes
30263 else
30264 glibcxx_cv_func_modf_use=no
30265 fi
30266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30267 ac_ext=c
30268 ac_cpp='$CPP $CPPFLAGS'
30269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30272
30273
30274 fi
30275
30276 fi
30277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30278 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30279
30280 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30281 for ac_func in modf
30282 do :
30283 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30284 if test "x$ac_cv_func_modf" = x""yes; then :
30285 cat >>confdefs.h <<_ACEOF
30286 #define HAVE_MODF 1
30287 _ACEOF
30288
30289 fi
30290 done
30291
30292 else
30293
30294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30295 $as_echo_n "checking for _modf declaration... " >&6; }
30296 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30297 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30298 $as_echo_n "(cached) " >&6
30299 else
30300
30301
30302 ac_ext=cpp
30303 ac_cpp='$CXXCPP $CPPFLAGS'
30304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30307
30308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30309 /* end confdefs.h. */
30310 #include <math.h>
30311 int
30312 main ()
30313 {
30314 _modf(0, 0);
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 if ac_fn_cxx_try_compile "$LINENO"; then :
30320 glibcxx_cv_func__modf_use=yes
30321 else
30322 glibcxx_cv_func__modf_use=no
30323 fi
30324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30325 ac_ext=c
30326 ac_cpp='$CPP $CPPFLAGS'
30327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30330
30331
30332 fi
30333
30334 fi
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30336 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30337
30338 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30339 for ac_func in _modf
30340 do :
30341 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30342 if test "x$ac_cv_func__modf" = x""yes; then :
30343 cat >>confdefs.h <<_ACEOF
30344 #define HAVE__MODF 1
30345 _ACEOF
30346
30347 fi
30348 done
30349
30350 fi
30351 fi
30352
30353
30354
30355
30356
30357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30358 $as_echo_n "checking for powf declaration... " >&6; }
30359 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30360 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30361 $as_echo_n "(cached) " >&6
30362 else
30363
30364
30365 ac_ext=cpp
30366 ac_cpp='$CXXCPP $CPPFLAGS'
30367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30370
30371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30372 /* end confdefs.h. */
30373 #include <math.h>
30374 int
30375 main ()
30376 {
30377 powf(0, 0);
30378 ;
30379 return 0;
30380 }
30381 _ACEOF
30382 if ac_fn_cxx_try_compile "$LINENO"; then :
30383 glibcxx_cv_func_powf_use=yes
30384 else
30385 glibcxx_cv_func_powf_use=no
30386 fi
30387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30388 ac_ext=c
30389 ac_cpp='$CPP $CPPFLAGS'
30390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30393
30394
30395 fi
30396
30397 fi
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30399 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30400
30401 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30402 for ac_func in powf
30403 do :
30404 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30405 if test "x$ac_cv_func_powf" = x""yes; then :
30406 cat >>confdefs.h <<_ACEOF
30407 #define HAVE_POWF 1
30408 _ACEOF
30409
30410 fi
30411 done
30412
30413 else
30414
30415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30416 $as_echo_n "checking for _powf declaration... " >&6; }
30417 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30418 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30419 $as_echo_n "(cached) " >&6
30420 else
30421
30422
30423 ac_ext=cpp
30424 ac_cpp='$CXXCPP $CPPFLAGS'
30425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30428
30429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30430 /* end confdefs.h. */
30431 #include <math.h>
30432 int
30433 main ()
30434 {
30435 _powf(0, 0);
30436 ;
30437 return 0;
30438 }
30439 _ACEOF
30440 if ac_fn_cxx_try_compile "$LINENO"; then :
30441 glibcxx_cv_func__powf_use=yes
30442 else
30443 glibcxx_cv_func__powf_use=no
30444 fi
30445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30446 ac_ext=c
30447 ac_cpp='$CPP $CPPFLAGS'
30448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30451
30452
30453 fi
30454
30455 fi
30456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30457 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30458
30459 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30460 for ac_func in _powf
30461 do :
30462 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30463 if test "x$ac_cv_func__powf" = x""yes; then :
30464 cat >>confdefs.h <<_ACEOF
30465 #define HAVE__POWF 1
30466 _ACEOF
30467
30468 fi
30469 done
30470
30471 fi
30472 fi
30473
30474
30475
30476
30477
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30479 $as_echo_n "checking for sqrtf declaration... " >&6; }
30480 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30481 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30482 $as_echo_n "(cached) " >&6
30483 else
30484
30485
30486 ac_ext=cpp
30487 ac_cpp='$CXXCPP $CPPFLAGS'
30488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30491
30492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30493 /* end confdefs.h. */
30494 #include <math.h>
30495 #ifdef HAVE_IEEEFP_H
30496 #include <ieeefp.h>
30497 #endif
30498
30499 int
30500 main ()
30501 {
30502 sqrtf(0);
30503 ;
30504 return 0;
30505 }
30506 _ACEOF
30507 if ac_fn_cxx_try_compile "$LINENO"; then :
30508 glibcxx_cv_func_sqrtf_use=yes
30509 else
30510 glibcxx_cv_func_sqrtf_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
30520 fi
30521
30522 fi
30523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30524 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30525
30526 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30527 for ac_func in sqrtf
30528 do :
30529 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30530 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30531 cat >>confdefs.h <<_ACEOF
30532 #define HAVE_SQRTF 1
30533 _ACEOF
30534
30535 fi
30536 done
30537
30538 else
30539
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30541 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30542 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30543 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30544 $as_echo_n "(cached) " >&6
30545 else
30546
30547
30548 ac_ext=cpp
30549 ac_cpp='$CXXCPP $CPPFLAGS'
30550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30553
30554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30556 #include <math.h>
30557 #ifdef HAVE_IEEEFP_H
30558 #include <ieeefp.h>
30559 #endif
30560
30561 int
30562 main ()
30563 {
30564 _sqrtf(0);
30565 ;
30566 return 0;
30567 }
30568 _ACEOF
30569 if ac_fn_cxx_try_compile "$LINENO"; then :
30570 glibcxx_cv_func__sqrtf_use=yes
30571 else
30572 glibcxx_cv_func__sqrtf_use=no
30573 fi
30574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30575 ac_ext=c
30576 ac_cpp='$CPP $CPPFLAGS'
30577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30580
30581
30582 fi
30583
30584 fi
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30586 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30587
30588 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30589 for ac_func in _sqrtf
30590 do :
30591 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30592 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30593 cat >>confdefs.h <<_ACEOF
30594 #define HAVE__SQRTF 1
30595 _ACEOF
30596
30597 fi
30598 done
30599
30600 fi
30601 fi
30602
30603
30604
30605
30606
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30608 $as_echo_n "checking for sincosf declaration... " >&6; }
30609 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30610 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30611 $as_echo_n "(cached) " >&6
30612 else
30613
30614
30615 ac_ext=cpp
30616 ac_cpp='$CXXCPP $CPPFLAGS'
30617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30620
30621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30622 /* end confdefs.h. */
30623 #include <math.h>
30624 int
30625 main ()
30626 {
30627 sincosf(0, 0, 0);
30628 ;
30629 return 0;
30630 }
30631 _ACEOF
30632 if ac_fn_cxx_try_compile "$LINENO"; then :
30633 glibcxx_cv_func_sincosf_use=yes
30634 else
30635 glibcxx_cv_func_sincosf_use=no
30636 fi
30637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30638 ac_ext=c
30639 ac_cpp='$CPP $CPPFLAGS'
30640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30643
30644
30645 fi
30646
30647 fi
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30649 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30650
30651 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30652 for ac_func in sincosf
30653 do :
30654 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30655 if test "x$ac_cv_func_sincosf" = x""yes; then :
30656 cat >>confdefs.h <<_ACEOF
30657 #define HAVE_SINCOSF 1
30658 _ACEOF
30659
30660 fi
30661 done
30662
30663 else
30664
30665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30666 $as_echo_n "checking for _sincosf declaration... " >&6; }
30667 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30668 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30669 $as_echo_n "(cached) " >&6
30670 else
30671
30672
30673 ac_ext=cpp
30674 ac_cpp='$CXXCPP $CPPFLAGS'
30675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30678
30679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30680 /* end confdefs.h. */
30681 #include <math.h>
30682 int
30683 main ()
30684 {
30685 _sincosf(0, 0, 0);
30686 ;
30687 return 0;
30688 }
30689 _ACEOF
30690 if ac_fn_cxx_try_compile "$LINENO"; then :
30691 glibcxx_cv_func__sincosf_use=yes
30692 else
30693 glibcxx_cv_func__sincosf_use=no
30694 fi
30695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30696 ac_ext=c
30697 ac_cpp='$CPP $CPPFLAGS'
30698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30701
30702
30703 fi
30704
30705 fi
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30707 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30708
30709 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30710 for ac_func in _sincosf
30711 do :
30712 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30713 if test "x$ac_cv_func__sincosf" = x""yes; then :
30714 cat >>confdefs.h <<_ACEOF
30715 #define HAVE__SINCOSF 1
30716 _ACEOF
30717
30718 fi
30719 done
30720
30721 fi
30722 fi
30723
30724
30725
30726
30727
30728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30729 $as_echo_n "checking for finitef declaration... " >&6; }
30730 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30731 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30732 $as_echo_n "(cached) " >&6
30733 else
30734
30735
30736 ac_ext=cpp
30737 ac_cpp='$CXXCPP $CPPFLAGS'
30738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30741
30742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30743 /* end confdefs.h. */
30744 #include <math.h>
30745 #ifdef HAVE_IEEEFP_H
30746 #include <ieeefp.h>
30747 #endif
30748
30749 int
30750 main ()
30751 {
30752 finitef(0);
30753 ;
30754 return 0;
30755 }
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758 glibcxx_cv_func_finitef_use=yes
30759 else
30760 glibcxx_cv_func_finitef_use=no
30761 fi
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763 ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30768
30769
30770 fi
30771
30772 fi
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30774 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30775
30776 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30777 for ac_func in finitef
30778 do :
30779 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30780 if test "x$ac_cv_func_finitef" = x""yes; then :
30781 cat >>confdefs.h <<_ACEOF
30782 #define HAVE_FINITEF 1
30783 _ACEOF
30784
30785 fi
30786 done
30787
30788 else
30789
30790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30791 $as_echo_n "checking for _finitef declaration... " >&6; }
30792 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30793 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30794 $as_echo_n "(cached) " >&6
30795 else
30796
30797
30798 ac_ext=cpp
30799 ac_cpp='$CXXCPP $CPPFLAGS'
30800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30803
30804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30805 /* end confdefs.h. */
30806 #include <math.h>
30807 #ifdef HAVE_IEEEFP_H
30808 #include <ieeefp.h>
30809 #endif
30810
30811 int
30812 main ()
30813 {
30814 _finitef(0);
30815 ;
30816 return 0;
30817 }
30818 _ACEOF
30819 if ac_fn_cxx_try_compile "$LINENO"; then :
30820 glibcxx_cv_func__finitef_use=yes
30821 else
30822 glibcxx_cv_func__finitef_use=no
30823 fi
30824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30825 ac_ext=c
30826 ac_cpp='$CPP $CPPFLAGS'
30827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30830
30831
30832 fi
30833
30834 fi
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30836 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30837
30838 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30839 for ac_func in _finitef
30840 do :
30841 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30842 if test "x$ac_cv_func__finitef" = x""yes; then :
30843 cat >>confdefs.h <<_ACEOF
30844 #define HAVE__FINITEF 1
30845 _ACEOF
30846
30847 fi
30848 done
30849
30850 fi
30851 fi
30852
30853
30854
30855
30856
30857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30858 $as_echo_n "checking for long double trig functions... " >&6; }
30859 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30860 $as_echo_n "(cached) " >&6
30861 else
30862
30863
30864 ac_ext=cpp
30865 ac_cpp='$CXXCPP $CPPFLAGS'
30866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30869
30870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30871 /* end confdefs.h. */
30872 #include <math.h>
30873 int
30874 main ()
30875 {
30876 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30877 ;
30878 return 0;
30879 }
30880 _ACEOF
30881 if ac_fn_cxx_try_compile "$LINENO"; then :
30882 glibcxx_cv_func_long_double_trig_use=yes
30883 else
30884 glibcxx_cv_func_long_double_trig_use=no
30885 fi
30886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30887 ac_ext=c
30888 ac_cpp='$CPP $CPPFLAGS'
30889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30892
30893 fi
30894
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30896 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30897 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30898 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30899 do :
30900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30902 eval as_val=\$$as_ac_var
30903 if test "x$as_val" = x""yes; then :
30904 cat >>confdefs.h <<_ACEOF
30905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30906 _ACEOF
30907
30908 fi
30909 done
30910
30911 else
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30913 $as_echo_n "checking for _long double trig functions... " >&6; }
30914 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30915 $as_echo_n "(cached) " >&6
30916 else
30917
30918
30919 ac_ext=cpp
30920 ac_cpp='$CXXCPP $CPPFLAGS'
30921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30924
30925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30926 /* end confdefs.h. */
30927 #include <math.h>
30928 int
30929 main ()
30930 {
30931 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30932 ;
30933 return 0;
30934 }
30935 _ACEOF
30936 if ac_fn_cxx_try_compile "$LINENO"; then :
30937 glibcxx_cv_func__long_double_trig_use=yes
30938 else
30939 glibcxx_cv_func__long_double_trig_use=no
30940 fi
30941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30942 ac_ext=c
30943 ac_cpp='$CPP $CPPFLAGS'
30944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30947
30948 fi
30949
30950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30951 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30952 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30953 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30954 do :
30955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30957 eval as_val=\$$as_ac_var
30958 if test "x$as_val" = x""yes; then :
30959 cat >>confdefs.h <<_ACEOF
30960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30961 _ACEOF
30962
30963 fi
30964 done
30965
30966 fi
30967 fi
30968
30969
30970
30971
30972
30973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30974 $as_echo_n "checking for long double round functions... " >&6; }
30975 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30976 $as_echo_n "(cached) " >&6
30977 else
30978
30979
30980 ac_ext=cpp
30981 ac_cpp='$CXXCPP $CPPFLAGS'
30982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30985
30986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30987 /* end confdefs.h. */
30988 #include <math.h>
30989 int
30990 main ()
30991 {
30992 ceill (0); floorl (0);
30993 ;
30994 return 0;
30995 }
30996 _ACEOF
30997 if ac_fn_cxx_try_compile "$LINENO"; then :
30998 glibcxx_cv_func_long_double_round_use=yes
30999 else
31000 glibcxx_cv_func_long_double_round_use=no
31001 fi
31002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31003 ac_ext=c
31004 ac_cpp='$CPP $CPPFLAGS'
31005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31008
31009 fi
31010
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31012 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31013 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31014 for ac_func in ceill floorl
31015 do :
31016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31018 eval as_val=\$$as_ac_var
31019 if test "x$as_val" = x""yes; then :
31020 cat >>confdefs.h <<_ACEOF
31021 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31022 _ACEOF
31023
31024 fi
31025 done
31026
31027 else
31028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31029 $as_echo_n "checking for _long double round functions... " >&6; }
31030 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31031 $as_echo_n "(cached) " >&6
31032 else
31033
31034
31035 ac_ext=cpp
31036 ac_cpp='$CXXCPP $CPPFLAGS'
31037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31040
31041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31042 /* end confdefs.h. */
31043 #include <math.h>
31044 int
31045 main ()
31046 {
31047 _ceill (0); _floorl (0);
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 if ac_fn_cxx_try_compile "$LINENO"; then :
31053 glibcxx_cv_func__long_double_round_use=yes
31054 else
31055 glibcxx_cv_func__long_double_round_use=no
31056 fi
31057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31058 ac_ext=c
31059 ac_cpp='$CPP $CPPFLAGS'
31060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31063
31064 fi
31065
31066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31067 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31068 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31069 for ac_func in _ceill _floorl
31070 do :
31071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31073 eval as_val=\$$as_ac_var
31074 if test "x$as_val" = x""yes; then :
31075 cat >>confdefs.h <<_ACEOF
31076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31077 _ACEOF
31078
31079 fi
31080 done
31081
31082 fi
31083 fi
31084
31085
31086
31087
31088
31089
31090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31091 $as_echo_n "checking for isnanl declaration... " >&6; }
31092 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31093 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31094 $as_echo_n "(cached) " >&6
31095 else
31096
31097
31098 ac_ext=cpp
31099 ac_cpp='$CXXCPP $CPPFLAGS'
31100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31103
31104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31105 /* end confdefs.h. */
31106 #include <math.h>
31107 #ifdef HAVE_IEEEFP_H
31108 #include <ieeefp.h>
31109 #endif
31110
31111 int
31112 main ()
31113 {
31114 isnanl(0);
31115 ;
31116 return 0;
31117 }
31118 _ACEOF
31119 if ac_fn_cxx_try_compile "$LINENO"; then :
31120 glibcxx_cv_func_isnanl_use=yes
31121 else
31122 glibcxx_cv_func_isnanl_use=no
31123 fi
31124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31125 ac_ext=c
31126 ac_cpp='$CPP $CPPFLAGS'
31127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31130
31131
31132 fi
31133
31134 fi
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31136 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31137
31138 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31139 for ac_func in isnanl
31140 do :
31141 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31142 if test "x$ac_cv_func_isnanl" = x""yes; then :
31143 cat >>confdefs.h <<_ACEOF
31144 #define HAVE_ISNANL 1
31145 _ACEOF
31146
31147 fi
31148 done
31149
31150 else
31151
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31153 $as_echo_n "checking for _isnanl declaration... " >&6; }
31154 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31155 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31156 $as_echo_n "(cached) " >&6
31157 else
31158
31159
31160 ac_ext=cpp
31161 ac_cpp='$CXXCPP $CPPFLAGS'
31162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31165
31166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31167 /* end confdefs.h. */
31168 #include <math.h>
31169 #ifdef HAVE_IEEEFP_H
31170 #include <ieeefp.h>
31171 #endif
31172
31173 int
31174 main ()
31175 {
31176 _isnanl(0);
31177 ;
31178 return 0;
31179 }
31180 _ACEOF
31181 if ac_fn_cxx_try_compile "$LINENO"; then :
31182 glibcxx_cv_func__isnanl_use=yes
31183 else
31184 glibcxx_cv_func__isnanl_use=no
31185 fi
31186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31187 ac_ext=c
31188 ac_cpp='$CPP $CPPFLAGS'
31189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31192
31193
31194 fi
31195
31196 fi
31197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31198 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31199
31200 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31201 for ac_func in _isnanl
31202 do :
31203 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31204 if test "x$ac_cv_func__isnanl" = x""yes; then :
31205 cat >>confdefs.h <<_ACEOF
31206 #define HAVE__ISNANL 1
31207 _ACEOF
31208
31209 fi
31210 done
31211
31212 fi
31213 fi
31214
31215
31216
31217
31218
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31220 $as_echo_n "checking for isinfl declaration... " >&6; }
31221 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31222 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31223 $as_echo_n "(cached) " >&6
31224 else
31225
31226
31227 ac_ext=cpp
31228 ac_cpp='$CXXCPP $CPPFLAGS'
31229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31232
31233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31234 /* end confdefs.h. */
31235 #include <math.h>
31236 #ifdef HAVE_IEEEFP_H
31237 #include <ieeefp.h>
31238 #endif
31239
31240 int
31241 main ()
31242 {
31243 isinfl(0);
31244 ;
31245 return 0;
31246 }
31247 _ACEOF
31248 if ac_fn_cxx_try_compile "$LINENO"; then :
31249 glibcxx_cv_func_isinfl_use=yes
31250 else
31251 glibcxx_cv_func_isinfl_use=no
31252 fi
31253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31254 ac_ext=c
31255 ac_cpp='$CPP $CPPFLAGS'
31256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31259
31260
31261 fi
31262
31263 fi
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31265 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31266
31267 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31268 for ac_func in isinfl
31269 do :
31270 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31271 if test "x$ac_cv_func_isinfl" = x""yes; then :
31272 cat >>confdefs.h <<_ACEOF
31273 #define HAVE_ISINFL 1
31274 _ACEOF
31275
31276 fi
31277 done
31278
31279 else
31280
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31282 $as_echo_n "checking for _isinfl declaration... " >&6; }
31283 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31284 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31285 $as_echo_n "(cached) " >&6
31286 else
31287
31288
31289 ac_ext=cpp
31290 ac_cpp='$CXXCPP $CPPFLAGS'
31291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294
31295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31296 /* end confdefs.h. */
31297 #include <math.h>
31298 #ifdef HAVE_IEEEFP_H
31299 #include <ieeefp.h>
31300 #endif
31301
31302 int
31303 main ()
31304 {
31305 _isinfl(0);
31306 ;
31307 return 0;
31308 }
31309 _ACEOF
31310 if ac_fn_cxx_try_compile "$LINENO"; then :
31311 glibcxx_cv_func__isinfl_use=yes
31312 else
31313 glibcxx_cv_func__isinfl_use=no
31314 fi
31315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31316 ac_ext=c
31317 ac_cpp='$CPP $CPPFLAGS'
31318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31321
31322
31323 fi
31324
31325 fi
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31327 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31328
31329 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31330 for ac_func in _isinfl
31331 do :
31332 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31333 if test "x$ac_cv_func__isinfl" = x""yes; then :
31334 cat >>confdefs.h <<_ACEOF
31335 #define HAVE__ISINFL 1
31336 _ACEOF
31337
31338 fi
31339 done
31340
31341 fi
31342 fi
31343
31344
31345
31346
31347
31348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31349 $as_echo_n "checking for atan2l declaration... " >&6; }
31350 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31351 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31352 $as_echo_n "(cached) " >&6
31353 else
31354
31355
31356 ac_ext=cpp
31357 ac_cpp='$CXXCPP $CPPFLAGS'
31358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361
31362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31363 /* end confdefs.h. */
31364 #include <math.h>
31365 int
31366 main ()
31367 {
31368 atan2l(0, 0);
31369 ;
31370 return 0;
31371 }
31372 _ACEOF
31373 if ac_fn_cxx_try_compile "$LINENO"; then :
31374 glibcxx_cv_func_atan2l_use=yes
31375 else
31376 glibcxx_cv_func_atan2l_use=no
31377 fi
31378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31379 ac_ext=c
31380 ac_cpp='$CPP $CPPFLAGS'
31381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31384
31385
31386 fi
31387
31388 fi
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31390 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31391
31392 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31393 for ac_func in atan2l
31394 do :
31395 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31396 if test "x$ac_cv_func_atan2l" = x""yes; then :
31397 cat >>confdefs.h <<_ACEOF
31398 #define HAVE_ATAN2L 1
31399 _ACEOF
31400
31401 fi
31402 done
31403
31404 else
31405
31406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31407 $as_echo_n "checking for _atan2l declaration... " >&6; }
31408 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31409 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31410 $as_echo_n "(cached) " >&6
31411 else
31412
31413
31414 ac_ext=cpp
31415 ac_cpp='$CXXCPP $CPPFLAGS'
31416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31419
31420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31421 /* end confdefs.h. */
31422 #include <math.h>
31423 int
31424 main ()
31425 {
31426 _atan2l(0, 0);
31427 ;
31428 return 0;
31429 }
31430 _ACEOF
31431 if ac_fn_cxx_try_compile "$LINENO"; then :
31432 glibcxx_cv_func__atan2l_use=yes
31433 else
31434 glibcxx_cv_func__atan2l_use=no
31435 fi
31436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31437 ac_ext=c
31438 ac_cpp='$CPP $CPPFLAGS'
31439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31442
31443
31444 fi
31445
31446 fi
31447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31448 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31449
31450 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31451 for ac_func in _atan2l
31452 do :
31453 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31454 if test "x$ac_cv_func__atan2l" = x""yes; then :
31455 cat >>confdefs.h <<_ACEOF
31456 #define HAVE__ATAN2L 1
31457 _ACEOF
31458
31459 fi
31460 done
31461
31462 fi
31463 fi
31464
31465
31466
31467
31468
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31470 $as_echo_n "checking for expl declaration... " >&6; }
31471 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31472 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31473 $as_echo_n "(cached) " >&6
31474 else
31475
31476
31477 ac_ext=cpp
31478 ac_cpp='$CXXCPP $CPPFLAGS'
31479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31482
31483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31484 /* end confdefs.h. */
31485 #include <math.h>
31486 #ifdef HAVE_IEEEFP_H
31487 #include <ieeefp.h>
31488 #endif
31489
31490 int
31491 main ()
31492 {
31493 expl(0);
31494 ;
31495 return 0;
31496 }
31497 _ACEOF
31498 if ac_fn_cxx_try_compile "$LINENO"; then :
31499 glibcxx_cv_func_expl_use=yes
31500 else
31501 glibcxx_cv_func_expl_use=no
31502 fi
31503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31504 ac_ext=c
31505 ac_cpp='$CPP $CPPFLAGS'
31506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31509
31510
31511 fi
31512
31513 fi
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31515 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31516
31517 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31518 for ac_func in expl
31519 do :
31520 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31521 if test "x$ac_cv_func_expl" = x""yes; then :
31522 cat >>confdefs.h <<_ACEOF
31523 #define HAVE_EXPL 1
31524 _ACEOF
31525
31526 fi
31527 done
31528
31529 else
31530
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31532 $as_echo_n "checking for _expl declaration... " >&6; }
31533 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31534 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31535 $as_echo_n "(cached) " >&6
31536 else
31537
31538
31539 ac_ext=cpp
31540 ac_cpp='$CXXCPP $CPPFLAGS'
31541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31544
31545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31546 /* end confdefs.h. */
31547 #include <math.h>
31548 #ifdef HAVE_IEEEFP_H
31549 #include <ieeefp.h>
31550 #endif
31551
31552 int
31553 main ()
31554 {
31555 _expl(0);
31556 ;
31557 return 0;
31558 }
31559 _ACEOF
31560 if ac_fn_cxx_try_compile "$LINENO"; then :
31561 glibcxx_cv_func__expl_use=yes
31562 else
31563 glibcxx_cv_func__expl_use=no
31564 fi
31565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31566 ac_ext=c
31567 ac_cpp='$CPP $CPPFLAGS'
31568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31571
31572
31573 fi
31574
31575 fi
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31577 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31578
31579 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31580 for ac_func in _expl
31581 do :
31582 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31583 if test "x$ac_cv_func__expl" = x""yes; then :
31584 cat >>confdefs.h <<_ACEOF
31585 #define HAVE__EXPL 1
31586 _ACEOF
31587
31588 fi
31589 done
31590
31591 fi
31592 fi
31593
31594
31595
31596
31597
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31599 $as_echo_n "checking for fabsl declaration... " >&6; }
31600 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31601 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31602 $as_echo_n "(cached) " >&6
31603 else
31604
31605
31606 ac_ext=cpp
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31611
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31614 #include <math.h>
31615 #ifdef HAVE_IEEEFP_H
31616 #include <ieeefp.h>
31617 #endif
31618
31619 int
31620 main ()
31621 {
31622 fabsl(0);
31623 ;
31624 return 0;
31625 }
31626 _ACEOF
31627 if ac_fn_cxx_try_compile "$LINENO"; then :
31628 glibcxx_cv_func_fabsl_use=yes
31629 else
31630 glibcxx_cv_func_fabsl_use=no
31631 fi
31632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31633 ac_ext=c
31634 ac_cpp='$CPP $CPPFLAGS'
31635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31638
31639
31640 fi
31641
31642 fi
31643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31644 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31645
31646 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31647 for ac_func in fabsl
31648 do :
31649 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31650 if test "x$ac_cv_func_fabsl" = x""yes; then :
31651 cat >>confdefs.h <<_ACEOF
31652 #define HAVE_FABSL 1
31653 _ACEOF
31654
31655 fi
31656 done
31657
31658 else
31659
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31661 $as_echo_n "checking for _fabsl declaration... " >&6; }
31662 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31663 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31664 $as_echo_n "(cached) " >&6
31665 else
31666
31667
31668 ac_ext=cpp
31669 ac_cpp='$CXXCPP $CPPFLAGS'
31670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673
31674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31675 /* end confdefs.h. */
31676 #include <math.h>
31677 #ifdef HAVE_IEEEFP_H
31678 #include <ieeefp.h>
31679 #endif
31680
31681 int
31682 main ()
31683 {
31684 _fabsl(0);
31685 ;
31686 return 0;
31687 }
31688 _ACEOF
31689 if ac_fn_cxx_try_compile "$LINENO"; then :
31690 glibcxx_cv_func__fabsl_use=yes
31691 else
31692 glibcxx_cv_func__fabsl_use=no
31693 fi
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695 ac_ext=c
31696 ac_cpp='$CPP $CPPFLAGS'
31697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31700
31701
31702 fi
31703
31704 fi
31705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31706 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31707
31708 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31709 for ac_func in _fabsl
31710 do :
31711 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31712 if test "x$ac_cv_func__fabsl" = x""yes; then :
31713 cat >>confdefs.h <<_ACEOF
31714 #define HAVE__FABSL 1
31715 _ACEOF
31716
31717 fi
31718 done
31719
31720 fi
31721 fi
31722
31723
31724
31725
31726
31727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31728 $as_echo_n "checking for fmodl declaration... " >&6; }
31729 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31730 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31731 $as_echo_n "(cached) " >&6
31732 else
31733
31734
31735 ac_ext=cpp
31736 ac_cpp='$CXXCPP $CPPFLAGS'
31737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740
31741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h. */
31743 #include <math.h>
31744 int
31745 main ()
31746 {
31747 fmodl(0, 0);
31748 ;
31749 return 0;
31750 }
31751 _ACEOF
31752 if ac_fn_cxx_try_compile "$LINENO"; then :
31753 glibcxx_cv_func_fmodl_use=yes
31754 else
31755 glibcxx_cv_func_fmodl_use=no
31756 fi
31757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31758 ac_ext=c
31759 ac_cpp='$CPP $CPPFLAGS'
31760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31763
31764
31765 fi
31766
31767 fi
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31769 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31770
31771 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31772 for ac_func in fmodl
31773 do :
31774 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31775 if test "x$ac_cv_func_fmodl" = x""yes; then :
31776 cat >>confdefs.h <<_ACEOF
31777 #define HAVE_FMODL 1
31778 _ACEOF
31779
31780 fi
31781 done
31782
31783 else
31784
31785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31786 $as_echo_n "checking for _fmodl declaration... " >&6; }
31787 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31788 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31789 $as_echo_n "(cached) " >&6
31790 else
31791
31792
31793 ac_ext=cpp
31794 ac_cpp='$CXXCPP $CPPFLAGS'
31795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31798
31799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31800 /* end confdefs.h. */
31801 #include <math.h>
31802 int
31803 main ()
31804 {
31805 _fmodl(0, 0);
31806 ;
31807 return 0;
31808 }
31809 _ACEOF
31810 if ac_fn_cxx_try_compile "$LINENO"; then :
31811 glibcxx_cv_func__fmodl_use=yes
31812 else
31813 glibcxx_cv_func__fmodl_use=no
31814 fi
31815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31816 ac_ext=c
31817 ac_cpp='$CPP $CPPFLAGS'
31818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31821
31822
31823 fi
31824
31825 fi
31826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31827 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31828
31829 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31830 for ac_func in _fmodl
31831 do :
31832 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31833 if test "x$ac_cv_func__fmodl" = x""yes; then :
31834 cat >>confdefs.h <<_ACEOF
31835 #define HAVE__FMODL 1
31836 _ACEOF
31837
31838 fi
31839 done
31840
31841 fi
31842 fi
31843
31844
31845
31846
31847
31848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31849 $as_echo_n "checking for frexpl declaration... " >&6; }
31850 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31851 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31852 $as_echo_n "(cached) " >&6
31853 else
31854
31855
31856 ac_ext=cpp
31857 ac_cpp='$CXXCPP $CPPFLAGS'
31858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31861
31862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31863 /* end confdefs.h. */
31864 #include <math.h>
31865 int
31866 main ()
31867 {
31868 frexpl(0, 0);
31869 ;
31870 return 0;
31871 }
31872 _ACEOF
31873 if ac_fn_cxx_try_compile "$LINENO"; then :
31874 glibcxx_cv_func_frexpl_use=yes
31875 else
31876 glibcxx_cv_func_frexpl_use=no
31877 fi
31878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31879 ac_ext=c
31880 ac_cpp='$CPP $CPPFLAGS'
31881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31884
31885
31886 fi
31887
31888 fi
31889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31890 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31891
31892 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31893 for ac_func in frexpl
31894 do :
31895 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31896 if test "x$ac_cv_func_frexpl" = x""yes; then :
31897 cat >>confdefs.h <<_ACEOF
31898 #define HAVE_FREXPL 1
31899 _ACEOF
31900
31901 fi
31902 done
31903
31904 else
31905
31906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31907 $as_echo_n "checking for _frexpl declaration... " >&6; }
31908 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31909 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31910 $as_echo_n "(cached) " >&6
31911 else
31912
31913
31914 ac_ext=cpp
31915 ac_cpp='$CXXCPP $CPPFLAGS'
31916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31919
31920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31921 /* end confdefs.h. */
31922 #include <math.h>
31923 int
31924 main ()
31925 {
31926 _frexpl(0, 0);
31927 ;
31928 return 0;
31929 }
31930 _ACEOF
31931 if ac_fn_cxx_try_compile "$LINENO"; then :
31932 glibcxx_cv_func__frexpl_use=yes
31933 else
31934 glibcxx_cv_func__frexpl_use=no
31935 fi
31936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31937 ac_ext=c
31938 ac_cpp='$CPP $CPPFLAGS'
31939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31942
31943
31944 fi
31945
31946 fi
31947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31948 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31949
31950 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31951 for ac_func in _frexpl
31952 do :
31953 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31954 if test "x$ac_cv_func__frexpl" = x""yes; then :
31955 cat >>confdefs.h <<_ACEOF
31956 #define HAVE__FREXPL 1
31957 _ACEOF
31958
31959 fi
31960 done
31961
31962 fi
31963 fi
31964
31965
31966
31967
31968
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31970 $as_echo_n "checking for hypotl declaration... " >&6; }
31971 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31972 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31973 $as_echo_n "(cached) " >&6
31974 else
31975
31976
31977 ac_ext=cpp
31978 ac_cpp='$CXXCPP $CPPFLAGS'
31979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31982
31983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31984 /* end confdefs.h. */
31985 #include <math.h>
31986 int
31987 main ()
31988 {
31989 hypotl(0, 0);
31990 ;
31991 return 0;
31992 }
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_hypotl_use=yes
31996 else
31997 glibcxx_cv_func_hypotl_use=no
31998 fi
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32005
32006
32007 fi
32008
32009 fi
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32011 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32012
32013 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32014 for ac_func in hypotl
32015 do :
32016 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32017 if test "x$ac_cv_func_hypotl" = x""yes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE_HYPOTL 1
32020 _ACEOF
32021
32022 fi
32023 done
32024
32025 else
32026
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32028 $as_echo_n "checking for _hypotl declaration... " >&6; }
32029 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32030 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32031 $as_echo_n "(cached) " >&6
32032 else
32033
32034
32035 ac_ext=cpp
32036 ac_cpp='$CXXCPP $CPPFLAGS'
32037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32040
32041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042 /* end confdefs.h. */
32043 #include <math.h>
32044 int
32045 main ()
32046 {
32047 _hypotl(0, 0);
32048 ;
32049 return 0;
32050 }
32051 _ACEOF
32052 if ac_fn_cxx_try_compile "$LINENO"; then :
32053 glibcxx_cv_func__hypotl_use=yes
32054 else
32055 glibcxx_cv_func__hypotl_use=no
32056 fi
32057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32058 ac_ext=c
32059 ac_cpp='$CPP $CPPFLAGS'
32060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32063
32064
32065 fi
32066
32067 fi
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32069 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32070
32071 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32072 for ac_func in _hypotl
32073 do :
32074 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32075 if test "x$ac_cv_func__hypotl" = x""yes; then :
32076 cat >>confdefs.h <<_ACEOF
32077 #define HAVE__HYPOTL 1
32078 _ACEOF
32079
32080 fi
32081 done
32082
32083 fi
32084 fi
32085
32086
32087
32088
32089
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32091 $as_echo_n "checking for ldexpl declaration... " >&6; }
32092 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32093 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32094 $as_echo_n "(cached) " >&6
32095 else
32096
32097
32098 ac_ext=cpp
32099 ac_cpp='$CXXCPP $CPPFLAGS'
32100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32103
32104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32105 /* end confdefs.h. */
32106 #include <math.h>
32107 int
32108 main ()
32109 {
32110 ldexpl(0, 0);
32111 ;
32112 return 0;
32113 }
32114 _ACEOF
32115 if ac_fn_cxx_try_compile "$LINENO"; then :
32116 glibcxx_cv_func_ldexpl_use=yes
32117 else
32118 glibcxx_cv_func_ldexpl_use=no
32119 fi
32120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32121 ac_ext=c
32122 ac_cpp='$CPP $CPPFLAGS'
32123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32126
32127
32128 fi
32129
32130 fi
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32132 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32133
32134 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32135 for ac_func in ldexpl
32136 do :
32137 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32138 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32139 cat >>confdefs.h <<_ACEOF
32140 #define HAVE_LDEXPL 1
32141 _ACEOF
32142
32143 fi
32144 done
32145
32146 else
32147
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32149 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32150 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32151 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32152 $as_echo_n "(cached) " >&6
32153 else
32154
32155
32156 ac_ext=cpp
32157 ac_cpp='$CXXCPP $CPPFLAGS'
32158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32161
32162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32163 /* end confdefs.h. */
32164 #include <math.h>
32165 int
32166 main ()
32167 {
32168 _ldexpl(0, 0);
32169 ;
32170 return 0;
32171 }
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func__ldexpl_use=yes
32175 else
32176 glibcxx_cv_func__ldexpl_use=no
32177 fi
32178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179 ac_ext=c
32180 ac_cpp='$CPP $CPPFLAGS'
32181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32184
32185
32186 fi
32187
32188 fi
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32190 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32191
32192 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32193 for ac_func in _ldexpl
32194 do :
32195 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32196 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE__LDEXPL 1
32199 _ACEOF
32200
32201 fi
32202 done
32203
32204 fi
32205 fi
32206
32207
32208
32209
32210
32211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32212 $as_echo_n "checking for logl declaration... " >&6; }
32213 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32214 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32215 $as_echo_n "(cached) " >&6
32216 else
32217
32218
32219 ac_ext=cpp
32220 ac_cpp='$CXXCPP $CPPFLAGS'
32221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32224
32225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32226 /* end confdefs.h. */
32227 #include <math.h>
32228 #ifdef HAVE_IEEEFP_H
32229 #include <ieeefp.h>
32230 #endif
32231
32232 int
32233 main ()
32234 {
32235 logl(0);
32236 ;
32237 return 0;
32238 }
32239 _ACEOF
32240 if ac_fn_cxx_try_compile "$LINENO"; then :
32241 glibcxx_cv_func_logl_use=yes
32242 else
32243 glibcxx_cv_func_logl_use=no
32244 fi
32245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32246 ac_ext=c
32247 ac_cpp='$CPP $CPPFLAGS'
32248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32251
32252
32253 fi
32254
32255 fi
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32257 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32258
32259 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32260 for ac_func in logl
32261 do :
32262 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32263 if test "x$ac_cv_func_logl" = x""yes; then :
32264 cat >>confdefs.h <<_ACEOF
32265 #define HAVE_LOGL 1
32266 _ACEOF
32267
32268 fi
32269 done
32270
32271 else
32272
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32274 $as_echo_n "checking for _logl declaration... " >&6; }
32275 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32276 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32277 $as_echo_n "(cached) " >&6
32278 else
32279
32280
32281 ac_ext=cpp
32282 ac_cpp='$CXXCPP $CPPFLAGS'
32283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32286
32287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32288 /* end confdefs.h. */
32289 #include <math.h>
32290 #ifdef HAVE_IEEEFP_H
32291 #include <ieeefp.h>
32292 #endif
32293
32294 int
32295 main ()
32296 {
32297 _logl(0);
32298 ;
32299 return 0;
32300 }
32301 _ACEOF
32302 if ac_fn_cxx_try_compile "$LINENO"; then :
32303 glibcxx_cv_func__logl_use=yes
32304 else
32305 glibcxx_cv_func__logl_use=no
32306 fi
32307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32308 ac_ext=c
32309 ac_cpp='$CPP $CPPFLAGS'
32310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32313
32314
32315 fi
32316
32317 fi
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32319 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32320
32321 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32322 for ac_func in _logl
32323 do :
32324 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32325 if test "x$ac_cv_func__logl" = x""yes; then :
32326 cat >>confdefs.h <<_ACEOF
32327 #define HAVE__LOGL 1
32328 _ACEOF
32329
32330 fi
32331 done
32332
32333 fi
32334 fi
32335
32336
32337
32338
32339
32340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32341 $as_echo_n "checking for log10l declaration... " >&6; }
32342 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32343 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32344 $as_echo_n "(cached) " >&6
32345 else
32346
32347
32348 ac_ext=cpp
32349 ac_cpp='$CXXCPP $CPPFLAGS'
32350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32353
32354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32355 /* end confdefs.h. */
32356 #include <math.h>
32357 #ifdef HAVE_IEEEFP_H
32358 #include <ieeefp.h>
32359 #endif
32360
32361 int
32362 main ()
32363 {
32364 log10l(0);
32365 ;
32366 return 0;
32367 }
32368 _ACEOF
32369 if ac_fn_cxx_try_compile "$LINENO"; then :
32370 glibcxx_cv_func_log10l_use=yes
32371 else
32372 glibcxx_cv_func_log10l_use=no
32373 fi
32374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32375 ac_ext=c
32376 ac_cpp='$CPP $CPPFLAGS'
32377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32380
32381
32382 fi
32383
32384 fi
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32386 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32387
32388 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32389 for ac_func in log10l
32390 do :
32391 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32392 if test "x$ac_cv_func_log10l" = x""yes; then :
32393 cat >>confdefs.h <<_ACEOF
32394 #define HAVE_LOG10L 1
32395 _ACEOF
32396
32397 fi
32398 done
32399
32400 else
32401
32402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32403 $as_echo_n "checking for _log10l declaration... " >&6; }
32404 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32405 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32406 $as_echo_n "(cached) " >&6
32407 else
32408
32409
32410 ac_ext=cpp
32411 ac_cpp='$CXXCPP $CPPFLAGS'
32412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32415
32416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32417 /* end confdefs.h. */
32418 #include <math.h>
32419 #ifdef HAVE_IEEEFP_H
32420 #include <ieeefp.h>
32421 #endif
32422
32423 int
32424 main ()
32425 {
32426 _log10l(0);
32427 ;
32428 return 0;
32429 }
32430 _ACEOF
32431 if ac_fn_cxx_try_compile "$LINENO"; then :
32432 glibcxx_cv_func__log10l_use=yes
32433 else
32434 glibcxx_cv_func__log10l_use=no
32435 fi
32436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32437 ac_ext=c
32438 ac_cpp='$CPP $CPPFLAGS'
32439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32442
32443
32444 fi
32445
32446 fi
32447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32448 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32449
32450 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32451 for ac_func in _log10l
32452 do :
32453 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32454 if test "x$ac_cv_func__log10l" = x""yes; then :
32455 cat >>confdefs.h <<_ACEOF
32456 #define HAVE__LOG10L 1
32457 _ACEOF
32458
32459 fi
32460 done
32461
32462 fi
32463 fi
32464
32465
32466
32467
32468
32469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32470 $as_echo_n "checking for modfl declaration... " >&6; }
32471 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32472 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32473 $as_echo_n "(cached) " >&6
32474 else
32475
32476
32477 ac_ext=cpp
32478 ac_cpp='$CXXCPP $CPPFLAGS'
32479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32482
32483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32484 /* end confdefs.h. */
32485 #include <math.h>
32486 int
32487 main ()
32488 {
32489 modfl(0, 0);
32490 ;
32491 return 0;
32492 }
32493 _ACEOF
32494 if ac_fn_cxx_try_compile "$LINENO"; then :
32495 glibcxx_cv_func_modfl_use=yes
32496 else
32497 glibcxx_cv_func_modfl_use=no
32498 fi
32499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32500 ac_ext=c
32501 ac_cpp='$CPP $CPPFLAGS'
32502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32505
32506
32507 fi
32508
32509 fi
32510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32511 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32512
32513 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32514 for ac_func in modfl
32515 do :
32516 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32517 if test "x$ac_cv_func_modfl" = x""yes; then :
32518 cat >>confdefs.h <<_ACEOF
32519 #define HAVE_MODFL 1
32520 _ACEOF
32521
32522 fi
32523 done
32524
32525 else
32526
32527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32528 $as_echo_n "checking for _modfl declaration... " >&6; }
32529 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32530 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32531 $as_echo_n "(cached) " >&6
32532 else
32533
32534
32535 ac_ext=cpp
32536 ac_cpp='$CXXCPP $CPPFLAGS'
32537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32540
32541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32542 /* end confdefs.h. */
32543 #include <math.h>
32544 int
32545 main ()
32546 {
32547 _modfl(0, 0);
32548 ;
32549 return 0;
32550 }
32551 _ACEOF
32552 if ac_fn_cxx_try_compile "$LINENO"; then :
32553 glibcxx_cv_func__modfl_use=yes
32554 else
32555 glibcxx_cv_func__modfl_use=no
32556 fi
32557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32558 ac_ext=c
32559 ac_cpp='$CPP $CPPFLAGS'
32560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32563
32564
32565 fi
32566
32567 fi
32568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32569 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32570
32571 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32572 for ac_func in _modfl
32573 do :
32574 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32575 if test "x$ac_cv_func__modfl" = x""yes; then :
32576 cat >>confdefs.h <<_ACEOF
32577 #define HAVE__MODFL 1
32578 _ACEOF
32579
32580 fi
32581 done
32582
32583 fi
32584 fi
32585
32586
32587
32588
32589
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32591 $as_echo_n "checking for powl declaration... " >&6; }
32592 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32593 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32594 $as_echo_n "(cached) " >&6
32595 else
32596
32597
32598 ac_ext=cpp
32599 ac_cpp='$CXXCPP $CPPFLAGS'
32600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32603
32604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32605 /* end confdefs.h. */
32606 #include <math.h>
32607 int
32608 main ()
32609 {
32610 powl(0, 0);
32611 ;
32612 return 0;
32613 }
32614 _ACEOF
32615 if ac_fn_cxx_try_compile "$LINENO"; then :
32616 glibcxx_cv_func_powl_use=yes
32617 else
32618 glibcxx_cv_func_powl_use=no
32619 fi
32620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32621 ac_ext=c
32622 ac_cpp='$CPP $CPPFLAGS'
32623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32626
32627
32628 fi
32629
32630 fi
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32632 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32633
32634 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32635 for ac_func in powl
32636 do :
32637 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32638 if test "x$ac_cv_func_powl" = x""yes; then :
32639 cat >>confdefs.h <<_ACEOF
32640 #define HAVE_POWL 1
32641 _ACEOF
32642
32643 fi
32644 done
32645
32646 else
32647
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32649 $as_echo_n "checking for _powl declaration... " >&6; }
32650 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32651 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32652 $as_echo_n "(cached) " >&6
32653 else
32654
32655
32656 ac_ext=cpp
32657 ac_cpp='$CXXCPP $CPPFLAGS'
32658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32661
32662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32663 /* end confdefs.h. */
32664 #include <math.h>
32665 int
32666 main ()
32667 {
32668 _powl(0, 0);
32669 ;
32670 return 0;
32671 }
32672 _ACEOF
32673 if ac_fn_cxx_try_compile "$LINENO"; then :
32674 glibcxx_cv_func__powl_use=yes
32675 else
32676 glibcxx_cv_func__powl_use=no
32677 fi
32678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32679 ac_ext=c
32680 ac_cpp='$CPP $CPPFLAGS'
32681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32684
32685
32686 fi
32687
32688 fi
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32690 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32691
32692 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32693 for ac_func in _powl
32694 do :
32695 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32696 if test "x$ac_cv_func__powl" = x""yes; then :
32697 cat >>confdefs.h <<_ACEOF
32698 #define HAVE__POWL 1
32699 _ACEOF
32700
32701 fi
32702 done
32703
32704 fi
32705 fi
32706
32707
32708
32709
32710
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32712 $as_echo_n "checking for sqrtl declaration... " >&6; }
32713 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32714 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32715 $as_echo_n "(cached) " >&6
32716 else
32717
32718
32719 ac_ext=cpp
32720 ac_cpp='$CXXCPP $CPPFLAGS'
32721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32724
32725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32726 /* end confdefs.h. */
32727 #include <math.h>
32728 #ifdef HAVE_IEEEFP_H
32729 #include <ieeefp.h>
32730 #endif
32731
32732 int
32733 main ()
32734 {
32735 sqrtl(0);
32736 ;
32737 return 0;
32738 }
32739 _ACEOF
32740 if ac_fn_cxx_try_compile "$LINENO"; then :
32741 glibcxx_cv_func_sqrtl_use=yes
32742 else
32743 glibcxx_cv_func_sqrtl_use=no
32744 fi
32745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32746 ac_ext=c
32747 ac_cpp='$CPP $CPPFLAGS'
32748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32751
32752
32753 fi
32754
32755 fi
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32757 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32758
32759 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32760 for ac_func in sqrtl
32761 do :
32762 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32763 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32764 cat >>confdefs.h <<_ACEOF
32765 #define HAVE_SQRTL 1
32766 _ACEOF
32767
32768 fi
32769 done
32770
32771 else
32772
32773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32774 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32775 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32776 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32777 $as_echo_n "(cached) " >&6
32778 else
32779
32780
32781 ac_ext=cpp
32782 ac_cpp='$CXXCPP $CPPFLAGS'
32783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32786
32787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32788 /* end confdefs.h. */
32789 #include <math.h>
32790 #ifdef HAVE_IEEEFP_H
32791 #include <ieeefp.h>
32792 #endif
32793
32794 int
32795 main ()
32796 {
32797 _sqrtl(0);
32798 ;
32799 return 0;
32800 }
32801 _ACEOF
32802 if ac_fn_cxx_try_compile "$LINENO"; then :
32803 glibcxx_cv_func__sqrtl_use=yes
32804 else
32805 glibcxx_cv_func__sqrtl_use=no
32806 fi
32807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32808 ac_ext=c
32809 ac_cpp='$CPP $CPPFLAGS'
32810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32813
32814
32815 fi
32816
32817 fi
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32819 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32820
32821 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32822 for ac_func in _sqrtl
32823 do :
32824 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32825 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32826 cat >>confdefs.h <<_ACEOF
32827 #define HAVE__SQRTL 1
32828 _ACEOF
32829
32830 fi
32831 done
32832
32833 fi
32834 fi
32835
32836
32837
32838
32839
32840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32841 $as_echo_n "checking for sincosl declaration... " >&6; }
32842 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32843 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32844 $as_echo_n "(cached) " >&6
32845 else
32846
32847
32848 ac_ext=cpp
32849 ac_cpp='$CXXCPP $CPPFLAGS'
32850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32853
32854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32855 /* end confdefs.h. */
32856 #include <math.h>
32857 int
32858 main ()
32859 {
32860 sincosl(0, 0, 0);
32861 ;
32862 return 0;
32863 }
32864 _ACEOF
32865 if ac_fn_cxx_try_compile "$LINENO"; then :
32866 glibcxx_cv_func_sincosl_use=yes
32867 else
32868 glibcxx_cv_func_sincosl_use=no
32869 fi
32870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32871 ac_ext=c
32872 ac_cpp='$CPP $CPPFLAGS'
32873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32876
32877
32878 fi
32879
32880 fi
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32882 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32883
32884 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32885 for ac_func in sincosl
32886 do :
32887 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32888 if test "x$ac_cv_func_sincosl" = x""yes; then :
32889 cat >>confdefs.h <<_ACEOF
32890 #define HAVE_SINCOSL 1
32891 _ACEOF
32892
32893 fi
32894 done
32895
32896 else
32897
32898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32899 $as_echo_n "checking for _sincosl declaration... " >&6; }
32900 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32901 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32902 $as_echo_n "(cached) " >&6
32903 else
32904
32905
32906 ac_ext=cpp
32907 ac_cpp='$CXXCPP $CPPFLAGS'
32908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32911
32912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32913 /* end confdefs.h. */
32914 #include <math.h>
32915 int
32916 main ()
32917 {
32918 _sincosl(0, 0, 0);
32919 ;
32920 return 0;
32921 }
32922 _ACEOF
32923 if ac_fn_cxx_try_compile "$LINENO"; then :
32924 glibcxx_cv_func__sincosl_use=yes
32925 else
32926 glibcxx_cv_func__sincosl_use=no
32927 fi
32928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32929 ac_ext=c
32930 ac_cpp='$CPP $CPPFLAGS'
32931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934
32935
32936 fi
32937
32938 fi
32939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32940 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32941
32942 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32943 for ac_func in _sincosl
32944 do :
32945 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32946 if test "x$ac_cv_func__sincosl" = x""yes; then :
32947 cat >>confdefs.h <<_ACEOF
32948 #define HAVE__SINCOSL 1
32949 _ACEOF
32950
32951 fi
32952 done
32953
32954 fi
32955 fi
32956
32957
32958
32959
32960
32961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32962 $as_echo_n "checking for finitel declaration... " >&6; }
32963 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32964 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32965 $as_echo_n "(cached) " >&6
32966 else
32967
32968
32969 ac_ext=cpp
32970 ac_cpp='$CXXCPP $CPPFLAGS'
32971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32974
32975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32976 /* end confdefs.h. */
32977 #include <math.h>
32978 #ifdef HAVE_IEEEFP_H
32979 #include <ieeefp.h>
32980 #endif
32981
32982 int
32983 main ()
32984 {
32985 finitel(0);
32986 ;
32987 return 0;
32988 }
32989 _ACEOF
32990 if ac_fn_cxx_try_compile "$LINENO"; then :
32991 glibcxx_cv_func_finitel_use=yes
32992 else
32993 glibcxx_cv_func_finitel_use=no
32994 fi
32995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32996 ac_ext=c
32997 ac_cpp='$CPP $CPPFLAGS'
32998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33001
33002
33003 fi
33004
33005 fi
33006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33007 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33008
33009 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33010 for ac_func in finitel
33011 do :
33012 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33013 if test "x$ac_cv_func_finitel" = x""yes; then :
33014 cat >>confdefs.h <<_ACEOF
33015 #define HAVE_FINITEL 1
33016 _ACEOF
33017
33018 fi
33019 done
33020
33021 else
33022
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33024 $as_echo_n "checking for _finitel declaration... " >&6; }
33025 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33026 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33027 $as_echo_n "(cached) " >&6
33028 else
33029
33030
33031 ac_ext=cpp
33032 ac_cpp='$CXXCPP $CPPFLAGS'
33033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33036
33037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33038 /* end confdefs.h. */
33039 #include <math.h>
33040 #ifdef HAVE_IEEEFP_H
33041 #include <ieeefp.h>
33042 #endif
33043
33044 int
33045 main ()
33046 {
33047 _finitel(0);
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 if ac_fn_cxx_try_compile "$LINENO"; then :
33053 glibcxx_cv_func__finitel_use=yes
33054 else
33055 glibcxx_cv_func__finitel_use=no
33056 fi
33057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33058 ac_ext=c
33059 ac_cpp='$CPP $CPPFLAGS'
33060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33063
33064
33065 fi
33066
33067 fi
33068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33069 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33070
33071 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33072 for ac_func in _finitel
33073 do :
33074 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33075 if test "x$ac_cv_func__finitel" = x""yes; then :
33076 cat >>confdefs.h <<_ACEOF
33077 #define HAVE__FINITEL 1
33078 _ACEOF
33079
33080 fi
33081 done
33082
33083 fi
33084 fi
33085
33086
33087
33088
33089 LIBS="$ac_save_LIBS"
33090 CXXFLAGS="$ac_save_CXXFLAGS"
33091
33092
33093 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33094 ac_save_CXXFLAGS="$CXXFLAGS"
33095 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33096
33097
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33099 $as_echo_n "checking for strtold declaration... " >&6; }
33100 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33101 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33102 $as_echo_n "(cached) " >&6
33103 else
33104
33105
33106 ac_ext=cpp
33107 ac_cpp='$CXXCPP $CPPFLAGS'
33108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33111
33112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33113 /* end confdefs.h. */
33114 #include <stdlib.h>
33115 int
33116 main ()
33117 {
33118 strtold(0, 0);
33119 ;
33120 return 0;
33121 }
33122 _ACEOF
33123 if ac_fn_cxx_try_compile "$LINENO"; then :
33124 glibcxx_cv_func_strtold_use=yes
33125 else
33126 glibcxx_cv_func_strtold_use=no
33127 fi
33128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33129 ac_ext=c
33130 ac_cpp='$CPP $CPPFLAGS'
33131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33134
33135
33136 fi
33137
33138 fi
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33140 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33141 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33142 for ac_func in strtold
33143 do :
33144 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33145 if test "x$ac_cv_func_strtold" = x""yes; then :
33146 cat >>confdefs.h <<_ACEOF
33147 #define HAVE_STRTOLD 1
33148 _ACEOF
33149
33150 fi
33151 done
33152
33153 fi
33154
33155
33156
33157
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33159 $as_echo_n "checking for strtof declaration... " >&6; }
33160 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33161 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33162 $as_echo_n "(cached) " >&6
33163 else
33164
33165
33166 ac_ext=cpp
33167 ac_cpp='$CXXCPP $CPPFLAGS'
33168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33171
33172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33173 /* end confdefs.h. */
33174 #include <stdlib.h>
33175 int
33176 main ()
33177 {
33178 strtof(0, 0);
33179 ;
33180 return 0;
33181 }
33182 _ACEOF
33183 if ac_fn_cxx_try_compile "$LINENO"; then :
33184 glibcxx_cv_func_strtof_use=yes
33185 else
33186 glibcxx_cv_func_strtof_use=no
33187 fi
33188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33189 ac_ext=c
33190 ac_cpp='$CPP $CPPFLAGS'
33191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33194
33195
33196 fi
33197
33198 fi
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33200 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33201 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33202 for ac_func in strtof
33203 do :
33204 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33205 if test "x$ac_cv_func_strtof" = x""yes; then :
33206 cat >>confdefs.h <<_ACEOF
33207 #define HAVE_STRTOF 1
33208 _ACEOF
33209
33210 fi
33211 done
33212
33213 fi
33214
33215
33216
33217
33218 CXXFLAGS="$ac_save_CXXFLAGS"
33219
33220
33221 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33222
33223 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33224
33225 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33226
33227 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33228
33229
33230 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33231
33232 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33233
33234 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33235
33236 ;;
33237
33238 *-aix*)
33239
33240 # If we're not using GNU ld, then there's no point in even trying these
33241 # tests. Check for that first. We should have already tested for gld
33242 # by now (in libtool), but require it now just to be safe...
33243 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33244 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33245
33246
33247
33248 # The name set by libtool depends on the version of libtool. Shame on us
33249 # for depending on an impl detail, but c'est la vie. Older versions used
33250 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33251 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33252 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33253 # set (hence we're using an older libtool), then set it.
33254 if test x${with_gnu_ld+set} != xset; then
33255 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33256 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33257 with_gnu_ld=no
33258 else
33259 with_gnu_ld=$ac_cv_prog_gnu_ld
33260 fi
33261 fi
33262
33263 # Start by getting the version number. I think the libtool test already
33264 # does some of this, but throws away the result.
33265 glibcxx_ld_is_gold=no
33266 if test x"$with_gnu_ld" = x"yes"; then
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33268 $as_echo_n "checking for ld version... " >&6; }
33269
33270 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33271 glibcxx_ld_is_gold=yes
33272 fi
33273 ldver=`$LD --version 2>/dev/null |
33274 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
33275
33276 glibcxx_gnu_ld_version=`echo $ldver | \
33277 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33279 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33280 fi
33281
33282 # Set --gc-sections.
33283 glibcxx_have_gc_sections=no
33284 if test "$glibcxx_ld_is_gold" = "yes"; then
33285 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33286 glibcxx_have_gc_sections=yes
33287 fi
33288 else
33289 glibcxx_gcsections_min_ld=21602
33290 if test x"$with_gnu_ld" = x"yes" &&
33291 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33292 glibcxx_have_gc_sections=yes
33293 fi
33294 fi
33295 if test "$glibcxx_have_gc_sections" = "yes"; then
33296 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33297 # NB: This flag only works reliably after 2.16.1. Configure tests
33298 # for this are difficult, so hard wire a value that should work.
33299
33300 ac_test_CFLAGS="${CFLAGS+set}"
33301 ac_save_CFLAGS="$CFLAGS"
33302 CFLAGS='-Wl,--gc-sections'
33303
33304 # Check for -Wl,--gc-sections
33305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33306 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33307 if test x$gcc_no_link = xyes; then
33308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33309 fi
33310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33311 /* end confdefs.h. */
33312 int one(void) { return 1; }
33313 int two(void) { return 2; }
33314
33315 int
33316 main ()
33317 {
33318 two();
33319 ;
33320 return 0;
33321 }
33322 _ACEOF
33323 if ac_fn_c_try_link "$LINENO"; then :
33324 ac_gcsections=yes
33325 else
33326 ac_gcsections=no
33327 fi
33328 rm -f core conftest.err conftest.$ac_objext \
33329 conftest$ac_exeext conftest.$ac_ext
33330 if test "$ac_gcsections" = "yes"; then
33331 rm -f conftest.c
33332 touch conftest.c
33333 if $CC -c conftest.c; then
33334 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33335 grep "Warning: gc-sections option ignored" > /dev/null; then
33336 ac_gcsections=no
33337 fi
33338 fi
33339 rm -f conftest.c conftest.o conftest
33340 fi
33341 if test "$ac_gcsections" = "yes"; then
33342 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33343 fi
33344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33345 $as_echo "$ac_gcsections" >&6; }
33346
33347 if test "$ac_test_CFLAGS" = set; then
33348 CFLAGS="$ac_save_CFLAGS"
33349 else
33350 # this is the suspicious part
33351 CFLAGS=''
33352 fi
33353 fi
33354
33355 # Set -z,relro.
33356 # Note this is only for shared objects.
33357 ac_ld_relro=no
33358 if test x"$with_gnu_ld" = x"yes"; then
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33360 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33361 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33362 if test -n "$cxx_z_relo"; then
33363 OPT_LDFLAGS="-Wl,-z,relro"
33364 ac_ld_relro=yes
33365 fi
33366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33367 $as_echo "$ac_ld_relro" >&6; }
33368 fi
33369
33370 # Set linker optimization flags.
33371 if test x"$with_gnu_ld" = x"yes"; then
33372 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33373 fi
33374
33375
33376
33377
33378
33379 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33380 ac_save_CXXFLAGS="$CXXFLAGS"
33381 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33382
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33384 $as_echo_n "checking for sin in -lm... " >&6; }
33385 if test "${ac_cv_lib_m_sin+set}" = set; then :
33386 $as_echo_n "(cached) " >&6
33387 else
33388 ac_check_lib_save_LIBS=$LIBS
33389 LIBS="-lm $LIBS"
33390 if test x$gcc_no_link = xyes; then
33391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33392 fi
33393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33394 /* end confdefs.h. */
33395
33396 /* Override any GCC internal prototype to avoid an error.
33397 Use char because int might match the return type of a GCC
33398 builtin and then its argument prototype would still apply. */
33399 #ifdef __cplusplus
33400 extern "C"
33401 #endif
33402 char sin ();
33403 int
33404 main ()
33405 {
33406 return sin ();
33407 ;
33408 return 0;
33409 }
33410 _ACEOF
33411 if ac_fn_c_try_link "$LINENO"; then :
33412 ac_cv_lib_m_sin=yes
33413 else
33414 ac_cv_lib_m_sin=no
33415 fi
33416 rm -f core conftest.err conftest.$ac_objext \
33417 conftest$ac_exeext conftest.$ac_ext
33418 LIBS=$ac_check_lib_save_LIBS
33419 fi
33420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33421 $as_echo "$ac_cv_lib_m_sin" >&6; }
33422 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33423 libm="-lm"
33424 fi
33425
33426 ac_save_LIBS="$LIBS"
33427 LIBS="$LIBS $libm"
33428
33429
33430
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33432 $as_echo_n "checking for isinf declaration... " >&6; }
33433 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33434 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33435 $as_echo_n "(cached) " >&6
33436 else
33437
33438
33439 ac_ext=cpp
33440 ac_cpp='$CXXCPP $CPPFLAGS'
33441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33444
33445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33446 /* end confdefs.h. */
33447 #include <math.h>
33448 #ifdef HAVE_IEEEFP_H
33449 #include <ieeefp.h>
33450 #endif
33451
33452 int
33453 main ()
33454 {
33455 isinf(0);
33456 ;
33457 return 0;
33458 }
33459 _ACEOF
33460 if ac_fn_cxx_try_compile "$LINENO"; then :
33461 glibcxx_cv_func_isinf_use=yes
33462 else
33463 glibcxx_cv_func_isinf_use=no
33464 fi
33465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33466 ac_ext=c
33467 ac_cpp='$CPP $CPPFLAGS'
33468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33471
33472
33473 fi
33474
33475 fi
33476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33477 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33478
33479 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33480 for ac_func in isinf
33481 do :
33482 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33483 if test "x$ac_cv_func_isinf" = x""yes; then :
33484 cat >>confdefs.h <<_ACEOF
33485 #define HAVE_ISINF 1
33486 _ACEOF
33487
33488 fi
33489 done
33490
33491 else
33492
33493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33494 $as_echo_n "checking for _isinf declaration... " >&6; }
33495 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33496 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33497 $as_echo_n "(cached) " >&6
33498 else
33499
33500
33501 ac_ext=cpp
33502 ac_cpp='$CXXCPP $CPPFLAGS'
33503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33506
33507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33508 /* end confdefs.h. */
33509 #include <math.h>
33510 #ifdef HAVE_IEEEFP_H
33511 #include <ieeefp.h>
33512 #endif
33513
33514 int
33515 main ()
33516 {
33517 _isinf(0);
33518 ;
33519 return 0;
33520 }
33521 _ACEOF
33522 if ac_fn_cxx_try_compile "$LINENO"; then :
33523 glibcxx_cv_func__isinf_use=yes
33524 else
33525 glibcxx_cv_func__isinf_use=no
33526 fi
33527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33528 ac_ext=c
33529 ac_cpp='$CPP $CPPFLAGS'
33530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33533
33534
33535 fi
33536
33537 fi
33538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33539 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33540
33541 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33542 for ac_func in _isinf
33543 do :
33544 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33545 if test "x$ac_cv_func__isinf" = x""yes; then :
33546 cat >>confdefs.h <<_ACEOF
33547 #define HAVE__ISINF 1
33548 _ACEOF
33549
33550 fi
33551 done
33552
33553 fi
33554 fi
33555
33556
33557
33558
33559
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33561 $as_echo_n "checking for isnan declaration... " >&6; }
33562 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33563 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33564 $as_echo_n "(cached) " >&6
33565 else
33566
33567
33568 ac_ext=cpp
33569 ac_cpp='$CXXCPP $CPPFLAGS'
33570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33573
33574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33575 /* end confdefs.h. */
33576 #include <math.h>
33577 #ifdef HAVE_IEEEFP_H
33578 #include <ieeefp.h>
33579 #endif
33580
33581 int
33582 main ()
33583 {
33584 isnan(0);
33585 ;
33586 return 0;
33587 }
33588 _ACEOF
33589 if ac_fn_cxx_try_compile "$LINENO"; then :
33590 glibcxx_cv_func_isnan_use=yes
33591 else
33592 glibcxx_cv_func_isnan_use=no
33593 fi
33594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33595 ac_ext=c
33596 ac_cpp='$CPP $CPPFLAGS'
33597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33600
33601
33602 fi
33603
33604 fi
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33606 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33607
33608 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33609 for ac_func in isnan
33610 do :
33611 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33612 if test "x$ac_cv_func_isnan" = x""yes; then :
33613 cat >>confdefs.h <<_ACEOF
33614 #define HAVE_ISNAN 1
33615 _ACEOF
33616
33617 fi
33618 done
33619
33620 else
33621
33622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33623 $as_echo_n "checking for _isnan declaration... " >&6; }
33624 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33625 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33626 $as_echo_n "(cached) " >&6
33627 else
33628
33629
33630 ac_ext=cpp
33631 ac_cpp='$CXXCPP $CPPFLAGS'
33632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33635
33636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33637 /* end confdefs.h. */
33638 #include <math.h>
33639 #ifdef HAVE_IEEEFP_H
33640 #include <ieeefp.h>
33641 #endif
33642
33643 int
33644 main ()
33645 {
33646 _isnan(0);
33647 ;
33648 return 0;
33649 }
33650 _ACEOF
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652 glibcxx_cv_func__isnan_use=yes
33653 else
33654 glibcxx_cv_func__isnan_use=no
33655 fi
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33657 ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33662
33663
33664 fi
33665
33666 fi
33667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33668 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33669
33670 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33671 for ac_func in _isnan
33672 do :
33673 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33674 if test "x$ac_cv_func__isnan" = x""yes; then :
33675 cat >>confdefs.h <<_ACEOF
33676 #define HAVE__ISNAN 1
33677 _ACEOF
33678
33679 fi
33680 done
33681
33682 fi
33683 fi
33684
33685
33686
33687
33688
33689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33690 $as_echo_n "checking for finite declaration... " >&6; }
33691 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33692 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33693 $as_echo_n "(cached) " >&6
33694 else
33695
33696
33697 ac_ext=cpp
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33702
33703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33704 /* end confdefs.h. */
33705 #include <math.h>
33706 #ifdef HAVE_IEEEFP_H
33707 #include <ieeefp.h>
33708 #endif
33709
33710 int
33711 main ()
33712 {
33713 finite(0);
33714 ;
33715 return 0;
33716 }
33717 _ACEOF
33718 if ac_fn_cxx_try_compile "$LINENO"; then :
33719 glibcxx_cv_func_finite_use=yes
33720 else
33721 glibcxx_cv_func_finite_use=no
33722 fi
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33724 ac_ext=c
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33729
33730
33731 fi
33732
33733 fi
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33735 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33736
33737 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33738 for ac_func in finite
33739 do :
33740 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33741 if test "x$ac_cv_func_finite" = x""yes; then :
33742 cat >>confdefs.h <<_ACEOF
33743 #define HAVE_FINITE 1
33744 _ACEOF
33745
33746 fi
33747 done
33748
33749 else
33750
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33752 $as_echo_n "checking for _finite declaration... " >&6; }
33753 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33754 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33755 $as_echo_n "(cached) " >&6
33756 else
33757
33758
33759 ac_ext=cpp
33760 ac_cpp='$CXXCPP $CPPFLAGS'
33761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33764
33765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33766 /* end confdefs.h. */
33767 #include <math.h>
33768 #ifdef HAVE_IEEEFP_H
33769 #include <ieeefp.h>
33770 #endif
33771
33772 int
33773 main ()
33774 {
33775 _finite(0);
33776 ;
33777 return 0;
33778 }
33779 _ACEOF
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781 glibcxx_cv_func__finite_use=yes
33782 else
33783 glibcxx_cv_func__finite_use=no
33784 fi
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786 ac_ext=c
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33791
33792
33793 fi
33794
33795 fi
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33797 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33798
33799 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33800 for ac_func in _finite
33801 do :
33802 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33803 if test "x$ac_cv_func__finite" = x""yes; then :
33804 cat >>confdefs.h <<_ACEOF
33805 #define HAVE__FINITE 1
33806 _ACEOF
33807
33808 fi
33809 done
33810
33811 fi
33812 fi
33813
33814
33815
33816
33817
33818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33819 $as_echo_n "checking for sincos declaration... " >&6; }
33820 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33821 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33822 $as_echo_n "(cached) " >&6
33823 else
33824
33825
33826 ac_ext=cpp
33827 ac_cpp='$CXXCPP $CPPFLAGS'
33828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33831
33832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33833 /* end confdefs.h. */
33834 #include <math.h>
33835 int
33836 main ()
33837 {
33838 sincos(0, 0, 0);
33839 ;
33840 return 0;
33841 }
33842 _ACEOF
33843 if ac_fn_cxx_try_compile "$LINENO"; then :
33844 glibcxx_cv_func_sincos_use=yes
33845 else
33846 glibcxx_cv_func_sincos_use=no
33847 fi
33848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 ac_ext=c
33850 ac_cpp='$CPP $CPPFLAGS'
33851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33854
33855
33856 fi
33857
33858 fi
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33860 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33861
33862 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33863 for ac_func in sincos
33864 do :
33865 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33866 if test "x$ac_cv_func_sincos" = x""yes; then :
33867 cat >>confdefs.h <<_ACEOF
33868 #define HAVE_SINCOS 1
33869 _ACEOF
33870
33871 fi
33872 done
33873
33874 else
33875
33876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33877 $as_echo_n "checking for _sincos declaration... " >&6; }
33878 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33879 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33880 $as_echo_n "(cached) " >&6
33881 else
33882
33883
33884 ac_ext=cpp
33885 ac_cpp='$CXXCPP $CPPFLAGS'
33886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33889
33890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33891 /* end confdefs.h. */
33892 #include <math.h>
33893 int
33894 main ()
33895 {
33896 _sincos(0, 0, 0);
33897 ;
33898 return 0;
33899 }
33900 _ACEOF
33901 if ac_fn_cxx_try_compile "$LINENO"; then :
33902 glibcxx_cv_func__sincos_use=yes
33903 else
33904 glibcxx_cv_func__sincos_use=no
33905 fi
33906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33907 ac_ext=c
33908 ac_cpp='$CPP $CPPFLAGS'
33909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33912
33913
33914 fi
33915
33916 fi
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33918 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33919
33920 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33921 for ac_func in _sincos
33922 do :
33923 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33924 if test "x$ac_cv_func__sincos" = x""yes; then :
33925 cat >>confdefs.h <<_ACEOF
33926 #define HAVE__SINCOS 1
33927 _ACEOF
33928
33929 fi
33930 done
33931
33932 fi
33933 fi
33934
33935
33936
33937
33938
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33940 $as_echo_n "checking for fpclass declaration... " >&6; }
33941 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33942 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33943 $as_echo_n "(cached) " >&6
33944 else
33945
33946
33947 ac_ext=cpp
33948 ac_cpp='$CXXCPP $CPPFLAGS'
33949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33952
33953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33954 /* end confdefs.h. */
33955 #include <math.h>
33956 #ifdef HAVE_IEEEFP_H
33957 #include <ieeefp.h>
33958 #endif
33959
33960 int
33961 main ()
33962 {
33963 fpclass(0);
33964 ;
33965 return 0;
33966 }
33967 _ACEOF
33968 if ac_fn_cxx_try_compile "$LINENO"; then :
33969 glibcxx_cv_func_fpclass_use=yes
33970 else
33971 glibcxx_cv_func_fpclass_use=no
33972 fi
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33974 ac_ext=c
33975 ac_cpp='$CPP $CPPFLAGS'
33976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33979
33980
33981 fi
33982
33983 fi
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33985 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33986
33987 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33988 for ac_func in fpclass
33989 do :
33990 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33991 if test "x$ac_cv_func_fpclass" = x""yes; then :
33992 cat >>confdefs.h <<_ACEOF
33993 #define HAVE_FPCLASS 1
33994 _ACEOF
33995
33996 fi
33997 done
33998
33999 else
34000
34001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34002 $as_echo_n "checking for _fpclass declaration... " >&6; }
34003 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34004 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34005 $as_echo_n "(cached) " >&6
34006 else
34007
34008
34009 ac_ext=cpp
34010 ac_cpp='$CXXCPP $CPPFLAGS'
34011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34014
34015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34016 /* end confdefs.h. */
34017 #include <math.h>
34018 #ifdef HAVE_IEEEFP_H
34019 #include <ieeefp.h>
34020 #endif
34021
34022 int
34023 main ()
34024 {
34025 _fpclass(0);
34026 ;
34027 return 0;
34028 }
34029 _ACEOF
34030 if ac_fn_cxx_try_compile "$LINENO"; then :
34031 glibcxx_cv_func__fpclass_use=yes
34032 else
34033 glibcxx_cv_func__fpclass_use=no
34034 fi
34035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34036 ac_ext=c
34037 ac_cpp='$CPP $CPPFLAGS'
34038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34041
34042
34043 fi
34044
34045 fi
34046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34047 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34048
34049 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34050 for ac_func in _fpclass
34051 do :
34052 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34053 if test "x$ac_cv_func__fpclass" = x""yes; then :
34054 cat >>confdefs.h <<_ACEOF
34055 #define HAVE__FPCLASS 1
34056 _ACEOF
34057
34058 fi
34059 done
34060
34061 fi
34062 fi
34063
34064
34065
34066
34067
34068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34069 $as_echo_n "checking for qfpclass declaration... " >&6; }
34070 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34071 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34072 $as_echo_n "(cached) " >&6
34073 else
34074
34075
34076 ac_ext=cpp
34077 ac_cpp='$CXXCPP $CPPFLAGS'
34078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34081
34082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34083 /* end confdefs.h. */
34084 #include <math.h>
34085 #ifdef HAVE_IEEEFP_H
34086 #include <ieeefp.h>
34087 #endif
34088
34089 int
34090 main ()
34091 {
34092 qfpclass(0);
34093 ;
34094 return 0;
34095 }
34096 _ACEOF
34097 if ac_fn_cxx_try_compile "$LINENO"; then :
34098 glibcxx_cv_func_qfpclass_use=yes
34099 else
34100 glibcxx_cv_func_qfpclass_use=no
34101 fi
34102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34103 ac_ext=c
34104 ac_cpp='$CPP $CPPFLAGS'
34105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34108
34109
34110 fi
34111
34112 fi
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34114 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34115
34116 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34117 for ac_func in qfpclass
34118 do :
34119 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34120 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34121 cat >>confdefs.h <<_ACEOF
34122 #define HAVE_QFPCLASS 1
34123 _ACEOF
34124
34125 fi
34126 done
34127
34128 else
34129
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34131 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34132 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34133 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34134 $as_echo_n "(cached) " >&6
34135 else
34136
34137
34138 ac_ext=cpp
34139 ac_cpp='$CXXCPP $CPPFLAGS'
34140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34143
34144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34145 /* end confdefs.h. */
34146 #include <math.h>
34147 #ifdef HAVE_IEEEFP_H
34148 #include <ieeefp.h>
34149 #endif
34150
34151 int
34152 main ()
34153 {
34154 _qfpclass(0);
34155 ;
34156 return 0;
34157 }
34158 _ACEOF
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160 glibcxx_cv_func__qfpclass_use=yes
34161 else
34162 glibcxx_cv_func__qfpclass_use=no
34163 fi
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34170
34171
34172 fi
34173
34174 fi
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34176 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34177
34178 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34179 for ac_func in _qfpclass
34180 do :
34181 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34182 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE__QFPCLASS 1
34185 _ACEOF
34186
34187 fi
34188 done
34189
34190 fi
34191 fi
34192
34193
34194
34195
34196
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34198 $as_echo_n "checking for hypot declaration... " >&6; }
34199 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34200 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34201 $as_echo_n "(cached) " >&6
34202 else
34203
34204
34205 ac_ext=cpp
34206 ac_cpp='$CXXCPP $CPPFLAGS'
34207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34210
34211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34212 /* end confdefs.h. */
34213 #include <math.h>
34214 int
34215 main ()
34216 {
34217 hypot(0, 0);
34218 ;
34219 return 0;
34220 }
34221 _ACEOF
34222 if ac_fn_cxx_try_compile "$LINENO"; then :
34223 glibcxx_cv_func_hypot_use=yes
34224 else
34225 glibcxx_cv_func_hypot_use=no
34226 fi
34227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34228 ac_ext=c
34229 ac_cpp='$CPP $CPPFLAGS'
34230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34233
34234
34235 fi
34236
34237 fi
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34239 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34240
34241 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34242 for ac_func in hypot
34243 do :
34244 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34245 if test "x$ac_cv_func_hypot" = x""yes; then :
34246 cat >>confdefs.h <<_ACEOF
34247 #define HAVE_HYPOT 1
34248 _ACEOF
34249
34250 fi
34251 done
34252
34253 else
34254
34255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34256 $as_echo_n "checking for _hypot declaration... " >&6; }
34257 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34258 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34259 $as_echo_n "(cached) " >&6
34260 else
34261
34262
34263 ac_ext=cpp
34264 ac_cpp='$CXXCPP $CPPFLAGS'
34265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34268
34269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34270 /* end confdefs.h. */
34271 #include <math.h>
34272 int
34273 main ()
34274 {
34275 _hypot(0, 0);
34276 ;
34277 return 0;
34278 }
34279 _ACEOF
34280 if ac_fn_cxx_try_compile "$LINENO"; then :
34281 glibcxx_cv_func__hypot_use=yes
34282 else
34283 glibcxx_cv_func__hypot_use=no
34284 fi
34285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34286 ac_ext=c
34287 ac_cpp='$CPP $CPPFLAGS'
34288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34291
34292
34293 fi
34294
34295 fi
34296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34297 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34298
34299 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34300 for ac_func in _hypot
34301 do :
34302 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34303 if test "x$ac_cv_func__hypot" = x""yes; then :
34304 cat >>confdefs.h <<_ACEOF
34305 #define HAVE__HYPOT 1
34306 _ACEOF
34307
34308 fi
34309 done
34310
34311 fi
34312 fi
34313
34314
34315
34316
34317
34318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34319 $as_echo_n "checking for float trig functions... " >&6; }
34320 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34321 $as_echo_n "(cached) " >&6
34322 else
34323
34324
34325 ac_ext=cpp
34326 ac_cpp='$CXXCPP $CPPFLAGS'
34327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34330
34331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34332 /* end confdefs.h. */
34333 #include <math.h>
34334 int
34335 main ()
34336 {
34337 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34338 ;
34339 return 0;
34340 }
34341 _ACEOF
34342 if ac_fn_cxx_try_compile "$LINENO"; then :
34343 glibcxx_cv_func_float_trig_use=yes
34344 else
34345 glibcxx_cv_func_float_trig_use=no
34346 fi
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34348 ac_ext=c
34349 ac_cpp='$CPP $CPPFLAGS'
34350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34353
34354 fi
34355
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34357 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34358 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34359 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34360 do :
34361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34363 eval as_val=\$$as_ac_var
34364 if test "x$as_val" = x""yes; then :
34365 cat >>confdefs.h <<_ACEOF
34366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34367 _ACEOF
34368
34369 fi
34370 done
34371
34372 else
34373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34374 $as_echo_n "checking for _float trig functions... " >&6; }
34375 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34376 $as_echo_n "(cached) " >&6
34377 else
34378
34379
34380 ac_ext=cpp
34381 ac_cpp='$CXXCPP $CPPFLAGS'
34382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34385
34386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34387 /* end confdefs.h. */
34388 #include <math.h>
34389 int
34390 main ()
34391 {
34392 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34393 ;
34394 return 0;
34395 }
34396 _ACEOF
34397 if ac_fn_cxx_try_compile "$LINENO"; then :
34398 glibcxx_cv_func__float_trig_use=yes
34399 else
34400 glibcxx_cv_func__float_trig_use=no
34401 fi
34402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34403 ac_ext=c
34404 ac_cpp='$CPP $CPPFLAGS'
34405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34408
34409 fi
34410
34411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34412 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34413 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34414 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34415 do :
34416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34418 eval as_val=\$$as_ac_var
34419 if test "x$as_val" = x""yes; then :
34420 cat >>confdefs.h <<_ACEOF
34421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34422 _ACEOF
34423
34424 fi
34425 done
34426
34427 fi
34428 fi
34429
34430
34431
34432
34433
34434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34435 $as_echo_n "checking for float round functions... " >&6; }
34436 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34437 $as_echo_n "(cached) " >&6
34438 else
34439
34440
34441 ac_ext=cpp
34442 ac_cpp='$CXXCPP $CPPFLAGS'
34443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34446
34447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34448 /* end confdefs.h. */
34449 #include <math.h>
34450 int
34451 main ()
34452 {
34453 ceilf (0); floorf (0);
34454 ;
34455 return 0;
34456 }
34457 _ACEOF
34458 if ac_fn_cxx_try_compile "$LINENO"; then :
34459 glibcxx_cv_func_float_round_use=yes
34460 else
34461 glibcxx_cv_func_float_round_use=no
34462 fi
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34464 ac_ext=c
34465 ac_cpp='$CPP $CPPFLAGS'
34466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34469
34470 fi
34471
34472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34473 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34474 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34475 for ac_func in ceilf floorf
34476 do :
34477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34479 eval as_val=\$$as_ac_var
34480 if test "x$as_val" = x""yes; then :
34481 cat >>confdefs.h <<_ACEOF
34482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34483 _ACEOF
34484
34485 fi
34486 done
34487
34488 else
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34490 $as_echo_n "checking for _float round functions... " >&6; }
34491 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34492 $as_echo_n "(cached) " >&6
34493 else
34494
34495
34496 ac_ext=cpp
34497 ac_cpp='$CXXCPP $CPPFLAGS'
34498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34501
34502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34503 /* end confdefs.h. */
34504 #include <math.h>
34505 int
34506 main ()
34507 {
34508 _ceilf (0); _floorf (0);
34509 ;
34510 return 0;
34511 }
34512 _ACEOF
34513 if ac_fn_cxx_try_compile "$LINENO"; then :
34514 glibcxx_cv_func__float_round_use=yes
34515 else
34516 glibcxx_cv_func__float_round_use=no
34517 fi
34518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34519 ac_ext=c
34520 ac_cpp='$CPP $CPPFLAGS'
34521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34524
34525 fi
34526
34527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34528 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34529 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34530 for ac_func in _ceilf _floorf
34531 do :
34532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34534 eval as_val=\$$as_ac_var
34535 if test "x$as_val" = x""yes; then :
34536 cat >>confdefs.h <<_ACEOF
34537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34538 _ACEOF
34539
34540 fi
34541 done
34542
34543 fi
34544 fi
34545
34546
34547
34548
34549
34550
34551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34552 $as_echo_n "checking for expf declaration... " >&6; }
34553 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34554 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34555 $as_echo_n "(cached) " >&6
34556 else
34557
34558
34559 ac_ext=cpp
34560 ac_cpp='$CXXCPP $CPPFLAGS'
34561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34564
34565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34566 /* end confdefs.h. */
34567 #include <math.h>
34568 #ifdef HAVE_IEEEFP_H
34569 #include <ieeefp.h>
34570 #endif
34571
34572 int
34573 main ()
34574 {
34575 expf(0);
34576 ;
34577 return 0;
34578 }
34579 _ACEOF
34580 if ac_fn_cxx_try_compile "$LINENO"; then :
34581 glibcxx_cv_func_expf_use=yes
34582 else
34583 glibcxx_cv_func_expf_use=no
34584 fi
34585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34586 ac_ext=c
34587 ac_cpp='$CPP $CPPFLAGS'
34588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34591
34592
34593 fi
34594
34595 fi
34596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34597 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34598
34599 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34600 for ac_func in expf
34601 do :
34602 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34603 if test "x$ac_cv_func_expf" = x""yes; then :
34604 cat >>confdefs.h <<_ACEOF
34605 #define HAVE_EXPF 1
34606 _ACEOF
34607
34608 fi
34609 done
34610
34611 else
34612
34613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34614 $as_echo_n "checking for _expf declaration... " >&6; }
34615 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34616 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34617 $as_echo_n "(cached) " >&6
34618 else
34619
34620
34621 ac_ext=cpp
34622 ac_cpp='$CXXCPP $CPPFLAGS'
34623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34626
34627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34628 /* end confdefs.h. */
34629 #include <math.h>
34630 #ifdef HAVE_IEEEFP_H
34631 #include <ieeefp.h>
34632 #endif
34633
34634 int
34635 main ()
34636 {
34637 _expf(0);
34638 ;
34639 return 0;
34640 }
34641 _ACEOF
34642 if ac_fn_cxx_try_compile "$LINENO"; then :
34643 glibcxx_cv_func__expf_use=yes
34644 else
34645 glibcxx_cv_func__expf_use=no
34646 fi
34647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34648 ac_ext=c
34649 ac_cpp='$CPP $CPPFLAGS'
34650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34653
34654
34655 fi
34656
34657 fi
34658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34659 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34660
34661 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34662 for ac_func in _expf
34663 do :
34664 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34665 if test "x$ac_cv_func__expf" = x""yes; then :
34666 cat >>confdefs.h <<_ACEOF
34667 #define HAVE__EXPF 1
34668 _ACEOF
34669
34670 fi
34671 done
34672
34673 fi
34674 fi
34675
34676
34677
34678
34679
34680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34681 $as_echo_n "checking for isnanf declaration... " >&6; }
34682 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34683 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34684 $as_echo_n "(cached) " >&6
34685 else
34686
34687
34688 ac_ext=cpp
34689 ac_cpp='$CXXCPP $CPPFLAGS'
34690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34693
34694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34695 /* end confdefs.h. */
34696 #include <math.h>
34697 #ifdef HAVE_IEEEFP_H
34698 #include <ieeefp.h>
34699 #endif
34700
34701 int
34702 main ()
34703 {
34704 isnanf(0);
34705 ;
34706 return 0;
34707 }
34708 _ACEOF
34709 if ac_fn_cxx_try_compile "$LINENO"; then :
34710 glibcxx_cv_func_isnanf_use=yes
34711 else
34712 glibcxx_cv_func_isnanf_use=no
34713 fi
34714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34715 ac_ext=c
34716 ac_cpp='$CPP $CPPFLAGS'
34717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34720
34721
34722 fi
34723
34724 fi
34725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34726 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34727
34728 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34729 for ac_func in isnanf
34730 do :
34731 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34732 if test "x$ac_cv_func_isnanf" = x""yes; then :
34733 cat >>confdefs.h <<_ACEOF
34734 #define HAVE_ISNANF 1
34735 _ACEOF
34736
34737 fi
34738 done
34739
34740 else
34741
34742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34743 $as_echo_n "checking for _isnanf declaration... " >&6; }
34744 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34745 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34746 $as_echo_n "(cached) " >&6
34747 else
34748
34749
34750 ac_ext=cpp
34751 ac_cpp='$CXXCPP $CPPFLAGS'
34752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34755
34756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34757 /* end confdefs.h. */
34758 #include <math.h>
34759 #ifdef HAVE_IEEEFP_H
34760 #include <ieeefp.h>
34761 #endif
34762
34763 int
34764 main ()
34765 {
34766 _isnanf(0);
34767 ;
34768 return 0;
34769 }
34770 _ACEOF
34771 if ac_fn_cxx_try_compile "$LINENO"; then :
34772 glibcxx_cv_func__isnanf_use=yes
34773 else
34774 glibcxx_cv_func__isnanf_use=no
34775 fi
34776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34777 ac_ext=c
34778 ac_cpp='$CPP $CPPFLAGS'
34779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34782
34783
34784 fi
34785
34786 fi
34787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34788 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34789
34790 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34791 for ac_func in _isnanf
34792 do :
34793 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34794 if test "x$ac_cv_func__isnanf" = x""yes; then :
34795 cat >>confdefs.h <<_ACEOF
34796 #define HAVE__ISNANF 1
34797 _ACEOF
34798
34799 fi
34800 done
34801
34802 fi
34803 fi
34804
34805
34806
34807
34808
34809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34810 $as_echo_n "checking for isinff declaration... " >&6; }
34811 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34812 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34813 $as_echo_n "(cached) " >&6
34814 else
34815
34816
34817 ac_ext=cpp
34818 ac_cpp='$CXXCPP $CPPFLAGS'
34819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822
34823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34824 /* end confdefs.h. */
34825 #include <math.h>
34826 #ifdef HAVE_IEEEFP_H
34827 #include <ieeefp.h>
34828 #endif
34829
34830 int
34831 main ()
34832 {
34833 isinff(0);
34834 ;
34835 return 0;
34836 }
34837 _ACEOF
34838 if ac_fn_cxx_try_compile "$LINENO"; then :
34839 glibcxx_cv_func_isinff_use=yes
34840 else
34841 glibcxx_cv_func_isinff_use=no
34842 fi
34843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34844 ac_ext=c
34845 ac_cpp='$CPP $CPPFLAGS'
34846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34849
34850
34851 fi
34852
34853 fi
34854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34855 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34856
34857 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34858 for ac_func in isinff
34859 do :
34860 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34861 if test "x$ac_cv_func_isinff" = x""yes; then :
34862 cat >>confdefs.h <<_ACEOF
34863 #define HAVE_ISINFF 1
34864 _ACEOF
34865
34866 fi
34867 done
34868
34869 else
34870
34871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34872 $as_echo_n "checking for _isinff declaration... " >&6; }
34873 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34874 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34875 $as_echo_n "(cached) " >&6
34876 else
34877
34878
34879 ac_ext=cpp
34880 ac_cpp='$CXXCPP $CPPFLAGS'
34881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34884
34885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34886 /* end confdefs.h. */
34887 #include <math.h>
34888 #ifdef HAVE_IEEEFP_H
34889 #include <ieeefp.h>
34890 #endif
34891
34892 int
34893 main ()
34894 {
34895 _isinff(0);
34896 ;
34897 return 0;
34898 }
34899 _ACEOF
34900 if ac_fn_cxx_try_compile "$LINENO"; then :
34901 glibcxx_cv_func__isinff_use=yes
34902 else
34903 glibcxx_cv_func__isinff_use=no
34904 fi
34905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34906 ac_ext=c
34907 ac_cpp='$CPP $CPPFLAGS'
34908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34911
34912
34913 fi
34914
34915 fi
34916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34917 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34918
34919 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34920 for ac_func in _isinff
34921 do :
34922 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34923 if test "x$ac_cv_func__isinff" = x""yes; then :
34924 cat >>confdefs.h <<_ACEOF
34925 #define HAVE__ISINFF 1
34926 _ACEOF
34927
34928 fi
34929 done
34930
34931 fi
34932 fi
34933
34934
34935
34936
34937
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34939 $as_echo_n "checking for atan2f declaration... " >&6; }
34940 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34941 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34942 $as_echo_n "(cached) " >&6
34943 else
34944
34945
34946 ac_ext=cpp
34947 ac_cpp='$CXXCPP $CPPFLAGS'
34948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34951
34952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34953 /* end confdefs.h. */
34954 #include <math.h>
34955 int
34956 main ()
34957 {
34958 atan2f(0, 0);
34959 ;
34960 return 0;
34961 }
34962 _ACEOF
34963 if ac_fn_cxx_try_compile "$LINENO"; then :
34964 glibcxx_cv_func_atan2f_use=yes
34965 else
34966 glibcxx_cv_func_atan2f_use=no
34967 fi
34968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34969 ac_ext=c
34970 ac_cpp='$CPP $CPPFLAGS'
34971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34974
34975
34976 fi
34977
34978 fi
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34980 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34981
34982 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34983 for ac_func in atan2f
34984 do :
34985 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34986 if test "x$ac_cv_func_atan2f" = x""yes; then :
34987 cat >>confdefs.h <<_ACEOF
34988 #define HAVE_ATAN2F 1
34989 _ACEOF
34990
34991 fi
34992 done
34993
34994 else
34995
34996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34997 $as_echo_n "checking for _atan2f declaration... " >&6; }
34998 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34999 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35000 $as_echo_n "(cached) " >&6
35001 else
35002
35003
35004 ac_ext=cpp
35005 ac_cpp='$CXXCPP $CPPFLAGS'
35006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35009
35010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35011 /* end confdefs.h. */
35012 #include <math.h>
35013 int
35014 main ()
35015 {
35016 _atan2f(0, 0);
35017 ;
35018 return 0;
35019 }
35020 _ACEOF
35021 if ac_fn_cxx_try_compile "$LINENO"; then :
35022 glibcxx_cv_func__atan2f_use=yes
35023 else
35024 glibcxx_cv_func__atan2f_use=no
35025 fi
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35027 ac_ext=c
35028 ac_cpp='$CPP $CPPFLAGS'
35029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35032
35033
35034 fi
35035
35036 fi
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35038 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35039
35040 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35041 for ac_func in _atan2f
35042 do :
35043 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35044 if test "x$ac_cv_func__atan2f" = x""yes; then :
35045 cat >>confdefs.h <<_ACEOF
35046 #define HAVE__ATAN2F 1
35047 _ACEOF
35048
35049 fi
35050 done
35051
35052 fi
35053 fi
35054
35055
35056
35057
35058
35059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35060 $as_echo_n "checking for fabsf declaration... " >&6; }
35061 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35062 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35063 $as_echo_n "(cached) " >&6
35064 else
35065
35066
35067 ac_ext=cpp
35068 ac_cpp='$CXXCPP $CPPFLAGS'
35069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35072
35073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35074 /* end confdefs.h. */
35075 #include <math.h>
35076 #ifdef HAVE_IEEEFP_H
35077 #include <ieeefp.h>
35078 #endif
35079
35080 int
35081 main ()
35082 {
35083 fabsf(0);
35084 ;
35085 return 0;
35086 }
35087 _ACEOF
35088 if ac_fn_cxx_try_compile "$LINENO"; then :
35089 glibcxx_cv_func_fabsf_use=yes
35090 else
35091 glibcxx_cv_func_fabsf_use=no
35092 fi
35093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35094 ac_ext=c
35095 ac_cpp='$CPP $CPPFLAGS'
35096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35099
35100
35101 fi
35102
35103 fi
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35105 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35106
35107 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35108 for ac_func in fabsf
35109 do :
35110 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35111 if test "x$ac_cv_func_fabsf" = x""yes; then :
35112 cat >>confdefs.h <<_ACEOF
35113 #define HAVE_FABSF 1
35114 _ACEOF
35115
35116 fi
35117 done
35118
35119 else
35120
35121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35122 $as_echo_n "checking for _fabsf declaration... " >&6; }
35123 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35124 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35125 $as_echo_n "(cached) " >&6
35126 else
35127
35128
35129 ac_ext=cpp
35130 ac_cpp='$CXXCPP $CPPFLAGS'
35131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35134
35135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35136 /* end confdefs.h. */
35137 #include <math.h>
35138 #ifdef HAVE_IEEEFP_H
35139 #include <ieeefp.h>
35140 #endif
35141
35142 int
35143 main ()
35144 {
35145 _fabsf(0);
35146 ;
35147 return 0;
35148 }
35149 _ACEOF
35150 if ac_fn_cxx_try_compile "$LINENO"; then :
35151 glibcxx_cv_func__fabsf_use=yes
35152 else
35153 glibcxx_cv_func__fabsf_use=no
35154 fi
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156 ac_ext=c
35157 ac_cpp='$CPP $CPPFLAGS'
35158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35161
35162
35163 fi
35164
35165 fi
35166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35167 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35168
35169 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35170 for ac_func in _fabsf
35171 do :
35172 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35173 if test "x$ac_cv_func__fabsf" = x""yes; then :
35174 cat >>confdefs.h <<_ACEOF
35175 #define HAVE__FABSF 1
35176 _ACEOF
35177
35178 fi
35179 done
35180
35181 fi
35182 fi
35183
35184
35185
35186
35187
35188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35189 $as_echo_n "checking for fmodf declaration... " >&6; }
35190 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35191 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35192 $as_echo_n "(cached) " >&6
35193 else
35194
35195
35196 ac_ext=cpp
35197 ac_cpp='$CXXCPP $CPPFLAGS'
35198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35201
35202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35203 /* end confdefs.h. */
35204 #include <math.h>
35205 int
35206 main ()
35207 {
35208 fmodf(0, 0);
35209 ;
35210 return 0;
35211 }
35212 _ACEOF
35213 if ac_fn_cxx_try_compile "$LINENO"; then :
35214 glibcxx_cv_func_fmodf_use=yes
35215 else
35216 glibcxx_cv_func_fmodf_use=no
35217 fi
35218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35219 ac_ext=c
35220 ac_cpp='$CPP $CPPFLAGS'
35221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35224
35225
35226 fi
35227
35228 fi
35229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35230 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35231
35232 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35233 for ac_func in fmodf
35234 do :
35235 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35236 if test "x$ac_cv_func_fmodf" = x""yes; then :
35237 cat >>confdefs.h <<_ACEOF
35238 #define HAVE_FMODF 1
35239 _ACEOF
35240
35241 fi
35242 done
35243
35244 else
35245
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35247 $as_echo_n "checking for _fmodf declaration... " >&6; }
35248 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35249 if test "${glibcxx_cv_func__fmodf_use+set}" = set; 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 <math.h>
35263 int
35264 main ()
35265 {
35266 _fmodf(0, 0);
35267 ;
35268 return 0;
35269 }
35270 _ACEOF
35271 if ac_fn_cxx_try_compile "$LINENO"; then :
35272 glibcxx_cv_func__fmodf_use=yes
35273 else
35274 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
35288 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35289
35290 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35291 for ac_func in _fmodf
35292 do :
35293 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35294 if test "x$ac_cv_func__fmodf" = x""yes; then :
35295 cat >>confdefs.h <<_ACEOF
35296 #define HAVE__FMODF 1
35297 _ACEOF
35298
35299 fi
35300 done
35301
35302 fi
35303 fi
35304
35305
35306
35307
35308
35309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35310 $as_echo_n "checking for frexpf declaration... " >&6; }
35311 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35312 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35313 $as_echo_n "(cached) " >&6
35314 else
35315
35316
35317 ac_ext=cpp
35318 ac_cpp='$CXXCPP $CPPFLAGS'
35319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35322
35323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35324 /* end confdefs.h. */
35325 #include <math.h>
35326 int
35327 main ()
35328 {
35329 frexpf(0, 0);
35330 ;
35331 return 0;
35332 }
35333 _ACEOF
35334 if ac_fn_cxx_try_compile "$LINENO"; then :
35335 glibcxx_cv_func_frexpf_use=yes
35336 else
35337 glibcxx_cv_func_frexpf_use=no
35338 fi
35339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35340 ac_ext=c
35341 ac_cpp='$CPP $CPPFLAGS'
35342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35345
35346
35347 fi
35348
35349 fi
35350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35351 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35352
35353 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35354 for ac_func in frexpf
35355 do :
35356 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35357 if test "x$ac_cv_func_frexpf" = x""yes; then :
35358 cat >>confdefs.h <<_ACEOF
35359 #define HAVE_FREXPF 1
35360 _ACEOF
35361
35362 fi
35363 done
35364
35365 else
35366
35367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35368 $as_echo_n "checking for _frexpf declaration... " >&6; }
35369 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35370 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35371 $as_echo_n "(cached) " >&6
35372 else
35373
35374
35375 ac_ext=cpp
35376 ac_cpp='$CXXCPP $CPPFLAGS'
35377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35380
35381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35382 /* end confdefs.h. */
35383 #include <math.h>
35384 int
35385 main ()
35386 {
35387 _frexpf(0, 0);
35388 ;
35389 return 0;
35390 }
35391 _ACEOF
35392 if ac_fn_cxx_try_compile "$LINENO"; then :
35393 glibcxx_cv_func__frexpf_use=yes
35394 else
35395 glibcxx_cv_func__frexpf_use=no
35396 fi
35397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35398 ac_ext=c
35399 ac_cpp='$CPP $CPPFLAGS'
35400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35403
35404
35405 fi
35406
35407 fi
35408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35409 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35410
35411 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35412 for ac_func in _frexpf
35413 do :
35414 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35415 if test "x$ac_cv_func__frexpf" = x""yes; then :
35416 cat >>confdefs.h <<_ACEOF
35417 #define HAVE__FREXPF 1
35418 _ACEOF
35419
35420 fi
35421 done
35422
35423 fi
35424 fi
35425
35426
35427
35428
35429
35430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35431 $as_echo_n "checking for hypotf declaration... " >&6; }
35432 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35433 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35434 $as_echo_n "(cached) " >&6
35435 else
35436
35437
35438 ac_ext=cpp
35439 ac_cpp='$CXXCPP $CPPFLAGS'
35440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35443
35444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35445 /* end confdefs.h. */
35446 #include <math.h>
35447 int
35448 main ()
35449 {
35450 hypotf(0, 0);
35451 ;
35452 return 0;
35453 }
35454 _ACEOF
35455 if ac_fn_cxx_try_compile "$LINENO"; then :
35456 glibcxx_cv_func_hypotf_use=yes
35457 else
35458 glibcxx_cv_func_hypotf_use=no
35459 fi
35460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35461 ac_ext=c
35462 ac_cpp='$CPP $CPPFLAGS'
35463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35466
35467
35468 fi
35469
35470 fi
35471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35472 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35473
35474 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35475 for ac_func in hypotf
35476 do :
35477 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35478 if test "x$ac_cv_func_hypotf" = x""yes; then :
35479 cat >>confdefs.h <<_ACEOF
35480 #define HAVE_HYPOTF 1
35481 _ACEOF
35482
35483 fi
35484 done
35485
35486 else
35487
35488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35489 $as_echo_n "checking for _hypotf declaration... " >&6; }
35490 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35491 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35492 $as_echo_n "(cached) " >&6
35493 else
35494
35495
35496 ac_ext=cpp
35497 ac_cpp='$CXXCPP $CPPFLAGS'
35498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35501
35502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35503 /* end confdefs.h. */
35504 #include <math.h>
35505 int
35506 main ()
35507 {
35508 _hypotf(0, 0);
35509 ;
35510 return 0;
35511 }
35512 _ACEOF
35513 if ac_fn_cxx_try_compile "$LINENO"; then :
35514 glibcxx_cv_func__hypotf_use=yes
35515 else
35516 glibcxx_cv_func__hypotf_use=no
35517 fi
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 ac_ext=c
35520 ac_cpp='$CPP $CPPFLAGS'
35521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524
35525
35526 fi
35527
35528 fi
35529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35530 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35531
35532 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35533 for ac_func in _hypotf
35534 do :
35535 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35536 if test "x$ac_cv_func__hypotf" = x""yes; then :
35537 cat >>confdefs.h <<_ACEOF
35538 #define HAVE__HYPOTF 1
35539 _ACEOF
35540
35541 fi
35542 done
35543
35544 fi
35545 fi
35546
35547
35548
35549
35550
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35552 $as_echo_n "checking for ldexpf declaration... " >&6; }
35553 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35554 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35555 $as_echo_n "(cached) " >&6
35556 else
35557
35558
35559 ac_ext=cpp
35560 ac_cpp='$CXXCPP $CPPFLAGS'
35561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35564
35565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35566 /* end confdefs.h. */
35567 #include <math.h>
35568 int
35569 main ()
35570 {
35571 ldexpf(0, 0);
35572 ;
35573 return 0;
35574 }
35575 _ACEOF
35576 if ac_fn_cxx_try_compile "$LINENO"; then :
35577 glibcxx_cv_func_ldexpf_use=yes
35578 else
35579 glibcxx_cv_func_ldexpf_use=no
35580 fi
35581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35582 ac_ext=c
35583 ac_cpp='$CPP $CPPFLAGS'
35584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35587
35588
35589 fi
35590
35591 fi
35592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35593 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35594
35595 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35596 for ac_func in ldexpf
35597 do :
35598 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35599 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35600 cat >>confdefs.h <<_ACEOF
35601 #define HAVE_LDEXPF 1
35602 _ACEOF
35603
35604 fi
35605 done
35606
35607 else
35608
35609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35610 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35611 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35612 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35613 $as_echo_n "(cached) " >&6
35614 else
35615
35616
35617 ac_ext=cpp
35618 ac_cpp='$CXXCPP $CPPFLAGS'
35619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35622
35623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35624 /* end confdefs.h. */
35625 #include <math.h>
35626 int
35627 main ()
35628 {
35629 _ldexpf(0, 0);
35630 ;
35631 return 0;
35632 }
35633 _ACEOF
35634 if ac_fn_cxx_try_compile "$LINENO"; then :
35635 glibcxx_cv_func__ldexpf_use=yes
35636 else
35637 glibcxx_cv_func__ldexpf_use=no
35638 fi
35639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35640 ac_ext=c
35641 ac_cpp='$CPP $CPPFLAGS'
35642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35645
35646
35647 fi
35648
35649 fi
35650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35651 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35652
35653 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35654 for ac_func in _ldexpf
35655 do :
35656 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35657 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35658 cat >>confdefs.h <<_ACEOF
35659 #define HAVE__LDEXPF 1
35660 _ACEOF
35661
35662 fi
35663 done
35664
35665 fi
35666 fi
35667
35668
35669
35670
35671
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35673 $as_echo_n "checking for logf declaration... " >&6; }
35674 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35675 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35676 $as_echo_n "(cached) " >&6
35677 else
35678
35679
35680 ac_ext=cpp
35681 ac_cpp='$CXXCPP $CPPFLAGS'
35682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35685
35686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35687 /* end confdefs.h. */
35688 #include <math.h>
35689 #ifdef HAVE_IEEEFP_H
35690 #include <ieeefp.h>
35691 #endif
35692
35693 int
35694 main ()
35695 {
35696 logf(0);
35697 ;
35698 return 0;
35699 }
35700 _ACEOF
35701 if ac_fn_cxx_try_compile "$LINENO"; then :
35702 glibcxx_cv_func_logf_use=yes
35703 else
35704 glibcxx_cv_func_logf_use=no
35705 fi
35706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35707 ac_ext=c
35708 ac_cpp='$CPP $CPPFLAGS'
35709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35712
35713
35714 fi
35715
35716 fi
35717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35718 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35719
35720 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35721 for ac_func in logf
35722 do :
35723 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35724 if test "x$ac_cv_func_logf" = x""yes; then :
35725 cat >>confdefs.h <<_ACEOF
35726 #define HAVE_LOGF 1
35727 _ACEOF
35728
35729 fi
35730 done
35731
35732 else
35733
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35735 $as_echo_n "checking for _logf declaration... " >&6; }
35736 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35737 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35738 $as_echo_n "(cached) " >&6
35739 else
35740
35741
35742 ac_ext=cpp
35743 ac_cpp='$CXXCPP $CPPFLAGS'
35744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35747
35748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35749 /* end confdefs.h. */
35750 #include <math.h>
35751 #ifdef HAVE_IEEEFP_H
35752 #include <ieeefp.h>
35753 #endif
35754
35755 int
35756 main ()
35757 {
35758 _logf(0);
35759 ;
35760 return 0;
35761 }
35762 _ACEOF
35763 if ac_fn_cxx_try_compile "$LINENO"; then :
35764 glibcxx_cv_func__logf_use=yes
35765 else
35766 glibcxx_cv_func__logf_use=no
35767 fi
35768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35769 ac_ext=c
35770 ac_cpp='$CPP $CPPFLAGS'
35771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35774
35775
35776 fi
35777
35778 fi
35779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35780 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35781
35782 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35783 for ac_func in _logf
35784 do :
35785 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35786 if test "x$ac_cv_func__logf" = x""yes; then :
35787 cat >>confdefs.h <<_ACEOF
35788 #define HAVE__LOGF 1
35789 _ACEOF
35790
35791 fi
35792 done
35793
35794 fi
35795 fi
35796
35797
35798
35799
35800
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35802 $as_echo_n "checking for log10f declaration... " >&6; }
35803 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35804 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35805 $as_echo_n "(cached) " >&6
35806 else
35807
35808
35809 ac_ext=cpp
35810 ac_cpp='$CXXCPP $CPPFLAGS'
35811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35814
35815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35816 /* end confdefs.h. */
35817 #include <math.h>
35818 #ifdef HAVE_IEEEFP_H
35819 #include <ieeefp.h>
35820 #endif
35821
35822 int
35823 main ()
35824 {
35825 log10f(0);
35826 ;
35827 return 0;
35828 }
35829 _ACEOF
35830 if ac_fn_cxx_try_compile "$LINENO"; then :
35831 glibcxx_cv_func_log10f_use=yes
35832 else
35833 glibcxx_cv_func_log10f_use=no
35834 fi
35835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35836 ac_ext=c
35837 ac_cpp='$CPP $CPPFLAGS'
35838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35841
35842
35843 fi
35844
35845 fi
35846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35847 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35848
35849 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35850 for ac_func in log10f
35851 do :
35852 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35853 if test "x$ac_cv_func_log10f" = x""yes; then :
35854 cat >>confdefs.h <<_ACEOF
35855 #define HAVE_LOG10F 1
35856 _ACEOF
35857
35858 fi
35859 done
35860
35861 else
35862
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35864 $as_echo_n "checking for _log10f declaration... " >&6; }
35865 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35866 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35867 $as_echo_n "(cached) " >&6
35868 else
35869
35870
35871 ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876
35877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 /* end confdefs.h. */
35879 #include <math.h>
35880 #ifdef HAVE_IEEEFP_H
35881 #include <ieeefp.h>
35882 #endif
35883
35884 int
35885 main ()
35886 {
35887 _log10f(0);
35888 ;
35889 return 0;
35890 }
35891 _ACEOF
35892 if ac_fn_cxx_try_compile "$LINENO"; then :
35893 glibcxx_cv_func__log10f_use=yes
35894 else
35895 glibcxx_cv_func__log10f_use=no
35896 fi
35897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35898 ac_ext=c
35899 ac_cpp='$CPP $CPPFLAGS'
35900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35903
35904
35905 fi
35906
35907 fi
35908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35909 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35910
35911 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35912 for ac_func in _log10f
35913 do :
35914 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35915 if test "x$ac_cv_func__log10f" = x""yes; then :
35916 cat >>confdefs.h <<_ACEOF
35917 #define HAVE__LOG10F 1
35918 _ACEOF
35919
35920 fi
35921 done
35922
35923 fi
35924 fi
35925
35926
35927
35928
35929
35930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35931 $as_echo_n "checking for modff declaration... " >&6; }
35932 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35933 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35934 $as_echo_n "(cached) " >&6
35935 else
35936
35937
35938 ac_ext=cpp
35939 ac_cpp='$CXXCPP $CPPFLAGS'
35940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35943
35944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35945 /* end confdefs.h. */
35946 #include <math.h>
35947 int
35948 main ()
35949 {
35950 modff(0, 0);
35951 ;
35952 return 0;
35953 }
35954 _ACEOF
35955 if ac_fn_cxx_try_compile "$LINENO"; then :
35956 glibcxx_cv_func_modff_use=yes
35957 else
35958 glibcxx_cv_func_modff_use=no
35959 fi
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35961 ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966
35967
35968 fi
35969
35970 fi
35971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35972 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35973
35974 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35975 for ac_func in modff
35976 do :
35977 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35978 if test "x$ac_cv_func_modff" = x""yes; then :
35979 cat >>confdefs.h <<_ACEOF
35980 #define HAVE_MODFF 1
35981 _ACEOF
35982
35983 fi
35984 done
35985
35986 else
35987
35988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35989 $as_echo_n "checking for _modff declaration... " >&6; }
35990 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35991 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35992 $as_echo_n "(cached) " >&6
35993 else
35994
35995
35996 ac_ext=cpp
35997 ac_cpp='$CXXCPP $CPPFLAGS'
35998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36001
36002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36003 /* end confdefs.h. */
36004 #include <math.h>
36005 int
36006 main ()
36007 {
36008 _modff(0, 0);
36009 ;
36010 return 0;
36011 }
36012 _ACEOF
36013 if ac_fn_cxx_try_compile "$LINENO"; then :
36014 glibcxx_cv_func__modff_use=yes
36015 else
36016 glibcxx_cv_func__modff_use=no
36017 fi
36018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36019 ac_ext=c
36020 ac_cpp='$CPP $CPPFLAGS'
36021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36024
36025
36026 fi
36027
36028 fi
36029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36030 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36031
36032 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36033 for ac_func in _modff
36034 do :
36035 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36036 if test "x$ac_cv_func__modff" = x""yes; then :
36037 cat >>confdefs.h <<_ACEOF
36038 #define HAVE__MODFF 1
36039 _ACEOF
36040
36041 fi
36042 done
36043
36044 fi
36045 fi
36046
36047
36048
36049
36050
36051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36052 $as_echo_n "checking for modf declaration... " >&6; }
36053 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36054 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36055 $as_echo_n "(cached) " >&6
36056 else
36057
36058
36059 ac_ext=cpp
36060 ac_cpp='$CXXCPP $CPPFLAGS'
36061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36064
36065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36066 /* end confdefs.h. */
36067 #include <math.h>
36068 int
36069 main ()
36070 {
36071 modf(0, 0);
36072 ;
36073 return 0;
36074 }
36075 _ACEOF
36076 if ac_fn_cxx_try_compile "$LINENO"; then :
36077 glibcxx_cv_func_modf_use=yes
36078 else
36079 glibcxx_cv_func_modf_use=no
36080 fi
36081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36082 ac_ext=c
36083 ac_cpp='$CPP $CPPFLAGS'
36084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36087
36088
36089 fi
36090
36091 fi
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36093 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36094
36095 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36096 for ac_func in modf
36097 do :
36098 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36099 if test "x$ac_cv_func_modf" = x""yes; then :
36100 cat >>confdefs.h <<_ACEOF
36101 #define HAVE_MODF 1
36102 _ACEOF
36103
36104 fi
36105 done
36106
36107 else
36108
36109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36110 $as_echo_n "checking for _modf declaration... " >&6; }
36111 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36112 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36113 $as_echo_n "(cached) " >&6
36114 else
36115
36116
36117 ac_ext=cpp
36118 ac_cpp='$CXXCPP $CPPFLAGS'
36119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36122
36123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36124 /* end confdefs.h. */
36125 #include <math.h>
36126 int
36127 main ()
36128 {
36129 _modf(0, 0);
36130 ;
36131 return 0;
36132 }
36133 _ACEOF
36134 if ac_fn_cxx_try_compile "$LINENO"; then :
36135 glibcxx_cv_func__modf_use=yes
36136 else
36137 glibcxx_cv_func__modf_use=no
36138 fi
36139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36140 ac_ext=c
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36145
36146
36147 fi
36148
36149 fi
36150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36151 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36152
36153 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36154 for ac_func in _modf
36155 do :
36156 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36157 if test "x$ac_cv_func__modf" = x""yes; then :
36158 cat >>confdefs.h <<_ACEOF
36159 #define HAVE__MODF 1
36160 _ACEOF
36161
36162 fi
36163 done
36164
36165 fi
36166 fi
36167
36168
36169
36170
36171
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36173 $as_echo_n "checking for powf declaration... " >&6; }
36174 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36175 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36176 $as_echo_n "(cached) " >&6
36177 else
36178
36179
36180 ac_ext=cpp
36181 ac_cpp='$CXXCPP $CPPFLAGS'
36182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36185
36186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36187 /* end confdefs.h. */
36188 #include <math.h>
36189 int
36190 main ()
36191 {
36192 powf(0, 0);
36193 ;
36194 return 0;
36195 }
36196 _ACEOF
36197 if ac_fn_cxx_try_compile "$LINENO"; then :
36198 glibcxx_cv_func_powf_use=yes
36199 else
36200 glibcxx_cv_func_powf_use=no
36201 fi
36202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36203 ac_ext=c
36204 ac_cpp='$CPP $CPPFLAGS'
36205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36208
36209
36210 fi
36211
36212 fi
36213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36214 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36215
36216 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36217 for ac_func in powf
36218 do :
36219 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36220 if test "x$ac_cv_func_powf" = x""yes; then :
36221 cat >>confdefs.h <<_ACEOF
36222 #define HAVE_POWF 1
36223 _ACEOF
36224
36225 fi
36226 done
36227
36228 else
36229
36230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36231 $as_echo_n "checking for _powf declaration... " >&6; }
36232 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36233 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36234 $as_echo_n "(cached) " >&6
36235 else
36236
36237
36238 ac_ext=cpp
36239 ac_cpp='$CXXCPP $CPPFLAGS'
36240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36243
36244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36245 /* end confdefs.h. */
36246 #include <math.h>
36247 int
36248 main ()
36249 {
36250 _powf(0, 0);
36251 ;
36252 return 0;
36253 }
36254 _ACEOF
36255 if ac_fn_cxx_try_compile "$LINENO"; then :
36256 glibcxx_cv_func__powf_use=yes
36257 else
36258 glibcxx_cv_func__powf_use=no
36259 fi
36260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36261 ac_ext=c
36262 ac_cpp='$CPP $CPPFLAGS'
36263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36266
36267
36268 fi
36269
36270 fi
36271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36272 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36273
36274 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36275 for ac_func in _powf
36276 do :
36277 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36278 if test "x$ac_cv_func__powf" = x""yes; then :
36279 cat >>confdefs.h <<_ACEOF
36280 #define HAVE__POWF 1
36281 _ACEOF
36282
36283 fi
36284 done
36285
36286 fi
36287 fi
36288
36289
36290
36291
36292
36293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36294 $as_echo_n "checking for sqrtf declaration... " >&6; }
36295 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36296 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36297 $as_echo_n "(cached) " >&6
36298 else
36299
36300
36301 ac_ext=cpp
36302 ac_cpp='$CXXCPP $CPPFLAGS'
36303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36306
36307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36308 /* end confdefs.h. */
36309 #include <math.h>
36310 #ifdef HAVE_IEEEFP_H
36311 #include <ieeefp.h>
36312 #endif
36313
36314 int
36315 main ()
36316 {
36317 sqrtf(0);
36318 ;
36319 return 0;
36320 }
36321 _ACEOF
36322 if ac_fn_cxx_try_compile "$LINENO"; then :
36323 glibcxx_cv_func_sqrtf_use=yes
36324 else
36325 glibcxx_cv_func_sqrtf_use=no
36326 fi
36327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36328 ac_ext=c
36329 ac_cpp='$CPP $CPPFLAGS'
36330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36333
36334
36335 fi
36336
36337 fi
36338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36339 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36340
36341 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36342 for ac_func in sqrtf
36343 do :
36344 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36345 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36346 cat >>confdefs.h <<_ACEOF
36347 #define HAVE_SQRTF 1
36348 _ACEOF
36349
36350 fi
36351 done
36352
36353 else
36354
36355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36356 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36357 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36358 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36359 $as_echo_n "(cached) " >&6
36360 else
36361
36362
36363 ac_ext=cpp
36364 ac_cpp='$CXXCPP $CPPFLAGS'
36365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36368
36369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36370 /* end confdefs.h. */
36371 #include <math.h>
36372 #ifdef HAVE_IEEEFP_H
36373 #include <ieeefp.h>
36374 #endif
36375
36376 int
36377 main ()
36378 {
36379 _sqrtf(0);
36380 ;
36381 return 0;
36382 }
36383 _ACEOF
36384 if ac_fn_cxx_try_compile "$LINENO"; then :
36385 glibcxx_cv_func__sqrtf_use=yes
36386 else
36387 glibcxx_cv_func__sqrtf_use=no
36388 fi
36389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36390 ac_ext=c
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36395
36396
36397 fi
36398
36399 fi
36400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36401 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36402
36403 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36404 for ac_func in _sqrtf
36405 do :
36406 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36407 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36408 cat >>confdefs.h <<_ACEOF
36409 #define HAVE__SQRTF 1
36410 _ACEOF
36411
36412 fi
36413 done
36414
36415 fi
36416 fi
36417
36418
36419
36420
36421
36422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36423 $as_echo_n "checking for sincosf declaration... " >&6; }
36424 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36425 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36426 $as_echo_n "(cached) " >&6
36427 else
36428
36429
36430 ac_ext=cpp
36431 ac_cpp='$CXXCPP $CPPFLAGS'
36432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36435
36436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36437 /* end confdefs.h. */
36438 #include <math.h>
36439 int
36440 main ()
36441 {
36442 sincosf(0, 0, 0);
36443 ;
36444 return 0;
36445 }
36446 _ACEOF
36447 if ac_fn_cxx_try_compile "$LINENO"; then :
36448 glibcxx_cv_func_sincosf_use=yes
36449 else
36450 glibcxx_cv_func_sincosf_use=no
36451 fi
36452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36453 ac_ext=c
36454 ac_cpp='$CPP $CPPFLAGS'
36455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36458
36459
36460 fi
36461
36462 fi
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36464 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36465
36466 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36467 for ac_func in sincosf
36468 do :
36469 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36470 if test "x$ac_cv_func_sincosf" = x""yes; then :
36471 cat >>confdefs.h <<_ACEOF
36472 #define HAVE_SINCOSF 1
36473 _ACEOF
36474
36475 fi
36476 done
36477
36478 else
36479
36480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36481 $as_echo_n "checking for _sincosf declaration... " >&6; }
36482 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36483 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36484 $as_echo_n "(cached) " >&6
36485 else
36486
36487
36488 ac_ext=cpp
36489 ac_cpp='$CXXCPP $CPPFLAGS'
36490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36493
36494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36495 /* end confdefs.h. */
36496 #include <math.h>
36497 int
36498 main ()
36499 {
36500 _sincosf(0, 0, 0);
36501 ;
36502 return 0;
36503 }
36504 _ACEOF
36505 if ac_fn_cxx_try_compile "$LINENO"; then :
36506 glibcxx_cv_func__sincosf_use=yes
36507 else
36508 glibcxx_cv_func__sincosf_use=no
36509 fi
36510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36511 ac_ext=c
36512 ac_cpp='$CPP $CPPFLAGS'
36513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36516
36517
36518 fi
36519
36520 fi
36521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36522 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36523
36524 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36525 for ac_func in _sincosf
36526 do :
36527 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36528 if test "x$ac_cv_func__sincosf" = x""yes; then :
36529 cat >>confdefs.h <<_ACEOF
36530 #define HAVE__SINCOSF 1
36531 _ACEOF
36532
36533 fi
36534 done
36535
36536 fi
36537 fi
36538
36539
36540
36541
36542
36543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36544 $as_echo_n "checking for finitef declaration... " >&6; }
36545 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36546 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36547 $as_echo_n "(cached) " >&6
36548 else
36549
36550
36551 ac_ext=cpp
36552 ac_cpp='$CXXCPP $CPPFLAGS'
36553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36556
36557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36558 /* end confdefs.h. */
36559 #include <math.h>
36560 #ifdef HAVE_IEEEFP_H
36561 #include <ieeefp.h>
36562 #endif
36563
36564 int
36565 main ()
36566 {
36567 finitef(0);
36568 ;
36569 return 0;
36570 }
36571 _ACEOF
36572 if ac_fn_cxx_try_compile "$LINENO"; then :
36573 glibcxx_cv_func_finitef_use=yes
36574 else
36575 glibcxx_cv_func_finitef_use=no
36576 fi
36577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36578 ac_ext=c
36579 ac_cpp='$CPP $CPPFLAGS'
36580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36583
36584
36585 fi
36586
36587 fi
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36589 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36590
36591 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36592 for ac_func in finitef
36593 do :
36594 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36595 if test "x$ac_cv_func_finitef" = x""yes; then :
36596 cat >>confdefs.h <<_ACEOF
36597 #define HAVE_FINITEF 1
36598 _ACEOF
36599
36600 fi
36601 done
36602
36603 else
36604
36605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36606 $as_echo_n "checking for _finitef declaration... " >&6; }
36607 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36608 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36609 $as_echo_n "(cached) " >&6
36610 else
36611
36612
36613 ac_ext=cpp
36614 ac_cpp='$CXXCPP $CPPFLAGS'
36615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36618
36619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36620 /* end confdefs.h. */
36621 #include <math.h>
36622 #ifdef HAVE_IEEEFP_H
36623 #include <ieeefp.h>
36624 #endif
36625
36626 int
36627 main ()
36628 {
36629 _finitef(0);
36630 ;
36631 return 0;
36632 }
36633 _ACEOF
36634 if ac_fn_cxx_try_compile "$LINENO"; then :
36635 glibcxx_cv_func__finitef_use=yes
36636 else
36637 glibcxx_cv_func__finitef_use=no
36638 fi
36639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36640 ac_ext=c
36641 ac_cpp='$CPP $CPPFLAGS'
36642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36645
36646
36647 fi
36648
36649 fi
36650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36651 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36652
36653 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36654 for ac_func in _finitef
36655 do :
36656 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36657 if test "x$ac_cv_func__finitef" = x""yes; then :
36658 cat >>confdefs.h <<_ACEOF
36659 #define HAVE__FINITEF 1
36660 _ACEOF
36661
36662 fi
36663 done
36664
36665 fi
36666 fi
36667
36668
36669
36670
36671
36672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36673 $as_echo_n "checking for long double trig functions... " >&6; }
36674 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36675 $as_echo_n "(cached) " >&6
36676 else
36677
36678
36679 ac_ext=cpp
36680 ac_cpp='$CXXCPP $CPPFLAGS'
36681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36684
36685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36686 /* end confdefs.h. */
36687 #include <math.h>
36688 int
36689 main ()
36690 {
36691 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36692 ;
36693 return 0;
36694 }
36695 _ACEOF
36696 if ac_fn_cxx_try_compile "$LINENO"; then :
36697 glibcxx_cv_func_long_double_trig_use=yes
36698 else
36699 glibcxx_cv_func_long_double_trig_use=no
36700 fi
36701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36702 ac_ext=c
36703 ac_cpp='$CPP $CPPFLAGS'
36704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36707
36708 fi
36709
36710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36711 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36712 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36713 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36714 do :
36715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36717 eval as_val=\$$as_ac_var
36718 if test "x$as_val" = x""yes; then :
36719 cat >>confdefs.h <<_ACEOF
36720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36721 _ACEOF
36722
36723 fi
36724 done
36725
36726 else
36727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36728 $as_echo_n "checking for _long double trig functions... " >&6; }
36729 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36730 $as_echo_n "(cached) " >&6
36731 else
36732
36733
36734 ac_ext=cpp
36735 ac_cpp='$CXXCPP $CPPFLAGS'
36736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36739
36740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36741 /* end confdefs.h. */
36742 #include <math.h>
36743 int
36744 main ()
36745 {
36746 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36747 ;
36748 return 0;
36749 }
36750 _ACEOF
36751 if ac_fn_cxx_try_compile "$LINENO"; then :
36752 glibcxx_cv_func__long_double_trig_use=yes
36753 else
36754 glibcxx_cv_func__long_double_trig_use=no
36755 fi
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36762
36763 fi
36764
36765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36766 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36767 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36768 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36769 do :
36770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36772 eval as_val=\$$as_ac_var
36773 if test "x$as_val" = x""yes; then :
36774 cat >>confdefs.h <<_ACEOF
36775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36776 _ACEOF
36777
36778 fi
36779 done
36780
36781 fi
36782 fi
36783
36784
36785
36786
36787
36788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36789 $as_echo_n "checking for long double round functions... " >&6; }
36790 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36791 $as_echo_n "(cached) " >&6
36792 else
36793
36794
36795 ac_ext=cpp
36796 ac_cpp='$CXXCPP $CPPFLAGS'
36797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36800
36801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36802 /* end confdefs.h. */
36803 #include <math.h>
36804 int
36805 main ()
36806 {
36807 ceill (0); floorl (0);
36808 ;
36809 return 0;
36810 }
36811 _ACEOF
36812 if ac_fn_cxx_try_compile "$LINENO"; then :
36813 glibcxx_cv_func_long_double_round_use=yes
36814 else
36815 glibcxx_cv_func_long_double_round_use=no
36816 fi
36817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36818 ac_ext=c
36819 ac_cpp='$CPP $CPPFLAGS'
36820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36823
36824 fi
36825
36826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36827 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36828 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36829 for ac_func in ceill floorl
36830 do :
36831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36833 eval as_val=\$$as_ac_var
36834 if test "x$as_val" = x""yes; then :
36835 cat >>confdefs.h <<_ACEOF
36836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36837 _ACEOF
36838
36839 fi
36840 done
36841
36842 else
36843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36844 $as_echo_n "checking for _long double round functions... " >&6; }
36845 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36846 $as_echo_n "(cached) " >&6
36847 else
36848
36849
36850 ac_ext=cpp
36851 ac_cpp='$CXXCPP $CPPFLAGS'
36852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36855
36856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36857 /* end confdefs.h. */
36858 #include <math.h>
36859 int
36860 main ()
36861 {
36862 _ceill (0); _floorl (0);
36863 ;
36864 return 0;
36865 }
36866 _ACEOF
36867 if ac_fn_cxx_try_compile "$LINENO"; then :
36868 glibcxx_cv_func__long_double_round_use=yes
36869 else
36870 glibcxx_cv_func__long_double_round_use=no
36871 fi
36872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36873 ac_ext=c
36874 ac_cpp='$CPP $CPPFLAGS'
36875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36878
36879 fi
36880
36881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36882 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36883 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36884 for ac_func in _ceill _floorl
36885 do :
36886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36888 eval as_val=\$$as_ac_var
36889 if test "x$as_val" = x""yes; then :
36890 cat >>confdefs.h <<_ACEOF
36891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36892 _ACEOF
36893
36894 fi
36895 done
36896
36897 fi
36898 fi
36899
36900
36901
36902
36903
36904
36905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36906 $as_echo_n "checking for isnanl declaration... " >&6; }
36907 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36908 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36909 $as_echo_n "(cached) " >&6
36910 else
36911
36912
36913 ac_ext=cpp
36914 ac_cpp='$CXXCPP $CPPFLAGS'
36915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36918
36919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36920 /* end confdefs.h. */
36921 #include <math.h>
36922 #ifdef HAVE_IEEEFP_H
36923 #include <ieeefp.h>
36924 #endif
36925
36926 int
36927 main ()
36928 {
36929 isnanl(0);
36930 ;
36931 return 0;
36932 }
36933 _ACEOF
36934 if ac_fn_cxx_try_compile "$LINENO"; then :
36935 glibcxx_cv_func_isnanl_use=yes
36936 else
36937 glibcxx_cv_func_isnanl_use=no
36938 fi
36939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36940 ac_ext=c
36941 ac_cpp='$CPP $CPPFLAGS'
36942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36945
36946
36947 fi
36948
36949 fi
36950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36951 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36952
36953 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36954 for ac_func in isnanl
36955 do :
36956 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36957 if test "x$ac_cv_func_isnanl" = x""yes; then :
36958 cat >>confdefs.h <<_ACEOF
36959 #define HAVE_ISNANL 1
36960 _ACEOF
36961
36962 fi
36963 done
36964
36965 else
36966
36967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36968 $as_echo_n "checking for _isnanl declaration... " >&6; }
36969 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36970 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36971 $as_echo_n "(cached) " >&6
36972 else
36973
36974
36975 ac_ext=cpp
36976 ac_cpp='$CXXCPP $CPPFLAGS'
36977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36980
36981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36982 /* end confdefs.h. */
36983 #include <math.h>
36984 #ifdef HAVE_IEEEFP_H
36985 #include <ieeefp.h>
36986 #endif
36987
36988 int
36989 main ()
36990 {
36991 _isnanl(0);
36992 ;
36993 return 0;
36994 }
36995 _ACEOF
36996 if ac_fn_cxx_try_compile "$LINENO"; then :
36997 glibcxx_cv_func__isnanl_use=yes
36998 else
36999 glibcxx_cv_func__isnanl_use=no
37000 fi
37001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37002 ac_ext=c
37003 ac_cpp='$CPP $CPPFLAGS'
37004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37007
37008
37009 fi
37010
37011 fi
37012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37013 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37014
37015 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37016 for ac_func in _isnanl
37017 do :
37018 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37019 if test "x$ac_cv_func__isnanl" = x""yes; then :
37020 cat >>confdefs.h <<_ACEOF
37021 #define HAVE__ISNANL 1
37022 _ACEOF
37023
37024 fi
37025 done
37026
37027 fi
37028 fi
37029
37030
37031
37032
37033
37034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37035 $as_echo_n "checking for isinfl declaration... " >&6; }
37036 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37037 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37038 $as_echo_n "(cached) " >&6
37039 else
37040
37041
37042 ac_ext=cpp
37043 ac_cpp='$CXXCPP $CPPFLAGS'
37044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37047
37048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37049 /* end confdefs.h. */
37050 #include <math.h>
37051 #ifdef HAVE_IEEEFP_H
37052 #include <ieeefp.h>
37053 #endif
37054
37055 int
37056 main ()
37057 {
37058 isinfl(0);
37059 ;
37060 return 0;
37061 }
37062 _ACEOF
37063 if ac_fn_cxx_try_compile "$LINENO"; then :
37064 glibcxx_cv_func_isinfl_use=yes
37065 else
37066 glibcxx_cv_func_isinfl_use=no
37067 fi
37068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37069 ac_ext=c
37070 ac_cpp='$CPP $CPPFLAGS'
37071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37074
37075
37076 fi
37077
37078 fi
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37080 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37081
37082 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37083 for ac_func in isinfl
37084 do :
37085 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37086 if test "x$ac_cv_func_isinfl" = x""yes; then :
37087 cat >>confdefs.h <<_ACEOF
37088 #define HAVE_ISINFL 1
37089 _ACEOF
37090
37091 fi
37092 done
37093
37094 else
37095
37096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37097 $as_echo_n "checking for _isinfl declaration... " >&6; }
37098 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37099 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37100 $as_echo_n "(cached) " >&6
37101 else
37102
37103
37104 ac_ext=cpp
37105 ac_cpp='$CXXCPP $CPPFLAGS'
37106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109
37110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37111 /* end confdefs.h. */
37112 #include <math.h>
37113 #ifdef HAVE_IEEEFP_H
37114 #include <ieeefp.h>
37115 #endif
37116
37117 int
37118 main ()
37119 {
37120 _isinfl(0);
37121 ;
37122 return 0;
37123 }
37124 _ACEOF
37125 if ac_fn_cxx_try_compile "$LINENO"; then :
37126 glibcxx_cv_func__isinfl_use=yes
37127 else
37128 glibcxx_cv_func__isinfl_use=no
37129 fi
37130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37131 ac_ext=c
37132 ac_cpp='$CPP $CPPFLAGS'
37133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37136
37137
37138 fi
37139
37140 fi
37141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37142 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37143
37144 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37145 for ac_func in _isinfl
37146 do :
37147 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37148 if test "x$ac_cv_func__isinfl" = x""yes; then :
37149 cat >>confdefs.h <<_ACEOF
37150 #define HAVE__ISINFL 1
37151 _ACEOF
37152
37153 fi
37154 done
37155
37156 fi
37157 fi
37158
37159
37160
37161
37162
37163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37164 $as_echo_n "checking for atan2l declaration... " >&6; }
37165 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37166 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37167 $as_echo_n "(cached) " >&6
37168 else
37169
37170
37171 ac_ext=cpp
37172 ac_cpp='$CXXCPP $CPPFLAGS'
37173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176
37177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37178 /* end confdefs.h. */
37179 #include <math.h>
37180 int
37181 main ()
37182 {
37183 atan2l(0, 0);
37184 ;
37185 return 0;
37186 }
37187 _ACEOF
37188 if ac_fn_cxx_try_compile "$LINENO"; then :
37189 glibcxx_cv_func_atan2l_use=yes
37190 else
37191 glibcxx_cv_func_atan2l_use=no
37192 fi
37193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37194 ac_ext=c
37195 ac_cpp='$CPP $CPPFLAGS'
37196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37199
37200
37201 fi
37202
37203 fi
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37205 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37206
37207 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37208 for ac_func in atan2l
37209 do :
37210 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37211 if test "x$ac_cv_func_atan2l" = x""yes; then :
37212 cat >>confdefs.h <<_ACEOF
37213 #define HAVE_ATAN2L 1
37214 _ACEOF
37215
37216 fi
37217 done
37218
37219 else
37220
37221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37222 $as_echo_n "checking for _atan2l declaration... " >&6; }
37223 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37224 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37225 $as_echo_n "(cached) " >&6
37226 else
37227
37228
37229 ac_ext=cpp
37230 ac_cpp='$CXXCPP $CPPFLAGS'
37231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37234
37235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37236 /* end confdefs.h. */
37237 #include <math.h>
37238 int
37239 main ()
37240 {
37241 _atan2l(0, 0);
37242 ;
37243 return 0;
37244 }
37245 _ACEOF
37246 if ac_fn_cxx_try_compile "$LINENO"; then :
37247 glibcxx_cv_func__atan2l_use=yes
37248 else
37249 glibcxx_cv_func__atan2l_use=no
37250 fi
37251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37252 ac_ext=c
37253 ac_cpp='$CPP $CPPFLAGS'
37254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37257
37258
37259 fi
37260
37261 fi
37262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37263 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37264
37265 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37266 for ac_func in _atan2l
37267 do :
37268 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37269 if test "x$ac_cv_func__atan2l" = x""yes; then :
37270 cat >>confdefs.h <<_ACEOF
37271 #define HAVE__ATAN2L 1
37272 _ACEOF
37273
37274 fi
37275 done
37276
37277 fi
37278 fi
37279
37280
37281
37282
37283
37284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37285 $as_echo_n "checking for expl declaration... " >&6; }
37286 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37287 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37288 $as_echo_n "(cached) " >&6
37289 else
37290
37291
37292 ac_ext=cpp
37293 ac_cpp='$CXXCPP $CPPFLAGS'
37294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37297
37298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37299 /* end confdefs.h. */
37300 #include <math.h>
37301 #ifdef HAVE_IEEEFP_H
37302 #include <ieeefp.h>
37303 #endif
37304
37305 int
37306 main ()
37307 {
37308 expl(0);
37309 ;
37310 return 0;
37311 }
37312 _ACEOF
37313 if ac_fn_cxx_try_compile "$LINENO"; then :
37314 glibcxx_cv_func_expl_use=yes
37315 else
37316 glibcxx_cv_func_expl_use=no
37317 fi
37318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37319 ac_ext=c
37320 ac_cpp='$CPP $CPPFLAGS'
37321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37324
37325
37326 fi
37327
37328 fi
37329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37330 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37331
37332 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37333 for ac_func in expl
37334 do :
37335 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37336 if test "x$ac_cv_func_expl" = x""yes; then :
37337 cat >>confdefs.h <<_ACEOF
37338 #define HAVE_EXPL 1
37339 _ACEOF
37340
37341 fi
37342 done
37343
37344 else
37345
37346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37347 $as_echo_n "checking for _expl declaration... " >&6; }
37348 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37349 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37350 $as_echo_n "(cached) " >&6
37351 else
37352
37353
37354 ac_ext=cpp
37355 ac_cpp='$CXXCPP $CPPFLAGS'
37356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37359
37360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37361 /* end confdefs.h. */
37362 #include <math.h>
37363 #ifdef HAVE_IEEEFP_H
37364 #include <ieeefp.h>
37365 #endif
37366
37367 int
37368 main ()
37369 {
37370 _expl(0);
37371 ;
37372 return 0;
37373 }
37374 _ACEOF
37375 if ac_fn_cxx_try_compile "$LINENO"; then :
37376 glibcxx_cv_func__expl_use=yes
37377 else
37378 glibcxx_cv_func__expl_use=no
37379 fi
37380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37381 ac_ext=c
37382 ac_cpp='$CPP $CPPFLAGS'
37383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37386
37387
37388 fi
37389
37390 fi
37391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37392 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37393
37394 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37395 for ac_func in _expl
37396 do :
37397 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37398 if test "x$ac_cv_func__expl" = x""yes; then :
37399 cat >>confdefs.h <<_ACEOF
37400 #define HAVE__EXPL 1
37401 _ACEOF
37402
37403 fi
37404 done
37405
37406 fi
37407 fi
37408
37409
37410
37411
37412
37413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37414 $as_echo_n "checking for fabsl declaration... " >&6; }
37415 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37416 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37417 $as_echo_n "(cached) " >&6
37418 else
37419
37420
37421 ac_ext=cpp
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37426
37427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37429 #include <math.h>
37430 #ifdef HAVE_IEEEFP_H
37431 #include <ieeefp.h>
37432 #endif
37433
37434 int
37435 main ()
37436 {
37437 fabsl(0);
37438 ;
37439 return 0;
37440 }
37441 _ACEOF
37442 if ac_fn_cxx_try_compile "$LINENO"; then :
37443 glibcxx_cv_func_fabsl_use=yes
37444 else
37445 glibcxx_cv_func_fabsl_use=no
37446 fi
37447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37448 ac_ext=c
37449 ac_cpp='$CPP $CPPFLAGS'
37450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37453
37454
37455 fi
37456
37457 fi
37458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37459 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37460
37461 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37462 for ac_func in fabsl
37463 do :
37464 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37465 if test "x$ac_cv_func_fabsl" = x""yes; then :
37466 cat >>confdefs.h <<_ACEOF
37467 #define HAVE_FABSL 1
37468 _ACEOF
37469
37470 fi
37471 done
37472
37473 else
37474
37475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37476 $as_echo_n "checking for _fabsl declaration... " >&6; }
37477 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37478 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37479 $as_echo_n "(cached) " >&6
37480 else
37481
37482
37483 ac_ext=cpp
37484 ac_cpp='$CXXCPP $CPPFLAGS'
37485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37488
37489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37490 /* end confdefs.h. */
37491 #include <math.h>
37492 #ifdef HAVE_IEEEFP_H
37493 #include <ieeefp.h>
37494 #endif
37495
37496 int
37497 main ()
37498 {
37499 _fabsl(0);
37500 ;
37501 return 0;
37502 }
37503 _ACEOF
37504 if ac_fn_cxx_try_compile "$LINENO"; then :
37505 glibcxx_cv_func__fabsl_use=yes
37506 else
37507 glibcxx_cv_func__fabsl_use=no
37508 fi
37509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37510 ac_ext=c
37511 ac_cpp='$CPP $CPPFLAGS'
37512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37515
37516
37517 fi
37518
37519 fi
37520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37521 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37522
37523 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37524 for ac_func in _fabsl
37525 do :
37526 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37527 if test "x$ac_cv_func__fabsl" = x""yes; then :
37528 cat >>confdefs.h <<_ACEOF
37529 #define HAVE__FABSL 1
37530 _ACEOF
37531
37532 fi
37533 done
37534
37535 fi
37536 fi
37537
37538
37539
37540
37541
37542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37543 $as_echo_n "checking for fmodl declaration... " >&6; }
37544 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37545 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37546 $as_echo_n "(cached) " >&6
37547 else
37548
37549
37550 ac_ext=cpp
37551 ac_cpp='$CXXCPP $CPPFLAGS'
37552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37555
37556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37557 /* end confdefs.h. */
37558 #include <math.h>
37559 int
37560 main ()
37561 {
37562 fmodl(0, 0);
37563 ;
37564 return 0;
37565 }
37566 _ACEOF
37567 if ac_fn_cxx_try_compile "$LINENO"; then :
37568 glibcxx_cv_func_fmodl_use=yes
37569 else
37570 glibcxx_cv_func_fmodl_use=no
37571 fi
37572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37573 ac_ext=c
37574 ac_cpp='$CPP $CPPFLAGS'
37575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37578
37579
37580 fi
37581
37582 fi
37583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37584 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37585
37586 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37587 for ac_func in fmodl
37588 do :
37589 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37590 if test "x$ac_cv_func_fmodl" = x""yes; then :
37591 cat >>confdefs.h <<_ACEOF
37592 #define HAVE_FMODL 1
37593 _ACEOF
37594
37595 fi
37596 done
37597
37598 else
37599
37600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37601 $as_echo_n "checking for _fmodl declaration... " >&6; }
37602 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37603 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37604 $as_echo_n "(cached) " >&6
37605 else
37606
37607
37608 ac_ext=cpp
37609 ac_cpp='$CXXCPP $CPPFLAGS'
37610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613
37614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37615 /* end confdefs.h. */
37616 #include <math.h>
37617 int
37618 main ()
37619 {
37620 _fmodl(0, 0);
37621 ;
37622 return 0;
37623 }
37624 _ACEOF
37625 if ac_fn_cxx_try_compile "$LINENO"; then :
37626 glibcxx_cv_func__fmodl_use=yes
37627 else
37628 glibcxx_cv_func__fmodl_use=no
37629 fi
37630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37631 ac_ext=c
37632 ac_cpp='$CPP $CPPFLAGS'
37633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37636
37637
37638 fi
37639
37640 fi
37641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37642 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37643
37644 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37645 for ac_func in _fmodl
37646 do :
37647 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37648 if test "x$ac_cv_func__fmodl" = x""yes; then :
37649 cat >>confdefs.h <<_ACEOF
37650 #define HAVE__FMODL 1
37651 _ACEOF
37652
37653 fi
37654 done
37655
37656 fi
37657 fi
37658
37659
37660
37661
37662
37663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37664 $as_echo_n "checking for frexpl declaration... " >&6; }
37665 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37666 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37667 $as_echo_n "(cached) " >&6
37668 else
37669
37670
37671 ac_ext=cpp
37672 ac_cpp='$CXXCPP $CPPFLAGS'
37673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37676
37677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37678 /* end confdefs.h. */
37679 #include <math.h>
37680 int
37681 main ()
37682 {
37683 frexpl(0, 0);
37684 ;
37685 return 0;
37686 }
37687 _ACEOF
37688 if ac_fn_cxx_try_compile "$LINENO"; then :
37689 glibcxx_cv_func_frexpl_use=yes
37690 else
37691 glibcxx_cv_func_frexpl_use=no
37692 fi
37693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37694 ac_ext=c
37695 ac_cpp='$CPP $CPPFLAGS'
37696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37699
37700
37701 fi
37702
37703 fi
37704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37705 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37706
37707 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37708 for ac_func in frexpl
37709 do :
37710 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37711 if test "x$ac_cv_func_frexpl" = x""yes; then :
37712 cat >>confdefs.h <<_ACEOF
37713 #define HAVE_FREXPL 1
37714 _ACEOF
37715
37716 fi
37717 done
37718
37719 else
37720
37721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37722 $as_echo_n "checking for _frexpl declaration... " >&6; }
37723 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37724 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37725 $as_echo_n "(cached) " >&6
37726 else
37727
37728
37729 ac_ext=cpp
37730 ac_cpp='$CXXCPP $CPPFLAGS'
37731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37734
37735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37736 /* end confdefs.h. */
37737 #include <math.h>
37738 int
37739 main ()
37740 {
37741 _frexpl(0, 0);
37742 ;
37743 return 0;
37744 }
37745 _ACEOF
37746 if ac_fn_cxx_try_compile "$LINENO"; then :
37747 glibcxx_cv_func__frexpl_use=yes
37748 else
37749 glibcxx_cv_func__frexpl_use=no
37750 fi
37751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37752 ac_ext=c
37753 ac_cpp='$CPP $CPPFLAGS'
37754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37757
37758
37759 fi
37760
37761 fi
37762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37763 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37764
37765 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37766 for ac_func in _frexpl
37767 do :
37768 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37769 if test "x$ac_cv_func__frexpl" = x""yes; then :
37770 cat >>confdefs.h <<_ACEOF
37771 #define HAVE__FREXPL 1
37772 _ACEOF
37773
37774 fi
37775 done
37776
37777 fi
37778 fi
37779
37780
37781
37782
37783
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37785 $as_echo_n "checking for hypotl declaration... " >&6; }
37786 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37787 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37788 $as_echo_n "(cached) " >&6
37789 else
37790
37791
37792 ac_ext=cpp
37793 ac_cpp='$CXXCPP $CPPFLAGS'
37794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37797
37798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37799 /* end confdefs.h. */
37800 #include <math.h>
37801 int
37802 main ()
37803 {
37804 hypotl(0, 0);
37805 ;
37806 return 0;
37807 }
37808 _ACEOF
37809 if ac_fn_cxx_try_compile "$LINENO"; then :
37810 glibcxx_cv_func_hypotl_use=yes
37811 else
37812 glibcxx_cv_func_hypotl_use=no
37813 fi
37814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37815 ac_ext=c
37816 ac_cpp='$CPP $CPPFLAGS'
37817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37820
37821
37822 fi
37823
37824 fi
37825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37826 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37827
37828 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37829 for ac_func in hypotl
37830 do :
37831 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37832 if test "x$ac_cv_func_hypotl" = x""yes; then :
37833 cat >>confdefs.h <<_ACEOF
37834 #define HAVE_HYPOTL 1
37835 _ACEOF
37836
37837 fi
37838 done
37839
37840 else
37841
37842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37843 $as_echo_n "checking for _hypotl declaration... " >&6; }
37844 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37845 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37846 $as_echo_n "(cached) " >&6
37847 else
37848
37849
37850 ac_ext=cpp
37851 ac_cpp='$CXXCPP $CPPFLAGS'
37852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37855
37856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37857 /* end confdefs.h. */
37858 #include <math.h>
37859 int
37860 main ()
37861 {
37862 _hypotl(0, 0);
37863 ;
37864 return 0;
37865 }
37866 _ACEOF
37867 if ac_fn_cxx_try_compile "$LINENO"; then :
37868 glibcxx_cv_func__hypotl_use=yes
37869 else
37870 glibcxx_cv_func__hypotl_use=no
37871 fi
37872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37873 ac_ext=c
37874 ac_cpp='$CPP $CPPFLAGS'
37875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37878
37879
37880 fi
37881
37882 fi
37883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37884 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37885
37886 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37887 for ac_func in _hypotl
37888 do :
37889 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37890 if test "x$ac_cv_func__hypotl" = x""yes; then :
37891 cat >>confdefs.h <<_ACEOF
37892 #define HAVE__HYPOTL 1
37893 _ACEOF
37894
37895 fi
37896 done
37897
37898 fi
37899 fi
37900
37901
37902
37903
37904
37905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37906 $as_echo_n "checking for ldexpl declaration... " >&6; }
37907 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37908 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37909 $as_echo_n "(cached) " >&6
37910 else
37911
37912
37913 ac_ext=cpp
37914 ac_cpp='$CXXCPP $CPPFLAGS'
37915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37918
37919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37920 /* end confdefs.h. */
37921 #include <math.h>
37922 int
37923 main ()
37924 {
37925 ldexpl(0, 0);
37926 ;
37927 return 0;
37928 }
37929 _ACEOF
37930 if ac_fn_cxx_try_compile "$LINENO"; then :
37931 glibcxx_cv_func_ldexpl_use=yes
37932 else
37933 glibcxx_cv_func_ldexpl_use=no
37934 fi
37935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37936 ac_ext=c
37937 ac_cpp='$CPP $CPPFLAGS'
37938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37941
37942
37943 fi
37944
37945 fi
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37947 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37948
37949 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37950 for ac_func in ldexpl
37951 do :
37952 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37953 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37954 cat >>confdefs.h <<_ACEOF
37955 #define HAVE_LDEXPL 1
37956 _ACEOF
37957
37958 fi
37959 done
37960
37961 else
37962
37963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37964 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37965 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37966 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37967 $as_echo_n "(cached) " >&6
37968 else
37969
37970
37971 ac_ext=cpp
37972 ac_cpp='$CXXCPP $CPPFLAGS'
37973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37976
37977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37978 /* end confdefs.h. */
37979 #include <math.h>
37980 int
37981 main ()
37982 {
37983 _ldexpl(0, 0);
37984 ;
37985 return 0;
37986 }
37987 _ACEOF
37988 if ac_fn_cxx_try_compile "$LINENO"; then :
37989 glibcxx_cv_func__ldexpl_use=yes
37990 else
37991 glibcxx_cv_func__ldexpl_use=no
37992 fi
37993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37994 ac_ext=c
37995 ac_cpp='$CPP $CPPFLAGS'
37996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37999
38000
38001 fi
38002
38003 fi
38004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38005 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38006
38007 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38008 for ac_func in _ldexpl
38009 do :
38010 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38011 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38012 cat >>confdefs.h <<_ACEOF
38013 #define HAVE__LDEXPL 1
38014 _ACEOF
38015
38016 fi
38017 done
38018
38019 fi
38020 fi
38021
38022
38023
38024
38025
38026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38027 $as_echo_n "checking for logl declaration... " >&6; }
38028 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38029 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38030 $as_echo_n "(cached) " >&6
38031 else
38032
38033
38034 ac_ext=cpp
38035 ac_cpp='$CXXCPP $CPPFLAGS'
38036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38039
38040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38041 /* end confdefs.h. */
38042 #include <math.h>
38043 #ifdef HAVE_IEEEFP_H
38044 #include <ieeefp.h>
38045 #endif
38046
38047 int
38048 main ()
38049 {
38050 logl(0);
38051 ;
38052 return 0;
38053 }
38054 _ACEOF
38055 if ac_fn_cxx_try_compile "$LINENO"; then :
38056 glibcxx_cv_func_logl_use=yes
38057 else
38058 glibcxx_cv_func_logl_use=no
38059 fi
38060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38061 ac_ext=c
38062 ac_cpp='$CPP $CPPFLAGS'
38063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38066
38067
38068 fi
38069
38070 fi
38071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38072 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38073
38074 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38075 for ac_func in logl
38076 do :
38077 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38078 if test "x$ac_cv_func_logl" = x""yes; then :
38079 cat >>confdefs.h <<_ACEOF
38080 #define HAVE_LOGL 1
38081 _ACEOF
38082
38083 fi
38084 done
38085
38086 else
38087
38088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38089 $as_echo_n "checking for _logl declaration... " >&6; }
38090 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38091 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38092 $as_echo_n "(cached) " >&6
38093 else
38094
38095
38096 ac_ext=cpp
38097 ac_cpp='$CXXCPP $CPPFLAGS'
38098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38101
38102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38103 /* end confdefs.h. */
38104 #include <math.h>
38105 #ifdef HAVE_IEEEFP_H
38106 #include <ieeefp.h>
38107 #endif
38108
38109 int
38110 main ()
38111 {
38112 _logl(0);
38113 ;
38114 return 0;
38115 }
38116 _ACEOF
38117 if ac_fn_cxx_try_compile "$LINENO"; then :
38118 glibcxx_cv_func__logl_use=yes
38119 else
38120 glibcxx_cv_func__logl_use=no
38121 fi
38122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38123 ac_ext=c
38124 ac_cpp='$CPP $CPPFLAGS'
38125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38128
38129
38130 fi
38131
38132 fi
38133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38134 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38135
38136 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38137 for ac_func in _logl
38138 do :
38139 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38140 if test "x$ac_cv_func__logl" = x""yes; then :
38141 cat >>confdefs.h <<_ACEOF
38142 #define HAVE__LOGL 1
38143 _ACEOF
38144
38145 fi
38146 done
38147
38148 fi
38149 fi
38150
38151
38152
38153
38154
38155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38156 $as_echo_n "checking for log10l declaration... " >&6; }
38157 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38158 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38159 $as_echo_n "(cached) " >&6
38160 else
38161
38162
38163 ac_ext=cpp
38164 ac_cpp='$CXXCPP $CPPFLAGS'
38165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38168
38169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38170 /* end confdefs.h. */
38171 #include <math.h>
38172 #ifdef HAVE_IEEEFP_H
38173 #include <ieeefp.h>
38174 #endif
38175
38176 int
38177 main ()
38178 {
38179 log10l(0);
38180 ;
38181 return 0;
38182 }
38183 _ACEOF
38184 if ac_fn_cxx_try_compile "$LINENO"; then :
38185 glibcxx_cv_func_log10l_use=yes
38186 else
38187 glibcxx_cv_func_log10l_use=no
38188 fi
38189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38190 ac_ext=c
38191 ac_cpp='$CPP $CPPFLAGS'
38192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38195
38196
38197 fi
38198
38199 fi
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38201 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38202
38203 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38204 for ac_func in log10l
38205 do :
38206 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38207 if test "x$ac_cv_func_log10l" = x""yes; then :
38208 cat >>confdefs.h <<_ACEOF
38209 #define HAVE_LOG10L 1
38210 _ACEOF
38211
38212 fi
38213 done
38214
38215 else
38216
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38218 $as_echo_n "checking for _log10l declaration... " >&6; }
38219 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38220 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38221 $as_echo_n "(cached) " >&6
38222 else
38223
38224
38225 ac_ext=cpp
38226 ac_cpp='$CXXCPP $CPPFLAGS'
38227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38230
38231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38232 /* end confdefs.h. */
38233 #include <math.h>
38234 #ifdef HAVE_IEEEFP_H
38235 #include <ieeefp.h>
38236 #endif
38237
38238 int
38239 main ()
38240 {
38241 _log10l(0);
38242 ;
38243 return 0;
38244 }
38245 _ACEOF
38246 if ac_fn_cxx_try_compile "$LINENO"; then :
38247 glibcxx_cv_func__log10l_use=yes
38248 else
38249 glibcxx_cv_func__log10l_use=no
38250 fi
38251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38252 ac_ext=c
38253 ac_cpp='$CPP $CPPFLAGS'
38254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38257
38258
38259 fi
38260
38261 fi
38262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38263 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38264
38265 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38266 for ac_func in _log10l
38267 do :
38268 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38269 if test "x$ac_cv_func__log10l" = x""yes; then :
38270 cat >>confdefs.h <<_ACEOF
38271 #define HAVE__LOG10L 1
38272 _ACEOF
38273
38274 fi
38275 done
38276
38277 fi
38278 fi
38279
38280
38281
38282
38283
38284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38285 $as_echo_n "checking for modfl declaration... " >&6; }
38286 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38287 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38288 $as_echo_n "(cached) " >&6
38289 else
38290
38291
38292 ac_ext=cpp
38293 ac_cpp='$CXXCPP $CPPFLAGS'
38294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38297
38298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38299 /* end confdefs.h. */
38300 #include <math.h>
38301 int
38302 main ()
38303 {
38304 modfl(0, 0);
38305 ;
38306 return 0;
38307 }
38308 _ACEOF
38309 if ac_fn_cxx_try_compile "$LINENO"; then :
38310 glibcxx_cv_func_modfl_use=yes
38311 else
38312 glibcxx_cv_func_modfl_use=no
38313 fi
38314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38315 ac_ext=c
38316 ac_cpp='$CPP $CPPFLAGS'
38317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38320
38321
38322 fi
38323
38324 fi
38325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38326 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38327
38328 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38329 for ac_func in modfl
38330 do :
38331 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38332 if test "x$ac_cv_func_modfl" = x""yes; then :
38333 cat >>confdefs.h <<_ACEOF
38334 #define HAVE_MODFL 1
38335 _ACEOF
38336
38337 fi
38338 done
38339
38340 else
38341
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38343 $as_echo_n "checking for _modfl declaration... " >&6; }
38344 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38345 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38346 $as_echo_n "(cached) " >&6
38347 else
38348
38349
38350 ac_ext=cpp
38351 ac_cpp='$CXXCPP $CPPFLAGS'
38352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38355
38356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38357 /* end confdefs.h. */
38358 #include <math.h>
38359 int
38360 main ()
38361 {
38362 _modfl(0, 0);
38363 ;
38364 return 0;
38365 }
38366 _ACEOF
38367 if ac_fn_cxx_try_compile "$LINENO"; then :
38368 glibcxx_cv_func__modfl_use=yes
38369 else
38370 glibcxx_cv_func__modfl_use=no
38371 fi
38372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38373 ac_ext=c
38374 ac_cpp='$CPP $CPPFLAGS'
38375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38378
38379
38380 fi
38381
38382 fi
38383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38384 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38385
38386 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38387 for ac_func in _modfl
38388 do :
38389 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38390 if test "x$ac_cv_func__modfl" = x""yes; then :
38391 cat >>confdefs.h <<_ACEOF
38392 #define HAVE__MODFL 1
38393 _ACEOF
38394
38395 fi
38396 done
38397
38398 fi
38399 fi
38400
38401
38402
38403
38404
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38406 $as_echo_n "checking for powl declaration... " >&6; }
38407 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38408 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38409 $as_echo_n "(cached) " >&6
38410 else
38411
38412
38413 ac_ext=cpp
38414 ac_cpp='$CXXCPP $CPPFLAGS'
38415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38418
38419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38420 /* end confdefs.h. */
38421 #include <math.h>
38422 int
38423 main ()
38424 {
38425 powl(0, 0);
38426 ;
38427 return 0;
38428 }
38429 _ACEOF
38430 if ac_fn_cxx_try_compile "$LINENO"; then :
38431 glibcxx_cv_func_powl_use=yes
38432 else
38433 glibcxx_cv_func_powl_use=no
38434 fi
38435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38436 ac_ext=c
38437 ac_cpp='$CPP $CPPFLAGS'
38438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38441
38442
38443 fi
38444
38445 fi
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38447 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38448
38449 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38450 for ac_func in powl
38451 do :
38452 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38453 if test "x$ac_cv_func_powl" = x""yes; then :
38454 cat >>confdefs.h <<_ACEOF
38455 #define HAVE_POWL 1
38456 _ACEOF
38457
38458 fi
38459 done
38460
38461 else
38462
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38464 $as_echo_n "checking for _powl declaration... " >&6; }
38465 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38466 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38467 $as_echo_n "(cached) " >&6
38468 else
38469
38470
38471 ac_ext=cpp
38472 ac_cpp='$CXXCPP $CPPFLAGS'
38473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38476
38477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38478 /* end confdefs.h. */
38479 #include <math.h>
38480 int
38481 main ()
38482 {
38483 _powl(0, 0);
38484 ;
38485 return 0;
38486 }
38487 _ACEOF
38488 if ac_fn_cxx_try_compile "$LINENO"; then :
38489 glibcxx_cv_func__powl_use=yes
38490 else
38491 glibcxx_cv_func__powl_use=no
38492 fi
38493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38494 ac_ext=c
38495 ac_cpp='$CPP $CPPFLAGS'
38496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38499
38500
38501 fi
38502
38503 fi
38504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38505 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38506
38507 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38508 for ac_func in _powl
38509 do :
38510 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38511 if test "x$ac_cv_func__powl" = x""yes; then :
38512 cat >>confdefs.h <<_ACEOF
38513 #define HAVE__POWL 1
38514 _ACEOF
38515
38516 fi
38517 done
38518
38519 fi
38520 fi
38521
38522
38523
38524
38525
38526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38527 $as_echo_n "checking for sqrtl declaration... " >&6; }
38528 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38529 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38530 $as_echo_n "(cached) " >&6
38531 else
38532
38533
38534 ac_ext=cpp
38535 ac_cpp='$CXXCPP $CPPFLAGS'
38536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38539
38540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38541 /* end confdefs.h. */
38542 #include <math.h>
38543 #ifdef HAVE_IEEEFP_H
38544 #include <ieeefp.h>
38545 #endif
38546
38547 int
38548 main ()
38549 {
38550 sqrtl(0);
38551 ;
38552 return 0;
38553 }
38554 _ACEOF
38555 if ac_fn_cxx_try_compile "$LINENO"; then :
38556 glibcxx_cv_func_sqrtl_use=yes
38557 else
38558 glibcxx_cv_func_sqrtl_use=no
38559 fi
38560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38561 ac_ext=c
38562 ac_cpp='$CPP $CPPFLAGS'
38563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38566
38567
38568 fi
38569
38570 fi
38571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38572 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38573
38574 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38575 for ac_func in sqrtl
38576 do :
38577 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38578 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38579 cat >>confdefs.h <<_ACEOF
38580 #define HAVE_SQRTL 1
38581 _ACEOF
38582
38583 fi
38584 done
38585
38586 else
38587
38588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38589 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38590 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38591 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38592 $as_echo_n "(cached) " >&6
38593 else
38594
38595
38596 ac_ext=cpp
38597 ac_cpp='$CXXCPP $CPPFLAGS'
38598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38601
38602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38603 /* end confdefs.h. */
38604 #include <math.h>
38605 #ifdef HAVE_IEEEFP_H
38606 #include <ieeefp.h>
38607 #endif
38608
38609 int
38610 main ()
38611 {
38612 _sqrtl(0);
38613 ;
38614 return 0;
38615 }
38616 _ACEOF
38617 if ac_fn_cxx_try_compile "$LINENO"; then :
38618 glibcxx_cv_func__sqrtl_use=yes
38619 else
38620 glibcxx_cv_func__sqrtl_use=no
38621 fi
38622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38623 ac_ext=c
38624 ac_cpp='$CPP $CPPFLAGS'
38625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38628
38629
38630 fi
38631
38632 fi
38633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38634 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38635
38636 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38637 for ac_func in _sqrtl
38638 do :
38639 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38640 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38641 cat >>confdefs.h <<_ACEOF
38642 #define HAVE__SQRTL 1
38643 _ACEOF
38644
38645 fi
38646 done
38647
38648 fi
38649 fi
38650
38651
38652
38653
38654
38655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38656 $as_echo_n "checking for sincosl declaration... " >&6; }
38657 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38658 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38659 $as_echo_n "(cached) " >&6
38660 else
38661
38662
38663 ac_ext=cpp
38664 ac_cpp='$CXXCPP $CPPFLAGS'
38665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38668
38669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38670 /* end confdefs.h. */
38671 #include <math.h>
38672 int
38673 main ()
38674 {
38675 sincosl(0, 0, 0);
38676 ;
38677 return 0;
38678 }
38679 _ACEOF
38680 if ac_fn_cxx_try_compile "$LINENO"; then :
38681 glibcxx_cv_func_sincosl_use=yes
38682 else
38683 glibcxx_cv_func_sincosl_use=no
38684 fi
38685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38686 ac_ext=c
38687 ac_cpp='$CPP $CPPFLAGS'
38688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38691
38692
38693 fi
38694
38695 fi
38696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38697 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38698
38699 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38700 for ac_func in sincosl
38701 do :
38702 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38703 if test "x$ac_cv_func_sincosl" = x""yes; then :
38704 cat >>confdefs.h <<_ACEOF
38705 #define HAVE_SINCOSL 1
38706 _ACEOF
38707
38708 fi
38709 done
38710
38711 else
38712
38713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38714 $as_echo_n "checking for _sincosl declaration... " >&6; }
38715 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38716 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38717 $as_echo_n "(cached) " >&6
38718 else
38719
38720
38721 ac_ext=cpp
38722 ac_cpp='$CXXCPP $CPPFLAGS'
38723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38726
38727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38728 /* end confdefs.h. */
38729 #include <math.h>
38730 int
38731 main ()
38732 {
38733 _sincosl(0, 0, 0);
38734 ;
38735 return 0;
38736 }
38737 _ACEOF
38738 if ac_fn_cxx_try_compile "$LINENO"; then :
38739 glibcxx_cv_func__sincosl_use=yes
38740 else
38741 glibcxx_cv_func__sincosl_use=no
38742 fi
38743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38744 ac_ext=c
38745 ac_cpp='$CPP $CPPFLAGS'
38746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38749
38750
38751 fi
38752
38753 fi
38754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38755 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38756
38757 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38758 for ac_func in _sincosl
38759 do :
38760 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38761 if test "x$ac_cv_func__sincosl" = x""yes; then :
38762 cat >>confdefs.h <<_ACEOF
38763 #define HAVE__SINCOSL 1
38764 _ACEOF
38765
38766 fi
38767 done
38768
38769 fi
38770 fi
38771
38772
38773
38774
38775
38776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38777 $as_echo_n "checking for finitel declaration... " >&6; }
38778 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38779 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38780 $as_echo_n "(cached) " >&6
38781 else
38782
38783
38784 ac_ext=cpp
38785 ac_cpp='$CXXCPP $CPPFLAGS'
38786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38789
38790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38791 /* end confdefs.h. */
38792 #include <math.h>
38793 #ifdef HAVE_IEEEFP_H
38794 #include <ieeefp.h>
38795 #endif
38796
38797 int
38798 main ()
38799 {
38800 finitel(0);
38801 ;
38802 return 0;
38803 }
38804 _ACEOF
38805 if ac_fn_cxx_try_compile "$LINENO"; then :
38806 glibcxx_cv_func_finitel_use=yes
38807 else
38808 glibcxx_cv_func_finitel_use=no
38809 fi
38810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38811 ac_ext=c
38812 ac_cpp='$CPP $CPPFLAGS'
38813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38816
38817
38818 fi
38819
38820 fi
38821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38822 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38823
38824 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38825 for ac_func in finitel
38826 do :
38827 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38828 if test "x$ac_cv_func_finitel" = x""yes; then :
38829 cat >>confdefs.h <<_ACEOF
38830 #define HAVE_FINITEL 1
38831 _ACEOF
38832
38833 fi
38834 done
38835
38836 else
38837
38838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38839 $as_echo_n "checking for _finitel declaration... " >&6; }
38840 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38841 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38842 $as_echo_n "(cached) " >&6
38843 else
38844
38845
38846 ac_ext=cpp
38847 ac_cpp='$CXXCPP $CPPFLAGS'
38848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38851
38852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38853 /* end confdefs.h. */
38854 #include <math.h>
38855 #ifdef HAVE_IEEEFP_H
38856 #include <ieeefp.h>
38857 #endif
38858
38859 int
38860 main ()
38861 {
38862 _finitel(0);
38863 ;
38864 return 0;
38865 }
38866 _ACEOF
38867 if ac_fn_cxx_try_compile "$LINENO"; then :
38868 glibcxx_cv_func__finitel_use=yes
38869 else
38870 glibcxx_cv_func__finitel_use=no
38871 fi
38872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38873 ac_ext=c
38874 ac_cpp='$CPP $CPPFLAGS'
38875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38878
38879
38880 fi
38881
38882 fi
38883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38884 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38885
38886 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38887 for ac_func in _finitel
38888 do :
38889 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38890 if test "x$ac_cv_func__finitel" = x""yes; then :
38891 cat >>confdefs.h <<_ACEOF
38892 #define HAVE__FINITEL 1
38893 _ACEOF
38894
38895 fi
38896 done
38897
38898 fi
38899 fi
38900
38901
38902
38903
38904 LIBS="$ac_save_LIBS"
38905 CXXFLAGS="$ac_save_CXXFLAGS"
38906
38907
38908 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38909 ac_save_CXXFLAGS="$CXXFLAGS"
38910 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38911
38912
38913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38914 $as_echo_n "checking for strtold declaration... " >&6; }
38915 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38916 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38917 $as_echo_n "(cached) " >&6
38918 else
38919
38920
38921 ac_ext=cpp
38922 ac_cpp='$CXXCPP $CPPFLAGS'
38923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38926
38927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38928 /* end confdefs.h. */
38929 #include <stdlib.h>
38930 int
38931 main ()
38932 {
38933 strtold(0, 0);
38934 ;
38935 return 0;
38936 }
38937 _ACEOF
38938 if ac_fn_cxx_try_compile "$LINENO"; then :
38939 glibcxx_cv_func_strtold_use=yes
38940 else
38941 glibcxx_cv_func_strtold_use=no
38942 fi
38943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38944 ac_ext=c
38945 ac_cpp='$CPP $CPPFLAGS'
38946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38949
38950
38951 fi
38952
38953 fi
38954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38955 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38956 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38957 for ac_func in strtold
38958 do :
38959 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38960 if test "x$ac_cv_func_strtold" = x""yes; then :
38961 cat >>confdefs.h <<_ACEOF
38962 #define HAVE_STRTOLD 1
38963 _ACEOF
38964
38965 fi
38966 done
38967
38968 fi
38969
38970
38971
38972
38973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38974 $as_echo_n "checking for strtof declaration... " >&6; }
38975 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38976 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38977 $as_echo_n "(cached) " >&6
38978 else
38979
38980
38981 ac_ext=cpp
38982 ac_cpp='$CXXCPP $CPPFLAGS'
38983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38986
38987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38988 /* end confdefs.h. */
38989 #include <stdlib.h>
38990 int
38991 main ()
38992 {
38993 strtof(0, 0);
38994 ;
38995 return 0;
38996 }
38997 _ACEOF
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999 glibcxx_cv_func_strtof_use=yes
39000 else
39001 glibcxx_cv_func_strtof_use=no
39002 fi
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39004 ac_ext=c
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39009
39010
39011 fi
39012
39013 fi
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39015 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39016 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39017 for ac_func in strtof
39018 do :
39019 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39020 if test "x$ac_cv_func_strtof" = x""yes; then :
39021 cat >>confdefs.h <<_ACEOF
39022 #define HAVE_STRTOF 1
39023 _ACEOF
39024
39025 fi
39026 done
39027
39028 fi
39029
39030
39031
39032
39033 CXXFLAGS="$ac_save_CXXFLAGS"
39034
39035 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39036
39037 # We don't yet support AIX's TLS ABI.
39038 #GCC_CHECK_TLS
39039
39040
39041
39042
39043
39044 am_save_CPPFLAGS="$CPPFLAGS"
39045
39046 for element in $INCICONV; do
39047 haveit=
39048 for x in $CPPFLAGS; do
39049
39050 acl_save_prefix="$prefix"
39051 prefix="$acl_final_prefix"
39052 acl_save_exec_prefix="$exec_prefix"
39053 exec_prefix="$acl_final_exec_prefix"
39054 eval x=\"$x\"
39055 exec_prefix="$acl_save_exec_prefix"
39056 prefix="$acl_save_prefix"
39057
39058 if test "X$x" = "X$element"; then
39059 haveit=yes
39060 break
39061 fi
39062 done
39063 if test -z "$haveit"; then
39064 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39065 fi
39066 done
39067
39068
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39070 $as_echo_n "checking for iconv... " >&6; }
39071 if test "${am_cv_func_iconv+set}" = set; then :
39072 $as_echo_n "(cached) " >&6
39073 else
39074
39075 am_cv_func_iconv="no, consider installing GNU libiconv"
39076 am_cv_lib_iconv=no
39077 if test x$gcc_no_link = xyes; then
39078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39079 fi
39080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39081 /* end confdefs.h. */
39082 #include <stdlib.h>
39083 #include <iconv.h>
39084 int
39085 main ()
39086 {
39087 iconv_t cd = iconv_open("","");
39088 iconv(cd,NULL,NULL,NULL,NULL);
39089 iconv_close(cd);
39090 ;
39091 return 0;
39092 }
39093 _ACEOF
39094 if ac_fn_c_try_link "$LINENO"; then :
39095 am_cv_func_iconv=yes
39096 fi
39097 rm -f core conftest.err conftest.$ac_objext \
39098 conftest$ac_exeext conftest.$ac_ext
39099 if test "$am_cv_func_iconv" != yes; then
39100 am_save_LIBS="$LIBS"
39101 LIBS="$LIBS $LIBICONV"
39102 if test x$gcc_no_link = xyes; then
39103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39104 fi
39105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39106 /* end confdefs.h. */
39107 #include <stdlib.h>
39108 #include <iconv.h>
39109 int
39110 main ()
39111 {
39112 iconv_t cd = iconv_open("","");
39113 iconv(cd,NULL,NULL,NULL,NULL);
39114 iconv_close(cd);
39115 ;
39116 return 0;
39117 }
39118 _ACEOF
39119 if ac_fn_c_try_link "$LINENO"; then :
39120 am_cv_lib_iconv=yes
39121 am_cv_func_iconv=yes
39122 fi
39123 rm -f core conftest.err conftest.$ac_objext \
39124 conftest$ac_exeext conftest.$ac_ext
39125 LIBS="$am_save_LIBS"
39126 fi
39127
39128 fi
39129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39130 $as_echo "$am_cv_func_iconv" >&6; }
39131 if test "$am_cv_func_iconv" = yes; then
39132
39133 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39134
39135 fi
39136 if test "$am_cv_lib_iconv" = yes; then
39137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39138 $as_echo_n "checking how to link with libiconv... " >&6; }
39139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39140 $as_echo "$LIBICONV" >&6; }
39141 else
39142 CPPFLAGS="$am_save_CPPFLAGS"
39143 LIBICONV=
39144 LTLIBICONV=
39145 fi
39146
39147
39148
39149 if test "$am_cv_func_iconv" = yes; then
39150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39151 $as_echo_n "checking for iconv declaration... " >&6; }
39152 if test "${am_cv_proto_iconv+set}" = set; then :
39153 $as_echo_n "(cached) " >&6
39154 else
39155
39156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39157 /* end confdefs.h. */
39158
39159 #include <stdlib.h>
39160 #include <iconv.h>
39161 extern
39162 #ifdef __cplusplus
39163 "C"
39164 #endif
39165 #if defined(__STDC__) || defined(__cplusplus)
39166 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39167 #else
39168 size_t iconv();
39169 #endif
39170
39171 int
39172 main ()
39173 {
39174
39175 ;
39176 return 0;
39177 }
39178 _ACEOF
39179 if ac_fn_c_try_compile "$LINENO"; then :
39180 am_cv_proto_iconv_arg1=""
39181 else
39182 am_cv_proto_iconv_arg1="const"
39183 fi
39184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39185 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);"
39186 fi
39187
39188 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39190 }$am_cv_proto_iconv" >&5
39191 $as_echo "${ac_t:-
39192 }$am_cv_proto_iconv" >&6; }
39193
39194 cat >>confdefs.h <<_ACEOF
39195 #define ICONV_CONST $am_cv_proto_iconv_arg1
39196 _ACEOF
39197
39198 fi
39199
39200 ;;
39201
39202 *-darwin*)
39203 # Darwin versions vary, but the linker should work in a cross environment,
39204 # so we just check for all the features here.
39205 # Check for available headers.
39206
39207 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39208
39209 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39210 ac_save_CXXFLAGS="$CXXFLAGS"
39211 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39212
39213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39214 $as_echo_n "checking for sin in -lm... " >&6; }
39215 if test "${ac_cv_lib_m_sin+set}" = set; then :
39216 $as_echo_n "(cached) " >&6
39217 else
39218 ac_check_lib_save_LIBS=$LIBS
39219 LIBS="-lm $LIBS"
39220 if test x$gcc_no_link = xyes; then
39221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39222 fi
39223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39224 /* end confdefs.h. */
39225
39226 /* Override any GCC internal prototype to avoid an error.
39227 Use char because int might match the return type of a GCC
39228 builtin and then its argument prototype would still apply. */
39229 #ifdef __cplusplus
39230 extern "C"
39231 #endif
39232 char sin ();
39233 int
39234 main ()
39235 {
39236 return sin ();
39237 ;
39238 return 0;
39239 }
39240 _ACEOF
39241 if ac_fn_c_try_link "$LINENO"; then :
39242 ac_cv_lib_m_sin=yes
39243 else
39244 ac_cv_lib_m_sin=no
39245 fi
39246 rm -f core conftest.err conftest.$ac_objext \
39247 conftest$ac_exeext conftest.$ac_ext
39248 LIBS=$ac_check_lib_save_LIBS
39249 fi
39250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39251 $as_echo "$ac_cv_lib_m_sin" >&6; }
39252 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39253 libm="-lm"
39254 fi
39255
39256 ac_save_LIBS="$LIBS"
39257 LIBS="$LIBS $libm"
39258
39259
39260
39261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39262 $as_echo_n "checking for isinf declaration... " >&6; }
39263 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39264 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39265 $as_echo_n "(cached) " >&6
39266 else
39267
39268
39269 ac_ext=cpp
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39274
39275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39276 /* end confdefs.h. */
39277 #include <math.h>
39278 #ifdef HAVE_IEEEFP_H
39279 #include <ieeefp.h>
39280 #endif
39281
39282 int
39283 main ()
39284 {
39285 isinf(0);
39286 ;
39287 return 0;
39288 }
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func_isinf_use=yes
39292 else
39293 glibcxx_cv_func_isinf_use=no
39294 fi
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301
39302
39303 fi
39304
39305 fi
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39307 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39308
39309 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39310 for ac_func in isinf
39311 do :
39312 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39313 if test "x$ac_cv_func_isinf" = x""yes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE_ISINF 1
39316 _ACEOF
39317
39318 fi
39319 done
39320
39321 else
39322
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39324 $as_echo_n "checking for _isinf declaration... " >&6; }
39325 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39326 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39327 $as_echo_n "(cached) " >&6
39328 else
39329
39330
39331 ac_ext=cpp
39332 ac_cpp='$CXXCPP $CPPFLAGS'
39333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336
39337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39338 /* end confdefs.h. */
39339 #include <math.h>
39340 #ifdef HAVE_IEEEFP_H
39341 #include <ieeefp.h>
39342 #endif
39343
39344 int
39345 main ()
39346 {
39347 _isinf(0);
39348 ;
39349 return 0;
39350 }
39351 _ACEOF
39352 if ac_fn_cxx_try_compile "$LINENO"; then :
39353 glibcxx_cv_func__isinf_use=yes
39354 else
39355 glibcxx_cv_func__isinf_use=no
39356 fi
39357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39358 ac_ext=c
39359 ac_cpp='$CPP $CPPFLAGS'
39360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39363
39364
39365 fi
39366
39367 fi
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39369 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39370
39371 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39372 for ac_func in _isinf
39373 do :
39374 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39375 if test "x$ac_cv_func__isinf" = x""yes; then :
39376 cat >>confdefs.h <<_ACEOF
39377 #define HAVE__ISINF 1
39378 _ACEOF
39379
39380 fi
39381 done
39382
39383 fi
39384 fi
39385
39386
39387
39388
39389
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39391 $as_echo_n "checking for isnan declaration... " >&6; }
39392 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39393 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39394 $as_echo_n "(cached) " >&6
39395 else
39396
39397
39398 ac_ext=cpp
39399 ac_cpp='$CXXCPP $CPPFLAGS'
39400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39403
39404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39405 /* end confdefs.h. */
39406 #include <math.h>
39407 #ifdef HAVE_IEEEFP_H
39408 #include <ieeefp.h>
39409 #endif
39410
39411 int
39412 main ()
39413 {
39414 isnan(0);
39415 ;
39416 return 0;
39417 }
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func_isnan_use=yes
39421 else
39422 glibcxx_cv_func_isnan_use=no
39423 fi
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39430
39431
39432 fi
39433
39434 fi
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39436 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39437
39438 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39439 for ac_func in isnan
39440 do :
39441 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39442 if test "x$ac_cv_func_isnan" = x""yes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE_ISNAN 1
39445 _ACEOF
39446
39447 fi
39448 done
39449
39450 else
39451
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39453 $as_echo_n "checking for _isnan declaration... " >&6; }
39454 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39455 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39456 $as_echo_n "(cached) " >&6
39457 else
39458
39459
39460 ac_ext=cpp
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39465
39466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h. */
39468 #include <math.h>
39469 #ifdef HAVE_IEEEFP_H
39470 #include <ieeefp.h>
39471 #endif
39472
39473 int
39474 main ()
39475 {
39476 _isnan(0);
39477 ;
39478 return 0;
39479 }
39480 _ACEOF
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func__isnan_use=yes
39483 else
39484 glibcxx_cv_func__isnan_use=no
39485 fi
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487 ac_ext=c
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39492
39493
39494 fi
39495
39496 fi
39497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39498 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39499
39500 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39501 for ac_func in _isnan
39502 do :
39503 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39504 if test "x$ac_cv_func__isnan" = x""yes; then :
39505 cat >>confdefs.h <<_ACEOF
39506 #define HAVE__ISNAN 1
39507 _ACEOF
39508
39509 fi
39510 done
39511
39512 fi
39513 fi
39514
39515
39516
39517
39518
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39520 $as_echo_n "checking for finite declaration... " >&6; }
39521 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39522 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39525
39526
39527 ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39532
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39538 #endif
39539
39540 int
39541 main ()
39542 {
39543 finite(0);
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func_finite_use=yes
39550 else
39551 glibcxx_cv_func_finite_use=no
39552 fi
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554 ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559
39560
39561 fi
39562
39563 fi
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39565 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39566
39567 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39568 for ac_func in finite
39569 do :
39570 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39571 if test "x$ac_cv_func_finite" = x""yes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE_FINITE 1
39574 _ACEOF
39575
39576 fi
39577 done
39578
39579 else
39580
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39582 $as_echo_n "checking for _finite declaration... " >&6; }
39583 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39584 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39585 $as_echo_n "(cached) " >&6
39586 else
39587
39588
39589 ac_ext=cpp
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39594
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39597 #include <math.h>
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39600 #endif
39601
39602 int
39603 main ()
39604 {
39605 _finite(0);
39606 ;
39607 return 0;
39608 }
39609 _ACEOF
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func__finite_use=yes
39612 else
39613 glibcxx_cv_func__finite_use=no
39614 fi
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616 ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39621
39622
39623 fi
39624
39625 fi
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39627 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39628
39629 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39630 for ac_func in _finite
39631 do :
39632 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39633 if test "x$ac_cv_func__finite" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE__FINITE 1
39636 _ACEOF
39637
39638 fi
39639 done
39640
39641 fi
39642 fi
39643
39644
39645
39646
39647
39648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39649 $as_echo_n "checking for sincos declaration... " >&6; }
39650 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39651 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39652 $as_echo_n "(cached) " >&6
39653 else
39654
39655
39656 ac_ext=cpp
39657 ac_cpp='$CXXCPP $CPPFLAGS'
39658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39661
39662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39663 /* end confdefs.h. */
39664 #include <math.h>
39665 int
39666 main ()
39667 {
39668 sincos(0, 0, 0);
39669 ;
39670 return 0;
39671 }
39672 _ACEOF
39673 if ac_fn_cxx_try_compile "$LINENO"; then :
39674 glibcxx_cv_func_sincos_use=yes
39675 else
39676 glibcxx_cv_func_sincos_use=no
39677 fi
39678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39679 ac_ext=c
39680 ac_cpp='$CPP $CPPFLAGS'
39681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39684
39685
39686 fi
39687
39688 fi
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39690 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39691
39692 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39693 for ac_func in sincos
39694 do :
39695 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39696 if test "x$ac_cv_func_sincos" = x""yes; then :
39697 cat >>confdefs.h <<_ACEOF
39698 #define HAVE_SINCOS 1
39699 _ACEOF
39700
39701 fi
39702 done
39703
39704 else
39705
39706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39707 $as_echo_n "checking for _sincos declaration... " >&6; }
39708 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39709 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39710 $as_echo_n "(cached) " >&6
39711 else
39712
39713
39714 ac_ext=cpp
39715 ac_cpp='$CXXCPP $CPPFLAGS'
39716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39719
39720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39721 /* end confdefs.h. */
39722 #include <math.h>
39723 int
39724 main ()
39725 {
39726 _sincos(0, 0, 0);
39727 ;
39728 return 0;
39729 }
39730 _ACEOF
39731 if ac_fn_cxx_try_compile "$LINENO"; then :
39732 glibcxx_cv_func__sincos_use=yes
39733 else
39734 glibcxx_cv_func__sincos_use=no
39735 fi
39736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39737 ac_ext=c
39738 ac_cpp='$CPP $CPPFLAGS'
39739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39742
39743
39744 fi
39745
39746 fi
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39748 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39749
39750 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39751 for ac_func in _sincos
39752 do :
39753 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39754 if test "x$ac_cv_func__sincos" = x""yes; then :
39755 cat >>confdefs.h <<_ACEOF
39756 #define HAVE__SINCOS 1
39757 _ACEOF
39758
39759 fi
39760 done
39761
39762 fi
39763 fi
39764
39765
39766
39767
39768
39769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39770 $as_echo_n "checking for fpclass declaration... " >&6; }
39771 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39772 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39773 $as_echo_n "(cached) " >&6
39774 else
39775
39776
39777 ac_ext=cpp
39778 ac_cpp='$CXXCPP $CPPFLAGS'
39779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39782
39783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39784 /* end confdefs.h. */
39785 #include <math.h>
39786 #ifdef HAVE_IEEEFP_H
39787 #include <ieeefp.h>
39788 #endif
39789
39790 int
39791 main ()
39792 {
39793 fpclass(0);
39794 ;
39795 return 0;
39796 }
39797 _ACEOF
39798 if ac_fn_cxx_try_compile "$LINENO"; then :
39799 glibcxx_cv_func_fpclass_use=yes
39800 else
39801 glibcxx_cv_func_fpclass_use=no
39802 fi
39803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39804 ac_ext=c
39805 ac_cpp='$CPP $CPPFLAGS'
39806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39809
39810
39811 fi
39812
39813 fi
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39815 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39816
39817 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39818 for ac_func in fpclass
39819 do :
39820 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39821 if test "x$ac_cv_func_fpclass" = x""yes; then :
39822 cat >>confdefs.h <<_ACEOF
39823 #define HAVE_FPCLASS 1
39824 _ACEOF
39825
39826 fi
39827 done
39828
39829 else
39830
39831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39832 $as_echo_n "checking for _fpclass declaration... " >&6; }
39833 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39834 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39835 $as_echo_n "(cached) " >&6
39836 else
39837
39838
39839 ac_ext=cpp
39840 ac_cpp='$CXXCPP $CPPFLAGS'
39841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39844
39845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39846 /* end confdefs.h. */
39847 #include <math.h>
39848 #ifdef HAVE_IEEEFP_H
39849 #include <ieeefp.h>
39850 #endif
39851
39852 int
39853 main ()
39854 {
39855 _fpclass(0);
39856 ;
39857 return 0;
39858 }
39859 _ACEOF
39860 if ac_fn_cxx_try_compile "$LINENO"; then :
39861 glibcxx_cv_func__fpclass_use=yes
39862 else
39863 glibcxx_cv_func__fpclass_use=no
39864 fi
39865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39866 ac_ext=c
39867 ac_cpp='$CPP $CPPFLAGS'
39868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39871
39872
39873 fi
39874
39875 fi
39876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39877 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39878
39879 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39880 for ac_func in _fpclass
39881 do :
39882 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39883 if test "x$ac_cv_func__fpclass" = x""yes; then :
39884 cat >>confdefs.h <<_ACEOF
39885 #define HAVE__FPCLASS 1
39886 _ACEOF
39887
39888 fi
39889 done
39890
39891 fi
39892 fi
39893
39894
39895
39896
39897
39898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39899 $as_echo_n "checking for qfpclass declaration... " >&6; }
39900 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39901 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39902 $as_echo_n "(cached) " >&6
39903 else
39904
39905
39906 ac_ext=cpp
39907 ac_cpp='$CXXCPP $CPPFLAGS'
39908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39911
39912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39913 /* end confdefs.h. */
39914 #include <math.h>
39915 #ifdef HAVE_IEEEFP_H
39916 #include <ieeefp.h>
39917 #endif
39918
39919 int
39920 main ()
39921 {
39922 qfpclass(0);
39923 ;
39924 return 0;
39925 }
39926 _ACEOF
39927 if ac_fn_cxx_try_compile "$LINENO"; then :
39928 glibcxx_cv_func_qfpclass_use=yes
39929 else
39930 glibcxx_cv_func_qfpclass_use=no
39931 fi
39932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39933 ac_ext=c
39934 ac_cpp='$CPP $CPPFLAGS'
39935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39938
39939
39940 fi
39941
39942 fi
39943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39944 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39945
39946 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39947 for ac_func in qfpclass
39948 do :
39949 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39950 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39951 cat >>confdefs.h <<_ACEOF
39952 #define HAVE_QFPCLASS 1
39953 _ACEOF
39954
39955 fi
39956 done
39957
39958 else
39959
39960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39961 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39962 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39963 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39964 $as_echo_n "(cached) " >&6
39965 else
39966
39967
39968 ac_ext=cpp
39969 ac_cpp='$CXXCPP $CPPFLAGS'
39970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39973
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39976 #include <math.h>
39977 #ifdef HAVE_IEEEFP_H
39978 #include <ieeefp.h>
39979 #endif
39980
39981 int
39982 main ()
39983 {
39984 _qfpclass(0);
39985 ;
39986 return 0;
39987 }
39988 _ACEOF
39989 if ac_fn_cxx_try_compile "$LINENO"; then :
39990 glibcxx_cv_func__qfpclass_use=yes
39991 else
39992 glibcxx_cv_func__qfpclass_use=no
39993 fi
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39995 ac_ext=c
39996 ac_cpp='$CPP $CPPFLAGS'
39997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40000
40001
40002 fi
40003
40004 fi
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40006 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40007
40008 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40009 for ac_func in _qfpclass
40010 do :
40011 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40012 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40013 cat >>confdefs.h <<_ACEOF
40014 #define HAVE__QFPCLASS 1
40015 _ACEOF
40016
40017 fi
40018 done
40019
40020 fi
40021 fi
40022
40023
40024
40025
40026
40027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40028 $as_echo_n "checking for hypot declaration... " >&6; }
40029 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40030 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40031 $as_echo_n "(cached) " >&6
40032 else
40033
40034
40035 ac_ext=cpp
40036 ac_cpp='$CXXCPP $CPPFLAGS'
40037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40040
40041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40042 /* end confdefs.h. */
40043 #include <math.h>
40044 int
40045 main ()
40046 {
40047 hypot(0, 0);
40048 ;
40049 return 0;
40050 }
40051 _ACEOF
40052 if ac_fn_cxx_try_compile "$LINENO"; then :
40053 glibcxx_cv_func_hypot_use=yes
40054 else
40055 glibcxx_cv_func_hypot_use=no
40056 fi
40057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40058 ac_ext=c
40059 ac_cpp='$CPP $CPPFLAGS'
40060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40063
40064
40065 fi
40066
40067 fi
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40069 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40070
40071 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40072 for ac_func in hypot
40073 do :
40074 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40075 if test "x$ac_cv_func_hypot" = x""yes; then :
40076 cat >>confdefs.h <<_ACEOF
40077 #define HAVE_HYPOT 1
40078 _ACEOF
40079
40080 fi
40081 done
40082
40083 else
40084
40085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40086 $as_echo_n "checking for _hypot declaration... " >&6; }
40087 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40088 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40089 $as_echo_n "(cached) " >&6
40090 else
40091
40092
40093 ac_ext=cpp
40094 ac_cpp='$CXXCPP $CPPFLAGS'
40095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40098
40099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40100 /* end confdefs.h. */
40101 #include <math.h>
40102 int
40103 main ()
40104 {
40105 _hypot(0, 0);
40106 ;
40107 return 0;
40108 }
40109 _ACEOF
40110 if ac_fn_cxx_try_compile "$LINENO"; then :
40111 glibcxx_cv_func__hypot_use=yes
40112 else
40113 glibcxx_cv_func__hypot_use=no
40114 fi
40115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40116 ac_ext=c
40117 ac_cpp='$CPP $CPPFLAGS'
40118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40121
40122
40123 fi
40124
40125 fi
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40127 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40128
40129 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40130 for ac_func in _hypot
40131 do :
40132 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40133 if test "x$ac_cv_func__hypot" = x""yes; then :
40134 cat >>confdefs.h <<_ACEOF
40135 #define HAVE__HYPOT 1
40136 _ACEOF
40137
40138 fi
40139 done
40140
40141 fi
40142 fi
40143
40144
40145
40146
40147
40148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40149 $as_echo_n "checking for float trig functions... " >&6; }
40150 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40151 $as_echo_n "(cached) " >&6
40152 else
40153
40154
40155 ac_ext=cpp
40156 ac_cpp='$CXXCPP $CPPFLAGS'
40157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40160
40161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40162 /* end confdefs.h. */
40163 #include <math.h>
40164 int
40165 main ()
40166 {
40167 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40168 ;
40169 return 0;
40170 }
40171 _ACEOF
40172 if ac_fn_cxx_try_compile "$LINENO"; then :
40173 glibcxx_cv_func_float_trig_use=yes
40174 else
40175 glibcxx_cv_func_float_trig_use=no
40176 fi
40177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40178 ac_ext=c
40179 ac_cpp='$CPP $CPPFLAGS'
40180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40183
40184 fi
40185
40186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40187 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40188 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40189 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40190 do :
40191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40193 eval as_val=\$$as_ac_var
40194 if test "x$as_val" = x""yes; then :
40195 cat >>confdefs.h <<_ACEOF
40196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40197 _ACEOF
40198
40199 fi
40200 done
40201
40202 else
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40204 $as_echo_n "checking for _float trig functions... " >&6; }
40205 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40206 $as_echo_n "(cached) " >&6
40207 else
40208
40209
40210 ac_ext=cpp
40211 ac_cpp='$CXXCPP $CPPFLAGS'
40212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40215
40216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40217 /* end confdefs.h. */
40218 #include <math.h>
40219 int
40220 main ()
40221 {
40222 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40223 ;
40224 return 0;
40225 }
40226 _ACEOF
40227 if ac_fn_cxx_try_compile "$LINENO"; then :
40228 glibcxx_cv_func__float_trig_use=yes
40229 else
40230 glibcxx_cv_func__float_trig_use=no
40231 fi
40232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40233 ac_ext=c
40234 ac_cpp='$CPP $CPPFLAGS'
40235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40238
40239 fi
40240
40241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40242 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40243 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40244 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40245 do :
40246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40248 eval as_val=\$$as_ac_var
40249 if test "x$as_val" = x""yes; then :
40250 cat >>confdefs.h <<_ACEOF
40251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40252 _ACEOF
40253
40254 fi
40255 done
40256
40257 fi
40258 fi
40259
40260
40261
40262
40263
40264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40265 $as_echo_n "checking for float round functions... " >&6; }
40266 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40267 $as_echo_n "(cached) " >&6
40268 else
40269
40270
40271 ac_ext=cpp
40272 ac_cpp='$CXXCPP $CPPFLAGS'
40273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40276
40277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40278 /* end confdefs.h. */
40279 #include <math.h>
40280 int
40281 main ()
40282 {
40283 ceilf (0); floorf (0);
40284 ;
40285 return 0;
40286 }
40287 _ACEOF
40288 if ac_fn_cxx_try_compile "$LINENO"; then :
40289 glibcxx_cv_func_float_round_use=yes
40290 else
40291 glibcxx_cv_func_float_round_use=no
40292 fi
40293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40294 ac_ext=c
40295 ac_cpp='$CPP $CPPFLAGS'
40296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40299
40300 fi
40301
40302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40303 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40304 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40305 for ac_func in ceilf floorf
40306 do :
40307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40309 eval as_val=\$$as_ac_var
40310 if test "x$as_val" = x""yes; then :
40311 cat >>confdefs.h <<_ACEOF
40312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40313 _ACEOF
40314
40315 fi
40316 done
40317
40318 else
40319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40320 $as_echo_n "checking for _float round functions... " >&6; }
40321 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40322 $as_echo_n "(cached) " >&6
40323 else
40324
40325
40326 ac_ext=cpp
40327 ac_cpp='$CXXCPP $CPPFLAGS'
40328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40331
40332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40333 /* end confdefs.h. */
40334 #include <math.h>
40335 int
40336 main ()
40337 {
40338 _ceilf (0); _floorf (0);
40339 ;
40340 return 0;
40341 }
40342 _ACEOF
40343 if ac_fn_cxx_try_compile "$LINENO"; then :
40344 glibcxx_cv_func__float_round_use=yes
40345 else
40346 glibcxx_cv_func__float_round_use=no
40347 fi
40348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40349 ac_ext=c
40350 ac_cpp='$CPP $CPPFLAGS'
40351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40354
40355 fi
40356
40357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40358 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40359 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40360 for ac_func in _ceilf _floorf
40361 do :
40362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40364 eval as_val=\$$as_ac_var
40365 if test "x$as_val" = x""yes; then :
40366 cat >>confdefs.h <<_ACEOF
40367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40368 _ACEOF
40369
40370 fi
40371 done
40372
40373 fi
40374 fi
40375
40376
40377
40378
40379
40380
40381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40382 $as_echo_n "checking for expf declaration... " >&6; }
40383 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40384 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40385 $as_echo_n "(cached) " >&6
40386 else
40387
40388
40389 ac_ext=cpp
40390 ac_cpp='$CXXCPP $CPPFLAGS'
40391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40394
40395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40396 /* end confdefs.h. */
40397 #include <math.h>
40398 #ifdef HAVE_IEEEFP_H
40399 #include <ieeefp.h>
40400 #endif
40401
40402 int
40403 main ()
40404 {
40405 expf(0);
40406 ;
40407 return 0;
40408 }
40409 _ACEOF
40410 if ac_fn_cxx_try_compile "$LINENO"; then :
40411 glibcxx_cv_func_expf_use=yes
40412 else
40413 glibcxx_cv_func_expf_use=no
40414 fi
40415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40416 ac_ext=c
40417 ac_cpp='$CPP $CPPFLAGS'
40418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40421
40422
40423 fi
40424
40425 fi
40426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40427 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40428
40429 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40430 for ac_func in expf
40431 do :
40432 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40433 if test "x$ac_cv_func_expf" = x""yes; then :
40434 cat >>confdefs.h <<_ACEOF
40435 #define HAVE_EXPF 1
40436 _ACEOF
40437
40438 fi
40439 done
40440
40441 else
40442
40443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40444 $as_echo_n "checking for _expf declaration... " >&6; }
40445 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40446 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40447 $as_echo_n "(cached) " >&6
40448 else
40449
40450
40451 ac_ext=cpp
40452 ac_cpp='$CXXCPP $CPPFLAGS'
40453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40456
40457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40458 /* end confdefs.h. */
40459 #include <math.h>
40460 #ifdef HAVE_IEEEFP_H
40461 #include <ieeefp.h>
40462 #endif
40463
40464 int
40465 main ()
40466 {
40467 _expf(0);
40468 ;
40469 return 0;
40470 }
40471 _ACEOF
40472 if ac_fn_cxx_try_compile "$LINENO"; then :
40473 glibcxx_cv_func__expf_use=yes
40474 else
40475 glibcxx_cv_func__expf_use=no
40476 fi
40477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40478 ac_ext=c
40479 ac_cpp='$CPP $CPPFLAGS'
40480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40483
40484
40485 fi
40486
40487 fi
40488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40489 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40490
40491 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40492 for ac_func in _expf
40493 do :
40494 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40495 if test "x$ac_cv_func__expf" = x""yes; then :
40496 cat >>confdefs.h <<_ACEOF
40497 #define HAVE__EXPF 1
40498 _ACEOF
40499
40500 fi
40501 done
40502
40503 fi
40504 fi
40505
40506
40507
40508
40509
40510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40511 $as_echo_n "checking for isnanf declaration... " >&6; }
40512 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40513 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40514 $as_echo_n "(cached) " >&6
40515 else
40516
40517
40518 ac_ext=cpp
40519 ac_cpp='$CXXCPP $CPPFLAGS'
40520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40523
40524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40525 /* end confdefs.h. */
40526 #include <math.h>
40527 #ifdef HAVE_IEEEFP_H
40528 #include <ieeefp.h>
40529 #endif
40530
40531 int
40532 main ()
40533 {
40534 isnanf(0);
40535 ;
40536 return 0;
40537 }
40538 _ACEOF
40539 if ac_fn_cxx_try_compile "$LINENO"; then :
40540 glibcxx_cv_func_isnanf_use=yes
40541 else
40542 glibcxx_cv_func_isnanf_use=no
40543 fi
40544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40545 ac_ext=c
40546 ac_cpp='$CPP $CPPFLAGS'
40547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40550
40551
40552 fi
40553
40554 fi
40555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40556 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40557
40558 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40559 for ac_func in isnanf
40560 do :
40561 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40562 if test "x$ac_cv_func_isnanf" = x""yes; then :
40563 cat >>confdefs.h <<_ACEOF
40564 #define HAVE_ISNANF 1
40565 _ACEOF
40566
40567 fi
40568 done
40569
40570 else
40571
40572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40573 $as_echo_n "checking for _isnanf declaration... " >&6; }
40574 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40575 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40576 $as_echo_n "(cached) " >&6
40577 else
40578
40579
40580 ac_ext=cpp
40581 ac_cpp='$CXXCPP $CPPFLAGS'
40582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40585
40586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40587 /* end confdefs.h. */
40588 #include <math.h>
40589 #ifdef HAVE_IEEEFP_H
40590 #include <ieeefp.h>
40591 #endif
40592
40593 int
40594 main ()
40595 {
40596 _isnanf(0);
40597 ;
40598 return 0;
40599 }
40600 _ACEOF
40601 if ac_fn_cxx_try_compile "$LINENO"; then :
40602 glibcxx_cv_func__isnanf_use=yes
40603 else
40604 glibcxx_cv_func__isnanf_use=no
40605 fi
40606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40607 ac_ext=c
40608 ac_cpp='$CPP $CPPFLAGS'
40609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40612
40613
40614 fi
40615
40616 fi
40617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40618 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40619
40620 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40621 for ac_func in _isnanf
40622 do :
40623 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40624 if test "x$ac_cv_func__isnanf" = x""yes; then :
40625 cat >>confdefs.h <<_ACEOF
40626 #define HAVE__ISNANF 1
40627 _ACEOF
40628
40629 fi
40630 done
40631
40632 fi
40633 fi
40634
40635
40636
40637
40638
40639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40640 $as_echo_n "checking for isinff declaration... " >&6; }
40641 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40642 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40643 $as_echo_n "(cached) " >&6
40644 else
40645
40646
40647 ac_ext=cpp
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652
40653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40654 /* end confdefs.h. */
40655 #include <math.h>
40656 #ifdef HAVE_IEEEFP_H
40657 #include <ieeefp.h>
40658 #endif
40659
40660 int
40661 main ()
40662 {
40663 isinff(0);
40664 ;
40665 return 0;
40666 }
40667 _ACEOF
40668 if ac_fn_cxx_try_compile "$LINENO"; then :
40669 glibcxx_cv_func_isinff_use=yes
40670 else
40671 glibcxx_cv_func_isinff_use=no
40672 fi
40673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40674 ac_ext=c
40675 ac_cpp='$CPP $CPPFLAGS'
40676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40679
40680
40681 fi
40682
40683 fi
40684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40685 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40686
40687 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40688 for ac_func in isinff
40689 do :
40690 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40691 if test "x$ac_cv_func_isinff" = x""yes; then :
40692 cat >>confdefs.h <<_ACEOF
40693 #define HAVE_ISINFF 1
40694 _ACEOF
40695
40696 fi
40697 done
40698
40699 else
40700
40701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40702 $as_echo_n "checking for _isinff declaration... " >&6; }
40703 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40704 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40705 $as_echo_n "(cached) " >&6
40706 else
40707
40708
40709 ac_ext=cpp
40710 ac_cpp='$CXXCPP $CPPFLAGS'
40711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40714
40715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40716 /* end confdefs.h. */
40717 #include <math.h>
40718 #ifdef HAVE_IEEEFP_H
40719 #include <ieeefp.h>
40720 #endif
40721
40722 int
40723 main ()
40724 {
40725 _isinff(0);
40726 ;
40727 return 0;
40728 }
40729 _ACEOF
40730 if ac_fn_cxx_try_compile "$LINENO"; then :
40731 glibcxx_cv_func__isinff_use=yes
40732 else
40733 glibcxx_cv_func__isinff_use=no
40734 fi
40735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40736 ac_ext=c
40737 ac_cpp='$CPP $CPPFLAGS'
40738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40741
40742
40743 fi
40744
40745 fi
40746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40747 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40748
40749 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40750 for ac_func in _isinff
40751 do :
40752 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40753 if test "x$ac_cv_func__isinff" = x""yes; then :
40754 cat >>confdefs.h <<_ACEOF
40755 #define HAVE__ISINFF 1
40756 _ACEOF
40757
40758 fi
40759 done
40760
40761 fi
40762 fi
40763
40764
40765
40766
40767
40768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40769 $as_echo_n "checking for atan2f declaration... " >&6; }
40770 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40771 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40772 $as_echo_n "(cached) " >&6
40773 else
40774
40775
40776 ac_ext=cpp
40777 ac_cpp='$CXXCPP $CPPFLAGS'
40778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40781
40782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40783 /* end confdefs.h. */
40784 #include <math.h>
40785 int
40786 main ()
40787 {
40788 atan2f(0, 0);
40789 ;
40790 return 0;
40791 }
40792 _ACEOF
40793 if ac_fn_cxx_try_compile "$LINENO"; then :
40794 glibcxx_cv_func_atan2f_use=yes
40795 else
40796 glibcxx_cv_func_atan2f_use=no
40797 fi
40798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40799 ac_ext=c
40800 ac_cpp='$CPP $CPPFLAGS'
40801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40804
40805
40806 fi
40807
40808 fi
40809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40810 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40811
40812 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40813 for ac_func in atan2f
40814 do :
40815 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40816 if test "x$ac_cv_func_atan2f" = x""yes; then :
40817 cat >>confdefs.h <<_ACEOF
40818 #define HAVE_ATAN2F 1
40819 _ACEOF
40820
40821 fi
40822 done
40823
40824 else
40825
40826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40827 $as_echo_n "checking for _atan2f declaration... " >&6; }
40828 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40829 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40830 $as_echo_n "(cached) " >&6
40831 else
40832
40833
40834 ac_ext=cpp
40835 ac_cpp='$CXXCPP $CPPFLAGS'
40836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40839
40840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40841 /* end confdefs.h. */
40842 #include <math.h>
40843 int
40844 main ()
40845 {
40846 _atan2f(0, 0);
40847 ;
40848 return 0;
40849 }
40850 _ACEOF
40851 if ac_fn_cxx_try_compile "$LINENO"; then :
40852 glibcxx_cv_func__atan2f_use=yes
40853 else
40854 glibcxx_cv_func__atan2f_use=no
40855 fi
40856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40857 ac_ext=c
40858 ac_cpp='$CPP $CPPFLAGS'
40859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40862
40863
40864 fi
40865
40866 fi
40867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40868 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40869
40870 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40871 for ac_func in _atan2f
40872 do :
40873 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40874 if test "x$ac_cv_func__atan2f" = x""yes; then :
40875 cat >>confdefs.h <<_ACEOF
40876 #define HAVE__ATAN2F 1
40877 _ACEOF
40878
40879 fi
40880 done
40881
40882 fi
40883 fi
40884
40885
40886
40887
40888
40889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40890 $as_echo_n "checking for fabsf declaration... " >&6; }
40891 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40892 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40893 $as_echo_n "(cached) " >&6
40894 else
40895
40896
40897 ac_ext=cpp
40898 ac_cpp='$CXXCPP $CPPFLAGS'
40899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40902
40903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40904 /* end confdefs.h. */
40905 #include <math.h>
40906 #ifdef HAVE_IEEEFP_H
40907 #include <ieeefp.h>
40908 #endif
40909
40910 int
40911 main ()
40912 {
40913 fabsf(0);
40914 ;
40915 return 0;
40916 }
40917 _ACEOF
40918 if ac_fn_cxx_try_compile "$LINENO"; then :
40919 glibcxx_cv_func_fabsf_use=yes
40920 else
40921 glibcxx_cv_func_fabsf_use=no
40922 fi
40923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40924 ac_ext=c
40925 ac_cpp='$CPP $CPPFLAGS'
40926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40929
40930
40931 fi
40932
40933 fi
40934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40935 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40936
40937 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40938 for ac_func in fabsf
40939 do :
40940 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40941 if test "x$ac_cv_func_fabsf" = x""yes; then :
40942 cat >>confdefs.h <<_ACEOF
40943 #define HAVE_FABSF 1
40944 _ACEOF
40945
40946 fi
40947 done
40948
40949 else
40950
40951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40952 $as_echo_n "checking for _fabsf declaration... " >&6; }
40953 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40954 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40955 $as_echo_n "(cached) " >&6
40956 else
40957
40958
40959 ac_ext=cpp
40960 ac_cpp='$CXXCPP $CPPFLAGS'
40961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40964
40965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h. */
40967 #include <math.h>
40968 #ifdef HAVE_IEEEFP_H
40969 #include <ieeefp.h>
40970 #endif
40971
40972 int
40973 main ()
40974 {
40975 _fabsf(0);
40976 ;
40977 return 0;
40978 }
40979 _ACEOF
40980 if ac_fn_cxx_try_compile "$LINENO"; then :
40981 glibcxx_cv_func__fabsf_use=yes
40982 else
40983 glibcxx_cv_func__fabsf_use=no
40984 fi
40985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40986 ac_ext=c
40987 ac_cpp='$CPP $CPPFLAGS'
40988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40991
40992
40993 fi
40994
40995 fi
40996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40997 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40998
40999 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41000 for ac_func in _fabsf
41001 do :
41002 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41003 if test "x$ac_cv_func__fabsf" = x""yes; then :
41004 cat >>confdefs.h <<_ACEOF
41005 #define HAVE__FABSF 1
41006 _ACEOF
41007
41008 fi
41009 done
41010
41011 fi
41012 fi
41013
41014
41015
41016
41017
41018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41019 $as_echo_n "checking for fmodf declaration... " >&6; }
41020 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41021 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41022 $as_echo_n "(cached) " >&6
41023 else
41024
41025
41026 ac_ext=cpp
41027 ac_cpp='$CXXCPP $CPPFLAGS'
41028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41031
41032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41033 /* end confdefs.h. */
41034 #include <math.h>
41035 int
41036 main ()
41037 {
41038 fmodf(0, 0);
41039 ;
41040 return 0;
41041 }
41042 _ACEOF
41043 if ac_fn_cxx_try_compile "$LINENO"; then :
41044 glibcxx_cv_func_fmodf_use=yes
41045 else
41046 glibcxx_cv_func_fmodf_use=no
41047 fi
41048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41049 ac_ext=c
41050 ac_cpp='$CPP $CPPFLAGS'
41051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41054
41055
41056 fi
41057
41058 fi
41059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41060 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41061
41062 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41063 for ac_func in fmodf
41064 do :
41065 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41066 if test "x$ac_cv_func_fmodf" = x""yes; then :
41067 cat >>confdefs.h <<_ACEOF
41068 #define HAVE_FMODF 1
41069 _ACEOF
41070
41071 fi
41072 done
41073
41074 else
41075
41076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41077 $as_echo_n "checking for _fmodf declaration... " >&6; }
41078 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41079 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41080 $as_echo_n "(cached) " >&6
41081 else
41082
41083
41084 ac_ext=cpp
41085 ac_cpp='$CXXCPP $CPPFLAGS'
41086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41089
41090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091 /* end confdefs.h. */
41092 #include <math.h>
41093 int
41094 main ()
41095 {
41096 _fmodf(0, 0);
41097 ;
41098 return 0;
41099 }
41100 _ACEOF
41101 if ac_fn_cxx_try_compile "$LINENO"; then :
41102 glibcxx_cv_func__fmodf_use=yes
41103 else
41104 glibcxx_cv_func__fmodf_use=no
41105 fi
41106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41107 ac_ext=c
41108 ac_cpp='$CPP $CPPFLAGS'
41109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41112
41113
41114 fi
41115
41116 fi
41117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41118 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41119
41120 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41121 for ac_func in _fmodf
41122 do :
41123 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41124 if test "x$ac_cv_func__fmodf" = x""yes; then :
41125 cat >>confdefs.h <<_ACEOF
41126 #define HAVE__FMODF 1
41127 _ACEOF
41128
41129 fi
41130 done
41131
41132 fi
41133 fi
41134
41135
41136
41137
41138
41139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41140 $as_echo_n "checking for frexpf declaration... " >&6; }
41141 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41142 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41143 $as_echo_n "(cached) " >&6
41144 else
41145
41146
41147 ac_ext=cpp
41148 ac_cpp='$CXXCPP $CPPFLAGS'
41149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152
41153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41154 /* end confdefs.h. */
41155 #include <math.h>
41156 int
41157 main ()
41158 {
41159 frexpf(0, 0);
41160 ;
41161 return 0;
41162 }
41163 _ACEOF
41164 if ac_fn_cxx_try_compile "$LINENO"; then :
41165 glibcxx_cv_func_frexpf_use=yes
41166 else
41167 glibcxx_cv_func_frexpf_use=no
41168 fi
41169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41170 ac_ext=c
41171 ac_cpp='$CPP $CPPFLAGS'
41172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41175
41176
41177 fi
41178
41179 fi
41180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41181 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41182
41183 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41184 for ac_func in frexpf
41185 do :
41186 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41187 if test "x$ac_cv_func_frexpf" = x""yes; then :
41188 cat >>confdefs.h <<_ACEOF
41189 #define HAVE_FREXPF 1
41190 _ACEOF
41191
41192 fi
41193 done
41194
41195 else
41196
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41198 $as_echo_n "checking for _frexpf declaration... " >&6; }
41199 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41200 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41201 $as_echo_n "(cached) " >&6
41202 else
41203
41204
41205 ac_ext=cpp
41206 ac_cpp='$CXXCPP $CPPFLAGS'
41207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41210
41211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41212 /* end confdefs.h. */
41213 #include <math.h>
41214 int
41215 main ()
41216 {
41217 _frexpf(0, 0);
41218 ;
41219 return 0;
41220 }
41221 _ACEOF
41222 if ac_fn_cxx_try_compile "$LINENO"; then :
41223 glibcxx_cv_func__frexpf_use=yes
41224 else
41225 glibcxx_cv_func__frexpf_use=no
41226 fi
41227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41228 ac_ext=c
41229 ac_cpp='$CPP $CPPFLAGS'
41230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41233
41234
41235 fi
41236
41237 fi
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41239 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41240
41241 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41242 for ac_func in _frexpf
41243 do :
41244 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41245 if test "x$ac_cv_func__frexpf" = x""yes; then :
41246 cat >>confdefs.h <<_ACEOF
41247 #define HAVE__FREXPF 1
41248 _ACEOF
41249
41250 fi
41251 done
41252
41253 fi
41254 fi
41255
41256
41257
41258
41259
41260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41261 $as_echo_n "checking for hypotf declaration... " >&6; }
41262 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41263 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41264 $as_echo_n "(cached) " >&6
41265 else
41266
41267
41268 ac_ext=cpp
41269 ac_cpp='$CXXCPP $CPPFLAGS'
41270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41273
41274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41275 /* end confdefs.h. */
41276 #include <math.h>
41277 int
41278 main ()
41279 {
41280 hypotf(0, 0);
41281 ;
41282 return 0;
41283 }
41284 _ACEOF
41285 if ac_fn_cxx_try_compile "$LINENO"; then :
41286 glibcxx_cv_func_hypotf_use=yes
41287 else
41288 glibcxx_cv_func_hypotf_use=no
41289 fi
41290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41291 ac_ext=c
41292 ac_cpp='$CPP $CPPFLAGS'
41293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41296
41297
41298 fi
41299
41300 fi
41301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41302 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41303
41304 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41305 for ac_func in hypotf
41306 do :
41307 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41308 if test "x$ac_cv_func_hypotf" = x""yes; then :
41309 cat >>confdefs.h <<_ACEOF
41310 #define HAVE_HYPOTF 1
41311 _ACEOF
41312
41313 fi
41314 done
41315
41316 else
41317
41318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41319 $as_echo_n "checking for _hypotf declaration... " >&6; }
41320 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41321 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41322 $as_echo_n "(cached) " >&6
41323 else
41324
41325
41326 ac_ext=cpp
41327 ac_cpp='$CXXCPP $CPPFLAGS'
41328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41331
41332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41333 /* end confdefs.h. */
41334 #include <math.h>
41335 int
41336 main ()
41337 {
41338 _hypotf(0, 0);
41339 ;
41340 return 0;
41341 }
41342 _ACEOF
41343 if ac_fn_cxx_try_compile "$LINENO"; then :
41344 glibcxx_cv_func__hypotf_use=yes
41345 else
41346 glibcxx_cv_func__hypotf_use=no
41347 fi
41348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41349 ac_ext=c
41350 ac_cpp='$CPP $CPPFLAGS'
41351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41354
41355
41356 fi
41357
41358 fi
41359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41360 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41361
41362 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41363 for ac_func in _hypotf
41364 do :
41365 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41366 if test "x$ac_cv_func__hypotf" = x""yes; then :
41367 cat >>confdefs.h <<_ACEOF
41368 #define HAVE__HYPOTF 1
41369 _ACEOF
41370
41371 fi
41372 done
41373
41374 fi
41375 fi
41376
41377
41378
41379
41380
41381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41382 $as_echo_n "checking for ldexpf declaration... " >&6; }
41383 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41384 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41385 $as_echo_n "(cached) " >&6
41386 else
41387
41388
41389 ac_ext=cpp
41390 ac_cpp='$CXXCPP $CPPFLAGS'
41391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41394
41395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41396 /* end confdefs.h. */
41397 #include <math.h>
41398 int
41399 main ()
41400 {
41401 ldexpf(0, 0);
41402 ;
41403 return 0;
41404 }
41405 _ACEOF
41406 if ac_fn_cxx_try_compile "$LINENO"; then :
41407 glibcxx_cv_func_ldexpf_use=yes
41408 else
41409 glibcxx_cv_func_ldexpf_use=no
41410 fi
41411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41412 ac_ext=c
41413 ac_cpp='$CPP $CPPFLAGS'
41414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41417
41418
41419 fi
41420
41421 fi
41422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41423 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41424
41425 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41426 for ac_func in ldexpf
41427 do :
41428 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41429 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41430 cat >>confdefs.h <<_ACEOF
41431 #define HAVE_LDEXPF 1
41432 _ACEOF
41433
41434 fi
41435 done
41436
41437 else
41438
41439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41440 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41441 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41442 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41443 $as_echo_n "(cached) " >&6
41444 else
41445
41446
41447 ac_ext=cpp
41448 ac_cpp='$CXXCPP $CPPFLAGS'
41449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41452
41453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41454 /* end confdefs.h. */
41455 #include <math.h>
41456 int
41457 main ()
41458 {
41459 _ldexpf(0, 0);
41460 ;
41461 return 0;
41462 }
41463 _ACEOF
41464 if ac_fn_cxx_try_compile "$LINENO"; then :
41465 glibcxx_cv_func__ldexpf_use=yes
41466 else
41467 glibcxx_cv_func__ldexpf_use=no
41468 fi
41469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41470 ac_ext=c
41471 ac_cpp='$CPP $CPPFLAGS'
41472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41475
41476
41477 fi
41478
41479 fi
41480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41481 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41482
41483 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41484 for ac_func in _ldexpf
41485 do :
41486 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41487 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41488 cat >>confdefs.h <<_ACEOF
41489 #define HAVE__LDEXPF 1
41490 _ACEOF
41491
41492 fi
41493 done
41494
41495 fi
41496 fi
41497
41498
41499
41500
41501
41502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41503 $as_echo_n "checking for logf declaration... " >&6; }
41504 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41505 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41506 $as_echo_n "(cached) " >&6
41507 else
41508
41509
41510 ac_ext=cpp
41511 ac_cpp='$CXXCPP $CPPFLAGS'
41512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41515
41516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41517 /* end confdefs.h. */
41518 #include <math.h>
41519 #ifdef HAVE_IEEEFP_H
41520 #include <ieeefp.h>
41521 #endif
41522
41523 int
41524 main ()
41525 {
41526 logf(0);
41527 ;
41528 return 0;
41529 }
41530 _ACEOF
41531 if ac_fn_cxx_try_compile "$LINENO"; then :
41532 glibcxx_cv_func_logf_use=yes
41533 else
41534 glibcxx_cv_func_logf_use=no
41535 fi
41536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41537 ac_ext=c
41538 ac_cpp='$CPP $CPPFLAGS'
41539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41542
41543
41544 fi
41545
41546 fi
41547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41548 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41549
41550 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41551 for ac_func in logf
41552 do :
41553 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41554 if test "x$ac_cv_func_logf" = x""yes; then :
41555 cat >>confdefs.h <<_ACEOF
41556 #define HAVE_LOGF 1
41557 _ACEOF
41558
41559 fi
41560 done
41561
41562 else
41563
41564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41565 $as_echo_n "checking for _logf declaration... " >&6; }
41566 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41567 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41568 $as_echo_n "(cached) " >&6
41569 else
41570
41571
41572 ac_ext=cpp
41573 ac_cpp='$CXXCPP $CPPFLAGS'
41574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41577
41578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41579 /* end confdefs.h. */
41580 #include <math.h>
41581 #ifdef HAVE_IEEEFP_H
41582 #include <ieeefp.h>
41583 #endif
41584
41585 int
41586 main ()
41587 {
41588 _logf(0);
41589 ;
41590 return 0;
41591 }
41592 _ACEOF
41593 if ac_fn_cxx_try_compile "$LINENO"; then :
41594 glibcxx_cv_func__logf_use=yes
41595 else
41596 glibcxx_cv_func__logf_use=no
41597 fi
41598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41599 ac_ext=c
41600 ac_cpp='$CPP $CPPFLAGS'
41601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41604
41605
41606 fi
41607
41608 fi
41609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41610 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41611
41612 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41613 for ac_func in _logf
41614 do :
41615 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41616 if test "x$ac_cv_func__logf" = x""yes; then :
41617 cat >>confdefs.h <<_ACEOF
41618 #define HAVE__LOGF 1
41619 _ACEOF
41620
41621 fi
41622 done
41623
41624 fi
41625 fi
41626
41627
41628
41629
41630
41631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41632 $as_echo_n "checking for log10f declaration... " >&6; }
41633 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41634 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41635 $as_echo_n "(cached) " >&6
41636 else
41637
41638
41639 ac_ext=cpp
41640 ac_cpp='$CXXCPP $CPPFLAGS'
41641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41644
41645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41646 /* end confdefs.h. */
41647 #include <math.h>
41648 #ifdef HAVE_IEEEFP_H
41649 #include <ieeefp.h>
41650 #endif
41651
41652 int
41653 main ()
41654 {
41655 log10f(0);
41656 ;
41657 return 0;
41658 }
41659 _ACEOF
41660 if ac_fn_cxx_try_compile "$LINENO"; then :
41661 glibcxx_cv_func_log10f_use=yes
41662 else
41663 glibcxx_cv_func_log10f_use=no
41664 fi
41665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41666 ac_ext=c
41667 ac_cpp='$CPP $CPPFLAGS'
41668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41671
41672
41673 fi
41674
41675 fi
41676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41677 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41678
41679 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41680 for ac_func in log10f
41681 do :
41682 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41683 if test "x$ac_cv_func_log10f" = x""yes; then :
41684 cat >>confdefs.h <<_ACEOF
41685 #define HAVE_LOG10F 1
41686 _ACEOF
41687
41688 fi
41689 done
41690
41691 else
41692
41693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41694 $as_echo_n "checking for _log10f declaration... " >&6; }
41695 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41696 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41697 $as_echo_n "(cached) " >&6
41698 else
41699
41700
41701 ac_ext=cpp
41702 ac_cpp='$CXXCPP $CPPFLAGS'
41703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41706
41707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41708 /* end confdefs.h. */
41709 #include <math.h>
41710 #ifdef HAVE_IEEEFP_H
41711 #include <ieeefp.h>
41712 #endif
41713
41714 int
41715 main ()
41716 {
41717 _log10f(0);
41718 ;
41719 return 0;
41720 }
41721 _ACEOF
41722 if ac_fn_cxx_try_compile "$LINENO"; then :
41723 glibcxx_cv_func__log10f_use=yes
41724 else
41725 glibcxx_cv_func__log10f_use=no
41726 fi
41727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41728 ac_ext=c
41729 ac_cpp='$CPP $CPPFLAGS'
41730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41733
41734
41735 fi
41736
41737 fi
41738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41739 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41740
41741 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41742 for ac_func in _log10f
41743 do :
41744 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41745 if test "x$ac_cv_func__log10f" = x""yes; then :
41746 cat >>confdefs.h <<_ACEOF
41747 #define HAVE__LOG10F 1
41748 _ACEOF
41749
41750 fi
41751 done
41752
41753 fi
41754 fi
41755
41756
41757
41758
41759
41760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41761 $as_echo_n "checking for modff declaration... " >&6; }
41762 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41763 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41764 $as_echo_n "(cached) " >&6
41765 else
41766
41767
41768 ac_ext=cpp
41769 ac_cpp='$CXXCPP $CPPFLAGS'
41770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41773
41774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41775 /* end confdefs.h. */
41776 #include <math.h>
41777 int
41778 main ()
41779 {
41780 modff(0, 0);
41781 ;
41782 return 0;
41783 }
41784 _ACEOF
41785 if ac_fn_cxx_try_compile "$LINENO"; then :
41786 glibcxx_cv_func_modff_use=yes
41787 else
41788 glibcxx_cv_func_modff_use=no
41789 fi
41790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41791 ac_ext=c
41792 ac_cpp='$CPP $CPPFLAGS'
41793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41796
41797
41798 fi
41799
41800 fi
41801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41802 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41803
41804 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41805 for ac_func in modff
41806 do :
41807 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41808 if test "x$ac_cv_func_modff" = x""yes; then :
41809 cat >>confdefs.h <<_ACEOF
41810 #define HAVE_MODFF 1
41811 _ACEOF
41812
41813 fi
41814 done
41815
41816 else
41817
41818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41819 $as_echo_n "checking for _modff declaration... " >&6; }
41820 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41821 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41822 $as_echo_n "(cached) " >&6
41823 else
41824
41825
41826 ac_ext=cpp
41827 ac_cpp='$CXXCPP $CPPFLAGS'
41828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41831
41832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41833 /* end confdefs.h. */
41834 #include <math.h>
41835 int
41836 main ()
41837 {
41838 _modff(0, 0);
41839 ;
41840 return 0;
41841 }
41842 _ACEOF
41843 if ac_fn_cxx_try_compile "$LINENO"; then :
41844 glibcxx_cv_func__modff_use=yes
41845 else
41846 glibcxx_cv_func__modff_use=no
41847 fi
41848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41849 ac_ext=c
41850 ac_cpp='$CPP $CPPFLAGS'
41851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41854
41855
41856 fi
41857
41858 fi
41859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41860 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41861
41862 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41863 for ac_func in _modff
41864 do :
41865 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41866 if test "x$ac_cv_func__modff" = x""yes; then :
41867 cat >>confdefs.h <<_ACEOF
41868 #define HAVE__MODFF 1
41869 _ACEOF
41870
41871 fi
41872 done
41873
41874 fi
41875 fi
41876
41877
41878
41879
41880
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41882 $as_echo_n "checking for modf declaration... " >&6; }
41883 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41884 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41885 $as_echo_n "(cached) " >&6
41886 else
41887
41888
41889 ac_ext=cpp
41890 ac_cpp='$CXXCPP $CPPFLAGS'
41891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41894
41895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41896 /* end confdefs.h. */
41897 #include <math.h>
41898 int
41899 main ()
41900 {
41901 modf(0, 0);
41902 ;
41903 return 0;
41904 }
41905 _ACEOF
41906 if ac_fn_cxx_try_compile "$LINENO"; then :
41907 glibcxx_cv_func_modf_use=yes
41908 else
41909 glibcxx_cv_func_modf_use=no
41910 fi
41911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41912 ac_ext=c
41913 ac_cpp='$CPP $CPPFLAGS'
41914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41917
41918
41919 fi
41920
41921 fi
41922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41923 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41924
41925 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41926 for ac_func in modf
41927 do :
41928 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41929 if test "x$ac_cv_func_modf" = x""yes; then :
41930 cat >>confdefs.h <<_ACEOF
41931 #define HAVE_MODF 1
41932 _ACEOF
41933
41934 fi
41935 done
41936
41937 else
41938
41939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41940 $as_echo_n "checking for _modf declaration... " >&6; }
41941 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41942 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41943 $as_echo_n "(cached) " >&6
41944 else
41945
41946
41947 ac_ext=cpp
41948 ac_cpp='$CXXCPP $CPPFLAGS'
41949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41952
41953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41954 /* end confdefs.h. */
41955 #include <math.h>
41956 int
41957 main ()
41958 {
41959 _modf(0, 0);
41960 ;
41961 return 0;
41962 }
41963 _ACEOF
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965 glibcxx_cv_func__modf_use=yes
41966 else
41967 glibcxx_cv_func__modf_use=no
41968 fi
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41970 ac_ext=c
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41975
41976
41977 fi
41978
41979 fi
41980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41981 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41982
41983 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41984 for ac_func in _modf
41985 do :
41986 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41987 if test "x$ac_cv_func__modf" = x""yes; then :
41988 cat >>confdefs.h <<_ACEOF
41989 #define HAVE__MODF 1
41990 _ACEOF
41991
41992 fi
41993 done
41994
41995 fi
41996 fi
41997
41998
41999
42000
42001
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42003 $as_echo_n "checking for powf declaration... " >&6; }
42004 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42005 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42006 $as_echo_n "(cached) " >&6
42007 else
42008
42009
42010 ac_ext=cpp
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42015
42016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42017 /* end confdefs.h. */
42018 #include <math.h>
42019 int
42020 main ()
42021 {
42022 powf(0, 0);
42023 ;
42024 return 0;
42025 }
42026 _ACEOF
42027 if ac_fn_cxx_try_compile "$LINENO"; then :
42028 glibcxx_cv_func_powf_use=yes
42029 else
42030 glibcxx_cv_func_powf_use=no
42031 fi
42032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42033 ac_ext=c
42034 ac_cpp='$CPP $CPPFLAGS'
42035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42038
42039
42040 fi
42041
42042 fi
42043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42044 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42045
42046 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42047 for ac_func in powf
42048 do :
42049 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42050 if test "x$ac_cv_func_powf" = x""yes; then :
42051 cat >>confdefs.h <<_ACEOF
42052 #define HAVE_POWF 1
42053 _ACEOF
42054
42055 fi
42056 done
42057
42058 else
42059
42060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42061 $as_echo_n "checking for _powf declaration... " >&6; }
42062 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42063 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42064 $as_echo_n "(cached) " >&6
42065 else
42066
42067
42068 ac_ext=cpp
42069 ac_cpp='$CXXCPP $CPPFLAGS'
42070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42073
42074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42075 /* end confdefs.h. */
42076 #include <math.h>
42077 int
42078 main ()
42079 {
42080 _powf(0, 0);
42081 ;
42082 return 0;
42083 }
42084 _ACEOF
42085 if ac_fn_cxx_try_compile "$LINENO"; then :
42086 glibcxx_cv_func__powf_use=yes
42087 else
42088 glibcxx_cv_func__powf_use=no
42089 fi
42090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42091 ac_ext=c
42092 ac_cpp='$CPP $CPPFLAGS'
42093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42096
42097
42098 fi
42099
42100 fi
42101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42102 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42103
42104 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42105 for ac_func in _powf
42106 do :
42107 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42108 if test "x$ac_cv_func__powf" = x""yes; then :
42109 cat >>confdefs.h <<_ACEOF
42110 #define HAVE__POWF 1
42111 _ACEOF
42112
42113 fi
42114 done
42115
42116 fi
42117 fi
42118
42119
42120
42121
42122
42123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42124 $as_echo_n "checking for sqrtf declaration... " >&6; }
42125 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42126 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42127 $as_echo_n "(cached) " >&6
42128 else
42129
42130
42131 ac_ext=cpp
42132 ac_cpp='$CXXCPP $CPPFLAGS'
42133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42136
42137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42138 /* end confdefs.h. */
42139 #include <math.h>
42140 #ifdef HAVE_IEEEFP_H
42141 #include <ieeefp.h>
42142 #endif
42143
42144 int
42145 main ()
42146 {
42147 sqrtf(0);
42148 ;
42149 return 0;
42150 }
42151 _ACEOF
42152 if ac_fn_cxx_try_compile "$LINENO"; then :
42153 glibcxx_cv_func_sqrtf_use=yes
42154 else
42155 glibcxx_cv_func_sqrtf_use=no
42156 fi
42157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42158 ac_ext=c
42159 ac_cpp='$CPP $CPPFLAGS'
42160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42163
42164
42165 fi
42166
42167 fi
42168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42169 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42170
42171 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42172 for ac_func in sqrtf
42173 do :
42174 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42175 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42176 cat >>confdefs.h <<_ACEOF
42177 #define HAVE_SQRTF 1
42178 _ACEOF
42179
42180 fi
42181 done
42182
42183 else
42184
42185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42186 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42187 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42188 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42189 $as_echo_n "(cached) " >&6
42190 else
42191
42192
42193 ac_ext=cpp
42194 ac_cpp='$CXXCPP $CPPFLAGS'
42195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42198
42199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42200 /* end confdefs.h. */
42201 #include <math.h>
42202 #ifdef HAVE_IEEEFP_H
42203 #include <ieeefp.h>
42204 #endif
42205
42206 int
42207 main ()
42208 {
42209 _sqrtf(0);
42210 ;
42211 return 0;
42212 }
42213 _ACEOF
42214 if ac_fn_cxx_try_compile "$LINENO"; then :
42215 glibcxx_cv_func__sqrtf_use=yes
42216 else
42217 glibcxx_cv_func__sqrtf_use=no
42218 fi
42219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42220 ac_ext=c
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42225
42226
42227 fi
42228
42229 fi
42230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42231 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42232
42233 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42234 for ac_func in _sqrtf
42235 do :
42236 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42237 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42238 cat >>confdefs.h <<_ACEOF
42239 #define HAVE__SQRTF 1
42240 _ACEOF
42241
42242 fi
42243 done
42244
42245 fi
42246 fi
42247
42248
42249
42250
42251
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42253 $as_echo_n "checking for sincosf declaration... " >&6; }
42254 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42255 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42256 $as_echo_n "(cached) " >&6
42257 else
42258
42259
42260 ac_ext=cpp
42261 ac_cpp='$CXXCPP $CPPFLAGS'
42262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42265
42266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42267 /* end confdefs.h. */
42268 #include <math.h>
42269 int
42270 main ()
42271 {
42272 sincosf(0, 0, 0);
42273 ;
42274 return 0;
42275 }
42276 _ACEOF
42277 if ac_fn_cxx_try_compile "$LINENO"; then :
42278 glibcxx_cv_func_sincosf_use=yes
42279 else
42280 glibcxx_cv_func_sincosf_use=no
42281 fi
42282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42283 ac_ext=c
42284 ac_cpp='$CPP $CPPFLAGS'
42285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42288
42289
42290 fi
42291
42292 fi
42293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42294 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42295
42296 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42297 for ac_func in sincosf
42298 do :
42299 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42300 if test "x$ac_cv_func_sincosf" = x""yes; then :
42301 cat >>confdefs.h <<_ACEOF
42302 #define HAVE_SINCOSF 1
42303 _ACEOF
42304
42305 fi
42306 done
42307
42308 else
42309
42310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42311 $as_echo_n "checking for _sincosf declaration... " >&6; }
42312 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42313 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42314 $as_echo_n "(cached) " >&6
42315 else
42316
42317
42318 ac_ext=cpp
42319 ac_cpp='$CXXCPP $CPPFLAGS'
42320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42323
42324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42325 /* end confdefs.h. */
42326 #include <math.h>
42327 int
42328 main ()
42329 {
42330 _sincosf(0, 0, 0);
42331 ;
42332 return 0;
42333 }
42334 _ACEOF
42335 if ac_fn_cxx_try_compile "$LINENO"; then :
42336 glibcxx_cv_func__sincosf_use=yes
42337 else
42338 glibcxx_cv_func__sincosf_use=no
42339 fi
42340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42341 ac_ext=c
42342 ac_cpp='$CPP $CPPFLAGS'
42343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42346
42347
42348 fi
42349
42350 fi
42351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42352 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42353
42354 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42355 for ac_func in _sincosf
42356 do :
42357 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42358 if test "x$ac_cv_func__sincosf" = x""yes; then :
42359 cat >>confdefs.h <<_ACEOF
42360 #define HAVE__SINCOSF 1
42361 _ACEOF
42362
42363 fi
42364 done
42365
42366 fi
42367 fi
42368
42369
42370
42371
42372
42373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42374 $as_echo_n "checking for finitef declaration... " >&6; }
42375 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42376 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42377 $as_echo_n "(cached) " >&6
42378 else
42379
42380
42381 ac_ext=cpp
42382 ac_cpp='$CXXCPP $CPPFLAGS'
42383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42386
42387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42388 /* end confdefs.h. */
42389 #include <math.h>
42390 #ifdef HAVE_IEEEFP_H
42391 #include <ieeefp.h>
42392 #endif
42393
42394 int
42395 main ()
42396 {
42397 finitef(0);
42398 ;
42399 return 0;
42400 }
42401 _ACEOF
42402 if ac_fn_cxx_try_compile "$LINENO"; then :
42403 glibcxx_cv_func_finitef_use=yes
42404 else
42405 glibcxx_cv_func_finitef_use=no
42406 fi
42407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42408 ac_ext=c
42409 ac_cpp='$CPP $CPPFLAGS'
42410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42413
42414
42415 fi
42416
42417 fi
42418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42419 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42420
42421 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42422 for ac_func in finitef
42423 do :
42424 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42425 if test "x$ac_cv_func_finitef" = x""yes; then :
42426 cat >>confdefs.h <<_ACEOF
42427 #define HAVE_FINITEF 1
42428 _ACEOF
42429
42430 fi
42431 done
42432
42433 else
42434
42435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42436 $as_echo_n "checking for _finitef declaration... " >&6; }
42437 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42438 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42439 $as_echo_n "(cached) " >&6
42440 else
42441
42442
42443 ac_ext=cpp
42444 ac_cpp='$CXXCPP $CPPFLAGS'
42445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42448
42449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42450 /* end confdefs.h. */
42451 #include <math.h>
42452 #ifdef HAVE_IEEEFP_H
42453 #include <ieeefp.h>
42454 #endif
42455
42456 int
42457 main ()
42458 {
42459 _finitef(0);
42460 ;
42461 return 0;
42462 }
42463 _ACEOF
42464 if ac_fn_cxx_try_compile "$LINENO"; then :
42465 glibcxx_cv_func__finitef_use=yes
42466 else
42467 glibcxx_cv_func__finitef_use=no
42468 fi
42469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42470 ac_ext=c
42471 ac_cpp='$CPP $CPPFLAGS'
42472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42475
42476
42477 fi
42478
42479 fi
42480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42481 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42482
42483 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42484 for ac_func in _finitef
42485 do :
42486 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42487 if test "x$ac_cv_func__finitef" = x""yes; then :
42488 cat >>confdefs.h <<_ACEOF
42489 #define HAVE__FINITEF 1
42490 _ACEOF
42491
42492 fi
42493 done
42494
42495 fi
42496 fi
42497
42498
42499
42500
42501
42502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42503 $as_echo_n "checking for long double trig functions... " >&6; }
42504 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42505 $as_echo_n "(cached) " >&6
42506 else
42507
42508
42509 ac_ext=cpp
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42514
42515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42516 /* end confdefs.h. */
42517 #include <math.h>
42518 int
42519 main ()
42520 {
42521 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42522 ;
42523 return 0;
42524 }
42525 _ACEOF
42526 if ac_fn_cxx_try_compile "$LINENO"; then :
42527 glibcxx_cv_func_long_double_trig_use=yes
42528 else
42529 glibcxx_cv_func_long_double_trig_use=no
42530 fi
42531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42532 ac_ext=c
42533 ac_cpp='$CPP $CPPFLAGS'
42534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42537
42538 fi
42539
42540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42541 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42542 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42543 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42544 do :
42545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42547 eval as_val=\$$as_ac_var
42548 if test "x$as_val" = x""yes; then :
42549 cat >>confdefs.h <<_ACEOF
42550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42551 _ACEOF
42552
42553 fi
42554 done
42555
42556 else
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42558 $as_echo_n "checking for _long double trig functions... " >&6; }
42559 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42560 $as_echo_n "(cached) " >&6
42561 else
42562
42563
42564 ac_ext=cpp
42565 ac_cpp='$CXXCPP $CPPFLAGS'
42566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42569
42570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42571 /* end confdefs.h. */
42572 #include <math.h>
42573 int
42574 main ()
42575 {
42576 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42577 ;
42578 return 0;
42579 }
42580 _ACEOF
42581 if ac_fn_cxx_try_compile "$LINENO"; then :
42582 glibcxx_cv_func__long_double_trig_use=yes
42583 else
42584 glibcxx_cv_func__long_double_trig_use=no
42585 fi
42586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42587 ac_ext=c
42588 ac_cpp='$CPP $CPPFLAGS'
42589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42592
42593 fi
42594
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42596 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42597 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42598 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42599 do :
42600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42602 eval as_val=\$$as_ac_var
42603 if test "x$as_val" = x""yes; then :
42604 cat >>confdefs.h <<_ACEOF
42605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42606 _ACEOF
42607
42608 fi
42609 done
42610
42611 fi
42612 fi
42613
42614
42615
42616
42617
42618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42619 $as_echo_n "checking for long double round functions... " >&6; }
42620 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42621 $as_echo_n "(cached) " >&6
42622 else
42623
42624
42625 ac_ext=cpp
42626 ac_cpp='$CXXCPP $CPPFLAGS'
42627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42630
42631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42632 /* end confdefs.h. */
42633 #include <math.h>
42634 int
42635 main ()
42636 {
42637 ceill (0); floorl (0);
42638 ;
42639 return 0;
42640 }
42641 _ACEOF
42642 if ac_fn_cxx_try_compile "$LINENO"; then :
42643 glibcxx_cv_func_long_double_round_use=yes
42644 else
42645 glibcxx_cv_func_long_double_round_use=no
42646 fi
42647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42648 ac_ext=c
42649 ac_cpp='$CPP $CPPFLAGS'
42650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42653
42654 fi
42655
42656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42657 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42658 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42659 for ac_func in ceill floorl
42660 do :
42661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42663 eval as_val=\$$as_ac_var
42664 if test "x$as_val" = x""yes; then :
42665 cat >>confdefs.h <<_ACEOF
42666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42667 _ACEOF
42668
42669 fi
42670 done
42671
42672 else
42673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42674 $as_echo_n "checking for _long double round functions... " >&6; }
42675 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42676 $as_echo_n "(cached) " >&6
42677 else
42678
42679
42680 ac_ext=cpp
42681 ac_cpp='$CXXCPP $CPPFLAGS'
42682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42685
42686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42687 /* end confdefs.h. */
42688 #include <math.h>
42689 int
42690 main ()
42691 {
42692 _ceill (0); _floorl (0);
42693 ;
42694 return 0;
42695 }
42696 _ACEOF
42697 if ac_fn_cxx_try_compile "$LINENO"; then :
42698 glibcxx_cv_func__long_double_round_use=yes
42699 else
42700 glibcxx_cv_func__long_double_round_use=no
42701 fi
42702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42703 ac_ext=c
42704 ac_cpp='$CPP $CPPFLAGS'
42705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42708
42709 fi
42710
42711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42712 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42713 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42714 for ac_func in _ceill _floorl
42715 do :
42716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42718 eval as_val=\$$as_ac_var
42719 if test "x$as_val" = x""yes; then :
42720 cat >>confdefs.h <<_ACEOF
42721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42722 _ACEOF
42723
42724 fi
42725 done
42726
42727 fi
42728 fi
42729
42730
42731
42732
42733
42734
42735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42736 $as_echo_n "checking for isnanl declaration... " >&6; }
42737 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42738 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42739 $as_echo_n "(cached) " >&6
42740 else
42741
42742
42743 ac_ext=cpp
42744 ac_cpp='$CXXCPP $CPPFLAGS'
42745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42748
42749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42750 /* end confdefs.h. */
42751 #include <math.h>
42752 #ifdef HAVE_IEEEFP_H
42753 #include <ieeefp.h>
42754 #endif
42755
42756 int
42757 main ()
42758 {
42759 isnanl(0);
42760 ;
42761 return 0;
42762 }
42763 _ACEOF
42764 if ac_fn_cxx_try_compile "$LINENO"; then :
42765 glibcxx_cv_func_isnanl_use=yes
42766 else
42767 glibcxx_cv_func_isnanl_use=no
42768 fi
42769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42770 ac_ext=c
42771 ac_cpp='$CPP $CPPFLAGS'
42772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42775
42776
42777 fi
42778
42779 fi
42780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42781 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42782
42783 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42784 for ac_func in isnanl
42785 do :
42786 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42787 if test "x$ac_cv_func_isnanl" = x""yes; then :
42788 cat >>confdefs.h <<_ACEOF
42789 #define HAVE_ISNANL 1
42790 _ACEOF
42791
42792 fi
42793 done
42794
42795 else
42796
42797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42798 $as_echo_n "checking for _isnanl declaration... " >&6; }
42799 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42800 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42801 $as_echo_n "(cached) " >&6
42802 else
42803
42804
42805 ac_ext=cpp
42806 ac_cpp='$CXXCPP $CPPFLAGS'
42807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42810
42811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42812 /* end confdefs.h. */
42813 #include <math.h>
42814 #ifdef HAVE_IEEEFP_H
42815 #include <ieeefp.h>
42816 #endif
42817
42818 int
42819 main ()
42820 {
42821 _isnanl(0);
42822 ;
42823 return 0;
42824 }
42825 _ACEOF
42826 if ac_fn_cxx_try_compile "$LINENO"; then :
42827 glibcxx_cv_func__isnanl_use=yes
42828 else
42829 glibcxx_cv_func__isnanl_use=no
42830 fi
42831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42832 ac_ext=c
42833 ac_cpp='$CPP $CPPFLAGS'
42834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42837
42838
42839 fi
42840
42841 fi
42842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42843 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42844
42845 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42846 for ac_func in _isnanl
42847 do :
42848 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42849 if test "x$ac_cv_func__isnanl" = x""yes; then :
42850 cat >>confdefs.h <<_ACEOF
42851 #define HAVE__ISNANL 1
42852 _ACEOF
42853
42854 fi
42855 done
42856
42857 fi
42858 fi
42859
42860
42861
42862
42863
42864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42865 $as_echo_n "checking for isinfl declaration... " >&6; }
42866 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42867 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42868 $as_echo_n "(cached) " >&6
42869 else
42870
42871
42872 ac_ext=cpp
42873 ac_cpp='$CXXCPP $CPPFLAGS'
42874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42877
42878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42879 /* end confdefs.h. */
42880 #include <math.h>
42881 #ifdef HAVE_IEEEFP_H
42882 #include <ieeefp.h>
42883 #endif
42884
42885 int
42886 main ()
42887 {
42888 isinfl(0);
42889 ;
42890 return 0;
42891 }
42892 _ACEOF
42893 if ac_fn_cxx_try_compile "$LINENO"; then :
42894 glibcxx_cv_func_isinfl_use=yes
42895 else
42896 glibcxx_cv_func_isinfl_use=no
42897 fi
42898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42899 ac_ext=c
42900 ac_cpp='$CPP $CPPFLAGS'
42901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42904
42905
42906 fi
42907
42908 fi
42909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42910 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42911
42912 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42913 for ac_func in isinfl
42914 do :
42915 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42916 if test "x$ac_cv_func_isinfl" = x""yes; then :
42917 cat >>confdefs.h <<_ACEOF
42918 #define HAVE_ISINFL 1
42919 _ACEOF
42920
42921 fi
42922 done
42923
42924 else
42925
42926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42927 $as_echo_n "checking for _isinfl declaration... " >&6; }
42928 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42929 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42930 $as_echo_n "(cached) " >&6
42931 else
42932
42933
42934 ac_ext=cpp
42935 ac_cpp='$CXXCPP $CPPFLAGS'
42936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939
42940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42941 /* end confdefs.h. */
42942 #include <math.h>
42943 #ifdef HAVE_IEEEFP_H
42944 #include <ieeefp.h>
42945 #endif
42946
42947 int
42948 main ()
42949 {
42950 _isinfl(0);
42951 ;
42952 return 0;
42953 }
42954 _ACEOF
42955 if ac_fn_cxx_try_compile "$LINENO"; then :
42956 glibcxx_cv_func__isinfl_use=yes
42957 else
42958 glibcxx_cv_func__isinfl_use=no
42959 fi
42960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42961 ac_ext=c
42962 ac_cpp='$CPP $CPPFLAGS'
42963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42966
42967
42968 fi
42969
42970 fi
42971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42972 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42973
42974 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42975 for ac_func in _isinfl
42976 do :
42977 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42978 if test "x$ac_cv_func__isinfl" = x""yes; then :
42979 cat >>confdefs.h <<_ACEOF
42980 #define HAVE__ISINFL 1
42981 _ACEOF
42982
42983 fi
42984 done
42985
42986 fi
42987 fi
42988
42989
42990
42991
42992
42993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42994 $as_echo_n "checking for atan2l declaration... " >&6; }
42995 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42996 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42997 $as_echo_n "(cached) " >&6
42998 else
42999
43000
43001 ac_ext=cpp
43002 ac_cpp='$CXXCPP $CPPFLAGS'
43003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43006
43007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43008 /* end confdefs.h. */
43009 #include <math.h>
43010 int
43011 main ()
43012 {
43013 atan2l(0, 0);
43014 ;
43015 return 0;
43016 }
43017 _ACEOF
43018 if ac_fn_cxx_try_compile "$LINENO"; then :
43019 glibcxx_cv_func_atan2l_use=yes
43020 else
43021 glibcxx_cv_func_atan2l_use=no
43022 fi
43023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43024 ac_ext=c
43025 ac_cpp='$CPP $CPPFLAGS'
43026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43029
43030
43031 fi
43032
43033 fi
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43035 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43036
43037 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43038 for ac_func in atan2l
43039 do :
43040 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43041 if test "x$ac_cv_func_atan2l" = x""yes; then :
43042 cat >>confdefs.h <<_ACEOF
43043 #define HAVE_ATAN2L 1
43044 _ACEOF
43045
43046 fi
43047 done
43048
43049 else
43050
43051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43052 $as_echo_n "checking for _atan2l declaration... " >&6; }
43053 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43054 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43055 $as_echo_n "(cached) " >&6
43056 else
43057
43058
43059 ac_ext=cpp
43060 ac_cpp='$CXXCPP $CPPFLAGS'
43061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43064
43065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43066 /* end confdefs.h. */
43067 #include <math.h>
43068 int
43069 main ()
43070 {
43071 _atan2l(0, 0);
43072 ;
43073 return 0;
43074 }
43075 _ACEOF
43076 if ac_fn_cxx_try_compile "$LINENO"; then :
43077 glibcxx_cv_func__atan2l_use=yes
43078 else
43079 glibcxx_cv_func__atan2l_use=no
43080 fi
43081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43082 ac_ext=c
43083 ac_cpp='$CPP $CPPFLAGS'
43084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43087
43088
43089 fi
43090
43091 fi
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43093 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43094
43095 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43096 for ac_func in _atan2l
43097 do :
43098 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43099 if test "x$ac_cv_func__atan2l" = x""yes; then :
43100 cat >>confdefs.h <<_ACEOF
43101 #define HAVE__ATAN2L 1
43102 _ACEOF
43103
43104 fi
43105 done
43106
43107 fi
43108 fi
43109
43110
43111
43112
43113
43114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43115 $as_echo_n "checking for expl declaration... " >&6; }
43116 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43117 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43118 $as_echo_n "(cached) " >&6
43119 else
43120
43121
43122 ac_ext=cpp
43123 ac_cpp='$CXXCPP $CPPFLAGS'
43124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43127
43128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129 /* end confdefs.h. */
43130 #include <math.h>
43131 #ifdef HAVE_IEEEFP_H
43132 #include <ieeefp.h>
43133 #endif
43134
43135 int
43136 main ()
43137 {
43138 expl(0);
43139 ;
43140 return 0;
43141 }
43142 _ACEOF
43143 if ac_fn_cxx_try_compile "$LINENO"; then :
43144 glibcxx_cv_func_expl_use=yes
43145 else
43146 glibcxx_cv_func_expl_use=no
43147 fi
43148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43149 ac_ext=c
43150 ac_cpp='$CPP $CPPFLAGS'
43151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43154
43155
43156 fi
43157
43158 fi
43159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43160 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43161
43162 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43163 for ac_func in expl
43164 do :
43165 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43166 if test "x$ac_cv_func_expl" = x""yes; then :
43167 cat >>confdefs.h <<_ACEOF
43168 #define HAVE_EXPL 1
43169 _ACEOF
43170
43171 fi
43172 done
43173
43174 else
43175
43176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43177 $as_echo_n "checking for _expl declaration... " >&6; }
43178 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43179 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43180 $as_echo_n "(cached) " >&6
43181 else
43182
43183
43184 ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43189
43190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43191 /* end confdefs.h. */
43192 #include <math.h>
43193 #ifdef HAVE_IEEEFP_H
43194 #include <ieeefp.h>
43195 #endif
43196
43197 int
43198 main ()
43199 {
43200 _expl(0);
43201 ;
43202 return 0;
43203 }
43204 _ACEOF
43205 if ac_fn_cxx_try_compile "$LINENO"; then :
43206 glibcxx_cv_func__expl_use=yes
43207 else
43208 glibcxx_cv_func__expl_use=no
43209 fi
43210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43211 ac_ext=c
43212 ac_cpp='$CPP $CPPFLAGS'
43213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43216
43217
43218 fi
43219
43220 fi
43221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43222 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43223
43224 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43225 for ac_func in _expl
43226 do :
43227 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43228 if test "x$ac_cv_func__expl" = x""yes; then :
43229 cat >>confdefs.h <<_ACEOF
43230 #define HAVE__EXPL 1
43231 _ACEOF
43232
43233 fi
43234 done
43235
43236 fi
43237 fi
43238
43239
43240
43241
43242
43243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43244 $as_echo_n "checking for fabsl declaration... " >&6; }
43245 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43246 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43247 $as_echo_n "(cached) " >&6
43248 else
43249
43250
43251 ac_ext=cpp
43252 ac_cpp='$CXXCPP $CPPFLAGS'
43253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43256
43257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43258 /* end confdefs.h. */
43259 #include <math.h>
43260 #ifdef HAVE_IEEEFP_H
43261 #include <ieeefp.h>
43262 #endif
43263
43264 int
43265 main ()
43266 {
43267 fabsl(0);
43268 ;
43269 return 0;
43270 }
43271 _ACEOF
43272 if ac_fn_cxx_try_compile "$LINENO"; then :
43273 glibcxx_cv_func_fabsl_use=yes
43274 else
43275 glibcxx_cv_func_fabsl_use=no
43276 fi
43277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43278 ac_ext=c
43279 ac_cpp='$CPP $CPPFLAGS'
43280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43283
43284
43285 fi
43286
43287 fi
43288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43289 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43290
43291 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43292 for ac_func in fabsl
43293 do :
43294 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43295 if test "x$ac_cv_func_fabsl" = x""yes; then :
43296 cat >>confdefs.h <<_ACEOF
43297 #define HAVE_FABSL 1
43298 _ACEOF
43299
43300 fi
43301 done
43302
43303 else
43304
43305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43306 $as_echo_n "checking for _fabsl declaration... " >&6; }
43307 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43308 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43309 $as_echo_n "(cached) " >&6
43310 else
43311
43312
43313 ac_ext=cpp
43314 ac_cpp='$CXXCPP $CPPFLAGS'
43315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43318
43319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320 /* end confdefs.h. */
43321 #include <math.h>
43322 #ifdef HAVE_IEEEFP_H
43323 #include <ieeefp.h>
43324 #endif
43325
43326 int
43327 main ()
43328 {
43329 _fabsl(0);
43330 ;
43331 return 0;
43332 }
43333 _ACEOF
43334 if ac_fn_cxx_try_compile "$LINENO"; then :
43335 glibcxx_cv_func__fabsl_use=yes
43336 else
43337 glibcxx_cv_func__fabsl_use=no
43338 fi
43339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43340 ac_ext=c
43341 ac_cpp='$CPP $CPPFLAGS'
43342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43345
43346
43347 fi
43348
43349 fi
43350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43351 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43352
43353 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43354 for ac_func in _fabsl
43355 do :
43356 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43357 if test "x$ac_cv_func__fabsl" = x""yes; then :
43358 cat >>confdefs.h <<_ACEOF
43359 #define HAVE__FABSL 1
43360 _ACEOF
43361
43362 fi
43363 done
43364
43365 fi
43366 fi
43367
43368
43369
43370
43371
43372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43373 $as_echo_n "checking for fmodl declaration... " >&6; }
43374 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43375 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43376 $as_echo_n "(cached) " >&6
43377 else
43378
43379
43380 ac_ext=cpp
43381 ac_cpp='$CXXCPP $CPPFLAGS'
43382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43385
43386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43387 /* end confdefs.h. */
43388 #include <math.h>
43389 int
43390 main ()
43391 {
43392 fmodl(0, 0);
43393 ;
43394 return 0;
43395 }
43396 _ACEOF
43397 if ac_fn_cxx_try_compile "$LINENO"; then :
43398 glibcxx_cv_func_fmodl_use=yes
43399 else
43400 glibcxx_cv_func_fmodl_use=no
43401 fi
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 ac_ext=c
43404 ac_cpp='$CPP $CPPFLAGS'
43405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43408
43409
43410 fi
43411
43412 fi
43413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43414 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43415
43416 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43417 for ac_func in fmodl
43418 do :
43419 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43420 if test "x$ac_cv_func_fmodl" = x""yes; then :
43421 cat >>confdefs.h <<_ACEOF
43422 #define HAVE_FMODL 1
43423 _ACEOF
43424
43425 fi
43426 done
43427
43428 else
43429
43430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43431 $as_echo_n "checking for _fmodl declaration... " >&6; }
43432 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43433 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43434 $as_echo_n "(cached) " >&6
43435 else
43436
43437
43438 ac_ext=cpp
43439 ac_cpp='$CXXCPP $CPPFLAGS'
43440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43443
43444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43445 /* end confdefs.h. */
43446 #include <math.h>
43447 int
43448 main ()
43449 {
43450 _fmodl(0, 0);
43451 ;
43452 return 0;
43453 }
43454 _ACEOF
43455 if ac_fn_cxx_try_compile "$LINENO"; then :
43456 glibcxx_cv_func__fmodl_use=yes
43457 else
43458 glibcxx_cv_func__fmodl_use=no
43459 fi
43460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43461 ac_ext=c
43462 ac_cpp='$CPP $CPPFLAGS'
43463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43466
43467
43468 fi
43469
43470 fi
43471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43472 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43473
43474 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43475 for ac_func in _fmodl
43476 do :
43477 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43478 if test "x$ac_cv_func__fmodl" = x""yes; then :
43479 cat >>confdefs.h <<_ACEOF
43480 #define HAVE__FMODL 1
43481 _ACEOF
43482
43483 fi
43484 done
43485
43486 fi
43487 fi
43488
43489
43490
43491
43492
43493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43494 $as_echo_n "checking for frexpl declaration... " >&6; }
43495 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43496 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43497 $as_echo_n "(cached) " >&6
43498 else
43499
43500
43501 ac_ext=cpp
43502 ac_cpp='$CXXCPP $CPPFLAGS'
43503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43506
43507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43508 /* end confdefs.h. */
43509 #include <math.h>
43510 int
43511 main ()
43512 {
43513 frexpl(0, 0);
43514 ;
43515 return 0;
43516 }
43517 _ACEOF
43518 if ac_fn_cxx_try_compile "$LINENO"; then :
43519 glibcxx_cv_func_frexpl_use=yes
43520 else
43521 glibcxx_cv_func_frexpl_use=no
43522 fi
43523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43524 ac_ext=c
43525 ac_cpp='$CPP $CPPFLAGS'
43526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43529
43530
43531 fi
43532
43533 fi
43534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43535 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43536
43537 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43538 for ac_func in frexpl
43539 do :
43540 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43541 if test "x$ac_cv_func_frexpl" = x""yes; then :
43542 cat >>confdefs.h <<_ACEOF
43543 #define HAVE_FREXPL 1
43544 _ACEOF
43545
43546 fi
43547 done
43548
43549 else
43550
43551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43552 $as_echo_n "checking for _frexpl declaration... " >&6; }
43553 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43554 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43555 $as_echo_n "(cached) " >&6
43556 else
43557
43558
43559 ac_ext=cpp
43560 ac_cpp='$CXXCPP $CPPFLAGS'
43561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43564
43565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43566 /* end confdefs.h. */
43567 #include <math.h>
43568 int
43569 main ()
43570 {
43571 _frexpl(0, 0);
43572 ;
43573 return 0;
43574 }
43575 _ACEOF
43576 if ac_fn_cxx_try_compile "$LINENO"; then :
43577 glibcxx_cv_func__frexpl_use=yes
43578 else
43579 glibcxx_cv_func__frexpl_use=no
43580 fi
43581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43582 ac_ext=c
43583 ac_cpp='$CPP $CPPFLAGS'
43584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43587
43588
43589 fi
43590
43591 fi
43592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43593 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43594
43595 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43596 for ac_func in _frexpl
43597 do :
43598 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43599 if test "x$ac_cv_func__frexpl" = x""yes; then :
43600 cat >>confdefs.h <<_ACEOF
43601 #define HAVE__FREXPL 1
43602 _ACEOF
43603
43604 fi
43605 done
43606
43607 fi
43608 fi
43609
43610
43611
43612
43613
43614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43615 $as_echo_n "checking for hypotl declaration... " >&6; }
43616 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43617 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43618 $as_echo_n "(cached) " >&6
43619 else
43620
43621
43622 ac_ext=cpp
43623 ac_cpp='$CXXCPP $CPPFLAGS'
43624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43627
43628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43629 /* end confdefs.h. */
43630 #include <math.h>
43631 int
43632 main ()
43633 {
43634 hypotl(0, 0);
43635 ;
43636 return 0;
43637 }
43638 _ACEOF
43639 if ac_fn_cxx_try_compile "$LINENO"; then :
43640 glibcxx_cv_func_hypotl_use=yes
43641 else
43642 glibcxx_cv_func_hypotl_use=no
43643 fi
43644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43645 ac_ext=c
43646 ac_cpp='$CPP $CPPFLAGS'
43647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43650
43651
43652 fi
43653
43654 fi
43655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43656 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43657
43658 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43659 for ac_func in hypotl
43660 do :
43661 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43662 if test "x$ac_cv_func_hypotl" = x""yes; then :
43663 cat >>confdefs.h <<_ACEOF
43664 #define HAVE_HYPOTL 1
43665 _ACEOF
43666
43667 fi
43668 done
43669
43670 else
43671
43672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43673 $as_echo_n "checking for _hypotl declaration... " >&6; }
43674 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43675 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43676 $as_echo_n "(cached) " >&6
43677 else
43678
43679
43680 ac_ext=cpp
43681 ac_cpp='$CXXCPP $CPPFLAGS'
43682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43685
43686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43687 /* end confdefs.h. */
43688 #include <math.h>
43689 int
43690 main ()
43691 {
43692 _hypotl(0, 0);
43693 ;
43694 return 0;
43695 }
43696 _ACEOF
43697 if ac_fn_cxx_try_compile "$LINENO"; then :
43698 glibcxx_cv_func__hypotl_use=yes
43699 else
43700 glibcxx_cv_func__hypotl_use=no
43701 fi
43702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43703 ac_ext=c
43704 ac_cpp='$CPP $CPPFLAGS'
43705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43708
43709
43710 fi
43711
43712 fi
43713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43714 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43715
43716 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43717 for ac_func in _hypotl
43718 do :
43719 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43720 if test "x$ac_cv_func__hypotl" = x""yes; then :
43721 cat >>confdefs.h <<_ACEOF
43722 #define HAVE__HYPOTL 1
43723 _ACEOF
43724
43725 fi
43726 done
43727
43728 fi
43729 fi
43730
43731
43732
43733
43734
43735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43736 $as_echo_n "checking for ldexpl declaration... " >&6; }
43737 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43738 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43739 $as_echo_n "(cached) " >&6
43740 else
43741
43742
43743 ac_ext=cpp
43744 ac_cpp='$CXXCPP $CPPFLAGS'
43745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43748
43749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43750 /* end confdefs.h. */
43751 #include <math.h>
43752 int
43753 main ()
43754 {
43755 ldexpl(0, 0);
43756 ;
43757 return 0;
43758 }
43759 _ACEOF
43760 if ac_fn_cxx_try_compile "$LINENO"; then :
43761 glibcxx_cv_func_ldexpl_use=yes
43762 else
43763 glibcxx_cv_func_ldexpl_use=no
43764 fi
43765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43766 ac_ext=c
43767 ac_cpp='$CPP $CPPFLAGS'
43768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43771
43772
43773 fi
43774
43775 fi
43776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43777 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43778
43779 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43780 for ac_func in ldexpl
43781 do :
43782 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43783 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43784 cat >>confdefs.h <<_ACEOF
43785 #define HAVE_LDEXPL 1
43786 _ACEOF
43787
43788 fi
43789 done
43790
43791 else
43792
43793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43794 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43795 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43796 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43797 $as_echo_n "(cached) " >&6
43798 else
43799
43800
43801 ac_ext=cpp
43802 ac_cpp='$CXXCPP $CPPFLAGS'
43803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43806
43807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43808 /* end confdefs.h. */
43809 #include <math.h>
43810 int
43811 main ()
43812 {
43813 _ldexpl(0, 0);
43814 ;
43815 return 0;
43816 }
43817 _ACEOF
43818 if ac_fn_cxx_try_compile "$LINENO"; then :
43819 glibcxx_cv_func__ldexpl_use=yes
43820 else
43821 glibcxx_cv_func__ldexpl_use=no
43822 fi
43823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43824 ac_ext=c
43825 ac_cpp='$CPP $CPPFLAGS'
43826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43829
43830
43831 fi
43832
43833 fi
43834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43835 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43836
43837 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43838 for ac_func in _ldexpl
43839 do :
43840 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43841 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43842 cat >>confdefs.h <<_ACEOF
43843 #define HAVE__LDEXPL 1
43844 _ACEOF
43845
43846 fi
43847 done
43848
43849 fi
43850 fi
43851
43852
43853
43854
43855
43856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43857 $as_echo_n "checking for logl declaration... " >&6; }
43858 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43859 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43860 $as_echo_n "(cached) " >&6
43861 else
43862
43863
43864 ac_ext=cpp
43865 ac_cpp='$CXXCPP $CPPFLAGS'
43866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43869
43870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43871 /* end confdefs.h. */
43872 #include <math.h>
43873 #ifdef HAVE_IEEEFP_H
43874 #include <ieeefp.h>
43875 #endif
43876
43877 int
43878 main ()
43879 {
43880 logl(0);
43881 ;
43882 return 0;
43883 }
43884 _ACEOF
43885 if ac_fn_cxx_try_compile "$LINENO"; then :
43886 glibcxx_cv_func_logl_use=yes
43887 else
43888 glibcxx_cv_func_logl_use=no
43889 fi
43890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43891 ac_ext=c
43892 ac_cpp='$CPP $CPPFLAGS'
43893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43896
43897
43898 fi
43899
43900 fi
43901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43902 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43903
43904 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43905 for ac_func in logl
43906 do :
43907 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43908 if test "x$ac_cv_func_logl" = x""yes; then :
43909 cat >>confdefs.h <<_ACEOF
43910 #define HAVE_LOGL 1
43911 _ACEOF
43912
43913 fi
43914 done
43915
43916 else
43917
43918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43919 $as_echo_n "checking for _logl declaration... " >&6; }
43920 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43921 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43922 $as_echo_n "(cached) " >&6
43923 else
43924
43925
43926 ac_ext=cpp
43927 ac_cpp='$CXXCPP $CPPFLAGS'
43928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43931
43932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43933 /* end confdefs.h. */
43934 #include <math.h>
43935 #ifdef HAVE_IEEEFP_H
43936 #include <ieeefp.h>
43937 #endif
43938
43939 int
43940 main ()
43941 {
43942 _logl(0);
43943 ;
43944 return 0;
43945 }
43946 _ACEOF
43947 if ac_fn_cxx_try_compile "$LINENO"; then :
43948 glibcxx_cv_func__logl_use=yes
43949 else
43950 glibcxx_cv_func__logl_use=no
43951 fi
43952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43953 ac_ext=c
43954 ac_cpp='$CPP $CPPFLAGS'
43955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43958
43959
43960 fi
43961
43962 fi
43963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43964 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43965
43966 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43967 for ac_func in _logl
43968 do :
43969 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43970 if test "x$ac_cv_func__logl" = x""yes; then :
43971 cat >>confdefs.h <<_ACEOF
43972 #define HAVE__LOGL 1
43973 _ACEOF
43974
43975 fi
43976 done
43977
43978 fi
43979 fi
43980
43981
43982
43983
43984
43985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43986 $as_echo_n "checking for log10l declaration... " >&6; }
43987 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43988 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43989 $as_echo_n "(cached) " >&6
43990 else
43991
43992
43993 ac_ext=cpp
43994 ac_cpp='$CXXCPP $CPPFLAGS'
43995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43998
43999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44000 /* end confdefs.h. */
44001 #include <math.h>
44002 #ifdef HAVE_IEEEFP_H
44003 #include <ieeefp.h>
44004 #endif
44005
44006 int
44007 main ()
44008 {
44009 log10l(0);
44010 ;
44011 return 0;
44012 }
44013 _ACEOF
44014 if ac_fn_cxx_try_compile "$LINENO"; then :
44015 glibcxx_cv_func_log10l_use=yes
44016 else
44017 glibcxx_cv_func_log10l_use=no
44018 fi
44019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44020 ac_ext=c
44021 ac_cpp='$CPP $CPPFLAGS'
44022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44025
44026
44027 fi
44028
44029 fi
44030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44031 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44032
44033 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44034 for ac_func in log10l
44035 do :
44036 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44037 if test "x$ac_cv_func_log10l" = x""yes; then :
44038 cat >>confdefs.h <<_ACEOF
44039 #define HAVE_LOG10L 1
44040 _ACEOF
44041
44042 fi
44043 done
44044
44045 else
44046
44047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44048 $as_echo_n "checking for _log10l declaration... " >&6; }
44049 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44050 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44051 $as_echo_n "(cached) " >&6
44052 else
44053
44054
44055 ac_ext=cpp
44056 ac_cpp='$CXXCPP $CPPFLAGS'
44057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44060
44061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44062 /* end confdefs.h. */
44063 #include <math.h>
44064 #ifdef HAVE_IEEEFP_H
44065 #include <ieeefp.h>
44066 #endif
44067
44068 int
44069 main ()
44070 {
44071 _log10l(0);
44072 ;
44073 return 0;
44074 }
44075 _ACEOF
44076 if ac_fn_cxx_try_compile "$LINENO"; then :
44077 glibcxx_cv_func__log10l_use=yes
44078 else
44079 glibcxx_cv_func__log10l_use=no
44080 fi
44081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44082 ac_ext=c
44083 ac_cpp='$CPP $CPPFLAGS'
44084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44087
44088
44089 fi
44090
44091 fi
44092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44093 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44094
44095 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44096 for ac_func in _log10l
44097 do :
44098 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44099 if test "x$ac_cv_func__log10l" = x""yes; then :
44100 cat >>confdefs.h <<_ACEOF
44101 #define HAVE__LOG10L 1
44102 _ACEOF
44103
44104 fi
44105 done
44106
44107 fi
44108 fi
44109
44110
44111
44112
44113
44114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44115 $as_echo_n "checking for modfl declaration... " >&6; }
44116 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44117 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44118 $as_echo_n "(cached) " >&6
44119 else
44120
44121
44122 ac_ext=cpp
44123 ac_cpp='$CXXCPP $CPPFLAGS'
44124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44127
44128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44129 /* end confdefs.h. */
44130 #include <math.h>
44131 int
44132 main ()
44133 {
44134 modfl(0, 0);
44135 ;
44136 return 0;
44137 }
44138 _ACEOF
44139 if ac_fn_cxx_try_compile "$LINENO"; then :
44140 glibcxx_cv_func_modfl_use=yes
44141 else
44142 glibcxx_cv_func_modfl_use=no
44143 fi
44144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44145 ac_ext=c
44146 ac_cpp='$CPP $CPPFLAGS'
44147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44150
44151
44152 fi
44153
44154 fi
44155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44156 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44157
44158 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44159 for ac_func in modfl
44160 do :
44161 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44162 if test "x$ac_cv_func_modfl" = x""yes; then :
44163 cat >>confdefs.h <<_ACEOF
44164 #define HAVE_MODFL 1
44165 _ACEOF
44166
44167 fi
44168 done
44169
44170 else
44171
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44173 $as_echo_n "checking for _modfl declaration... " >&6; }
44174 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44175 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44176 $as_echo_n "(cached) " >&6
44177 else
44178
44179
44180 ac_ext=cpp
44181 ac_cpp='$CXXCPP $CPPFLAGS'
44182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44185
44186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44187 /* end confdefs.h. */
44188 #include <math.h>
44189 int
44190 main ()
44191 {
44192 _modfl(0, 0);
44193 ;
44194 return 0;
44195 }
44196 _ACEOF
44197 if ac_fn_cxx_try_compile "$LINENO"; then :
44198 glibcxx_cv_func__modfl_use=yes
44199 else
44200 glibcxx_cv_func__modfl_use=no
44201 fi
44202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44203 ac_ext=c
44204 ac_cpp='$CPP $CPPFLAGS'
44205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44208
44209
44210 fi
44211
44212 fi
44213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44214 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44215
44216 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44217 for ac_func in _modfl
44218 do :
44219 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44220 if test "x$ac_cv_func__modfl" = x""yes; then :
44221 cat >>confdefs.h <<_ACEOF
44222 #define HAVE__MODFL 1
44223 _ACEOF
44224
44225 fi
44226 done
44227
44228 fi
44229 fi
44230
44231
44232
44233
44234
44235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44236 $as_echo_n "checking for powl declaration... " >&6; }
44237 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44238 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44239 $as_echo_n "(cached) " >&6
44240 else
44241
44242
44243 ac_ext=cpp
44244 ac_cpp='$CXXCPP $CPPFLAGS'
44245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44248
44249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44250 /* end confdefs.h. */
44251 #include <math.h>
44252 int
44253 main ()
44254 {
44255 powl(0, 0);
44256 ;
44257 return 0;
44258 }
44259 _ACEOF
44260 if ac_fn_cxx_try_compile "$LINENO"; then :
44261 glibcxx_cv_func_powl_use=yes
44262 else
44263 glibcxx_cv_func_powl_use=no
44264 fi
44265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44266 ac_ext=c
44267 ac_cpp='$CPP $CPPFLAGS'
44268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44271
44272
44273 fi
44274
44275 fi
44276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44277 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44278
44279 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44280 for ac_func in powl
44281 do :
44282 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44283 if test "x$ac_cv_func_powl" = x""yes; then :
44284 cat >>confdefs.h <<_ACEOF
44285 #define HAVE_POWL 1
44286 _ACEOF
44287
44288 fi
44289 done
44290
44291 else
44292
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44294 $as_echo_n "checking for _powl declaration... " >&6; }
44295 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44296 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44297 $as_echo_n "(cached) " >&6
44298 else
44299
44300
44301 ac_ext=cpp
44302 ac_cpp='$CXXCPP $CPPFLAGS'
44303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44306
44307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44308 /* end confdefs.h. */
44309 #include <math.h>
44310 int
44311 main ()
44312 {
44313 _powl(0, 0);
44314 ;
44315 return 0;
44316 }
44317 _ACEOF
44318 if ac_fn_cxx_try_compile "$LINENO"; then :
44319 glibcxx_cv_func__powl_use=yes
44320 else
44321 glibcxx_cv_func__powl_use=no
44322 fi
44323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44324 ac_ext=c
44325 ac_cpp='$CPP $CPPFLAGS'
44326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44329
44330
44331 fi
44332
44333 fi
44334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44335 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44336
44337 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44338 for ac_func in _powl
44339 do :
44340 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44341 if test "x$ac_cv_func__powl" = x""yes; then :
44342 cat >>confdefs.h <<_ACEOF
44343 #define HAVE__POWL 1
44344 _ACEOF
44345
44346 fi
44347 done
44348
44349 fi
44350 fi
44351
44352
44353
44354
44355
44356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44357 $as_echo_n "checking for sqrtl declaration... " >&6; }
44358 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44359 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44360 $as_echo_n "(cached) " >&6
44361 else
44362
44363
44364 ac_ext=cpp
44365 ac_cpp='$CXXCPP $CPPFLAGS'
44366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44369
44370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44371 /* end confdefs.h. */
44372 #include <math.h>
44373 #ifdef HAVE_IEEEFP_H
44374 #include <ieeefp.h>
44375 #endif
44376
44377 int
44378 main ()
44379 {
44380 sqrtl(0);
44381 ;
44382 return 0;
44383 }
44384 _ACEOF
44385 if ac_fn_cxx_try_compile "$LINENO"; then :
44386 glibcxx_cv_func_sqrtl_use=yes
44387 else
44388 glibcxx_cv_func_sqrtl_use=no
44389 fi
44390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44391 ac_ext=c
44392 ac_cpp='$CPP $CPPFLAGS'
44393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44396
44397
44398 fi
44399
44400 fi
44401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44402 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44403
44404 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44405 for ac_func in sqrtl
44406 do :
44407 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44408 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44409 cat >>confdefs.h <<_ACEOF
44410 #define HAVE_SQRTL 1
44411 _ACEOF
44412
44413 fi
44414 done
44415
44416 else
44417
44418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44419 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44420 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44421 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44422 $as_echo_n "(cached) " >&6
44423 else
44424
44425
44426 ac_ext=cpp
44427 ac_cpp='$CXXCPP $CPPFLAGS'
44428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44431
44432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44433 /* end confdefs.h. */
44434 #include <math.h>
44435 #ifdef HAVE_IEEEFP_H
44436 #include <ieeefp.h>
44437 #endif
44438
44439 int
44440 main ()
44441 {
44442 _sqrtl(0);
44443 ;
44444 return 0;
44445 }
44446 _ACEOF
44447 if ac_fn_cxx_try_compile "$LINENO"; then :
44448 glibcxx_cv_func__sqrtl_use=yes
44449 else
44450 glibcxx_cv_func__sqrtl_use=no
44451 fi
44452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44453 ac_ext=c
44454 ac_cpp='$CPP $CPPFLAGS'
44455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44458
44459
44460 fi
44461
44462 fi
44463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44464 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44465
44466 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44467 for ac_func in _sqrtl
44468 do :
44469 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44470 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44471 cat >>confdefs.h <<_ACEOF
44472 #define HAVE__SQRTL 1
44473 _ACEOF
44474
44475 fi
44476 done
44477
44478 fi
44479 fi
44480
44481
44482
44483
44484
44485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44486 $as_echo_n "checking for sincosl declaration... " >&6; }
44487 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44488 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44489 $as_echo_n "(cached) " >&6
44490 else
44491
44492
44493 ac_ext=cpp
44494 ac_cpp='$CXXCPP $CPPFLAGS'
44495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44498
44499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44500 /* end confdefs.h. */
44501 #include <math.h>
44502 int
44503 main ()
44504 {
44505 sincosl(0, 0, 0);
44506 ;
44507 return 0;
44508 }
44509 _ACEOF
44510 if ac_fn_cxx_try_compile "$LINENO"; then :
44511 glibcxx_cv_func_sincosl_use=yes
44512 else
44513 glibcxx_cv_func_sincosl_use=no
44514 fi
44515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44516 ac_ext=c
44517 ac_cpp='$CPP $CPPFLAGS'
44518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44521
44522
44523 fi
44524
44525 fi
44526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44527 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44528
44529 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44530 for ac_func in sincosl
44531 do :
44532 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44533 if test "x$ac_cv_func_sincosl" = x""yes; then :
44534 cat >>confdefs.h <<_ACEOF
44535 #define HAVE_SINCOSL 1
44536 _ACEOF
44537
44538 fi
44539 done
44540
44541 else
44542
44543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44544 $as_echo_n "checking for _sincosl declaration... " >&6; }
44545 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44546 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44547 $as_echo_n "(cached) " >&6
44548 else
44549
44550
44551 ac_ext=cpp
44552 ac_cpp='$CXXCPP $CPPFLAGS'
44553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44556
44557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44558 /* end confdefs.h. */
44559 #include <math.h>
44560 int
44561 main ()
44562 {
44563 _sincosl(0, 0, 0);
44564 ;
44565 return 0;
44566 }
44567 _ACEOF
44568 if ac_fn_cxx_try_compile "$LINENO"; then :
44569 glibcxx_cv_func__sincosl_use=yes
44570 else
44571 glibcxx_cv_func__sincosl_use=no
44572 fi
44573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44574 ac_ext=c
44575 ac_cpp='$CPP $CPPFLAGS'
44576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44579
44580
44581 fi
44582
44583 fi
44584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44585 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44586
44587 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44588 for ac_func in _sincosl
44589 do :
44590 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44591 if test "x$ac_cv_func__sincosl" = x""yes; then :
44592 cat >>confdefs.h <<_ACEOF
44593 #define HAVE__SINCOSL 1
44594 _ACEOF
44595
44596 fi
44597 done
44598
44599 fi
44600 fi
44601
44602
44603
44604
44605
44606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44607 $as_echo_n "checking for finitel declaration... " >&6; }
44608 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44609 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44610 $as_echo_n "(cached) " >&6
44611 else
44612
44613
44614 ac_ext=cpp
44615 ac_cpp='$CXXCPP $CPPFLAGS'
44616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44619
44620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44621 /* end confdefs.h. */
44622 #include <math.h>
44623 #ifdef HAVE_IEEEFP_H
44624 #include <ieeefp.h>
44625 #endif
44626
44627 int
44628 main ()
44629 {
44630 finitel(0);
44631 ;
44632 return 0;
44633 }
44634 _ACEOF
44635 if ac_fn_cxx_try_compile "$LINENO"; then :
44636 glibcxx_cv_func_finitel_use=yes
44637 else
44638 glibcxx_cv_func_finitel_use=no
44639 fi
44640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44641 ac_ext=c
44642 ac_cpp='$CPP $CPPFLAGS'
44643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44646
44647
44648 fi
44649
44650 fi
44651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44652 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44653
44654 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44655 for ac_func in finitel
44656 do :
44657 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44658 if test "x$ac_cv_func_finitel" = x""yes; then :
44659 cat >>confdefs.h <<_ACEOF
44660 #define HAVE_FINITEL 1
44661 _ACEOF
44662
44663 fi
44664 done
44665
44666 else
44667
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44669 $as_echo_n "checking for _finitel declaration... " >&6; }
44670 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44671 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44672 $as_echo_n "(cached) " >&6
44673 else
44674
44675
44676 ac_ext=cpp
44677 ac_cpp='$CXXCPP $CPPFLAGS'
44678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44681
44682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44683 /* end confdefs.h. */
44684 #include <math.h>
44685 #ifdef HAVE_IEEEFP_H
44686 #include <ieeefp.h>
44687 #endif
44688
44689 int
44690 main ()
44691 {
44692 _finitel(0);
44693 ;
44694 return 0;
44695 }
44696 _ACEOF
44697 if ac_fn_cxx_try_compile "$LINENO"; then :
44698 glibcxx_cv_func__finitel_use=yes
44699 else
44700 glibcxx_cv_func__finitel_use=no
44701 fi
44702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44703 ac_ext=c
44704 ac_cpp='$CPP $CPPFLAGS'
44705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44708
44709
44710 fi
44711
44712 fi
44713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44714 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44715
44716 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44717 for ac_func in _finitel
44718 do :
44719 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44720 if test "x$ac_cv_func__finitel" = x""yes; then :
44721 cat >>confdefs.h <<_ACEOF
44722 #define HAVE__FINITEL 1
44723 _ACEOF
44724
44725 fi
44726 done
44727
44728 fi
44729 fi
44730
44731
44732
44733
44734 LIBS="$ac_save_LIBS"
44735 CXXFLAGS="$ac_save_CXXFLAGS"
44736
44737
44738 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44739 ac_save_CXXFLAGS="$CXXFLAGS"
44740 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44741
44742
44743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44744 $as_echo_n "checking for strtold declaration... " >&6; }
44745 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44746 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44747 $as_echo_n "(cached) " >&6
44748 else
44749
44750
44751 ac_ext=cpp
44752 ac_cpp='$CXXCPP $CPPFLAGS'
44753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44756
44757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44758 /* end confdefs.h. */
44759 #include <stdlib.h>
44760 int
44761 main ()
44762 {
44763 strtold(0, 0);
44764 ;
44765 return 0;
44766 }
44767 _ACEOF
44768 if ac_fn_cxx_try_compile "$LINENO"; then :
44769 glibcxx_cv_func_strtold_use=yes
44770 else
44771 glibcxx_cv_func_strtold_use=no
44772 fi
44773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44774 ac_ext=c
44775 ac_cpp='$CPP $CPPFLAGS'
44776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44779
44780
44781 fi
44782
44783 fi
44784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44785 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44786 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44787 for ac_func in strtold
44788 do :
44789 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44790 if test "x$ac_cv_func_strtold" = x""yes; then :
44791 cat >>confdefs.h <<_ACEOF
44792 #define HAVE_STRTOLD 1
44793 _ACEOF
44794
44795 fi
44796 done
44797
44798 fi
44799
44800
44801
44802
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44804 $as_echo_n "checking for strtof declaration... " >&6; }
44805 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44806 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44807 $as_echo_n "(cached) " >&6
44808 else
44809
44810
44811 ac_ext=cpp
44812 ac_cpp='$CXXCPP $CPPFLAGS'
44813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44816
44817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44818 /* end confdefs.h. */
44819 #include <stdlib.h>
44820 int
44821 main ()
44822 {
44823 strtof(0, 0);
44824 ;
44825 return 0;
44826 }
44827 _ACEOF
44828 if ac_fn_cxx_try_compile "$LINENO"; then :
44829 glibcxx_cv_func_strtof_use=yes
44830 else
44831 glibcxx_cv_func_strtof_use=no
44832 fi
44833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834 ac_ext=c
44835 ac_cpp='$CPP $CPPFLAGS'
44836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44839
44840
44841 fi
44842
44843 fi
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44845 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44846 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44847 for ac_func in strtof
44848 do :
44849 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44850 if test "x$ac_cv_func_strtof" = x""yes; then :
44851 cat >>confdefs.h <<_ACEOF
44852 #define HAVE_STRTOF 1
44853 _ACEOF
44854
44855 fi
44856 done
44857
44858 fi
44859
44860
44861
44862
44863 CXXFLAGS="$ac_save_CXXFLAGS"
44864
44865 ;;
44866
44867 *djgpp)
44868 # GLIBCXX_CHECK_MATH_SUPPORT
44869 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44870
44871 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44872
44873 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44874
44875 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44876
44877 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44878
44879 ;;
44880
44881 *-freebsd*)
44882 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44883
44884
44885 # If we're not using GNU ld, then there's no point in even trying these
44886 # tests. Check for that first. We should have already tested for gld
44887 # by now (in libtool), but require it now just to be safe...
44888 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44889 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44890
44891
44892
44893 # The name set by libtool depends on the version of libtool. Shame on us
44894 # for depending on an impl detail, but c'est la vie. Older versions used
44895 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44896 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44897 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44898 # set (hence we're using an older libtool), then set it.
44899 if test x${with_gnu_ld+set} != xset; then
44900 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44901 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44902 with_gnu_ld=no
44903 else
44904 with_gnu_ld=$ac_cv_prog_gnu_ld
44905 fi
44906 fi
44907
44908 # Start by getting the version number. I think the libtool test already
44909 # does some of this, but throws away the result.
44910 glibcxx_ld_is_gold=no
44911 if test x"$with_gnu_ld" = x"yes"; then
44912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44913 $as_echo_n "checking for ld version... " >&6; }
44914
44915 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44916 glibcxx_ld_is_gold=yes
44917 fi
44918 ldver=`$LD --version 2>/dev/null |
44919 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44920
44921 glibcxx_gnu_ld_version=`echo $ldver | \
44922 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44924 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44925 fi
44926
44927 # Set --gc-sections.
44928 glibcxx_have_gc_sections=no
44929 if test "$glibcxx_ld_is_gold" = "yes"; then
44930 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44931 glibcxx_have_gc_sections=yes
44932 fi
44933 else
44934 glibcxx_gcsections_min_ld=21602
44935 if test x"$with_gnu_ld" = x"yes" &&
44936 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44937 glibcxx_have_gc_sections=yes
44938 fi
44939 fi
44940 if test "$glibcxx_have_gc_sections" = "yes"; then
44941 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44942 # NB: This flag only works reliably after 2.16.1. Configure tests
44943 # for this are difficult, so hard wire a value that should work.
44944
44945 ac_test_CFLAGS="${CFLAGS+set}"
44946 ac_save_CFLAGS="$CFLAGS"
44947 CFLAGS='-Wl,--gc-sections'
44948
44949 # Check for -Wl,--gc-sections
44950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44951 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44952 if test x$gcc_no_link = xyes; then
44953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44954 fi
44955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44956 /* end confdefs.h. */
44957 int one(void) { return 1; }
44958 int two(void) { return 2; }
44959
44960 int
44961 main ()
44962 {
44963 two();
44964 ;
44965 return 0;
44966 }
44967 _ACEOF
44968 if ac_fn_c_try_link "$LINENO"; then :
44969 ac_gcsections=yes
44970 else
44971 ac_gcsections=no
44972 fi
44973 rm -f core conftest.err conftest.$ac_objext \
44974 conftest$ac_exeext conftest.$ac_ext
44975 if test "$ac_gcsections" = "yes"; then
44976 rm -f conftest.c
44977 touch conftest.c
44978 if $CC -c conftest.c; then
44979 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44980 grep "Warning: gc-sections option ignored" > /dev/null; then
44981 ac_gcsections=no
44982 fi
44983 fi
44984 rm -f conftest.c conftest.o conftest
44985 fi
44986 if test "$ac_gcsections" = "yes"; then
44987 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44988 fi
44989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44990 $as_echo "$ac_gcsections" >&6; }
44991
44992 if test "$ac_test_CFLAGS" = set; then
44993 CFLAGS="$ac_save_CFLAGS"
44994 else
44995 # this is the suspicious part
44996 CFLAGS=''
44997 fi
44998 fi
44999
45000 # Set -z,relro.
45001 # Note this is only for shared objects.
45002 ac_ld_relro=no
45003 if test x"$with_gnu_ld" = x"yes"; then
45004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45005 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45006 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45007 if test -n "$cxx_z_relo"; then
45008 OPT_LDFLAGS="-Wl,-z,relro"
45009 ac_ld_relro=yes
45010 fi
45011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45012 $as_echo "$ac_ld_relro" >&6; }
45013 fi
45014
45015 # Set linker optimization flags.
45016 if test x"$with_gnu_ld" = x"yes"; then
45017 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45018 fi
45019
45020
45021
45022
45023 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45024
45025 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45026
45027 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45028
45029 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45030
45031 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45032
45033 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45034
45035 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45036
45037 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45038
45039 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45040
45041
45042 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45043
45044 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45045
45046 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45047
45048 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45049
45050 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45051
45052 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45053
45054 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45055
45056 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45057
45058 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45059
45060 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45061
45062 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45063
45064 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45065
45066 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45067
45068 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45069
45070 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45071
45072 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45073
45074 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45075
45076 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45077
45078 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45079
45080 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45081
45082 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45083
45084 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45085
45086 if test x"long_double_math_on_this_cpu" = x"yes"; then
45087 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45088
45089 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45090
45091 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45092
45093 fi
45094 ;;
45095 *-hpux*)
45096 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45097
45098
45099 # If we're not using GNU ld, then there's no point in even trying these
45100 # tests. Check for that first. We should have already tested for gld
45101 # by now (in libtool), but require it now just to be safe...
45102 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45103 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45104
45105
45106
45107 # The name set by libtool depends on the version of libtool. Shame on us
45108 # for depending on an impl detail, but c'est la vie. Older versions used
45109 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45110 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45111 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45112 # set (hence we're using an older libtool), then set it.
45113 if test x${with_gnu_ld+set} != xset; then
45114 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45115 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45116 with_gnu_ld=no
45117 else
45118 with_gnu_ld=$ac_cv_prog_gnu_ld
45119 fi
45120 fi
45121
45122 # Start by getting the version number. I think the libtool test already
45123 # does some of this, but throws away the result.
45124 glibcxx_ld_is_gold=no
45125 if test x"$with_gnu_ld" = x"yes"; then
45126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45127 $as_echo_n "checking for ld version... " >&6; }
45128
45129 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45130 glibcxx_ld_is_gold=yes
45131 fi
45132 ldver=`$LD --version 2>/dev/null |
45133 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45134
45135 glibcxx_gnu_ld_version=`echo $ldver | \
45136 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45138 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45139 fi
45140
45141 # Set --gc-sections.
45142 glibcxx_have_gc_sections=no
45143 if test "$glibcxx_ld_is_gold" = "yes"; then
45144 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45145 glibcxx_have_gc_sections=yes
45146 fi
45147 else
45148 glibcxx_gcsections_min_ld=21602
45149 if test x"$with_gnu_ld" = x"yes" &&
45150 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45151 glibcxx_have_gc_sections=yes
45152 fi
45153 fi
45154 if test "$glibcxx_have_gc_sections" = "yes"; then
45155 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45156 # NB: This flag only works reliably after 2.16.1. Configure tests
45157 # for this are difficult, so hard wire a value that should work.
45158
45159 ac_test_CFLAGS="${CFLAGS+set}"
45160 ac_save_CFLAGS="$CFLAGS"
45161 CFLAGS='-Wl,--gc-sections'
45162
45163 # Check for -Wl,--gc-sections
45164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45165 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45166 if test x$gcc_no_link = xyes; then
45167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45168 fi
45169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45170 /* end confdefs.h. */
45171 int one(void) { return 1; }
45172 int two(void) { return 2; }
45173
45174 int
45175 main ()
45176 {
45177 two();
45178 ;
45179 return 0;
45180 }
45181 _ACEOF
45182 if ac_fn_c_try_link "$LINENO"; then :
45183 ac_gcsections=yes
45184 else
45185 ac_gcsections=no
45186 fi
45187 rm -f core conftest.err conftest.$ac_objext \
45188 conftest$ac_exeext conftest.$ac_ext
45189 if test "$ac_gcsections" = "yes"; then
45190 rm -f conftest.c
45191 touch conftest.c
45192 if $CC -c conftest.c; then
45193 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45194 grep "Warning: gc-sections option ignored" > /dev/null; then
45195 ac_gcsections=no
45196 fi
45197 fi
45198 rm -f conftest.c conftest.o conftest
45199 fi
45200 if test "$ac_gcsections" = "yes"; then
45201 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45202 fi
45203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45204 $as_echo "$ac_gcsections" >&6; }
45205
45206 if test "$ac_test_CFLAGS" = set; then
45207 CFLAGS="$ac_save_CFLAGS"
45208 else
45209 # this is the suspicious part
45210 CFLAGS=''
45211 fi
45212 fi
45213
45214 # Set -z,relro.
45215 # Note this is only for shared objects.
45216 ac_ld_relro=no
45217 if test x"$with_gnu_ld" = x"yes"; then
45218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45219 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45220 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45221 if test -n "$cxx_z_relo"; then
45222 OPT_LDFLAGS="-Wl,-z,relro"
45223 ac_ld_relro=yes
45224 fi
45225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45226 $as_echo "$ac_ld_relro" >&6; }
45227 fi
45228
45229 # Set linker optimization flags.
45230 if test x"$with_gnu_ld" = x"yes"; then
45231 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45232 fi
45233
45234
45235
45236
45237
45238 # GLIBCXX_CHECK_MATH_SUPPORT
45239 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45240
45241 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45242
45243 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45244
45245 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45246
45247 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45248
45249 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45250
45251 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45252
45253 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45254
45255 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45256
45257 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45258
45259 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45260
45261 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45262
45263 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45264
45265 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45266
45267 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45268
45269 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45270
45271 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45272
45273 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45274
45275 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45276
45277 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45278
45279 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45280
45281
45282 # GLIBCXX_CHECK_STDLIB_SUPPORT
45283 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45284
45285
45286
45287
45288 # Check whether --enable-tls was given.
45289 if test "${enable_tls+set}" = set; then :
45290 enableval=$enable_tls;
45291 case "$enableval" in
45292 yes|no) ;;
45293 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45294 esac
45295
45296 else
45297 enable_tls=yes
45298 fi
45299
45300
45301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45302 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45303 if test "${gcc_cv_have_tls+set}" = set; then :
45304 $as_echo_n "(cached) " >&6
45305 else
45306
45307 if test "$cross_compiling" = yes; then :
45308 if test x$gcc_no_link = xyes; then
45309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45310 fi
45311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45312 /* end confdefs.h. */
45313 __thread int a; int b; int main() { return a = b; }
45314 _ACEOF
45315 if ac_fn_c_try_link "$LINENO"; then :
45316 chktls_save_LDFLAGS="$LDFLAGS"
45317 case $host in
45318 *-*-linux*)
45319 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45320 ;;
45321 esac
45322 chktls_save_CFLAGS="$CFLAGS"
45323 CFLAGS="-fPIC $CFLAGS"
45324 if test x$gcc_no_link = xyes; then
45325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45326 fi
45327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45328 /* end confdefs.h. */
45329 int f() { return 0; }
45330 _ACEOF
45331 if ac_fn_c_try_link "$LINENO"; then :
45332 if test x$gcc_no_link = xyes; then
45333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45334 fi
45335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45336 /* end confdefs.h. */
45337 __thread int a; int b; int f() { return a = b; }
45338 _ACEOF
45339 if ac_fn_c_try_link "$LINENO"; then :
45340 gcc_cv_have_tls=yes
45341 else
45342 gcc_cv_have_tls=no
45343 fi
45344 rm -f core conftest.err conftest.$ac_objext \
45345 conftest$ac_exeext conftest.$ac_ext
45346 else
45347 gcc_cv_have_tls=yes
45348 fi
45349 rm -f core conftest.err conftest.$ac_objext \
45350 conftest$ac_exeext conftest.$ac_ext
45351 CFLAGS="$chktls_save_CFLAGS"
45352 LDFLAGS="$chktls_save_LDFLAGS"
45353 else
45354 gcc_cv_have_tls=no
45355 fi
45356 rm -f core conftest.err conftest.$ac_objext \
45357 conftest$ac_exeext conftest.$ac_ext
45358
45359
45360 else
45361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45362 /* end confdefs.h. */
45363 __thread int a; int b; int main() { return a = b; }
45364 _ACEOF
45365 if ac_fn_c_try_run "$LINENO"; then :
45366 chktls_save_LDFLAGS="$LDFLAGS"
45367 LDFLAGS="-static $LDFLAGS"
45368 if test x$gcc_no_link = xyes; then
45369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45370 fi
45371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45372 /* end confdefs.h. */
45373 int main() { return 0; }
45374 _ACEOF
45375 if ac_fn_c_try_link "$LINENO"; then :
45376 if test "$cross_compiling" = yes; then :
45377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45379 as_fn_error "cannot run test program while cross compiling
45380 See \`config.log' for more details." "$LINENO" 5; }
45381 else
45382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45383 /* end confdefs.h. */
45384 __thread int a; int b; int main() { return a = b; }
45385 _ACEOF
45386 if ac_fn_c_try_run "$LINENO"; then :
45387 gcc_cv_have_tls=yes
45388 else
45389 gcc_cv_have_tls=no
45390 fi
45391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45392 conftest.$ac_objext conftest.beam conftest.$ac_ext
45393 fi
45394
45395 else
45396 gcc_cv_have_tls=yes
45397 fi
45398 rm -f core conftest.err conftest.$ac_objext \
45399 conftest$ac_exeext conftest.$ac_ext
45400 LDFLAGS="$chktls_save_LDFLAGS"
45401 if test $gcc_cv_have_tls = yes; then
45402 chktls_save_CFLAGS="$CFLAGS"
45403 thread_CFLAGS=failed
45404 for flag in '' '-pthread' '-lpthread'; do
45405 CFLAGS="$flag $chktls_save_CFLAGS"
45406 if test x$gcc_no_link = xyes; then
45407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45408 fi
45409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45410 /* end confdefs.h. */
45411 #include <pthread.h>
45412 void *g(void *d) { return NULL; }
45413 int
45414 main ()
45415 {
45416 pthread_t t; pthread_create(&t,NULL,g,NULL);
45417 ;
45418 return 0;
45419 }
45420 _ACEOF
45421 if ac_fn_c_try_link "$LINENO"; then :
45422 thread_CFLAGS="$flag"
45423 fi
45424 rm -f core conftest.err conftest.$ac_objext \
45425 conftest$ac_exeext conftest.$ac_ext
45426 if test "X$thread_CFLAGS" != Xfailed; then
45427 break
45428 fi
45429 done
45430 CFLAGS="$chktls_save_CFLAGS"
45431 if test "X$thread_CFLAGS" != Xfailed; then
45432 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45433 if test "$cross_compiling" = yes; then :
45434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45436 as_fn_error "cannot run test program while cross compiling
45437 See \`config.log' for more details." "$LINENO" 5; }
45438 else
45439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45440 /* end confdefs.h. */
45441 #include <pthread.h>
45442 __thread int a;
45443 static int *volatile a_in_other_thread;
45444 static void *
45445 thread_func (void *arg)
45446 {
45447 a_in_other_thread = &a;
45448 return (void *)0;
45449 }
45450 int
45451 main ()
45452 {
45453 pthread_t thread;
45454 void *thread_retval;
45455 int *volatile a_in_main_thread;
45456 a_in_main_thread = &a;
45457 if (pthread_create (&thread, (pthread_attr_t *)0,
45458 thread_func, (void *)0))
45459 return 0;
45460 if (pthread_join (thread, &thread_retval))
45461 return 0;
45462 return (a_in_other_thread == a_in_main_thread);
45463 ;
45464 return 0;
45465 }
45466 _ACEOF
45467 if ac_fn_c_try_run "$LINENO"; then :
45468 gcc_cv_have_tls=yes
45469 else
45470 gcc_cv_have_tls=no
45471 fi
45472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45473 conftest.$ac_objext conftest.beam conftest.$ac_ext
45474 fi
45475
45476 CFLAGS="$chktls_save_CFLAGS"
45477 fi
45478 fi
45479 else
45480 gcc_cv_have_tls=no
45481 fi
45482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45483 conftest.$ac_objext conftest.beam conftest.$ac_ext
45484 fi
45485
45486 fi
45487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45488 $as_echo "$gcc_cv_have_tls" >&6; }
45489 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45490
45491 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45492
45493 fi
45494 case "$target" in
45495 *-hpux10*)
45496 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45497
45498 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45499
45500 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45501
45502 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45503
45504 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45505
45506 ;;
45507 esac
45508 ;;
45509 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45510
45511 # All these tests are for C++; save the language and the compiler flags.
45512 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45513 # found in GLIBCXX_CONFIGURE.
45514
45515 ac_ext=cpp
45516 ac_cpp='$CXXCPP $CPPFLAGS'
45517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45520
45521 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45522 ac_save_CXXFLAGS="$CXXFLAGS"
45523
45524 # Check for maintainer-mode bits.
45525 if test x"$USE_MAINTAINER_MODE" = xno; then
45526 WERROR=''
45527 else
45528 WERROR='-Werror'
45529 fi
45530
45531 # Check for -ffunction-sections -fdata-sections
45532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45533 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45534 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45536 /* end confdefs.h. */
45537 int foo; void bar() { };
45538 int
45539 main ()
45540 {
45541
45542 ;
45543 return 0;
45544 }
45545 _ACEOF
45546 if ac_fn_cxx_try_compile "$LINENO"; then :
45547 ac_fdsections=yes
45548 else
45549 ac_fdsections=no
45550 fi
45551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45552 if test "$ac_test_CXXFLAGS" = set; then
45553 CXXFLAGS="$ac_save_CXXFLAGS"
45554 else
45555 # this is the suspicious part
45556 CXXFLAGS=''
45557 fi
45558 if test x"$ac_fdsections" = x"yes"; then
45559 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45560 fi
45561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45562 $as_echo "$ac_fdsections" >&6; }
45563
45564 ac_ext=c
45565 ac_cpp='$CPP $CPPFLAGS'
45566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45569
45570
45571
45572
45573
45574 # If we're not using GNU ld, then there's no point in even trying these
45575 # tests. Check for that first. We should have already tested for gld
45576 # by now (in libtool), but require it now just to be safe...
45577 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45578 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45579
45580
45581
45582 # The name set by libtool depends on the version of libtool. Shame on us
45583 # for depending on an impl detail, but c'est la vie. Older versions used
45584 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45585 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45586 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45587 # set (hence we're using an older libtool), then set it.
45588 if test x${with_gnu_ld+set} != xset; then
45589 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45590 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45591 with_gnu_ld=no
45592 else
45593 with_gnu_ld=$ac_cv_prog_gnu_ld
45594 fi
45595 fi
45596
45597 # Start by getting the version number. I think the libtool test already
45598 # does some of this, but throws away the result.
45599 glibcxx_ld_is_gold=no
45600 if test x"$with_gnu_ld" = x"yes"; then
45601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45602 $as_echo_n "checking for ld version... " >&6; }
45603
45604 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45605 glibcxx_ld_is_gold=yes
45606 fi
45607 ldver=`$LD --version 2>/dev/null |
45608 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45609
45610 glibcxx_gnu_ld_version=`echo $ldver | \
45611 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45613 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45614 fi
45615
45616 # Set --gc-sections.
45617 glibcxx_have_gc_sections=no
45618 if test "$glibcxx_ld_is_gold" = "yes"; then
45619 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45620 glibcxx_have_gc_sections=yes
45621 fi
45622 else
45623 glibcxx_gcsections_min_ld=21602
45624 if test x"$with_gnu_ld" = x"yes" &&
45625 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45626 glibcxx_have_gc_sections=yes
45627 fi
45628 fi
45629 if test "$glibcxx_have_gc_sections" = "yes"; then
45630 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45631 # NB: This flag only works reliably after 2.16.1. Configure tests
45632 # for this are difficult, so hard wire a value that should work.
45633
45634 ac_test_CFLAGS="${CFLAGS+set}"
45635 ac_save_CFLAGS="$CFLAGS"
45636 CFLAGS='-Wl,--gc-sections'
45637
45638 # Check for -Wl,--gc-sections
45639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45640 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45641 if test x$gcc_no_link = xyes; then
45642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45643 fi
45644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45645 /* end confdefs.h. */
45646 int one(void) { return 1; }
45647 int two(void) { return 2; }
45648
45649 int
45650 main ()
45651 {
45652 two();
45653 ;
45654 return 0;
45655 }
45656 _ACEOF
45657 if ac_fn_c_try_link "$LINENO"; then :
45658 ac_gcsections=yes
45659 else
45660 ac_gcsections=no
45661 fi
45662 rm -f core conftest.err conftest.$ac_objext \
45663 conftest$ac_exeext conftest.$ac_ext
45664 if test "$ac_gcsections" = "yes"; then
45665 rm -f conftest.c
45666 touch conftest.c
45667 if $CC -c conftest.c; then
45668 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45669 grep "Warning: gc-sections option ignored" > /dev/null; then
45670 ac_gcsections=no
45671 fi
45672 fi
45673 rm -f conftest.c conftest.o conftest
45674 fi
45675 if test "$ac_gcsections" = "yes"; then
45676 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45677 fi
45678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45679 $as_echo "$ac_gcsections" >&6; }
45680
45681 if test "$ac_test_CFLAGS" = set; then
45682 CFLAGS="$ac_save_CFLAGS"
45683 else
45684 # this is the suspicious part
45685 CFLAGS=''
45686 fi
45687 fi
45688
45689 # Set -z,relro.
45690 # Note this is only for shared objects.
45691 ac_ld_relro=no
45692 if test x"$with_gnu_ld" = x"yes"; then
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45694 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45695 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45696 if test -n "$cxx_z_relo"; then
45697 OPT_LDFLAGS="-Wl,-z,relro"
45698 ac_ld_relro=yes
45699 fi
45700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45701 $as_echo "$ac_ld_relro" >&6; }
45702 fi
45703
45704 # Set linker optimization flags.
45705 if test x"$with_gnu_ld" = x"yes"; then
45706 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45707 fi
45708
45709
45710
45711
45712
45713 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45714 ac_save_CXXFLAGS="$CXXFLAGS"
45715 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45716
45717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45718 $as_echo_n "checking for sin in -lm... " >&6; }
45719 if test "${ac_cv_lib_m_sin+set}" = set; then :
45720 $as_echo_n "(cached) " >&6
45721 else
45722 ac_check_lib_save_LIBS=$LIBS
45723 LIBS="-lm $LIBS"
45724 if test x$gcc_no_link = xyes; then
45725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45726 fi
45727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45728 /* end confdefs.h. */
45729
45730 /* Override any GCC internal prototype to avoid an error.
45731 Use char because int might match the return type of a GCC
45732 builtin and then its argument prototype would still apply. */
45733 #ifdef __cplusplus
45734 extern "C"
45735 #endif
45736 char sin ();
45737 int
45738 main ()
45739 {
45740 return sin ();
45741 ;
45742 return 0;
45743 }
45744 _ACEOF
45745 if ac_fn_c_try_link "$LINENO"; then :
45746 ac_cv_lib_m_sin=yes
45747 else
45748 ac_cv_lib_m_sin=no
45749 fi
45750 rm -f core conftest.err conftest.$ac_objext \
45751 conftest$ac_exeext conftest.$ac_ext
45752 LIBS=$ac_check_lib_save_LIBS
45753 fi
45754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45755 $as_echo "$ac_cv_lib_m_sin" >&6; }
45756 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45757 libm="-lm"
45758 fi
45759
45760 ac_save_LIBS="$LIBS"
45761 LIBS="$LIBS $libm"
45762
45763
45764
45765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45766 $as_echo_n "checking for isinf declaration... " >&6; }
45767 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45768 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45769 $as_echo_n "(cached) " >&6
45770 else
45771
45772
45773 ac_ext=cpp
45774 ac_cpp='$CXXCPP $CPPFLAGS'
45775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45778
45779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45780 /* end confdefs.h. */
45781 #include <math.h>
45782 #ifdef HAVE_IEEEFP_H
45783 #include <ieeefp.h>
45784 #endif
45785
45786 int
45787 main ()
45788 {
45789 isinf(0);
45790 ;
45791 return 0;
45792 }
45793 _ACEOF
45794 if ac_fn_cxx_try_compile "$LINENO"; then :
45795 glibcxx_cv_func_isinf_use=yes
45796 else
45797 glibcxx_cv_func_isinf_use=no
45798 fi
45799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45800 ac_ext=c
45801 ac_cpp='$CPP $CPPFLAGS'
45802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45805
45806
45807 fi
45808
45809 fi
45810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45811 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45812
45813 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45814 for ac_func in isinf
45815 do :
45816 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45817 if test "x$ac_cv_func_isinf" = x""yes; then :
45818 cat >>confdefs.h <<_ACEOF
45819 #define HAVE_ISINF 1
45820 _ACEOF
45821
45822 fi
45823 done
45824
45825 else
45826
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45828 $as_echo_n "checking for _isinf declaration... " >&6; }
45829 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45830 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45831 $as_echo_n "(cached) " >&6
45832 else
45833
45834
45835 ac_ext=cpp
45836 ac_cpp='$CXXCPP $CPPFLAGS'
45837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45840
45841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45842 /* end confdefs.h. */
45843 #include <math.h>
45844 #ifdef HAVE_IEEEFP_H
45845 #include <ieeefp.h>
45846 #endif
45847
45848 int
45849 main ()
45850 {
45851 _isinf(0);
45852 ;
45853 return 0;
45854 }
45855 _ACEOF
45856 if ac_fn_cxx_try_compile "$LINENO"; then :
45857 glibcxx_cv_func__isinf_use=yes
45858 else
45859 glibcxx_cv_func__isinf_use=no
45860 fi
45861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45862 ac_ext=c
45863 ac_cpp='$CPP $CPPFLAGS'
45864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45867
45868
45869 fi
45870
45871 fi
45872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45873 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45874
45875 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45876 for ac_func in _isinf
45877 do :
45878 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45879 if test "x$ac_cv_func__isinf" = x""yes; then :
45880 cat >>confdefs.h <<_ACEOF
45881 #define HAVE__ISINF 1
45882 _ACEOF
45883
45884 fi
45885 done
45886
45887 fi
45888 fi
45889
45890
45891
45892
45893
45894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45895 $as_echo_n "checking for isnan declaration... " >&6; }
45896 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45897 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45898 $as_echo_n "(cached) " >&6
45899 else
45900
45901
45902 ac_ext=cpp
45903 ac_cpp='$CXXCPP $CPPFLAGS'
45904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45907
45908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45909 /* end confdefs.h. */
45910 #include <math.h>
45911 #ifdef HAVE_IEEEFP_H
45912 #include <ieeefp.h>
45913 #endif
45914
45915 int
45916 main ()
45917 {
45918 isnan(0);
45919 ;
45920 return 0;
45921 }
45922 _ACEOF
45923 if ac_fn_cxx_try_compile "$LINENO"; then :
45924 glibcxx_cv_func_isnan_use=yes
45925 else
45926 glibcxx_cv_func_isnan_use=no
45927 fi
45928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45929 ac_ext=c
45930 ac_cpp='$CPP $CPPFLAGS'
45931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45934
45935
45936 fi
45937
45938 fi
45939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45940 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45941
45942 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45943 for ac_func in isnan
45944 do :
45945 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45946 if test "x$ac_cv_func_isnan" = x""yes; then :
45947 cat >>confdefs.h <<_ACEOF
45948 #define HAVE_ISNAN 1
45949 _ACEOF
45950
45951 fi
45952 done
45953
45954 else
45955
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45957 $as_echo_n "checking for _isnan declaration... " >&6; }
45958 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45959 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45960 $as_echo_n "(cached) " >&6
45961 else
45962
45963
45964 ac_ext=cpp
45965 ac_cpp='$CXXCPP $CPPFLAGS'
45966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45969
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45972 #include <math.h>
45973 #ifdef HAVE_IEEEFP_H
45974 #include <ieeefp.h>
45975 #endif
45976
45977 int
45978 main ()
45979 {
45980 _isnan(0);
45981 ;
45982 return 0;
45983 }
45984 _ACEOF
45985 if ac_fn_cxx_try_compile "$LINENO"; then :
45986 glibcxx_cv_func__isnan_use=yes
45987 else
45988 glibcxx_cv_func__isnan_use=no
45989 fi
45990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45991 ac_ext=c
45992 ac_cpp='$CPP $CPPFLAGS'
45993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45996
45997
45998 fi
45999
46000 fi
46001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46002 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46003
46004 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46005 for ac_func in _isnan
46006 do :
46007 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46008 if test "x$ac_cv_func__isnan" = x""yes; then :
46009 cat >>confdefs.h <<_ACEOF
46010 #define HAVE__ISNAN 1
46011 _ACEOF
46012
46013 fi
46014 done
46015
46016 fi
46017 fi
46018
46019
46020
46021
46022
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46024 $as_echo_n "checking for finite declaration... " >&6; }
46025 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46026 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46027 $as_echo_n "(cached) " >&6
46028 else
46029
46030
46031 ac_ext=cpp
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46036
46037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038 /* end confdefs.h. */
46039 #include <math.h>
46040 #ifdef HAVE_IEEEFP_H
46041 #include <ieeefp.h>
46042 #endif
46043
46044 int
46045 main ()
46046 {
46047 finite(0);
46048 ;
46049 return 0;
46050 }
46051 _ACEOF
46052 if ac_fn_cxx_try_compile "$LINENO"; then :
46053 glibcxx_cv_func_finite_use=yes
46054 else
46055 glibcxx_cv_func_finite_use=no
46056 fi
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46058 ac_ext=c
46059 ac_cpp='$CPP $CPPFLAGS'
46060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46063
46064
46065 fi
46066
46067 fi
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46069 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46070
46071 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46072 for ac_func in finite
46073 do :
46074 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46075 if test "x$ac_cv_func_finite" = x""yes; then :
46076 cat >>confdefs.h <<_ACEOF
46077 #define HAVE_FINITE 1
46078 _ACEOF
46079
46080 fi
46081 done
46082
46083 else
46084
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46086 $as_echo_n "checking for _finite declaration... " >&6; }
46087 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46088 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46089 $as_echo_n "(cached) " >&6
46090 else
46091
46092
46093 ac_ext=cpp
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46098
46099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h. */
46101 #include <math.h>
46102 #ifdef HAVE_IEEEFP_H
46103 #include <ieeefp.h>
46104 #endif
46105
46106 int
46107 main ()
46108 {
46109 _finite(0);
46110 ;
46111 return 0;
46112 }
46113 _ACEOF
46114 if ac_fn_cxx_try_compile "$LINENO"; then :
46115 glibcxx_cv_func__finite_use=yes
46116 else
46117 glibcxx_cv_func__finite_use=no
46118 fi
46119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46120 ac_ext=c
46121 ac_cpp='$CPP $CPPFLAGS'
46122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46125
46126
46127 fi
46128
46129 fi
46130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46131 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46132
46133 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46134 for ac_func in _finite
46135 do :
46136 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46137 if test "x$ac_cv_func__finite" = x""yes; then :
46138 cat >>confdefs.h <<_ACEOF
46139 #define HAVE__FINITE 1
46140 _ACEOF
46141
46142 fi
46143 done
46144
46145 fi
46146 fi
46147
46148
46149
46150
46151
46152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46153 $as_echo_n "checking for sincos declaration... " >&6; }
46154 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46155 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46156 $as_echo_n "(cached) " >&6
46157 else
46158
46159
46160 ac_ext=cpp
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46165
46166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46167 /* end confdefs.h. */
46168 #include <math.h>
46169 int
46170 main ()
46171 {
46172 sincos(0, 0, 0);
46173 ;
46174 return 0;
46175 }
46176 _ACEOF
46177 if ac_fn_cxx_try_compile "$LINENO"; then :
46178 glibcxx_cv_func_sincos_use=yes
46179 else
46180 glibcxx_cv_func_sincos_use=no
46181 fi
46182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46183 ac_ext=c
46184 ac_cpp='$CPP $CPPFLAGS'
46185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46188
46189
46190 fi
46191
46192 fi
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46194 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46195
46196 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46197 for ac_func in sincos
46198 do :
46199 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46200 if test "x$ac_cv_func_sincos" = x""yes; then :
46201 cat >>confdefs.h <<_ACEOF
46202 #define HAVE_SINCOS 1
46203 _ACEOF
46204
46205 fi
46206 done
46207
46208 else
46209
46210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46211 $as_echo_n "checking for _sincos declaration... " >&6; }
46212 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46213 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46214 $as_echo_n "(cached) " >&6
46215 else
46216
46217
46218 ac_ext=cpp
46219 ac_cpp='$CXXCPP $CPPFLAGS'
46220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46223
46224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46225 /* end confdefs.h. */
46226 #include <math.h>
46227 int
46228 main ()
46229 {
46230 _sincos(0, 0, 0);
46231 ;
46232 return 0;
46233 }
46234 _ACEOF
46235 if ac_fn_cxx_try_compile "$LINENO"; then :
46236 glibcxx_cv_func__sincos_use=yes
46237 else
46238 glibcxx_cv_func__sincos_use=no
46239 fi
46240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46241 ac_ext=c
46242 ac_cpp='$CPP $CPPFLAGS'
46243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46246
46247
46248 fi
46249
46250 fi
46251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46252 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46253
46254 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46255 for ac_func in _sincos
46256 do :
46257 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46258 if test "x$ac_cv_func__sincos" = x""yes; then :
46259 cat >>confdefs.h <<_ACEOF
46260 #define HAVE__SINCOS 1
46261 _ACEOF
46262
46263 fi
46264 done
46265
46266 fi
46267 fi
46268
46269
46270
46271
46272
46273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46274 $as_echo_n "checking for fpclass declaration... " >&6; }
46275 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46276 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46277 $as_echo_n "(cached) " >&6
46278 else
46279
46280
46281 ac_ext=cpp
46282 ac_cpp='$CXXCPP $CPPFLAGS'
46283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46286
46287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46288 /* end confdefs.h. */
46289 #include <math.h>
46290 #ifdef HAVE_IEEEFP_H
46291 #include <ieeefp.h>
46292 #endif
46293
46294 int
46295 main ()
46296 {
46297 fpclass(0);
46298 ;
46299 return 0;
46300 }
46301 _ACEOF
46302 if ac_fn_cxx_try_compile "$LINENO"; then :
46303 glibcxx_cv_func_fpclass_use=yes
46304 else
46305 glibcxx_cv_func_fpclass_use=no
46306 fi
46307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46308 ac_ext=c
46309 ac_cpp='$CPP $CPPFLAGS'
46310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46313
46314
46315 fi
46316
46317 fi
46318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46319 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46320
46321 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46322 for ac_func in fpclass
46323 do :
46324 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46325 if test "x$ac_cv_func_fpclass" = x""yes; then :
46326 cat >>confdefs.h <<_ACEOF
46327 #define HAVE_FPCLASS 1
46328 _ACEOF
46329
46330 fi
46331 done
46332
46333 else
46334
46335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46336 $as_echo_n "checking for _fpclass declaration... " >&6; }
46337 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46338 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46339 $as_echo_n "(cached) " >&6
46340 else
46341
46342
46343 ac_ext=cpp
46344 ac_cpp='$CXXCPP $CPPFLAGS'
46345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46348
46349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46350 /* end confdefs.h. */
46351 #include <math.h>
46352 #ifdef HAVE_IEEEFP_H
46353 #include <ieeefp.h>
46354 #endif
46355
46356 int
46357 main ()
46358 {
46359 _fpclass(0);
46360 ;
46361 return 0;
46362 }
46363 _ACEOF
46364 if ac_fn_cxx_try_compile "$LINENO"; then :
46365 glibcxx_cv_func__fpclass_use=yes
46366 else
46367 glibcxx_cv_func__fpclass_use=no
46368 fi
46369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46370 ac_ext=c
46371 ac_cpp='$CPP $CPPFLAGS'
46372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46375
46376
46377 fi
46378
46379 fi
46380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46381 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46382
46383 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46384 for ac_func in _fpclass
46385 do :
46386 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46387 if test "x$ac_cv_func__fpclass" = x""yes; then :
46388 cat >>confdefs.h <<_ACEOF
46389 #define HAVE__FPCLASS 1
46390 _ACEOF
46391
46392 fi
46393 done
46394
46395 fi
46396 fi
46397
46398
46399
46400
46401
46402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46403 $as_echo_n "checking for qfpclass declaration... " >&6; }
46404 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46405 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46406 $as_echo_n "(cached) " >&6
46407 else
46408
46409
46410 ac_ext=cpp
46411 ac_cpp='$CXXCPP $CPPFLAGS'
46412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46415
46416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46417 /* end confdefs.h. */
46418 #include <math.h>
46419 #ifdef HAVE_IEEEFP_H
46420 #include <ieeefp.h>
46421 #endif
46422
46423 int
46424 main ()
46425 {
46426 qfpclass(0);
46427 ;
46428 return 0;
46429 }
46430 _ACEOF
46431 if ac_fn_cxx_try_compile "$LINENO"; then :
46432 glibcxx_cv_func_qfpclass_use=yes
46433 else
46434 glibcxx_cv_func_qfpclass_use=no
46435 fi
46436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46437 ac_ext=c
46438 ac_cpp='$CPP $CPPFLAGS'
46439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46442
46443
46444 fi
46445
46446 fi
46447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46448 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46449
46450 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46451 for ac_func in qfpclass
46452 do :
46453 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46454 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46455 cat >>confdefs.h <<_ACEOF
46456 #define HAVE_QFPCLASS 1
46457 _ACEOF
46458
46459 fi
46460 done
46461
46462 else
46463
46464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46465 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46466 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46467 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46468 $as_echo_n "(cached) " >&6
46469 else
46470
46471
46472 ac_ext=cpp
46473 ac_cpp='$CXXCPP $CPPFLAGS'
46474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46477
46478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46479 /* end confdefs.h. */
46480 #include <math.h>
46481 #ifdef HAVE_IEEEFP_H
46482 #include <ieeefp.h>
46483 #endif
46484
46485 int
46486 main ()
46487 {
46488 _qfpclass(0);
46489 ;
46490 return 0;
46491 }
46492 _ACEOF
46493 if ac_fn_cxx_try_compile "$LINENO"; then :
46494 glibcxx_cv_func__qfpclass_use=yes
46495 else
46496 glibcxx_cv_func__qfpclass_use=no
46497 fi
46498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46499 ac_ext=c
46500 ac_cpp='$CPP $CPPFLAGS'
46501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46504
46505
46506 fi
46507
46508 fi
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46510 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46511
46512 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46513 for ac_func in _qfpclass
46514 do :
46515 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46516 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46517 cat >>confdefs.h <<_ACEOF
46518 #define HAVE__QFPCLASS 1
46519 _ACEOF
46520
46521 fi
46522 done
46523
46524 fi
46525 fi
46526
46527
46528
46529
46530
46531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46532 $as_echo_n "checking for hypot declaration... " >&6; }
46533 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46534 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46535 $as_echo_n "(cached) " >&6
46536 else
46537
46538
46539 ac_ext=cpp
46540 ac_cpp='$CXXCPP $CPPFLAGS'
46541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46544
46545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46546 /* end confdefs.h. */
46547 #include <math.h>
46548 int
46549 main ()
46550 {
46551 hypot(0, 0);
46552 ;
46553 return 0;
46554 }
46555 _ACEOF
46556 if ac_fn_cxx_try_compile "$LINENO"; then :
46557 glibcxx_cv_func_hypot_use=yes
46558 else
46559 glibcxx_cv_func_hypot_use=no
46560 fi
46561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46562 ac_ext=c
46563 ac_cpp='$CPP $CPPFLAGS'
46564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46567
46568
46569 fi
46570
46571 fi
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46573 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46574
46575 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46576 for ac_func in hypot
46577 do :
46578 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46579 if test "x$ac_cv_func_hypot" = x""yes; then :
46580 cat >>confdefs.h <<_ACEOF
46581 #define HAVE_HYPOT 1
46582 _ACEOF
46583
46584 fi
46585 done
46586
46587 else
46588
46589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46590 $as_echo_n "checking for _hypot declaration... " >&6; }
46591 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46592 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46593 $as_echo_n "(cached) " >&6
46594 else
46595
46596
46597 ac_ext=cpp
46598 ac_cpp='$CXXCPP $CPPFLAGS'
46599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46602
46603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46604 /* end confdefs.h. */
46605 #include <math.h>
46606 int
46607 main ()
46608 {
46609 _hypot(0, 0);
46610 ;
46611 return 0;
46612 }
46613 _ACEOF
46614 if ac_fn_cxx_try_compile "$LINENO"; then :
46615 glibcxx_cv_func__hypot_use=yes
46616 else
46617 glibcxx_cv_func__hypot_use=no
46618 fi
46619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46620 ac_ext=c
46621 ac_cpp='$CPP $CPPFLAGS'
46622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46625
46626
46627 fi
46628
46629 fi
46630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46631 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46632
46633 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46634 for ac_func in _hypot
46635 do :
46636 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46637 if test "x$ac_cv_func__hypot" = x""yes; then :
46638 cat >>confdefs.h <<_ACEOF
46639 #define HAVE__HYPOT 1
46640 _ACEOF
46641
46642 fi
46643 done
46644
46645 fi
46646 fi
46647
46648
46649
46650
46651
46652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46653 $as_echo_n "checking for float trig functions... " >&6; }
46654 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46655 $as_echo_n "(cached) " >&6
46656 else
46657
46658
46659 ac_ext=cpp
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46664
46665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46666 /* end confdefs.h. */
46667 #include <math.h>
46668 int
46669 main ()
46670 {
46671 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46672 ;
46673 return 0;
46674 }
46675 _ACEOF
46676 if ac_fn_cxx_try_compile "$LINENO"; then :
46677 glibcxx_cv_func_float_trig_use=yes
46678 else
46679 glibcxx_cv_func_float_trig_use=no
46680 fi
46681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46682 ac_ext=c
46683 ac_cpp='$CPP $CPPFLAGS'
46684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46687
46688 fi
46689
46690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46691 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46692 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46693 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46694 do :
46695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46697 eval as_val=\$$as_ac_var
46698 if test "x$as_val" = x""yes; then :
46699 cat >>confdefs.h <<_ACEOF
46700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46701 _ACEOF
46702
46703 fi
46704 done
46705
46706 else
46707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46708 $as_echo_n "checking for _float trig functions... " >&6; }
46709 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46710 $as_echo_n "(cached) " >&6
46711 else
46712
46713
46714 ac_ext=cpp
46715 ac_cpp='$CXXCPP $CPPFLAGS'
46716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46719
46720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46721 /* end confdefs.h. */
46722 #include <math.h>
46723 int
46724 main ()
46725 {
46726 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46727 ;
46728 return 0;
46729 }
46730 _ACEOF
46731 if ac_fn_cxx_try_compile "$LINENO"; then :
46732 glibcxx_cv_func__float_trig_use=yes
46733 else
46734 glibcxx_cv_func__float_trig_use=no
46735 fi
46736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46737 ac_ext=c
46738 ac_cpp='$CPP $CPPFLAGS'
46739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46742
46743 fi
46744
46745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46746 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46747 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46748 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46749 do :
46750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46752 eval as_val=\$$as_ac_var
46753 if test "x$as_val" = x""yes; then :
46754 cat >>confdefs.h <<_ACEOF
46755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46756 _ACEOF
46757
46758 fi
46759 done
46760
46761 fi
46762 fi
46763
46764
46765
46766
46767
46768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46769 $as_echo_n "checking for float round functions... " >&6; }
46770 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46771 $as_echo_n "(cached) " >&6
46772 else
46773
46774
46775 ac_ext=cpp
46776 ac_cpp='$CXXCPP $CPPFLAGS'
46777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46780
46781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46782 /* end confdefs.h. */
46783 #include <math.h>
46784 int
46785 main ()
46786 {
46787 ceilf (0); floorf (0);
46788 ;
46789 return 0;
46790 }
46791 _ACEOF
46792 if ac_fn_cxx_try_compile "$LINENO"; then :
46793 glibcxx_cv_func_float_round_use=yes
46794 else
46795 glibcxx_cv_func_float_round_use=no
46796 fi
46797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46798 ac_ext=c
46799 ac_cpp='$CPP $CPPFLAGS'
46800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46803
46804 fi
46805
46806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46807 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46808 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46809 for ac_func in ceilf floorf
46810 do :
46811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46813 eval as_val=\$$as_ac_var
46814 if test "x$as_val" = x""yes; then :
46815 cat >>confdefs.h <<_ACEOF
46816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46817 _ACEOF
46818
46819 fi
46820 done
46821
46822 else
46823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46824 $as_echo_n "checking for _float round functions... " >&6; }
46825 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46826 $as_echo_n "(cached) " >&6
46827 else
46828
46829
46830 ac_ext=cpp
46831 ac_cpp='$CXXCPP $CPPFLAGS'
46832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46835
46836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46837 /* end confdefs.h. */
46838 #include <math.h>
46839 int
46840 main ()
46841 {
46842 _ceilf (0); _floorf (0);
46843 ;
46844 return 0;
46845 }
46846 _ACEOF
46847 if ac_fn_cxx_try_compile "$LINENO"; then :
46848 glibcxx_cv_func__float_round_use=yes
46849 else
46850 glibcxx_cv_func__float_round_use=no
46851 fi
46852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46853 ac_ext=c
46854 ac_cpp='$CPP $CPPFLAGS'
46855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46858
46859 fi
46860
46861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46862 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46863 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46864 for ac_func in _ceilf _floorf
46865 do :
46866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46868 eval as_val=\$$as_ac_var
46869 if test "x$as_val" = x""yes; then :
46870 cat >>confdefs.h <<_ACEOF
46871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46872 _ACEOF
46873
46874 fi
46875 done
46876
46877 fi
46878 fi
46879
46880
46881
46882
46883
46884
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46886 $as_echo_n "checking for expf declaration... " >&6; }
46887 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46888 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46889 $as_echo_n "(cached) " >&6
46890 else
46891
46892
46893 ac_ext=cpp
46894 ac_cpp='$CXXCPP $CPPFLAGS'
46895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46898
46899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46900 /* end confdefs.h. */
46901 #include <math.h>
46902 #ifdef HAVE_IEEEFP_H
46903 #include <ieeefp.h>
46904 #endif
46905
46906 int
46907 main ()
46908 {
46909 expf(0);
46910 ;
46911 return 0;
46912 }
46913 _ACEOF
46914 if ac_fn_cxx_try_compile "$LINENO"; then :
46915 glibcxx_cv_func_expf_use=yes
46916 else
46917 glibcxx_cv_func_expf_use=no
46918 fi
46919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46920 ac_ext=c
46921 ac_cpp='$CPP $CPPFLAGS'
46922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46925
46926
46927 fi
46928
46929 fi
46930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46931 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46932
46933 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46934 for ac_func in expf
46935 do :
46936 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46937 if test "x$ac_cv_func_expf" = x""yes; then :
46938 cat >>confdefs.h <<_ACEOF
46939 #define HAVE_EXPF 1
46940 _ACEOF
46941
46942 fi
46943 done
46944
46945 else
46946
46947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46948 $as_echo_n "checking for _expf declaration... " >&6; }
46949 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46950 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46951 $as_echo_n "(cached) " >&6
46952 else
46953
46954
46955 ac_ext=cpp
46956 ac_cpp='$CXXCPP $CPPFLAGS'
46957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46960
46961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46962 /* end confdefs.h. */
46963 #include <math.h>
46964 #ifdef HAVE_IEEEFP_H
46965 #include <ieeefp.h>
46966 #endif
46967
46968 int
46969 main ()
46970 {
46971 _expf(0);
46972 ;
46973 return 0;
46974 }
46975 _ACEOF
46976 if ac_fn_cxx_try_compile "$LINENO"; then :
46977 glibcxx_cv_func__expf_use=yes
46978 else
46979 glibcxx_cv_func__expf_use=no
46980 fi
46981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46982 ac_ext=c
46983 ac_cpp='$CPP $CPPFLAGS'
46984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46987
46988
46989 fi
46990
46991 fi
46992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46993 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46994
46995 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46996 for ac_func in _expf
46997 do :
46998 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46999 if test "x$ac_cv_func__expf" = x""yes; then :
47000 cat >>confdefs.h <<_ACEOF
47001 #define HAVE__EXPF 1
47002 _ACEOF
47003
47004 fi
47005 done
47006
47007 fi
47008 fi
47009
47010
47011
47012
47013
47014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47015 $as_echo_n "checking for isnanf declaration... " >&6; }
47016 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47017 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47018 $as_echo_n "(cached) " >&6
47019 else
47020
47021
47022 ac_ext=cpp
47023 ac_cpp='$CXXCPP $CPPFLAGS'
47024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47027
47028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47029 /* end confdefs.h. */
47030 #include <math.h>
47031 #ifdef HAVE_IEEEFP_H
47032 #include <ieeefp.h>
47033 #endif
47034
47035 int
47036 main ()
47037 {
47038 isnanf(0);
47039 ;
47040 return 0;
47041 }
47042 _ACEOF
47043 if ac_fn_cxx_try_compile "$LINENO"; then :
47044 glibcxx_cv_func_isnanf_use=yes
47045 else
47046 glibcxx_cv_func_isnanf_use=no
47047 fi
47048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47049 ac_ext=c
47050 ac_cpp='$CPP $CPPFLAGS'
47051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47054
47055
47056 fi
47057
47058 fi
47059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47060 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47061
47062 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47063 for ac_func in isnanf
47064 do :
47065 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47066 if test "x$ac_cv_func_isnanf" = x""yes; then :
47067 cat >>confdefs.h <<_ACEOF
47068 #define HAVE_ISNANF 1
47069 _ACEOF
47070
47071 fi
47072 done
47073
47074 else
47075
47076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47077 $as_echo_n "checking for _isnanf declaration... " >&6; }
47078 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47079 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47080 $as_echo_n "(cached) " >&6
47081 else
47082
47083
47084 ac_ext=cpp
47085 ac_cpp='$CXXCPP $CPPFLAGS'
47086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47089
47090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47091 /* end confdefs.h. */
47092 #include <math.h>
47093 #ifdef HAVE_IEEEFP_H
47094 #include <ieeefp.h>
47095 #endif
47096
47097 int
47098 main ()
47099 {
47100 _isnanf(0);
47101 ;
47102 return 0;
47103 }
47104 _ACEOF
47105 if ac_fn_cxx_try_compile "$LINENO"; then :
47106 glibcxx_cv_func__isnanf_use=yes
47107 else
47108 glibcxx_cv_func__isnanf_use=no
47109 fi
47110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47111 ac_ext=c
47112 ac_cpp='$CPP $CPPFLAGS'
47113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47116
47117
47118 fi
47119
47120 fi
47121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47122 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47123
47124 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47125 for ac_func in _isnanf
47126 do :
47127 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47128 if test "x$ac_cv_func__isnanf" = x""yes; then :
47129 cat >>confdefs.h <<_ACEOF
47130 #define HAVE__ISNANF 1
47131 _ACEOF
47132
47133 fi
47134 done
47135
47136 fi
47137 fi
47138
47139
47140
47141
47142
47143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47144 $as_echo_n "checking for isinff declaration... " >&6; }
47145 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47146 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47147 $as_echo_n "(cached) " >&6
47148 else
47149
47150
47151 ac_ext=cpp
47152 ac_cpp='$CXXCPP $CPPFLAGS'
47153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47156
47157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47158 /* end confdefs.h. */
47159 #include <math.h>
47160 #ifdef HAVE_IEEEFP_H
47161 #include <ieeefp.h>
47162 #endif
47163
47164 int
47165 main ()
47166 {
47167 isinff(0);
47168 ;
47169 return 0;
47170 }
47171 _ACEOF
47172 if ac_fn_cxx_try_compile "$LINENO"; then :
47173 glibcxx_cv_func_isinff_use=yes
47174 else
47175 glibcxx_cv_func_isinff_use=no
47176 fi
47177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47178 ac_ext=c
47179 ac_cpp='$CPP $CPPFLAGS'
47180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47183
47184
47185 fi
47186
47187 fi
47188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47189 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47190
47191 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47192 for ac_func in isinff
47193 do :
47194 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47195 if test "x$ac_cv_func_isinff" = x""yes; then :
47196 cat >>confdefs.h <<_ACEOF
47197 #define HAVE_ISINFF 1
47198 _ACEOF
47199
47200 fi
47201 done
47202
47203 else
47204
47205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47206 $as_echo_n "checking for _isinff declaration... " >&6; }
47207 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47208 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47209 $as_echo_n "(cached) " >&6
47210 else
47211
47212
47213 ac_ext=cpp
47214 ac_cpp='$CXXCPP $CPPFLAGS'
47215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47218
47219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47220 /* end confdefs.h. */
47221 #include <math.h>
47222 #ifdef HAVE_IEEEFP_H
47223 #include <ieeefp.h>
47224 #endif
47225
47226 int
47227 main ()
47228 {
47229 _isinff(0);
47230 ;
47231 return 0;
47232 }
47233 _ACEOF
47234 if ac_fn_cxx_try_compile "$LINENO"; then :
47235 glibcxx_cv_func__isinff_use=yes
47236 else
47237 glibcxx_cv_func__isinff_use=no
47238 fi
47239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47240 ac_ext=c
47241 ac_cpp='$CPP $CPPFLAGS'
47242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47245
47246
47247 fi
47248
47249 fi
47250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47251 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47252
47253 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47254 for ac_func in _isinff
47255 do :
47256 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47257 if test "x$ac_cv_func__isinff" = x""yes; then :
47258 cat >>confdefs.h <<_ACEOF
47259 #define HAVE__ISINFF 1
47260 _ACEOF
47261
47262 fi
47263 done
47264
47265 fi
47266 fi
47267
47268
47269
47270
47271
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47273 $as_echo_n "checking for atan2f declaration... " >&6; }
47274 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47275 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47276 $as_echo_n "(cached) " >&6
47277 else
47278
47279
47280 ac_ext=cpp
47281 ac_cpp='$CXXCPP $CPPFLAGS'
47282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47285
47286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47287 /* end confdefs.h. */
47288 #include <math.h>
47289 int
47290 main ()
47291 {
47292 atan2f(0, 0);
47293 ;
47294 return 0;
47295 }
47296 _ACEOF
47297 if ac_fn_cxx_try_compile "$LINENO"; then :
47298 glibcxx_cv_func_atan2f_use=yes
47299 else
47300 glibcxx_cv_func_atan2f_use=no
47301 fi
47302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47303 ac_ext=c
47304 ac_cpp='$CPP $CPPFLAGS'
47305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47308
47309
47310 fi
47311
47312 fi
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47314 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47315
47316 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47317 for ac_func in atan2f
47318 do :
47319 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47320 if test "x$ac_cv_func_atan2f" = x""yes; then :
47321 cat >>confdefs.h <<_ACEOF
47322 #define HAVE_ATAN2F 1
47323 _ACEOF
47324
47325 fi
47326 done
47327
47328 else
47329
47330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47331 $as_echo_n "checking for _atan2f declaration... " >&6; }
47332 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47333 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47334 $as_echo_n "(cached) " >&6
47335 else
47336
47337
47338 ac_ext=cpp
47339 ac_cpp='$CXXCPP $CPPFLAGS'
47340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47343
47344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47345 /* end confdefs.h. */
47346 #include <math.h>
47347 int
47348 main ()
47349 {
47350 _atan2f(0, 0);
47351 ;
47352 return 0;
47353 }
47354 _ACEOF
47355 if ac_fn_cxx_try_compile "$LINENO"; then :
47356 glibcxx_cv_func__atan2f_use=yes
47357 else
47358 glibcxx_cv_func__atan2f_use=no
47359 fi
47360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47361 ac_ext=c
47362 ac_cpp='$CPP $CPPFLAGS'
47363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47366
47367
47368 fi
47369
47370 fi
47371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47372 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47373
47374 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47375 for ac_func in _atan2f
47376 do :
47377 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47378 if test "x$ac_cv_func__atan2f" = x""yes; then :
47379 cat >>confdefs.h <<_ACEOF
47380 #define HAVE__ATAN2F 1
47381 _ACEOF
47382
47383 fi
47384 done
47385
47386 fi
47387 fi
47388
47389
47390
47391
47392
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47394 $as_echo_n "checking for fabsf declaration... " >&6; }
47395 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47396 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47397 $as_echo_n "(cached) " >&6
47398 else
47399
47400
47401 ac_ext=cpp
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47406
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47409 #include <math.h>
47410 #ifdef HAVE_IEEEFP_H
47411 #include <ieeefp.h>
47412 #endif
47413
47414 int
47415 main ()
47416 {
47417 fabsf(0);
47418 ;
47419 return 0;
47420 }
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423 glibcxx_cv_func_fabsf_use=yes
47424 else
47425 glibcxx_cv_func_fabsf_use=no
47426 fi
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428 ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47433
47434
47435 fi
47436
47437 fi
47438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47439 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47440
47441 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47442 for ac_func in fabsf
47443 do :
47444 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47445 if test "x$ac_cv_func_fabsf" = x""yes; then :
47446 cat >>confdefs.h <<_ACEOF
47447 #define HAVE_FABSF 1
47448 _ACEOF
47449
47450 fi
47451 done
47452
47453 else
47454
47455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47456 $as_echo_n "checking for _fabsf declaration... " >&6; }
47457 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47458 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47459 $as_echo_n "(cached) " >&6
47460 else
47461
47462
47463 ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468
47469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h. */
47471 #include <math.h>
47472 #ifdef HAVE_IEEEFP_H
47473 #include <ieeefp.h>
47474 #endif
47475
47476 int
47477 main ()
47478 {
47479 _fabsf(0);
47480 ;
47481 return 0;
47482 }
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485 glibcxx_cv_func__fabsf_use=yes
47486 else
47487 glibcxx_cv_func__fabsf_use=no
47488 fi
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490 ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47495
47496
47497 fi
47498
47499 fi
47500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47501 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47502
47503 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47504 for ac_func in _fabsf
47505 do :
47506 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47507 if test "x$ac_cv_func__fabsf" = x""yes; then :
47508 cat >>confdefs.h <<_ACEOF
47509 #define HAVE__FABSF 1
47510 _ACEOF
47511
47512 fi
47513 done
47514
47515 fi
47516 fi
47517
47518
47519
47520
47521
47522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47523 $as_echo_n "checking for fmodf declaration... " >&6; }
47524 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47525 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47526 $as_echo_n "(cached) " >&6
47527 else
47528
47529
47530 ac_ext=cpp
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535
47536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47537 /* end confdefs.h. */
47538 #include <math.h>
47539 int
47540 main ()
47541 {
47542 fmodf(0, 0);
47543 ;
47544 return 0;
47545 }
47546 _ACEOF
47547 if ac_fn_cxx_try_compile "$LINENO"; then :
47548 glibcxx_cv_func_fmodf_use=yes
47549 else
47550 glibcxx_cv_func_fmodf_use=no
47551 fi
47552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47553 ac_ext=c
47554 ac_cpp='$CPP $CPPFLAGS'
47555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47558
47559
47560 fi
47561
47562 fi
47563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47564 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47565
47566 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47567 for ac_func in fmodf
47568 do :
47569 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47570 if test "x$ac_cv_func_fmodf" = x""yes; then :
47571 cat >>confdefs.h <<_ACEOF
47572 #define HAVE_FMODF 1
47573 _ACEOF
47574
47575 fi
47576 done
47577
47578 else
47579
47580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47581 $as_echo_n "checking for _fmodf declaration... " >&6; }
47582 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47583 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47584 $as_echo_n "(cached) " >&6
47585 else
47586
47587
47588 ac_ext=cpp
47589 ac_cpp='$CXXCPP $CPPFLAGS'
47590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47593
47594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47595 /* end confdefs.h. */
47596 #include <math.h>
47597 int
47598 main ()
47599 {
47600 _fmodf(0, 0);
47601 ;
47602 return 0;
47603 }
47604 _ACEOF
47605 if ac_fn_cxx_try_compile "$LINENO"; then :
47606 glibcxx_cv_func__fmodf_use=yes
47607 else
47608 glibcxx_cv_func__fmodf_use=no
47609 fi
47610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47611 ac_ext=c
47612 ac_cpp='$CPP $CPPFLAGS'
47613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47616
47617
47618 fi
47619
47620 fi
47621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47622 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47623
47624 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47625 for ac_func in _fmodf
47626 do :
47627 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47628 if test "x$ac_cv_func__fmodf" = x""yes; then :
47629 cat >>confdefs.h <<_ACEOF
47630 #define HAVE__FMODF 1
47631 _ACEOF
47632
47633 fi
47634 done
47635
47636 fi
47637 fi
47638
47639
47640
47641
47642
47643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47644 $as_echo_n "checking for frexpf declaration... " >&6; }
47645 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47646 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47647 $as_echo_n "(cached) " >&6
47648 else
47649
47650
47651 ac_ext=cpp
47652 ac_cpp='$CXXCPP $CPPFLAGS'
47653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656
47657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47658 /* end confdefs.h. */
47659 #include <math.h>
47660 int
47661 main ()
47662 {
47663 frexpf(0, 0);
47664 ;
47665 return 0;
47666 }
47667 _ACEOF
47668 if ac_fn_cxx_try_compile "$LINENO"; then :
47669 glibcxx_cv_func_frexpf_use=yes
47670 else
47671 glibcxx_cv_func_frexpf_use=no
47672 fi
47673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47674 ac_ext=c
47675 ac_cpp='$CPP $CPPFLAGS'
47676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47679
47680
47681 fi
47682
47683 fi
47684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47685 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47686
47687 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47688 for ac_func in frexpf
47689 do :
47690 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47691 if test "x$ac_cv_func_frexpf" = x""yes; then :
47692 cat >>confdefs.h <<_ACEOF
47693 #define HAVE_FREXPF 1
47694 _ACEOF
47695
47696 fi
47697 done
47698
47699 else
47700
47701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47702 $as_echo_n "checking for _frexpf declaration... " >&6; }
47703 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47704 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47705 $as_echo_n "(cached) " >&6
47706 else
47707
47708
47709 ac_ext=cpp
47710 ac_cpp='$CXXCPP $CPPFLAGS'
47711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47714
47715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47716 /* end confdefs.h. */
47717 #include <math.h>
47718 int
47719 main ()
47720 {
47721 _frexpf(0, 0);
47722 ;
47723 return 0;
47724 }
47725 _ACEOF
47726 if ac_fn_cxx_try_compile "$LINENO"; then :
47727 glibcxx_cv_func__frexpf_use=yes
47728 else
47729 glibcxx_cv_func__frexpf_use=no
47730 fi
47731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47732 ac_ext=c
47733 ac_cpp='$CPP $CPPFLAGS'
47734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47737
47738
47739 fi
47740
47741 fi
47742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47743 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47744
47745 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47746 for ac_func in _frexpf
47747 do :
47748 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47749 if test "x$ac_cv_func__frexpf" = x""yes; then :
47750 cat >>confdefs.h <<_ACEOF
47751 #define HAVE__FREXPF 1
47752 _ACEOF
47753
47754 fi
47755 done
47756
47757 fi
47758 fi
47759
47760
47761
47762
47763
47764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47765 $as_echo_n "checking for hypotf declaration... " >&6; }
47766 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47767 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47768 $as_echo_n "(cached) " >&6
47769 else
47770
47771
47772 ac_ext=cpp
47773 ac_cpp='$CXXCPP $CPPFLAGS'
47774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47777
47778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47779 /* end confdefs.h. */
47780 #include <math.h>
47781 int
47782 main ()
47783 {
47784 hypotf(0, 0);
47785 ;
47786 return 0;
47787 }
47788 _ACEOF
47789 if ac_fn_cxx_try_compile "$LINENO"; then :
47790 glibcxx_cv_func_hypotf_use=yes
47791 else
47792 glibcxx_cv_func_hypotf_use=no
47793 fi
47794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47795 ac_ext=c
47796 ac_cpp='$CPP $CPPFLAGS'
47797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47800
47801
47802 fi
47803
47804 fi
47805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47806 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47807
47808 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47809 for ac_func in hypotf
47810 do :
47811 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47812 if test "x$ac_cv_func_hypotf" = x""yes; then :
47813 cat >>confdefs.h <<_ACEOF
47814 #define HAVE_HYPOTF 1
47815 _ACEOF
47816
47817 fi
47818 done
47819
47820 else
47821
47822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47823 $as_echo_n "checking for _hypotf declaration... " >&6; }
47824 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47825 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47826 $as_echo_n "(cached) " >&6
47827 else
47828
47829
47830 ac_ext=cpp
47831 ac_cpp='$CXXCPP $CPPFLAGS'
47832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47835
47836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47837 /* end confdefs.h. */
47838 #include <math.h>
47839 int
47840 main ()
47841 {
47842 _hypotf(0, 0);
47843 ;
47844 return 0;
47845 }
47846 _ACEOF
47847 if ac_fn_cxx_try_compile "$LINENO"; then :
47848 glibcxx_cv_func__hypotf_use=yes
47849 else
47850 glibcxx_cv_func__hypotf_use=no
47851 fi
47852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47853 ac_ext=c
47854 ac_cpp='$CPP $CPPFLAGS'
47855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47858
47859
47860 fi
47861
47862 fi
47863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47864 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47865
47866 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47867 for ac_func in _hypotf
47868 do :
47869 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47870 if test "x$ac_cv_func__hypotf" = x""yes; then :
47871 cat >>confdefs.h <<_ACEOF
47872 #define HAVE__HYPOTF 1
47873 _ACEOF
47874
47875 fi
47876 done
47877
47878 fi
47879 fi
47880
47881
47882
47883
47884
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47886 $as_echo_n "checking for ldexpf declaration... " >&6; }
47887 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47888 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47889 $as_echo_n "(cached) " >&6
47890 else
47891
47892
47893 ac_ext=cpp
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47898
47899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h. */
47901 #include <math.h>
47902 int
47903 main ()
47904 {
47905 ldexpf(0, 0);
47906 ;
47907 return 0;
47908 }
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func_ldexpf_use=yes
47912 else
47913 glibcxx_cv_func_ldexpf_use=no
47914 fi
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47916 ac_ext=c
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47921
47922
47923 fi
47924
47925 fi
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47927 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47928
47929 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47930 for ac_func in ldexpf
47931 do :
47932 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47933 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE_LDEXPF 1
47936 _ACEOF
47937
47938 fi
47939 done
47940
47941 else
47942
47943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47944 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47945 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47946 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47947 $as_echo_n "(cached) " >&6
47948 else
47949
47950
47951 ac_ext=cpp
47952 ac_cpp='$CXXCPP $CPPFLAGS'
47953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47956
47957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47958 /* end confdefs.h. */
47959 #include <math.h>
47960 int
47961 main ()
47962 {
47963 _ldexpf(0, 0);
47964 ;
47965 return 0;
47966 }
47967 _ACEOF
47968 if ac_fn_cxx_try_compile "$LINENO"; then :
47969 glibcxx_cv_func__ldexpf_use=yes
47970 else
47971 glibcxx_cv_func__ldexpf_use=no
47972 fi
47973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47974 ac_ext=c
47975 ac_cpp='$CPP $CPPFLAGS'
47976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47979
47980
47981 fi
47982
47983 fi
47984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47985 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47986
47987 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47988 for ac_func in _ldexpf
47989 do :
47990 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47991 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47992 cat >>confdefs.h <<_ACEOF
47993 #define HAVE__LDEXPF 1
47994 _ACEOF
47995
47996 fi
47997 done
47998
47999 fi
48000 fi
48001
48002
48003
48004
48005
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48007 $as_echo_n "checking for logf declaration... " >&6; }
48008 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48009 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48010 $as_echo_n "(cached) " >&6
48011 else
48012
48013
48014 ac_ext=cpp
48015 ac_cpp='$CXXCPP $CPPFLAGS'
48016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48019
48020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48021 /* end confdefs.h. */
48022 #include <math.h>
48023 #ifdef HAVE_IEEEFP_H
48024 #include <ieeefp.h>
48025 #endif
48026
48027 int
48028 main ()
48029 {
48030 logf(0);
48031 ;
48032 return 0;
48033 }
48034 _ACEOF
48035 if ac_fn_cxx_try_compile "$LINENO"; then :
48036 glibcxx_cv_func_logf_use=yes
48037 else
48038 glibcxx_cv_func_logf_use=no
48039 fi
48040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48041 ac_ext=c
48042 ac_cpp='$CPP $CPPFLAGS'
48043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48046
48047
48048 fi
48049
48050 fi
48051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48052 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48053
48054 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48055 for ac_func in logf
48056 do :
48057 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48058 if test "x$ac_cv_func_logf" = x""yes; then :
48059 cat >>confdefs.h <<_ACEOF
48060 #define HAVE_LOGF 1
48061 _ACEOF
48062
48063 fi
48064 done
48065
48066 else
48067
48068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48069 $as_echo_n "checking for _logf declaration... " >&6; }
48070 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48071 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48072 $as_echo_n "(cached) " >&6
48073 else
48074
48075
48076 ac_ext=cpp
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48081
48082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48083 /* end confdefs.h. */
48084 #include <math.h>
48085 #ifdef HAVE_IEEEFP_H
48086 #include <ieeefp.h>
48087 #endif
48088
48089 int
48090 main ()
48091 {
48092 _logf(0);
48093 ;
48094 return 0;
48095 }
48096 _ACEOF
48097 if ac_fn_cxx_try_compile "$LINENO"; then :
48098 glibcxx_cv_func__logf_use=yes
48099 else
48100 glibcxx_cv_func__logf_use=no
48101 fi
48102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48103 ac_ext=c
48104 ac_cpp='$CPP $CPPFLAGS'
48105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48108
48109
48110 fi
48111
48112 fi
48113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48114 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48115
48116 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48117 for ac_func in _logf
48118 do :
48119 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48120 if test "x$ac_cv_func__logf" = x""yes; then :
48121 cat >>confdefs.h <<_ACEOF
48122 #define HAVE__LOGF 1
48123 _ACEOF
48124
48125 fi
48126 done
48127
48128 fi
48129 fi
48130
48131
48132
48133
48134
48135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48136 $as_echo_n "checking for log10f declaration... " >&6; }
48137 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48138 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48139 $as_echo_n "(cached) " >&6
48140 else
48141
48142
48143 ac_ext=cpp
48144 ac_cpp='$CXXCPP $CPPFLAGS'
48145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48148
48149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48150 /* end confdefs.h. */
48151 #include <math.h>
48152 #ifdef HAVE_IEEEFP_H
48153 #include <ieeefp.h>
48154 #endif
48155
48156 int
48157 main ()
48158 {
48159 log10f(0);
48160 ;
48161 return 0;
48162 }
48163 _ACEOF
48164 if ac_fn_cxx_try_compile "$LINENO"; then :
48165 glibcxx_cv_func_log10f_use=yes
48166 else
48167 glibcxx_cv_func_log10f_use=no
48168 fi
48169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48170 ac_ext=c
48171 ac_cpp='$CPP $CPPFLAGS'
48172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48175
48176
48177 fi
48178
48179 fi
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48181 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48182
48183 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48184 for ac_func in log10f
48185 do :
48186 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48187 if test "x$ac_cv_func_log10f" = x""yes; then :
48188 cat >>confdefs.h <<_ACEOF
48189 #define HAVE_LOG10F 1
48190 _ACEOF
48191
48192 fi
48193 done
48194
48195 else
48196
48197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48198 $as_echo_n "checking for _log10f declaration... " >&6; }
48199 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48200 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48201 $as_echo_n "(cached) " >&6
48202 else
48203
48204
48205 ac_ext=cpp
48206 ac_cpp='$CXXCPP $CPPFLAGS'
48207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48210
48211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48212 /* end confdefs.h. */
48213 #include <math.h>
48214 #ifdef HAVE_IEEEFP_H
48215 #include <ieeefp.h>
48216 #endif
48217
48218 int
48219 main ()
48220 {
48221 _log10f(0);
48222 ;
48223 return 0;
48224 }
48225 _ACEOF
48226 if ac_fn_cxx_try_compile "$LINENO"; then :
48227 glibcxx_cv_func__log10f_use=yes
48228 else
48229 glibcxx_cv_func__log10f_use=no
48230 fi
48231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48232 ac_ext=c
48233 ac_cpp='$CPP $CPPFLAGS'
48234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48237
48238
48239 fi
48240
48241 fi
48242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48243 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48244
48245 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48246 for ac_func in _log10f
48247 do :
48248 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48249 if test "x$ac_cv_func__log10f" = x""yes; then :
48250 cat >>confdefs.h <<_ACEOF
48251 #define HAVE__LOG10F 1
48252 _ACEOF
48253
48254 fi
48255 done
48256
48257 fi
48258 fi
48259
48260
48261
48262
48263
48264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48265 $as_echo_n "checking for modff declaration... " >&6; }
48266 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48267 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48268 $as_echo_n "(cached) " >&6
48269 else
48270
48271
48272 ac_ext=cpp
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48277
48278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48279 /* end confdefs.h. */
48280 #include <math.h>
48281 int
48282 main ()
48283 {
48284 modff(0, 0);
48285 ;
48286 return 0;
48287 }
48288 _ACEOF
48289 if ac_fn_cxx_try_compile "$LINENO"; then :
48290 glibcxx_cv_func_modff_use=yes
48291 else
48292 glibcxx_cv_func_modff_use=no
48293 fi
48294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48295 ac_ext=c
48296 ac_cpp='$CPP $CPPFLAGS'
48297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48300
48301
48302 fi
48303
48304 fi
48305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48306 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48307
48308 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48309 for ac_func in modff
48310 do :
48311 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48312 if test "x$ac_cv_func_modff" = x""yes; then :
48313 cat >>confdefs.h <<_ACEOF
48314 #define HAVE_MODFF 1
48315 _ACEOF
48316
48317 fi
48318 done
48319
48320 else
48321
48322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48323 $as_echo_n "checking for _modff declaration... " >&6; }
48324 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48325 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48326 $as_echo_n "(cached) " >&6
48327 else
48328
48329
48330 ac_ext=cpp
48331 ac_cpp='$CXXCPP $CPPFLAGS'
48332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48335
48336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48337 /* end confdefs.h. */
48338 #include <math.h>
48339 int
48340 main ()
48341 {
48342 _modff(0, 0);
48343 ;
48344 return 0;
48345 }
48346 _ACEOF
48347 if ac_fn_cxx_try_compile "$LINENO"; then :
48348 glibcxx_cv_func__modff_use=yes
48349 else
48350 glibcxx_cv_func__modff_use=no
48351 fi
48352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48353 ac_ext=c
48354 ac_cpp='$CPP $CPPFLAGS'
48355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48358
48359
48360 fi
48361
48362 fi
48363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48364 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48365
48366 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48367 for ac_func in _modff
48368 do :
48369 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48370 if test "x$ac_cv_func__modff" = x""yes; then :
48371 cat >>confdefs.h <<_ACEOF
48372 #define HAVE__MODFF 1
48373 _ACEOF
48374
48375 fi
48376 done
48377
48378 fi
48379 fi
48380
48381
48382
48383
48384
48385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48386 $as_echo_n "checking for modf declaration... " >&6; }
48387 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48388 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48389 $as_echo_n "(cached) " >&6
48390 else
48391
48392
48393 ac_ext=cpp
48394 ac_cpp='$CXXCPP $CPPFLAGS'
48395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48398
48399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48400 /* end confdefs.h. */
48401 #include <math.h>
48402 int
48403 main ()
48404 {
48405 modf(0, 0);
48406 ;
48407 return 0;
48408 }
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func_modf_use=yes
48412 else
48413 glibcxx_cv_func_modf_use=no
48414 fi
48415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48416 ac_ext=c
48417 ac_cpp='$CPP $CPPFLAGS'
48418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48421
48422
48423 fi
48424
48425 fi
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48427 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48428
48429 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48430 for ac_func in modf
48431 do :
48432 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48433 if test "x$ac_cv_func_modf" = x""yes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define HAVE_MODF 1
48436 _ACEOF
48437
48438 fi
48439 done
48440
48441 else
48442
48443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48444 $as_echo_n "checking for _modf declaration... " >&6; }
48445 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48446 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48447 $as_echo_n "(cached) " >&6
48448 else
48449
48450
48451 ac_ext=cpp
48452 ac_cpp='$CXXCPP $CPPFLAGS'
48453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48456
48457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48458 /* end confdefs.h. */
48459 #include <math.h>
48460 int
48461 main ()
48462 {
48463 _modf(0, 0);
48464 ;
48465 return 0;
48466 }
48467 _ACEOF
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func__modf_use=yes
48470 else
48471 glibcxx_cv_func__modf_use=no
48472 fi
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48474 ac_ext=c
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48479
48480
48481 fi
48482
48483 fi
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48485 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48486
48487 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48488 for ac_func in _modf
48489 do :
48490 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48491 if test "x$ac_cv_func__modf" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE__MODF 1
48494 _ACEOF
48495
48496 fi
48497 done
48498
48499 fi
48500 fi
48501
48502
48503
48504
48505
48506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48507 $as_echo_n "checking for powf declaration... " >&6; }
48508 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48509 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48510 $as_echo_n "(cached) " >&6
48511 else
48512
48513
48514 ac_ext=cpp
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48519
48520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48521 /* end confdefs.h. */
48522 #include <math.h>
48523 int
48524 main ()
48525 {
48526 powf(0, 0);
48527 ;
48528 return 0;
48529 }
48530 _ACEOF
48531 if ac_fn_cxx_try_compile "$LINENO"; then :
48532 glibcxx_cv_func_powf_use=yes
48533 else
48534 glibcxx_cv_func_powf_use=no
48535 fi
48536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48537 ac_ext=c
48538 ac_cpp='$CPP $CPPFLAGS'
48539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48542
48543
48544 fi
48545
48546 fi
48547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48548 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48549
48550 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48551 for ac_func in powf
48552 do :
48553 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48554 if test "x$ac_cv_func_powf" = x""yes; then :
48555 cat >>confdefs.h <<_ACEOF
48556 #define HAVE_POWF 1
48557 _ACEOF
48558
48559 fi
48560 done
48561
48562 else
48563
48564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48565 $as_echo_n "checking for _powf declaration... " >&6; }
48566 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48567 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48568 $as_echo_n "(cached) " >&6
48569 else
48570
48571
48572 ac_ext=cpp
48573 ac_cpp='$CXXCPP $CPPFLAGS'
48574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48577
48578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48579 /* end confdefs.h. */
48580 #include <math.h>
48581 int
48582 main ()
48583 {
48584 _powf(0, 0);
48585 ;
48586 return 0;
48587 }
48588 _ACEOF
48589 if ac_fn_cxx_try_compile "$LINENO"; then :
48590 glibcxx_cv_func__powf_use=yes
48591 else
48592 glibcxx_cv_func__powf_use=no
48593 fi
48594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48595 ac_ext=c
48596 ac_cpp='$CPP $CPPFLAGS'
48597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48600
48601
48602 fi
48603
48604 fi
48605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48606 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48607
48608 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48609 for ac_func in _powf
48610 do :
48611 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48612 if test "x$ac_cv_func__powf" = x""yes; then :
48613 cat >>confdefs.h <<_ACEOF
48614 #define HAVE__POWF 1
48615 _ACEOF
48616
48617 fi
48618 done
48619
48620 fi
48621 fi
48622
48623
48624
48625
48626
48627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48628 $as_echo_n "checking for sqrtf declaration... " >&6; }
48629 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48630 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48631 $as_echo_n "(cached) " >&6
48632 else
48633
48634
48635 ac_ext=cpp
48636 ac_cpp='$CXXCPP $CPPFLAGS'
48637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640
48641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48642 /* end confdefs.h. */
48643 #include <math.h>
48644 #ifdef HAVE_IEEEFP_H
48645 #include <ieeefp.h>
48646 #endif
48647
48648 int
48649 main ()
48650 {
48651 sqrtf(0);
48652 ;
48653 return 0;
48654 }
48655 _ACEOF
48656 if ac_fn_cxx_try_compile "$LINENO"; then :
48657 glibcxx_cv_func_sqrtf_use=yes
48658 else
48659 glibcxx_cv_func_sqrtf_use=no
48660 fi
48661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48662 ac_ext=c
48663 ac_cpp='$CPP $CPPFLAGS'
48664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48667
48668
48669 fi
48670
48671 fi
48672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48673 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48674
48675 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48676 for ac_func in sqrtf
48677 do :
48678 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48679 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48680 cat >>confdefs.h <<_ACEOF
48681 #define HAVE_SQRTF 1
48682 _ACEOF
48683
48684 fi
48685 done
48686
48687 else
48688
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48690 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48691 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48692 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48693 $as_echo_n "(cached) " >&6
48694 else
48695
48696
48697 ac_ext=cpp
48698 ac_cpp='$CXXCPP $CPPFLAGS'
48699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48702
48703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48704 /* end confdefs.h. */
48705 #include <math.h>
48706 #ifdef HAVE_IEEEFP_H
48707 #include <ieeefp.h>
48708 #endif
48709
48710 int
48711 main ()
48712 {
48713 _sqrtf(0);
48714 ;
48715 return 0;
48716 }
48717 _ACEOF
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func__sqrtf_use=yes
48720 else
48721 glibcxx_cv_func__sqrtf_use=no
48722 fi
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724 ac_ext=c
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48729
48730
48731 fi
48732
48733 fi
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48735 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48736
48737 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48738 for ac_func in _sqrtf
48739 do :
48740 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48741 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE__SQRTF 1
48744 _ACEOF
48745
48746 fi
48747 done
48748
48749 fi
48750 fi
48751
48752
48753
48754
48755
48756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48757 $as_echo_n "checking for sincosf declaration... " >&6; }
48758 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48759 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48760 $as_echo_n "(cached) " >&6
48761 else
48762
48763
48764 ac_ext=cpp
48765 ac_cpp='$CXXCPP $CPPFLAGS'
48766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48769
48770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48771 /* end confdefs.h. */
48772 #include <math.h>
48773 int
48774 main ()
48775 {
48776 sincosf(0, 0, 0);
48777 ;
48778 return 0;
48779 }
48780 _ACEOF
48781 if ac_fn_cxx_try_compile "$LINENO"; then :
48782 glibcxx_cv_func_sincosf_use=yes
48783 else
48784 glibcxx_cv_func_sincosf_use=no
48785 fi
48786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48787 ac_ext=c
48788 ac_cpp='$CPP $CPPFLAGS'
48789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48792
48793
48794 fi
48795
48796 fi
48797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48798 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48799
48800 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48801 for ac_func in sincosf
48802 do :
48803 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48804 if test "x$ac_cv_func_sincosf" = x""yes; then :
48805 cat >>confdefs.h <<_ACEOF
48806 #define HAVE_SINCOSF 1
48807 _ACEOF
48808
48809 fi
48810 done
48811
48812 else
48813
48814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48815 $as_echo_n "checking for _sincosf declaration... " >&6; }
48816 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48817 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48818 $as_echo_n "(cached) " >&6
48819 else
48820
48821
48822 ac_ext=cpp
48823 ac_cpp='$CXXCPP $CPPFLAGS'
48824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48827
48828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48829 /* end confdefs.h. */
48830 #include <math.h>
48831 int
48832 main ()
48833 {
48834 _sincosf(0, 0, 0);
48835 ;
48836 return 0;
48837 }
48838 _ACEOF
48839 if ac_fn_cxx_try_compile "$LINENO"; then :
48840 glibcxx_cv_func__sincosf_use=yes
48841 else
48842 glibcxx_cv_func__sincosf_use=no
48843 fi
48844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48845 ac_ext=c
48846 ac_cpp='$CPP $CPPFLAGS'
48847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48850
48851
48852 fi
48853
48854 fi
48855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48856 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48857
48858 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48859 for ac_func in _sincosf
48860 do :
48861 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48862 if test "x$ac_cv_func__sincosf" = x""yes; then :
48863 cat >>confdefs.h <<_ACEOF
48864 #define HAVE__SINCOSF 1
48865 _ACEOF
48866
48867 fi
48868 done
48869
48870 fi
48871 fi
48872
48873
48874
48875
48876
48877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48878 $as_echo_n "checking for finitef declaration... " >&6; }
48879 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48880 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48881 $as_echo_n "(cached) " >&6
48882 else
48883
48884
48885 ac_ext=cpp
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890
48891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48892 /* end confdefs.h. */
48893 #include <math.h>
48894 #ifdef HAVE_IEEEFP_H
48895 #include <ieeefp.h>
48896 #endif
48897
48898 int
48899 main ()
48900 {
48901 finitef(0);
48902 ;
48903 return 0;
48904 }
48905 _ACEOF
48906 if ac_fn_cxx_try_compile "$LINENO"; then :
48907 glibcxx_cv_func_finitef_use=yes
48908 else
48909 glibcxx_cv_func_finitef_use=no
48910 fi
48911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48917
48918
48919 fi
48920
48921 fi
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48923 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48924
48925 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48926 for ac_func in finitef
48927 do :
48928 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48929 if test "x$ac_cv_func_finitef" = x""yes; then :
48930 cat >>confdefs.h <<_ACEOF
48931 #define HAVE_FINITEF 1
48932 _ACEOF
48933
48934 fi
48935 done
48936
48937 else
48938
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48940 $as_echo_n "checking for _finitef declaration... " >&6; }
48941 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48942 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48943 $as_echo_n "(cached) " >&6
48944 else
48945
48946
48947 ac_ext=cpp
48948 ac_cpp='$CXXCPP $CPPFLAGS'
48949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48952
48953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48954 /* end confdefs.h. */
48955 #include <math.h>
48956 #ifdef HAVE_IEEEFP_H
48957 #include <ieeefp.h>
48958 #endif
48959
48960 int
48961 main ()
48962 {
48963 _finitef(0);
48964 ;
48965 return 0;
48966 }
48967 _ACEOF
48968 if ac_fn_cxx_try_compile "$LINENO"; then :
48969 glibcxx_cv_func__finitef_use=yes
48970 else
48971 glibcxx_cv_func__finitef_use=no
48972 fi
48973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48974 ac_ext=c
48975 ac_cpp='$CPP $CPPFLAGS'
48976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48979
48980
48981 fi
48982
48983 fi
48984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48985 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48986
48987 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48988 for ac_func in _finitef
48989 do :
48990 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48991 if test "x$ac_cv_func__finitef" = x""yes; then :
48992 cat >>confdefs.h <<_ACEOF
48993 #define HAVE__FINITEF 1
48994 _ACEOF
48995
48996 fi
48997 done
48998
48999 fi
49000 fi
49001
49002
49003
49004
49005
49006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49007 $as_echo_n "checking for long double trig functions... " >&6; }
49008 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49009 $as_echo_n "(cached) " >&6
49010 else
49011
49012
49013 ac_ext=cpp
49014 ac_cpp='$CXXCPP $CPPFLAGS'
49015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49018
49019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49020 /* end confdefs.h. */
49021 #include <math.h>
49022 int
49023 main ()
49024 {
49025 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49026 ;
49027 return 0;
49028 }
49029 _ACEOF
49030 if ac_fn_cxx_try_compile "$LINENO"; then :
49031 glibcxx_cv_func_long_double_trig_use=yes
49032 else
49033 glibcxx_cv_func_long_double_trig_use=no
49034 fi
49035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49036 ac_ext=c
49037 ac_cpp='$CPP $CPPFLAGS'
49038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49041
49042 fi
49043
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49045 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49046 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49047 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49048 do :
49049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49051 eval as_val=\$$as_ac_var
49052 if test "x$as_val" = x""yes; then :
49053 cat >>confdefs.h <<_ACEOF
49054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49055 _ACEOF
49056
49057 fi
49058 done
49059
49060 else
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49062 $as_echo_n "checking for _long double trig functions... " >&6; }
49063 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49064 $as_echo_n "(cached) " >&6
49065 else
49066
49067
49068 ac_ext=cpp
49069 ac_cpp='$CXXCPP $CPPFLAGS'
49070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49073
49074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49075 /* end confdefs.h. */
49076 #include <math.h>
49077 int
49078 main ()
49079 {
49080 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49081 ;
49082 return 0;
49083 }
49084 _ACEOF
49085 if ac_fn_cxx_try_compile "$LINENO"; then :
49086 glibcxx_cv_func__long_double_trig_use=yes
49087 else
49088 glibcxx_cv_func__long_double_trig_use=no
49089 fi
49090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49091 ac_ext=c
49092 ac_cpp='$CPP $CPPFLAGS'
49093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49096
49097 fi
49098
49099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49100 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49101 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49102 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49103 do :
49104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49106 eval as_val=\$$as_ac_var
49107 if test "x$as_val" = x""yes; then :
49108 cat >>confdefs.h <<_ACEOF
49109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49110 _ACEOF
49111
49112 fi
49113 done
49114
49115 fi
49116 fi
49117
49118
49119
49120
49121
49122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49123 $as_echo_n "checking for long double round functions... " >&6; }
49124 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49125 $as_echo_n "(cached) " >&6
49126 else
49127
49128
49129 ac_ext=cpp
49130 ac_cpp='$CXXCPP $CPPFLAGS'
49131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49134
49135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49136 /* end confdefs.h. */
49137 #include <math.h>
49138 int
49139 main ()
49140 {
49141 ceill (0); floorl (0);
49142 ;
49143 return 0;
49144 }
49145 _ACEOF
49146 if ac_fn_cxx_try_compile "$LINENO"; then :
49147 glibcxx_cv_func_long_double_round_use=yes
49148 else
49149 glibcxx_cv_func_long_double_round_use=no
49150 fi
49151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49152 ac_ext=c
49153 ac_cpp='$CPP $CPPFLAGS'
49154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49157
49158 fi
49159
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49161 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49162 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49163 for ac_func in ceill floorl
49164 do :
49165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49167 eval as_val=\$$as_ac_var
49168 if test "x$as_val" = x""yes; then :
49169 cat >>confdefs.h <<_ACEOF
49170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49171 _ACEOF
49172
49173 fi
49174 done
49175
49176 else
49177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49178 $as_echo_n "checking for _long double round functions... " >&6; }
49179 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49180 $as_echo_n "(cached) " >&6
49181 else
49182
49183
49184 ac_ext=cpp
49185 ac_cpp='$CXXCPP $CPPFLAGS'
49186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49189
49190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49191 /* end confdefs.h. */
49192 #include <math.h>
49193 int
49194 main ()
49195 {
49196 _ceill (0); _floorl (0);
49197 ;
49198 return 0;
49199 }
49200 _ACEOF
49201 if ac_fn_cxx_try_compile "$LINENO"; then :
49202 glibcxx_cv_func__long_double_round_use=yes
49203 else
49204 glibcxx_cv_func__long_double_round_use=no
49205 fi
49206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49207 ac_ext=c
49208 ac_cpp='$CPP $CPPFLAGS'
49209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49212
49213 fi
49214
49215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49216 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49217 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49218 for ac_func in _ceill _floorl
49219 do :
49220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49222 eval as_val=\$$as_ac_var
49223 if test "x$as_val" = x""yes; then :
49224 cat >>confdefs.h <<_ACEOF
49225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49226 _ACEOF
49227
49228 fi
49229 done
49230
49231 fi
49232 fi
49233
49234
49235
49236
49237
49238
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49240 $as_echo_n "checking for isnanl declaration... " >&6; }
49241 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49242 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49243 $as_echo_n "(cached) " >&6
49244 else
49245
49246
49247 ac_ext=cpp
49248 ac_cpp='$CXXCPP $CPPFLAGS'
49249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49252
49253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49254 /* end confdefs.h. */
49255 #include <math.h>
49256 #ifdef HAVE_IEEEFP_H
49257 #include <ieeefp.h>
49258 #endif
49259
49260 int
49261 main ()
49262 {
49263 isnanl(0);
49264 ;
49265 return 0;
49266 }
49267 _ACEOF
49268 if ac_fn_cxx_try_compile "$LINENO"; then :
49269 glibcxx_cv_func_isnanl_use=yes
49270 else
49271 glibcxx_cv_func_isnanl_use=no
49272 fi
49273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49274 ac_ext=c
49275 ac_cpp='$CPP $CPPFLAGS'
49276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49279
49280
49281 fi
49282
49283 fi
49284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49285 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49286
49287 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49288 for ac_func in isnanl
49289 do :
49290 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49291 if test "x$ac_cv_func_isnanl" = x""yes; then :
49292 cat >>confdefs.h <<_ACEOF
49293 #define HAVE_ISNANL 1
49294 _ACEOF
49295
49296 fi
49297 done
49298
49299 else
49300
49301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49302 $as_echo_n "checking for _isnanl declaration... " >&6; }
49303 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49304 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49305 $as_echo_n "(cached) " >&6
49306 else
49307
49308
49309 ac_ext=cpp
49310 ac_cpp='$CXXCPP $CPPFLAGS'
49311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49314
49315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49316 /* end confdefs.h. */
49317 #include <math.h>
49318 #ifdef HAVE_IEEEFP_H
49319 #include <ieeefp.h>
49320 #endif
49321
49322 int
49323 main ()
49324 {
49325 _isnanl(0);
49326 ;
49327 return 0;
49328 }
49329 _ACEOF
49330 if ac_fn_cxx_try_compile "$LINENO"; then :
49331 glibcxx_cv_func__isnanl_use=yes
49332 else
49333 glibcxx_cv_func__isnanl_use=no
49334 fi
49335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49336 ac_ext=c
49337 ac_cpp='$CPP $CPPFLAGS'
49338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49341
49342
49343 fi
49344
49345 fi
49346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49347 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49348
49349 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49350 for ac_func in _isnanl
49351 do :
49352 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49353 if test "x$ac_cv_func__isnanl" = x""yes; then :
49354 cat >>confdefs.h <<_ACEOF
49355 #define HAVE__ISNANL 1
49356 _ACEOF
49357
49358 fi
49359 done
49360
49361 fi
49362 fi
49363
49364
49365
49366
49367
49368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49369 $as_echo_n "checking for isinfl declaration... " >&6; }
49370 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49371 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49372 $as_echo_n "(cached) " >&6
49373 else
49374
49375
49376 ac_ext=cpp
49377 ac_cpp='$CXXCPP $CPPFLAGS'
49378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49381
49382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49383 /* end confdefs.h. */
49384 #include <math.h>
49385 #ifdef HAVE_IEEEFP_H
49386 #include <ieeefp.h>
49387 #endif
49388
49389 int
49390 main ()
49391 {
49392 isinfl(0);
49393 ;
49394 return 0;
49395 }
49396 _ACEOF
49397 if ac_fn_cxx_try_compile "$LINENO"; then :
49398 glibcxx_cv_func_isinfl_use=yes
49399 else
49400 glibcxx_cv_func_isinfl_use=no
49401 fi
49402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49403 ac_ext=c
49404 ac_cpp='$CPP $CPPFLAGS'
49405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49408
49409
49410 fi
49411
49412 fi
49413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49414 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49415
49416 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49417 for ac_func in isinfl
49418 do :
49419 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49420 if test "x$ac_cv_func_isinfl" = x""yes; then :
49421 cat >>confdefs.h <<_ACEOF
49422 #define HAVE_ISINFL 1
49423 _ACEOF
49424
49425 fi
49426 done
49427
49428 else
49429
49430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49431 $as_echo_n "checking for _isinfl declaration... " >&6; }
49432 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49433 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49434 $as_echo_n "(cached) " >&6
49435 else
49436
49437
49438 ac_ext=cpp
49439 ac_cpp='$CXXCPP $CPPFLAGS'
49440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49443
49444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49445 /* end confdefs.h. */
49446 #include <math.h>
49447 #ifdef HAVE_IEEEFP_H
49448 #include <ieeefp.h>
49449 #endif
49450
49451 int
49452 main ()
49453 {
49454 _isinfl(0);
49455 ;
49456 return 0;
49457 }
49458 _ACEOF
49459 if ac_fn_cxx_try_compile "$LINENO"; then :
49460 glibcxx_cv_func__isinfl_use=yes
49461 else
49462 glibcxx_cv_func__isinfl_use=no
49463 fi
49464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49465 ac_ext=c
49466 ac_cpp='$CPP $CPPFLAGS'
49467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49470
49471
49472 fi
49473
49474 fi
49475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49476 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49477
49478 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49479 for ac_func in _isinfl
49480 do :
49481 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49482 if test "x$ac_cv_func__isinfl" = x""yes; then :
49483 cat >>confdefs.h <<_ACEOF
49484 #define HAVE__ISINFL 1
49485 _ACEOF
49486
49487 fi
49488 done
49489
49490 fi
49491 fi
49492
49493
49494
49495
49496
49497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49498 $as_echo_n "checking for atan2l declaration... " >&6; }
49499 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49500 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49501 $as_echo_n "(cached) " >&6
49502 else
49503
49504
49505 ac_ext=cpp
49506 ac_cpp='$CXXCPP $CPPFLAGS'
49507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510
49511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49512 /* end confdefs.h. */
49513 #include <math.h>
49514 int
49515 main ()
49516 {
49517 atan2l(0, 0);
49518 ;
49519 return 0;
49520 }
49521 _ACEOF
49522 if ac_fn_cxx_try_compile "$LINENO"; then :
49523 glibcxx_cv_func_atan2l_use=yes
49524 else
49525 glibcxx_cv_func_atan2l_use=no
49526 fi
49527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49528 ac_ext=c
49529 ac_cpp='$CPP $CPPFLAGS'
49530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49533
49534
49535 fi
49536
49537 fi
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49539 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49540
49541 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49542 for ac_func in atan2l
49543 do :
49544 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49545 if test "x$ac_cv_func_atan2l" = x""yes; then :
49546 cat >>confdefs.h <<_ACEOF
49547 #define HAVE_ATAN2L 1
49548 _ACEOF
49549
49550 fi
49551 done
49552
49553 else
49554
49555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49556 $as_echo_n "checking for _atan2l declaration... " >&6; }
49557 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49558 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49559 $as_echo_n "(cached) " >&6
49560 else
49561
49562
49563 ac_ext=cpp
49564 ac_cpp='$CXXCPP $CPPFLAGS'
49565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49568
49569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49570 /* end confdefs.h. */
49571 #include <math.h>
49572 int
49573 main ()
49574 {
49575 _atan2l(0, 0);
49576 ;
49577 return 0;
49578 }
49579 _ACEOF
49580 if ac_fn_cxx_try_compile "$LINENO"; then :
49581 glibcxx_cv_func__atan2l_use=yes
49582 else
49583 glibcxx_cv_func__atan2l_use=no
49584 fi
49585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49586 ac_ext=c
49587 ac_cpp='$CPP $CPPFLAGS'
49588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49591
49592
49593 fi
49594
49595 fi
49596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49597 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49598
49599 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49600 for ac_func in _atan2l
49601 do :
49602 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49603 if test "x$ac_cv_func__atan2l" = x""yes; then :
49604 cat >>confdefs.h <<_ACEOF
49605 #define HAVE__ATAN2L 1
49606 _ACEOF
49607
49608 fi
49609 done
49610
49611 fi
49612 fi
49613
49614
49615
49616
49617
49618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49619 $as_echo_n "checking for expl declaration... " >&6; }
49620 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49621 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49622 $as_echo_n "(cached) " >&6
49623 else
49624
49625
49626 ac_ext=cpp
49627 ac_cpp='$CXXCPP $CPPFLAGS'
49628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49631
49632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49633 /* end confdefs.h. */
49634 #include <math.h>
49635 #ifdef HAVE_IEEEFP_H
49636 #include <ieeefp.h>
49637 #endif
49638
49639 int
49640 main ()
49641 {
49642 expl(0);
49643 ;
49644 return 0;
49645 }
49646 _ACEOF
49647 if ac_fn_cxx_try_compile "$LINENO"; then :
49648 glibcxx_cv_func_expl_use=yes
49649 else
49650 glibcxx_cv_func_expl_use=no
49651 fi
49652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49653 ac_ext=c
49654 ac_cpp='$CPP $CPPFLAGS'
49655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49658
49659
49660 fi
49661
49662 fi
49663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49664 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49665
49666 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49667 for ac_func in expl
49668 do :
49669 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49670 if test "x$ac_cv_func_expl" = x""yes; then :
49671 cat >>confdefs.h <<_ACEOF
49672 #define HAVE_EXPL 1
49673 _ACEOF
49674
49675 fi
49676 done
49677
49678 else
49679
49680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49681 $as_echo_n "checking for _expl declaration... " >&6; }
49682 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49683 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49684 $as_echo_n "(cached) " >&6
49685 else
49686
49687
49688 ac_ext=cpp
49689 ac_cpp='$CXXCPP $CPPFLAGS'
49690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49693
49694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49695 /* end confdefs.h. */
49696 #include <math.h>
49697 #ifdef HAVE_IEEEFP_H
49698 #include <ieeefp.h>
49699 #endif
49700
49701 int
49702 main ()
49703 {
49704 _expl(0);
49705 ;
49706 return 0;
49707 }
49708 _ACEOF
49709 if ac_fn_cxx_try_compile "$LINENO"; then :
49710 glibcxx_cv_func__expl_use=yes
49711 else
49712 glibcxx_cv_func__expl_use=no
49713 fi
49714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49715 ac_ext=c
49716 ac_cpp='$CPP $CPPFLAGS'
49717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49720
49721
49722 fi
49723
49724 fi
49725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49726 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49727
49728 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49729 for ac_func in _expl
49730 do :
49731 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49732 if test "x$ac_cv_func__expl" = x""yes; then :
49733 cat >>confdefs.h <<_ACEOF
49734 #define HAVE__EXPL 1
49735 _ACEOF
49736
49737 fi
49738 done
49739
49740 fi
49741 fi
49742
49743
49744
49745
49746
49747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49748 $as_echo_n "checking for fabsl declaration... " >&6; }
49749 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49750 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49751 $as_echo_n "(cached) " >&6
49752 else
49753
49754
49755 ac_ext=cpp
49756 ac_cpp='$CXXCPP $CPPFLAGS'
49757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49760
49761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49762 /* end confdefs.h. */
49763 #include <math.h>
49764 #ifdef HAVE_IEEEFP_H
49765 #include <ieeefp.h>
49766 #endif
49767
49768 int
49769 main ()
49770 {
49771 fabsl(0);
49772 ;
49773 return 0;
49774 }
49775 _ACEOF
49776 if ac_fn_cxx_try_compile "$LINENO"; then :
49777 glibcxx_cv_func_fabsl_use=yes
49778 else
49779 glibcxx_cv_func_fabsl_use=no
49780 fi
49781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49782 ac_ext=c
49783 ac_cpp='$CPP $CPPFLAGS'
49784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49787
49788
49789 fi
49790
49791 fi
49792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49793 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49794
49795 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49796 for ac_func in fabsl
49797 do :
49798 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49799 if test "x$ac_cv_func_fabsl" = x""yes; then :
49800 cat >>confdefs.h <<_ACEOF
49801 #define HAVE_FABSL 1
49802 _ACEOF
49803
49804 fi
49805 done
49806
49807 else
49808
49809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49810 $as_echo_n "checking for _fabsl declaration... " >&6; }
49811 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49812 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49813 $as_echo_n "(cached) " >&6
49814 else
49815
49816
49817 ac_ext=cpp
49818 ac_cpp='$CXXCPP $CPPFLAGS'
49819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49822
49823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49824 /* end confdefs.h. */
49825 #include <math.h>
49826 #ifdef HAVE_IEEEFP_H
49827 #include <ieeefp.h>
49828 #endif
49829
49830 int
49831 main ()
49832 {
49833 _fabsl(0);
49834 ;
49835 return 0;
49836 }
49837 _ACEOF
49838 if ac_fn_cxx_try_compile "$LINENO"; then :
49839 glibcxx_cv_func__fabsl_use=yes
49840 else
49841 glibcxx_cv_func__fabsl_use=no
49842 fi
49843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49844 ac_ext=c
49845 ac_cpp='$CPP $CPPFLAGS'
49846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49849
49850
49851 fi
49852
49853 fi
49854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49855 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49856
49857 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49858 for ac_func in _fabsl
49859 do :
49860 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49861 if test "x$ac_cv_func__fabsl" = x""yes; then :
49862 cat >>confdefs.h <<_ACEOF
49863 #define HAVE__FABSL 1
49864 _ACEOF
49865
49866 fi
49867 done
49868
49869 fi
49870 fi
49871
49872
49873
49874
49875
49876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49877 $as_echo_n "checking for fmodl declaration... " >&6; }
49878 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49879 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49880 $as_echo_n "(cached) " >&6
49881 else
49882
49883
49884 ac_ext=cpp
49885 ac_cpp='$CXXCPP $CPPFLAGS'
49886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49889
49890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49891 /* end confdefs.h. */
49892 #include <math.h>
49893 int
49894 main ()
49895 {
49896 fmodl(0, 0);
49897 ;
49898 return 0;
49899 }
49900 _ACEOF
49901 if ac_fn_cxx_try_compile "$LINENO"; then :
49902 glibcxx_cv_func_fmodl_use=yes
49903 else
49904 glibcxx_cv_func_fmodl_use=no
49905 fi
49906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49907 ac_ext=c
49908 ac_cpp='$CPP $CPPFLAGS'
49909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49912
49913
49914 fi
49915
49916 fi
49917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49918 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49919
49920 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49921 for ac_func in fmodl
49922 do :
49923 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49924 if test "x$ac_cv_func_fmodl" = x""yes; then :
49925 cat >>confdefs.h <<_ACEOF
49926 #define HAVE_FMODL 1
49927 _ACEOF
49928
49929 fi
49930 done
49931
49932 else
49933
49934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49935 $as_echo_n "checking for _fmodl declaration... " >&6; }
49936 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49937 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49938 $as_echo_n "(cached) " >&6
49939 else
49940
49941
49942 ac_ext=cpp
49943 ac_cpp='$CXXCPP $CPPFLAGS'
49944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49947
49948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49949 /* end confdefs.h. */
49950 #include <math.h>
49951 int
49952 main ()
49953 {
49954 _fmodl(0, 0);
49955 ;
49956 return 0;
49957 }
49958 _ACEOF
49959 if ac_fn_cxx_try_compile "$LINENO"; then :
49960 glibcxx_cv_func__fmodl_use=yes
49961 else
49962 glibcxx_cv_func__fmodl_use=no
49963 fi
49964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49965 ac_ext=c
49966 ac_cpp='$CPP $CPPFLAGS'
49967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49970
49971
49972 fi
49973
49974 fi
49975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49976 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49977
49978 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49979 for ac_func in _fmodl
49980 do :
49981 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49982 if test "x$ac_cv_func__fmodl" = x""yes; then :
49983 cat >>confdefs.h <<_ACEOF
49984 #define HAVE__FMODL 1
49985 _ACEOF
49986
49987 fi
49988 done
49989
49990 fi
49991 fi
49992
49993
49994
49995
49996
49997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49998 $as_echo_n "checking for frexpl declaration... " >&6; }
49999 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50000 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50001 $as_echo_n "(cached) " >&6
50002 else
50003
50004
50005 ac_ext=cpp
50006 ac_cpp='$CXXCPP $CPPFLAGS'
50007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50010
50011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h. */
50013 #include <math.h>
50014 int
50015 main ()
50016 {
50017 frexpl(0, 0);
50018 ;
50019 return 0;
50020 }
50021 _ACEOF
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func_frexpl_use=yes
50024 else
50025 glibcxx_cv_func_frexpl_use=no
50026 fi
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50028 ac_ext=c
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50033
50034
50035 fi
50036
50037 fi
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50039 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50040
50041 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50042 for ac_func in frexpl
50043 do :
50044 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50045 if test "x$ac_cv_func_frexpl" = x""yes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE_FREXPL 1
50048 _ACEOF
50049
50050 fi
50051 done
50052
50053 else
50054
50055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50056 $as_echo_n "checking for _frexpl declaration... " >&6; }
50057 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50058 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50059 $as_echo_n "(cached) " >&6
50060 else
50061
50062
50063 ac_ext=cpp
50064 ac_cpp='$CXXCPP $CPPFLAGS'
50065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50068
50069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50070 /* end confdefs.h. */
50071 #include <math.h>
50072 int
50073 main ()
50074 {
50075 _frexpl(0, 0);
50076 ;
50077 return 0;
50078 }
50079 _ACEOF
50080 if ac_fn_cxx_try_compile "$LINENO"; then :
50081 glibcxx_cv_func__frexpl_use=yes
50082 else
50083 glibcxx_cv_func__frexpl_use=no
50084 fi
50085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50086 ac_ext=c
50087 ac_cpp='$CPP $CPPFLAGS'
50088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50091
50092
50093 fi
50094
50095 fi
50096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50097 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50098
50099 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50100 for ac_func in _frexpl
50101 do :
50102 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50103 if test "x$ac_cv_func__frexpl" = x""yes; then :
50104 cat >>confdefs.h <<_ACEOF
50105 #define HAVE__FREXPL 1
50106 _ACEOF
50107
50108 fi
50109 done
50110
50111 fi
50112 fi
50113
50114
50115
50116
50117
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50119 $as_echo_n "checking for hypotl declaration... " >&6; }
50120 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50121 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50122 $as_echo_n "(cached) " >&6
50123 else
50124
50125
50126 ac_ext=cpp
50127 ac_cpp='$CXXCPP $CPPFLAGS'
50128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50131
50132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50133 /* end confdefs.h. */
50134 #include <math.h>
50135 int
50136 main ()
50137 {
50138 hypotl(0, 0);
50139 ;
50140 return 0;
50141 }
50142 _ACEOF
50143 if ac_fn_cxx_try_compile "$LINENO"; then :
50144 glibcxx_cv_func_hypotl_use=yes
50145 else
50146 glibcxx_cv_func_hypotl_use=no
50147 fi
50148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50149 ac_ext=c
50150 ac_cpp='$CPP $CPPFLAGS'
50151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50154
50155
50156 fi
50157
50158 fi
50159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50160 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50161
50162 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50163 for ac_func in hypotl
50164 do :
50165 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50166 if test "x$ac_cv_func_hypotl" = x""yes; then :
50167 cat >>confdefs.h <<_ACEOF
50168 #define HAVE_HYPOTL 1
50169 _ACEOF
50170
50171 fi
50172 done
50173
50174 else
50175
50176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50177 $as_echo_n "checking for _hypotl declaration... " >&6; }
50178 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50179 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50180 $as_echo_n "(cached) " >&6
50181 else
50182
50183
50184 ac_ext=cpp
50185 ac_cpp='$CXXCPP $CPPFLAGS'
50186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50189
50190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50191 /* end confdefs.h. */
50192 #include <math.h>
50193 int
50194 main ()
50195 {
50196 _hypotl(0, 0);
50197 ;
50198 return 0;
50199 }
50200 _ACEOF
50201 if ac_fn_cxx_try_compile "$LINENO"; then :
50202 glibcxx_cv_func__hypotl_use=yes
50203 else
50204 glibcxx_cv_func__hypotl_use=no
50205 fi
50206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50207 ac_ext=c
50208 ac_cpp='$CPP $CPPFLAGS'
50209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50212
50213
50214 fi
50215
50216 fi
50217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50218 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50219
50220 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50221 for ac_func in _hypotl
50222 do :
50223 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50224 if test "x$ac_cv_func__hypotl" = x""yes; then :
50225 cat >>confdefs.h <<_ACEOF
50226 #define HAVE__HYPOTL 1
50227 _ACEOF
50228
50229 fi
50230 done
50231
50232 fi
50233 fi
50234
50235
50236
50237
50238
50239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50240 $as_echo_n "checking for ldexpl declaration... " >&6; }
50241 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50242 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50243 $as_echo_n "(cached) " >&6
50244 else
50245
50246
50247 ac_ext=cpp
50248 ac_cpp='$CXXCPP $CPPFLAGS'
50249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50252
50253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50254 /* end confdefs.h. */
50255 #include <math.h>
50256 int
50257 main ()
50258 {
50259 ldexpl(0, 0);
50260 ;
50261 return 0;
50262 }
50263 _ACEOF
50264 if ac_fn_cxx_try_compile "$LINENO"; then :
50265 glibcxx_cv_func_ldexpl_use=yes
50266 else
50267 glibcxx_cv_func_ldexpl_use=no
50268 fi
50269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50270 ac_ext=c
50271 ac_cpp='$CPP $CPPFLAGS'
50272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50275
50276
50277 fi
50278
50279 fi
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50281 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50282
50283 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50284 for ac_func in ldexpl
50285 do :
50286 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50287 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50288 cat >>confdefs.h <<_ACEOF
50289 #define HAVE_LDEXPL 1
50290 _ACEOF
50291
50292 fi
50293 done
50294
50295 else
50296
50297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50298 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50299 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50300 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50301 $as_echo_n "(cached) " >&6
50302 else
50303
50304
50305 ac_ext=cpp
50306 ac_cpp='$CXXCPP $CPPFLAGS'
50307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50310
50311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50312 /* end confdefs.h. */
50313 #include <math.h>
50314 int
50315 main ()
50316 {
50317 _ldexpl(0, 0);
50318 ;
50319 return 0;
50320 }
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323 glibcxx_cv_func__ldexpl_use=yes
50324 else
50325 glibcxx_cv_func__ldexpl_use=no
50326 fi
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328 ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50333
50334
50335 fi
50336
50337 fi
50338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50339 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50340
50341 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50342 for ac_func in _ldexpl
50343 do :
50344 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50345 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50346 cat >>confdefs.h <<_ACEOF
50347 #define HAVE__LDEXPL 1
50348 _ACEOF
50349
50350 fi
50351 done
50352
50353 fi
50354 fi
50355
50356
50357
50358
50359
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50361 $as_echo_n "checking for logl declaration... " >&6; }
50362 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50363 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50364 $as_echo_n "(cached) " >&6
50365 else
50366
50367
50368 ac_ext=cpp
50369 ac_cpp='$CXXCPP $CPPFLAGS'
50370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50373
50374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h. */
50376 #include <math.h>
50377 #ifdef HAVE_IEEEFP_H
50378 #include <ieeefp.h>
50379 #endif
50380
50381 int
50382 main ()
50383 {
50384 logl(0);
50385 ;
50386 return 0;
50387 }
50388 _ACEOF
50389 if ac_fn_cxx_try_compile "$LINENO"; then :
50390 glibcxx_cv_func_logl_use=yes
50391 else
50392 glibcxx_cv_func_logl_use=no
50393 fi
50394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50395 ac_ext=c
50396 ac_cpp='$CPP $CPPFLAGS'
50397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50400
50401
50402 fi
50403
50404 fi
50405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50406 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50407
50408 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50409 for ac_func in logl
50410 do :
50411 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50412 if test "x$ac_cv_func_logl" = x""yes; then :
50413 cat >>confdefs.h <<_ACEOF
50414 #define HAVE_LOGL 1
50415 _ACEOF
50416
50417 fi
50418 done
50419
50420 else
50421
50422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50423 $as_echo_n "checking for _logl declaration... " >&6; }
50424 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50425 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50426 $as_echo_n "(cached) " >&6
50427 else
50428
50429
50430 ac_ext=cpp
50431 ac_cpp='$CXXCPP $CPPFLAGS'
50432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50435
50436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50437 /* end confdefs.h. */
50438 #include <math.h>
50439 #ifdef HAVE_IEEEFP_H
50440 #include <ieeefp.h>
50441 #endif
50442
50443 int
50444 main ()
50445 {
50446 _logl(0);
50447 ;
50448 return 0;
50449 }
50450 _ACEOF
50451 if ac_fn_cxx_try_compile "$LINENO"; then :
50452 glibcxx_cv_func__logl_use=yes
50453 else
50454 glibcxx_cv_func__logl_use=no
50455 fi
50456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50457 ac_ext=c
50458 ac_cpp='$CPP $CPPFLAGS'
50459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50462
50463
50464 fi
50465
50466 fi
50467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50468 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50469
50470 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50471 for ac_func in _logl
50472 do :
50473 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50474 if test "x$ac_cv_func__logl" = x""yes; then :
50475 cat >>confdefs.h <<_ACEOF
50476 #define HAVE__LOGL 1
50477 _ACEOF
50478
50479 fi
50480 done
50481
50482 fi
50483 fi
50484
50485
50486
50487
50488
50489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50490 $as_echo_n "checking for log10l declaration... " >&6; }
50491 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50492 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50493 $as_echo_n "(cached) " >&6
50494 else
50495
50496
50497 ac_ext=cpp
50498 ac_cpp='$CXXCPP $CPPFLAGS'
50499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50502
50503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50504 /* end confdefs.h. */
50505 #include <math.h>
50506 #ifdef HAVE_IEEEFP_H
50507 #include <ieeefp.h>
50508 #endif
50509
50510 int
50511 main ()
50512 {
50513 log10l(0);
50514 ;
50515 return 0;
50516 }
50517 _ACEOF
50518 if ac_fn_cxx_try_compile "$LINENO"; then :
50519 glibcxx_cv_func_log10l_use=yes
50520 else
50521 glibcxx_cv_func_log10l_use=no
50522 fi
50523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50524 ac_ext=c
50525 ac_cpp='$CPP $CPPFLAGS'
50526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50529
50530
50531 fi
50532
50533 fi
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50535 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50536
50537 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50538 for ac_func in log10l
50539 do :
50540 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50541 if test "x$ac_cv_func_log10l" = x""yes; then :
50542 cat >>confdefs.h <<_ACEOF
50543 #define HAVE_LOG10L 1
50544 _ACEOF
50545
50546 fi
50547 done
50548
50549 else
50550
50551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50552 $as_echo_n "checking for _log10l declaration... " >&6; }
50553 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50554 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50555 $as_echo_n "(cached) " >&6
50556 else
50557
50558
50559 ac_ext=cpp
50560 ac_cpp='$CXXCPP $CPPFLAGS'
50561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50564
50565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50566 /* end confdefs.h. */
50567 #include <math.h>
50568 #ifdef HAVE_IEEEFP_H
50569 #include <ieeefp.h>
50570 #endif
50571
50572 int
50573 main ()
50574 {
50575 _log10l(0);
50576 ;
50577 return 0;
50578 }
50579 _ACEOF
50580 if ac_fn_cxx_try_compile "$LINENO"; then :
50581 glibcxx_cv_func__log10l_use=yes
50582 else
50583 glibcxx_cv_func__log10l_use=no
50584 fi
50585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50586 ac_ext=c
50587 ac_cpp='$CPP $CPPFLAGS'
50588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50591
50592
50593 fi
50594
50595 fi
50596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50597 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50598
50599 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50600 for ac_func in _log10l
50601 do :
50602 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50603 if test "x$ac_cv_func__log10l" = x""yes; then :
50604 cat >>confdefs.h <<_ACEOF
50605 #define HAVE__LOG10L 1
50606 _ACEOF
50607
50608 fi
50609 done
50610
50611 fi
50612 fi
50613
50614
50615
50616
50617
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50619 $as_echo_n "checking for modfl declaration... " >&6; }
50620 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50621 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50622 $as_echo_n "(cached) " >&6
50623 else
50624
50625
50626 ac_ext=cpp
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50631
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <math.h>
50635 int
50636 main ()
50637 {
50638 modfl(0, 0);
50639 ;
50640 return 0;
50641 }
50642 _ACEOF
50643 if ac_fn_cxx_try_compile "$LINENO"; then :
50644 glibcxx_cv_func_modfl_use=yes
50645 else
50646 glibcxx_cv_func_modfl_use=no
50647 fi
50648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50649 ac_ext=c
50650 ac_cpp='$CPP $CPPFLAGS'
50651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50654
50655
50656 fi
50657
50658 fi
50659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50660 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50661
50662 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50663 for ac_func in modfl
50664 do :
50665 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50666 if test "x$ac_cv_func_modfl" = x""yes; then :
50667 cat >>confdefs.h <<_ACEOF
50668 #define HAVE_MODFL 1
50669 _ACEOF
50670
50671 fi
50672 done
50673
50674 else
50675
50676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50677 $as_echo_n "checking for _modfl declaration... " >&6; }
50678 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50679 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50680 $as_echo_n "(cached) " >&6
50681 else
50682
50683
50684 ac_ext=cpp
50685 ac_cpp='$CXXCPP $CPPFLAGS'
50686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50689
50690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50691 /* end confdefs.h. */
50692 #include <math.h>
50693 int
50694 main ()
50695 {
50696 _modfl(0, 0);
50697 ;
50698 return 0;
50699 }
50700 _ACEOF
50701 if ac_fn_cxx_try_compile "$LINENO"; then :
50702 glibcxx_cv_func__modfl_use=yes
50703 else
50704 glibcxx_cv_func__modfl_use=no
50705 fi
50706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50707 ac_ext=c
50708 ac_cpp='$CPP $CPPFLAGS'
50709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50712
50713
50714 fi
50715
50716 fi
50717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50718 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50719
50720 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50721 for ac_func in _modfl
50722 do :
50723 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50724 if test "x$ac_cv_func__modfl" = x""yes; then :
50725 cat >>confdefs.h <<_ACEOF
50726 #define HAVE__MODFL 1
50727 _ACEOF
50728
50729 fi
50730 done
50731
50732 fi
50733 fi
50734
50735
50736
50737
50738
50739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50740 $as_echo_n "checking for powl declaration... " >&6; }
50741 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50742 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50743 $as_echo_n "(cached) " >&6
50744 else
50745
50746
50747 ac_ext=cpp
50748 ac_cpp='$CXXCPP $CPPFLAGS'
50749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50752
50753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50754 /* end confdefs.h. */
50755 #include <math.h>
50756 int
50757 main ()
50758 {
50759 powl(0, 0);
50760 ;
50761 return 0;
50762 }
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func_powl_use=yes
50766 else
50767 glibcxx_cv_func_powl_use=no
50768 fi
50769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50775
50776
50777 fi
50778
50779 fi
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50781 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50782
50783 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50784 for ac_func in powl
50785 do :
50786 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50787 if test "x$ac_cv_func_powl" = x""yes; then :
50788 cat >>confdefs.h <<_ACEOF
50789 #define HAVE_POWL 1
50790 _ACEOF
50791
50792 fi
50793 done
50794
50795 else
50796
50797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50798 $as_echo_n "checking for _powl declaration... " >&6; }
50799 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50800 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50801 $as_echo_n "(cached) " >&6
50802 else
50803
50804
50805 ac_ext=cpp
50806 ac_cpp='$CXXCPP $CPPFLAGS'
50807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50810
50811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50812 /* end confdefs.h. */
50813 #include <math.h>
50814 int
50815 main ()
50816 {
50817 _powl(0, 0);
50818 ;
50819 return 0;
50820 }
50821 _ACEOF
50822 if ac_fn_cxx_try_compile "$LINENO"; then :
50823 glibcxx_cv_func__powl_use=yes
50824 else
50825 glibcxx_cv_func__powl_use=no
50826 fi
50827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50828 ac_ext=c
50829 ac_cpp='$CPP $CPPFLAGS'
50830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50833
50834
50835 fi
50836
50837 fi
50838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50839 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50840
50841 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50842 for ac_func in _powl
50843 do :
50844 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50845 if test "x$ac_cv_func__powl" = x""yes; then :
50846 cat >>confdefs.h <<_ACEOF
50847 #define HAVE__POWL 1
50848 _ACEOF
50849
50850 fi
50851 done
50852
50853 fi
50854 fi
50855
50856
50857
50858
50859
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50861 $as_echo_n "checking for sqrtl declaration... " >&6; }
50862 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50863 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50864 $as_echo_n "(cached) " >&6
50865 else
50866
50867
50868 ac_ext=cpp
50869 ac_cpp='$CXXCPP $CPPFLAGS'
50870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50873
50874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50875 /* end confdefs.h. */
50876 #include <math.h>
50877 #ifdef HAVE_IEEEFP_H
50878 #include <ieeefp.h>
50879 #endif
50880
50881 int
50882 main ()
50883 {
50884 sqrtl(0);
50885 ;
50886 return 0;
50887 }
50888 _ACEOF
50889 if ac_fn_cxx_try_compile "$LINENO"; then :
50890 glibcxx_cv_func_sqrtl_use=yes
50891 else
50892 glibcxx_cv_func_sqrtl_use=no
50893 fi
50894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50895 ac_ext=c
50896 ac_cpp='$CPP $CPPFLAGS'
50897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50900
50901
50902 fi
50903
50904 fi
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50906 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50907
50908 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50909 for ac_func in sqrtl
50910 do :
50911 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50912 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50913 cat >>confdefs.h <<_ACEOF
50914 #define HAVE_SQRTL 1
50915 _ACEOF
50916
50917 fi
50918 done
50919
50920 else
50921
50922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50923 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50924 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50925 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50926 $as_echo_n "(cached) " >&6
50927 else
50928
50929
50930 ac_ext=cpp
50931 ac_cpp='$CXXCPP $CPPFLAGS'
50932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50935
50936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50937 /* end confdefs.h. */
50938 #include <math.h>
50939 #ifdef HAVE_IEEEFP_H
50940 #include <ieeefp.h>
50941 #endif
50942
50943 int
50944 main ()
50945 {
50946 _sqrtl(0);
50947 ;
50948 return 0;
50949 }
50950 _ACEOF
50951 if ac_fn_cxx_try_compile "$LINENO"; then :
50952 glibcxx_cv_func__sqrtl_use=yes
50953 else
50954 glibcxx_cv_func__sqrtl_use=no
50955 fi
50956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50957 ac_ext=c
50958 ac_cpp='$CPP $CPPFLAGS'
50959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50962
50963
50964 fi
50965
50966 fi
50967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50968 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50969
50970 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50971 for ac_func in _sqrtl
50972 do :
50973 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50974 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50975 cat >>confdefs.h <<_ACEOF
50976 #define HAVE__SQRTL 1
50977 _ACEOF
50978
50979 fi
50980 done
50981
50982 fi
50983 fi
50984
50985
50986
50987
50988
50989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50990 $as_echo_n "checking for sincosl declaration... " >&6; }
50991 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50992 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50993 $as_echo_n "(cached) " >&6
50994 else
50995
50996
50997 ac_ext=cpp
50998 ac_cpp='$CXXCPP $CPPFLAGS'
50999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51002
51003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51004 /* end confdefs.h. */
51005 #include <math.h>
51006 int
51007 main ()
51008 {
51009 sincosl(0, 0, 0);
51010 ;
51011 return 0;
51012 }
51013 _ACEOF
51014 if ac_fn_cxx_try_compile "$LINENO"; then :
51015 glibcxx_cv_func_sincosl_use=yes
51016 else
51017 glibcxx_cv_func_sincosl_use=no
51018 fi
51019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51020 ac_ext=c
51021 ac_cpp='$CPP $CPPFLAGS'
51022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51025
51026
51027 fi
51028
51029 fi
51030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51031 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51032
51033 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51034 for ac_func in sincosl
51035 do :
51036 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51037 if test "x$ac_cv_func_sincosl" = x""yes; then :
51038 cat >>confdefs.h <<_ACEOF
51039 #define HAVE_SINCOSL 1
51040 _ACEOF
51041
51042 fi
51043 done
51044
51045 else
51046
51047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51048 $as_echo_n "checking for _sincosl declaration... " >&6; }
51049 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51050 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51051 $as_echo_n "(cached) " >&6
51052 else
51053
51054
51055 ac_ext=cpp
51056 ac_cpp='$CXXCPP $CPPFLAGS'
51057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51060
51061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51062 /* end confdefs.h. */
51063 #include <math.h>
51064 int
51065 main ()
51066 {
51067 _sincosl(0, 0, 0);
51068 ;
51069 return 0;
51070 }
51071 _ACEOF
51072 if ac_fn_cxx_try_compile "$LINENO"; then :
51073 glibcxx_cv_func__sincosl_use=yes
51074 else
51075 glibcxx_cv_func__sincosl_use=no
51076 fi
51077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51078 ac_ext=c
51079 ac_cpp='$CPP $CPPFLAGS'
51080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51083
51084
51085 fi
51086
51087 fi
51088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51089 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51090
51091 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51092 for ac_func in _sincosl
51093 do :
51094 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51095 if test "x$ac_cv_func__sincosl" = x""yes; then :
51096 cat >>confdefs.h <<_ACEOF
51097 #define HAVE__SINCOSL 1
51098 _ACEOF
51099
51100 fi
51101 done
51102
51103 fi
51104 fi
51105
51106
51107
51108
51109
51110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51111 $as_echo_n "checking for finitel declaration... " >&6; }
51112 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51113 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51114 $as_echo_n "(cached) " >&6
51115 else
51116
51117
51118 ac_ext=cpp
51119 ac_cpp='$CXXCPP $CPPFLAGS'
51120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51123
51124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51125 /* end confdefs.h. */
51126 #include <math.h>
51127 #ifdef HAVE_IEEEFP_H
51128 #include <ieeefp.h>
51129 #endif
51130
51131 int
51132 main ()
51133 {
51134 finitel(0);
51135 ;
51136 return 0;
51137 }
51138 _ACEOF
51139 if ac_fn_cxx_try_compile "$LINENO"; then :
51140 glibcxx_cv_func_finitel_use=yes
51141 else
51142 glibcxx_cv_func_finitel_use=no
51143 fi
51144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51145 ac_ext=c
51146 ac_cpp='$CPP $CPPFLAGS'
51147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51150
51151
51152 fi
51153
51154 fi
51155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51156 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51157
51158 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51159 for ac_func in finitel
51160 do :
51161 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51162 if test "x$ac_cv_func_finitel" = x""yes; then :
51163 cat >>confdefs.h <<_ACEOF
51164 #define HAVE_FINITEL 1
51165 _ACEOF
51166
51167 fi
51168 done
51169
51170 else
51171
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51173 $as_echo_n "checking for _finitel declaration... " >&6; }
51174 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51175 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51176 $as_echo_n "(cached) " >&6
51177 else
51178
51179
51180 ac_ext=cpp
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51185
51186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51187 /* end confdefs.h. */
51188 #include <math.h>
51189 #ifdef HAVE_IEEEFP_H
51190 #include <ieeefp.h>
51191 #endif
51192
51193 int
51194 main ()
51195 {
51196 _finitel(0);
51197 ;
51198 return 0;
51199 }
51200 _ACEOF
51201 if ac_fn_cxx_try_compile "$LINENO"; then :
51202 glibcxx_cv_func__finitel_use=yes
51203 else
51204 glibcxx_cv_func__finitel_use=no
51205 fi
51206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51207 ac_ext=c
51208 ac_cpp='$CPP $CPPFLAGS'
51209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51212
51213
51214 fi
51215
51216 fi
51217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51218 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51219
51220 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51221 for ac_func in _finitel
51222 do :
51223 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51224 if test "x$ac_cv_func__finitel" = x""yes; then :
51225 cat >>confdefs.h <<_ACEOF
51226 #define HAVE__FINITEL 1
51227 _ACEOF
51228
51229 fi
51230 done
51231
51232 fi
51233 fi
51234
51235
51236
51237
51238 LIBS="$ac_save_LIBS"
51239 CXXFLAGS="$ac_save_CXXFLAGS"
51240
51241
51242 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51243 ac_save_CXXFLAGS="$CXXFLAGS"
51244 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51245
51246
51247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51248 $as_echo_n "checking for strtold declaration... " >&6; }
51249 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51250 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51251 $as_echo_n "(cached) " >&6
51252 else
51253
51254
51255 ac_ext=cpp
51256 ac_cpp='$CXXCPP $CPPFLAGS'
51257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51260
51261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51262 /* end confdefs.h. */
51263 #include <stdlib.h>
51264 int
51265 main ()
51266 {
51267 strtold(0, 0);
51268 ;
51269 return 0;
51270 }
51271 _ACEOF
51272 if ac_fn_cxx_try_compile "$LINENO"; then :
51273 glibcxx_cv_func_strtold_use=yes
51274 else
51275 glibcxx_cv_func_strtold_use=no
51276 fi
51277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51278 ac_ext=c
51279 ac_cpp='$CPP $CPPFLAGS'
51280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51283
51284
51285 fi
51286
51287 fi
51288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51289 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51290 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51291 for ac_func in strtold
51292 do :
51293 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51294 if test "x$ac_cv_func_strtold" = x""yes; then :
51295 cat >>confdefs.h <<_ACEOF
51296 #define HAVE_STRTOLD 1
51297 _ACEOF
51298
51299 fi
51300 done
51301
51302 fi
51303
51304
51305
51306
51307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51308 $as_echo_n "checking for strtof declaration... " >&6; }
51309 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51310 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51311 $as_echo_n "(cached) " >&6
51312 else
51313
51314
51315 ac_ext=cpp
51316 ac_cpp='$CXXCPP $CPPFLAGS'
51317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51320
51321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51322 /* end confdefs.h. */
51323 #include <stdlib.h>
51324 int
51325 main ()
51326 {
51327 strtof(0, 0);
51328 ;
51329 return 0;
51330 }
51331 _ACEOF
51332 if ac_fn_cxx_try_compile "$LINENO"; then :
51333 glibcxx_cv_func_strtof_use=yes
51334 else
51335 glibcxx_cv_func_strtof_use=no
51336 fi
51337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51338 ac_ext=c
51339 ac_cpp='$CPP $CPPFLAGS'
51340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51343
51344
51345 fi
51346
51347 fi
51348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51349 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51350 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51351 for ac_func in strtof
51352 do :
51353 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51354 if test "x$ac_cv_func_strtof" = x""yes; then :
51355 cat >>confdefs.h <<_ACEOF
51356 #define HAVE_STRTOF 1
51357 _ACEOF
51358
51359 fi
51360 done
51361
51362 fi
51363
51364
51365
51366
51367 CXXFLAGS="$ac_save_CXXFLAGS"
51368
51369 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51370
51371
51372
51373 # Check whether --enable-tls was given.
51374 if test "${enable_tls+set}" = set; then :
51375 enableval=$enable_tls;
51376 case "$enableval" in
51377 yes|no) ;;
51378 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51379 esac
51380
51381 else
51382 enable_tls=yes
51383 fi
51384
51385
51386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51387 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51388 if test "${gcc_cv_have_tls+set}" = set; then :
51389 $as_echo_n "(cached) " >&6
51390 else
51391
51392 if test "$cross_compiling" = yes; then :
51393 if test x$gcc_no_link = xyes; then
51394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51395 fi
51396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51397 /* end confdefs.h. */
51398 __thread int a; int b; int main() { return a = b; }
51399 _ACEOF
51400 if ac_fn_c_try_link "$LINENO"; then :
51401 chktls_save_LDFLAGS="$LDFLAGS"
51402 case $host in
51403 *-*-linux*)
51404 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51405 ;;
51406 esac
51407 chktls_save_CFLAGS="$CFLAGS"
51408 CFLAGS="-fPIC $CFLAGS"
51409 if test x$gcc_no_link = xyes; then
51410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51411 fi
51412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51413 /* end confdefs.h. */
51414 int f() { return 0; }
51415 _ACEOF
51416 if ac_fn_c_try_link "$LINENO"; then :
51417 if test x$gcc_no_link = xyes; then
51418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51419 fi
51420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51421 /* end confdefs.h. */
51422 __thread int a; int b; int f() { return a = b; }
51423 _ACEOF
51424 if ac_fn_c_try_link "$LINENO"; then :
51425 gcc_cv_have_tls=yes
51426 else
51427 gcc_cv_have_tls=no
51428 fi
51429 rm -f core conftest.err conftest.$ac_objext \
51430 conftest$ac_exeext conftest.$ac_ext
51431 else
51432 gcc_cv_have_tls=yes
51433 fi
51434 rm -f core conftest.err conftest.$ac_objext \
51435 conftest$ac_exeext conftest.$ac_ext
51436 CFLAGS="$chktls_save_CFLAGS"
51437 LDFLAGS="$chktls_save_LDFLAGS"
51438 else
51439 gcc_cv_have_tls=no
51440 fi
51441 rm -f core conftest.err conftest.$ac_objext \
51442 conftest$ac_exeext conftest.$ac_ext
51443
51444
51445 else
51446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51447 /* end confdefs.h. */
51448 __thread int a; int b; int main() { return a = b; }
51449 _ACEOF
51450 if ac_fn_c_try_run "$LINENO"; then :
51451 chktls_save_LDFLAGS="$LDFLAGS"
51452 LDFLAGS="-static $LDFLAGS"
51453 if test x$gcc_no_link = xyes; then
51454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51455 fi
51456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51457 /* end confdefs.h. */
51458 int main() { return 0; }
51459 _ACEOF
51460 if ac_fn_c_try_link "$LINENO"; then :
51461 if test "$cross_compiling" = yes; then :
51462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51464 as_fn_error "cannot run test program while cross compiling
51465 See \`config.log' for more details." "$LINENO" 5; }
51466 else
51467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51468 /* end confdefs.h. */
51469 __thread int a; int b; int main() { return a = b; }
51470 _ACEOF
51471 if ac_fn_c_try_run "$LINENO"; then :
51472 gcc_cv_have_tls=yes
51473 else
51474 gcc_cv_have_tls=no
51475 fi
51476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51477 conftest.$ac_objext conftest.beam conftest.$ac_ext
51478 fi
51479
51480 else
51481 gcc_cv_have_tls=yes
51482 fi
51483 rm -f core conftest.err conftest.$ac_objext \
51484 conftest$ac_exeext conftest.$ac_ext
51485 LDFLAGS="$chktls_save_LDFLAGS"
51486 if test $gcc_cv_have_tls = yes; then
51487 chktls_save_CFLAGS="$CFLAGS"
51488 thread_CFLAGS=failed
51489 for flag in '' '-pthread' '-lpthread'; do
51490 CFLAGS="$flag $chktls_save_CFLAGS"
51491 if test x$gcc_no_link = xyes; then
51492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51493 fi
51494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51495 /* end confdefs.h. */
51496 #include <pthread.h>
51497 void *g(void *d) { return NULL; }
51498 int
51499 main ()
51500 {
51501 pthread_t t; pthread_create(&t,NULL,g,NULL);
51502 ;
51503 return 0;
51504 }
51505 _ACEOF
51506 if ac_fn_c_try_link "$LINENO"; then :
51507 thread_CFLAGS="$flag"
51508 fi
51509 rm -f core conftest.err conftest.$ac_objext \
51510 conftest$ac_exeext conftest.$ac_ext
51511 if test "X$thread_CFLAGS" != Xfailed; then
51512 break
51513 fi
51514 done
51515 CFLAGS="$chktls_save_CFLAGS"
51516 if test "X$thread_CFLAGS" != Xfailed; then
51517 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51518 if test "$cross_compiling" = yes; then :
51519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51521 as_fn_error "cannot run test program while cross compiling
51522 See \`config.log' for more details." "$LINENO" 5; }
51523 else
51524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h. */
51526 #include <pthread.h>
51527 __thread int a;
51528 static int *volatile a_in_other_thread;
51529 static void *
51530 thread_func (void *arg)
51531 {
51532 a_in_other_thread = &a;
51533 return (void *)0;
51534 }
51535 int
51536 main ()
51537 {
51538 pthread_t thread;
51539 void *thread_retval;
51540 int *volatile a_in_main_thread;
51541 a_in_main_thread = &a;
51542 if (pthread_create (&thread, (pthread_attr_t *)0,
51543 thread_func, (void *)0))
51544 return 0;
51545 if (pthread_join (thread, &thread_retval))
51546 return 0;
51547 return (a_in_other_thread == a_in_main_thread);
51548 ;
51549 return 0;
51550 }
51551 _ACEOF
51552 if ac_fn_c_try_run "$LINENO"; then :
51553 gcc_cv_have_tls=yes
51554 else
51555 gcc_cv_have_tls=no
51556 fi
51557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51558 conftest.$ac_objext conftest.beam conftest.$ac_ext
51559 fi
51560
51561 CFLAGS="$chktls_save_CFLAGS"
51562 fi
51563 fi
51564 else
51565 gcc_cv_have_tls=no
51566 fi
51567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51568 conftest.$ac_objext conftest.beam conftest.$ac_ext
51569 fi
51570
51571 fi
51572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51573 $as_echo "$gcc_cv_have_tls" >&6; }
51574 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51575
51576 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51577
51578 fi
51579
51580
51581
51582
51583
51584 am_save_CPPFLAGS="$CPPFLAGS"
51585
51586 for element in $INCICONV; do
51587 haveit=
51588 for x in $CPPFLAGS; do
51589
51590 acl_save_prefix="$prefix"
51591 prefix="$acl_final_prefix"
51592 acl_save_exec_prefix="$exec_prefix"
51593 exec_prefix="$acl_final_exec_prefix"
51594 eval x=\"$x\"
51595 exec_prefix="$acl_save_exec_prefix"
51596 prefix="$acl_save_prefix"
51597
51598 if test "X$x" = "X$element"; then
51599 haveit=yes
51600 break
51601 fi
51602 done
51603 if test -z "$haveit"; then
51604 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51605 fi
51606 done
51607
51608
51609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51610 $as_echo_n "checking for iconv... " >&6; }
51611 if test "${am_cv_func_iconv+set}" = set; then :
51612 $as_echo_n "(cached) " >&6
51613 else
51614
51615 am_cv_func_iconv="no, consider installing GNU libiconv"
51616 am_cv_lib_iconv=no
51617 if test x$gcc_no_link = xyes; then
51618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51619 fi
51620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51621 /* end confdefs.h. */
51622 #include <stdlib.h>
51623 #include <iconv.h>
51624 int
51625 main ()
51626 {
51627 iconv_t cd = iconv_open("","");
51628 iconv(cd,NULL,NULL,NULL,NULL);
51629 iconv_close(cd);
51630 ;
51631 return 0;
51632 }
51633 _ACEOF
51634 if ac_fn_c_try_link "$LINENO"; then :
51635 am_cv_func_iconv=yes
51636 fi
51637 rm -f core conftest.err conftest.$ac_objext \
51638 conftest$ac_exeext conftest.$ac_ext
51639 if test "$am_cv_func_iconv" != yes; then
51640 am_save_LIBS="$LIBS"
51641 LIBS="$LIBS $LIBICONV"
51642 if test x$gcc_no_link = xyes; then
51643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51644 fi
51645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51646 /* end confdefs.h. */
51647 #include <stdlib.h>
51648 #include <iconv.h>
51649 int
51650 main ()
51651 {
51652 iconv_t cd = iconv_open("","");
51653 iconv(cd,NULL,NULL,NULL,NULL);
51654 iconv_close(cd);
51655 ;
51656 return 0;
51657 }
51658 _ACEOF
51659 if ac_fn_c_try_link "$LINENO"; then :
51660 am_cv_lib_iconv=yes
51661 am_cv_func_iconv=yes
51662 fi
51663 rm -f core conftest.err conftest.$ac_objext \
51664 conftest$ac_exeext conftest.$ac_ext
51665 LIBS="$am_save_LIBS"
51666 fi
51667
51668 fi
51669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51670 $as_echo "$am_cv_func_iconv" >&6; }
51671 if test "$am_cv_func_iconv" = yes; then
51672
51673 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51674
51675 fi
51676 if test "$am_cv_lib_iconv" = yes; then
51677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51678 $as_echo_n "checking how to link with libiconv... " >&6; }
51679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51680 $as_echo "$LIBICONV" >&6; }
51681 else
51682 CPPFLAGS="$am_save_CPPFLAGS"
51683 LIBICONV=
51684 LTLIBICONV=
51685 fi
51686
51687
51688
51689 if test "$am_cv_func_iconv" = yes; then
51690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51691 $as_echo_n "checking for iconv declaration... " >&6; }
51692 if test "${am_cv_proto_iconv+set}" = set; then :
51693 $as_echo_n "(cached) " >&6
51694 else
51695
51696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51697 /* end confdefs.h. */
51698
51699 #include <stdlib.h>
51700 #include <iconv.h>
51701 extern
51702 #ifdef __cplusplus
51703 "C"
51704 #endif
51705 #if defined(__STDC__) || defined(__cplusplus)
51706 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51707 #else
51708 size_t iconv();
51709 #endif
51710
51711 int
51712 main ()
51713 {
51714
51715 ;
51716 return 0;
51717 }
51718 _ACEOF
51719 if ac_fn_c_try_compile "$LINENO"; then :
51720 am_cv_proto_iconv_arg1=""
51721 else
51722 am_cv_proto_iconv_arg1="const"
51723 fi
51724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51725 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);"
51726 fi
51727
51728 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51730 }$am_cv_proto_iconv" >&5
51731 $as_echo "${ac_t:-
51732 }$am_cv_proto_iconv" >&6; }
51733
51734 cat >>confdefs.h <<_ACEOF
51735 #define ICONV_CONST $am_cv_proto_iconv_arg1
51736 _ACEOF
51737
51738 fi
51739
51740 ;;
51741 *-mingw32*)
51742
51743 # If we're not using GNU ld, then there's no point in even trying these
51744 # tests. Check for that first. We should have already tested for gld
51745 # by now (in libtool), but require it now just to be safe...
51746 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51747 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51748
51749
51750
51751 # The name set by libtool depends on the version of libtool. Shame on us
51752 # for depending on an impl detail, but c'est la vie. Older versions used
51753 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51754 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51755 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51756 # set (hence we're using an older libtool), then set it.
51757 if test x${with_gnu_ld+set} != xset; then
51758 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51759 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51760 with_gnu_ld=no
51761 else
51762 with_gnu_ld=$ac_cv_prog_gnu_ld
51763 fi
51764 fi
51765
51766 # Start by getting the version number. I think the libtool test already
51767 # does some of this, but throws away the result.
51768 glibcxx_ld_is_gold=no
51769 if test x"$with_gnu_ld" = x"yes"; then
51770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51771 $as_echo_n "checking for ld version... " >&6; }
51772
51773 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51774 glibcxx_ld_is_gold=yes
51775 fi
51776 ldver=`$LD --version 2>/dev/null |
51777 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
51778
51779 glibcxx_gnu_ld_version=`echo $ldver | \
51780 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51782 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51783 fi
51784
51785 # Set --gc-sections.
51786 glibcxx_have_gc_sections=no
51787 if test "$glibcxx_ld_is_gold" = "yes"; then
51788 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51789 glibcxx_have_gc_sections=yes
51790 fi
51791 else
51792 glibcxx_gcsections_min_ld=21602
51793 if test x"$with_gnu_ld" = x"yes" &&
51794 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51795 glibcxx_have_gc_sections=yes
51796 fi
51797 fi
51798 if test "$glibcxx_have_gc_sections" = "yes"; then
51799 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51800 # NB: This flag only works reliably after 2.16.1. Configure tests
51801 # for this are difficult, so hard wire a value that should work.
51802
51803 ac_test_CFLAGS="${CFLAGS+set}"
51804 ac_save_CFLAGS="$CFLAGS"
51805 CFLAGS='-Wl,--gc-sections'
51806
51807 # Check for -Wl,--gc-sections
51808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51809 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51810 if test x$gcc_no_link = xyes; then
51811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51812 fi
51813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51814 /* end confdefs.h. */
51815 int one(void) { return 1; }
51816 int two(void) { return 2; }
51817
51818 int
51819 main ()
51820 {
51821 two();
51822 ;
51823 return 0;
51824 }
51825 _ACEOF
51826 if ac_fn_c_try_link "$LINENO"; then :
51827 ac_gcsections=yes
51828 else
51829 ac_gcsections=no
51830 fi
51831 rm -f core conftest.err conftest.$ac_objext \
51832 conftest$ac_exeext conftest.$ac_ext
51833 if test "$ac_gcsections" = "yes"; then
51834 rm -f conftest.c
51835 touch conftest.c
51836 if $CC -c conftest.c; then
51837 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51838 grep "Warning: gc-sections option ignored" > /dev/null; then
51839 ac_gcsections=no
51840 fi
51841 fi
51842 rm -f conftest.c conftest.o conftest
51843 fi
51844 if test "$ac_gcsections" = "yes"; then
51845 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51846 fi
51847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51848 $as_echo "$ac_gcsections" >&6; }
51849
51850 if test "$ac_test_CFLAGS" = set; then
51851 CFLAGS="$ac_save_CFLAGS"
51852 else
51853 # this is the suspicious part
51854 CFLAGS=''
51855 fi
51856 fi
51857
51858 # Set -z,relro.
51859 # Note this is only for shared objects.
51860 ac_ld_relro=no
51861 if test x"$with_gnu_ld" = x"yes"; then
51862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51863 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51864 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51865 if test -n "$cxx_z_relo"; then
51866 OPT_LDFLAGS="-Wl,-z,relro"
51867 ac_ld_relro=yes
51868 fi
51869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51870 $as_echo "$ac_ld_relro" >&6; }
51871 fi
51872
51873 # Set linker optimization flags.
51874 if test x"$with_gnu_ld" = x"yes"; then
51875 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51876 fi
51877
51878
51879
51880
51881
51882 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51883 ac_save_CXXFLAGS="$CXXFLAGS"
51884 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51885
51886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51887 $as_echo_n "checking for sin in -lm... " >&6; }
51888 if test "${ac_cv_lib_m_sin+set}" = set; then :
51889 $as_echo_n "(cached) " >&6
51890 else
51891 ac_check_lib_save_LIBS=$LIBS
51892 LIBS="-lm $LIBS"
51893 if test x$gcc_no_link = xyes; then
51894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51895 fi
51896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51897 /* end confdefs.h. */
51898
51899 /* Override any GCC internal prototype to avoid an error.
51900 Use char because int might match the return type of a GCC
51901 builtin and then its argument prototype would still apply. */
51902 #ifdef __cplusplus
51903 extern "C"
51904 #endif
51905 char sin ();
51906 int
51907 main ()
51908 {
51909 return sin ();
51910 ;
51911 return 0;
51912 }
51913 _ACEOF
51914 if ac_fn_c_try_link "$LINENO"; then :
51915 ac_cv_lib_m_sin=yes
51916 else
51917 ac_cv_lib_m_sin=no
51918 fi
51919 rm -f core conftest.err conftest.$ac_objext \
51920 conftest$ac_exeext conftest.$ac_ext
51921 LIBS=$ac_check_lib_save_LIBS
51922 fi
51923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51924 $as_echo "$ac_cv_lib_m_sin" >&6; }
51925 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51926 libm="-lm"
51927 fi
51928
51929 ac_save_LIBS="$LIBS"
51930 LIBS="$LIBS $libm"
51931
51932
51933
51934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51935 $as_echo_n "checking for isinf declaration... " >&6; }
51936 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51937 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51938 $as_echo_n "(cached) " >&6
51939 else
51940
51941
51942 ac_ext=cpp
51943 ac_cpp='$CXXCPP $CPPFLAGS'
51944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51947
51948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51949 /* end confdefs.h. */
51950 #include <math.h>
51951 #ifdef HAVE_IEEEFP_H
51952 #include <ieeefp.h>
51953 #endif
51954
51955 int
51956 main ()
51957 {
51958 isinf(0);
51959 ;
51960 return 0;
51961 }
51962 _ACEOF
51963 if ac_fn_cxx_try_compile "$LINENO"; then :
51964 glibcxx_cv_func_isinf_use=yes
51965 else
51966 glibcxx_cv_func_isinf_use=no
51967 fi
51968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51969 ac_ext=c
51970 ac_cpp='$CPP $CPPFLAGS'
51971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51974
51975
51976 fi
51977
51978 fi
51979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51980 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51981
51982 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51983 for ac_func in isinf
51984 do :
51985 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51986 if test "x$ac_cv_func_isinf" = x""yes; then :
51987 cat >>confdefs.h <<_ACEOF
51988 #define HAVE_ISINF 1
51989 _ACEOF
51990
51991 fi
51992 done
51993
51994 else
51995
51996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51997 $as_echo_n "checking for _isinf declaration... " >&6; }
51998 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51999 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52000 $as_echo_n "(cached) " >&6
52001 else
52002
52003
52004 ac_ext=cpp
52005 ac_cpp='$CXXCPP $CPPFLAGS'
52006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52009
52010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52011 /* end confdefs.h. */
52012 #include <math.h>
52013 #ifdef HAVE_IEEEFP_H
52014 #include <ieeefp.h>
52015 #endif
52016
52017 int
52018 main ()
52019 {
52020 _isinf(0);
52021 ;
52022 return 0;
52023 }
52024 _ACEOF
52025 if ac_fn_cxx_try_compile "$LINENO"; then :
52026 glibcxx_cv_func__isinf_use=yes
52027 else
52028 glibcxx_cv_func__isinf_use=no
52029 fi
52030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52031 ac_ext=c
52032 ac_cpp='$CPP $CPPFLAGS'
52033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52036
52037
52038 fi
52039
52040 fi
52041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52042 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52043
52044 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52045 for ac_func in _isinf
52046 do :
52047 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52048 if test "x$ac_cv_func__isinf" = x""yes; then :
52049 cat >>confdefs.h <<_ACEOF
52050 #define HAVE__ISINF 1
52051 _ACEOF
52052
52053 fi
52054 done
52055
52056 fi
52057 fi
52058
52059
52060
52061
52062
52063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52064 $as_echo_n "checking for isnan declaration... " >&6; }
52065 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52066 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52067 $as_echo_n "(cached) " >&6
52068 else
52069
52070
52071 ac_ext=cpp
52072 ac_cpp='$CXXCPP $CPPFLAGS'
52073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52076
52077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52078 /* end confdefs.h. */
52079 #include <math.h>
52080 #ifdef HAVE_IEEEFP_H
52081 #include <ieeefp.h>
52082 #endif
52083
52084 int
52085 main ()
52086 {
52087 isnan(0);
52088 ;
52089 return 0;
52090 }
52091 _ACEOF
52092 if ac_fn_cxx_try_compile "$LINENO"; then :
52093 glibcxx_cv_func_isnan_use=yes
52094 else
52095 glibcxx_cv_func_isnan_use=no
52096 fi
52097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52098 ac_ext=c
52099 ac_cpp='$CPP $CPPFLAGS'
52100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52103
52104
52105 fi
52106
52107 fi
52108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52109 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52110
52111 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52112 for ac_func in isnan
52113 do :
52114 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52115 if test "x$ac_cv_func_isnan" = x""yes; then :
52116 cat >>confdefs.h <<_ACEOF
52117 #define HAVE_ISNAN 1
52118 _ACEOF
52119
52120 fi
52121 done
52122
52123 else
52124
52125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52126 $as_echo_n "checking for _isnan declaration... " >&6; }
52127 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52128 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52129 $as_echo_n "(cached) " >&6
52130 else
52131
52132
52133 ac_ext=cpp
52134 ac_cpp='$CXXCPP $CPPFLAGS'
52135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52138
52139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52140 /* end confdefs.h. */
52141 #include <math.h>
52142 #ifdef HAVE_IEEEFP_H
52143 #include <ieeefp.h>
52144 #endif
52145
52146 int
52147 main ()
52148 {
52149 _isnan(0);
52150 ;
52151 return 0;
52152 }
52153 _ACEOF
52154 if ac_fn_cxx_try_compile "$LINENO"; then :
52155 glibcxx_cv_func__isnan_use=yes
52156 else
52157 glibcxx_cv_func__isnan_use=no
52158 fi
52159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52160 ac_ext=c
52161 ac_cpp='$CPP $CPPFLAGS'
52162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52165
52166
52167 fi
52168
52169 fi
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52171 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52172
52173 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52174 for ac_func in _isnan
52175 do :
52176 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52177 if test "x$ac_cv_func__isnan" = x""yes; then :
52178 cat >>confdefs.h <<_ACEOF
52179 #define HAVE__ISNAN 1
52180 _ACEOF
52181
52182 fi
52183 done
52184
52185 fi
52186 fi
52187
52188
52189
52190
52191
52192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52193 $as_echo_n "checking for finite declaration... " >&6; }
52194 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52195 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52196 $as_echo_n "(cached) " >&6
52197 else
52198
52199
52200 ac_ext=cpp
52201 ac_cpp='$CXXCPP $CPPFLAGS'
52202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52205
52206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52207 /* end confdefs.h. */
52208 #include <math.h>
52209 #ifdef HAVE_IEEEFP_H
52210 #include <ieeefp.h>
52211 #endif
52212
52213 int
52214 main ()
52215 {
52216 finite(0);
52217 ;
52218 return 0;
52219 }
52220 _ACEOF
52221 if ac_fn_cxx_try_compile "$LINENO"; then :
52222 glibcxx_cv_func_finite_use=yes
52223 else
52224 glibcxx_cv_func_finite_use=no
52225 fi
52226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52227 ac_ext=c
52228 ac_cpp='$CPP $CPPFLAGS'
52229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52232
52233
52234 fi
52235
52236 fi
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52238 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52239
52240 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52241 for ac_func in finite
52242 do :
52243 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52244 if test "x$ac_cv_func_finite" = x""yes; then :
52245 cat >>confdefs.h <<_ACEOF
52246 #define HAVE_FINITE 1
52247 _ACEOF
52248
52249 fi
52250 done
52251
52252 else
52253
52254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52255 $as_echo_n "checking for _finite declaration... " >&6; }
52256 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52257 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52258 $as_echo_n "(cached) " >&6
52259 else
52260
52261
52262 ac_ext=cpp
52263 ac_cpp='$CXXCPP $CPPFLAGS'
52264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52267
52268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52269 /* end confdefs.h. */
52270 #include <math.h>
52271 #ifdef HAVE_IEEEFP_H
52272 #include <ieeefp.h>
52273 #endif
52274
52275 int
52276 main ()
52277 {
52278 _finite(0);
52279 ;
52280 return 0;
52281 }
52282 _ACEOF
52283 if ac_fn_cxx_try_compile "$LINENO"; then :
52284 glibcxx_cv_func__finite_use=yes
52285 else
52286 glibcxx_cv_func__finite_use=no
52287 fi
52288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52289 ac_ext=c
52290 ac_cpp='$CPP $CPPFLAGS'
52291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52294
52295
52296 fi
52297
52298 fi
52299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52300 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52301
52302 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52303 for ac_func in _finite
52304 do :
52305 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52306 if test "x$ac_cv_func__finite" = x""yes; then :
52307 cat >>confdefs.h <<_ACEOF
52308 #define HAVE__FINITE 1
52309 _ACEOF
52310
52311 fi
52312 done
52313
52314 fi
52315 fi
52316
52317
52318
52319
52320
52321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52322 $as_echo_n "checking for sincos declaration... " >&6; }
52323 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52324 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52325 $as_echo_n "(cached) " >&6
52326 else
52327
52328
52329 ac_ext=cpp
52330 ac_cpp='$CXXCPP $CPPFLAGS'
52331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52334
52335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52336 /* end confdefs.h. */
52337 #include <math.h>
52338 int
52339 main ()
52340 {
52341 sincos(0, 0, 0);
52342 ;
52343 return 0;
52344 }
52345 _ACEOF
52346 if ac_fn_cxx_try_compile "$LINENO"; then :
52347 glibcxx_cv_func_sincos_use=yes
52348 else
52349 glibcxx_cv_func_sincos_use=no
52350 fi
52351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52352 ac_ext=c
52353 ac_cpp='$CPP $CPPFLAGS'
52354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52357
52358
52359 fi
52360
52361 fi
52362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52363 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52364
52365 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52366 for ac_func in sincos
52367 do :
52368 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52369 if test "x$ac_cv_func_sincos" = x""yes; then :
52370 cat >>confdefs.h <<_ACEOF
52371 #define HAVE_SINCOS 1
52372 _ACEOF
52373
52374 fi
52375 done
52376
52377 else
52378
52379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52380 $as_echo_n "checking for _sincos declaration... " >&6; }
52381 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52382 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52383 $as_echo_n "(cached) " >&6
52384 else
52385
52386
52387 ac_ext=cpp
52388 ac_cpp='$CXXCPP $CPPFLAGS'
52389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52392
52393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52394 /* end confdefs.h. */
52395 #include <math.h>
52396 int
52397 main ()
52398 {
52399 _sincos(0, 0, 0);
52400 ;
52401 return 0;
52402 }
52403 _ACEOF
52404 if ac_fn_cxx_try_compile "$LINENO"; then :
52405 glibcxx_cv_func__sincos_use=yes
52406 else
52407 glibcxx_cv_func__sincos_use=no
52408 fi
52409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52410 ac_ext=c
52411 ac_cpp='$CPP $CPPFLAGS'
52412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52415
52416
52417 fi
52418
52419 fi
52420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52421 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52422
52423 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52424 for ac_func in _sincos
52425 do :
52426 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52427 if test "x$ac_cv_func__sincos" = x""yes; then :
52428 cat >>confdefs.h <<_ACEOF
52429 #define HAVE__SINCOS 1
52430 _ACEOF
52431
52432 fi
52433 done
52434
52435 fi
52436 fi
52437
52438
52439
52440
52441
52442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52443 $as_echo_n "checking for fpclass declaration... " >&6; }
52444 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52445 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52446 $as_echo_n "(cached) " >&6
52447 else
52448
52449
52450 ac_ext=cpp
52451 ac_cpp='$CXXCPP $CPPFLAGS'
52452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52455
52456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52457 /* end confdefs.h. */
52458 #include <math.h>
52459 #ifdef HAVE_IEEEFP_H
52460 #include <ieeefp.h>
52461 #endif
52462
52463 int
52464 main ()
52465 {
52466 fpclass(0);
52467 ;
52468 return 0;
52469 }
52470 _ACEOF
52471 if ac_fn_cxx_try_compile "$LINENO"; then :
52472 glibcxx_cv_func_fpclass_use=yes
52473 else
52474 glibcxx_cv_func_fpclass_use=no
52475 fi
52476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52477 ac_ext=c
52478 ac_cpp='$CPP $CPPFLAGS'
52479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52482
52483
52484 fi
52485
52486 fi
52487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52488 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52489
52490 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52491 for ac_func in fpclass
52492 do :
52493 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52494 if test "x$ac_cv_func_fpclass" = x""yes; then :
52495 cat >>confdefs.h <<_ACEOF
52496 #define HAVE_FPCLASS 1
52497 _ACEOF
52498
52499 fi
52500 done
52501
52502 else
52503
52504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52505 $as_echo_n "checking for _fpclass declaration... " >&6; }
52506 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52507 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52508 $as_echo_n "(cached) " >&6
52509 else
52510
52511
52512 ac_ext=cpp
52513 ac_cpp='$CXXCPP $CPPFLAGS'
52514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52517
52518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52519 /* end confdefs.h. */
52520 #include <math.h>
52521 #ifdef HAVE_IEEEFP_H
52522 #include <ieeefp.h>
52523 #endif
52524
52525 int
52526 main ()
52527 {
52528 _fpclass(0);
52529 ;
52530 return 0;
52531 }
52532 _ACEOF
52533 if ac_fn_cxx_try_compile "$LINENO"; then :
52534 glibcxx_cv_func__fpclass_use=yes
52535 else
52536 glibcxx_cv_func__fpclass_use=no
52537 fi
52538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52539 ac_ext=c
52540 ac_cpp='$CPP $CPPFLAGS'
52541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52544
52545
52546 fi
52547
52548 fi
52549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52550 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52551
52552 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52553 for ac_func in _fpclass
52554 do :
52555 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52556 if test "x$ac_cv_func__fpclass" = x""yes; then :
52557 cat >>confdefs.h <<_ACEOF
52558 #define HAVE__FPCLASS 1
52559 _ACEOF
52560
52561 fi
52562 done
52563
52564 fi
52565 fi
52566
52567
52568
52569
52570
52571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52572 $as_echo_n "checking for qfpclass declaration... " >&6; }
52573 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52574 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52575 $as_echo_n "(cached) " >&6
52576 else
52577
52578
52579 ac_ext=cpp
52580 ac_cpp='$CXXCPP $CPPFLAGS'
52581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52584
52585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52586 /* end confdefs.h. */
52587 #include <math.h>
52588 #ifdef HAVE_IEEEFP_H
52589 #include <ieeefp.h>
52590 #endif
52591
52592 int
52593 main ()
52594 {
52595 qfpclass(0);
52596 ;
52597 return 0;
52598 }
52599 _ACEOF
52600 if ac_fn_cxx_try_compile "$LINENO"; then :
52601 glibcxx_cv_func_qfpclass_use=yes
52602 else
52603 glibcxx_cv_func_qfpclass_use=no
52604 fi
52605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52606 ac_ext=c
52607 ac_cpp='$CPP $CPPFLAGS'
52608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52611
52612
52613 fi
52614
52615 fi
52616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52617 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52618
52619 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52620 for ac_func in qfpclass
52621 do :
52622 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52623 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52624 cat >>confdefs.h <<_ACEOF
52625 #define HAVE_QFPCLASS 1
52626 _ACEOF
52627
52628 fi
52629 done
52630
52631 else
52632
52633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52634 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52635 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52636 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52637 $as_echo_n "(cached) " >&6
52638 else
52639
52640
52641 ac_ext=cpp
52642 ac_cpp='$CXXCPP $CPPFLAGS'
52643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52646
52647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52648 /* end confdefs.h. */
52649 #include <math.h>
52650 #ifdef HAVE_IEEEFP_H
52651 #include <ieeefp.h>
52652 #endif
52653
52654 int
52655 main ()
52656 {
52657 _qfpclass(0);
52658 ;
52659 return 0;
52660 }
52661 _ACEOF
52662 if ac_fn_cxx_try_compile "$LINENO"; then :
52663 glibcxx_cv_func__qfpclass_use=yes
52664 else
52665 glibcxx_cv_func__qfpclass_use=no
52666 fi
52667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52668 ac_ext=c
52669 ac_cpp='$CPP $CPPFLAGS'
52670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52673
52674
52675 fi
52676
52677 fi
52678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52679 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52680
52681 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52682 for ac_func in _qfpclass
52683 do :
52684 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52685 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52686 cat >>confdefs.h <<_ACEOF
52687 #define HAVE__QFPCLASS 1
52688 _ACEOF
52689
52690 fi
52691 done
52692
52693 fi
52694 fi
52695
52696
52697
52698
52699
52700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52701 $as_echo_n "checking for hypot declaration... " >&6; }
52702 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52703 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52704 $as_echo_n "(cached) " >&6
52705 else
52706
52707
52708 ac_ext=cpp
52709 ac_cpp='$CXXCPP $CPPFLAGS'
52710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52713
52714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52715 /* end confdefs.h. */
52716 #include <math.h>
52717 int
52718 main ()
52719 {
52720 hypot(0, 0);
52721 ;
52722 return 0;
52723 }
52724 _ACEOF
52725 if ac_fn_cxx_try_compile "$LINENO"; then :
52726 glibcxx_cv_func_hypot_use=yes
52727 else
52728 glibcxx_cv_func_hypot_use=no
52729 fi
52730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52731 ac_ext=c
52732 ac_cpp='$CPP $CPPFLAGS'
52733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52736
52737
52738 fi
52739
52740 fi
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52742 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52743
52744 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52745 for ac_func in hypot
52746 do :
52747 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52748 if test "x$ac_cv_func_hypot" = x""yes; then :
52749 cat >>confdefs.h <<_ACEOF
52750 #define HAVE_HYPOT 1
52751 _ACEOF
52752
52753 fi
52754 done
52755
52756 else
52757
52758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52759 $as_echo_n "checking for _hypot declaration... " >&6; }
52760 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52761 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52762 $as_echo_n "(cached) " >&6
52763 else
52764
52765
52766 ac_ext=cpp
52767 ac_cpp='$CXXCPP $CPPFLAGS'
52768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52771
52772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52773 /* end confdefs.h. */
52774 #include <math.h>
52775 int
52776 main ()
52777 {
52778 _hypot(0, 0);
52779 ;
52780 return 0;
52781 }
52782 _ACEOF
52783 if ac_fn_cxx_try_compile "$LINENO"; then :
52784 glibcxx_cv_func__hypot_use=yes
52785 else
52786 glibcxx_cv_func__hypot_use=no
52787 fi
52788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52789 ac_ext=c
52790 ac_cpp='$CPP $CPPFLAGS'
52791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52794
52795
52796 fi
52797
52798 fi
52799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52800 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52801
52802 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52803 for ac_func in _hypot
52804 do :
52805 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52806 if test "x$ac_cv_func__hypot" = x""yes; then :
52807 cat >>confdefs.h <<_ACEOF
52808 #define HAVE__HYPOT 1
52809 _ACEOF
52810
52811 fi
52812 done
52813
52814 fi
52815 fi
52816
52817
52818
52819
52820
52821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52822 $as_echo_n "checking for float trig functions... " >&6; }
52823 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52824 $as_echo_n "(cached) " >&6
52825 else
52826
52827
52828 ac_ext=cpp
52829 ac_cpp='$CXXCPP $CPPFLAGS'
52830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52833
52834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52835 /* end confdefs.h. */
52836 #include <math.h>
52837 int
52838 main ()
52839 {
52840 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52841 ;
52842 return 0;
52843 }
52844 _ACEOF
52845 if ac_fn_cxx_try_compile "$LINENO"; then :
52846 glibcxx_cv_func_float_trig_use=yes
52847 else
52848 glibcxx_cv_func_float_trig_use=no
52849 fi
52850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52851 ac_ext=c
52852 ac_cpp='$CPP $CPPFLAGS'
52853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52856
52857 fi
52858
52859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52860 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52861 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52862 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52863 do :
52864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52866 eval as_val=\$$as_ac_var
52867 if test "x$as_val" = x""yes; then :
52868 cat >>confdefs.h <<_ACEOF
52869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52870 _ACEOF
52871
52872 fi
52873 done
52874
52875 else
52876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52877 $as_echo_n "checking for _float trig functions... " >&6; }
52878 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52879 $as_echo_n "(cached) " >&6
52880 else
52881
52882
52883 ac_ext=cpp
52884 ac_cpp='$CXXCPP $CPPFLAGS'
52885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52888
52889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52890 /* end confdefs.h. */
52891 #include <math.h>
52892 int
52893 main ()
52894 {
52895 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52896 ;
52897 return 0;
52898 }
52899 _ACEOF
52900 if ac_fn_cxx_try_compile "$LINENO"; then :
52901 glibcxx_cv_func__float_trig_use=yes
52902 else
52903 glibcxx_cv_func__float_trig_use=no
52904 fi
52905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52906 ac_ext=c
52907 ac_cpp='$CPP $CPPFLAGS'
52908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52911
52912 fi
52913
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52915 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52916 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52917 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52918 do :
52919 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52920 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52921 eval as_val=\$$as_ac_var
52922 if test "x$as_val" = x""yes; then :
52923 cat >>confdefs.h <<_ACEOF
52924 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52925 _ACEOF
52926
52927 fi
52928 done
52929
52930 fi
52931 fi
52932
52933
52934
52935
52936
52937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52938 $as_echo_n "checking for float round functions... " >&6; }
52939 if test "${glibcxx_cv_func_float_round_use+set}" = set; 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 int
52954 main ()
52955 {
52956 ceilf (0); floorf (0);
52957 ;
52958 return 0;
52959 }
52960 _ACEOF
52961 if ac_fn_cxx_try_compile "$LINENO"; then :
52962 glibcxx_cv_func_float_round_use=yes
52963 else
52964 glibcxx_cv_func_float_round_use=no
52965 fi
52966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52967 ac_ext=c
52968 ac_cpp='$CPP $CPPFLAGS'
52969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52972
52973 fi
52974
52975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52976 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52977 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52978 for ac_func in ceilf floorf
52979 do :
52980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52982 eval as_val=\$$as_ac_var
52983 if test "x$as_val" = x""yes; then :
52984 cat >>confdefs.h <<_ACEOF
52985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52986 _ACEOF
52987
52988 fi
52989 done
52990
52991 else
52992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52993 $as_echo_n "checking for _float round functions... " >&6; }
52994 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52995 $as_echo_n "(cached) " >&6
52996 else
52997
52998
52999 ac_ext=cpp
53000 ac_cpp='$CXXCPP $CPPFLAGS'
53001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53004
53005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53006 /* end confdefs.h. */
53007 #include <math.h>
53008 int
53009 main ()
53010 {
53011 _ceilf (0); _floorf (0);
53012 ;
53013 return 0;
53014 }
53015 _ACEOF
53016 if ac_fn_cxx_try_compile "$LINENO"; then :
53017 glibcxx_cv_func__float_round_use=yes
53018 else
53019 glibcxx_cv_func__float_round_use=no
53020 fi
53021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53022 ac_ext=c
53023 ac_cpp='$CPP $CPPFLAGS'
53024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53027
53028 fi
53029
53030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53031 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53032 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53033 for ac_func in _ceilf _floorf
53034 do :
53035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53037 eval as_val=\$$as_ac_var
53038 if test "x$as_val" = x""yes; then :
53039 cat >>confdefs.h <<_ACEOF
53040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53041 _ACEOF
53042
53043 fi
53044 done
53045
53046 fi
53047 fi
53048
53049
53050
53051
53052
53053
53054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53055 $as_echo_n "checking for expf declaration... " >&6; }
53056 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53057 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53058 $as_echo_n "(cached) " >&6
53059 else
53060
53061
53062 ac_ext=cpp
53063 ac_cpp='$CXXCPP $CPPFLAGS'
53064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53067
53068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53069 /* end confdefs.h. */
53070 #include <math.h>
53071 #ifdef HAVE_IEEEFP_H
53072 #include <ieeefp.h>
53073 #endif
53074
53075 int
53076 main ()
53077 {
53078 expf(0);
53079 ;
53080 return 0;
53081 }
53082 _ACEOF
53083 if ac_fn_cxx_try_compile "$LINENO"; then :
53084 glibcxx_cv_func_expf_use=yes
53085 else
53086 glibcxx_cv_func_expf_use=no
53087 fi
53088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53089 ac_ext=c
53090 ac_cpp='$CPP $CPPFLAGS'
53091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53094
53095
53096 fi
53097
53098 fi
53099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53100 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53101
53102 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53103 for ac_func in expf
53104 do :
53105 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53106 if test "x$ac_cv_func_expf" = x""yes; then :
53107 cat >>confdefs.h <<_ACEOF
53108 #define HAVE_EXPF 1
53109 _ACEOF
53110
53111 fi
53112 done
53113
53114 else
53115
53116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53117 $as_echo_n "checking for _expf declaration... " >&6; }
53118 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53119 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53120 $as_echo_n "(cached) " >&6
53121 else
53122
53123
53124 ac_ext=cpp
53125 ac_cpp='$CXXCPP $CPPFLAGS'
53126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53129
53130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53131 /* end confdefs.h. */
53132 #include <math.h>
53133 #ifdef HAVE_IEEEFP_H
53134 #include <ieeefp.h>
53135 #endif
53136
53137 int
53138 main ()
53139 {
53140 _expf(0);
53141 ;
53142 return 0;
53143 }
53144 _ACEOF
53145 if ac_fn_cxx_try_compile "$LINENO"; then :
53146 glibcxx_cv_func__expf_use=yes
53147 else
53148 glibcxx_cv_func__expf_use=no
53149 fi
53150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53151 ac_ext=c
53152 ac_cpp='$CPP $CPPFLAGS'
53153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53156
53157
53158 fi
53159
53160 fi
53161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53162 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53163
53164 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53165 for ac_func in _expf
53166 do :
53167 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53168 if test "x$ac_cv_func__expf" = x""yes; then :
53169 cat >>confdefs.h <<_ACEOF
53170 #define HAVE__EXPF 1
53171 _ACEOF
53172
53173 fi
53174 done
53175
53176 fi
53177 fi
53178
53179
53180
53181
53182
53183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53184 $as_echo_n "checking for isnanf declaration... " >&6; }
53185 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53186 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53187 $as_echo_n "(cached) " >&6
53188 else
53189
53190
53191 ac_ext=cpp
53192 ac_cpp='$CXXCPP $CPPFLAGS'
53193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53196
53197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53198 /* end confdefs.h. */
53199 #include <math.h>
53200 #ifdef HAVE_IEEEFP_H
53201 #include <ieeefp.h>
53202 #endif
53203
53204 int
53205 main ()
53206 {
53207 isnanf(0);
53208 ;
53209 return 0;
53210 }
53211 _ACEOF
53212 if ac_fn_cxx_try_compile "$LINENO"; then :
53213 glibcxx_cv_func_isnanf_use=yes
53214 else
53215 glibcxx_cv_func_isnanf_use=no
53216 fi
53217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53218 ac_ext=c
53219 ac_cpp='$CPP $CPPFLAGS'
53220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53223
53224
53225 fi
53226
53227 fi
53228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53229 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53230
53231 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53232 for ac_func in isnanf
53233 do :
53234 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53235 if test "x$ac_cv_func_isnanf" = x""yes; then :
53236 cat >>confdefs.h <<_ACEOF
53237 #define HAVE_ISNANF 1
53238 _ACEOF
53239
53240 fi
53241 done
53242
53243 else
53244
53245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53246 $as_echo_n "checking for _isnanf declaration... " >&6; }
53247 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53248 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53249 $as_echo_n "(cached) " >&6
53250 else
53251
53252
53253 ac_ext=cpp
53254 ac_cpp='$CXXCPP $CPPFLAGS'
53255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53258
53259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53260 /* end confdefs.h. */
53261 #include <math.h>
53262 #ifdef HAVE_IEEEFP_H
53263 #include <ieeefp.h>
53264 #endif
53265
53266 int
53267 main ()
53268 {
53269 _isnanf(0);
53270 ;
53271 return 0;
53272 }
53273 _ACEOF
53274 if ac_fn_cxx_try_compile "$LINENO"; then :
53275 glibcxx_cv_func__isnanf_use=yes
53276 else
53277 glibcxx_cv_func__isnanf_use=no
53278 fi
53279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53280 ac_ext=c
53281 ac_cpp='$CPP $CPPFLAGS'
53282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53285
53286
53287 fi
53288
53289 fi
53290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53291 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53292
53293 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53294 for ac_func in _isnanf
53295 do :
53296 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53297 if test "x$ac_cv_func__isnanf" = x""yes; then :
53298 cat >>confdefs.h <<_ACEOF
53299 #define HAVE__ISNANF 1
53300 _ACEOF
53301
53302 fi
53303 done
53304
53305 fi
53306 fi
53307
53308
53309
53310
53311
53312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53313 $as_echo_n "checking for isinff declaration... " >&6; }
53314 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53315 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53316 $as_echo_n "(cached) " >&6
53317 else
53318
53319
53320 ac_ext=cpp
53321 ac_cpp='$CXXCPP $CPPFLAGS'
53322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53325
53326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53327 /* end confdefs.h. */
53328 #include <math.h>
53329 #ifdef HAVE_IEEEFP_H
53330 #include <ieeefp.h>
53331 #endif
53332
53333 int
53334 main ()
53335 {
53336 isinff(0);
53337 ;
53338 return 0;
53339 }
53340 _ACEOF
53341 if ac_fn_cxx_try_compile "$LINENO"; then :
53342 glibcxx_cv_func_isinff_use=yes
53343 else
53344 glibcxx_cv_func_isinff_use=no
53345 fi
53346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53347 ac_ext=c
53348 ac_cpp='$CPP $CPPFLAGS'
53349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53352
53353
53354 fi
53355
53356 fi
53357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53358 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53359
53360 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53361 for ac_func in isinff
53362 do :
53363 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53364 if test "x$ac_cv_func_isinff" = x""yes; then :
53365 cat >>confdefs.h <<_ACEOF
53366 #define HAVE_ISINFF 1
53367 _ACEOF
53368
53369 fi
53370 done
53371
53372 else
53373
53374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53375 $as_echo_n "checking for _isinff declaration... " >&6; }
53376 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53377 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53378 $as_echo_n "(cached) " >&6
53379 else
53380
53381
53382 ac_ext=cpp
53383 ac_cpp='$CXXCPP $CPPFLAGS'
53384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53387
53388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53389 /* end confdefs.h. */
53390 #include <math.h>
53391 #ifdef HAVE_IEEEFP_H
53392 #include <ieeefp.h>
53393 #endif
53394
53395 int
53396 main ()
53397 {
53398 _isinff(0);
53399 ;
53400 return 0;
53401 }
53402 _ACEOF
53403 if ac_fn_cxx_try_compile "$LINENO"; then :
53404 glibcxx_cv_func__isinff_use=yes
53405 else
53406 glibcxx_cv_func__isinff_use=no
53407 fi
53408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53409 ac_ext=c
53410 ac_cpp='$CPP $CPPFLAGS'
53411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53414
53415
53416 fi
53417
53418 fi
53419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53420 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53421
53422 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53423 for ac_func in _isinff
53424 do :
53425 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53426 if test "x$ac_cv_func__isinff" = x""yes; then :
53427 cat >>confdefs.h <<_ACEOF
53428 #define HAVE__ISINFF 1
53429 _ACEOF
53430
53431 fi
53432 done
53433
53434 fi
53435 fi
53436
53437
53438
53439
53440
53441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53442 $as_echo_n "checking for atan2f declaration... " >&6; }
53443 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53444 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53445 $as_echo_n "(cached) " >&6
53446 else
53447
53448
53449 ac_ext=cpp
53450 ac_cpp='$CXXCPP $CPPFLAGS'
53451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53454
53455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53456 /* end confdefs.h. */
53457 #include <math.h>
53458 int
53459 main ()
53460 {
53461 atan2f(0, 0);
53462 ;
53463 return 0;
53464 }
53465 _ACEOF
53466 if ac_fn_cxx_try_compile "$LINENO"; then :
53467 glibcxx_cv_func_atan2f_use=yes
53468 else
53469 glibcxx_cv_func_atan2f_use=no
53470 fi
53471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53472 ac_ext=c
53473 ac_cpp='$CPP $CPPFLAGS'
53474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53477
53478
53479 fi
53480
53481 fi
53482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53483 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53484
53485 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53486 for ac_func in atan2f
53487 do :
53488 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53489 if test "x$ac_cv_func_atan2f" = x""yes; then :
53490 cat >>confdefs.h <<_ACEOF
53491 #define HAVE_ATAN2F 1
53492 _ACEOF
53493
53494 fi
53495 done
53496
53497 else
53498
53499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53500 $as_echo_n "checking for _atan2f declaration... " >&6; }
53501 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53502 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53503 $as_echo_n "(cached) " >&6
53504 else
53505
53506
53507 ac_ext=cpp
53508 ac_cpp='$CXXCPP $CPPFLAGS'
53509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53512
53513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53514 /* end confdefs.h. */
53515 #include <math.h>
53516 int
53517 main ()
53518 {
53519 _atan2f(0, 0);
53520 ;
53521 return 0;
53522 }
53523 _ACEOF
53524 if ac_fn_cxx_try_compile "$LINENO"; then :
53525 glibcxx_cv_func__atan2f_use=yes
53526 else
53527 glibcxx_cv_func__atan2f_use=no
53528 fi
53529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53530 ac_ext=c
53531 ac_cpp='$CPP $CPPFLAGS'
53532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53535
53536
53537 fi
53538
53539 fi
53540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53541 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53542
53543 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53544 for ac_func in _atan2f
53545 do :
53546 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53547 if test "x$ac_cv_func__atan2f" = x""yes; then :
53548 cat >>confdefs.h <<_ACEOF
53549 #define HAVE__ATAN2F 1
53550 _ACEOF
53551
53552 fi
53553 done
53554
53555 fi
53556 fi
53557
53558
53559
53560
53561
53562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53563 $as_echo_n "checking for fabsf declaration... " >&6; }
53564 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53565 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53566 $as_echo_n "(cached) " >&6
53567 else
53568
53569
53570 ac_ext=cpp
53571 ac_cpp='$CXXCPP $CPPFLAGS'
53572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53575
53576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h. */
53578 #include <math.h>
53579 #ifdef HAVE_IEEEFP_H
53580 #include <ieeefp.h>
53581 #endif
53582
53583 int
53584 main ()
53585 {
53586 fabsf(0);
53587 ;
53588 return 0;
53589 }
53590 _ACEOF
53591 if ac_fn_cxx_try_compile "$LINENO"; then :
53592 glibcxx_cv_func_fabsf_use=yes
53593 else
53594 glibcxx_cv_func_fabsf_use=no
53595 fi
53596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53597 ac_ext=c
53598 ac_cpp='$CPP $CPPFLAGS'
53599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53602
53603
53604 fi
53605
53606 fi
53607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53608 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53609
53610 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53611 for ac_func in fabsf
53612 do :
53613 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53614 if test "x$ac_cv_func_fabsf" = x""yes; then :
53615 cat >>confdefs.h <<_ACEOF
53616 #define HAVE_FABSF 1
53617 _ACEOF
53618
53619 fi
53620 done
53621
53622 else
53623
53624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53625 $as_echo_n "checking for _fabsf declaration... " >&6; }
53626 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53627 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53628 $as_echo_n "(cached) " >&6
53629 else
53630
53631
53632 ac_ext=cpp
53633 ac_cpp='$CXXCPP $CPPFLAGS'
53634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53637
53638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53639 /* end confdefs.h. */
53640 #include <math.h>
53641 #ifdef HAVE_IEEEFP_H
53642 #include <ieeefp.h>
53643 #endif
53644
53645 int
53646 main ()
53647 {
53648 _fabsf(0);
53649 ;
53650 return 0;
53651 }
53652 _ACEOF
53653 if ac_fn_cxx_try_compile "$LINENO"; then :
53654 glibcxx_cv_func__fabsf_use=yes
53655 else
53656 glibcxx_cv_func__fabsf_use=no
53657 fi
53658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53659 ac_ext=c
53660 ac_cpp='$CPP $CPPFLAGS'
53661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53664
53665
53666 fi
53667
53668 fi
53669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53670 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53671
53672 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53673 for ac_func in _fabsf
53674 do :
53675 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53676 if test "x$ac_cv_func__fabsf" = x""yes; then :
53677 cat >>confdefs.h <<_ACEOF
53678 #define HAVE__FABSF 1
53679 _ACEOF
53680
53681 fi
53682 done
53683
53684 fi
53685 fi
53686
53687
53688
53689
53690
53691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53692 $as_echo_n "checking for fmodf declaration... " >&6; }
53693 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53694 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53695 $as_echo_n "(cached) " >&6
53696 else
53697
53698
53699 ac_ext=cpp
53700 ac_cpp='$CXXCPP $CPPFLAGS'
53701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53704
53705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53706 /* end confdefs.h. */
53707 #include <math.h>
53708 int
53709 main ()
53710 {
53711 fmodf(0, 0);
53712 ;
53713 return 0;
53714 }
53715 _ACEOF
53716 if ac_fn_cxx_try_compile "$LINENO"; then :
53717 glibcxx_cv_func_fmodf_use=yes
53718 else
53719 glibcxx_cv_func_fmodf_use=no
53720 fi
53721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53722 ac_ext=c
53723 ac_cpp='$CPP $CPPFLAGS'
53724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53727
53728
53729 fi
53730
53731 fi
53732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53733 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53734
53735 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53736 for ac_func in fmodf
53737 do :
53738 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53739 if test "x$ac_cv_func_fmodf" = x""yes; then :
53740 cat >>confdefs.h <<_ACEOF
53741 #define HAVE_FMODF 1
53742 _ACEOF
53743
53744 fi
53745 done
53746
53747 else
53748
53749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53750 $as_echo_n "checking for _fmodf declaration... " >&6; }
53751 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53752 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53753 $as_echo_n "(cached) " >&6
53754 else
53755
53756
53757 ac_ext=cpp
53758 ac_cpp='$CXXCPP $CPPFLAGS'
53759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53762
53763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53764 /* end confdefs.h. */
53765 #include <math.h>
53766 int
53767 main ()
53768 {
53769 _fmodf(0, 0);
53770 ;
53771 return 0;
53772 }
53773 _ACEOF
53774 if ac_fn_cxx_try_compile "$LINENO"; then :
53775 glibcxx_cv_func__fmodf_use=yes
53776 else
53777 glibcxx_cv_func__fmodf_use=no
53778 fi
53779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53780 ac_ext=c
53781 ac_cpp='$CPP $CPPFLAGS'
53782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53785
53786
53787 fi
53788
53789 fi
53790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53791 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53792
53793 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53794 for ac_func in _fmodf
53795 do :
53796 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53797 if test "x$ac_cv_func__fmodf" = x""yes; then :
53798 cat >>confdefs.h <<_ACEOF
53799 #define HAVE__FMODF 1
53800 _ACEOF
53801
53802 fi
53803 done
53804
53805 fi
53806 fi
53807
53808
53809
53810
53811
53812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53813 $as_echo_n "checking for frexpf declaration... " >&6; }
53814 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53815 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53816 $as_echo_n "(cached) " >&6
53817 else
53818
53819
53820 ac_ext=cpp
53821 ac_cpp='$CXXCPP $CPPFLAGS'
53822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825
53826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53827 /* end confdefs.h. */
53828 #include <math.h>
53829 int
53830 main ()
53831 {
53832 frexpf(0, 0);
53833 ;
53834 return 0;
53835 }
53836 _ACEOF
53837 if ac_fn_cxx_try_compile "$LINENO"; then :
53838 glibcxx_cv_func_frexpf_use=yes
53839 else
53840 glibcxx_cv_func_frexpf_use=no
53841 fi
53842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53843 ac_ext=c
53844 ac_cpp='$CPP $CPPFLAGS'
53845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53848
53849
53850 fi
53851
53852 fi
53853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53854 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53855
53856 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53857 for ac_func in frexpf
53858 do :
53859 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53860 if test "x$ac_cv_func_frexpf" = x""yes; then :
53861 cat >>confdefs.h <<_ACEOF
53862 #define HAVE_FREXPF 1
53863 _ACEOF
53864
53865 fi
53866 done
53867
53868 else
53869
53870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53871 $as_echo_n "checking for _frexpf declaration... " >&6; }
53872 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53873 if test "${glibcxx_cv_func__frexpf_use+set}" = set; 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 <math.h>
53887 int
53888 main ()
53889 {
53890 _frexpf(0, 0);
53891 ;
53892 return 0;
53893 }
53894 _ACEOF
53895 if ac_fn_cxx_try_compile "$LINENO"; then :
53896 glibcxx_cv_func__frexpf_use=yes
53897 else
53898 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
53912 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53913
53914 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53915 for ac_func in _frexpf
53916 do :
53917 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53918 if test "x$ac_cv_func__frexpf" = x""yes; then :
53919 cat >>confdefs.h <<_ACEOF
53920 #define HAVE__FREXPF 1
53921 _ACEOF
53922
53923 fi
53924 done
53925
53926 fi
53927 fi
53928
53929
53930
53931
53932
53933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53934 $as_echo_n "checking for hypotf declaration... " >&6; }
53935 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53936 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53937 $as_echo_n "(cached) " >&6
53938 else
53939
53940
53941 ac_ext=cpp
53942 ac_cpp='$CXXCPP $CPPFLAGS'
53943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946
53947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53948 /* end confdefs.h. */
53949 #include <math.h>
53950 int
53951 main ()
53952 {
53953 hypotf(0, 0);
53954 ;
53955 return 0;
53956 }
53957 _ACEOF
53958 if ac_fn_cxx_try_compile "$LINENO"; then :
53959 glibcxx_cv_func_hypotf_use=yes
53960 else
53961 glibcxx_cv_func_hypotf_use=no
53962 fi
53963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53964 ac_ext=c
53965 ac_cpp='$CPP $CPPFLAGS'
53966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53969
53970
53971 fi
53972
53973 fi
53974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53975 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53976
53977 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53978 for ac_func in hypotf
53979 do :
53980 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53981 if test "x$ac_cv_func_hypotf" = x""yes; then :
53982 cat >>confdefs.h <<_ACEOF
53983 #define HAVE_HYPOTF 1
53984 _ACEOF
53985
53986 fi
53987 done
53988
53989 else
53990
53991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53992 $as_echo_n "checking for _hypotf declaration... " >&6; }
53993 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53994 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53995 $as_echo_n "(cached) " >&6
53996 else
53997
53998
53999 ac_ext=cpp
54000 ac_cpp='$CXXCPP $CPPFLAGS'
54001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54004
54005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54006 /* end confdefs.h. */
54007 #include <math.h>
54008 int
54009 main ()
54010 {
54011 _hypotf(0, 0);
54012 ;
54013 return 0;
54014 }
54015 _ACEOF
54016 if ac_fn_cxx_try_compile "$LINENO"; then :
54017 glibcxx_cv_func__hypotf_use=yes
54018 else
54019 glibcxx_cv_func__hypotf_use=no
54020 fi
54021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54022 ac_ext=c
54023 ac_cpp='$CPP $CPPFLAGS'
54024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54027
54028
54029 fi
54030
54031 fi
54032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54033 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54034
54035 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54036 for ac_func in _hypotf
54037 do :
54038 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54039 if test "x$ac_cv_func__hypotf" = x""yes; then :
54040 cat >>confdefs.h <<_ACEOF
54041 #define HAVE__HYPOTF 1
54042 _ACEOF
54043
54044 fi
54045 done
54046
54047 fi
54048 fi
54049
54050
54051
54052
54053
54054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54055 $as_echo_n "checking for ldexpf declaration... " >&6; }
54056 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54057 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54058 $as_echo_n "(cached) " >&6
54059 else
54060
54061
54062 ac_ext=cpp
54063 ac_cpp='$CXXCPP $CPPFLAGS'
54064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54067
54068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54069 /* end confdefs.h. */
54070 #include <math.h>
54071 int
54072 main ()
54073 {
54074 ldexpf(0, 0);
54075 ;
54076 return 0;
54077 }
54078 _ACEOF
54079 if ac_fn_cxx_try_compile "$LINENO"; then :
54080 glibcxx_cv_func_ldexpf_use=yes
54081 else
54082 glibcxx_cv_func_ldexpf_use=no
54083 fi
54084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54085 ac_ext=c
54086 ac_cpp='$CPP $CPPFLAGS'
54087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54090
54091
54092 fi
54093
54094 fi
54095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54096 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54097
54098 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54099 for ac_func in ldexpf
54100 do :
54101 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54102 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54103 cat >>confdefs.h <<_ACEOF
54104 #define HAVE_LDEXPF 1
54105 _ACEOF
54106
54107 fi
54108 done
54109
54110 else
54111
54112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54113 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54114 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54115 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54116 $as_echo_n "(cached) " >&6
54117 else
54118
54119
54120 ac_ext=cpp
54121 ac_cpp='$CXXCPP $CPPFLAGS'
54122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54125
54126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54127 /* end confdefs.h. */
54128 #include <math.h>
54129 int
54130 main ()
54131 {
54132 _ldexpf(0, 0);
54133 ;
54134 return 0;
54135 }
54136 _ACEOF
54137 if ac_fn_cxx_try_compile "$LINENO"; then :
54138 glibcxx_cv_func__ldexpf_use=yes
54139 else
54140 glibcxx_cv_func__ldexpf_use=no
54141 fi
54142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54143 ac_ext=c
54144 ac_cpp='$CPP $CPPFLAGS'
54145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54148
54149
54150 fi
54151
54152 fi
54153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54154 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54155
54156 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54157 for ac_func in _ldexpf
54158 do :
54159 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54160 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54161 cat >>confdefs.h <<_ACEOF
54162 #define HAVE__LDEXPF 1
54163 _ACEOF
54164
54165 fi
54166 done
54167
54168 fi
54169 fi
54170
54171
54172
54173
54174
54175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54176 $as_echo_n "checking for logf declaration... " >&6; }
54177 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54178 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54179 $as_echo_n "(cached) " >&6
54180 else
54181
54182
54183 ac_ext=cpp
54184 ac_cpp='$CXXCPP $CPPFLAGS'
54185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54188
54189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54190 /* end confdefs.h. */
54191 #include <math.h>
54192 #ifdef HAVE_IEEEFP_H
54193 #include <ieeefp.h>
54194 #endif
54195
54196 int
54197 main ()
54198 {
54199 logf(0);
54200 ;
54201 return 0;
54202 }
54203 _ACEOF
54204 if ac_fn_cxx_try_compile "$LINENO"; then :
54205 glibcxx_cv_func_logf_use=yes
54206 else
54207 glibcxx_cv_func_logf_use=no
54208 fi
54209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54210 ac_ext=c
54211 ac_cpp='$CPP $CPPFLAGS'
54212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54215
54216
54217 fi
54218
54219 fi
54220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54221 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54222
54223 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54224 for ac_func in logf
54225 do :
54226 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54227 if test "x$ac_cv_func_logf" = x""yes; then :
54228 cat >>confdefs.h <<_ACEOF
54229 #define HAVE_LOGF 1
54230 _ACEOF
54231
54232 fi
54233 done
54234
54235 else
54236
54237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54238 $as_echo_n "checking for _logf declaration... " >&6; }
54239 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54240 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54241 $as_echo_n "(cached) " >&6
54242 else
54243
54244
54245 ac_ext=cpp
54246 ac_cpp='$CXXCPP $CPPFLAGS'
54247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54250
54251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54252 /* end confdefs.h. */
54253 #include <math.h>
54254 #ifdef HAVE_IEEEFP_H
54255 #include <ieeefp.h>
54256 #endif
54257
54258 int
54259 main ()
54260 {
54261 _logf(0);
54262 ;
54263 return 0;
54264 }
54265 _ACEOF
54266 if ac_fn_cxx_try_compile "$LINENO"; then :
54267 glibcxx_cv_func__logf_use=yes
54268 else
54269 glibcxx_cv_func__logf_use=no
54270 fi
54271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54272 ac_ext=c
54273 ac_cpp='$CPP $CPPFLAGS'
54274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54277
54278
54279 fi
54280
54281 fi
54282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54283 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54284
54285 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54286 for ac_func in _logf
54287 do :
54288 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54289 if test "x$ac_cv_func__logf" = x""yes; then :
54290 cat >>confdefs.h <<_ACEOF
54291 #define HAVE__LOGF 1
54292 _ACEOF
54293
54294 fi
54295 done
54296
54297 fi
54298 fi
54299
54300
54301
54302
54303
54304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54305 $as_echo_n "checking for log10f declaration... " >&6; }
54306 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54307 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54308 $as_echo_n "(cached) " >&6
54309 else
54310
54311
54312 ac_ext=cpp
54313 ac_cpp='$CXXCPP $CPPFLAGS'
54314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54317
54318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54319 /* end confdefs.h. */
54320 #include <math.h>
54321 #ifdef HAVE_IEEEFP_H
54322 #include <ieeefp.h>
54323 #endif
54324
54325 int
54326 main ()
54327 {
54328 log10f(0);
54329 ;
54330 return 0;
54331 }
54332 _ACEOF
54333 if ac_fn_cxx_try_compile "$LINENO"; then :
54334 glibcxx_cv_func_log10f_use=yes
54335 else
54336 glibcxx_cv_func_log10f_use=no
54337 fi
54338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54339 ac_ext=c
54340 ac_cpp='$CPP $CPPFLAGS'
54341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54344
54345
54346 fi
54347
54348 fi
54349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54350 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54351
54352 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54353 for ac_func in log10f
54354 do :
54355 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54356 if test "x$ac_cv_func_log10f" = x""yes; then :
54357 cat >>confdefs.h <<_ACEOF
54358 #define HAVE_LOG10F 1
54359 _ACEOF
54360
54361 fi
54362 done
54363
54364 else
54365
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54367 $as_echo_n "checking for _log10f declaration... " >&6; }
54368 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54369 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54370 $as_echo_n "(cached) " >&6
54371 else
54372
54373
54374 ac_ext=cpp
54375 ac_cpp='$CXXCPP $CPPFLAGS'
54376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54379
54380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h. */
54382 #include <math.h>
54383 #ifdef HAVE_IEEEFP_H
54384 #include <ieeefp.h>
54385 #endif
54386
54387 int
54388 main ()
54389 {
54390 _log10f(0);
54391 ;
54392 return 0;
54393 }
54394 _ACEOF
54395 if ac_fn_cxx_try_compile "$LINENO"; then :
54396 glibcxx_cv_func__log10f_use=yes
54397 else
54398 glibcxx_cv_func__log10f_use=no
54399 fi
54400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54401 ac_ext=c
54402 ac_cpp='$CPP $CPPFLAGS'
54403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54406
54407
54408 fi
54409
54410 fi
54411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54412 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54413
54414 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54415 for ac_func in _log10f
54416 do :
54417 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54418 if test "x$ac_cv_func__log10f" = x""yes; then :
54419 cat >>confdefs.h <<_ACEOF
54420 #define HAVE__LOG10F 1
54421 _ACEOF
54422
54423 fi
54424 done
54425
54426 fi
54427 fi
54428
54429
54430
54431
54432
54433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54434 $as_echo_n "checking for modff declaration... " >&6; }
54435 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54436 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54437 $as_echo_n "(cached) " >&6
54438 else
54439
54440
54441 ac_ext=cpp
54442 ac_cpp='$CXXCPP $CPPFLAGS'
54443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54446
54447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54448 /* end confdefs.h. */
54449 #include <math.h>
54450 int
54451 main ()
54452 {
54453 modff(0, 0);
54454 ;
54455 return 0;
54456 }
54457 _ACEOF
54458 if ac_fn_cxx_try_compile "$LINENO"; then :
54459 glibcxx_cv_func_modff_use=yes
54460 else
54461 glibcxx_cv_func_modff_use=no
54462 fi
54463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54464 ac_ext=c
54465 ac_cpp='$CPP $CPPFLAGS'
54466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54469
54470
54471 fi
54472
54473 fi
54474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54475 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54476
54477 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54478 for ac_func in modff
54479 do :
54480 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54481 if test "x$ac_cv_func_modff" = x""yes; then :
54482 cat >>confdefs.h <<_ACEOF
54483 #define HAVE_MODFF 1
54484 _ACEOF
54485
54486 fi
54487 done
54488
54489 else
54490
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54492 $as_echo_n "checking for _modff declaration... " >&6; }
54493 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54494 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54495 $as_echo_n "(cached) " >&6
54496 else
54497
54498
54499 ac_ext=cpp
54500 ac_cpp='$CXXCPP $CPPFLAGS'
54501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54504
54505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54506 /* end confdefs.h. */
54507 #include <math.h>
54508 int
54509 main ()
54510 {
54511 _modff(0, 0);
54512 ;
54513 return 0;
54514 }
54515 _ACEOF
54516 if ac_fn_cxx_try_compile "$LINENO"; then :
54517 glibcxx_cv_func__modff_use=yes
54518 else
54519 glibcxx_cv_func__modff_use=no
54520 fi
54521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54522 ac_ext=c
54523 ac_cpp='$CPP $CPPFLAGS'
54524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54527
54528
54529 fi
54530
54531 fi
54532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54533 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54534
54535 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54536 for ac_func in _modff
54537 do :
54538 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54539 if test "x$ac_cv_func__modff" = x""yes; then :
54540 cat >>confdefs.h <<_ACEOF
54541 #define HAVE__MODFF 1
54542 _ACEOF
54543
54544 fi
54545 done
54546
54547 fi
54548 fi
54549
54550
54551
54552
54553
54554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54555 $as_echo_n "checking for modf declaration... " >&6; }
54556 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54557 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54558 $as_echo_n "(cached) " >&6
54559 else
54560
54561
54562 ac_ext=cpp
54563 ac_cpp='$CXXCPP $CPPFLAGS'
54564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54567
54568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54569 /* end confdefs.h. */
54570 #include <math.h>
54571 int
54572 main ()
54573 {
54574 modf(0, 0);
54575 ;
54576 return 0;
54577 }
54578 _ACEOF
54579 if ac_fn_cxx_try_compile "$LINENO"; then :
54580 glibcxx_cv_func_modf_use=yes
54581 else
54582 glibcxx_cv_func_modf_use=no
54583 fi
54584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54585 ac_ext=c
54586 ac_cpp='$CPP $CPPFLAGS'
54587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54590
54591
54592 fi
54593
54594 fi
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54596 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54597
54598 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54599 for ac_func in modf
54600 do :
54601 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54602 if test "x$ac_cv_func_modf" = x""yes; then :
54603 cat >>confdefs.h <<_ACEOF
54604 #define HAVE_MODF 1
54605 _ACEOF
54606
54607 fi
54608 done
54609
54610 else
54611
54612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54613 $as_echo_n "checking for _modf declaration... " >&6; }
54614 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54615 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54616 $as_echo_n "(cached) " >&6
54617 else
54618
54619
54620 ac_ext=cpp
54621 ac_cpp='$CXXCPP $CPPFLAGS'
54622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54625
54626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54627 /* end confdefs.h. */
54628 #include <math.h>
54629 int
54630 main ()
54631 {
54632 _modf(0, 0);
54633 ;
54634 return 0;
54635 }
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func__modf_use=yes
54639 else
54640 glibcxx_cv_func__modf_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__modf_use" >&5
54654 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54655
54656 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54657 for ac_func in _modf
54658 do :
54659 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54660 if test "x$ac_cv_func__modf" = x""yes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE__MODF 1
54663 _ACEOF
54664
54665 fi
54666 done
54667
54668 fi
54669 fi
54670
54671
54672
54673
54674
54675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54676 $as_echo_n "checking for powf declaration... " >&6; }
54677 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54678 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54679 $as_echo_n "(cached) " >&6
54680 else
54681
54682
54683 ac_ext=cpp
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54688
54689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54690 /* end confdefs.h. */
54691 #include <math.h>
54692 int
54693 main ()
54694 {
54695 powf(0, 0);
54696 ;
54697 return 0;
54698 }
54699 _ACEOF
54700 if ac_fn_cxx_try_compile "$LINENO"; then :
54701 glibcxx_cv_func_powf_use=yes
54702 else
54703 glibcxx_cv_func_powf_use=no
54704 fi
54705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54706 ac_ext=c
54707 ac_cpp='$CPP $CPPFLAGS'
54708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54711
54712
54713 fi
54714
54715 fi
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54717 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54718
54719 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54720 for ac_func in powf
54721 do :
54722 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54723 if test "x$ac_cv_func_powf" = x""yes; then :
54724 cat >>confdefs.h <<_ACEOF
54725 #define HAVE_POWF 1
54726 _ACEOF
54727
54728 fi
54729 done
54730
54731 else
54732
54733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54734 $as_echo_n "checking for _powf declaration... " >&6; }
54735 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54736 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54737 $as_echo_n "(cached) " >&6
54738 else
54739
54740
54741 ac_ext=cpp
54742 ac_cpp='$CXXCPP $CPPFLAGS'
54743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54746
54747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54748 /* end confdefs.h. */
54749 #include <math.h>
54750 int
54751 main ()
54752 {
54753 _powf(0, 0);
54754 ;
54755 return 0;
54756 }
54757 _ACEOF
54758 if ac_fn_cxx_try_compile "$LINENO"; then :
54759 glibcxx_cv_func__powf_use=yes
54760 else
54761 glibcxx_cv_func__powf_use=no
54762 fi
54763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54764 ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54769
54770
54771 fi
54772
54773 fi
54774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54775 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54776
54777 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54778 for ac_func in _powf
54779 do :
54780 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54781 if test "x$ac_cv_func__powf" = x""yes; then :
54782 cat >>confdefs.h <<_ACEOF
54783 #define HAVE__POWF 1
54784 _ACEOF
54785
54786 fi
54787 done
54788
54789 fi
54790 fi
54791
54792
54793
54794
54795
54796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54797 $as_echo_n "checking for sqrtf declaration... " >&6; }
54798 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54799 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54800 $as_echo_n "(cached) " >&6
54801 else
54802
54803
54804 ac_ext=cpp
54805 ac_cpp='$CXXCPP $CPPFLAGS'
54806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54809
54810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54811 /* end confdefs.h. */
54812 #include <math.h>
54813 #ifdef HAVE_IEEEFP_H
54814 #include <ieeefp.h>
54815 #endif
54816
54817 int
54818 main ()
54819 {
54820 sqrtf(0);
54821 ;
54822 return 0;
54823 }
54824 _ACEOF
54825 if ac_fn_cxx_try_compile "$LINENO"; then :
54826 glibcxx_cv_func_sqrtf_use=yes
54827 else
54828 glibcxx_cv_func_sqrtf_use=no
54829 fi
54830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54831 ac_ext=c
54832 ac_cpp='$CPP $CPPFLAGS'
54833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54836
54837
54838 fi
54839
54840 fi
54841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54842 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54843
54844 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54845 for ac_func in sqrtf
54846 do :
54847 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54848 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54849 cat >>confdefs.h <<_ACEOF
54850 #define HAVE_SQRTF 1
54851 _ACEOF
54852
54853 fi
54854 done
54855
54856 else
54857
54858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54859 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54860 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54861 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54862 $as_echo_n "(cached) " >&6
54863 else
54864
54865
54866 ac_ext=cpp
54867 ac_cpp='$CXXCPP $CPPFLAGS'
54868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54871
54872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54873 /* end confdefs.h. */
54874 #include <math.h>
54875 #ifdef HAVE_IEEEFP_H
54876 #include <ieeefp.h>
54877 #endif
54878
54879 int
54880 main ()
54881 {
54882 _sqrtf(0);
54883 ;
54884 return 0;
54885 }
54886 _ACEOF
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888 glibcxx_cv_func__sqrtf_use=yes
54889 else
54890 glibcxx_cv_func__sqrtf_use=no
54891 fi
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54893 ac_ext=c
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54898
54899
54900 fi
54901
54902 fi
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54904 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54905
54906 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54907 for ac_func in _sqrtf
54908 do :
54909 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54910 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54911 cat >>confdefs.h <<_ACEOF
54912 #define HAVE__SQRTF 1
54913 _ACEOF
54914
54915 fi
54916 done
54917
54918 fi
54919 fi
54920
54921
54922
54923
54924
54925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54926 $as_echo_n "checking for sincosf declaration... " >&6; }
54927 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54928 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54929 $as_echo_n "(cached) " >&6
54930 else
54931
54932
54933 ac_ext=cpp
54934 ac_cpp='$CXXCPP $CPPFLAGS'
54935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54938
54939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54940 /* end confdefs.h. */
54941 #include <math.h>
54942 int
54943 main ()
54944 {
54945 sincosf(0, 0, 0);
54946 ;
54947 return 0;
54948 }
54949 _ACEOF
54950 if ac_fn_cxx_try_compile "$LINENO"; then :
54951 glibcxx_cv_func_sincosf_use=yes
54952 else
54953 glibcxx_cv_func_sincosf_use=no
54954 fi
54955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54956 ac_ext=c
54957 ac_cpp='$CPP $CPPFLAGS'
54958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54961
54962
54963 fi
54964
54965 fi
54966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54967 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54968
54969 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54970 for ac_func in sincosf
54971 do :
54972 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54973 if test "x$ac_cv_func_sincosf" = x""yes; then :
54974 cat >>confdefs.h <<_ACEOF
54975 #define HAVE_SINCOSF 1
54976 _ACEOF
54977
54978 fi
54979 done
54980
54981 else
54982
54983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54984 $as_echo_n "checking for _sincosf declaration... " >&6; }
54985 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54986 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54987 $as_echo_n "(cached) " >&6
54988 else
54989
54990
54991 ac_ext=cpp
54992 ac_cpp='$CXXCPP $CPPFLAGS'
54993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54996
54997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54998 /* end confdefs.h. */
54999 #include <math.h>
55000 int
55001 main ()
55002 {
55003 _sincosf(0, 0, 0);
55004 ;
55005 return 0;
55006 }
55007 _ACEOF
55008 if ac_fn_cxx_try_compile "$LINENO"; then :
55009 glibcxx_cv_func__sincosf_use=yes
55010 else
55011 glibcxx_cv_func__sincosf_use=no
55012 fi
55013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55014 ac_ext=c
55015 ac_cpp='$CPP $CPPFLAGS'
55016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55019
55020
55021 fi
55022
55023 fi
55024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55025 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55026
55027 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55028 for ac_func in _sincosf
55029 do :
55030 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55031 if test "x$ac_cv_func__sincosf" = x""yes; then :
55032 cat >>confdefs.h <<_ACEOF
55033 #define HAVE__SINCOSF 1
55034 _ACEOF
55035
55036 fi
55037 done
55038
55039 fi
55040 fi
55041
55042
55043
55044
55045
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55047 $as_echo_n "checking for finitef declaration... " >&6; }
55048 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55049 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55050 $as_echo_n "(cached) " >&6
55051 else
55052
55053
55054 ac_ext=cpp
55055 ac_cpp='$CXXCPP $CPPFLAGS'
55056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55059
55060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55061 /* end confdefs.h. */
55062 #include <math.h>
55063 #ifdef HAVE_IEEEFP_H
55064 #include <ieeefp.h>
55065 #endif
55066
55067 int
55068 main ()
55069 {
55070 finitef(0);
55071 ;
55072 return 0;
55073 }
55074 _ACEOF
55075 if ac_fn_cxx_try_compile "$LINENO"; then :
55076 glibcxx_cv_func_finitef_use=yes
55077 else
55078 glibcxx_cv_func_finitef_use=no
55079 fi
55080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55081 ac_ext=c
55082 ac_cpp='$CPP $CPPFLAGS'
55083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55086
55087
55088 fi
55089
55090 fi
55091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55092 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55093
55094 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55095 for ac_func in finitef
55096 do :
55097 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55098 if test "x$ac_cv_func_finitef" = x""yes; then :
55099 cat >>confdefs.h <<_ACEOF
55100 #define HAVE_FINITEF 1
55101 _ACEOF
55102
55103 fi
55104 done
55105
55106 else
55107
55108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55109 $as_echo_n "checking for _finitef declaration... " >&6; }
55110 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55111 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55112 $as_echo_n "(cached) " >&6
55113 else
55114
55115
55116 ac_ext=cpp
55117 ac_cpp='$CXXCPP $CPPFLAGS'
55118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55121
55122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55123 /* end confdefs.h. */
55124 #include <math.h>
55125 #ifdef HAVE_IEEEFP_H
55126 #include <ieeefp.h>
55127 #endif
55128
55129 int
55130 main ()
55131 {
55132 _finitef(0);
55133 ;
55134 return 0;
55135 }
55136 _ACEOF
55137 if ac_fn_cxx_try_compile "$LINENO"; then :
55138 glibcxx_cv_func__finitef_use=yes
55139 else
55140 glibcxx_cv_func__finitef_use=no
55141 fi
55142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55143 ac_ext=c
55144 ac_cpp='$CPP $CPPFLAGS'
55145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55148
55149
55150 fi
55151
55152 fi
55153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55154 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55155
55156 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55157 for ac_func in _finitef
55158 do :
55159 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55160 if test "x$ac_cv_func__finitef" = x""yes; then :
55161 cat >>confdefs.h <<_ACEOF
55162 #define HAVE__FINITEF 1
55163 _ACEOF
55164
55165 fi
55166 done
55167
55168 fi
55169 fi
55170
55171
55172
55173
55174
55175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55176 $as_echo_n "checking for long double trig functions... " >&6; }
55177 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55178 $as_echo_n "(cached) " >&6
55179 else
55180
55181
55182 ac_ext=cpp
55183 ac_cpp='$CXXCPP $CPPFLAGS'
55184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55187
55188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55189 /* end confdefs.h. */
55190 #include <math.h>
55191 int
55192 main ()
55193 {
55194 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55195 ;
55196 return 0;
55197 }
55198 _ACEOF
55199 if ac_fn_cxx_try_compile "$LINENO"; then :
55200 glibcxx_cv_func_long_double_trig_use=yes
55201 else
55202 glibcxx_cv_func_long_double_trig_use=no
55203 fi
55204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55205 ac_ext=c
55206 ac_cpp='$CPP $CPPFLAGS'
55207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55210
55211 fi
55212
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55214 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55215 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55216 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55217 do :
55218 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55219 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55220 eval as_val=\$$as_ac_var
55221 if test "x$as_val" = x""yes; then :
55222 cat >>confdefs.h <<_ACEOF
55223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55224 _ACEOF
55225
55226 fi
55227 done
55228
55229 else
55230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55231 $as_echo_n "checking for _long double trig functions... " >&6; }
55232 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55233 $as_echo_n "(cached) " >&6
55234 else
55235
55236
55237 ac_ext=cpp
55238 ac_cpp='$CXXCPP $CPPFLAGS'
55239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55242
55243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55244 /* end confdefs.h. */
55245 #include <math.h>
55246 int
55247 main ()
55248 {
55249 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55250 ;
55251 return 0;
55252 }
55253 _ACEOF
55254 if ac_fn_cxx_try_compile "$LINENO"; then :
55255 glibcxx_cv_func__long_double_trig_use=yes
55256 else
55257 glibcxx_cv_func__long_double_trig_use=no
55258 fi
55259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55260 ac_ext=c
55261 ac_cpp='$CPP $CPPFLAGS'
55262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55265
55266 fi
55267
55268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55269 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55270 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55271 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55272 do :
55273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55275 eval as_val=\$$as_ac_var
55276 if test "x$as_val" = x""yes; then :
55277 cat >>confdefs.h <<_ACEOF
55278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55279 _ACEOF
55280
55281 fi
55282 done
55283
55284 fi
55285 fi
55286
55287
55288
55289
55290
55291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55292 $as_echo_n "checking for long double round functions... " >&6; }
55293 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55294 $as_echo_n "(cached) " >&6
55295 else
55296
55297
55298 ac_ext=cpp
55299 ac_cpp='$CXXCPP $CPPFLAGS'
55300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55303
55304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55305 /* end confdefs.h. */
55306 #include <math.h>
55307 int
55308 main ()
55309 {
55310 ceill (0); floorl (0);
55311 ;
55312 return 0;
55313 }
55314 _ACEOF
55315 if ac_fn_cxx_try_compile "$LINENO"; then :
55316 glibcxx_cv_func_long_double_round_use=yes
55317 else
55318 glibcxx_cv_func_long_double_round_use=no
55319 fi
55320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55321 ac_ext=c
55322 ac_cpp='$CPP $CPPFLAGS'
55323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55326
55327 fi
55328
55329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55330 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55331 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55332 for ac_func in ceill floorl
55333 do :
55334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55336 eval as_val=\$$as_ac_var
55337 if test "x$as_val" = x""yes; then :
55338 cat >>confdefs.h <<_ACEOF
55339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55340 _ACEOF
55341
55342 fi
55343 done
55344
55345 else
55346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55347 $as_echo_n "checking for _long double round functions... " >&6; }
55348 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55349 $as_echo_n "(cached) " >&6
55350 else
55351
55352
55353 ac_ext=cpp
55354 ac_cpp='$CXXCPP $CPPFLAGS'
55355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55358
55359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55360 /* end confdefs.h. */
55361 #include <math.h>
55362 int
55363 main ()
55364 {
55365 _ceill (0); _floorl (0);
55366 ;
55367 return 0;
55368 }
55369 _ACEOF
55370 if ac_fn_cxx_try_compile "$LINENO"; then :
55371 glibcxx_cv_func__long_double_round_use=yes
55372 else
55373 glibcxx_cv_func__long_double_round_use=no
55374 fi
55375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376 ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55381
55382 fi
55383
55384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55385 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55386 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55387 for ac_func in _ceill _floorl
55388 do :
55389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55391 eval as_val=\$$as_ac_var
55392 if test "x$as_val" = x""yes; then :
55393 cat >>confdefs.h <<_ACEOF
55394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55395 _ACEOF
55396
55397 fi
55398 done
55399
55400 fi
55401 fi
55402
55403
55404
55405
55406
55407
55408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55409 $as_echo_n "checking for isnanl declaration... " >&6; }
55410 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55411 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55412 $as_echo_n "(cached) " >&6
55413 else
55414
55415
55416 ac_ext=cpp
55417 ac_cpp='$CXXCPP $CPPFLAGS'
55418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55421
55422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55423 /* end confdefs.h. */
55424 #include <math.h>
55425 #ifdef HAVE_IEEEFP_H
55426 #include <ieeefp.h>
55427 #endif
55428
55429 int
55430 main ()
55431 {
55432 isnanl(0);
55433 ;
55434 return 0;
55435 }
55436 _ACEOF
55437 if ac_fn_cxx_try_compile "$LINENO"; then :
55438 glibcxx_cv_func_isnanl_use=yes
55439 else
55440 glibcxx_cv_func_isnanl_use=no
55441 fi
55442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55443 ac_ext=c
55444 ac_cpp='$CPP $CPPFLAGS'
55445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55448
55449
55450 fi
55451
55452 fi
55453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55454 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55455
55456 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55457 for ac_func in isnanl
55458 do :
55459 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55460 if test "x$ac_cv_func_isnanl" = x""yes; then :
55461 cat >>confdefs.h <<_ACEOF
55462 #define HAVE_ISNANL 1
55463 _ACEOF
55464
55465 fi
55466 done
55467
55468 else
55469
55470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55471 $as_echo_n "checking for _isnanl declaration... " >&6; }
55472 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55473 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55474 $as_echo_n "(cached) " >&6
55475 else
55476
55477
55478 ac_ext=cpp
55479 ac_cpp='$CXXCPP $CPPFLAGS'
55480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55483
55484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55485 /* end confdefs.h. */
55486 #include <math.h>
55487 #ifdef HAVE_IEEEFP_H
55488 #include <ieeefp.h>
55489 #endif
55490
55491 int
55492 main ()
55493 {
55494 _isnanl(0);
55495 ;
55496 return 0;
55497 }
55498 _ACEOF
55499 if ac_fn_cxx_try_compile "$LINENO"; then :
55500 glibcxx_cv_func__isnanl_use=yes
55501 else
55502 glibcxx_cv_func__isnanl_use=no
55503 fi
55504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55505 ac_ext=c
55506 ac_cpp='$CPP $CPPFLAGS'
55507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55510
55511
55512 fi
55513
55514 fi
55515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55516 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55517
55518 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55519 for ac_func in _isnanl
55520 do :
55521 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55522 if test "x$ac_cv_func__isnanl" = x""yes; then :
55523 cat >>confdefs.h <<_ACEOF
55524 #define HAVE__ISNANL 1
55525 _ACEOF
55526
55527 fi
55528 done
55529
55530 fi
55531 fi
55532
55533
55534
55535
55536
55537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55538 $as_echo_n "checking for isinfl declaration... " >&6; }
55539 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55540 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55541 $as_echo_n "(cached) " >&6
55542 else
55543
55544
55545 ac_ext=cpp
55546 ac_cpp='$CXXCPP $CPPFLAGS'
55547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55550
55551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55552 /* end confdefs.h. */
55553 #include <math.h>
55554 #ifdef HAVE_IEEEFP_H
55555 #include <ieeefp.h>
55556 #endif
55557
55558 int
55559 main ()
55560 {
55561 isinfl(0);
55562 ;
55563 return 0;
55564 }
55565 _ACEOF
55566 if ac_fn_cxx_try_compile "$LINENO"; then :
55567 glibcxx_cv_func_isinfl_use=yes
55568 else
55569 glibcxx_cv_func_isinfl_use=no
55570 fi
55571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55572 ac_ext=c
55573 ac_cpp='$CPP $CPPFLAGS'
55574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55577
55578
55579 fi
55580
55581 fi
55582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55583 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55584
55585 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55586 for ac_func in isinfl
55587 do :
55588 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55589 if test "x$ac_cv_func_isinfl" = x""yes; then :
55590 cat >>confdefs.h <<_ACEOF
55591 #define HAVE_ISINFL 1
55592 _ACEOF
55593
55594 fi
55595 done
55596
55597 else
55598
55599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55600 $as_echo_n "checking for _isinfl declaration... " >&6; }
55601 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55602 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55603 $as_echo_n "(cached) " >&6
55604 else
55605
55606
55607 ac_ext=cpp
55608 ac_cpp='$CXXCPP $CPPFLAGS'
55609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55612
55613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55614 /* end confdefs.h. */
55615 #include <math.h>
55616 #ifdef HAVE_IEEEFP_H
55617 #include <ieeefp.h>
55618 #endif
55619
55620 int
55621 main ()
55622 {
55623 _isinfl(0);
55624 ;
55625 return 0;
55626 }
55627 _ACEOF
55628 if ac_fn_cxx_try_compile "$LINENO"; then :
55629 glibcxx_cv_func__isinfl_use=yes
55630 else
55631 glibcxx_cv_func__isinfl_use=no
55632 fi
55633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55634 ac_ext=c
55635 ac_cpp='$CPP $CPPFLAGS'
55636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55639
55640
55641 fi
55642
55643 fi
55644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55645 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55646
55647 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55648 for ac_func in _isinfl
55649 do :
55650 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55651 if test "x$ac_cv_func__isinfl" = x""yes; then :
55652 cat >>confdefs.h <<_ACEOF
55653 #define HAVE__ISINFL 1
55654 _ACEOF
55655
55656 fi
55657 done
55658
55659 fi
55660 fi
55661
55662
55663
55664
55665
55666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55667 $as_echo_n "checking for atan2l declaration... " >&6; }
55668 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55669 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55670 $as_echo_n "(cached) " >&6
55671 else
55672
55673
55674 ac_ext=cpp
55675 ac_cpp='$CXXCPP $CPPFLAGS'
55676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55679
55680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55681 /* end confdefs.h. */
55682 #include <math.h>
55683 int
55684 main ()
55685 {
55686 atan2l(0, 0);
55687 ;
55688 return 0;
55689 }
55690 _ACEOF
55691 if ac_fn_cxx_try_compile "$LINENO"; then :
55692 glibcxx_cv_func_atan2l_use=yes
55693 else
55694 glibcxx_cv_func_atan2l_use=no
55695 fi
55696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55697 ac_ext=c
55698 ac_cpp='$CPP $CPPFLAGS'
55699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55702
55703
55704 fi
55705
55706 fi
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55708 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55709
55710 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55711 for ac_func in atan2l
55712 do :
55713 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55714 if test "x$ac_cv_func_atan2l" = x""yes; then :
55715 cat >>confdefs.h <<_ACEOF
55716 #define HAVE_ATAN2L 1
55717 _ACEOF
55718
55719 fi
55720 done
55721
55722 else
55723
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55725 $as_echo_n "checking for _atan2l declaration... " >&6; }
55726 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55727 if test "${glibcxx_cv_func__atan2l_use+set}" = set; 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 int
55742 main ()
55743 {
55744 _atan2l(0, 0);
55745 ;
55746 return 0;
55747 }
55748 _ACEOF
55749 if ac_fn_cxx_try_compile "$LINENO"; then :
55750 glibcxx_cv_func__atan2l_use=yes
55751 else
55752 glibcxx_cv_func__atan2l_use=no
55753 fi
55754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55755 ac_ext=c
55756 ac_cpp='$CPP $CPPFLAGS'
55757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55760
55761
55762 fi
55763
55764 fi
55765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55766 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55767
55768 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55769 for ac_func in _atan2l
55770 do :
55771 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55772 if test "x$ac_cv_func__atan2l" = x""yes; then :
55773 cat >>confdefs.h <<_ACEOF
55774 #define HAVE__ATAN2L 1
55775 _ACEOF
55776
55777 fi
55778 done
55779
55780 fi
55781 fi
55782
55783
55784
55785
55786
55787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55788 $as_echo_n "checking for expl declaration... " >&6; }
55789 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55790 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55791 $as_echo_n "(cached) " >&6
55792 else
55793
55794
55795 ac_ext=cpp
55796 ac_cpp='$CXXCPP $CPPFLAGS'
55797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55800
55801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55802 /* end confdefs.h. */
55803 #include <math.h>
55804 #ifdef HAVE_IEEEFP_H
55805 #include <ieeefp.h>
55806 #endif
55807
55808 int
55809 main ()
55810 {
55811 expl(0);
55812 ;
55813 return 0;
55814 }
55815 _ACEOF
55816 if ac_fn_cxx_try_compile "$LINENO"; then :
55817 glibcxx_cv_func_expl_use=yes
55818 else
55819 glibcxx_cv_func_expl_use=no
55820 fi
55821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55822 ac_ext=c
55823 ac_cpp='$CPP $CPPFLAGS'
55824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55827
55828
55829 fi
55830
55831 fi
55832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55833 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55834
55835 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55836 for ac_func in expl
55837 do :
55838 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55839 if test "x$ac_cv_func_expl" = x""yes; then :
55840 cat >>confdefs.h <<_ACEOF
55841 #define HAVE_EXPL 1
55842 _ACEOF
55843
55844 fi
55845 done
55846
55847 else
55848
55849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55850 $as_echo_n "checking for _expl declaration... " >&6; }
55851 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55852 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55853 $as_echo_n "(cached) " >&6
55854 else
55855
55856
55857 ac_ext=cpp
55858 ac_cpp='$CXXCPP $CPPFLAGS'
55859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55862
55863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55864 /* end confdefs.h. */
55865 #include <math.h>
55866 #ifdef HAVE_IEEEFP_H
55867 #include <ieeefp.h>
55868 #endif
55869
55870 int
55871 main ()
55872 {
55873 _expl(0);
55874 ;
55875 return 0;
55876 }
55877 _ACEOF
55878 if ac_fn_cxx_try_compile "$LINENO"; then :
55879 glibcxx_cv_func__expl_use=yes
55880 else
55881 glibcxx_cv_func__expl_use=no
55882 fi
55883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55884 ac_ext=c
55885 ac_cpp='$CPP $CPPFLAGS'
55886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55889
55890
55891 fi
55892
55893 fi
55894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55895 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55896
55897 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55898 for ac_func in _expl
55899 do :
55900 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55901 if test "x$ac_cv_func__expl" = x""yes; then :
55902 cat >>confdefs.h <<_ACEOF
55903 #define HAVE__EXPL 1
55904 _ACEOF
55905
55906 fi
55907 done
55908
55909 fi
55910 fi
55911
55912
55913
55914
55915
55916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55917 $as_echo_n "checking for fabsl declaration... " >&6; }
55918 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55919 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55920 $as_echo_n "(cached) " >&6
55921 else
55922
55923
55924 ac_ext=cpp
55925 ac_cpp='$CXXCPP $CPPFLAGS'
55926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55929
55930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55931 /* end confdefs.h. */
55932 #include <math.h>
55933 #ifdef HAVE_IEEEFP_H
55934 #include <ieeefp.h>
55935 #endif
55936
55937 int
55938 main ()
55939 {
55940 fabsl(0);
55941 ;
55942 return 0;
55943 }
55944 _ACEOF
55945 if ac_fn_cxx_try_compile "$LINENO"; then :
55946 glibcxx_cv_func_fabsl_use=yes
55947 else
55948 glibcxx_cv_func_fabsl_use=no
55949 fi
55950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55951 ac_ext=c
55952 ac_cpp='$CPP $CPPFLAGS'
55953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55956
55957
55958 fi
55959
55960 fi
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55962 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55963
55964 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55965 for ac_func in fabsl
55966 do :
55967 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55968 if test "x$ac_cv_func_fabsl" = x""yes; then :
55969 cat >>confdefs.h <<_ACEOF
55970 #define HAVE_FABSL 1
55971 _ACEOF
55972
55973 fi
55974 done
55975
55976 else
55977
55978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55979 $as_echo_n "checking for _fabsl declaration... " >&6; }
55980 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55981 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55982 $as_echo_n "(cached) " >&6
55983 else
55984
55985
55986 ac_ext=cpp
55987 ac_cpp='$CXXCPP $CPPFLAGS'
55988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55991
55992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55993 /* end confdefs.h. */
55994 #include <math.h>
55995 #ifdef HAVE_IEEEFP_H
55996 #include <ieeefp.h>
55997 #endif
55998
55999 int
56000 main ()
56001 {
56002 _fabsl(0);
56003 ;
56004 return 0;
56005 }
56006 _ACEOF
56007 if ac_fn_cxx_try_compile "$LINENO"; then :
56008 glibcxx_cv_func__fabsl_use=yes
56009 else
56010 glibcxx_cv_func__fabsl_use=no
56011 fi
56012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56013 ac_ext=c
56014 ac_cpp='$CPP $CPPFLAGS'
56015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56018
56019
56020 fi
56021
56022 fi
56023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56024 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56025
56026 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56027 for ac_func in _fabsl
56028 do :
56029 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56030 if test "x$ac_cv_func__fabsl" = x""yes; then :
56031 cat >>confdefs.h <<_ACEOF
56032 #define HAVE__FABSL 1
56033 _ACEOF
56034
56035 fi
56036 done
56037
56038 fi
56039 fi
56040
56041
56042
56043
56044
56045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56046 $as_echo_n "checking for fmodl declaration... " >&6; }
56047 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56048 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56049 $as_echo_n "(cached) " >&6
56050 else
56051
56052
56053 ac_ext=cpp
56054 ac_cpp='$CXXCPP $CPPFLAGS'
56055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56058
56059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56060 /* end confdefs.h. */
56061 #include <math.h>
56062 int
56063 main ()
56064 {
56065 fmodl(0, 0);
56066 ;
56067 return 0;
56068 }
56069 _ACEOF
56070 if ac_fn_cxx_try_compile "$LINENO"; then :
56071 glibcxx_cv_func_fmodl_use=yes
56072 else
56073 glibcxx_cv_func_fmodl_use=no
56074 fi
56075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56076 ac_ext=c
56077 ac_cpp='$CPP $CPPFLAGS'
56078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56081
56082
56083 fi
56084
56085 fi
56086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56087 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56088
56089 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56090 for ac_func in fmodl
56091 do :
56092 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56093 if test "x$ac_cv_func_fmodl" = x""yes; then :
56094 cat >>confdefs.h <<_ACEOF
56095 #define HAVE_FMODL 1
56096 _ACEOF
56097
56098 fi
56099 done
56100
56101 else
56102
56103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56104 $as_echo_n "checking for _fmodl declaration... " >&6; }
56105 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56106 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56107 $as_echo_n "(cached) " >&6
56108 else
56109
56110
56111 ac_ext=cpp
56112 ac_cpp='$CXXCPP $CPPFLAGS'
56113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56116
56117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56118 /* end confdefs.h. */
56119 #include <math.h>
56120 int
56121 main ()
56122 {
56123 _fmodl(0, 0);
56124 ;
56125 return 0;
56126 }
56127 _ACEOF
56128 if ac_fn_cxx_try_compile "$LINENO"; then :
56129 glibcxx_cv_func__fmodl_use=yes
56130 else
56131 glibcxx_cv_func__fmodl_use=no
56132 fi
56133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56134 ac_ext=c
56135 ac_cpp='$CPP $CPPFLAGS'
56136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56139
56140
56141 fi
56142
56143 fi
56144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56145 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56146
56147 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56148 for ac_func in _fmodl
56149 do :
56150 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56151 if test "x$ac_cv_func__fmodl" = x""yes; then :
56152 cat >>confdefs.h <<_ACEOF
56153 #define HAVE__FMODL 1
56154 _ACEOF
56155
56156 fi
56157 done
56158
56159 fi
56160 fi
56161
56162
56163
56164
56165
56166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56167 $as_echo_n "checking for frexpl declaration... " >&6; }
56168 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56169 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56170 $as_echo_n "(cached) " >&6
56171 else
56172
56173
56174 ac_ext=cpp
56175 ac_cpp='$CXXCPP $CPPFLAGS'
56176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56179
56180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56181 /* end confdefs.h. */
56182 #include <math.h>
56183 int
56184 main ()
56185 {
56186 frexpl(0, 0);
56187 ;
56188 return 0;
56189 }
56190 _ACEOF
56191 if ac_fn_cxx_try_compile "$LINENO"; then :
56192 glibcxx_cv_func_frexpl_use=yes
56193 else
56194 glibcxx_cv_func_frexpl_use=no
56195 fi
56196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56197 ac_ext=c
56198 ac_cpp='$CPP $CPPFLAGS'
56199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56202
56203
56204 fi
56205
56206 fi
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56208 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56209
56210 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56211 for ac_func in frexpl
56212 do :
56213 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56214 if test "x$ac_cv_func_frexpl" = x""yes; then :
56215 cat >>confdefs.h <<_ACEOF
56216 #define HAVE_FREXPL 1
56217 _ACEOF
56218
56219 fi
56220 done
56221
56222 else
56223
56224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56225 $as_echo_n "checking for _frexpl declaration... " >&6; }
56226 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56227 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56228 $as_echo_n "(cached) " >&6
56229 else
56230
56231
56232 ac_ext=cpp
56233 ac_cpp='$CXXCPP $CPPFLAGS'
56234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56237
56238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56239 /* end confdefs.h. */
56240 #include <math.h>
56241 int
56242 main ()
56243 {
56244 _frexpl(0, 0);
56245 ;
56246 return 0;
56247 }
56248 _ACEOF
56249 if ac_fn_cxx_try_compile "$LINENO"; then :
56250 glibcxx_cv_func__frexpl_use=yes
56251 else
56252 glibcxx_cv_func__frexpl_use=no
56253 fi
56254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56255 ac_ext=c
56256 ac_cpp='$CPP $CPPFLAGS'
56257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56260
56261
56262 fi
56263
56264 fi
56265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56266 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56267
56268 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56269 for ac_func in _frexpl
56270 do :
56271 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56272 if test "x$ac_cv_func__frexpl" = x""yes; then :
56273 cat >>confdefs.h <<_ACEOF
56274 #define HAVE__FREXPL 1
56275 _ACEOF
56276
56277 fi
56278 done
56279
56280 fi
56281 fi
56282
56283
56284
56285
56286
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56288 $as_echo_n "checking for hypotl declaration... " >&6; }
56289 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56290 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56291 $as_echo_n "(cached) " >&6
56292 else
56293
56294
56295 ac_ext=cpp
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56300
56301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56302 /* end confdefs.h. */
56303 #include <math.h>
56304 int
56305 main ()
56306 {
56307 hypotl(0, 0);
56308 ;
56309 return 0;
56310 }
56311 _ACEOF
56312 if ac_fn_cxx_try_compile "$LINENO"; then :
56313 glibcxx_cv_func_hypotl_use=yes
56314 else
56315 glibcxx_cv_func_hypotl_use=no
56316 fi
56317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56318 ac_ext=c
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56323
56324
56325 fi
56326
56327 fi
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56329 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56330
56331 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56332 for ac_func in hypotl
56333 do :
56334 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56335 if test "x$ac_cv_func_hypotl" = x""yes; then :
56336 cat >>confdefs.h <<_ACEOF
56337 #define HAVE_HYPOTL 1
56338 _ACEOF
56339
56340 fi
56341 done
56342
56343 else
56344
56345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56346 $as_echo_n "checking for _hypotl declaration... " >&6; }
56347 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56348 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56349 $as_echo_n "(cached) " >&6
56350 else
56351
56352
56353 ac_ext=cpp
56354 ac_cpp='$CXXCPP $CPPFLAGS'
56355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56358
56359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56360 /* end confdefs.h. */
56361 #include <math.h>
56362 int
56363 main ()
56364 {
56365 _hypotl(0, 0);
56366 ;
56367 return 0;
56368 }
56369 _ACEOF
56370 if ac_fn_cxx_try_compile "$LINENO"; then :
56371 glibcxx_cv_func__hypotl_use=yes
56372 else
56373 glibcxx_cv_func__hypotl_use=no
56374 fi
56375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56376 ac_ext=c
56377 ac_cpp='$CPP $CPPFLAGS'
56378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56381
56382
56383 fi
56384
56385 fi
56386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56387 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56388
56389 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56390 for ac_func in _hypotl
56391 do :
56392 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56393 if test "x$ac_cv_func__hypotl" = x""yes; then :
56394 cat >>confdefs.h <<_ACEOF
56395 #define HAVE__HYPOTL 1
56396 _ACEOF
56397
56398 fi
56399 done
56400
56401 fi
56402 fi
56403
56404
56405
56406
56407
56408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56409 $as_echo_n "checking for ldexpl declaration... " >&6; }
56410 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56411 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56412 $as_echo_n "(cached) " >&6
56413 else
56414
56415
56416 ac_ext=cpp
56417 ac_cpp='$CXXCPP $CPPFLAGS'
56418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56421
56422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56423 /* end confdefs.h. */
56424 #include <math.h>
56425 int
56426 main ()
56427 {
56428 ldexpl(0, 0);
56429 ;
56430 return 0;
56431 }
56432 _ACEOF
56433 if ac_fn_cxx_try_compile "$LINENO"; then :
56434 glibcxx_cv_func_ldexpl_use=yes
56435 else
56436 glibcxx_cv_func_ldexpl_use=no
56437 fi
56438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56439 ac_ext=c
56440 ac_cpp='$CPP $CPPFLAGS'
56441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56444
56445
56446 fi
56447
56448 fi
56449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56450 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56451
56452 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56453 for ac_func in ldexpl
56454 do :
56455 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56456 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56457 cat >>confdefs.h <<_ACEOF
56458 #define HAVE_LDEXPL 1
56459 _ACEOF
56460
56461 fi
56462 done
56463
56464 else
56465
56466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56467 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56468 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56469 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56470 $as_echo_n "(cached) " >&6
56471 else
56472
56473
56474 ac_ext=cpp
56475 ac_cpp='$CXXCPP $CPPFLAGS'
56476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56479
56480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56481 /* end confdefs.h. */
56482 #include <math.h>
56483 int
56484 main ()
56485 {
56486 _ldexpl(0, 0);
56487 ;
56488 return 0;
56489 }
56490 _ACEOF
56491 if ac_fn_cxx_try_compile "$LINENO"; then :
56492 glibcxx_cv_func__ldexpl_use=yes
56493 else
56494 glibcxx_cv_func__ldexpl_use=no
56495 fi
56496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56497 ac_ext=c
56498 ac_cpp='$CPP $CPPFLAGS'
56499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502
56503
56504 fi
56505
56506 fi
56507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56508 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56509
56510 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56511 for ac_func in _ldexpl
56512 do :
56513 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56514 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56515 cat >>confdefs.h <<_ACEOF
56516 #define HAVE__LDEXPL 1
56517 _ACEOF
56518
56519 fi
56520 done
56521
56522 fi
56523 fi
56524
56525
56526
56527
56528
56529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56530 $as_echo_n "checking for logl declaration... " >&6; }
56531 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56532 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56533 $as_echo_n "(cached) " >&6
56534 else
56535
56536
56537 ac_ext=cpp
56538 ac_cpp='$CXXCPP $CPPFLAGS'
56539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56542
56543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56544 /* end confdefs.h. */
56545 #include <math.h>
56546 #ifdef HAVE_IEEEFP_H
56547 #include <ieeefp.h>
56548 #endif
56549
56550 int
56551 main ()
56552 {
56553 logl(0);
56554 ;
56555 return 0;
56556 }
56557 _ACEOF
56558 if ac_fn_cxx_try_compile "$LINENO"; then :
56559 glibcxx_cv_func_logl_use=yes
56560 else
56561 glibcxx_cv_func_logl_use=no
56562 fi
56563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56564 ac_ext=c
56565 ac_cpp='$CPP $CPPFLAGS'
56566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56569
56570
56571 fi
56572
56573 fi
56574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56575 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56576
56577 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56578 for ac_func in logl
56579 do :
56580 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56581 if test "x$ac_cv_func_logl" = x""yes; then :
56582 cat >>confdefs.h <<_ACEOF
56583 #define HAVE_LOGL 1
56584 _ACEOF
56585
56586 fi
56587 done
56588
56589 else
56590
56591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56592 $as_echo_n "checking for _logl declaration... " >&6; }
56593 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56594 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56595 $as_echo_n "(cached) " >&6
56596 else
56597
56598
56599 ac_ext=cpp
56600 ac_cpp='$CXXCPP $CPPFLAGS'
56601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56604
56605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56606 /* end confdefs.h. */
56607 #include <math.h>
56608 #ifdef HAVE_IEEEFP_H
56609 #include <ieeefp.h>
56610 #endif
56611
56612 int
56613 main ()
56614 {
56615 _logl(0);
56616 ;
56617 return 0;
56618 }
56619 _ACEOF
56620 if ac_fn_cxx_try_compile "$LINENO"; then :
56621 glibcxx_cv_func__logl_use=yes
56622 else
56623 glibcxx_cv_func__logl_use=no
56624 fi
56625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56626 ac_ext=c
56627 ac_cpp='$CPP $CPPFLAGS'
56628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56631
56632
56633 fi
56634
56635 fi
56636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56637 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56638
56639 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56640 for ac_func in _logl
56641 do :
56642 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56643 if test "x$ac_cv_func__logl" = x""yes; then :
56644 cat >>confdefs.h <<_ACEOF
56645 #define HAVE__LOGL 1
56646 _ACEOF
56647
56648 fi
56649 done
56650
56651 fi
56652 fi
56653
56654
56655
56656
56657
56658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56659 $as_echo_n "checking for log10l declaration... " >&6; }
56660 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56661 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56662 $as_echo_n "(cached) " >&6
56663 else
56664
56665
56666 ac_ext=cpp
56667 ac_cpp='$CXXCPP $CPPFLAGS'
56668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56671
56672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56673 /* end confdefs.h. */
56674 #include <math.h>
56675 #ifdef HAVE_IEEEFP_H
56676 #include <ieeefp.h>
56677 #endif
56678
56679 int
56680 main ()
56681 {
56682 log10l(0);
56683 ;
56684 return 0;
56685 }
56686 _ACEOF
56687 if ac_fn_cxx_try_compile "$LINENO"; then :
56688 glibcxx_cv_func_log10l_use=yes
56689 else
56690 glibcxx_cv_func_log10l_use=no
56691 fi
56692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56693 ac_ext=c
56694 ac_cpp='$CPP $CPPFLAGS'
56695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56698
56699
56700 fi
56701
56702 fi
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56704 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56705
56706 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56707 for ac_func in log10l
56708 do :
56709 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56710 if test "x$ac_cv_func_log10l" = x""yes; then :
56711 cat >>confdefs.h <<_ACEOF
56712 #define HAVE_LOG10L 1
56713 _ACEOF
56714
56715 fi
56716 done
56717
56718 else
56719
56720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56721 $as_echo_n "checking for _log10l declaration... " >&6; }
56722 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56723 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56724 $as_echo_n "(cached) " >&6
56725 else
56726
56727
56728 ac_ext=cpp
56729 ac_cpp='$CXXCPP $CPPFLAGS'
56730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56733
56734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h. */
56736 #include <math.h>
56737 #ifdef HAVE_IEEEFP_H
56738 #include <ieeefp.h>
56739 #endif
56740
56741 int
56742 main ()
56743 {
56744 _log10l(0);
56745 ;
56746 return 0;
56747 }
56748 _ACEOF
56749 if ac_fn_cxx_try_compile "$LINENO"; then :
56750 glibcxx_cv_func__log10l_use=yes
56751 else
56752 glibcxx_cv_func__log10l_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__log10l_use" >&5
56766 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56767
56768 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56769 for ac_func in _log10l
56770 do :
56771 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56772 if test "x$ac_cv_func__log10l" = x""yes; then :
56773 cat >>confdefs.h <<_ACEOF
56774 #define HAVE__LOG10L 1
56775 _ACEOF
56776
56777 fi
56778 done
56779
56780 fi
56781 fi
56782
56783
56784
56785
56786
56787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56788 $as_echo_n "checking for modfl declaration... " >&6; }
56789 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56790 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56791 $as_echo_n "(cached) " >&6
56792 else
56793
56794
56795 ac_ext=cpp
56796 ac_cpp='$CXXCPP $CPPFLAGS'
56797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56800
56801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56802 /* end confdefs.h. */
56803 #include <math.h>
56804 int
56805 main ()
56806 {
56807 modfl(0, 0);
56808 ;
56809 return 0;
56810 }
56811 _ACEOF
56812 if ac_fn_cxx_try_compile "$LINENO"; then :
56813 glibcxx_cv_func_modfl_use=yes
56814 else
56815 glibcxx_cv_func_modfl_use=no
56816 fi
56817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56818 ac_ext=c
56819 ac_cpp='$CPP $CPPFLAGS'
56820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56823
56824
56825 fi
56826
56827 fi
56828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56829 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56830
56831 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56832 for ac_func in modfl
56833 do :
56834 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56835 if test "x$ac_cv_func_modfl" = x""yes; then :
56836 cat >>confdefs.h <<_ACEOF
56837 #define HAVE_MODFL 1
56838 _ACEOF
56839
56840 fi
56841 done
56842
56843 else
56844
56845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56846 $as_echo_n "checking for _modfl declaration... " >&6; }
56847 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56848 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56849 $as_echo_n "(cached) " >&6
56850 else
56851
56852
56853 ac_ext=cpp
56854 ac_cpp='$CXXCPP $CPPFLAGS'
56855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56858
56859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56860 /* end confdefs.h. */
56861 #include <math.h>
56862 int
56863 main ()
56864 {
56865 _modfl(0, 0);
56866 ;
56867 return 0;
56868 }
56869 _ACEOF
56870 if ac_fn_cxx_try_compile "$LINENO"; then :
56871 glibcxx_cv_func__modfl_use=yes
56872 else
56873 glibcxx_cv_func__modfl_use=no
56874 fi
56875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56876 ac_ext=c
56877 ac_cpp='$CPP $CPPFLAGS'
56878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56881
56882
56883 fi
56884
56885 fi
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56887 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56888
56889 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56890 for ac_func in _modfl
56891 do :
56892 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56893 if test "x$ac_cv_func__modfl" = x""yes; then :
56894 cat >>confdefs.h <<_ACEOF
56895 #define HAVE__MODFL 1
56896 _ACEOF
56897
56898 fi
56899 done
56900
56901 fi
56902 fi
56903
56904
56905
56906
56907
56908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56909 $as_echo_n "checking for powl declaration... " >&6; }
56910 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56911 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56912 $as_echo_n "(cached) " >&6
56913 else
56914
56915
56916 ac_ext=cpp
56917 ac_cpp='$CXXCPP $CPPFLAGS'
56918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56921
56922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56923 /* end confdefs.h. */
56924 #include <math.h>
56925 int
56926 main ()
56927 {
56928 powl(0, 0);
56929 ;
56930 return 0;
56931 }
56932 _ACEOF
56933 if ac_fn_cxx_try_compile "$LINENO"; then :
56934 glibcxx_cv_func_powl_use=yes
56935 else
56936 glibcxx_cv_func_powl_use=no
56937 fi
56938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56939 ac_ext=c
56940 ac_cpp='$CPP $CPPFLAGS'
56941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56944
56945
56946 fi
56947
56948 fi
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56950 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56951
56952 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56953 for ac_func in powl
56954 do :
56955 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56956 if test "x$ac_cv_func_powl" = x""yes; then :
56957 cat >>confdefs.h <<_ACEOF
56958 #define HAVE_POWL 1
56959 _ACEOF
56960
56961 fi
56962 done
56963
56964 else
56965
56966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56967 $as_echo_n "checking for _powl declaration... " >&6; }
56968 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56969 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56970 $as_echo_n "(cached) " >&6
56971 else
56972
56973
56974 ac_ext=cpp
56975 ac_cpp='$CXXCPP $CPPFLAGS'
56976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56979
56980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56981 /* end confdefs.h. */
56982 #include <math.h>
56983 int
56984 main ()
56985 {
56986 _powl(0, 0);
56987 ;
56988 return 0;
56989 }
56990 _ACEOF
56991 if ac_fn_cxx_try_compile "$LINENO"; then :
56992 glibcxx_cv_func__powl_use=yes
56993 else
56994 glibcxx_cv_func__powl_use=no
56995 fi
56996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56997 ac_ext=c
56998 ac_cpp='$CPP $CPPFLAGS'
56999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57002
57003
57004 fi
57005
57006 fi
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57008 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57009
57010 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57011 for ac_func in _powl
57012 do :
57013 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57014 if test "x$ac_cv_func__powl" = x""yes; then :
57015 cat >>confdefs.h <<_ACEOF
57016 #define HAVE__POWL 1
57017 _ACEOF
57018
57019 fi
57020 done
57021
57022 fi
57023 fi
57024
57025
57026
57027
57028
57029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57030 $as_echo_n "checking for sqrtl declaration... " >&6; }
57031 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57032 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57033 $as_echo_n "(cached) " >&6
57034 else
57035
57036
57037 ac_ext=cpp
57038 ac_cpp='$CXXCPP $CPPFLAGS'
57039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57042
57043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57044 /* end confdefs.h. */
57045 #include <math.h>
57046 #ifdef HAVE_IEEEFP_H
57047 #include <ieeefp.h>
57048 #endif
57049
57050 int
57051 main ()
57052 {
57053 sqrtl(0);
57054 ;
57055 return 0;
57056 }
57057 _ACEOF
57058 if ac_fn_cxx_try_compile "$LINENO"; then :
57059 glibcxx_cv_func_sqrtl_use=yes
57060 else
57061 glibcxx_cv_func_sqrtl_use=no
57062 fi
57063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57064 ac_ext=c
57065 ac_cpp='$CPP $CPPFLAGS'
57066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57069
57070
57071 fi
57072
57073 fi
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57075 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57076
57077 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57078 for ac_func in sqrtl
57079 do :
57080 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57081 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57082 cat >>confdefs.h <<_ACEOF
57083 #define HAVE_SQRTL 1
57084 _ACEOF
57085
57086 fi
57087 done
57088
57089 else
57090
57091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57092 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57093 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57094 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57095 $as_echo_n "(cached) " >&6
57096 else
57097
57098
57099 ac_ext=cpp
57100 ac_cpp='$CXXCPP $CPPFLAGS'
57101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57104
57105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57106 /* end confdefs.h. */
57107 #include <math.h>
57108 #ifdef HAVE_IEEEFP_H
57109 #include <ieeefp.h>
57110 #endif
57111
57112 int
57113 main ()
57114 {
57115 _sqrtl(0);
57116 ;
57117 return 0;
57118 }
57119 _ACEOF
57120 if ac_fn_cxx_try_compile "$LINENO"; then :
57121 glibcxx_cv_func__sqrtl_use=yes
57122 else
57123 glibcxx_cv_func__sqrtl_use=no
57124 fi
57125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57126 ac_ext=c
57127 ac_cpp='$CPP $CPPFLAGS'
57128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57131
57132
57133 fi
57134
57135 fi
57136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57137 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57138
57139 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57140 for ac_func in _sqrtl
57141 do :
57142 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57143 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57144 cat >>confdefs.h <<_ACEOF
57145 #define HAVE__SQRTL 1
57146 _ACEOF
57147
57148 fi
57149 done
57150
57151 fi
57152 fi
57153
57154
57155
57156
57157
57158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57159 $as_echo_n "checking for sincosl declaration... " >&6; }
57160 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57161 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57162 $as_echo_n "(cached) " >&6
57163 else
57164
57165
57166 ac_ext=cpp
57167 ac_cpp='$CXXCPP $CPPFLAGS'
57168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57171
57172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57173 /* end confdefs.h. */
57174 #include <math.h>
57175 int
57176 main ()
57177 {
57178 sincosl(0, 0, 0);
57179 ;
57180 return 0;
57181 }
57182 _ACEOF
57183 if ac_fn_cxx_try_compile "$LINENO"; then :
57184 glibcxx_cv_func_sincosl_use=yes
57185 else
57186 glibcxx_cv_func_sincosl_use=no
57187 fi
57188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57189 ac_ext=c
57190 ac_cpp='$CPP $CPPFLAGS'
57191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57194
57195
57196 fi
57197
57198 fi
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57200 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57201
57202 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57203 for ac_func in sincosl
57204 do :
57205 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57206 if test "x$ac_cv_func_sincosl" = x""yes; then :
57207 cat >>confdefs.h <<_ACEOF
57208 #define HAVE_SINCOSL 1
57209 _ACEOF
57210
57211 fi
57212 done
57213
57214 else
57215
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57217 $as_echo_n "checking for _sincosl declaration... " >&6; }
57218 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57219 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57220 $as_echo_n "(cached) " >&6
57221 else
57222
57223
57224 ac_ext=cpp
57225 ac_cpp='$CXXCPP $CPPFLAGS'
57226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57229
57230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57231 /* end confdefs.h. */
57232 #include <math.h>
57233 int
57234 main ()
57235 {
57236 _sincosl(0, 0, 0);
57237 ;
57238 return 0;
57239 }
57240 _ACEOF
57241 if ac_fn_cxx_try_compile "$LINENO"; then :
57242 glibcxx_cv_func__sincosl_use=yes
57243 else
57244 glibcxx_cv_func__sincosl_use=no
57245 fi
57246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57247 ac_ext=c
57248 ac_cpp='$CPP $CPPFLAGS'
57249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57252
57253
57254 fi
57255
57256 fi
57257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57258 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57259
57260 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57261 for ac_func in _sincosl
57262 do :
57263 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57264 if test "x$ac_cv_func__sincosl" = x""yes; then :
57265 cat >>confdefs.h <<_ACEOF
57266 #define HAVE__SINCOSL 1
57267 _ACEOF
57268
57269 fi
57270 done
57271
57272 fi
57273 fi
57274
57275
57276
57277
57278
57279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57280 $as_echo_n "checking for finitel declaration... " >&6; }
57281 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57282 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57283 $as_echo_n "(cached) " >&6
57284 else
57285
57286
57287 ac_ext=cpp
57288 ac_cpp='$CXXCPP $CPPFLAGS'
57289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57292
57293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57294 /* end confdefs.h. */
57295 #include <math.h>
57296 #ifdef HAVE_IEEEFP_H
57297 #include <ieeefp.h>
57298 #endif
57299
57300 int
57301 main ()
57302 {
57303 finitel(0);
57304 ;
57305 return 0;
57306 }
57307 _ACEOF
57308 if ac_fn_cxx_try_compile "$LINENO"; then :
57309 glibcxx_cv_func_finitel_use=yes
57310 else
57311 glibcxx_cv_func_finitel_use=no
57312 fi
57313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57314 ac_ext=c
57315 ac_cpp='$CPP $CPPFLAGS'
57316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57319
57320
57321 fi
57322
57323 fi
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57325 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57326
57327 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57328 for ac_func in finitel
57329 do :
57330 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57331 if test "x$ac_cv_func_finitel" = x""yes; then :
57332 cat >>confdefs.h <<_ACEOF
57333 #define HAVE_FINITEL 1
57334 _ACEOF
57335
57336 fi
57337 done
57338
57339 else
57340
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57342 $as_echo_n "checking for _finitel declaration... " >&6; }
57343 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57344 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57345 $as_echo_n "(cached) " >&6
57346 else
57347
57348
57349 ac_ext=cpp
57350 ac_cpp='$CXXCPP $CPPFLAGS'
57351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57354
57355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57356 /* end confdefs.h. */
57357 #include <math.h>
57358 #ifdef HAVE_IEEEFP_H
57359 #include <ieeefp.h>
57360 #endif
57361
57362 int
57363 main ()
57364 {
57365 _finitel(0);
57366 ;
57367 return 0;
57368 }
57369 _ACEOF
57370 if ac_fn_cxx_try_compile "$LINENO"; then :
57371 glibcxx_cv_func__finitel_use=yes
57372 else
57373 glibcxx_cv_func__finitel_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__finitel_use" >&5
57387 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57388
57389 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57390 for ac_func in _finitel
57391 do :
57392 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57393 if test "x$ac_cv_func__finitel" = x""yes; then :
57394 cat >>confdefs.h <<_ACEOF
57395 #define HAVE__FINITEL 1
57396 _ACEOF
57397
57398 fi
57399 done
57400
57401 fi
57402 fi
57403
57404
57405
57406
57407 LIBS="$ac_save_LIBS"
57408 CXXFLAGS="$ac_save_CXXFLAGS"
57409
57410
57411 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57412 ac_save_CXXFLAGS="$CXXFLAGS"
57413 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57414
57415
57416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57417 $as_echo_n "checking for strtold declaration... " >&6; }
57418 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57419 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57420 $as_echo_n "(cached) " >&6
57421 else
57422
57423
57424 ac_ext=cpp
57425 ac_cpp='$CXXCPP $CPPFLAGS'
57426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57429
57430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57431 /* end confdefs.h. */
57432 #include <stdlib.h>
57433 int
57434 main ()
57435 {
57436 strtold(0, 0);
57437 ;
57438 return 0;
57439 }
57440 _ACEOF
57441 if ac_fn_cxx_try_compile "$LINENO"; then :
57442 glibcxx_cv_func_strtold_use=yes
57443 else
57444 glibcxx_cv_func_strtold_use=no
57445 fi
57446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57447 ac_ext=c
57448 ac_cpp='$CPP $CPPFLAGS'
57449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57452
57453
57454 fi
57455
57456 fi
57457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57458 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57459 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57460 for ac_func in strtold
57461 do :
57462 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57463 if test "x$ac_cv_func_strtold" = x""yes; then :
57464 cat >>confdefs.h <<_ACEOF
57465 #define HAVE_STRTOLD 1
57466 _ACEOF
57467
57468 fi
57469 done
57470
57471 fi
57472
57473
57474
57475
57476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57477 $as_echo_n "checking for strtof declaration... " >&6; }
57478 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57479 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57480 $as_echo_n "(cached) " >&6
57481 else
57482
57483
57484 ac_ext=cpp
57485 ac_cpp='$CXXCPP $CPPFLAGS'
57486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57489
57490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57491 /* end confdefs.h. */
57492 #include <stdlib.h>
57493 int
57494 main ()
57495 {
57496 strtof(0, 0);
57497 ;
57498 return 0;
57499 }
57500 _ACEOF
57501 if ac_fn_cxx_try_compile "$LINENO"; then :
57502 glibcxx_cv_func_strtof_use=yes
57503 else
57504 glibcxx_cv_func_strtof_use=no
57505 fi
57506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57507 ac_ext=c
57508 ac_cpp='$CPP $CPPFLAGS'
57509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57512
57513
57514 fi
57515
57516 fi
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57518 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57519 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57520 for ac_func in strtof
57521 do :
57522 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57523 if test "x$ac_cv_func_strtof" = x""yes; then :
57524 cat >>confdefs.h <<_ACEOF
57525 #define HAVE_STRTOF 1
57526 _ACEOF
57527
57528 fi
57529 done
57530
57531 fi
57532
57533
57534
57535
57536 CXXFLAGS="$ac_save_CXXFLAGS"
57537
57538 ;;
57539 *-netbsd*)
57540 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57541
57542
57543 # If we're not using GNU ld, then there's no point in even trying these
57544 # tests. Check for that first. We should have already tested for gld
57545 # by now (in libtool), but require it now just to be safe...
57546 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57547 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57548
57549
57550
57551 # The name set by libtool depends on the version of libtool. Shame on us
57552 # for depending on an impl detail, but c'est la vie. Older versions used
57553 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57554 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57555 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57556 # set (hence we're using an older libtool), then set it.
57557 if test x${with_gnu_ld+set} != xset; then
57558 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57559 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57560 with_gnu_ld=no
57561 else
57562 with_gnu_ld=$ac_cv_prog_gnu_ld
57563 fi
57564 fi
57565
57566 # Start by getting the version number. I think the libtool test already
57567 # does some of this, but throws away the result.
57568 glibcxx_ld_is_gold=no
57569 if test x"$with_gnu_ld" = x"yes"; then
57570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57571 $as_echo_n "checking for ld version... " >&6; }
57572
57573 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57574 glibcxx_ld_is_gold=yes
57575 fi
57576 ldver=`$LD --version 2>/dev/null |
57577 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57578
57579 glibcxx_gnu_ld_version=`echo $ldver | \
57580 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57582 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57583 fi
57584
57585 # Set --gc-sections.
57586 glibcxx_have_gc_sections=no
57587 if test "$glibcxx_ld_is_gold" = "yes"; then
57588 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57589 glibcxx_have_gc_sections=yes
57590 fi
57591 else
57592 glibcxx_gcsections_min_ld=21602
57593 if test x"$with_gnu_ld" = x"yes" &&
57594 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57595 glibcxx_have_gc_sections=yes
57596 fi
57597 fi
57598 if test "$glibcxx_have_gc_sections" = "yes"; then
57599 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57600 # NB: This flag only works reliably after 2.16.1. Configure tests
57601 # for this are difficult, so hard wire a value that should work.
57602
57603 ac_test_CFLAGS="${CFLAGS+set}"
57604 ac_save_CFLAGS="$CFLAGS"
57605 CFLAGS='-Wl,--gc-sections'
57606
57607 # Check for -Wl,--gc-sections
57608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57609 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57610 if test x$gcc_no_link = xyes; then
57611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57612 fi
57613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57614 /* end confdefs.h. */
57615 int one(void) { return 1; }
57616 int two(void) { return 2; }
57617
57618 int
57619 main ()
57620 {
57621 two();
57622 ;
57623 return 0;
57624 }
57625 _ACEOF
57626 if ac_fn_c_try_link "$LINENO"; then :
57627 ac_gcsections=yes
57628 else
57629 ac_gcsections=no
57630 fi
57631 rm -f core conftest.err conftest.$ac_objext \
57632 conftest$ac_exeext conftest.$ac_ext
57633 if test "$ac_gcsections" = "yes"; then
57634 rm -f conftest.c
57635 touch conftest.c
57636 if $CC -c conftest.c; then
57637 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57638 grep "Warning: gc-sections option ignored" > /dev/null; then
57639 ac_gcsections=no
57640 fi
57641 fi
57642 rm -f conftest.c conftest.o conftest
57643 fi
57644 if test "$ac_gcsections" = "yes"; then
57645 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57646 fi
57647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57648 $as_echo "$ac_gcsections" >&6; }
57649
57650 if test "$ac_test_CFLAGS" = set; then
57651 CFLAGS="$ac_save_CFLAGS"
57652 else
57653 # this is the suspicious part
57654 CFLAGS=''
57655 fi
57656 fi
57657
57658 # Set -z,relro.
57659 # Note this is only for shared objects.
57660 ac_ld_relro=no
57661 if test x"$with_gnu_ld" = x"yes"; then
57662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57663 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57664 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57665 if test -n "$cxx_z_relo"; then
57666 OPT_LDFLAGS="-Wl,-z,relro"
57667 ac_ld_relro=yes
57668 fi
57669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57670 $as_echo "$ac_ld_relro" >&6; }
57671 fi
57672
57673 # Set linker optimization flags.
57674 if test x"$with_gnu_ld" = x"yes"; then
57675 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57676 fi
57677
57678
57679
57680
57681 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57682
57683 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57684
57685 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57686
57687 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57688
57689 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57690
57691 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57692
57693 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57694
57695 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57696
57697 if test x"long_double_math_on_this_cpu" = x"yes"; then
57698 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57699
57700 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57701
57702 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57703
57704 fi
57705 ;;
57706 *-qnx6.1* | *-qnx6.2*)
57707 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57708
57709
57710 # If we're not using GNU ld, then there's no point in even trying these
57711 # tests. Check for that first. We should have already tested for gld
57712 # by now (in libtool), but require it now just to be safe...
57713 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57714 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57715
57716
57717
57718 # The name set by libtool depends on the version of libtool. Shame on us
57719 # for depending on an impl detail, but c'est la vie. Older versions used
57720 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57721 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57722 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57723 # set (hence we're using an older libtool), then set it.
57724 if test x${with_gnu_ld+set} != xset; then
57725 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57726 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57727 with_gnu_ld=no
57728 else
57729 with_gnu_ld=$ac_cv_prog_gnu_ld
57730 fi
57731 fi
57732
57733 # Start by getting the version number. I think the libtool test already
57734 # does some of this, but throws away the result.
57735 glibcxx_ld_is_gold=no
57736 if test x"$with_gnu_ld" = x"yes"; then
57737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57738 $as_echo_n "checking for ld version... " >&6; }
57739
57740 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57741 glibcxx_ld_is_gold=yes
57742 fi
57743 ldver=`$LD --version 2>/dev/null |
57744 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57745
57746 glibcxx_gnu_ld_version=`echo $ldver | \
57747 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57749 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57750 fi
57751
57752 # Set --gc-sections.
57753 glibcxx_have_gc_sections=no
57754 if test "$glibcxx_ld_is_gold" = "yes"; then
57755 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57756 glibcxx_have_gc_sections=yes
57757 fi
57758 else
57759 glibcxx_gcsections_min_ld=21602
57760 if test x"$with_gnu_ld" = x"yes" &&
57761 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57762 glibcxx_have_gc_sections=yes
57763 fi
57764 fi
57765 if test "$glibcxx_have_gc_sections" = "yes"; then
57766 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57767 # NB: This flag only works reliably after 2.16.1. Configure tests
57768 # for this are difficult, so hard wire a value that should work.
57769
57770 ac_test_CFLAGS="${CFLAGS+set}"
57771 ac_save_CFLAGS="$CFLAGS"
57772 CFLAGS='-Wl,--gc-sections'
57773
57774 # Check for -Wl,--gc-sections
57775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57776 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57777 if test x$gcc_no_link = xyes; then
57778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57779 fi
57780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57781 /* end confdefs.h. */
57782 int one(void) { return 1; }
57783 int two(void) { return 2; }
57784
57785 int
57786 main ()
57787 {
57788 two();
57789 ;
57790 return 0;
57791 }
57792 _ACEOF
57793 if ac_fn_c_try_link "$LINENO"; then :
57794 ac_gcsections=yes
57795 else
57796 ac_gcsections=no
57797 fi
57798 rm -f core conftest.err conftest.$ac_objext \
57799 conftest$ac_exeext conftest.$ac_ext
57800 if test "$ac_gcsections" = "yes"; then
57801 rm -f conftest.c
57802 touch conftest.c
57803 if $CC -c conftest.c; then
57804 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57805 grep "Warning: gc-sections option ignored" > /dev/null; then
57806 ac_gcsections=no
57807 fi
57808 fi
57809 rm -f conftest.c conftest.o conftest
57810 fi
57811 if test "$ac_gcsections" = "yes"; then
57812 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57813 fi
57814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57815 $as_echo "$ac_gcsections" >&6; }
57816
57817 if test "$ac_test_CFLAGS" = set; then
57818 CFLAGS="$ac_save_CFLAGS"
57819 else
57820 # this is the suspicious part
57821 CFLAGS=''
57822 fi
57823 fi
57824
57825 # Set -z,relro.
57826 # Note this is only for shared objects.
57827 ac_ld_relro=no
57828 if test x"$with_gnu_ld" = x"yes"; then
57829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57830 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57831 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57832 if test -n "$cxx_z_relo"; then
57833 OPT_LDFLAGS="-Wl,-z,relro"
57834 ac_ld_relro=yes
57835 fi
57836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57837 $as_echo "$ac_ld_relro" >&6; }
57838 fi
57839
57840 # Set linker optimization flags.
57841 if test x"$with_gnu_ld" = x"yes"; then
57842 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57843 fi
57844
57845
57846
57847
57848 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57849
57850 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57851
57852 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57853
57854 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57855
57856 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57857
57858 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57859
57860 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57861
57862 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57863
57864 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57865
57866 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57867
57868 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57869
57870 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57871
57872 ;;
57873 *-rtems*)
57874
57875 # All these tests are for C++; save the language and the compiler flags.
57876 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57877 # found in GLIBCXX_CONFIGURE.
57878
57879 ac_ext=cpp
57880 ac_cpp='$CXXCPP $CPPFLAGS'
57881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884
57885 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57886 ac_save_CXXFLAGS="$CXXFLAGS"
57887
57888 # Check for maintainer-mode bits.
57889 if test x"$USE_MAINTAINER_MODE" = xno; then
57890 WERROR=''
57891 else
57892 WERROR='-Werror'
57893 fi
57894
57895 # Check for -ffunction-sections -fdata-sections
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57897 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57898 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57900 /* end confdefs.h. */
57901 int foo; void bar() { };
57902 int
57903 main ()
57904 {
57905
57906 ;
57907 return 0;
57908 }
57909 _ACEOF
57910 if ac_fn_cxx_try_compile "$LINENO"; then :
57911 ac_fdsections=yes
57912 else
57913 ac_fdsections=no
57914 fi
57915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57916 if test "$ac_test_CXXFLAGS" = set; then
57917 CXXFLAGS="$ac_save_CXXFLAGS"
57918 else
57919 # this is the suspicious part
57920 CXXFLAGS=''
57921 fi
57922 if test x"$ac_fdsections" = x"yes"; then
57923 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57924 fi
57925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57926 $as_echo "$ac_fdsections" >&6; }
57927
57928 ac_ext=c
57929 ac_cpp='$CPP $CPPFLAGS'
57930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57933
57934
57935
57936
57937
57938 # If we're not using GNU ld, then there's no point in even trying these
57939 # tests. Check for that first. We should have already tested for gld
57940 # by now (in libtool), but require it now just to be safe...
57941 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57942 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57943
57944
57945
57946 # The name set by libtool depends on the version of libtool. Shame on us
57947 # for depending on an impl detail, but c'est la vie. Older versions used
57948 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57949 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57950 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57951 # set (hence we're using an older libtool), then set it.
57952 if test x${with_gnu_ld+set} != xset; then
57953 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57954 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57955 with_gnu_ld=no
57956 else
57957 with_gnu_ld=$ac_cv_prog_gnu_ld
57958 fi
57959 fi
57960
57961 # Start by getting the version number. I think the libtool test already
57962 # does some of this, but throws away the result.
57963 glibcxx_ld_is_gold=no
57964 if test x"$with_gnu_ld" = x"yes"; then
57965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57966 $as_echo_n "checking for ld version... " >&6; }
57967
57968 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57969 glibcxx_ld_is_gold=yes
57970 fi
57971 ldver=`$LD --version 2>/dev/null |
57972 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57973
57974 glibcxx_gnu_ld_version=`echo $ldver | \
57975 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57977 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57978 fi
57979
57980 # Set --gc-sections.
57981 glibcxx_have_gc_sections=no
57982 if test "$glibcxx_ld_is_gold" = "yes"; then
57983 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57984 glibcxx_have_gc_sections=yes
57985 fi
57986 else
57987 glibcxx_gcsections_min_ld=21602
57988 if test x"$with_gnu_ld" = x"yes" &&
57989 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57990 glibcxx_have_gc_sections=yes
57991 fi
57992 fi
57993 if test "$glibcxx_have_gc_sections" = "yes"; then
57994 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57995 # NB: This flag only works reliably after 2.16.1. Configure tests
57996 # for this are difficult, so hard wire a value that should work.
57997
57998 ac_test_CFLAGS="${CFLAGS+set}"
57999 ac_save_CFLAGS="$CFLAGS"
58000 CFLAGS='-Wl,--gc-sections'
58001
58002 # Check for -Wl,--gc-sections
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58004 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58005 if test x$gcc_no_link = xyes; then
58006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58007 fi
58008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58009 /* end confdefs.h. */
58010 int one(void) { return 1; }
58011 int two(void) { return 2; }
58012
58013 int
58014 main ()
58015 {
58016 two();
58017 ;
58018 return 0;
58019 }
58020 _ACEOF
58021 if ac_fn_c_try_link "$LINENO"; then :
58022 ac_gcsections=yes
58023 else
58024 ac_gcsections=no
58025 fi
58026 rm -f core conftest.err conftest.$ac_objext \
58027 conftest$ac_exeext conftest.$ac_ext
58028 if test "$ac_gcsections" = "yes"; then
58029 rm -f conftest.c
58030 touch conftest.c
58031 if $CC -c conftest.c; then
58032 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58033 grep "Warning: gc-sections option ignored" > /dev/null; then
58034 ac_gcsections=no
58035 fi
58036 fi
58037 rm -f conftest.c conftest.o conftest
58038 fi
58039 if test "$ac_gcsections" = "yes"; then
58040 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58041 fi
58042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58043 $as_echo "$ac_gcsections" >&6; }
58044
58045 if test "$ac_test_CFLAGS" = set; then
58046 CFLAGS="$ac_save_CFLAGS"
58047 else
58048 # this is the suspicious part
58049 CFLAGS=''
58050 fi
58051 fi
58052
58053 # Set -z,relro.
58054 # Note this is only for shared objects.
58055 ac_ld_relro=no
58056 if test x"$with_gnu_ld" = x"yes"; then
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58058 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58059 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58060 if test -n "$cxx_z_relo"; then
58061 OPT_LDFLAGS="-Wl,-z,relro"
58062 ac_ld_relro=yes
58063 fi
58064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58065 $as_echo "$ac_ld_relro" >&6; }
58066 fi
58067
58068 # Set linker optimization flags.
58069 if test x"$with_gnu_ld" = x"yes"; then
58070 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58071 fi
58072
58073
58074
58075
58076
58077 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58078 ac_save_CXXFLAGS="$CXXFLAGS"
58079 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58080
58081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58082 $as_echo_n "checking for sin in -lm... " >&6; }
58083 if test "${ac_cv_lib_m_sin+set}" = set; then :
58084 $as_echo_n "(cached) " >&6
58085 else
58086 ac_check_lib_save_LIBS=$LIBS
58087 LIBS="-lm $LIBS"
58088 if test x$gcc_no_link = xyes; then
58089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58090 fi
58091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58092 /* end confdefs.h. */
58093
58094 /* Override any GCC internal prototype to avoid an error.
58095 Use char because int might match the return type of a GCC
58096 builtin and then its argument prototype would still apply. */
58097 #ifdef __cplusplus
58098 extern "C"
58099 #endif
58100 char sin ();
58101 int
58102 main ()
58103 {
58104 return sin ();
58105 ;
58106 return 0;
58107 }
58108 _ACEOF
58109 if ac_fn_c_try_link "$LINENO"; then :
58110 ac_cv_lib_m_sin=yes
58111 else
58112 ac_cv_lib_m_sin=no
58113 fi
58114 rm -f core conftest.err conftest.$ac_objext \
58115 conftest$ac_exeext conftest.$ac_ext
58116 LIBS=$ac_check_lib_save_LIBS
58117 fi
58118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58119 $as_echo "$ac_cv_lib_m_sin" >&6; }
58120 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58121 libm="-lm"
58122 fi
58123
58124 ac_save_LIBS="$LIBS"
58125 LIBS="$LIBS $libm"
58126
58127
58128
58129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58130 $as_echo_n "checking for isinf declaration... " >&6; }
58131 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58132 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58133 $as_echo_n "(cached) " >&6
58134 else
58135
58136
58137 ac_ext=cpp
58138 ac_cpp='$CXXCPP $CPPFLAGS'
58139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58142
58143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58144 /* end confdefs.h. */
58145 #include <math.h>
58146 #ifdef HAVE_IEEEFP_H
58147 #include <ieeefp.h>
58148 #endif
58149
58150 int
58151 main ()
58152 {
58153 isinf(0);
58154 ;
58155 return 0;
58156 }
58157 _ACEOF
58158 if ac_fn_cxx_try_compile "$LINENO"; then :
58159 glibcxx_cv_func_isinf_use=yes
58160 else
58161 glibcxx_cv_func_isinf_use=no
58162 fi
58163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58164 ac_ext=c
58165 ac_cpp='$CPP $CPPFLAGS'
58166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58169
58170
58171 fi
58172
58173 fi
58174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58175 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58176
58177 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58178 for ac_func in isinf
58179 do :
58180 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58181 if test "x$ac_cv_func_isinf" = x""yes; then :
58182 cat >>confdefs.h <<_ACEOF
58183 #define HAVE_ISINF 1
58184 _ACEOF
58185
58186 fi
58187 done
58188
58189 else
58190
58191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58192 $as_echo_n "checking for _isinf declaration... " >&6; }
58193 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58194 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58195 $as_echo_n "(cached) " >&6
58196 else
58197
58198
58199 ac_ext=cpp
58200 ac_cpp='$CXXCPP $CPPFLAGS'
58201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58204
58205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58206 /* end confdefs.h. */
58207 #include <math.h>
58208 #ifdef HAVE_IEEEFP_H
58209 #include <ieeefp.h>
58210 #endif
58211
58212 int
58213 main ()
58214 {
58215 _isinf(0);
58216 ;
58217 return 0;
58218 }
58219 _ACEOF
58220 if ac_fn_cxx_try_compile "$LINENO"; then :
58221 glibcxx_cv_func__isinf_use=yes
58222 else
58223 glibcxx_cv_func__isinf_use=no
58224 fi
58225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58226 ac_ext=c
58227 ac_cpp='$CPP $CPPFLAGS'
58228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58231
58232
58233 fi
58234
58235 fi
58236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58237 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58238
58239 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58240 for ac_func in _isinf
58241 do :
58242 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58243 if test "x$ac_cv_func__isinf" = x""yes; then :
58244 cat >>confdefs.h <<_ACEOF
58245 #define HAVE__ISINF 1
58246 _ACEOF
58247
58248 fi
58249 done
58250
58251 fi
58252 fi
58253
58254
58255
58256
58257
58258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58259 $as_echo_n "checking for isnan declaration... " >&6; }
58260 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58261 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58262 $as_echo_n "(cached) " >&6
58263 else
58264
58265
58266 ac_ext=cpp
58267 ac_cpp='$CXXCPP $CPPFLAGS'
58268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58271
58272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58273 /* end confdefs.h. */
58274 #include <math.h>
58275 #ifdef HAVE_IEEEFP_H
58276 #include <ieeefp.h>
58277 #endif
58278
58279 int
58280 main ()
58281 {
58282 isnan(0);
58283 ;
58284 return 0;
58285 }
58286 _ACEOF
58287 if ac_fn_cxx_try_compile "$LINENO"; then :
58288 glibcxx_cv_func_isnan_use=yes
58289 else
58290 glibcxx_cv_func_isnan_use=no
58291 fi
58292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58293 ac_ext=c
58294 ac_cpp='$CPP $CPPFLAGS'
58295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58298
58299
58300 fi
58301
58302 fi
58303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58304 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58305
58306 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58307 for ac_func in isnan
58308 do :
58309 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58310 if test "x$ac_cv_func_isnan" = x""yes; then :
58311 cat >>confdefs.h <<_ACEOF
58312 #define HAVE_ISNAN 1
58313 _ACEOF
58314
58315 fi
58316 done
58317
58318 else
58319
58320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58321 $as_echo_n "checking for _isnan declaration... " >&6; }
58322 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58323 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58324 $as_echo_n "(cached) " >&6
58325 else
58326
58327
58328 ac_ext=cpp
58329 ac_cpp='$CXXCPP $CPPFLAGS'
58330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58333
58334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58335 /* end confdefs.h. */
58336 #include <math.h>
58337 #ifdef HAVE_IEEEFP_H
58338 #include <ieeefp.h>
58339 #endif
58340
58341 int
58342 main ()
58343 {
58344 _isnan(0);
58345 ;
58346 return 0;
58347 }
58348 _ACEOF
58349 if ac_fn_cxx_try_compile "$LINENO"; then :
58350 glibcxx_cv_func__isnan_use=yes
58351 else
58352 glibcxx_cv_func__isnan_use=no
58353 fi
58354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58355 ac_ext=c
58356 ac_cpp='$CPP $CPPFLAGS'
58357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58360
58361
58362 fi
58363
58364 fi
58365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58366 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58367
58368 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58369 for ac_func in _isnan
58370 do :
58371 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58372 if test "x$ac_cv_func__isnan" = x""yes; then :
58373 cat >>confdefs.h <<_ACEOF
58374 #define HAVE__ISNAN 1
58375 _ACEOF
58376
58377 fi
58378 done
58379
58380 fi
58381 fi
58382
58383
58384
58385
58386
58387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58388 $as_echo_n "checking for finite declaration... " >&6; }
58389 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58390 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58391 $as_echo_n "(cached) " >&6
58392 else
58393
58394
58395 ac_ext=cpp
58396 ac_cpp='$CXXCPP $CPPFLAGS'
58397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58400
58401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58402 /* end confdefs.h. */
58403 #include <math.h>
58404 #ifdef HAVE_IEEEFP_H
58405 #include <ieeefp.h>
58406 #endif
58407
58408 int
58409 main ()
58410 {
58411 finite(0);
58412 ;
58413 return 0;
58414 }
58415 _ACEOF
58416 if ac_fn_cxx_try_compile "$LINENO"; then :
58417 glibcxx_cv_func_finite_use=yes
58418 else
58419 glibcxx_cv_func_finite_use=no
58420 fi
58421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58422 ac_ext=c
58423 ac_cpp='$CPP $CPPFLAGS'
58424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58427
58428
58429 fi
58430
58431 fi
58432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58433 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58434
58435 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58436 for ac_func in finite
58437 do :
58438 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58439 if test "x$ac_cv_func_finite" = x""yes; then :
58440 cat >>confdefs.h <<_ACEOF
58441 #define HAVE_FINITE 1
58442 _ACEOF
58443
58444 fi
58445 done
58446
58447 else
58448
58449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58450 $as_echo_n "checking for _finite declaration... " >&6; }
58451 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58452 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58453 $as_echo_n "(cached) " >&6
58454 else
58455
58456
58457 ac_ext=cpp
58458 ac_cpp='$CXXCPP $CPPFLAGS'
58459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58462
58463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58464 /* end confdefs.h. */
58465 #include <math.h>
58466 #ifdef HAVE_IEEEFP_H
58467 #include <ieeefp.h>
58468 #endif
58469
58470 int
58471 main ()
58472 {
58473 _finite(0);
58474 ;
58475 return 0;
58476 }
58477 _ACEOF
58478 if ac_fn_cxx_try_compile "$LINENO"; then :
58479 glibcxx_cv_func__finite_use=yes
58480 else
58481 glibcxx_cv_func__finite_use=no
58482 fi
58483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58484 ac_ext=c
58485 ac_cpp='$CPP $CPPFLAGS'
58486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58489
58490
58491 fi
58492
58493 fi
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58495 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58496
58497 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58498 for ac_func in _finite
58499 do :
58500 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58501 if test "x$ac_cv_func__finite" = x""yes; then :
58502 cat >>confdefs.h <<_ACEOF
58503 #define HAVE__FINITE 1
58504 _ACEOF
58505
58506 fi
58507 done
58508
58509 fi
58510 fi
58511
58512
58513
58514
58515
58516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58517 $as_echo_n "checking for sincos declaration... " >&6; }
58518 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58519 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58520 $as_echo_n "(cached) " >&6
58521 else
58522
58523
58524 ac_ext=cpp
58525 ac_cpp='$CXXCPP $CPPFLAGS'
58526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58529
58530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58531 /* end confdefs.h. */
58532 #include <math.h>
58533 int
58534 main ()
58535 {
58536 sincos(0, 0, 0);
58537 ;
58538 return 0;
58539 }
58540 _ACEOF
58541 if ac_fn_cxx_try_compile "$LINENO"; then :
58542 glibcxx_cv_func_sincos_use=yes
58543 else
58544 glibcxx_cv_func_sincos_use=no
58545 fi
58546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58547 ac_ext=c
58548 ac_cpp='$CPP $CPPFLAGS'
58549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58552
58553
58554 fi
58555
58556 fi
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58558 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58559
58560 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58561 for ac_func in sincos
58562 do :
58563 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58564 if test "x$ac_cv_func_sincos" = x""yes; then :
58565 cat >>confdefs.h <<_ACEOF
58566 #define HAVE_SINCOS 1
58567 _ACEOF
58568
58569 fi
58570 done
58571
58572 else
58573
58574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58575 $as_echo_n "checking for _sincos declaration... " >&6; }
58576 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58577 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58578 $as_echo_n "(cached) " >&6
58579 else
58580
58581
58582 ac_ext=cpp
58583 ac_cpp='$CXXCPP $CPPFLAGS'
58584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58587
58588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58589 /* end confdefs.h. */
58590 #include <math.h>
58591 int
58592 main ()
58593 {
58594 _sincos(0, 0, 0);
58595 ;
58596 return 0;
58597 }
58598 _ACEOF
58599 if ac_fn_cxx_try_compile "$LINENO"; then :
58600 glibcxx_cv_func__sincos_use=yes
58601 else
58602 glibcxx_cv_func__sincos_use=no
58603 fi
58604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58605 ac_ext=c
58606 ac_cpp='$CPP $CPPFLAGS'
58607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58610
58611
58612 fi
58613
58614 fi
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58616 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58617
58618 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58619 for ac_func in _sincos
58620 do :
58621 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58622 if test "x$ac_cv_func__sincos" = x""yes; then :
58623 cat >>confdefs.h <<_ACEOF
58624 #define HAVE__SINCOS 1
58625 _ACEOF
58626
58627 fi
58628 done
58629
58630 fi
58631 fi
58632
58633
58634
58635
58636
58637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58638 $as_echo_n "checking for fpclass declaration... " >&6; }
58639 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58640 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58641 $as_echo_n "(cached) " >&6
58642 else
58643
58644
58645 ac_ext=cpp
58646 ac_cpp='$CXXCPP $CPPFLAGS'
58647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58650
58651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58652 /* end confdefs.h. */
58653 #include <math.h>
58654 #ifdef HAVE_IEEEFP_H
58655 #include <ieeefp.h>
58656 #endif
58657
58658 int
58659 main ()
58660 {
58661 fpclass(0);
58662 ;
58663 return 0;
58664 }
58665 _ACEOF
58666 if ac_fn_cxx_try_compile "$LINENO"; then :
58667 glibcxx_cv_func_fpclass_use=yes
58668 else
58669 glibcxx_cv_func_fpclass_use=no
58670 fi
58671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58672 ac_ext=c
58673 ac_cpp='$CPP $CPPFLAGS'
58674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58677
58678
58679 fi
58680
58681 fi
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58683 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58684
58685 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58686 for ac_func in fpclass
58687 do :
58688 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58689 if test "x$ac_cv_func_fpclass" = x""yes; then :
58690 cat >>confdefs.h <<_ACEOF
58691 #define HAVE_FPCLASS 1
58692 _ACEOF
58693
58694 fi
58695 done
58696
58697 else
58698
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58700 $as_echo_n "checking for _fpclass declaration... " >&6; }
58701 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58702 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58703 $as_echo_n "(cached) " >&6
58704 else
58705
58706
58707 ac_ext=cpp
58708 ac_cpp='$CXXCPP $CPPFLAGS'
58709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58712
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 #include <math.h>
58716 #ifdef HAVE_IEEEFP_H
58717 #include <ieeefp.h>
58718 #endif
58719
58720 int
58721 main ()
58722 {
58723 _fpclass(0);
58724 ;
58725 return 0;
58726 }
58727 _ACEOF
58728 if ac_fn_cxx_try_compile "$LINENO"; then :
58729 glibcxx_cv_func__fpclass_use=yes
58730 else
58731 glibcxx_cv_func__fpclass_use=no
58732 fi
58733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58734 ac_ext=c
58735 ac_cpp='$CPP $CPPFLAGS'
58736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58739
58740
58741 fi
58742
58743 fi
58744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58745 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58746
58747 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58748 for ac_func in _fpclass
58749 do :
58750 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58751 if test "x$ac_cv_func__fpclass" = x""yes; then :
58752 cat >>confdefs.h <<_ACEOF
58753 #define HAVE__FPCLASS 1
58754 _ACEOF
58755
58756 fi
58757 done
58758
58759 fi
58760 fi
58761
58762
58763
58764
58765
58766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58767 $as_echo_n "checking for qfpclass declaration... " >&6; }
58768 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58769 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58770 $as_echo_n "(cached) " >&6
58771 else
58772
58773
58774 ac_ext=cpp
58775 ac_cpp='$CXXCPP $CPPFLAGS'
58776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58779
58780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58781 /* end confdefs.h. */
58782 #include <math.h>
58783 #ifdef HAVE_IEEEFP_H
58784 #include <ieeefp.h>
58785 #endif
58786
58787 int
58788 main ()
58789 {
58790 qfpclass(0);
58791 ;
58792 return 0;
58793 }
58794 _ACEOF
58795 if ac_fn_cxx_try_compile "$LINENO"; then :
58796 glibcxx_cv_func_qfpclass_use=yes
58797 else
58798 glibcxx_cv_func_qfpclass_use=no
58799 fi
58800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58801 ac_ext=c
58802 ac_cpp='$CPP $CPPFLAGS'
58803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58806
58807
58808 fi
58809
58810 fi
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58812 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58813
58814 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58815 for ac_func in qfpclass
58816 do :
58817 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58818 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58819 cat >>confdefs.h <<_ACEOF
58820 #define HAVE_QFPCLASS 1
58821 _ACEOF
58822
58823 fi
58824 done
58825
58826 else
58827
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58829 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58830 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58831 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58832 $as_echo_n "(cached) " >&6
58833 else
58834
58835
58836 ac_ext=cpp
58837 ac_cpp='$CXXCPP $CPPFLAGS'
58838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58841
58842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58843 /* end confdefs.h. */
58844 #include <math.h>
58845 #ifdef HAVE_IEEEFP_H
58846 #include <ieeefp.h>
58847 #endif
58848
58849 int
58850 main ()
58851 {
58852 _qfpclass(0);
58853 ;
58854 return 0;
58855 }
58856 _ACEOF
58857 if ac_fn_cxx_try_compile "$LINENO"; then :
58858 glibcxx_cv_func__qfpclass_use=yes
58859 else
58860 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
58874 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58875
58876 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58877 for ac_func in _qfpclass
58878 do :
58879 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58880 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58881 cat >>confdefs.h <<_ACEOF
58882 #define HAVE__QFPCLASS 1
58883 _ACEOF
58884
58885 fi
58886 done
58887
58888 fi
58889 fi
58890
58891
58892
58893
58894
58895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58896 $as_echo_n "checking for hypot declaration... " >&6; }
58897 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58898 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58899 $as_echo_n "(cached) " >&6
58900 else
58901
58902
58903 ac_ext=cpp
58904 ac_cpp='$CXXCPP $CPPFLAGS'
58905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58908
58909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58910 /* end confdefs.h. */
58911 #include <math.h>
58912 int
58913 main ()
58914 {
58915 hypot(0, 0);
58916 ;
58917 return 0;
58918 }
58919 _ACEOF
58920 if ac_fn_cxx_try_compile "$LINENO"; then :
58921 glibcxx_cv_func_hypot_use=yes
58922 else
58923 glibcxx_cv_func_hypot_use=no
58924 fi
58925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58926 ac_ext=c
58927 ac_cpp='$CPP $CPPFLAGS'
58928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58931
58932
58933 fi
58934
58935 fi
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58937 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58938
58939 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58940 for ac_func in hypot
58941 do :
58942 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58943 if test "x$ac_cv_func_hypot" = x""yes; then :
58944 cat >>confdefs.h <<_ACEOF
58945 #define HAVE_HYPOT 1
58946 _ACEOF
58947
58948 fi
58949 done
58950
58951 else
58952
58953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58954 $as_echo_n "checking for _hypot declaration... " >&6; }
58955 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58956 if test "${glibcxx_cv_func__hypot_use+set}" = set; 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 _hypot(0, 0);
58974 ;
58975 return 0;
58976 }
58977 _ACEOF
58978 if ac_fn_cxx_try_compile "$LINENO"; then :
58979 glibcxx_cv_func__hypot_use=yes
58980 else
58981 glibcxx_cv_func__hypot_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__hypot_use" >&5
58995 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58996
58997 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58998 for ac_func in _hypot
58999 do :
59000 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59001 if test "x$ac_cv_func__hypot" = x""yes; then :
59002 cat >>confdefs.h <<_ACEOF
59003 #define HAVE__HYPOT 1
59004 _ACEOF
59005
59006 fi
59007 done
59008
59009 fi
59010 fi
59011
59012
59013
59014
59015
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59017 $as_echo_n "checking for float trig functions... " >&6; }
59018 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59019 $as_echo_n "(cached) " >&6
59020 else
59021
59022
59023 ac_ext=cpp
59024 ac_cpp='$CXXCPP $CPPFLAGS'
59025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59028
59029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59030 /* end confdefs.h. */
59031 #include <math.h>
59032 int
59033 main ()
59034 {
59035 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59036 ;
59037 return 0;
59038 }
59039 _ACEOF
59040 if ac_fn_cxx_try_compile "$LINENO"; then :
59041 glibcxx_cv_func_float_trig_use=yes
59042 else
59043 glibcxx_cv_func_float_trig_use=no
59044 fi
59045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59046 ac_ext=c
59047 ac_cpp='$CPP $CPPFLAGS'
59048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59051
59052 fi
59053
59054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59055 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59056 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59057 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59058 do :
59059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59061 eval as_val=\$$as_ac_var
59062 if test "x$as_val" = x""yes; then :
59063 cat >>confdefs.h <<_ACEOF
59064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59065 _ACEOF
59066
59067 fi
59068 done
59069
59070 else
59071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59072 $as_echo_n "checking for _float trig functions... " >&6; }
59073 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59074 $as_echo_n "(cached) " >&6
59075 else
59076
59077
59078 ac_ext=cpp
59079 ac_cpp='$CXXCPP $CPPFLAGS'
59080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59083
59084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59085 /* end confdefs.h. */
59086 #include <math.h>
59087 int
59088 main ()
59089 {
59090 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59091 ;
59092 return 0;
59093 }
59094 _ACEOF
59095 if ac_fn_cxx_try_compile "$LINENO"; then :
59096 glibcxx_cv_func__float_trig_use=yes
59097 else
59098 glibcxx_cv_func__float_trig_use=no
59099 fi
59100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59101 ac_ext=c
59102 ac_cpp='$CPP $CPPFLAGS'
59103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59106
59107 fi
59108
59109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59110 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59111 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59112 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59113 do :
59114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59116 eval as_val=\$$as_ac_var
59117 if test "x$as_val" = x""yes; then :
59118 cat >>confdefs.h <<_ACEOF
59119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59120 _ACEOF
59121
59122 fi
59123 done
59124
59125 fi
59126 fi
59127
59128
59129
59130
59131
59132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59133 $as_echo_n "checking for float round functions... " >&6; }
59134 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59135 $as_echo_n "(cached) " >&6
59136 else
59137
59138
59139 ac_ext=cpp
59140 ac_cpp='$CXXCPP $CPPFLAGS'
59141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59144
59145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59146 /* end confdefs.h. */
59147 #include <math.h>
59148 int
59149 main ()
59150 {
59151 ceilf (0); floorf (0);
59152 ;
59153 return 0;
59154 }
59155 _ACEOF
59156 if ac_fn_cxx_try_compile "$LINENO"; then :
59157 glibcxx_cv_func_float_round_use=yes
59158 else
59159 glibcxx_cv_func_float_round_use=no
59160 fi
59161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59162 ac_ext=c
59163 ac_cpp='$CPP $CPPFLAGS'
59164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59167
59168 fi
59169
59170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59171 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59172 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59173 for ac_func in ceilf floorf
59174 do :
59175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59177 eval as_val=\$$as_ac_var
59178 if test "x$as_val" = x""yes; then :
59179 cat >>confdefs.h <<_ACEOF
59180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59181 _ACEOF
59182
59183 fi
59184 done
59185
59186 else
59187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59188 $as_echo_n "checking for _float round functions... " >&6; }
59189 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59190 $as_echo_n "(cached) " >&6
59191 else
59192
59193
59194 ac_ext=cpp
59195 ac_cpp='$CXXCPP $CPPFLAGS'
59196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59199
59200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59201 /* end confdefs.h. */
59202 #include <math.h>
59203 int
59204 main ()
59205 {
59206 _ceilf (0); _floorf (0);
59207 ;
59208 return 0;
59209 }
59210 _ACEOF
59211 if ac_fn_cxx_try_compile "$LINENO"; then :
59212 glibcxx_cv_func__float_round_use=yes
59213 else
59214 glibcxx_cv_func__float_round_use=no
59215 fi
59216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59217 ac_ext=c
59218 ac_cpp='$CPP $CPPFLAGS'
59219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59222
59223 fi
59224
59225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59226 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59227 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59228 for ac_func in _ceilf _floorf
59229 do :
59230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59232 eval as_val=\$$as_ac_var
59233 if test "x$as_val" = x""yes; then :
59234 cat >>confdefs.h <<_ACEOF
59235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59236 _ACEOF
59237
59238 fi
59239 done
59240
59241 fi
59242 fi
59243
59244
59245
59246
59247
59248
59249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59250 $as_echo_n "checking for expf declaration... " >&6; }
59251 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59252 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59253 $as_echo_n "(cached) " >&6
59254 else
59255
59256
59257 ac_ext=cpp
59258 ac_cpp='$CXXCPP $CPPFLAGS'
59259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59262
59263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59264 /* end confdefs.h. */
59265 #include <math.h>
59266 #ifdef HAVE_IEEEFP_H
59267 #include <ieeefp.h>
59268 #endif
59269
59270 int
59271 main ()
59272 {
59273 expf(0);
59274 ;
59275 return 0;
59276 }
59277 _ACEOF
59278 if ac_fn_cxx_try_compile "$LINENO"; then :
59279 glibcxx_cv_func_expf_use=yes
59280 else
59281 glibcxx_cv_func_expf_use=no
59282 fi
59283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59284 ac_ext=c
59285 ac_cpp='$CPP $CPPFLAGS'
59286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59289
59290
59291 fi
59292
59293 fi
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59295 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59296
59297 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59298 for ac_func in expf
59299 do :
59300 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59301 if test "x$ac_cv_func_expf" = x""yes; then :
59302 cat >>confdefs.h <<_ACEOF
59303 #define HAVE_EXPF 1
59304 _ACEOF
59305
59306 fi
59307 done
59308
59309 else
59310
59311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59312 $as_echo_n "checking for _expf declaration... " >&6; }
59313 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59314 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59315 $as_echo_n "(cached) " >&6
59316 else
59317
59318
59319 ac_ext=cpp
59320 ac_cpp='$CXXCPP $CPPFLAGS'
59321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59324
59325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59326 /* end confdefs.h. */
59327 #include <math.h>
59328 #ifdef HAVE_IEEEFP_H
59329 #include <ieeefp.h>
59330 #endif
59331
59332 int
59333 main ()
59334 {
59335 _expf(0);
59336 ;
59337 return 0;
59338 }
59339 _ACEOF
59340 if ac_fn_cxx_try_compile "$LINENO"; then :
59341 glibcxx_cv_func__expf_use=yes
59342 else
59343 glibcxx_cv_func__expf_use=no
59344 fi
59345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59346 ac_ext=c
59347 ac_cpp='$CPP $CPPFLAGS'
59348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59351
59352
59353 fi
59354
59355 fi
59356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59357 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59358
59359 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59360 for ac_func in _expf
59361 do :
59362 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59363 if test "x$ac_cv_func__expf" = x""yes; then :
59364 cat >>confdefs.h <<_ACEOF
59365 #define HAVE__EXPF 1
59366 _ACEOF
59367
59368 fi
59369 done
59370
59371 fi
59372 fi
59373
59374
59375
59376
59377
59378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59379 $as_echo_n "checking for isnanf declaration... " >&6; }
59380 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59381 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59382 $as_echo_n "(cached) " >&6
59383 else
59384
59385
59386 ac_ext=cpp
59387 ac_cpp='$CXXCPP $CPPFLAGS'
59388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59391
59392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59393 /* end confdefs.h. */
59394 #include <math.h>
59395 #ifdef HAVE_IEEEFP_H
59396 #include <ieeefp.h>
59397 #endif
59398
59399 int
59400 main ()
59401 {
59402 isnanf(0);
59403 ;
59404 return 0;
59405 }
59406 _ACEOF
59407 if ac_fn_cxx_try_compile "$LINENO"; then :
59408 glibcxx_cv_func_isnanf_use=yes
59409 else
59410 glibcxx_cv_func_isnanf_use=no
59411 fi
59412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59413 ac_ext=c
59414 ac_cpp='$CPP $CPPFLAGS'
59415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59418
59419
59420 fi
59421
59422 fi
59423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59424 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59425
59426 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59427 for ac_func in isnanf
59428 do :
59429 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59430 if test "x$ac_cv_func_isnanf" = x""yes; then :
59431 cat >>confdefs.h <<_ACEOF
59432 #define HAVE_ISNANF 1
59433 _ACEOF
59434
59435 fi
59436 done
59437
59438 else
59439
59440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59441 $as_echo_n "checking for _isnanf declaration... " >&6; }
59442 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59443 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59444 $as_echo_n "(cached) " >&6
59445 else
59446
59447
59448 ac_ext=cpp
59449 ac_cpp='$CXXCPP $CPPFLAGS'
59450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59453
59454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59455 /* end confdefs.h. */
59456 #include <math.h>
59457 #ifdef HAVE_IEEEFP_H
59458 #include <ieeefp.h>
59459 #endif
59460
59461 int
59462 main ()
59463 {
59464 _isnanf(0);
59465 ;
59466 return 0;
59467 }
59468 _ACEOF
59469 if ac_fn_cxx_try_compile "$LINENO"; then :
59470 glibcxx_cv_func__isnanf_use=yes
59471 else
59472 glibcxx_cv_func__isnanf_use=no
59473 fi
59474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59475 ac_ext=c
59476 ac_cpp='$CPP $CPPFLAGS'
59477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59480
59481
59482 fi
59483
59484 fi
59485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59486 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59487
59488 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59489 for ac_func in _isnanf
59490 do :
59491 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59492 if test "x$ac_cv_func__isnanf" = x""yes; then :
59493 cat >>confdefs.h <<_ACEOF
59494 #define HAVE__ISNANF 1
59495 _ACEOF
59496
59497 fi
59498 done
59499
59500 fi
59501 fi
59502
59503
59504
59505
59506
59507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59508 $as_echo_n "checking for isinff declaration... " >&6; }
59509 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59510 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59511 $as_echo_n "(cached) " >&6
59512 else
59513
59514
59515 ac_ext=cpp
59516 ac_cpp='$CXXCPP $CPPFLAGS'
59517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59520
59521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59522 /* end confdefs.h. */
59523 #include <math.h>
59524 #ifdef HAVE_IEEEFP_H
59525 #include <ieeefp.h>
59526 #endif
59527
59528 int
59529 main ()
59530 {
59531 isinff(0);
59532 ;
59533 return 0;
59534 }
59535 _ACEOF
59536 if ac_fn_cxx_try_compile "$LINENO"; then :
59537 glibcxx_cv_func_isinff_use=yes
59538 else
59539 glibcxx_cv_func_isinff_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_isinff_use" >&5
59553 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59554
59555 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59556 for ac_func in isinff
59557 do :
59558 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59559 if test "x$ac_cv_func_isinff" = x""yes; then :
59560 cat >>confdefs.h <<_ACEOF
59561 #define HAVE_ISINFF 1
59562 _ACEOF
59563
59564 fi
59565 done
59566
59567 else
59568
59569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59570 $as_echo_n "checking for _isinff declaration... " >&6; }
59571 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59572 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59573 $as_echo_n "(cached) " >&6
59574 else
59575
59576
59577 ac_ext=cpp
59578 ac_cpp='$CXXCPP $CPPFLAGS'
59579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59582
59583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59584 /* end confdefs.h. */
59585 #include <math.h>
59586 #ifdef HAVE_IEEEFP_H
59587 #include <ieeefp.h>
59588 #endif
59589
59590 int
59591 main ()
59592 {
59593 _isinff(0);
59594 ;
59595 return 0;
59596 }
59597 _ACEOF
59598 if ac_fn_cxx_try_compile "$LINENO"; then :
59599 glibcxx_cv_func__isinff_use=yes
59600 else
59601 glibcxx_cv_func__isinff_use=no
59602 fi
59603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59604 ac_ext=c
59605 ac_cpp='$CPP $CPPFLAGS'
59606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59609
59610
59611 fi
59612
59613 fi
59614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59615 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59616
59617 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59618 for ac_func in _isinff
59619 do :
59620 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59621 if test "x$ac_cv_func__isinff" = x""yes; then :
59622 cat >>confdefs.h <<_ACEOF
59623 #define HAVE__ISINFF 1
59624 _ACEOF
59625
59626 fi
59627 done
59628
59629 fi
59630 fi
59631
59632
59633
59634
59635
59636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59637 $as_echo_n "checking for atan2f declaration... " >&6; }
59638 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59639 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59640 $as_echo_n "(cached) " >&6
59641 else
59642
59643
59644 ac_ext=cpp
59645 ac_cpp='$CXXCPP $CPPFLAGS'
59646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59649
59650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59651 /* end confdefs.h. */
59652 #include <math.h>
59653 int
59654 main ()
59655 {
59656 atan2f(0, 0);
59657 ;
59658 return 0;
59659 }
59660 _ACEOF
59661 if ac_fn_cxx_try_compile "$LINENO"; then :
59662 glibcxx_cv_func_atan2f_use=yes
59663 else
59664 glibcxx_cv_func_atan2f_use=no
59665 fi
59666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59667 ac_ext=c
59668 ac_cpp='$CPP $CPPFLAGS'
59669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59672
59673
59674 fi
59675
59676 fi
59677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59678 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59679
59680 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59681 for ac_func in atan2f
59682 do :
59683 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59684 if test "x$ac_cv_func_atan2f" = x""yes; then :
59685 cat >>confdefs.h <<_ACEOF
59686 #define HAVE_ATAN2F 1
59687 _ACEOF
59688
59689 fi
59690 done
59691
59692 else
59693
59694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59695 $as_echo_n "checking for _atan2f declaration... " >&6; }
59696 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59697 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59698 $as_echo_n "(cached) " >&6
59699 else
59700
59701
59702 ac_ext=cpp
59703 ac_cpp='$CXXCPP $CPPFLAGS'
59704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59707
59708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59709 /* end confdefs.h. */
59710 #include <math.h>
59711 int
59712 main ()
59713 {
59714 _atan2f(0, 0);
59715 ;
59716 return 0;
59717 }
59718 _ACEOF
59719 if ac_fn_cxx_try_compile "$LINENO"; then :
59720 glibcxx_cv_func__atan2f_use=yes
59721 else
59722 glibcxx_cv_func__atan2f_use=no
59723 fi
59724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59725 ac_ext=c
59726 ac_cpp='$CPP $CPPFLAGS'
59727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59730
59731
59732 fi
59733
59734 fi
59735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59736 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59737
59738 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59739 for ac_func in _atan2f
59740 do :
59741 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59742 if test "x$ac_cv_func__atan2f" = x""yes; then :
59743 cat >>confdefs.h <<_ACEOF
59744 #define HAVE__ATAN2F 1
59745 _ACEOF
59746
59747 fi
59748 done
59749
59750 fi
59751 fi
59752
59753
59754
59755
59756
59757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59758 $as_echo_n "checking for fabsf declaration... " >&6; }
59759 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59760 if test "${glibcxx_cv_func_fabsf_use+set}" = set; 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 fabsf(0);
59782 ;
59783 return 0;
59784 }
59785 _ACEOF
59786 if ac_fn_cxx_try_compile "$LINENO"; then :
59787 glibcxx_cv_func_fabsf_use=yes
59788 else
59789 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
59803 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59804
59805 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59806 for ac_func in fabsf
59807 do :
59808 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59809 if test "x$ac_cv_func_fabsf" = x""yes; then :
59810 cat >>confdefs.h <<_ACEOF
59811 #define HAVE_FABSF 1
59812 _ACEOF
59813
59814 fi
59815 done
59816
59817 else
59818
59819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59820 $as_echo_n "checking for _fabsf declaration... " >&6; }
59821 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59822 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59823 $as_echo_n "(cached) " >&6
59824 else
59825
59826
59827 ac_ext=cpp
59828 ac_cpp='$CXXCPP $CPPFLAGS'
59829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59832
59833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59834 /* end confdefs.h. */
59835 #include <math.h>
59836 #ifdef HAVE_IEEEFP_H
59837 #include <ieeefp.h>
59838 #endif
59839
59840 int
59841 main ()
59842 {
59843 _fabsf(0);
59844 ;
59845 return 0;
59846 }
59847 _ACEOF
59848 if ac_fn_cxx_try_compile "$LINENO"; then :
59849 glibcxx_cv_func__fabsf_use=yes
59850 else
59851 glibcxx_cv_func__fabsf_use=no
59852 fi
59853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59854 ac_ext=c
59855 ac_cpp='$CPP $CPPFLAGS'
59856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59859
59860
59861 fi
59862
59863 fi
59864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59865 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59866
59867 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59868 for ac_func in _fabsf
59869 do :
59870 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59871 if test "x$ac_cv_func__fabsf" = x""yes; then :
59872 cat >>confdefs.h <<_ACEOF
59873 #define HAVE__FABSF 1
59874 _ACEOF
59875
59876 fi
59877 done
59878
59879 fi
59880 fi
59881
59882
59883
59884
59885
59886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59887 $as_echo_n "checking for fmodf declaration... " >&6; }
59888 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59889 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59890 $as_echo_n "(cached) " >&6
59891 else
59892
59893
59894 ac_ext=cpp
59895 ac_cpp='$CXXCPP $CPPFLAGS'
59896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59899
59900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59901 /* end confdefs.h. */
59902 #include <math.h>
59903 int
59904 main ()
59905 {
59906 fmodf(0, 0);
59907 ;
59908 return 0;
59909 }
59910 _ACEOF
59911 if ac_fn_cxx_try_compile "$LINENO"; then :
59912 glibcxx_cv_func_fmodf_use=yes
59913 else
59914 glibcxx_cv_func_fmodf_use=no
59915 fi
59916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59917 ac_ext=c
59918 ac_cpp='$CPP $CPPFLAGS'
59919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59922
59923
59924 fi
59925
59926 fi
59927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59928 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59929
59930 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59931 for ac_func in fmodf
59932 do :
59933 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59934 if test "x$ac_cv_func_fmodf" = x""yes; then :
59935 cat >>confdefs.h <<_ACEOF
59936 #define HAVE_FMODF 1
59937 _ACEOF
59938
59939 fi
59940 done
59941
59942 else
59943
59944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59945 $as_echo_n "checking for _fmodf declaration... " >&6; }
59946 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59947 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59948 $as_echo_n "(cached) " >&6
59949 else
59950
59951
59952 ac_ext=cpp
59953 ac_cpp='$CXXCPP $CPPFLAGS'
59954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59957
59958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59959 /* end confdefs.h. */
59960 #include <math.h>
59961 int
59962 main ()
59963 {
59964 _fmodf(0, 0);
59965 ;
59966 return 0;
59967 }
59968 _ACEOF
59969 if ac_fn_cxx_try_compile "$LINENO"; then :
59970 glibcxx_cv_func__fmodf_use=yes
59971 else
59972 glibcxx_cv_func__fmodf_use=no
59973 fi
59974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59975 ac_ext=c
59976 ac_cpp='$CPP $CPPFLAGS'
59977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59980
59981
59982 fi
59983
59984 fi
59985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59986 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59987
59988 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59989 for ac_func in _fmodf
59990 do :
59991 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59992 if test "x$ac_cv_func__fmodf" = x""yes; then :
59993 cat >>confdefs.h <<_ACEOF
59994 #define HAVE__FMODF 1
59995 _ACEOF
59996
59997 fi
59998 done
59999
60000 fi
60001 fi
60002
60003
60004
60005
60006
60007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60008 $as_echo_n "checking for frexpf declaration... " >&6; }
60009 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60010 if test "${glibcxx_cv_func_frexpf_use+set}" = set; 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 int
60025 main ()
60026 {
60027 frexpf(0, 0);
60028 ;
60029 return 0;
60030 }
60031 _ACEOF
60032 if ac_fn_cxx_try_compile "$LINENO"; then :
60033 glibcxx_cv_func_frexpf_use=yes
60034 else
60035 glibcxx_cv_func_frexpf_use=no
60036 fi
60037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60038 ac_ext=c
60039 ac_cpp='$CPP $CPPFLAGS'
60040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60043
60044
60045 fi
60046
60047 fi
60048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60049 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60050
60051 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60052 for ac_func in frexpf
60053 do :
60054 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60055 if test "x$ac_cv_func_frexpf" = x""yes; then :
60056 cat >>confdefs.h <<_ACEOF
60057 #define HAVE_FREXPF 1
60058 _ACEOF
60059
60060 fi
60061 done
60062
60063 else
60064
60065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60066 $as_echo_n "checking for _frexpf declaration... " >&6; }
60067 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60068 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60069 $as_echo_n "(cached) " >&6
60070 else
60071
60072
60073 ac_ext=cpp
60074 ac_cpp='$CXXCPP $CPPFLAGS'
60075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60078
60079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60080 /* end confdefs.h. */
60081 #include <math.h>
60082 int
60083 main ()
60084 {
60085 _frexpf(0, 0);
60086 ;
60087 return 0;
60088 }
60089 _ACEOF
60090 if ac_fn_cxx_try_compile "$LINENO"; then :
60091 glibcxx_cv_func__frexpf_use=yes
60092 else
60093 glibcxx_cv_func__frexpf_use=no
60094 fi
60095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60096 ac_ext=c
60097 ac_cpp='$CPP $CPPFLAGS'
60098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60101
60102
60103 fi
60104
60105 fi
60106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60107 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60108
60109 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60110 for ac_func in _frexpf
60111 do :
60112 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60113 if test "x$ac_cv_func__frexpf" = x""yes; then :
60114 cat >>confdefs.h <<_ACEOF
60115 #define HAVE__FREXPF 1
60116 _ACEOF
60117
60118 fi
60119 done
60120
60121 fi
60122 fi
60123
60124
60125
60126
60127
60128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60129 $as_echo_n "checking for hypotf declaration... " >&6; }
60130 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60131 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60132 $as_echo_n "(cached) " >&6
60133 else
60134
60135
60136 ac_ext=cpp
60137 ac_cpp='$CXXCPP $CPPFLAGS'
60138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60141
60142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60143 /* end confdefs.h. */
60144 #include <math.h>
60145 int
60146 main ()
60147 {
60148 hypotf(0, 0);
60149 ;
60150 return 0;
60151 }
60152 _ACEOF
60153 if ac_fn_cxx_try_compile "$LINENO"; then :
60154 glibcxx_cv_func_hypotf_use=yes
60155 else
60156 glibcxx_cv_func_hypotf_use=no
60157 fi
60158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60159 ac_ext=c
60160 ac_cpp='$CPP $CPPFLAGS'
60161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60164
60165
60166 fi
60167
60168 fi
60169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60170 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60171
60172 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60173 for ac_func in hypotf
60174 do :
60175 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60176 if test "x$ac_cv_func_hypotf" = x""yes; then :
60177 cat >>confdefs.h <<_ACEOF
60178 #define HAVE_HYPOTF 1
60179 _ACEOF
60180
60181 fi
60182 done
60183
60184 else
60185
60186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60187 $as_echo_n "checking for _hypotf declaration... " >&6; }
60188 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60189 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60190 $as_echo_n "(cached) " >&6
60191 else
60192
60193
60194 ac_ext=cpp
60195 ac_cpp='$CXXCPP $CPPFLAGS'
60196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60199
60200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60201 /* end confdefs.h. */
60202 #include <math.h>
60203 int
60204 main ()
60205 {
60206 _hypotf(0, 0);
60207 ;
60208 return 0;
60209 }
60210 _ACEOF
60211 if ac_fn_cxx_try_compile "$LINENO"; then :
60212 glibcxx_cv_func__hypotf_use=yes
60213 else
60214 glibcxx_cv_func__hypotf_use=no
60215 fi
60216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60217 ac_ext=c
60218 ac_cpp='$CPP $CPPFLAGS'
60219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60222
60223
60224 fi
60225
60226 fi
60227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60228 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60229
60230 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60231 for ac_func in _hypotf
60232 do :
60233 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60234 if test "x$ac_cv_func__hypotf" = x""yes; then :
60235 cat >>confdefs.h <<_ACEOF
60236 #define HAVE__HYPOTF 1
60237 _ACEOF
60238
60239 fi
60240 done
60241
60242 fi
60243 fi
60244
60245
60246
60247
60248
60249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60250 $as_echo_n "checking for ldexpf declaration... " >&6; }
60251 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60252 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60253 $as_echo_n "(cached) " >&6
60254 else
60255
60256
60257 ac_ext=cpp
60258 ac_cpp='$CXXCPP $CPPFLAGS'
60259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60262
60263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60264 /* end confdefs.h. */
60265 #include <math.h>
60266 int
60267 main ()
60268 {
60269 ldexpf(0, 0);
60270 ;
60271 return 0;
60272 }
60273 _ACEOF
60274 if ac_fn_cxx_try_compile "$LINENO"; then :
60275 glibcxx_cv_func_ldexpf_use=yes
60276 else
60277 glibcxx_cv_func_ldexpf_use=no
60278 fi
60279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60280 ac_ext=c
60281 ac_cpp='$CPP $CPPFLAGS'
60282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60285
60286
60287 fi
60288
60289 fi
60290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60291 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60292
60293 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60294 for ac_func in ldexpf
60295 do :
60296 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60297 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60298 cat >>confdefs.h <<_ACEOF
60299 #define HAVE_LDEXPF 1
60300 _ACEOF
60301
60302 fi
60303 done
60304
60305 else
60306
60307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60308 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60309 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60310 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60311 $as_echo_n "(cached) " >&6
60312 else
60313
60314
60315 ac_ext=cpp
60316 ac_cpp='$CXXCPP $CPPFLAGS'
60317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60320
60321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60322 /* end confdefs.h. */
60323 #include <math.h>
60324 int
60325 main ()
60326 {
60327 _ldexpf(0, 0);
60328 ;
60329 return 0;
60330 }
60331 _ACEOF
60332 if ac_fn_cxx_try_compile "$LINENO"; then :
60333 glibcxx_cv_func__ldexpf_use=yes
60334 else
60335 glibcxx_cv_func__ldexpf_use=no
60336 fi
60337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60338 ac_ext=c
60339 ac_cpp='$CPP $CPPFLAGS'
60340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60343
60344
60345 fi
60346
60347 fi
60348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60349 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60350
60351 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60352 for ac_func in _ldexpf
60353 do :
60354 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60355 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60356 cat >>confdefs.h <<_ACEOF
60357 #define HAVE__LDEXPF 1
60358 _ACEOF
60359
60360 fi
60361 done
60362
60363 fi
60364 fi
60365
60366
60367
60368
60369
60370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60371 $as_echo_n "checking for logf declaration... " >&6; }
60372 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60373 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60374 $as_echo_n "(cached) " >&6
60375 else
60376
60377
60378 ac_ext=cpp
60379 ac_cpp='$CXXCPP $CPPFLAGS'
60380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60383
60384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60385 /* end confdefs.h. */
60386 #include <math.h>
60387 #ifdef HAVE_IEEEFP_H
60388 #include <ieeefp.h>
60389 #endif
60390
60391 int
60392 main ()
60393 {
60394 logf(0);
60395 ;
60396 return 0;
60397 }
60398 _ACEOF
60399 if ac_fn_cxx_try_compile "$LINENO"; then :
60400 glibcxx_cv_func_logf_use=yes
60401 else
60402 glibcxx_cv_func_logf_use=no
60403 fi
60404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60405 ac_ext=c
60406 ac_cpp='$CPP $CPPFLAGS'
60407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60410
60411
60412 fi
60413
60414 fi
60415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60416 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60417
60418 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60419 for ac_func in logf
60420 do :
60421 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60422 if test "x$ac_cv_func_logf" = x""yes; then :
60423 cat >>confdefs.h <<_ACEOF
60424 #define HAVE_LOGF 1
60425 _ACEOF
60426
60427 fi
60428 done
60429
60430 else
60431
60432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60433 $as_echo_n "checking for _logf declaration... " >&6; }
60434 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60435 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60436 $as_echo_n "(cached) " >&6
60437 else
60438
60439
60440 ac_ext=cpp
60441 ac_cpp='$CXXCPP $CPPFLAGS'
60442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60445
60446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60447 /* end confdefs.h. */
60448 #include <math.h>
60449 #ifdef HAVE_IEEEFP_H
60450 #include <ieeefp.h>
60451 #endif
60452
60453 int
60454 main ()
60455 {
60456 _logf(0);
60457 ;
60458 return 0;
60459 }
60460 _ACEOF
60461 if ac_fn_cxx_try_compile "$LINENO"; then :
60462 glibcxx_cv_func__logf_use=yes
60463 else
60464 glibcxx_cv_func__logf_use=no
60465 fi
60466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60467 ac_ext=c
60468 ac_cpp='$CPP $CPPFLAGS'
60469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60472
60473
60474 fi
60475
60476 fi
60477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60478 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60479
60480 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60481 for ac_func in _logf
60482 do :
60483 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60484 if test "x$ac_cv_func__logf" = x""yes; then :
60485 cat >>confdefs.h <<_ACEOF
60486 #define HAVE__LOGF 1
60487 _ACEOF
60488
60489 fi
60490 done
60491
60492 fi
60493 fi
60494
60495
60496
60497
60498
60499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60500 $as_echo_n "checking for log10f declaration... " >&6; }
60501 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60502 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60503 $as_echo_n "(cached) " >&6
60504 else
60505
60506
60507 ac_ext=cpp
60508 ac_cpp='$CXXCPP $CPPFLAGS'
60509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60512
60513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60514 /* end confdefs.h. */
60515 #include <math.h>
60516 #ifdef HAVE_IEEEFP_H
60517 #include <ieeefp.h>
60518 #endif
60519
60520 int
60521 main ()
60522 {
60523 log10f(0);
60524 ;
60525 return 0;
60526 }
60527 _ACEOF
60528 if ac_fn_cxx_try_compile "$LINENO"; then :
60529 glibcxx_cv_func_log10f_use=yes
60530 else
60531 glibcxx_cv_func_log10f_use=no
60532 fi
60533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60534 ac_ext=c
60535 ac_cpp='$CPP $CPPFLAGS'
60536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60539
60540
60541 fi
60542
60543 fi
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60545 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60546
60547 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60548 for ac_func in log10f
60549 do :
60550 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60551 if test "x$ac_cv_func_log10f" = x""yes; then :
60552 cat >>confdefs.h <<_ACEOF
60553 #define HAVE_LOG10F 1
60554 _ACEOF
60555
60556 fi
60557 done
60558
60559 else
60560
60561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60562 $as_echo_n "checking for _log10f declaration... " >&6; }
60563 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60564 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60565 $as_echo_n "(cached) " >&6
60566 else
60567
60568
60569 ac_ext=cpp
60570 ac_cpp='$CXXCPP $CPPFLAGS'
60571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60574
60575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60576 /* end confdefs.h. */
60577 #include <math.h>
60578 #ifdef HAVE_IEEEFP_H
60579 #include <ieeefp.h>
60580 #endif
60581
60582 int
60583 main ()
60584 {
60585 _log10f(0);
60586 ;
60587 return 0;
60588 }
60589 _ACEOF
60590 if ac_fn_cxx_try_compile "$LINENO"; then :
60591 glibcxx_cv_func__log10f_use=yes
60592 else
60593 glibcxx_cv_func__log10f_use=no
60594 fi
60595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60596 ac_ext=c
60597 ac_cpp='$CPP $CPPFLAGS'
60598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60601
60602
60603 fi
60604
60605 fi
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60607 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60608
60609 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60610 for ac_func in _log10f
60611 do :
60612 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60613 if test "x$ac_cv_func__log10f" = x""yes; then :
60614 cat >>confdefs.h <<_ACEOF
60615 #define HAVE__LOG10F 1
60616 _ACEOF
60617
60618 fi
60619 done
60620
60621 fi
60622 fi
60623
60624
60625
60626
60627
60628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60629 $as_echo_n "checking for modff declaration... " >&6; }
60630 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60631 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60632 $as_echo_n "(cached) " >&6
60633 else
60634
60635
60636 ac_ext=cpp
60637 ac_cpp='$CXXCPP $CPPFLAGS'
60638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60641
60642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60643 /* end confdefs.h. */
60644 #include <math.h>
60645 int
60646 main ()
60647 {
60648 modff(0, 0);
60649 ;
60650 return 0;
60651 }
60652 _ACEOF
60653 if ac_fn_cxx_try_compile "$LINENO"; then :
60654 glibcxx_cv_func_modff_use=yes
60655 else
60656 glibcxx_cv_func_modff_use=no
60657 fi
60658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60659 ac_ext=c
60660 ac_cpp='$CPP $CPPFLAGS'
60661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60664
60665
60666 fi
60667
60668 fi
60669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60670 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60671
60672 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60673 for ac_func in modff
60674 do :
60675 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60676 if test "x$ac_cv_func_modff" = x""yes; then :
60677 cat >>confdefs.h <<_ACEOF
60678 #define HAVE_MODFF 1
60679 _ACEOF
60680
60681 fi
60682 done
60683
60684 else
60685
60686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60687 $as_echo_n "checking for _modff declaration... " >&6; }
60688 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60689 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60690 $as_echo_n "(cached) " >&6
60691 else
60692
60693
60694 ac_ext=cpp
60695 ac_cpp='$CXXCPP $CPPFLAGS'
60696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60699
60700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60701 /* end confdefs.h. */
60702 #include <math.h>
60703 int
60704 main ()
60705 {
60706 _modff(0, 0);
60707 ;
60708 return 0;
60709 }
60710 _ACEOF
60711 if ac_fn_cxx_try_compile "$LINENO"; then :
60712 glibcxx_cv_func__modff_use=yes
60713 else
60714 glibcxx_cv_func__modff_use=no
60715 fi
60716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60717 ac_ext=c
60718 ac_cpp='$CPP $CPPFLAGS'
60719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60722
60723
60724 fi
60725
60726 fi
60727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60728 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60729
60730 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60731 for ac_func in _modff
60732 do :
60733 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60734 if test "x$ac_cv_func__modff" = x""yes; then :
60735 cat >>confdefs.h <<_ACEOF
60736 #define HAVE__MODFF 1
60737 _ACEOF
60738
60739 fi
60740 done
60741
60742 fi
60743 fi
60744
60745
60746
60747
60748
60749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60750 $as_echo_n "checking for modf declaration... " >&6; }
60751 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60752 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60753 $as_echo_n "(cached) " >&6
60754 else
60755
60756
60757 ac_ext=cpp
60758 ac_cpp='$CXXCPP $CPPFLAGS'
60759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60762
60763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60764 /* end confdefs.h. */
60765 #include <math.h>
60766 int
60767 main ()
60768 {
60769 modf(0, 0);
60770 ;
60771 return 0;
60772 }
60773 _ACEOF
60774 if ac_fn_cxx_try_compile "$LINENO"; then :
60775 glibcxx_cv_func_modf_use=yes
60776 else
60777 glibcxx_cv_func_modf_use=no
60778 fi
60779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60780 ac_ext=c
60781 ac_cpp='$CPP $CPPFLAGS'
60782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60785
60786
60787 fi
60788
60789 fi
60790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60791 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60792
60793 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60794 for ac_func in modf
60795 do :
60796 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60797 if test "x$ac_cv_func_modf" = x""yes; then :
60798 cat >>confdefs.h <<_ACEOF
60799 #define HAVE_MODF 1
60800 _ACEOF
60801
60802 fi
60803 done
60804
60805 else
60806
60807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60808 $as_echo_n "checking for _modf declaration... " >&6; }
60809 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60810 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60811 $as_echo_n "(cached) " >&6
60812 else
60813
60814
60815 ac_ext=cpp
60816 ac_cpp='$CXXCPP $CPPFLAGS'
60817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60820
60821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60822 /* end confdefs.h. */
60823 #include <math.h>
60824 int
60825 main ()
60826 {
60827 _modf(0, 0);
60828 ;
60829 return 0;
60830 }
60831 _ACEOF
60832 if ac_fn_cxx_try_compile "$LINENO"; then :
60833 glibcxx_cv_func__modf_use=yes
60834 else
60835 glibcxx_cv_func__modf_use=no
60836 fi
60837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60838 ac_ext=c
60839 ac_cpp='$CPP $CPPFLAGS'
60840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60843
60844
60845 fi
60846
60847 fi
60848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60849 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60850
60851 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60852 for ac_func in _modf
60853 do :
60854 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60855 if test "x$ac_cv_func__modf" = x""yes; then :
60856 cat >>confdefs.h <<_ACEOF
60857 #define HAVE__MODF 1
60858 _ACEOF
60859
60860 fi
60861 done
60862
60863 fi
60864 fi
60865
60866
60867
60868
60869
60870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60871 $as_echo_n "checking for powf declaration... " >&6; }
60872 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60873 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60874 $as_echo_n "(cached) " >&6
60875 else
60876
60877
60878 ac_ext=cpp
60879 ac_cpp='$CXXCPP $CPPFLAGS'
60880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60883
60884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60885 /* end confdefs.h. */
60886 #include <math.h>
60887 int
60888 main ()
60889 {
60890 powf(0, 0);
60891 ;
60892 return 0;
60893 }
60894 _ACEOF
60895 if ac_fn_cxx_try_compile "$LINENO"; then :
60896 glibcxx_cv_func_powf_use=yes
60897 else
60898 glibcxx_cv_func_powf_use=no
60899 fi
60900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60901 ac_ext=c
60902 ac_cpp='$CPP $CPPFLAGS'
60903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60906
60907
60908 fi
60909
60910 fi
60911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60912 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60913
60914 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60915 for ac_func in powf
60916 do :
60917 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60918 if test "x$ac_cv_func_powf" = x""yes; then :
60919 cat >>confdefs.h <<_ACEOF
60920 #define HAVE_POWF 1
60921 _ACEOF
60922
60923 fi
60924 done
60925
60926 else
60927
60928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60929 $as_echo_n "checking for _powf declaration... " >&6; }
60930 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60931 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60932 $as_echo_n "(cached) " >&6
60933 else
60934
60935
60936 ac_ext=cpp
60937 ac_cpp='$CXXCPP $CPPFLAGS'
60938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60941
60942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60943 /* end confdefs.h. */
60944 #include <math.h>
60945 int
60946 main ()
60947 {
60948 _powf(0, 0);
60949 ;
60950 return 0;
60951 }
60952 _ACEOF
60953 if ac_fn_cxx_try_compile "$LINENO"; then :
60954 glibcxx_cv_func__powf_use=yes
60955 else
60956 glibcxx_cv_func__powf_use=no
60957 fi
60958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60959 ac_ext=c
60960 ac_cpp='$CPP $CPPFLAGS'
60961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60964
60965
60966 fi
60967
60968 fi
60969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60970 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60971
60972 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60973 for ac_func in _powf
60974 do :
60975 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60976 if test "x$ac_cv_func__powf" = x""yes; then :
60977 cat >>confdefs.h <<_ACEOF
60978 #define HAVE__POWF 1
60979 _ACEOF
60980
60981 fi
60982 done
60983
60984 fi
60985 fi
60986
60987
60988
60989
60990
60991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60992 $as_echo_n "checking for sqrtf declaration... " >&6; }
60993 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60994 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60995 $as_echo_n "(cached) " >&6
60996 else
60997
60998
60999 ac_ext=cpp
61000 ac_cpp='$CXXCPP $CPPFLAGS'
61001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61004
61005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61006 /* end confdefs.h. */
61007 #include <math.h>
61008 #ifdef HAVE_IEEEFP_H
61009 #include <ieeefp.h>
61010 #endif
61011
61012 int
61013 main ()
61014 {
61015 sqrtf(0);
61016 ;
61017 return 0;
61018 }
61019 _ACEOF
61020 if ac_fn_cxx_try_compile "$LINENO"; then :
61021 glibcxx_cv_func_sqrtf_use=yes
61022 else
61023 glibcxx_cv_func_sqrtf_use=no
61024 fi
61025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61026 ac_ext=c
61027 ac_cpp='$CPP $CPPFLAGS'
61028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031
61032
61033 fi
61034
61035 fi
61036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61037 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61038
61039 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61040 for ac_func in sqrtf
61041 do :
61042 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61043 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61044 cat >>confdefs.h <<_ACEOF
61045 #define HAVE_SQRTF 1
61046 _ACEOF
61047
61048 fi
61049 done
61050
61051 else
61052
61053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61054 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61055 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61056 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61057 $as_echo_n "(cached) " >&6
61058 else
61059
61060
61061 ac_ext=cpp
61062 ac_cpp='$CXXCPP $CPPFLAGS'
61063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61066
61067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61068 /* end confdefs.h. */
61069 #include <math.h>
61070 #ifdef HAVE_IEEEFP_H
61071 #include <ieeefp.h>
61072 #endif
61073
61074 int
61075 main ()
61076 {
61077 _sqrtf(0);
61078 ;
61079 return 0;
61080 }
61081 _ACEOF
61082 if ac_fn_cxx_try_compile "$LINENO"; then :
61083 glibcxx_cv_func__sqrtf_use=yes
61084 else
61085 glibcxx_cv_func__sqrtf_use=no
61086 fi
61087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61088 ac_ext=c
61089 ac_cpp='$CPP $CPPFLAGS'
61090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61093
61094
61095 fi
61096
61097 fi
61098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61099 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61100
61101 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61102 for ac_func in _sqrtf
61103 do :
61104 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61105 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61106 cat >>confdefs.h <<_ACEOF
61107 #define HAVE__SQRTF 1
61108 _ACEOF
61109
61110 fi
61111 done
61112
61113 fi
61114 fi
61115
61116
61117
61118
61119
61120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61121 $as_echo_n "checking for sincosf declaration... " >&6; }
61122 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61123 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61124 $as_echo_n "(cached) " >&6
61125 else
61126
61127
61128 ac_ext=cpp
61129 ac_cpp='$CXXCPP $CPPFLAGS'
61130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61133
61134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61135 /* end confdefs.h. */
61136 #include <math.h>
61137 int
61138 main ()
61139 {
61140 sincosf(0, 0, 0);
61141 ;
61142 return 0;
61143 }
61144 _ACEOF
61145 if ac_fn_cxx_try_compile "$LINENO"; then :
61146 glibcxx_cv_func_sincosf_use=yes
61147 else
61148 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
61162 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61163
61164 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61165 for ac_func in sincosf
61166 do :
61167 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61168 if test "x$ac_cv_func_sincosf" = x""yes; then :
61169 cat >>confdefs.h <<_ACEOF
61170 #define HAVE_SINCOSF 1
61171 _ACEOF
61172
61173 fi
61174 done
61175
61176 else
61177
61178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61179 $as_echo_n "checking for _sincosf declaration... " >&6; }
61180 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61181 if test "${glibcxx_cv_func__sincosf_use+set}" = set; 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 int
61196 main ()
61197 {
61198 _sincosf(0, 0, 0);
61199 ;
61200 return 0;
61201 }
61202 _ACEOF
61203 if ac_fn_cxx_try_compile "$LINENO"; then :
61204 glibcxx_cv_func__sincosf_use=yes
61205 else
61206 glibcxx_cv_func__sincosf_use=no
61207 fi
61208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61209 ac_ext=c
61210 ac_cpp='$CPP $CPPFLAGS'
61211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61214
61215
61216 fi
61217
61218 fi
61219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61220 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61221
61222 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61223 for ac_func in _sincosf
61224 do :
61225 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61226 if test "x$ac_cv_func__sincosf" = x""yes; then :
61227 cat >>confdefs.h <<_ACEOF
61228 #define HAVE__SINCOSF 1
61229 _ACEOF
61230
61231 fi
61232 done
61233
61234 fi
61235 fi
61236
61237
61238
61239
61240
61241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61242 $as_echo_n "checking for finitef declaration... " >&6; }
61243 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61244 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61245 $as_echo_n "(cached) " >&6
61246 else
61247
61248
61249 ac_ext=cpp
61250 ac_cpp='$CXXCPP $CPPFLAGS'
61251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61254
61255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61256 /* end confdefs.h. */
61257 #include <math.h>
61258 #ifdef HAVE_IEEEFP_H
61259 #include <ieeefp.h>
61260 #endif
61261
61262 int
61263 main ()
61264 {
61265 finitef(0);
61266 ;
61267 return 0;
61268 }
61269 _ACEOF
61270 if ac_fn_cxx_try_compile "$LINENO"; then :
61271 glibcxx_cv_func_finitef_use=yes
61272 else
61273 glibcxx_cv_func_finitef_use=no
61274 fi
61275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61276 ac_ext=c
61277 ac_cpp='$CPP $CPPFLAGS'
61278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61281
61282
61283 fi
61284
61285 fi
61286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61287 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61288
61289 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61290 for ac_func in finitef
61291 do :
61292 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61293 if test "x$ac_cv_func_finitef" = x""yes; then :
61294 cat >>confdefs.h <<_ACEOF
61295 #define HAVE_FINITEF 1
61296 _ACEOF
61297
61298 fi
61299 done
61300
61301 else
61302
61303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61304 $as_echo_n "checking for _finitef declaration... " >&6; }
61305 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61306 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61307 $as_echo_n "(cached) " >&6
61308 else
61309
61310
61311 ac_ext=cpp
61312 ac_cpp='$CXXCPP $CPPFLAGS'
61313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61316
61317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61318 /* end confdefs.h. */
61319 #include <math.h>
61320 #ifdef HAVE_IEEEFP_H
61321 #include <ieeefp.h>
61322 #endif
61323
61324 int
61325 main ()
61326 {
61327 _finitef(0);
61328 ;
61329 return 0;
61330 }
61331 _ACEOF
61332 if ac_fn_cxx_try_compile "$LINENO"; then :
61333 glibcxx_cv_func__finitef_use=yes
61334 else
61335 glibcxx_cv_func__finitef_use=no
61336 fi
61337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61338 ac_ext=c
61339 ac_cpp='$CPP $CPPFLAGS'
61340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61343
61344
61345 fi
61346
61347 fi
61348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61349 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61350
61351 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61352 for ac_func in _finitef
61353 do :
61354 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61355 if test "x$ac_cv_func__finitef" = x""yes; then :
61356 cat >>confdefs.h <<_ACEOF
61357 #define HAVE__FINITEF 1
61358 _ACEOF
61359
61360 fi
61361 done
61362
61363 fi
61364 fi
61365
61366
61367
61368
61369
61370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61371 $as_echo_n "checking for long double trig functions... " >&6; }
61372 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61373 $as_echo_n "(cached) " >&6
61374 else
61375
61376
61377 ac_ext=cpp
61378 ac_cpp='$CXXCPP $CPPFLAGS'
61379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61382
61383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61384 /* end confdefs.h. */
61385 #include <math.h>
61386 int
61387 main ()
61388 {
61389 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61390 ;
61391 return 0;
61392 }
61393 _ACEOF
61394 if ac_fn_cxx_try_compile "$LINENO"; then :
61395 glibcxx_cv_func_long_double_trig_use=yes
61396 else
61397 glibcxx_cv_func_long_double_trig_use=no
61398 fi
61399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61400 ac_ext=c
61401 ac_cpp='$CPP $CPPFLAGS'
61402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61405
61406 fi
61407
61408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61409 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61410 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61411 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61412 do :
61413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61415 eval as_val=\$$as_ac_var
61416 if test "x$as_val" = x""yes; then :
61417 cat >>confdefs.h <<_ACEOF
61418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61419 _ACEOF
61420
61421 fi
61422 done
61423
61424 else
61425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61426 $as_echo_n "checking for _long double trig functions... " >&6; }
61427 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61428 $as_echo_n "(cached) " >&6
61429 else
61430
61431
61432 ac_ext=cpp
61433 ac_cpp='$CXXCPP $CPPFLAGS'
61434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61437
61438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61439 /* end confdefs.h. */
61440 #include <math.h>
61441 int
61442 main ()
61443 {
61444 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61445 ;
61446 return 0;
61447 }
61448 _ACEOF
61449 if ac_fn_cxx_try_compile "$LINENO"; then :
61450 glibcxx_cv_func__long_double_trig_use=yes
61451 else
61452 glibcxx_cv_func__long_double_trig_use=no
61453 fi
61454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61455 ac_ext=c
61456 ac_cpp='$CPP $CPPFLAGS'
61457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61460
61461 fi
61462
61463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61464 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61465 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61466 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61467 do :
61468 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61469 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61470 eval as_val=\$$as_ac_var
61471 if test "x$as_val" = x""yes; then :
61472 cat >>confdefs.h <<_ACEOF
61473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61474 _ACEOF
61475
61476 fi
61477 done
61478
61479 fi
61480 fi
61481
61482
61483
61484
61485
61486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61487 $as_echo_n "checking for long double round functions... " >&6; }
61488 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61489 $as_echo_n "(cached) " >&6
61490 else
61491
61492
61493 ac_ext=cpp
61494 ac_cpp='$CXXCPP $CPPFLAGS'
61495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61498
61499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61500 /* end confdefs.h. */
61501 #include <math.h>
61502 int
61503 main ()
61504 {
61505 ceill (0); floorl (0);
61506 ;
61507 return 0;
61508 }
61509 _ACEOF
61510 if ac_fn_cxx_try_compile "$LINENO"; then :
61511 glibcxx_cv_func_long_double_round_use=yes
61512 else
61513 glibcxx_cv_func_long_double_round_use=no
61514 fi
61515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61516 ac_ext=c
61517 ac_cpp='$CPP $CPPFLAGS'
61518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61521
61522 fi
61523
61524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61525 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61526 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61527 for ac_func in ceill floorl
61528 do :
61529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61531 eval as_val=\$$as_ac_var
61532 if test "x$as_val" = x""yes; then :
61533 cat >>confdefs.h <<_ACEOF
61534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61535 _ACEOF
61536
61537 fi
61538 done
61539
61540 else
61541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61542 $as_echo_n "checking for _long double round functions... " >&6; }
61543 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61544 $as_echo_n "(cached) " >&6
61545 else
61546
61547
61548 ac_ext=cpp
61549 ac_cpp='$CXXCPP $CPPFLAGS'
61550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61553
61554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61555 /* end confdefs.h. */
61556 #include <math.h>
61557 int
61558 main ()
61559 {
61560 _ceill (0); _floorl (0);
61561 ;
61562 return 0;
61563 }
61564 _ACEOF
61565 if ac_fn_cxx_try_compile "$LINENO"; then :
61566 glibcxx_cv_func__long_double_round_use=yes
61567 else
61568 glibcxx_cv_func__long_double_round_use=no
61569 fi
61570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61571 ac_ext=c
61572 ac_cpp='$CPP $CPPFLAGS'
61573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61576
61577 fi
61578
61579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61580 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61581 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61582 for ac_func in _ceill _floorl
61583 do :
61584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61586 eval as_val=\$$as_ac_var
61587 if test "x$as_val" = x""yes; then :
61588 cat >>confdefs.h <<_ACEOF
61589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61590 _ACEOF
61591
61592 fi
61593 done
61594
61595 fi
61596 fi
61597
61598
61599
61600
61601
61602
61603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61604 $as_echo_n "checking for isnanl declaration... " >&6; }
61605 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61606 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61607 $as_echo_n "(cached) " >&6
61608 else
61609
61610
61611 ac_ext=cpp
61612 ac_cpp='$CXXCPP $CPPFLAGS'
61613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61616
61617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61618 /* end confdefs.h. */
61619 #include <math.h>
61620 #ifdef HAVE_IEEEFP_H
61621 #include <ieeefp.h>
61622 #endif
61623
61624 int
61625 main ()
61626 {
61627 isnanl(0);
61628 ;
61629 return 0;
61630 }
61631 _ACEOF
61632 if ac_fn_cxx_try_compile "$LINENO"; then :
61633 glibcxx_cv_func_isnanl_use=yes
61634 else
61635 glibcxx_cv_func_isnanl_use=no
61636 fi
61637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61638 ac_ext=c
61639 ac_cpp='$CPP $CPPFLAGS'
61640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61643
61644
61645 fi
61646
61647 fi
61648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61649 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61650
61651 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61652 for ac_func in isnanl
61653 do :
61654 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61655 if test "x$ac_cv_func_isnanl" = x""yes; then :
61656 cat >>confdefs.h <<_ACEOF
61657 #define HAVE_ISNANL 1
61658 _ACEOF
61659
61660 fi
61661 done
61662
61663 else
61664
61665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61666 $as_echo_n "checking for _isnanl declaration... " >&6; }
61667 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61668 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61669 $as_echo_n "(cached) " >&6
61670 else
61671
61672
61673 ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61678
61679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h. */
61681 #include <math.h>
61682 #ifdef HAVE_IEEEFP_H
61683 #include <ieeefp.h>
61684 #endif
61685
61686 int
61687 main ()
61688 {
61689 _isnanl(0);
61690 ;
61691 return 0;
61692 }
61693 _ACEOF
61694 if ac_fn_cxx_try_compile "$LINENO"; then :
61695 glibcxx_cv_func__isnanl_use=yes
61696 else
61697 glibcxx_cv_func__isnanl_use=no
61698 fi
61699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61700 ac_ext=c
61701 ac_cpp='$CPP $CPPFLAGS'
61702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61705
61706
61707 fi
61708
61709 fi
61710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61711 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61712
61713 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61714 for ac_func in _isnanl
61715 do :
61716 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61717 if test "x$ac_cv_func__isnanl" = x""yes; then :
61718 cat >>confdefs.h <<_ACEOF
61719 #define HAVE__ISNANL 1
61720 _ACEOF
61721
61722 fi
61723 done
61724
61725 fi
61726 fi
61727
61728
61729
61730
61731
61732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61733 $as_echo_n "checking for isinfl declaration... " >&6; }
61734 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61735 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61736 $as_echo_n "(cached) " >&6
61737 else
61738
61739
61740 ac_ext=cpp
61741 ac_cpp='$CXXCPP $CPPFLAGS'
61742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61745
61746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61747 /* end confdefs.h. */
61748 #include <math.h>
61749 #ifdef HAVE_IEEEFP_H
61750 #include <ieeefp.h>
61751 #endif
61752
61753 int
61754 main ()
61755 {
61756 isinfl(0);
61757 ;
61758 return 0;
61759 }
61760 _ACEOF
61761 if ac_fn_cxx_try_compile "$LINENO"; then :
61762 glibcxx_cv_func_isinfl_use=yes
61763 else
61764 glibcxx_cv_func_isinfl_use=no
61765 fi
61766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61767 ac_ext=c
61768 ac_cpp='$CPP $CPPFLAGS'
61769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61772
61773
61774 fi
61775
61776 fi
61777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61778 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61779
61780 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61781 for ac_func in isinfl
61782 do :
61783 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61784 if test "x$ac_cv_func_isinfl" = x""yes; then :
61785 cat >>confdefs.h <<_ACEOF
61786 #define HAVE_ISINFL 1
61787 _ACEOF
61788
61789 fi
61790 done
61791
61792 else
61793
61794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61795 $as_echo_n "checking for _isinfl declaration... " >&6; }
61796 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61797 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61798 $as_echo_n "(cached) " >&6
61799 else
61800
61801
61802 ac_ext=cpp
61803 ac_cpp='$CXXCPP $CPPFLAGS'
61804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61807
61808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61809 /* end confdefs.h. */
61810 #include <math.h>
61811 #ifdef HAVE_IEEEFP_H
61812 #include <ieeefp.h>
61813 #endif
61814
61815 int
61816 main ()
61817 {
61818 _isinfl(0);
61819 ;
61820 return 0;
61821 }
61822 _ACEOF
61823 if ac_fn_cxx_try_compile "$LINENO"; then :
61824 glibcxx_cv_func__isinfl_use=yes
61825 else
61826 glibcxx_cv_func__isinfl_use=no
61827 fi
61828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61829 ac_ext=c
61830 ac_cpp='$CPP $CPPFLAGS'
61831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61834
61835
61836 fi
61837
61838 fi
61839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61840 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61841
61842 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61843 for ac_func in _isinfl
61844 do :
61845 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61846 if test "x$ac_cv_func__isinfl" = x""yes; then :
61847 cat >>confdefs.h <<_ACEOF
61848 #define HAVE__ISINFL 1
61849 _ACEOF
61850
61851 fi
61852 done
61853
61854 fi
61855 fi
61856
61857
61858
61859
61860
61861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61862 $as_echo_n "checking for atan2l declaration... " >&6; }
61863 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61864 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61865 $as_echo_n "(cached) " >&6
61866 else
61867
61868
61869 ac_ext=cpp
61870 ac_cpp='$CXXCPP $CPPFLAGS'
61871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61874
61875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61876 /* end confdefs.h. */
61877 #include <math.h>
61878 int
61879 main ()
61880 {
61881 atan2l(0, 0);
61882 ;
61883 return 0;
61884 }
61885 _ACEOF
61886 if ac_fn_cxx_try_compile "$LINENO"; then :
61887 glibcxx_cv_func_atan2l_use=yes
61888 else
61889 glibcxx_cv_func_atan2l_use=no
61890 fi
61891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61892 ac_ext=c
61893 ac_cpp='$CPP $CPPFLAGS'
61894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61897
61898
61899 fi
61900
61901 fi
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61903 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61904
61905 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61906 for ac_func in atan2l
61907 do :
61908 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61909 if test "x$ac_cv_func_atan2l" = x""yes; then :
61910 cat >>confdefs.h <<_ACEOF
61911 #define HAVE_ATAN2L 1
61912 _ACEOF
61913
61914 fi
61915 done
61916
61917 else
61918
61919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61920 $as_echo_n "checking for _atan2l declaration... " >&6; }
61921 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61922 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61923 $as_echo_n "(cached) " >&6
61924 else
61925
61926
61927 ac_ext=cpp
61928 ac_cpp='$CXXCPP $CPPFLAGS'
61929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61932
61933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61934 /* end confdefs.h. */
61935 #include <math.h>
61936 int
61937 main ()
61938 {
61939 _atan2l(0, 0);
61940 ;
61941 return 0;
61942 }
61943 _ACEOF
61944 if ac_fn_cxx_try_compile "$LINENO"; then :
61945 glibcxx_cv_func__atan2l_use=yes
61946 else
61947 glibcxx_cv_func__atan2l_use=no
61948 fi
61949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61950 ac_ext=c
61951 ac_cpp='$CPP $CPPFLAGS'
61952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61955
61956
61957 fi
61958
61959 fi
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61961 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61962
61963 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61964 for ac_func in _atan2l
61965 do :
61966 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61967 if test "x$ac_cv_func__atan2l" = x""yes; then :
61968 cat >>confdefs.h <<_ACEOF
61969 #define HAVE__ATAN2L 1
61970 _ACEOF
61971
61972 fi
61973 done
61974
61975 fi
61976 fi
61977
61978
61979
61980
61981
61982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61983 $as_echo_n "checking for expl declaration... " >&6; }
61984 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61985 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61986 $as_echo_n "(cached) " >&6
61987 else
61988
61989
61990 ac_ext=cpp
61991 ac_cpp='$CXXCPP $CPPFLAGS'
61992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61995
61996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61997 /* end confdefs.h. */
61998 #include <math.h>
61999 #ifdef HAVE_IEEEFP_H
62000 #include <ieeefp.h>
62001 #endif
62002
62003 int
62004 main ()
62005 {
62006 expl(0);
62007 ;
62008 return 0;
62009 }
62010 _ACEOF
62011 if ac_fn_cxx_try_compile "$LINENO"; then :
62012 glibcxx_cv_func_expl_use=yes
62013 else
62014 glibcxx_cv_func_expl_use=no
62015 fi
62016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62017 ac_ext=c
62018 ac_cpp='$CPP $CPPFLAGS'
62019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62022
62023
62024 fi
62025
62026 fi
62027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62028 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62029
62030 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62031 for ac_func in expl
62032 do :
62033 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62034 if test "x$ac_cv_func_expl" = x""yes; then :
62035 cat >>confdefs.h <<_ACEOF
62036 #define HAVE_EXPL 1
62037 _ACEOF
62038
62039 fi
62040 done
62041
62042 else
62043
62044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62045 $as_echo_n "checking for _expl declaration... " >&6; }
62046 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62047 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62048 $as_echo_n "(cached) " >&6
62049 else
62050
62051
62052 ac_ext=cpp
62053 ac_cpp='$CXXCPP $CPPFLAGS'
62054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62057
62058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62059 /* end confdefs.h. */
62060 #include <math.h>
62061 #ifdef HAVE_IEEEFP_H
62062 #include <ieeefp.h>
62063 #endif
62064
62065 int
62066 main ()
62067 {
62068 _expl(0);
62069 ;
62070 return 0;
62071 }
62072 _ACEOF
62073 if ac_fn_cxx_try_compile "$LINENO"; then :
62074 glibcxx_cv_func__expl_use=yes
62075 else
62076 glibcxx_cv_func__expl_use=no
62077 fi
62078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62079 ac_ext=c
62080 ac_cpp='$CPP $CPPFLAGS'
62081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62084
62085
62086 fi
62087
62088 fi
62089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62090 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62091
62092 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62093 for ac_func in _expl
62094 do :
62095 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62096 if test "x$ac_cv_func__expl" = x""yes; then :
62097 cat >>confdefs.h <<_ACEOF
62098 #define HAVE__EXPL 1
62099 _ACEOF
62100
62101 fi
62102 done
62103
62104 fi
62105 fi
62106
62107
62108
62109
62110
62111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62112 $as_echo_n "checking for fabsl declaration... " >&6; }
62113 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62114 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62115 $as_echo_n "(cached) " >&6
62116 else
62117
62118
62119 ac_ext=cpp
62120 ac_cpp='$CXXCPP $CPPFLAGS'
62121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62124
62125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62126 /* end confdefs.h. */
62127 #include <math.h>
62128 #ifdef HAVE_IEEEFP_H
62129 #include <ieeefp.h>
62130 #endif
62131
62132 int
62133 main ()
62134 {
62135 fabsl(0);
62136 ;
62137 return 0;
62138 }
62139 _ACEOF
62140 if ac_fn_cxx_try_compile "$LINENO"; then :
62141 glibcxx_cv_func_fabsl_use=yes
62142 else
62143 glibcxx_cv_func_fabsl_use=no
62144 fi
62145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62146 ac_ext=c
62147 ac_cpp='$CPP $CPPFLAGS'
62148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62151
62152
62153 fi
62154
62155 fi
62156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62157 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62158
62159 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62160 for ac_func in fabsl
62161 do :
62162 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62163 if test "x$ac_cv_func_fabsl" = x""yes; then :
62164 cat >>confdefs.h <<_ACEOF
62165 #define HAVE_FABSL 1
62166 _ACEOF
62167
62168 fi
62169 done
62170
62171 else
62172
62173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62174 $as_echo_n "checking for _fabsl declaration... " >&6; }
62175 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62176 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62177 $as_echo_n "(cached) " >&6
62178 else
62179
62180
62181 ac_ext=cpp
62182 ac_cpp='$CXXCPP $CPPFLAGS'
62183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62186
62187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62188 /* end confdefs.h. */
62189 #include <math.h>
62190 #ifdef HAVE_IEEEFP_H
62191 #include <ieeefp.h>
62192 #endif
62193
62194 int
62195 main ()
62196 {
62197 _fabsl(0);
62198 ;
62199 return 0;
62200 }
62201 _ACEOF
62202 if ac_fn_cxx_try_compile "$LINENO"; then :
62203 glibcxx_cv_func__fabsl_use=yes
62204 else
62205 glibcxx_cv_func__fabsl_use=no
62206 fi
62207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62208 ac_ext=c
62209 ac_cpp='$CPP $CPPFLAGS'
62210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62213
62214
62215 fi
62216
62217 fi
62218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62219 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62220
62221 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62222 for ac_func in _fabsl
62223 do :
62224 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62225 if test "x$ac_cv_func__fabsl" = x""yes; then :
62226 cat >>confdefs.h <<_ACEOF
62227 #define HAVE__FABSL 1
62228 _ACEOF
62229
62230 fi
62231 done
62232
62233 fi
62234 fi
62235
62236
62237
62238
62239
62240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62241 $as_echo_n "checking for fmodl declaration... " >&6; }
62242 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62243 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62244 $as_echo_n "(cached) " >&6
62245 else
62246
62247
62248 ac_ext=cpp
62249 ac_cpp='$CXXCPP $CPPFLAGS'
62250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62253
62254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62255 /* end confdefs.h. */
62256 #include <math.h>
62257 int
62258 main ()
62259 {
62260 fmodl(0, 0);
62261 ;
62262 return 0;
62263 }
62264 _ACEOF
62265 if ac_fn_cxx_try_compile "$LINENO"; then :
62266 glibcxx_cv_func_fmodl_use=yes
62267 else
62268 glibcxx_cv_func_fmodl_use=no
62269 fi
62270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62271 ac_ext=c
62272 ac_cpp='$CPP $CPPFLAGS'
62273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62276
62277
62278 fi
62279
62280 fi
62281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62282 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62283
62284 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62285 for ac_func in fmodl
62286 do :
62287 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62288 if test "x$ac_cv_func_fmodl" = x""yes; then :
62289 cat >>confdefs.h <<_ACEOF
62290 #define HAVE_FMODL 1
62291 _ACEOF
62292
62293 fi
62294 done
62295
62296 else
62297
62298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62299 $as_echo_n "checking for _fmodl declaration... " >&6; }
62300 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62301 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62302 $as_echo_n "(cached) " >&6
62303 else
62304
62305
62306 ac_ext=cpp
62307 ac_cpp='$CXXCPP $CPPFLAGS'
62308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62311
62312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62313 /* end confdefs.h. */
62314 #include <math.h>
62315 int
62316 main ()
62317 {
62318 _fmodl(0, 0);
62319 ;
62320 return 0;
62321 }
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func__fmodl_use=yes
62325 else
62326 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
62340 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62341
62342 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62343 for ac_func in _fmodl
62344 do :
62345 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62346 if test "x$ac_cv_func__fmodl" = x""yes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE__FMODL 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 frexpl declaration" >&5
62362 $as_echo_n "checking for frexpl declaration... " >&6; }
62363 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62364 if test "${glibcxx_cv_func_frexpl_use+set}" = set; 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 int
62379 main ()
62380 {
62381 frexpl(0, 0);
62382 ;
62383 return 0;
62384 }
62385 _ACEOF
62386 if ac_fn_cxx_try_compile "$LINENO"; then :
62387 glibcxx_cv_func_frexpl_use=yes
62388 else
62389 glibcxx_cv_func_frexpl_use=no
62390 fi
62391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62392 ac_ext=c
62393 ac_cpp='$CPP $CPPFLAGS'
62394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62397
62398
62399 fi
62400
62401 fi
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62403 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62404
62405 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62406 for ac_func in frexpl
62407 do :
62408 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62409 if test "x$ac_cv_func_frexpl" = x""yes; then :
62410 cat >>confdefs.h <<_ACEOF
62411 #define HAVE_FREXPL 1
62412 _ACEOF
62413
62414 fi
62415 done
62416
62417 else
62418
62419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62420 $as_echo_n "checking for _frexpl declaration... " >&6; }
62421 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62422 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62423 $as_echo_n "(cached) " >&6
62424 else
62425
62426
62427 ac_ext=cpp
62428 ac_cpp='$CXXCPP $CPPFLAGS'
62429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62432
62433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62434 /* end confdefs.h. */
62435 #include <math.h>
62436 int
62437 main ()
62438 {
62439 _frexpl(0, 0);
62440 ;
62441 return 0;
62442 }
62443 _ACEOF
62444 if ac_fn_cxx_try_compile "$LINENO"; then :
62445 glibcxx_cv_func__frexpl_use=yes
62446 else
62447 glibcxx_cv_func__frexpl_use=no
62448 fi
62449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62450 ac_ext=c
62451 ac_cpp='$CPP $CPPFLAGS'
62452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62455
62456
62457 fi
62458
62459 fi
62460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62461 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62462
62463 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62464 for ac_func in _frexpl
62465 do :
62466 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62467 if test "x$ac_cv_func__frexpl" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define HAVE__FREXPL 1
62470 _ACEOF
62471
62472 fi
62473 done
62474
62475 fi
62476 fi
62477
62478
62479
62480
62481
62482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62483 $as_echo_n "checking for hypotl declaration... " >&6; }
62484 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62485 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62486 $as_echo_n "(cached) " >&6
62487 else
62488
62489
62490 ac_ext=cpp
62491 ac_cpp='$CXXCPP $CPPFLAGS'
62492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62495
62496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62497 /* end confdefs.h. */
62498 #include <math.h>
62499 int
62500 main ()
62501 {
62502 hypotl(0, 0);
62503 ;
62504 return 0;
62505 }
62506 _ACEOF
62507 if ac_fn_cxx_try_compile "$LINENO"; then :
62508 glibcxx_cv_func_hypotl_use=yes
62509 else
62510 glibcxx_cv_func_hypotl_use=no
62511 fi
62512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62513 ac_ext=c
62514 ac_cpp='$CPP $CPPFLAGS'
62515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62518
62519
62520 fi
62521
62522 fi
62523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62524 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62525
62526 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62527 for ac_func in hypotl
62528 do :
62529 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62530 if test "x$ac_cv_func_hypotl" = x""yes; then :
62531 cat >>confdefs.h <<_ACEOF
62532 #define HAVE_HYPOTL 1
62533 _ACEOF
62534
62535 fi
62536 done
62537
62538 else
62539
62540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62541 $as_echo_n "checking for _hypotl declaration... " >&6; }
62542 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62543 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62544 $as_echo_n "(cached) " >&6
62545 else
62546
62547
62548 ac_ext=cpp
62549 ac_cpp='$CXXCPP $CPPFLAGS'
62550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62553
62554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62555 /* end confdefs.h. */
62556 #include <math.h>
62557 int
62558 main ()
62559 {
62560 _hypotl(0, 0);
62561 ;
62562 return 0;
62563 }
62564 _ACEOF
62565 if ac_fn_cxx_try_compile "$LINENO"; then :
62566 glibcxx_cv_func__hypotl_use=yes
62567 else
62568 glibcxx_cv_func__hypotl_use=no
62569 fi
62570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62571 ac_ext=c
62572 ac_cpp='$CPP $CPPFLAGS'
62573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62576
62577
62578 fi
62579
62580 fi
62581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62582 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62583
62584 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62585 for ac_func in _hypotl
62586 do :
62587 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62588 if test "x$ac_cv_func__hypotl" = x""yes; then :
62589 cat >>confdefs.h <<_ACEOF
62590 #define HAVE__HYPOTL 1
62591 _ACEOF
62592
62593 fi
62594 done
62595
62596 fi
62597 fi
62598
62599
62600
62601
62602
62603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62604 $as_echo_n "checking for ldexpl declaration... " >&6; }
62605 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62606 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62607 $as_echo_n "(cached) " >&6
62608 else
62609
62610
62611 ac_ext=cpp
62612 ac_cpp='$CXXCPP $CPPFLAGS'
62613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62616
62617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62618 /* end confdefs.h. */
62619 #include <math.h>
62620 int
62621 main ()
62622 {
62623 ldexpl(0, 0);
62624 ;
62625 return 0;
62626 }
62627 _ACEOF
62628 if ac_fn_cxx_try_compile "$LINENO"; then :
62629 glibcxx_cv_func_ldexpl_use=yes
62630 else
62631 glibcxx_cv_func_ldexpl_use=no
62632 fi
62633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62634 ac_ext=c
62635 ac_cpp='$CPP $CPPFLAGS'
62636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62639
62640
62641 fi
62642
62643 fi
62644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62645 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62646
62647 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62648 for ac_func in ldexpl
62649 do :
62650 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62651 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62652 cat >>confdefs.h <<_ACEOF
62653 #define HAVE_LDEXPL 1
62654 _ACEOF
62655
62656 fi
62657 done
62658
62659 else
62660
62661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62662 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62663 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62664 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62665 $as_echo_n "(cached) " >&6
62666 else
62667
62668
62669 ac_ext=cpp
62670 ac_cpp='$CXXCPP $CPPFLAGS'
62671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62674
62675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62676 /* end confdefs.h. */
62677 #include <math.h>
62678 int
62679 main ()
62680 {
62681 _ldexpl(0, 0);
62682 ;
62683 return 0;
62684 }
62685 _ACEOF
62686 if ac_fn_cxx_try_compile "$LINENO"; then :
62687 glibcxx_cv_func__ldexpl_use=yes
62688 else
62689 glibcxx_cv_func__ldexpl_use=no
62690 fi
62691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62692 ac_ext=c
62693 ac_cpp='$CPP $CPPFLAGS'
62694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62697
62698
62699 fi
62700
62701 fi
62702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62703 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62704
62705 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62706 for ac_func in _ldexpl
62707 do :
62708 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62709 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62710 cat >>confdefs.h <<_ACEOF
62711 #define HAVE__LDEXPL 1
62712 _ACEOF
62713
62714 fi
62715 done
62716
62717 fi
62718 fi
62719
62720
62721
62722
62723
62724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62725 $as_echo_n "checking for logl declaration... " >&6; }
62726 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62727 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62728 $as_echo_n "(cached) " >&6
62729 else
62730
62731
62732 ac_ext=cpp
62733 ac_cpp='$CXXCPP $CPPFLAGS'
62734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62737
62738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62739 /* end confdefs.h. */
62740 #include <math.h>
62741 #ifdef HAVE_IEEEFP_H
62742 #include <ieeefp.h>
62743 #endif
62744
62745 int
62746 main ()
62747 {
62748 logl(0);
62749 ;
62750 return 0;
62751 }
62752 _ACEOF
62753 if ac_fn_cxx_try_compile "$LINENO"; then :
62754 glibcxx_cv_func_logl_use=yes
62755 else
62756 glibcxx_cv_func_logl_use=no
62757 fi
62758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62759 ac_ext=c
62760 ac_cpp='$CPP $CPPFLAGS'
62761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62764
62765
62766 fi
62767
62768 fi
62769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62770 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62771
62772 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62773 for ac_func in logl
62774 do :
62775 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62776 if test "x$ac_cv_func_logl" = x""yes; then :
62777 cat >>confdefs.h <<_ACEOF
62778 #define HAVE_LOGL 1
62779 _ACEOF
62780
62781 fi
62782 done
62783
62784 else
62785
62786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62787 $as_echo_n "checking for _logl declaration... " >&6; }
62788 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62789 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62790 $as_echo_n "(cached) " >&6
62791 else
62792
62793
62794 ac_ext=cpp
62795 ac_cpp='$CXXCPP $CPPFLAGS'
62796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62799
62800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62801 /* end confdefs.h. */
62802 #include <math.h>
62803 #ifdef HAVE_IEEEFP_H
62804 #include <ieeefp.h>
62805 #endif
62806
62807 int
62808 main ()
62809 {
62810 _logl(0);
62811 ;
62812 return 0;
62813 }
62814 _ACEOF
62815 if ac_fn_cxx_try_compile "$LINENO"; then :
62816 glibcxx_cv_func__logl_use=yes
62817 else
62818 glibcxx_cv_func__logl_use=no
62819 fi
62820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62821 ac_ext=c
62822 ac_cpp='$CPP $CPPFLAGS'
62823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62826
62827
62828 fi
62829
62830 fi
62831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62832 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62833
62834 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62835 for ac_func in _logl
62836 do :
62837 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62838 if test "x$ac_cv_func__logl" = x""yes; then :
62839 cat >>confdefs.h <<_ACEOF
62840 #define HAVE__LOGL 1
62841 _ACEOF
62842
62843 fi
62844 done
62845
62846 fi
62847 fi
62848
62849
62850
62851
62852
62853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62854 $as_echo_n "checking for log10l declaration... " >&6; }
62855 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62856 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62857 $as_echo_n "(cached) " >&6
62858 else
62859
62860
62861 ac_ext=cpp
62862 ac_cpp='$CXXCPP $CPPFLAGS'
62863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62866
62867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62868 /* end confdefs.h. */
62869 #include <math.h>
62870 #ifdef HAVE_IEEEFP_H
62871 #include <ieeefp.h>
62872 #endif
62873
62874 int
62875 main ()
62876 {
62877 log10l(0);
62878 ;
62879 return 0;
62880 }
62881 _ACEOF
62882 if ac_fn_cxx_try_compile "$LINENO"; then :
62883 glibcxx_cv_func_log10l_use=yes
62884 else
62885 glibcxx_cv_func_log10l_use=no
62886 fi
62887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62888 ac_ext=c
62889 ac_cpp='$CPP $CPPFLAGS'
62890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62893
62894
62895 fi
62896
62897 fi
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62899 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62900
62901 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62902 for ac_func in log10l
62903 do :
62904 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62905 if test "x$ac_cv_func_log10l" = x""yes; then :
62906 cat >>confdefs.h <<_ACEOF
62907 #define HAVE_LOG10L 1
62908 _ACEOF
62909
62910 fi
62911 done
62912
62913 else
62914
62915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62916 $as_echo_n "checking for _log10l declaration... " >&6; }
62917 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62918 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62919 $as_echo_n "(cached) " >&6
62920 else
62921
62922
62923 ac_ext=cpp
62924 ac_cpp='$CXXCPP $CPPFLAGS'
62925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62928
62929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62930 /* end confdefs.h. */
62931 #include <math.h>
62932 #ifdef HAVE_IEEEFP_H
62933 #include <ieeefp.h>
62934 #endif
62935
62936 int
62937 main ()
62938 {
62939 _log10l(0);
62940 ;
62941 return 0;
62942 }
62943 _ACEOF
62944 if ac_fn_cxx_try_compile "$LINENO"; then :
62945 glibcxx_cv_func__log10l_use=yes
62946 else
62947 glibcxx_cv_func__log10l_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__log10l_use" >&5
62961 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62962
62963 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62964 for ac_func in _log10l
62965 do :
62966 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62967 if test "x$ac_cv_func__log10l" = x""yes; then :
62968 cat >>confdefs.h <<_ACEOF
62969 #define HAVE__LOG10L 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 modfl declaration" >&5
62983 $as_echo_n "checking for modfl declaration... " >&6; }
62984 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62985 if test "${glibcxx_cv_func_modfl_use+set}" = set; 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 modfl(0, 0);
63003 ;
63004 return 0;
63005 }
63006 _ACEOF
63007 if ac_fn_cxx_try_compile "$LINENO"; then :
63008 glibcxx_cv_func_modfl_use=yes
63009 else
63010 glibcxx_cv_func_modfl_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_modfl_use" >&5
63024 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63025
63026 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63027 for ac_func in modfl
63028 do :
63029 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63030 if test "x$ac_cv_func_modfl" = x""yes; then :
63031 cat >>confdefs.h <<_ACEOF
63032 #define HAVE_MODFL 1
63033 _ACEOF
63034
63035 fi
63036 done
63037
63038 else
63039
63040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63041 $as_echo_n "checking for _modfl declaration... " >&6; }
63042 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63043 if test "${glibcxx_cv_func__modfl_use+set}" = set; 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 _modfl(0, 0);
63061 ;
63062 return 0;
63063 }
63064 _ACEOF
63065 if ac_fn_cxx_try_compile "$LINENO"; then :
63066 glibcxx_cv_func__modfl_use=yes
63067 else
63068 glibcxx_cv_func__modfl_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__modfl_use" >&5
63082 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63083
63084 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63085 for ac_func in _modfl
63086 do :
63087 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63088 if test "x$ac_cv_func__modfl" = x""yes; then :
63089 cat >>confdefs.h <<_ACEOF
63090 #define HAVE__MODFL 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 powl declaration" >&5
63104 $as_echo_n "checking for powl declaration... " >&6; }
63105 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63106 if test "${glibcxx_cv_func_powl_use+set}" = set; 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 powl(0, 0);
63124 ;
63125 return 0;
63126 }
63127 _ACEOF
63128 if ac_fn_cxx_try_compile "$LINENO"; then :
63129 glibcxx_cv_func_powl_use=yes
63130 else
63131 glibcxx_cv_func_powl_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_powl_use" >&5
63145 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63146
63147 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63148 for ac_func in powl
63149 do :
63150 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63151 if test "x$ac_cv_func_powl" = x""yes; then :
63152 cat >>confdefs.h <<_ACEOF
63153 #define HAVE_POWL 1
63154 _ACEOF
63155
63156 fi
63157 done
63158
63159 else
63160
63161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63162 $as_echo_n "checking for _powl declaration... " >&6; }
63163 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63164 if test "${glibcxx_cv_func__powl_use+set}" = set; 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 _powl(0, 0);
63182 ;
63183 return 0;
63184 }
63185 _ACEOF
63186 if ac_fn_cxx_try_compile "$LINENO"; then :
63187 glibcxx_cv_func__powl_use=yes
63188 else
63189 glibcxx_cv_func__powl_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__powl_use" >&5
63203 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63204
63205 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63206 for ac_func in _powl
63207 do :
63208 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63209 if test "x$ac_cv_func__powl" = x""yes; then :
63210 cat >>confdefs.h <<_ACEOF
63211 #define HAVE__POWL 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 sqrtl declaration" >&5
63225 $as_echo_n "checking for sqrtl declaration... " >&6; }
63226 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63227 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; 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 sqrtl(0);
63249 ;
63250 return 0;
63251 }
63252 _ACEOF
63253 if ac_fn_cxx_try_compile "$LINENO"; then :
63254 glibcxx_cv_func_sqrtl_use=yes
63255 else
63256 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
63270 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63271
63272 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63273 for ac_func in sqrtl
63274 do :
63275 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63276 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63277 cat >>confdefs.h <<_ACEOF
63278 #define HAVE_SQRTL 1
63279 _ACEOF
63280
63281 fi
63282 done
63283
63284 else
63285
63286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63287 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63288 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63289 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; 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 _sqrtl(0);
63311 ;
63312 return 0;
63313 }
63314 _ACEOF
63315 if ac_fn_cxx_try_compile "$LINENO"; then :
63316 glibcxx_cv_func__sqrtl_use=yes
63317 else
63318 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
63332 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63333
63334 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63335 for ac_func in _sqrtl
63336 do :
63337 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63338 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63339 cat >>confdefs.h <<_ACEOF
63340 #define HAVE__SQRTL 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 sincosl declaration" >&5
63354 $as_echo_n "checking for sincosl declaration... " >&6; }
63355 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63356 if test "${glibcxx_cv_func_sincosl_use+set}" = set; 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 int
63371 main ()
63372 {
63373 sincosl(0, 0, 0);
63374 ;
63375 return 0;
63376 }
63377 _ACEOF
63378 if ac_fn_cxx_try_compile "$LINENO"; then :
63379 glibcxx_cv_func_sincosl_use=yes
63380 else
63381 glibcxx_cv_func_sincosl_use=no
63382 fi
63383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63384 ac_ext=c
63385 ac_cpp='$CPP $CPPFLAGS'
63386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63389
63390
63391 fi
63392
63393 fi
63394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63395 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63396
63397 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63398 for ac_func in sincosl
63399 do :
63400 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63401 if test "x$ac_cv_func_sincosl" = x""yes; then :
63402 cat >>confdefs.h <<_ACEOF
63403 #define HAVE_SINCOSL 1
63404 _ACEOF
63405
63406 fi
63407 done
63408
63409 else
63410
63411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63412 $as_echo_n "checking for _sincosl declaration... " >&6; }
63413 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63414 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63415 $as_echo_n "(cached) " >&6
63416 else
63417
63418
63419 ac_ext=cpp
63420 ac_cpp='$CXXCPP $CPPFLAGS'
63421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63424
63425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63426 /* end confdefs.h. */
63427 #include <math.h>
63428 int
63429 main ()
63430 {
63431 _sincosl(0, 0, 0);
63432 ;
63433 return 0;
63434 }
63435 _ACEOF
63436 if ac_fn_cxx_try_compile "$LINENO"; then :
63437 glibcxx_cv_func__sincosl_use=yes
63438 else
63439 glibcxx_cv_func__sincosl_use=no
63440 fi
63441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63442 ac_ext=c
63443 ac_cpp='$CPP $CPPFLAGS'
63444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63447
63448
63449 fi
63450
63451 fi
63452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63453 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63454
63455 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63456 for ac_func in _sincosl
63457 do :
63458 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63459 if test "x$ac_cv_func__sincosl" = x""yes; then :
63460 cat >>confdefs.h <<_ACEOF
63461 #define HAVE__SINCOSL 1
63462 _ACEOF
63463
63464 fi
63465 done
63466
63467 fi
63468 fi
63469
63470
63471
63472
63473
63474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63475 $as_echo_n "checking for finitel declaration... " >&6; }
63476 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63477 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63478 $as_echo_n "(cached) " >&6
63479 else
63480
63481
63482 ac_ext=cpp
63483 ac_cpp='$CXXCPP $CPPFLAGS'
63484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63487
63488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63489 /* end confdefs.h. */
63490 #include <math.h>
63491 #ifdef HAVE_IEEEFP_H
63492 #include <ieeefp.h>
63493 #endif
63494
63495 int
63496 main ()
63497 {
63498 finitel(0);
63499 ;
63500 return 0;
63501 }
63502 _ACEOF
63503 if ac_fn_cxx_try_compile "$LINENO"; then :
63504 glibcxx_cv_func_finitel_use=yes
63505 else
63506 glibcxx_cv_func_finitel_use=no
63507 fi
63508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63509 ac_ext=c
63510 ac_cpp='$CPP $CPPFLAGS'
63511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63514
63515
63516 fi
63517
63518 fi
63519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63520 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63521
63522 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63523 for ac_func in finitel
63524 do :
63525 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63526 if test "x$ac_cv_func_finitel" = x""yes; then :
63527 cat >>confdefs.h <<_ACEOF
63528 #define HAVE_FINITEL 1
63529 _ACEOF
63530
63531 fi
63532 done
63533
63534 else
63535
63536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63537 $as_echo_n "checking for _finitel declaration... " >&6; }
63538 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63539 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63540 $as_echo_n "(cached) " >&6
63541 else
63542
63543
63544 ac_ext=cpp
63545 ac_cpp='$CXXCPP $CPPFLAGS'
63546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63549
63550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63551 /* end confdefs.h. */
63552 #include <math.h>
63553 #ifdef HAVE_IEEEFP_H
63554 #include <ieeefp.h>
63555 #endif
63556
63557 int
63558 main ()
63559 {
63560 _finitel(0);
63561 ;
63562 return 0;
63563 }
63564 _ACEOF
63565 if ac_fn_cxx_try_compile "$LINENO"; then :
63566 glibcxx_cv_func__finitel_use=yes
63567 else
63568 glibcxx_cv_func__finitel_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__finitel_use" >&5
63582 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63583
63584 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63585 for ac_func in _finitel
63586 do :
63587 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63588 if test "x$ac_cv_func__finitel" = x""yes; then :
63589 cat >>confdefs.h <<_ACEOF
63590 #define HAVE__FINITEL 1
63591 _ACEOF
63592
63593 fi
63594 done
63595
63596 fi
63597 fi
63598
63599
63600
63601
63602 LIBS="$ac_save_LIBS"
63603 CXXFLAGS="$ac_save_CXXFLAGS"
63604
63605
63606 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63607 ac_save_CXXFLAGS="$CXXFLAGS"
63608 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63609
63610
63611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63612 $as_echo_n "checking for strtold declaration... " >&6; }
63613 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63614 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63615 $as_echo_n "(cached) " >&6
63616 else
63617
63618
63619 ac_ext=cpp
63620 ac_cpp='$CXXCPP $CPPFLAGS'
63621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63624
63625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63626 /* end confdefs.h. */
63627 #include <stdlib.h>
63628 int
63629 main ()
63630 {
63631 strtold(0, 0);
63632 ;
63633 return 0;
63634 }
63635 _ACEOF
63636 if ac_fn_cxx_try_compile "$LINENO"; then :
63637 glibcxx_cv_func_strtold_use=yes
63638 else
63639 glibcxx_cv_func_strtold_use=no
63640 fi
63641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63642 ac_ext=c
63643 ac_cpp='$CPP $CPPFLAGS'
63644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63647
63648
63649 fi
63650
63651 fi
63652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63653 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63654 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63655 for ac_func in strtold
63656 do :
63657 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63658 if test "x$ac_cv_func_strtold" = x""yes; then :
63659 cat >>confdefs.h <<_ACEOF
63660 #define HAVE_STRTOLD 1
63661 _ACEOF
63662
63663 fi
63664 done
63665
63666 fi
63667
63668
63669
63670
63671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63672 $as_echo_n "checking for strtof declaration... " >&6; }
63673 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63674 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63675 $as_echo_n "(cached) " >&6
63676 else
63677
63678
63679 ac_ext=cpp
63680 ac_cpp='$CXXCPP $CPPFLAGS'
63681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63684
63685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63686 /* end confdefs.h. */
63687 #include <stdlib.h>
63688 int
63689 main ()
63690 {
63691 strtof(0, 0);
63692 ;
63693 return 0;
63694 }
63695 _ACEOF
63696 if ac_fn_cxx_try_compile "$LINENO"; then :
63697 glibcxx_cv_func_strtof_use=yes
63698 else
63699 glibcxx_cv_func_strtof_use=no
63700 fi
63701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63702 ac_ext=c
63703 ac_cpp='$CPP $CPPFLAGS'
63704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63707
63708
63709 fi
63710
63711 fi
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63713 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63714 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63715 for ac_func in strtof
63716 do :
63717 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63718 if test "x$ac_cv_func_strtof" = x""yes; then :
63719 cat >>confdefs.h <<_ACEOF
63720 #define HAVE_STRTOF 1
63721 _ACEOF
63722
63723 fi
63724 done
63725
63726 fi
63727
63728
63729
63730
63731 CXXFLAGS="$ac_save_CXXFLAGS"
63732
63733 ;;
63734 *-solaris*)
63735 case "$target" in
63736 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63737
63738 # If we're not using GNU ld, then there's no point in even trying these
63739 # tests. Check for that first. We should have already tested for gld
63740 # by now (in libtool), but require it now just to be safe...
63741 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63742 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63743
63744
63745
63746 # The name set by libtool depends on the version of libtool. Shame on us
63747 # for depending on an impl detail, but c'est la vie. Older versions used
63748 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63749 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63750 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63751 # set (hence we're using an older libtool), then set it.
63752 if test x${with_gnu_ld+set} != xset; then
63753 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63754 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63755 with_gnu_ld=no
63756 else
63757 with_gnu_ld=$ac_cv_prog_gnu_ld
63758 fi
63759 fi
63760
63761 # Start by getting the version number. I think the libtool test already
63762 # does some of this, but throws away the result.
63763 glibcxx_ld_is_gold=no
63764 if test x"$with_gnu_ld" = x"yes"; then
63765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63766 $as_echo_n "checking for ld version... " >&6; }
63767
63768 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63769 glibcxx_ld_is_gold=yes
63770 fi
63771 ldver=`$LD --version 2>/dev/null |
63772 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63773
63774 glibcxx_gnu_ld_version=`echo $ldver | \
63775 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63777 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63778 fi
63779
63780 # Set --gc-sections.
63781 glibcxx_have_gc_sections=no
63782 if test "$glibcxx_ld_is_gold" = "yes"; then
63783 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63784 glibcxx_have_gc_sections=yes
63785 fi
63786 else
63787 glibcxx_gcsections_min_ld=21602
63788 if test x"$with_gnu_ld" = x"yes" &&
63789 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63790 glibcxx_have_gc_sections=yes
63791 fi
63792 fi
63793 if test "$glibcxx_have_gc_sections" = "yes"; then
63794 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63795 # NB: This flag only works reliably after 2.16.1. Configure tests
63796 # for this are difficult, so hard wire a value that should work.
63797
63798 ac_test_CFLAGS="${CFLAGS+set}"
63799 ac_save_CFLAGS="$CFLAGS"
63800 CFLAGS='-Wl,--gc-sections'
63801
63802 # Check for -Wl,--gc-sections
63803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63804 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63805 if test x$gcc_no_link = xyes; then
63806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63807 fi
63808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63809 /* end confdefs.h. */
63810 int one(void) { return 1; }
63811 int two(void) { return 2; }
63812
63813 int
63814 main ()
63815 {
63816 two();
63817 ;
63818 return 0;
63819 }
63820 _ACEOF
63821 if ac_fn_c_try_link "$LINENO"; then :
63822 ac_gcsections=yes
63823 else
63824 ac_gcsections=no
63825 fi
63826 rm -f core conftest.err conftest.$ac_objext \
63827 conftest$ac_exeext conftest.$ac_ext
63828 if test "$ac_gcsections" = "yes"; then
63829 rm -f conftest.c
63830 touch conftest.c
63831 if $CC -c conftest.c; then
63832 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63833 grep "Warning: gc-sections option ignored" > /dev/null; then
63834 ac_gcsections=no
63835 fi
63836 fi
63837 rm -f conftest.c conftest.o conftest
63838 fi
63839 if test "$ac_gcsections" = "yes"; then
63840 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63841 fi
63842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63843 $as_echo "$ac_gcsections" >&6; }
63844
63845 if test "$ac_test_CFLAGS" = set; then
63846 CFLAGS="$ac_save_CFLAGS"
63847 else
63848 # this is the suspicious part
63849 CFLAGS=''
63850 fi
63851 fi
63852
63853 # Set -z,relro.
63854 # Note this is only for shared objects.
63855 ac_ld_relro=no
63856 if test x"$with_gnu_ld" = x"yes"; then
63857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63858 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63859 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63860 if test -n "$cxx_z_relo"; then
63861 OPT_LDFLAGS="-Wl,-z,relro"
63862 ac_ld_relro=yes
63863 fi
63864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63865 $as_echo "$ac_ld_relro" >&6; }
63866 fi
63867
63868 # Set linker optimization flags.
63869 if test x"$with_gnu_ld" = x"yes"; then
63870 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63871 fi
63872
63873
63874
63875
63876 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63877
63878 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63879
63880 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63881
63882 # All of the dependencies for wide character support are here, so
63883 # turn it on.
63884 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63885
63886 ;;
63887 esac
63888 case "$target" in
63889 *-*-solaris2.10)
63890 # These two C99 functions are present only in Solaris >= 10
63891 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63892
63893 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63894
63895 ;;
63896 esac
63897 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63898
63899 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63900
63901 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63902
63903 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63904
63905 ;;
63906 *-tpf)
63907 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63908
63909
63910 # If we're not using GNU ld, then there's no point in even trying these
63911 # tests. Check for that first. We should have already tested for gld
63912 # by now (in libtool), but require it now just to be safe...
63913 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63914 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63915
63916
63917
63918 # The name set by libtool depends on the version of libtool. Shame on us
63919 # for depending on an impl detail, but c'est la vie. Older versions used
63920 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63921 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63922 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63923 # set (hence we're using an older libtool), then set it.
63924 if test x${with_gnu_ld+set} != xset; then
63925 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63926 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63927 with_gnu_ld=no
63928 else
63929 with_gnu_ld=$ac_cv_prog_gnu_ld
63930 fi
63931 fi
63932
63933 # Start by getting the version number. I think the libtool test already
63934 # does some of this, but throws away the result.
63935 glibcxx_ld_is_gold=no
63936 if test x"$with_gnu_ld" = x"yes"; then
63937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63938 $as_echo_n "checking for ld version... " >&6; }
63939
63940 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63941 glibcxx_ld_is_gold=yes
63942 fi
63943 ldver=`$LD --version 2>/dev/null |
63944 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63945
63946 glibcxx_gnu_ld_version=`echo $ldver | \
63947 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63949 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63950 fi
63951
63952 # Set --gc-sections.
63953 glibcxx_have_gc_sections=no
63954 if test "$glibcxx_ld_is_gold" = "yes"; then
63955 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63956 glibcxx_have_gc_sections=yes
63957 fi
63958 else
63959 glibcxx_gcsections_min_ld=21602
63960 if test x"$with_gnu_ld" = x"yes" &&
63961 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63962 glibcxx_have_gc_sections=yes
63963 fi
63964 fi
63965 if test "$glibcxx_have_gc_sections" = "yes"; then
63966 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63967 # NB: This flag only works reliably after 2.16.1. Configure tests
63968 # for this are difficult, so hard wire a value that should work.
63969
63970 ac_test_CFLAGS="${CFLAGS+set}"
63971 ac_save_CFLAGS="$CFLAGS"
63972 CFLAGS='-Wl,--gc-sections'
63973
63974 # Check for -Wl,--gc-sections
63975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63976 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63977 if test x$gcc_no_link = xyes; then
63978 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63979 fi
63980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63981 /* end confdefs.h. */
63982 int one(void) { return 1; }
63983 int two(void) { return 2; }
63984
63985 int
63986 main ()
63987 {
63988 two();
63989 ;
63990 return 0;
63991 }
63992 _ACEOF
63993 if ac_fn_c_try_link "$LINENO"; then :
63994 ac_gcsections=yes
63995 else
63996 ac_gcsections=no
63997 fi
63998 rm -f core conftest.err conftest.$ac_objext \
63999 conftest$ac_exeext conftest.$ac_ext
64000 if test "$ac_gcsections" = "yes"; then
64001 rm -f conftest.c
64002 touch conftest.c
64003 if $CC -c conftest.c; then
64004 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64005 grep "Warning: gc-sections option ignored" > /dev/null; then
64006 ac_gcsections=no
64007 fi
64008 fi
64009 rm -f conftest.c conftest.o conftest
64010 fi
64011 if test "$ac_gcsections" = "yes"; then
64012 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64013 fi
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64015 $as_echo "$ac_gcsections" >&6; }
64016
64017 if test "$ac_test_CFLAGS" = set; then
64018 CFLAGS="$ac_save_CFLAGS"
64019 else
64020 # this is the suspicious part
64021 CFLAGS=''
64022 fi
64023 fi
64024
64025 # Set -z,relro.
64026 # Note this is only for shared objects.
64027 ac_ld_relro=no
64028 if test x"$with_gnu_ld" = x"yes"; then
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64030 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64031 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64032 if test -n "$cxx_z_relo"; then
64033 OPT_LDFLAGS="-Wl,-z,relro"
64034 ac_ld_relro=yes
64035 fi
64036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64037 $as_echo "$ac_ld_relro" >&6; }
64038 fi
64039
64040 # Set linker optimization flags.
64041 if test x"$with_gnu_ld" = x"yes"; then
64042 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64043 fi
64044
64045
64046
64047
64048 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64049
64050 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64051
64052 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64053
64054 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64055
64056 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64057
64058 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64059
64060 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64061
64062 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64063
64064 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64065
64066 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64067
64068 if test x"long_double_math_on_this_cpu" = x"yes"; then
64069 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64070
64071 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64072
64073 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64074
64075 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64076
64077 fi
64078 ;;
64079 *-vxworks)
64080 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64081
64082 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64083
64084 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64085
64086 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64087
64088 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64089
64090 $as_echo "#define HAVE_COSF 1" >>confdefs.h
64091
64092 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64093
64094 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64095
64096 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64097
64098 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64099
64100 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64101
64102 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64103
64104 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64105
64106 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64107
64108 $as_echo "#define HAVE_POWF 1" >>confdefs.h
64109
64110 $as_echo "#define HAVE_SINF 1" >>confdefs.h
64111
64112 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64113
64114 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64115
64116 $as_echo "#define HAVE_TANF 1" >>confdefs.h
64117
64118 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64119
64120 ;;
64121 *)
64122 as_fn_error "No support for this host/target combination." "$LINENO" 5
64123 ;;
64124 esac
64125
64126 fi
64127
64128 # At some point, we should differentiate between architectures
64129 # like x86, which have long double versions, and alpha/powerpc/etc.,
64130 # which don't. For the time being, punt.
64131 if test x"long_double_math_on_this_cpu" = x"yes"; then
64132 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64133
64134 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64135
64136 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64137
64138 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64139
64140 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64141
64142 $as_echo "#define HAVE_COSL 1" >>confdefs.h
64143
64144 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64145
64146 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64147
64148 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64149
64150 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64151
64152 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64153
64154 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64155
64156 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64157
64158 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64159
64160 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64161
64162 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64163
64164 $as_echo "#define HAVE_POWL 1" >>confdefs.h
64165
64166 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64167
64168 $as_echo "#define HAVE_SINL 1" >>confdefs.h
64169
64170 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64171
64172 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64173
64174 $as_echo "#define HAVE_TANL 1" >>confdefs.h
64175
64176 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64177
64178 fi
64179 fi
64180
64181 # Check for _Unwind_GetIPInfo.
64182
64183
64184 # Check whether --with-system-libunwind was given.
64185 if test "${with_system_libunwind+set}" = set; then :
64186 withval=$with_system_libunwind;
64187 fi
64188
64189 # If system-libunwind was not specifically set, pick a default setting.
64190 if test x$with_system_libunwind = x; then
64191 case ${target} in
64192 ia64-*-hpux*) with_system_libunwind=yes ;;
64193 *) with_system_libunwind=no ;;
64194 esac
64195 fi
64196 # Based on system-libunwind and target, do we have ipinfo?
64197 if test x$with_system_libunwind = xyes; then
64198 case ${target} in
64199 ia64-*-*) have_unwind_getipinfo=no ;;
64200 *) have_unwind_getipinfo=yes ;;
64201 esac
64202 else
64203 # Darwin before version 9 does not have _Unwind_GetIPInfo.
64204
64205 case ${target} in
64206 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64207 *) have_unwind_getipinfo=yes ;;
64208 esac
64209
64210 fi
64211
64212 if test x$have_unwind_getipinfo = xyes; then
64213
64214 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64215
64216 fi
64217
64218
64219 # Check whether --enable-linux-futex was given.
64220 if test "${enable_linux_futex+set}" = set; then :
64221 enableval=$enable_linux_futex;
64222 case "$enableval" in
64223 yes|no|default) ;;
64224 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64225 esac
64226
64227 else
64228 enable_linux_futex=default
64229 fi
64230
64231
64232 case "$target" in
64233 *-linux*)
64234 case "$enable_linux_futex" in
64235 default)
64236 # If headers don't have gettid/futex syscalls definition, then
64237 # default to no, otherwise there will be compile time failures.
64238 # Otherwise, default to yes. If we don't detect we are
64239 # compiled/linked against NPTL and not cross-compiling, check
64240 # if programs are run by default against NPTL and if not, issue
64241 # a warning.
64242 enable_linux_futex=no
64243 if test x$gcc_no_link = xyes; then
64244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64245 fi
64246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64247 /* end confdefs.h. */
64248 #include <sys/syscall.h>
64249 int lk;
64250 int
64251 main ()
64252 {
64253 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64254 ;
64255 return 0;
64256 }
64257 _ACEOF
64258 if ac_fn_c_try_link "$LINENO"; then :
64259 save_LIBS="$LIBS"
64260 LIBS="-lpthread $LIBS"
64261 if test x$gcc_no_link = xyes; then
64262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64263 fi
64264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64265 /* end confdefs.h. */
64266 #ifndef _GNU_SOURCE
64267 #define _GNU_SOURCE 1
64268 #endif
64269 #include <pthread.h>
64270 pthread_t th; void *status;
64271 int
64272 main ()
64273 {
64274 pthread_tryjoin_np (th, &status);
64275 ;
64276 return 0;
64277 }
64278 _ACEOF
64279 if ac_fn_c_try_link "$LINENO"; then :
64280 enable_linux_futex=yes
64281 else
64282 if test x$cross_compiling = xno; then
64283 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64284 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64286 If so, please configure with --disable-linux-futex" >&5
64287 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64288 If so, please configure with --disable-linux-futex" >&2;}
64289 fi
64290 fi
64291 enable_linux_futex=yes
64292 fi
64293 rm -f core conftest.err conftest.$ac_objext \
64294 conftest$ac_exeext conftest.$ac_ext
64295 LIBS="$save_LIBS"
64296 fi
64297 rm -f core conftest.err conftest.$ac_objext \
64298 conftest$ac_exeext conftest.$ac_ext
64299 ;;
64300 yes)
64301 if test x$gcc_no_link = xyes; then
64302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64303 fi
64304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64305 /* end confdefs.h. */
64306 #include <sys/syscall.h>
64307 int lk;
64308 int
64309 main ()
64310 {
64311 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64312 ;
64313 return 0;
64314 }
64315 _ACEOF
64316 if ac_fn_c_try_link "$LINENO"; then :
64317
64318 else
64319 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64320 fi
64321 rm -f core conftest.err conftest.$ac_objext \
64322 conftest$ac_exeext conftest.$ac_ext
64323 ;;
64324 esac
64325 ;;
64326 *)
64327 enable_linux_futex=no
64328 ;;
64329 esac
64330 if test x$enable_linux_futex = xyes; then
64331
64332 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64333
64334 fi
64335
64336
64337
64338
64339 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64340
64341 acx_cv_header_stdint=stddef.h
64342 acx_cv_header_stdint_kind="(already complete)"
64343 for i in stdint.h $inttype_headers; do
64344 unset ac_cv_type_uintptr_t
64345 unset ac_cv_type_uintmax_t
64346 unset ac_cv_type_int_least32_t
64347 unset ac_cv_type_int_fast32_t
64348 unset ac_cv_type_uint64_t
64349 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64350 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64351 #include <$i>
64352 "
64353 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64354 acx_cv_header_stdint=$i
64355 else
64356 continue
64357 fi
64358
64359 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64360 #include <$i>
64361 "
64362 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64363
64364 else
64365 acx_cv_header_stdint_kind="(mostly complete)"
64366 fi
64367
64368 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64369 #include <$i>
64370 "
64371 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64372
64373 else
64374 acx_cv_header_stdint_kind="(mostly complete)"
64375 fi
64376
64377 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64378 #include <$i>
64379 "
64380 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64381
64382 else
64383 acx_cv_header_stdint_kind="(mostly complete)"
64384 fi
64385
64386 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64387 #include <$i>
64388 "
64389 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64390
64391 else
64392 acx_cv_header_stdint_kind="(lacks uint64_t)"
64393 fi
64394
64395 break
64396 done
64397 if test "$acx_cv_header_stdint" = stddef.h; then
64398 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64399 for i in stdint.h $inttype_headers; do
64400 unset ac_cv_type_uintptr_t
64401 unset ac_cv_type_uint32_t
64402 unset ac_cv_type_uint64_t
64403 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64404 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64405 #include <$i>
64406 "
64407 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64408 acx_cv_header_stdint=$i
64409 else
64410 continue
64411 fi
64412
64413 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64414 #include <$i>
64415 "
64416 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64417
64418 fi
64419
64420 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64421 #include <$i>
64422 "
64423 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64424
64425 fi
64426
64427 break
64428 done
64429 fi
64430 if test "$acx_cv_header_stdint" = stddef.h; then
64431 acx_cv_header_stdint_kind="(u_intXX_t style)"
64432 for i in sys/types.h $inttype_headers; do
64433 unset ac_cv_type_u_int32_t
64434 unset ac_cv_type_u_int64_t
64435 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64436 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64437 #include <$i>
64438 "
64439 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64440 acx_cv_header_stdint=$i
64441 else
64442 continue
64443 fi
64444
64445 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64446 #include <$i>
64447 "
64448 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64449
64450 fi
64451
64452 break
64453 done
64454 fi
64455 if test "$acx_cv_header_stdint" = stddef.h; then
64456 acx_cv_header_stdint_kind="(using manual detection)"
64457 fi
64458
64459 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64460 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64461 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64462 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64463 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64464
64465 # ----------------- Summarize what we found so far
64466
64467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64468 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64469
64470 case `$as_basename -- include/gstdint.h ||
64471 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64472 Xinclude/gstdint.h : 'X\(//\)$' \| \
64473 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64474 $as_echo X/include/gstdint.h |
64475 sed '/^.*\/\([^/][^/]*\)\/*$/{
64476 s//\1/
64477 q
64478 }
64479 /^X\/\(\/\/\)$/{
64480 s//\1/
64481 q
64482 }
64483 /^X\/\(\/\).*/{
64484 s//\1/
64485 q
64486 }
64487 s/.*/./; q'` in
64488 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64489 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64490 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64491 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64492 *) ;;
64493 esac
64494
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64496 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64497
64498 # ----------------- done included file, check C basic types --------
64499
64500 # Lacking an uintptr_t? Test size of void *
64501 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64502 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64505 # This bug is HP SR number 8606223364.
64506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64507 $as_echo_n "checking size of void *... " >&6; }
64508 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64509 $as_echo_n "(cached) " >&6
64510 else
64511 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64512
64513 else
64514 if test "$ac_cv_type_void_p" = yes; then
64515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64517 { as_fn_set_status 77
64518 as_fn_error "cannot compute sizeof (void *)
64519 See \`config.log' for more details." "$LINENO" 5; }; }
64520 else
64521 ac_cv_sizeof_void_p=0
64522 fi
64523 fi
64524
64525 fi
64526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64527 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64528
64529
64530
64531 cat >>confdefs.h <<_ACEOF
64532 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64533 _ACEOF
64534
64535 ;;
64536 esac
64537
64538 # Lacking an uint64_t? Test size of long
64539 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64540 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64543 # This bug is HP SR number 8606223364.
64544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64545 $as_echo_n "checking size of long... " >&6; }
64546 if test "${ac_cv_sizeof_long+set}" = set; then :
64547 $as_echo_n "(cached) " >&6
64548 else
64549 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64550
64551 else
64552 if test "$ac_cv_type_long" = yes; then
64553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64555 { as_fn_set_status 77
64556 as_fn_error "cannot compute sizeof (long)
64557 See \`config.log' for more details." "$LINENO" 5; }; }
64558 else
64559 ac_cv_sizeof_long=0
64560 fi
64561 fi
64562
64563 fi
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64565 $as_echo "$ac_cv_sizeof_long" >&6; }
64566
64567
64568
64569 cat >>confdefs.h <<_ACEOF
64570 #define SIZEOF_LONG $ac_cv_sizeof_long
64571 _ACEOF
64572
64573 ;;
64574 esac
64575
64576 if test $acx_cv_header_stdint = stddef.h; then
64577 # Lacking a good header? Test size of everything and deduce all types.
64578 # The cast to long int works around a bug in the HP C Compiler
64579 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64580 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64581 # This bug is HP SR number 8606223364.
64582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64583 $as_echo_n "checking size of int... " >&6; }
64584 if test "${ac_cv_sizeof_int+set}" = set; then :
64585 $as_echo_n "(cached) " >&6
64586 else
64587 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64588
64589 else
64590 if test "$ac_cv_type_int" = yes; then
64591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64593 { as_fn_set_status 77
64594 as_fn_error "cannot compute sizeof (int)
64595 See \`config.log' for more details." "$LINENO" 5; }; }
64596 else
64597 ac_cv_sizeof_int=0
64598 fi
64599 fi
64600
64601 fi
64602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64603 $as_echo "$ac_cv_sizeof_int" >&6; }
64604
64605
64606
64607 cat >>confdefs.h <<_ACEOF
64608 #define SIZEOF_INT $ac_cv_sizeof_int
64609 _ACEOF
64610
64611
64612 # The cast to long int works around a bug in the HP C Compiler
64613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64615 # This bug is HP SR number 8606223364.
64616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64617 $as_echo_n "checking size of short... " >&6; }
64618 if test "${ac_cv_sizeof_short+set}" = set; then :
64619 $as_echo_n "(cached) " >&6
64620 else
64621 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64622
64623 else
64624 if test "$ac_cv_type_short" = yes; then
64625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64627 { as_fn_set_status 77
64628 as_fn_error "cannot compute sizeof (short)
64629 See \`config.log' for more details." "$LINENO" 5; }; }
64630 else
64631 ac_cv_sizeof_short=0
64632 fi
64633 fi
64634
64635 fi
64636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64637 $as_echo "$ac_cv_sizeof_short" >&6; }
64638
64639
64640
64641 cat >>confdefs.h <<_ACEOF
64642 #define SIZEOF_SHORT $ac_cv_sizeof_short
64643 _ACEOF
64644
64645
64646 # The cast to long int works around a bug in the HP C Compiler
64647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64649 # This bug is HP SR number 8606223364.
64650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64651 $as_echo_n "checking size of char... " >&6; }
64652 if test "${ac_cv_sizeof_char+set}" = set; then :
64653 $as_echo_n "(cached) " >&6
64654 else
64655 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64656
64657 else
64658 if test "$ac_cv_type_char" = yes; then
64659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64661 { as_fn_set_status 77
64662 as_fn_error "cannot compute sizeof (char)
64663 See \`config.log' for more details." "$LINENO" 5; }; }
64664 else
64665 ac_cv_sizeof_char=0
64666 fi
64667 fi
64668
64669 fi
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64671 $as_echo "$ac_cv_sizeof_char" >&6; }
64672
64673
64674
64675 cat >>confdefs.h <<_ACEOF
64676 #define SIZEOF_CHAR $ac_cv_sizeof_char
64677 _ACEOF
64678
64679
64680
64681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64682 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64683 case "$ac_cv_sizeof_char" in
64684 1) acx_cv_type_int8_t=char ;;
64685 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64686 esac
64687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64688 $as_echo "$acx_cv_type_int8_t" >&6; }
64689
64690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64691 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64692 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64693 2:*) acx_cv_type_int16_t=int ;;
64694 *:2) acx_cv_type_int16_t=short ;;
64695 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64696 esac
64697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64698 $as_echo "$acx_cv_type_int16_t" >&6; }
64699
64700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64701 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64702 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64703 4:*) acx_cv_type_int32_t=int ;;
64704 *:4) acx_cv_type_int32_t=long ;;
64705 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64706 esac
64707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64708 $as_echo "$acx_cv_type_int32_t" >&6; }
64709 fi
64710
64711 # These tests are here to make the output prettier
64712
64713 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64714 case "$ac_cv_sizeof_long" in
64715 8) acx_cv_type_int64_t=long ;;
64716 esac
64717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64718 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64720 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64721 fi
64722
64723 # Now we can use the above types
64724
64725 if test "$ac_cv_type_uintptr_t" != yes; then
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64727 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64728 case $ac_cv_sizeof_void_p in
64729 2) acx_cv_type_intptr_t=int16_t ;;
64730 4) acx_cv_type_intptr_t=int32_t ;;
64731 8) acx_cv_type_intptr_t=int64_t ;;
64732 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64733 esac
64734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64735 $as_echo "$acx_cv_type_intptr_t" >&6; }
64736 fi
64737
64738 # ----------------- done all checks, emit header -------------
64739 ac_config_commands="$ac_config_commands include/gstdint.h"
64740
64741
64742
64743
64744
64745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64746 $as_echo_n "checking for GNU c++filt... " >&6; }
64747 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64748 $as_echo_n "(cached) " >&6
64749 else
64750 if test -z "$CXXFILT"; then
64751 ac_path_CXXFILT_found=false
64752 # Loop through the user's path and test for each of PROGNAME-LIST
64753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64754 for as_dir in $PATH
64755 do
64756 IFS=$as_save_IFS
64757 test -z "$as_dir" && as_dir=.
64758 for ac_prog in c++filt gc++filt; do
64759 for ac_exec_ext in '' $ac_executable_extensions; do
64760 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64761 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64762 # Check for GNU $ac_path_CXXFILT
64763 case `"$ac_path_CXXFILT" --version 2>&1` in
64764 *GNU*)
64765 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64766 esac
64767
64768 $ac_path_CXXFILT_found && break 3
64769 done
64770 done
64771 done
64772 IFS=$as_save_IFS
64773 if test -z "$ac_cv_path_CXXFILT"; then
64774 :
64775 fi
64776 else
64777 ac_cv_path_CXXFILT=$CXXFILT
64778 fi
64779
64780 fi
64781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64782 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64783 CXXFILT=$ac_cv_path_CXXFILT
64784
64785
64786
64787 # Check whether --enable-symvers was given.
64788 if test "${enable_symvers+set}" = set; then :
64789 enableval=$enable_symvers;
64790 case "$enableval" in
64791 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64792 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64793 esac
64794
64795 else
64796 enable_symvers=yes
64797 fi
64798
64799
64800
64801 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64802 # don't know enough about $LD to do tricks...
64803
64804 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64805 # with extern "C++" in version scripts.
64806
64807
64808 # Turn a 'yes' into a suitable default.
64809 if test x$enable_symvers = xyes ; then
64810 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64811 enable_symvers=no
64812 else
64813 if test $with_gnu_ld = yes ; then
64814 case ${target_os} in
64815 hpux*)
64816 enable_symvers=no ;;
64817 *)
64818 enable_symvers=gnu ;;
64819 esac
64820 else
64821 case ${target_os} in
64822 darwin*)
64823 enable_symvers=darwin ;;
64824 # Sun symbol versioning exists since Solaris 2.5.
64825 solaris2.[5-9]* | solaris2.1[0-9]*)
64826 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64827 # version scripts, so disable symbol versioning if none can be
64828 # found.
64829 if test -z "$ac_cv_path_CXXFILT"; then
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64831 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64833 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64835 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64836 enable_symvers=no
64837 else
64838 enable_symvers=sun
64839 fi
64840 ;;
64841 *)
64842 enable_symvers=no ;;
64843 esac
64844 fi
64845 fi
64846 fi
64847
64848 # Check to see if 'darwin' or 'darwin-export' can win.
64849 if test x$enable_symvers = xdarwin-export ; then
64850 enable_symvers=darwin
64851 fi
64852
64853 # Check if 'sun' was requested on non-Solaris 2 platforms.
64854 if test x$enable_symvers = xsun ; then
64855 case ${target_os} in
64856 solaris2*)
64857 # All fine.
64858 ;;
64859 *)
64860 # Unlikely to work.
64861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64862 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64864 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64866 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64867 enable_symvers=no
64868 ;;
64869 esac
64870 fi
64871
64872 # Check to see if 'gnu' can win.
64873 if test $enable_symvers = gnu ||
64874 test $enable_symvers = gnu-versioned-namespace ||
64875 test $enable_symvers = sun; then
64876 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64878 $as_echo_n "checking for shared libgcc... " >&6; }
64879 ac_save_CFLAGS="$CFLAGS"
64880 CFLAGS=' -lgcc_s'
64881 if test x$gcc_no_link = xyes; then
64882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64883 fi
64884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64885 /* end confdefs.h. */
64886
64887 int
64888 main ()
64889 {
64890 return 0;
64891 ;
64892 return 0;
64893 }
64894 _ACEOF
64895 if ac_fn_c_try_link "$LINENO"; then :
64896 glibcxx_shared_libgcc=yes
64897 else
64898 glibcxx_shared_libgcc=no
64899 fi
64900 rm -f core conftest.err conftest.$ac_objext \
64901 conftest$ac_exeext conftest.$ac_ext
64902 CFLAGS="$ac_save_CFLAGS"
64903 if test $glibcxx_shared_libgcc = no; then
64904 cat > conftest.c <<EOF
64905 int main (void) { return 0; }
64906 EOF
64907 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64908 -shared -shared-libgcc -o conftest.so \
64909 conftest.c -v 2>&1 >/dev/null \
64910 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64911 rm -f conftest.c conftest.so
64912 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64913 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64914 if test x$gcc_no_link = xyes; then
64915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64916 fi
64917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64918 /* end confdefs.h. */
64919
64920 int
64921 main ()
64922 {
64923 return 0;
64924 ;
64925 return 0;
64926 }
64927 _ACEOF
64928 if ac_fn_c_try_link "$LINENO"; then :
64929 glibcxx_shared_libgcc=yes
64930 fi
64931 rm -f core conftest.err conftest.$ac_objext \
64932 conftest$ac_exeext conftest.$ac_ext
64933 CFLAGS="$ac_save_CFLAGS"
64934 fi
64935 fi
64936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64937 $as_echo "$glibcxx_shared_libgcc" >&6; }
64938
64939 # For GNU ld, we need at least this version. The format is described in
64940 # GLIBCXX_CHECK_LINKER_FEATURES above.
64941 glibcxx_min_gnu_ld_version=21400
64942
64943 # If no shared libgcc, can't win.
64944 if test $glibcxx_shared_libgcc != yes; then
64945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64946 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64948 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64950 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64951 enable_symvers=no
64952 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64953 : All interesting versions of Sun ld support sun style symbol versioning.
64954 elif test $with_gnu_ld != yes ; then
64955 # just fail for now
64956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64957 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64959 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64961 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64962 enable_symvers=no
64963 elif test $glibcxx_ld_is_gold = yes ; then
64964 : All versions of gold support symbol versioning.
64965 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64966 # The right tools, the right setup, but too old. Fallbacks?
64967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64968 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64970 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64972 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64974 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64976 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64977 enable_symvers=no
64978 fi
64979 fi
64980
64981 # For libtool versioning info, format is CURRENT:REVISION:AGE
64982 libtool_VERSION=6:17:0
64983
64984 # Everything parsed; figure out what files and settings to use.
64985 case $enable_symvers in
64986 no)
64987 SYMVER_FILE=config/abi/pre/none.ver
64988 ;;
64989 gnu)
64990 SYMVER_FILE=config/abi/pre/gnu.ver
64991
64992 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64993
64994 ;;
64995 gnu-versioned-namespace)
64996 libtool_VERSION=7:0:0
64997 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64998
64999 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
65000
65001 ;;
65002 darwin)
65003 SYMVER_FILE=config/abi/pre/gnu.ver
65004
65005 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
65006
65007 ;;
65008 sun)
65009 SYMVER_FILE=config/abi/pre/gnu.ver
65010
65011 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
65012
65013 ;;
65014 esac
65015
65016 if test x$enable_symvers != xno ; then
65017
65018 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
65019
65020 fi
65021
65022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
65023 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
65024 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
65025 $as_echo_n "(cached) " >&6
65026 else
65027
65028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65029 /* end confdefs.h. */
65030 void foo (void); __asm (".symver foo, bar@SYMVER");
65031 int
65032 main ()
65033 {
65034
65035 ;
65036 return 0;
65037 }
65038 _ACEOF
65039 if ac_fn_c_try_compile "$LINENO"; then :
65040 glibcxx_cv_have_as_symver_directive=yes
65041 else
65042 glibcxx_cv_have_as_symver_directive=no
65043 fi
65044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65045 fi
65046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65047 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65048 if test $glibcxx_cv_have_as_symver_directive = yes; then
65049
65050 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65051
65052 fi
65053
65054
65055
65056
65057
65058
65059
65060
65061 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65062 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65063
65064 if test $enable_symvers != no ; then
65065 case ${target_os} in
65066 # The Solaris 2 runtime linker doesn't support the GNU extension of
65067 # binding the same symbol to different versions
65068 solaris2*)
65069 symvers_renaming=no ;;
65070 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65071 *)
65072
65073 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65074
65075 symvers_renaming=yes ;;
65076 esac
65077 else
65078 symvers_renaming=no
65079 fi
65080
65081
65082 # Now, set up compatibility support, if any.
65083 # In addition, need this to deal with std::size_t mangling in
65084 # src/compatibility.cc. In a perfect world, could use
65085 # typeid(std::size_t).name()[0] to do direct substitution.
65086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65087 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65088 ac_save_CFLAGS="$CFLAGS"
65089 CFLAGS="-Werror"
65090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65091 /* end confdefs.h. */
65092
65093 int
65094 main ()
65095 {
65096 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65097 ;
65098 return 0;
65099 }
65100 _ACEOF
65101 if ac_fn_c_try_compile "$LINENO"; then :
65102 glibcxx_size_t_is_i=yes
65103 else
65104 glibcxx_size_t_is_i=no
65105 fi
65106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65107 CFLAGS=$ac_save_CFLAGS
65108 if test "$glibcxx_size_t_is_i" = yes; then
65109
65110 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65111
65112 fi
65113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65114 $as_echo "$glibcxx_size_t_is_i" >&6; }
65115
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65117 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65118 ac_save_CFLAGS="$CFLAGS"
65119 CFLAGS="-Werror"
65120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65121 /* end confdefs.h. */
65122
65123 int
65124 main ()
65125 {
65126 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65127 ;
65128 return 0;
65129 }
65130 _ACEOF
65131 if ac_fn_c_try_compile "$LINENO"; then :
65132 glibcxx_ptrdiff_t_is_i=yes
65133 else
65134 glibcxx_ptrdiff_t_is_i=no
65135 fi
65136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65137 CFLAGS=$ac_save_CFLAGS
65138 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65139
65140 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65141
65142 fi
65143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65144 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65145
65146
65147
65148
65149 # Check whether --enable-libstdcxx-visibility was given.
65150 if test "${enable_libstdcxx_visibility+set}" = set; then :
65151 enableval=$enable_libstdcxx_visibility;
65152 case "$enableval" in
65153 yes|no) ;;
65154 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65155 esac
65156
65157 else
65158 enable_libstdcxx_visibility=yes
65159 fi
65160
65161
65162
65163 if test x$enable_libstdcxx_visibility = xyes ; then
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65165 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65166 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65167 $as_echo_n "(cached) " >&6
65168 else
65169
65170 save_CFLAGS="$CFLAGS"
65171 CFLAGS="$CFLAGS -Werror"
65172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65173 /* end confdefs.h. */
65174 void __attribute__((visibility("hidden"))) foo(void) { }
65175 int
65176 main ()
65177 {
65178
65179 ;
65180 return 0;
65181 }
65182 _ACEOF
65183 if ac_fn_c_try_compile "$LINENO"; then :
65184 glibcxx_cv_have_attribute_visibility=yes
65185 else
65186 glibcxx_cv_have_attribute_visibility=no
65187 fi
65188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65189 CFLAGS="$save_CFLAGS"
65190 fi
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65192 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65193 if test $glibcxx_cv_have_attribute_visibility = no; then
65194 enable_libstdcxx_visibility=no
65195 fi
65196 fi
65197
65198
65199 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65200 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65201
65202
65203 ac_ldbl_compat=no
65204 case "$target" in
65205 powerpc*-*-linux* | \
65206 sparc*-*-linux* | \
65207 s390*-*-linux* | \
65208 alpha*-*-linux*)
65209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65210 /* end confdefs.h. */
65211
65212 int
65213 main ()
65214 {
65215
65216 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65217 #error no need for long double compatibility
65218 #endif
65219
65220 ;
65221 return 0;
65222 }
65223 _ACEOF
65224 if ac_fn_c_try_compile "$LINENO"; then :
65225 ac_ldbl_compat=yes
65226 else
65227 ac_ldbl_compat=no
65228 fi
65229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65230 if test "$ac_ldbl_compat" = yes; then
65231
65232 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65233
65234 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65235 fi
65236 esac
65237
65238
65239 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65240
65241 if $GLIBCXX_IS_NATIVE ; then
65242 # Do checks for resource limit functions.
65243
65244 setrlimit_have_headers=yes
65245 for ac_header in unistd.h sys/time.h sys/resource.h
65246 do :
65247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65248 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65249 eval as_val=\$$as_ac_Header
65250 if test "x$as_val" = x""yes; then :
65251 cat >>confdefs.h <<_ACEOF
65252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65253 _ACEOF
65254
65255 else
65256 setrlimit_have_headers=no
65257 fi
65258
65259 done
65260
65261 # If don't have the headers, then we can't run the tests now, and we
65262 # won't be seeing any of these during testsuite compilation.
65263 if test $setrlimit_have_headers = yes; then
65264 # Can't do these in a loop, else the resulting syntax is wrong.
65265
65266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65267 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65269 /* end confdefs.h. */
65270 #include <unistd.h>
65271 #include <sys/time.h>
65272 #include <sys/resource.h>
65273
65274 int
65275 main ()
65276 {
65277 int f = RLIMIT_DATA ;
65278 ;
65279 return 0;
65280 }
65281 _ACEOF
65282 if ac_fn_c_try_compile "$LINENO"; then :
65283 glibcxx_mresult=1
65284 else
65285 glibcxx_mresult=0
65286 fi
65287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65288
65289 cat >>confdefs.h <<_ACEOF
65290 #define HAVE_LIMIT_DATA $glibcxx_mresult
65291 _ACEOF
65292
65293 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65295 $as_echo "$res" >&6; }
65296
65297
65298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65299 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65301 /* end confdefs.h. */
65302 #include <unistd.h>
65303 #include <sys/time.h>
65304 #include <sys/resource.h>
65305
65306 int
65307 main ()
65308 {
65309 int f = RLIMIT_RSS ;
65310 ;
65311 return 0;
65312 }
65313 _ACEOF
65314 if ac_fn_c_try_compile "$LINENO"; then :
65315 glibcxx_mresult=1
65316 else
65317 glibcxx_mresult=0
65318 fi
65319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65320
65321 cat >>confdefs.h <<_ACEOF
65322 #define HAVE_LIMIT_RSS $glibcxx_mresult
65323 _ACEOF
65324
65325 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65327 $as_echo "$res" >&6; }
65328
65329
65330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65331 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65333 /* end confdefs.h. */
65334 #include <unistd.h>
65335 #include <sys/time.h>
65336 #include <sys/resource.h>
65337
65338 int
65339 main ()
65340 {
65341 int f = RLIMIT_VMEM ;
65342 ;
65343 return 0;
65344 }
65345 _ACEOF
65346 if ac_fn_c_try_compile "$LINENO"; then :
65347 glibcxx_mresult=1
65348 else
65349 glibcxx_mresult=0
65350 fi
65351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65352
65353 cat >>confdefs.h <<_ACEOF
65354 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65355 _ACEOF
65356
65357 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65359 $as_echo "$res" >&6; }
65360
65361
65362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65363 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65365 /* end confdefs.h. */
65366 #include <unistd.h>
65367 #include <sys/time.h>
65368 #include <sys/resource.h>
65369
65370 int
65371 main ()
65372 {
65373 int f = RLIMIT_AS ;
65374 ;
65375 return 0;
65376 }
65377 _ACEOF
65378 if ac_fn_c_try_compile "$LINENO"; then :
65379 glibcxx_mresult=1
65380 else
65381 glibcxx_mresult=0
65382 fi
65383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65384
65385 cat >>confdefs.h <<_ACEOF
65386 #define HAVE_LIMIT_AS $glibcxx_mresult
65387 _ACEOF
65388
65389 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65391 $as_echo "$res" >&6; }
65392
65393
65394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65395 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65397 /* end confdefs.h. */
65398 #include <unistd.h>
65399 #include <sys/time.h>
65400 #include <sys/resource.h>
65401
65402 int
65403 main ()
65404 {
65405 int f = RLIMIT_FSIZE ;
65406 ;
65407 return 0;
65408 }
65409 _ACEOF
65410 if ac_fn_c_try_compile "$LINENO"; then :
65411 glibcxx_mresult=1
65412 else
65413 glibcxx_mresult=0
65414 fi
65415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65416
65417 cat >>confdefs.h <<_ACEOF
65418 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65419 _ACEOF
65420
65421 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65423 $as_echo "$res" >&6; }
65424
65425
65426 # Check for rlimit, setrlimit.
65427 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65428 $as_echo_n "(cached) " >&6
65429 else
65430
65431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65432 /* end confdefs.h. */
65433 #include <unistd.h>
65434 #include <sys/time.h>
65435 #include <sys/resource.h>
65436
65437 int
65438 main ()
65439 {
65440 struct rlimit r;
65441 setrlimit(0, &r);
65442 ;
65443 return 0;
65444 }
65445 _ACEOF
65446 if ac_fn_c_try_compile "$LINENO"; then :
65447 glibcxx_cv_setrlimit=yes
65448 else
65449 glibcxx_cv_setrlimit=no
65450 fi
65451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65452
65453 fi
65454
65455 fi
65456
65457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65458 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65459 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65460 ac_res_limits=yes
65461
65462 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65463
65464 else
65465 ac_res_limits=no
65466 fi
65467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65468 $as_echo "$ac_res_limits" >&6; }
65469
65470
65471 # Look for setenv, so that extended locale tests can be performed.
65472
65473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65474 $as_echo_n "checking for setenv declaration... " >&6; }
65475 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65476 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65477 $as_echo_n "(cached) " >&6
65478 else
65479
65480
65481 ac_ext=cpp
65482 ac_cpp='$CXXCPP $CPPFLAGS'
65483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65486
65487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65488 /* end confdefs.h. */
65489 #include <stdlib.h>
65490 int
65491 main ()
65492 {
65493 setenv(0, 0, 0);
65494 ;
65495 return 0;
65496 }
65497 _ACEOF
65498 if ac_fn_cxx_try_compile "$LINENO"; then :
65499 glibcxx_cv_func_setenv_use=yes
65500 else
65501 glibcxx_cv_func_setenv_use=no
65502 fi
65503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65504 ac_ext=c
65505 ac_cpp='$CPP $CPPFLAGS'
65506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65509
65510
65511 fi
65512
65513 fi
65514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65515 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65516 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65517 for ac_func in setenv
65518 do :
65519 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65520 if test "x$ac_cv_func_setenv" = x""yes; then :
65521 cat >>confdefs.h <<_ACEOF
65522 #define HAVE_SETENV 1
65523 _ACEOF
65524
65525 fi
65526 done
65527
65528 fi
65529
65530 fi
65531
65532 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65533 test $enable_symvers != no; then
65534 case "$host" in
65535 *-*-cygwin*)
65536 enable_abi_check=no ;;
65537 *)
65538 enable_abi_check=yes ;;
65539 esac
65540 else
65541 # Only build this as native, since automake does not understand
65542 # CXX_FOR_BUILD.
65543 enable_abi_check=no
65544 fi
65545
65546 # Export file names for ABI checking.
65547 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65548
65549 baseline_subdir_switch="$abi_baseline_subdir_switch"
65550
65551
65552
65553 # Define documentation rules conditionally.
65554
65555 # See if makeinfo has been installed and is modern enough
65556 # that we can use it.
65557
65558 # Extract the first word of "makeinfo", so it can be a program name with args.
65559 set dummy makeinfo; ac_word=$2
65560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65561 $as_echo_n "checking for $ac_word... " >&6; }
65562 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65563 $as_echo_n "(cached) " >&6
65564 else
65565 if test -n "$MAKEINFO"; then
65566 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65567 else
65568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65569 for as_dir in $PATH
65570 do
65571 IFS=$as_save_IFS
65572 test -z "$as_dir" && as_dir=.
65573 for ac_exec_ext in '' $ac_executable_extensions; do
65574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65575 ac_cv_prog_MAKEINFO="makeinfo"
65576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65577 break 2
65578 fi
65579 done
65580 done
65581 IFS=$as_save_IFS
65582
65583 fi
65584 fi
65585 MAKEINFO=$ac_cv_prog_MAKEINFO
65586 if test -n "$MAKEINFO"; then
65587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65588 $as_echo "$MAKEINFO" >&6; }
65589 else
65590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65591 $as_echo "no" >&6; }
65592 fi
65593
65594
65595 if test -n "$MAKEINFO"; then
65596 # Found it, now check the version.
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65598 $as_echo_n "checking for modern makeinfo... " >&6; }
65599 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65600 $as_echo_n "(cached) " >&6
65601 else
65602 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65603 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65604
65605 case $ac_prog_version in
65606 '') gcc_cv_prog_makeinfo_modern=no;;
65607 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65608 *) gcc_cv_prog_makeinfo_modern=no;;
65609 esac
65610
65611 fi
65612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65613 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65614 else
65615 gcc_cv_prog_makeinfo_modern=no
65616 fi
65617 if test $gcc_cv_prog_makeinfo_modern = no; then
65618 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65619 fi
65620
65621 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65622 BUILD_INFO_TRUE=
65623 BUILD_INFO_FALSE='#'
65624 else
65625 BUILD_INFO_TRUE='#'
65626 BUILD_INFO_FALSE=
65627 fi
65628
65629
65630 # Check for doxygen
65631 # Extract the first word of "doxygen", so it can be a program name with args.
65632 set dummy doxygen; ac_word=$2
65633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65634 $as_echo_n "checking for $ac_word... " >&6; }
65635 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65636 $as_echo_n "(cached) " >&6
65637 else
65638 if test -n "$DOXYGEN"; then
65639 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65640 else
65641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65642 for as_dir in $PATH
65643 do
65644 IFS=$as_save_IFS
65645 test -z "$as_dir" && as_dir=.
65646 for ac_exec_ext in '' $ac_executable_extensions; do
65647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65648 ac_cv_prog_DOXYGEN="yes"
65649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65650 break 2
65651 fi
65652 done
65653 done
65654 IFS=$as_save_IFS
65655
65656 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65657 fi
65658 fi
65659 DOXYGEN=$ac_cv_prog_DOXYGEN
65660 if test -n "$DOXYGEN"; then
65661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65662 $as_echo "$DOXYGEN" >&6; }
65663 else
65664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65665 $as_echo "no" >&6; }
65666 fi
65667
65668
65669 # Extract the first word of "dot", so it can be a program name with args.
65670 set dummy dot; ac_word=$2
65671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65672 $as_echo_n "checking for $ac_word... " >&6; }
65673 if test "${ac_cv_prog_DOT+set}" = set; then :
65674 $as_echo_n "(cached) " >&6
65675 else
65676 if test -n "$DOT"; then
65677 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65678 else
65679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65680 for as_dir in $PATH
65681 do
65682 IFS=$as_save_IFS
65683 test -z "$as_dir" && as_dir=.
65684 for ac_exec_ext in '' $ac_executable_extensions; do
65685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65686 ac_cv_prog_DOT="yes"
65687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65688 break 2
65689 fi
65690 done
65691 done
65692 IFS=$as_save_IFS
65693
65694 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65695 fi
65696 fi
65697 DOT=$ac_cv_prog_DOT
65698 if test -n "$DOT"; then
65699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65700 $as_echo "$DOT" >&6; }
65701 else
65702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65703 $as_echo "no" >&6; }
65704 fi
65705
65706
65707
65708 # Check for docbook
65709 # Extract the first word of "xsltproc", so it can be a program name with args.
65710 set dummy xsltproc; ac_word=$2
65711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65712 $as_echo_n "checking for $ac_word... " >&6; }
65713 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65714 $as_echo_n "(cached) " >&6
65715 else
65716 if test -n "$XSLTPROC"; then
65717 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65718 else
65719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65720 for as_dir in $PATH
65721 do
65722 IFS=$as_save_IFS
65723 test -z "$as_dir" && as_dir=.
65724 for ac_exec_ext in '' $ac_executable_extensions; do
65725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65726 ac_cv_prog_XSLTPROC="yes"
65727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65728 break 2
65729 fi
65730 done
65731 done
65732 IFS=$as_save_IFS
65733
65734 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65735 fi
65736 fi
65737 XSLTPROC=$ac_cv_prog_XSLTPROC
65738 if test -n "$XSLTPROC"; then
65739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65740 $as_echo "$XSLTPROC" >&6; }
65741 else
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65743 $as_echo "no" >&6; }
65744 fi
65745
65746
65747 # Extract the first word of "xmllint", so it can be a program name with args.
65748 set dummy xmllint; ac_word=$2
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65750 $as_echo_n "checking for $ac_word... " >&6; }
65751 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65752 $as_echo_n "(cached) " >&6
65753 else
65754 if test -n "$XMLLINT"; then
65755 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65756 else
65757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65758 for as_dir in $PATH
65759 do
65760 IFS=$as_save_IFS
65761 test -z "$as_dir" && as_dir=.
65762 for ac_exec_ext in '' $ac_executable_extensions; do
65763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65764 ac_cv_prog_XMLLINT="yes"
65765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65766 break 2
65767 fi
65768 done
65769 done
65770 IFS=$as_save_IFS
65771
65772 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65773 fi
65774 fi
65775 XMLLINT=$ac_cv_prog_XMLLINT
65776 if test -n "$XMLLINT"; then
65777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65778 $as_echo "$XMLLINT" >&6; }
65779 else
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65781 $as_echo "no" >&6; }
65782 fi
65783
65784
65785
65786
65787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65788 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65789 glibcxx_stylesheets=no
65790 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65791 glibcxx_stylesheets=yes
65792 fi
65793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65794 $as_echo "$glibcxx_stylesheets" >&6; }
65795
65796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65797 $as_echo_n "checking for local stylesheet directory... " >&6; }
65798 glibcxx_local_stylesheets=no
65799 if test x"$glibcxx_stylesheets" = x"yes"; then
65800 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65801 glibcxx_local_stylesheets=yes
65802 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65803 fi
65804 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65805 glibcxx_local_stylesheets=yes
65806 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65807 fi
65808 fi
65809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65810 $as_echo "$glibcxx_local_stylesheets" >&6; }
65811
65812 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65813
65814 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65815 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65816 else
65817 glibcxx_stylesheets=no
65818 fi
65819
65820
65821 # Check for xml/html dependencies.
65822 if test $ac_cv_prog_DOXYGEN = "yes" &&
65823 test $ac_cv_prog_DOT = "yes" &&
65824 test $ac_cv_prog_XSLTPROC = "yes" &&
65825 test $ac_cv_prog_XMLLINT = "yes" &&
65826 test $glibcxx_stylesheets = "yes"; then
65827 BUILD_XML_TRUE=
65828 BUILD_XML_FALSE='#'
65829 else
65830 BUILD_XML_TRUE='#'
65831 BUILD_XML_FALSE=
65832 fi
65833
65834
65835 if test $ac_cv_prog_DOXYGEN = "yes" &&
65836 test $ac_cv_prog_DOT = "yes" &&
65837 test $ac_cv_prog_XSLTPROC = "yes" &&
65838 test $ac_cv_prog_XMLLINT = "yes" &&
65839 test $glibcxx_stylesheets = "yes"; then
65840 BUILD_HTML_TRUE=
65841 BUILD_HTML_FALSE='#'
65842 else
65843 BUILD_HTML_TRUE='#'
65844 BUILD_HTML_FALSE=
65845 fi
65846
65847
65848 # Check for man dependencies.
65849 if test $ac_cv_prog_DOXYGEN = "yes" &&
65850 test $ac_cv_prog_DOT = "yes"; then
65851 BUILD_MAN_TRUE=
65852 BUILD_MAN_FALSE='#'
65853 else
65854 BUILD_MAN_TRUE='#'
65855 BUILD_MAN_FALSE=
65856 fi
65857
65858
65859 # Check for pdf/epub dependencies.
65860 # Extract the first word of "dblatex", so it can be a program name with args.
65861 set dummy dblatex; ac_word=$2
65862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65863 $as_echo_n "checking for $ac_word... " >&6; }
65864 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65865 $as_echo_n "(cached) " >&6
65866 else
65867 if test -n "$DBLATEX"; then
65868 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65869 else
65870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65871 for as_dir in $PATH
65872 do
65873 IFS=$as_save_IFS
65874 test -z "$as_dir" && as_dir=.
65875 for ac_exec_ext in '' $ac_executable_extensions; do
65876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65877 ac_cv_prog_DBLATEX="yes"
65878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65879 break 2
65880 fi
65881 done
65882 done
65883 IFS=$as_save_IFS
65884
65885 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65886 fi
65887 fi
65888 DBLATEX=$ac_cv_prog_DBLATEX
65889 if test -n "$DBLATEX"; then
65890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65891 $as_echo "$DBLATEX" >&6; }
65892 else
65893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65894 $as_echo "no" >&6; }
65895 fi
65896
65897
65898 # Extract the first word of "pdflatex", so it can be a program name with args.
65899 set dummy pdflatex; ac_word=$2
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65901 $as_echo_n "checking for $ac_word... " >&6; }
65902 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65905 if test -n "$PDFLATEX"; then
65906 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65907 else
65908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65909 for as_dir in $PATH
65910 do
65911 IFS=$as_save_IFS
65912 test -z "$as_dir" && as_dir=.
65913 for ac_exec_ext in '' $ac_executable_extensions; do
65914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65915 ac_cv_prog_PDFLATEX="yes"
65916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65917 break 2
65918 fi
65919 done
65920 done
65921 IFS=$as_save_IFS
65922
65923 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65924 fi
65925 fi
65926 PDFLATEX=$ac_cv_prog_PDFLATEX
65927 if test -n "$PDFLATEX"; then
65928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65929 $as_echo "$PDFLATEX" >&6; }
65930 else
65931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65932 $as_echo "no" >&6; }
65933 fi
65934
65935
65936 if test $ac_cv_prog_DBLATEX = "yes" &&
65937 test $ac_cv_prog_PDFLATEX = "yes"; then
65938 BUILD_PDF_TRUE=
65939 BUILD_PDF_FALSE='#'
65940 else
65941 BUILD_PDF_TRUE='#'
65942 BUILD_PDF_FALSE=
65943 fi
65944
65945
65946 # Extract the first word of "ruby", so it can be a program name with args.
65947 set dummy ruby; ac_word=$2
65948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65949 $as_echo_n "checking for $ac_word... " >&6; }
65950 if test "${ac_cv_prog_RUBY+set}" = set; then :
65951 $as_echo_n "(cached) " >&6
65952 else
65953 if test -n "$RUBY"; then
65954 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65955 else
65956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65957 for as_dir in $PATH
65958 do
65959 IFS=$as_save_IFS
65960 test -z "$as_dir" && as_dir=.
65961 for ac_exec_ext in '' $ac_executable_extensions; do
65962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65963 ac_cv_prog_RUBY="yes"
65964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65965 break 2
65966 fi
65967 done
65968 done
65969 IFS=$as_save_IFS
65970
65971 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65972 fi
65973 fi
65974 RUBY=$ac_cv_prog_RUBY
65975 if test -n "$RUBY"; then
65976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65977 $as_echo "$RUBY" >&6; }
65978 else
65979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65980 $as_echo "no" >&6; }
65981 fi
65982
65983
65984 # Extract the first word of "dbtoepub", so it can be a program name with args.
65985 set dummy dbtoepub; ac_word=$2
65986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65987 $as_echo_n "checking for $ac_word... " >&6; }
65988 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65989 $as_echo_n "(cached) " >&6
65990 else
65991 if test -n "$DBTOEPUB"; then
65992 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65993 else
65994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65995 for as_dir in $PATH
65996 do
65997 IFS=$as_save_IFS
65998 test -z "$as_dir" && as_dir=.
65999 for ac_exec_ext in '' $ac_executable_extensions; do
66000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66001 ac_cv_prog_DBTOEPUB="yes"
66002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66003 break 2
66004 fi
66005 done
66006 done
66007 IFS=$as_save_IFS
66008
66009 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
66010 fi
66011 fi
66012 DBTOEPUB=$ac_cv_prog_DBTOEPUB
66013 if test -n "$DBTOEPUB"; then
66014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
66015 $as_echo "$DBTOEPUB" >&6; }
66016 else
66017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66018 $as_echo "no" >&6; }
66019 fi
66020
66021
66022 if test $ac_cv_prog_RUBY = "yes" &&
66023 test $ac_cv_prog_DBTOEPUB = "yes"; then
66024 BUILD_EPUB_TRUE=
66025 BUILD_EPUB_FALSE='#'
66026 else
66027 BUILD_EPUB_TRUE='#'
66028 BUILD_EPUB_FALSE=
66029 fi
66030
66031
66032
66033 # Propagate the target-specific source directories through the build chain.
66034 ATOMICITY_SRCDIR=config/${atomicity_dir}
66035 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
66036 ATOMIC_FLAGS=${atomic_flags}
66037 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
66038 OS_INC_SRCDIR=config/${os_include_dir}
66039 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
66040 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
66041
66042
66043
66044
66045
66046
66047
66048
66049
66050 # Determine cross-compile flags and AM_CONDITIONALs.
66051 #AC_SUBST(GLIBCXX_IS_NATIVE)
66052 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
66053 if test $is_hosted = yes; then
66054 GLIBCXX_HOSTED_TRUE=
66055 GLIBCXX_HOSTED_FALSE='#'
66056 else
66057 GLIBCXX_HOSTED_TRUE='#'
66058 GLIBCXX_HOSTED_FALSE=
66059 fi
66060
66061
66062 if test $enable_libstdcxx_pch = yes; then
66063 GLIBCXX_BUILD_PCH_TRUE=
66064 GLIBCXX_BUILD_PCH_FALSE='#'
66065 else
66066 GLIBCXX_BUILD_PCH_TRUE='#'
66067 GLIBCXX_BUILD_PCH_FALSE=
66068 fi
66069
66070
66071 if test $enable_cheaders = c; then
66072 GLIBCXX_C_HEADERS_C_TRUE=
66073 GLIBCXX_C_HEADERS_C_FALSE='#'
66074 else
66075 GLIBCXX_C_HEADERS_C_TRUE='#'
66076 GLIBCXX_C_HEADERS_C_FALSE=
66077 fi
66078
66079
66080 if test $enable_cheaders = c_std; then
66081 GLIBCXX_C_HEADERS_C_STD_TRUE=
66082 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66083 else
66084 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66085 GLIBCXX_C_HEADERS_C_STD_FALSE=
66086 fi
66087
66088
66089 if test $enable_cheaders = c_global; then
66090 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66091 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66092 else
66093 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66094 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66095 fi
66096
66097
66098 if test $c_compatibility = yes; then
66099 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66100 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66101 else
66102 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66103 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66104 fi
66105
66106
66107 if test $enable_libstdcxx_debug = yes; then
66108 GLIBCXX_BUILD_DEBUG_TRUE=
66109 GLIBCXX_BUILD_DEBUG_FALSE='#'
66110 else
66111 GLIBCXX_BUILD_DEBUG_TRUE='#'
66112 GLIBCXX_BUILD_DEBUG_FALSE=
66113 fi
66114
66115
66116 if test $enable_parallel = yes; then
66117 ENABLE_PARALLEL_TRUE=
66118 ENABLE_PARALLEL_FALSE='#'
66119 else
66120 ENABLE_PARALLEL_TRUE='#'
66121 ENABLE_PARALLEL_FALSE=
66122 fi
66123
66124
66125 if test $enable_extern_template = yes; then
66126 ENABLE_EXTERN_TEMPLATE_TRUE=
66127 ENABLE_EXTERN_TEMPLATE_FALSE='#'
66128 else
66129 ENABLE_EXTERN_TEMPLATE_TRUE='#'
66130 ENABLE_EXTERN_TEMPLATE_FALSE=
66131 fi
66132
66133
66134 if test $enable_symvers != no; then
66135 ENABLE_SYMVERS_TRUE=
66136 ENABLE_SYMVERS_FALSE='#'
66137 else
66138 ENABLE_SYMVERS_TRUE='#'
66139 ENABLE_SYMVERS_FALSE=
66140 fi
66141
66142
66143 if test $enable_symvers = gnu; then
66144 ENABLE_SYMVERS_GNU_TRUE=
66145 ENABLE_SYMVERS_GNU_FALSE='#'
66146 else
66147 ENABLE_SYMVERS_GNU_TRUE='#'
66148 ENABLE_SYMVERS_GNU_FALSE=
66149 fi
66150
66151
66152 if test $enable_symvers = gnu-versioned-namespace; then
66153 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66154 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66155 else
66156 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66157 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66158 fi
66159
66160
66161 if test $enable_symvers = darwin; then
66162 ENABLE_SYMVERS_DARWIN_TRUE=
66163 ENABLE_SYMVERS_DARWIN_FALSE='#'
66164 else
66165 ENABLE_SYMVERS_DARWIN_TRUE='#'
66166 ENABLE_SYMVERS_DARWIN_FALSE=
66167 fi
66168
66169
66170 if test $enable_symvers = sun; then
66171 ENABLE_SYMVERS_SUN_TRUE=
66172 ENABLE_SYMVERS_SUN_FALSE='#'
66173 else
66174 ENABLE_SYMVERS_SUN_TRUE='#'
66175 ENABLE_SYMVERS_SUN_FALSE=
66176 fi
66177
66178
66179 if test $symvers_renaming = no; then
66180 ENABLE_SYMVERS_SOL2_TRUE=
66181 ENABLE_SYMVERS_SOL2_FALSE='#'
66182 else
66183 ENABLE_SYMVERS_SOL2_TRUE='#'
66184 ENABLE_SYMVERS_SOL2_FALSE=
66185 fi
66186
66187
66188 if test $enable_libstdcxx_visibility = yes; then
66189 ENABLE_VISIBILITY_TRUE=
66190 ENABLE_VISIBILITY_FALSE='#'
66191 else
66192 ENABLE_VISIBILITY_TRUE='#'
66193 ENABLE_VISIBILITY_FALSE=
66194 fi
66195
66196
66197 if test $ac_ldbl_compat = yes; then
66198 GLIBCXX_LDBL_COMPAT_TRUE=
66199 GLIBCXX_LDBL_COMPAT_FALSE='#'
66200 else
66201 GLIBCXX_LDBL_COMPAT_TRUE='#'
66202 GLIBCXX_LDBL_COMPAT_FALSE=
66203 fi
66204
66205
66206
66207
66208 cat >confcache <<\_ACEOF
66209 # This file is a shell script that caches the results of configure
66210 # tests run on this system so they can be shared between configure
66211 # scripts and configure runs, see configure's option --config-cache.
66212 # It is not useful on other systems. If it contains results you don't
66213 # want to keep, you may remove or edit it.
66214 #
66215 # config.status only pays attention to the cache file if you give it
66216 # the --recheck option to rerun configure.
66217 #
66218 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66219 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66220 # following values.
66221
66222 _ACEOF
66223
66224 # The following way of writing the cache mishandles newlines in values,
66225 # but we know of no workaround that is simple, portable, and efficient.
66226 # So, we kill variables containing newlines.
66227 # Ultrix sh set writes to stderr and can't be redirected directly,
66228 # and sets the high bit in the cache file unless we assign to the vars.
66229 (
66230 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66231 eval ac_val=\$$ac_var
66232 case $ac_val in #(
66233 *${as_nl}*)
66234 case $ac_var in #(
66235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66237 esac
66238 case $ac_var in #(
66239 _ | IFS | as_nl) ;; #(
66240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66241 *) { eval $ac_var=; unset $ac_var;} ;;
66242 esac ;;
66243 esac
66244 done
66245
66246 (set) 2>&1 |
66247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66248 *${as_nl}ac_space=\ *)
66249 # `set' does not quote correctly, so add quotes: double-quote
66250 # substitution turns \\\\ into \\, and sed turns \\ into \.
66251 sed -n \
66252 "s/'/'\\\\''/g;
66253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66254 ;; #(
66255 *)
66256 # `set' quotes correctly as required by POSIX, so do not add quotes.
66257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66258 ;;
66259 esac |
66260 sort
66261 ) |
66262 sed '
66263 /^ac_cv_env_/b end
66264 t clear
66265 :clear
66266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66267 t end
66268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66269 :end' >>confcache
66270 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66271 if test -w "$cache_file"; then
66272 test "x$cache_file" != "x/dev/null" &&
66273 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66274 $as_echo "$as_me: updating cache $cache_file" >&6;}
66275 cat confcache >$cache_file
66276 else
66277 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66278 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66279 fi
66280 fi
66281 rm -f confcache
66282
66283 if test ${multilib} = yes; then
66284 multilib_arg="--enable-multilib"
66285 else
66286 multilib_arg=
66287 fi
66288
66289 # Export all the install information.
66290
66291 glibcxx_toolexecdir=no
66292 glibcxx_toolexeclibdir=no
66293 glibcxx_prefixdir=$prefix
66294
66295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66296 $as_echo_n "checking for gxx-include-dir... " >&6; }
66297
66298 # Check whether --with-gxx-include-dir was given.
66299 if test "${with_gxx_include_dir+set}" = set; then :
66300 withval=$with_gxx_include_dir; case "$withval" in
66301 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66302 no) gxx_include_dir=no ;;
66303 *) gxx_include_dir=$withval ;;
66304 esac
66305 else
66306 gxx_include_dir=no
66307 fi
66308
66309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66310 $as_echo "$gxx_include_dir" >&6; }
66311
66312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66313 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66314 # Check whether --enable-version-specific-runtime-libs was given.
66315 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66316 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66317 yes) version_specific_libs=yes ;;
66318 no) version_specific_libs=no ;;
66319 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66320 esac
66321 else
66322 version_specific_libs=no
66323 fi
66324
66325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66326 $as_echo "$version_specific_libs" >&6; }
66327
66328 # Default case for install directory for include files.
66329 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66330 gxx_include_dir='include/c++/${gcc_version}'
66331 if test -n "$with_cross_host" &&
66332 test x"$with_cross_host" != x"no"; then
66333 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66334 else
66335 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66336 fi
66337 fi
66338
66339 # Version-specific runtime libs processing.
66340 if test $version_specific_libs = yes; then
66341 # Need the gcc compiler version to know where to install libraries
66342 # and header files if --enable-version-specific-runtime-libs option
66343 # is selected. FIXME: these variables are misnamed, there are
66344 # no executables installed in _toolexecdir or _toolexeclibdir.
66345 if test x"$gxx_include_dir" = x"no"; then
66346 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66347 fi
66348 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66349 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66350 fi
66351
66352 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66353 # Install a library built with a cross compiler in tooldir, not libdir.
66354 if test x"$glibcxx_toolexecdir" = x"no"; then
66355 if test -n "$with_cross_host" &&
66356 test x"$with_cross_host" != x"no"; then
66357 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66358 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66359 else
66360 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66361 glibcxx_toolexeclibdir='${libdir}'
66362 fi
66363 multi_os_directory=`$CXX -print-multi-os-directory`
66364 case $multi_os_directory in
66365 .) ;; # Avoid trailing /.
66366 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66367 esac
66368 fi
66369
66370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66371 $as_echo_n "checking for install location... " >&6; }
66372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66373 $as_echo "$gxx_include_dir" >&6; }
66374
66375
66376
66377
66378
66379
66380
66381 # Export all the include and flag information to Makefiles.
66382
66383 # Used for every C++ compile we perform.
66384 GLIBCXX_INCLUDES="\
66385 -I$glibcxx_builddir/include/$host_alias \
66386 -I$glibcxx_builddir/include \
66387 -I$glibcxx_srcdir/libsupc++"
66388
66389 # For Canadian crosses, pick this up too.
66390 if test $CANADIAN = yes; then
66391 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66392 fi
66393
66394 # Stuff in the actual top level. Currently only used by libsupc++ to
66395 # get unwind* headers from the libgcc dir.
66396 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66397 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66398
66399 # Now, export this to all the little Makefiles....
66400
66401
66402
66403
66404 # Optimization flags that are probably a good idea for thrill-seekers. Just
66405 # uncomment the lines below and make, everything else is ready to go...
66406 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66407 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66408
66409
66410 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66411
66412
66413
66414 if test "$enable_shared" = yes; then
66415 LIBSUPCXX_PICFLAGS="-prefer-pic"
66416 else
66417 LIBSUPCXX_PICFLAGS=
66418 fi
66419
66420
66421 ac_config_files="$ac_config_files Makefile"
66422
66423 ac_config_files="$ac_config_files scripts/testsuite_flags"
66424
66425 ac_config_files="$ac_config_files scripts/extract_symvers"
66426
66427
66428 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66429 # that multilib installs will end up installed in the correct place.
66430 # The testsuite needs it for multilib-aware ABI baseline files.
66431 # To work around this not being passed down from config-ml.in ->
66432 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66433 # append it here. Only modify Makefiles that have just been created.
66434 #
66435 # Also, get rid of this simulated-VPATH thing that automake does.
66436 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66437
66438
66439 ac_config_commands="$ac_config_commands generate-headers"
66440
66441
66442 cat >confcache <<\_ACEOF
66443 # This file is a shell script that caches the results of configure
66444 # tests run on this system so they can be shared between configure
66445 # scripts and configure runs, see configure's option --config-cache.
66446 # It is not useful on other systems. If it contains results you don't
66447 # want to keep, you may remove or edit it.
66448 #
66449 # config.status only pays attention to the cache file if you give it
66450 # the --recheck option to rerun configure.
66451 #
66452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66454 # following values.
66455
66456 _ACEOF
66457
66458 # The following way of writing the cache mishandles newlines in values,
66459 # but we know of no workaround that is simple, portable, and efficient.
66460 # So, we kill variables containing newlines.
66461 # Ultrix sh set writes to stderr and can't be redirected directly,
66462 # and sets the high bit in the cache file unless we assign to the vars.
66463 (
66464 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66465 eval ac_val=\$$ac_var
66466 case $ac_val in #(
66467 *${as_nl}*)
66468 case $ac_var in #(
66469 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66470 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66471 esac
66472 case $ac_var in #(
66473 _ | IFS | as_nl) ;; #(
66474 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66475 *) { eval $ac_var=; unset $ac_var;} ;;
66476 esac ;;
66477 esac
66478 done
66479
66480 (set) 2>&1 |
66481 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66482 *${as_nl}ac_space=\ *)
66483 # `set' does not quote correctly, so add quotes: double-quote
66484 # substitution turns \\\\ into \\, and sed turns \\ into \.
66485 sed -n \
66486 "s/'/'\\\\''/g;
66487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66488 ;; #(
66489 *)
66490 # `set' quotes correctly as required by POSIX, so do not add quotes.
66491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66492 ;;
66493 esac |
66494 sort
66495 ) |
66496 sed '
66497 /^ac_cv_env_/b end
66498 t clear
66499 :clear
66500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66501 t end
66502 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66503 :end' >>confcache
66504 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66505 if test -w "$cache_file"; then
66506 test "x$cache_file" != "x/dev/null" &&
66507 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66508 $as_echo "$as_me: updating cache $cache_file" >&6;}
66509 cat confcache >$cache_file
66510 else
66511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66513 fi
66514 fi
66515 rm -f confcache
66516
66517 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66518 # Let make expand exec_prefix.
66519 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66520
66521 DEFS=-DHAVE_CONFIG_H
66522
66523 ac_libobjs=
66524 ac_ltlibobjs=
66525 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66526 # 1. Remove the extension, and $U if already installed.
66527 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66528 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66529 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66530 # will be set to the directory where LIBOBJS objects are built.
66531 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66532 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66533 done
66534 LIBOBJS=$ac_libobjs
66535
66536 LTLIBOBJS=$ac_ltlibobjs
66537
66538
66539 if test -n "$EXEEXT"; then
66540 am__EXEEXT_TRUE=
66541 am__EXEEXT_FALSE='#'
66542 else
66543 am__EXEEXT_TRUE='#'
66544 am__EXEEXT_FALSE=
66545 fi
66546
66547 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66548 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66550 fi
66551 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66552 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66554 fi
66555 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66556 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66558 fi
66559 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66560 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66562 fi
66563 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66564 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66566 fi
66567 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66568 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66570 fi
66571 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66572 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66574 fi
66575 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66576 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66578 fi
66579 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66580 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66582 fi
66583 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66584 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66586 fi
66587 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66588 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66590 fi
66591 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66592 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66594 fi
66595 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66596 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66598 fi
66599 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66600 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66602 fi
66603 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66604 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66606 fi
66607 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66608 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66610 fi
66611 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66612 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66614 fi
66615 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66616 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66618 fi
66619 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66620 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66622 fi
66623 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66624 as_fn_error "conditional \"BUILD_XML\" was never defined.
66625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66626 fi
66627 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66628 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66630 fi
66631 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66632 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66634 fi
66635 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66636 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66638 fi
66639 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66640 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66642 fi
66643
66644 : ${CONFIG_STATUS=./config.status}
66645 ac_write_fail=0
66646 ac_clean_files_save=$ac_clean_files
66647 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66649 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66650 as_write_fail=0
66651 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66652 #! $SHELL
66653 # Generated by $as_me.
66654 # Run this file to recreate the current configuration.
66655 # Compiler output produced by configure, useful for debugging
66656 # configure, is in config.log if it exists.
66657
66658 debug=false
66659 ac_cs_recheck=false
66660 ac_cs_silent=false
66661
66662 SHELL=\${CONFIG_SHELL-$SHELL}
66663 export SHELL
66664 _ASEOF
66665 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66666 ## -------------------- ##
66667 ## M4sh Initialization. ##
66668 ## -------------------- ##
66669
66670 # Be more Bourne compatible
66671 DUALCASE=1; export DUALCASE # for MKS sh
66672 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66673 emulate sh
66674 NULLCMD=:
66675 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66676 # is contrary to our usage. Disable this feature.
66677 alias -g '${1+"$@"}'='"$@"'
66678 setopt NO_GLOB_SUBST
66679 else
66680 case `(set -o) 2>/dev/null` in #(
66681 *posix*) :
66682 set -o posix ;; #(
66683 *) :
66684 ;;
66685 esac
66686 fi
66687
66688
66689 as_nl='
66690 '
66691 export as_nl
66692 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66693 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66694 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66696 # Prefer a ksh shell builtin over an external printf program on Solaris,
66697 # but without wasting forks for bash or zsh.
66698 if test -z "$BASH_VERSION$ZSH_VERSION" \
66699 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66700 as_echo='print -r --'
66701 as_echo_n='print -rn --'
66702 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66703 as_echo='printf %s\n'
66704 as_echo_n='printf %s'
66705 else
66706 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66707 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66708 as_echo_n='/usr/ucb/echo -n'
66709 else
66710 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66711 as_echo_n_body='eval
66712 arg=$1;
66713 case $arg in #(
66714 *"$as_nl"*)
66715 expr "X$arg" : "X\\(.*\\)$as_nl";
66716 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66717 esac;
66718 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66719 '
66720 export as_echo_n_body
66721 as_echo_n='sh -c $as_echo_n_body as_echo'
66722 fi
66723 export as_echo_body
66724 as_echo='sh -c $as_echo_body as_echo'
66725 fi
66726
66727 # The user is always right.
66728 if test "${PATH_SEPARATOR+set}" != set; then
66729 PATH_SEPARATOR=:
66730 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66731 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66732 PATH_SEPARATOR=';'
66733 }
66734 fi
66735
66736
66737 # IFS
66738 # We need space, tab and new line, in precisely that order. Quoting is
66739 # there to prevent editors from complaining about space-tab.
66740 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66741 # splitting by setting IFS to empty value.)
66742 IFS=" "" $as_nl"
66743
66744 # Find who we are. Look in the path if we contain no directory separator.
66745 case $0 in #((
66746 *[\\/]* ) as_myself=$0 ;;
66747 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66748 for as_dir in $PATH
66749 do
66750 IFS=$as_save_IFS
66751 test -z "$as_dir" && as_dir=.
66752 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66753 done
66754 IFS=$as_save_IFS
66755
66756 ;;
66757 esac
66758 # We did not find ourselves, most probably we were run as `sh COMMAND'
66759 # in which case we are not to be found in the path.
66760 if test "x$as_myself" = x; then
66761 as_myself=$0
66762 fi
66763 if test ! -f "$as_myself"; then
66764 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66765 exit 1
66766 fi
66767
66768 # Unset variables that we do not need and which cause bugs (e.g. in
66769 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66770 # suppresses any "Segmentation fault" message there. '((' could
66771 # trigger a bug in pdksh 5.2.14.
66772 for as_var in BASH_ENV ENV MAIL MAILPATH
66773 do eval test x\${$as_var+set} = xset \
66774 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66775 done
66776 PS1='$ '
66777 PS2='> '
66778 PS4='+ '
66779
66780 # NLS nuisances.
66781 LC_ALL=C
66782 export LC_ALL
66783 LANGUAGE=C
66784 export LANGUAGE
66785
66786 # CDPATH.
66787 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66788
66789
66790 # as_fn_error ERROR [LINENO LOG_FD]
66791 # ---------------------------------
66792 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66793 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66794 # script with status $?, using 1 if that was 0.
66795 as_fn_error ()
66796 {
66797 as_status=$?; test $as_status -eq 0 && as_status=1
66798 if test "$3"; then
66799 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66800 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66801 fi
66802 $as_echo "$as_me: error: $1" >&2
66803 as_fn_exit $as_status
66804 } # as_fn_error
66805
66806
66807 # as_fn_set_status STATUS
66808 # -----------------------
66809 # Set $? to STATUS, without forking.
66810 as_fn_set_status ()
66811 {
66812 return $1
66813 } # as_fn_set_status
66814
66815 # as_fn_exit STATUS
66816 # -----------------
66817 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66818 as_fn_exit ()
66819 {
66820 set +e
66821 as_fn_set_status $1
66822 exit $1
66823 } # as_fn_exit
66824
66825 # as_fn_unset VAR
66826 # ---------------
66827 # Portably unset VAR.
66828 as_fn_unset ()
66829 {
66830 { eval $1=; unset $1;}
66831 }
66832 as_unset=as_fn_unset
66833 # as_fn_append VAR VALUE
66834 # ----------------------
66835 # Append the text in VALUE to the end of the definition contained in VAR. Take
66836 # advantage of any shell optimizations that allow amortized linear growth over
66837 # repeated appends, instead of the typical quadratic growth present in naive
66838 # implementations.
66839 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66840 eval 'as_fn_append ()
66841 {
66842 eval $1+=\$2
66843 }'
66844 else
66845 as_fn_append ()
66846 {
66847 eval $1=\$$1\$2
66848 }
66849 fi # as_fn_append
66850
66851 # as_fn_arith ARG...
66852 # ------------------
66853 # Perform arithmetic evaluation on the ARGs, and store the result in the
66854 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66855 # must be portable across $(()) and expr.
66856 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66857 eval 'as_fn_arith ()
66858 {
66859 as_val=$(( $* ))
66860 }'
66861 else
66862 as_fn_arith ()
66863 {
66864 as_val=`expr "$@" || test $? -eq 1`
66865 }
66866 fi # as_fn_arith
66867
66868
66869 if expr a : '\(a\)' >/dev/null 2>&1 &&
66870 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66871 as_expr=expr
66872 else
66873 as_expr=false
66874 fi
66875
66876 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66877 as_basename=basename
66878 else
66879 as_basename=false
66880 fi
66881
66882 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66883 as_dirname=dirname
66884 else
66885 as_dirname=false
66886 fi
66887
66888 as_me=`$as_basename -- "$0" ||
66889 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66890 X"$0" : 'X\(//\)$' \| \
66891 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66892 $as_echo X/"$0" |
66893 sed '/^.*\/\([^/][^/]*\)\/*$/{
66894 s//\1/
66895 q
66896 }
66897 /^X\/\(\/\/\)$/{
66898 s//\1/
66899 q
66900 }
66901 /^X\/\(\/\).*/{
66902 s//\1/
66903 q
66904 }
66905 s/.*/./; q'`
66906
66907 # Avoid depending upon Character Ranges.
66908 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66909 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66910 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66911 as_cr_digits='0123456789'
66912 as_cr_alnum=$as_cr_Letters$as_cr_digits
66913
66914 ECHO_C= ECHO_N= ECHO_T=
66915 case `echo -n x` in #(((((
66916 -n*)
66917 case `echo 'xy\c'` in
66918 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66919 xy) ECHO_C='\c';;
66920 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66921 ECHO_T=' ';;
66922 esac;;
66923 *)
66924 ECHO_N='-n';;
66925 esac
66926
66927 rm -f conf$$ conf$$.exe conf$$.file
66928 if test -d conf$$.dir; then
66929 rm -f conf$$.dir/conf$$.file
66930 else
66931 rm -f conf$$.dir
66932 mkdir conf$$.dir 2>/dev/null
66933 fi
66934 if (echo >conf$$.file) 2>/dev/null; then
66935 if ln -s conf$$.file conf$$ 2>/dev/null; then
66936 as_ln_s='ln -s'
66937 # ... but there are two gotchas:
66938 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66939 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66940 # In both cases, we have to default to `cp -p'.
66941 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66942 as_ln_s='cp -p'
66943 elif ln conf$$.file conf$$ 2>/dev/null; then
66944 as_ln_s=ln
66945 else
66946 as_ln_s='cp -p'
66947 fi
66948 else
66949 as_ln_s='cp -p'
66950 fi
66951 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66952 rmdir conf$$.dir 2>/dev/null
66953
66954
66955 # as_fn_mkdir_p
66956 # -------------
66957 # Create "$as_dir" as a directory, including parents if necessary.
66958 as_fn_mkdir_p ()
66959 {
66960
66961 case $as_dir in #(
66962 -*) as_dir=./$as_dir;;
66963 esac
66964 test -d "$as_dir" || eval $as_mkdir_p || {
66965 as_dirs=
66966 while :; do
66967 case $as_dir in #(
66968 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66969 *) as_qdir=$as_dir;;
66970 esac
66971 as_dirs="'$as_qdir' $as_dirs"
66972 as_dir=`$as_dirname -- "$as_dir" ||
66973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66974 X"$as_dir" : 'X\(//\)[^/]' \| \
66975 X"$as_dir" : 'X\(//\)$' \| \
66976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66977 $as_echo X"$as_dir" |
66978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66979 s//\1/
66980 q
66981 }
66982 /^X\(\/\/\)[^/].*/{
66983 s//\1/
66984 q
66985 }
66986 /^X\(\/\/\)$/{
66987 s//\1/
66988 q
66989 }
66990 /^X\(\/\).*/{
66991 s//\1/
66992 q
66993 }
66994 s/.*/./; q'`
66995 test -d "$as_dir" && break
66996 done
66997 test -z "$as_dirs" || eval "mkdir $as_dirs"
66998 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66999
67000
67001 } # as_fn_mkdir_p
67002 if mkdir -p . 2>/dev/null; then
67003 as_mkdir_p='mkdir -p "$as_dir"'
67004 else
67005 test -d ./-p && rmdir ./-p
67006 as_mkdir_p=false
67007 fi
67008
67009 if test -x / >/dev/null 2>&1; then
67010 as_test_x='test -x'
67011 else
67012 if ls -dL / >/dev/null 2>&1; then
67013 as_ls_L_option=L
67014 else
67015 as_ls_L_option=
67016 fi
67017 as_test_x='
67018 eval sh -c '\''
67019 if test -d "$1"; then
67020 test -d "$1/.";
67021 else
67022 case $1 in #(
67023 -*)set "./$1";;
67024 esac;
67025 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
67026 ???[sx]*):;;*)false;;esac;fi
67027 '\'' sh
67028 '
67029 fi
67030 as_executable_p=$as_test_x
67031
67032 # Sed expression to map a string onto a valid CPP name.
67033 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67034
67035 # Sed expression to map a string onto a valid variable name.
67036 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67037
67038
67039 exec 6>&1
67040 ## ----------------------------------- ##
67041 ## Main body of $CONFIG_STATUS script. ##
67042 ## ----------------------------------- ##
67043 _ASEOF
67044 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67045
67046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67047 # Save the log message, to keep $0 and so on meaningful, and to
67048 # report actual input values of CONFIG_FILES etc. instead of their
67049 # values after options handling.
67050 ac_log="
67051 This file was extended by package-unused $as_me version-unused, which was
67052 generated by GNU Autoconf 2.64. Invocation command line was
67053
67054 CONFIG_FILES = $CONFIG_FILES
67055 CONFIG_HEADERS = $CONFIG_HEADERS
67056 CONFIG_LINKS = $CONFIG_LINKS
67057 CONFIG_COMMANDS = $CONFIG_COMMANDS
67058 $ $0 $@
67059
67060 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67061 "
67062
67063 _ACEOF
67064
67065 case $ac_config_files in *"
67066 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67067 esac
67068
67069 case $ac_config_headers in *"
67070 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67071 esac
67072
67073
67074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67075 # Files that config.status was made for.
67076 config_files="$ac_config_files"
67077 config_headers="$ac_config_headers"
67078 config_commands="$ac_config_commands"
67079
67080 _ACEOF
67081
67082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67083 ac_cs_usage="\
67084 \`$as_me' instantiates files and other configuration actions
67085 from templates according to the current configuration. Unless the files
67086 and actions are specified as TAGs, all are instantiated by default.
67087
67088 Usage: $0 [OPTION]... [TAG]...
67089
67090 -h, --help print this help, then exit
67091 -V, --version print version number and configuration settings, then exit
67092 -q, --quiet, --silent
67093 do not print progress messages
67094 -d, --debug don't remove temporary files
67095 --recheck update $as_me by reconfiguring in the same conditions
67096 --file=FILE[:TEMPLATE]
67097 instantiate the configuration file FILE
67098 --header=FILE[:TEMPLATE]
67099 instantiate the configuration header FILE
67100
67101 Configuration files:
67102 $config_files
67103
67104 Configuration headers:
67105 $config_headers
67106
67107 Configuration commands:
67108 $config_commands
67109
67110 Report bugs to the package provider."
67111
67112 _ACEOF
67113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67114 ac_cs_version="\\
67115 package-unused config.status version-unused
67116 configured by $0, generated by GNU Autoconf 2.64,
67117 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67118
67119 Copyright (C) 2009 Free Software Foundation, Inc.
67120 This config.status script is free software; the Free Software Foundation
67121 gives unlimited permission to copy, distribute and modify it."
67122
67123 ac_pwd='$ac_pwd'
67124 srcdir='$srcdir'
67125 INSTALL='$INSTALL'
67126 MKDIR_P='$MKDIR_P'
67127 AWK='$AWK'
67128 test -n "\$AWK" || AWK=awk
67129 _ACEOF
67130
67131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67132 # The default lists apply if the user does not specify any file.
67133 ac_need_defaults=:
67134 while test $# != 0
67135 do
67136 case $1 in
67137 --*=*)
67138 ac_option=`expr "X$1" : 'X\([^=]*\)='`
67139 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67140 ac_shift=:
67141 ;;
67142 *)
67143 ac_option=$1
67144 ac_optarg=$2
67145 ac_shift=shift
67146 ;;
67147 esac
67148
67149 case $ac_option in
67150 # Handling of the options.
67151 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67152 ac_cs_recheck=: ;;
67153 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67154 $as_echo "$ac_cs_version"; exit ;;
67155 --debug | --debu | --deb | --de | --d | -d )
67156 debug=: ;;
67157 --file | --fil | --fi | --f )
67158 $ac_shift
67159 case $ac_optarg in
67160 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67161 esac
67162 as_fn_append CONFIG_FILES " '$ac_optarg'"
67163 ac_need_defaults=false;;
67164 --header | --heade | --head | --hea )
67165 $ac_shift
67166 case $ac_optarg in
67167 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67168 esac
67169 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67170 ac_need_defaults=false;;
67171 --he | --h)
67172 # Conflict between --help and --header
67173 as_fn_error "ambiguous option: \`$1'
67174 Try \`$0 --help' for more information.";;
67175 --help | --hel | -h )
67176 $as_echo "$ac_cs_usage"; exit ;;
67177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67178 | -silent | --silent | --silen | --sile | --sil | --si | --s)
67179 ac_cs_silent=: ;;
67180
67181 # This is an error.
67182 -*) as_fn_error "unrecognized option: \`$1'
67183 Try \`$0 --help' for more information." ;;
67184
67185 *) as_fn_append ac_config_targets " $1"
67186 ac_need_defaults=false ;;
67187
67188 esac
67189 shift
67190 done
67191
67192 ac_configure_extra_args=
67193
67194 if $ac_cs_silent; then
67195 exec 6>/dev/null
67196 ac_configure_extra_args="$ac_configure_extra_args --silent"
67197 fi
67198
67199 _ACEOF
67200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67201 if \$ac_cs_recheck; then
67202 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67203 shift
67204 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67205 CONFIG_SHELL='$SHELL'
67206 export CONFIG_SHELL
67207 exec "\$@"
67208 fi
67209
67210 _ACEOF
67211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67212 exec 5>>config.log
67213 {
67214 echo
67215 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67216 ## Running $as_me. ##
67217 _ASBOX
67218 $as_echo "$ac_log"
67219 } >&5
67220
67221 _ACEOF
67222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67223 #
67224 # INIT-COMMANDS
67225 #
67226
67227 srcdir="$srcdir"
67228 host="$host"
67229 target="$target"
67230 with_multisubdir="$with_multisubdir"
67231 with_multisrctop="$with_multisrctop"
67232 with_target_subdir="$with_target_subdir"
67233 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67234 multi_basedir="$multi_basedir"
67235 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67236 CC="$CC"
67237 CXX="$CXX"
67238 GFORTRAN="$GFORTRAN"
67239 GCJ="$GCJ"
67240
67241
67242 # The HP-UX ksh and POSIX shell print the target directory to stdout
67243 # if CDPATH is set.
67244 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67245
67246 sed_quote_subst='$sed_quote_subst'
67247 double_quote_subst='$double_quote_subst'
67248 delay_variable_subst='$delay_variable_subst'
67249 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67250 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67251 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67252 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67253 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67254 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67255 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67256 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67257 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67258 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67259 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67260 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67261 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67262 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67263 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67264 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67265 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67266 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67267 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67268 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67269 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67270 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67271 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67272 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67273 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67274 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67275 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67276 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67277 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67278 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67279 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67280 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67281 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67282 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67283 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67284 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67285 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67286 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67287 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67288 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67289 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67290 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67291 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67292 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67293 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67294 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67295 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67296 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67297 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"`'
67298 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67299 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67300 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67301 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67302 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67303 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67304 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67305 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67306 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67307 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67308 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67309 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67310 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67311 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67312 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67313 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67314 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67315 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67316 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67317 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67318 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67319 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67320 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67321 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67322 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67323 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67324 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67325 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67326 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67327 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67328 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67329 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67330 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67331 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67332 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67333 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67334 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67335 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67336 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67337 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67338 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67339 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67340 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67341 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67342 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67343 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67344 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67345 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67346 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67347 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67348 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67349 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67350 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67351 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67352 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67353 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67354 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67355 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67356 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67357 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67358 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67359 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67360 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67361 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67362 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67363 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67364 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67365 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67366 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67367 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67368 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67369 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67370 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67371 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67372 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67373 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67374 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67375 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67376 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67377 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67378 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67379 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67380 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67381 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67382 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67383 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67384 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67385 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67386 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67387 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67388 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67389 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67390 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67391 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67392 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67393 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67394 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67395 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67396 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67397 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67398 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67399 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67400 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67401 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67402 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67403 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67404 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67405 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67406 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67407 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67408 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67409 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67410 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67411 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67412 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67413 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67414 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67415 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67416 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67417 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67418 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67419 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67420 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67421 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67422 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67423 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67424
67425 LTCC='$LTCC'
67426 LTCFLAGS='$LTCFLAGS'
67427 compiler='$compiler_DEFAULT'
67428
67429 # A function that is used when there is no print builtin or printf.
67430 func_fallback_echo ()
67431 {
67432 eval 'cat <<_LTECHO_EOF
67433 \$1
67434 _LTECHO_EOF'
67435 }
67436
67437 # Quote evaled strings.
67438 for var in SHELL \
67439 ECHO \
67440 SED \
67441 GREP \
67442 EGREP \
67443 FGREP \
67444 LD \
67445 NM \
67446 LN_S \
67447 lt_SP2NL \
67448 lt_NL2SP \
67449 reload_flag \
67450 OBJDUMP \
67451 deplibs_check_method \
67452 file_magic_cmd \
67453 AR \
67454 AR_FLAGS \
67455 STRIP \
67456 RANLIB \
67457 CC \
67458 CFLAGS \
67459 compiler \
67460 lt_cv_sys_global_symbol_pipe \
67461 lt_cv_sys_global_symbol_to_cdecl \
67462 lt_cv_sys_global_symbol_to_c_name_address \
67463 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67464 lt_prog_compiler_no_builtin_flag \
67465 lt_prog_compiler_wl \
67466 lt_prog_compiler_pic \
67467 lt_prog_compiler_static \
67468 lt_cv_prog_compiler_c_o \
67469 need_locks \
67470 DSYMUTIL \
67471 NMEDIT \
67472 LIPO \
67473 OTOOL \
67474 OTOOL64 \
67475 shrext_cmds \
67476 export_dynamic_flag_spec \
67477 whole_archive_flag_spec \
67478 compiler_needs_object \
67479 with_gnu_ld \
67480 allow_undefined_flag \
67481 no_undefined_flag \
67482 hardcode_libdir_flag_spec \
67483 hardcode_libdir_flag_spec_ld \
67484 hardcode_libdir_separator \
67485 fix_srcfile_path \
67486 exclude_expsyms \
67487 include_expsyms \
67488 file_list_spec \
67489 variables_saved_for_relink \
67490 libname_spec \
67491 library_names_spec \
67492 soname_spec \
67493 install_override_mode \
67494 finish_eval \
67495 old_striplib \
67496 striplib \
67497 compiler_lib_search_dirs \
67498 predep_objects \
67499 postdep_objects \
67500 predeps \
67501 postdeps \
67502 compiler_lib_search_path \
67503 LD_CXX \
67504 reload_flag_CXX \
67505 compiler_CXX \
67506 lt_prog_compiler_no_builtin_flag_CXX \
67507 lt_prog_compiler_wl_CXX \
67508 lt_prog_compiler_pic_CXX \
67509 lt_prog_compiler_static_CXX \
67510 lt_cv_prog_compiler_c_o_CXX \
67511 export_dynamic_flag_spec_CXX \
67512 whole_archive_flag_spec_CXX \
67513 compiler_needs_object_CXX \
67514 with_gnu_ld_CXX \
67515 allow_undefined_flag_CXX \
67516 no_undefined_flag_CXX \
67517 hardcode_libdir_flag_spec_CXX \
67518 hardcode_libdir_flag_spec_ld_CXX \
67519 hardcode_libdir_separator_CXX \
67520 fix_srcfile_path_CXX \
67521 exclude_expsyms_CXX \
67522 include_expsyms_CXX \
67523 file_list_spec_CXX \
67524 compiler_lib_search_dirs_CXX \
67525 predep_objects_CXX \
67526 postdep_objects_CXX \
67527 predeps_CXX \
67528 postdeps_CXX \
67529 compiler_lib_search_path_CXX; do
67530 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67531 *[\\\\\\\`\\"\\\$]*)
67532 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67533 ;;
67534 *)
67535 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67536 ;;
67537 esac
67538 done
67539
67540 # Double-quote double-evaled strings.
67541 for var in reload_cmds \
67542 old_postinstall_cmds \
67543 old_postuninstall_cmds \
67544 old_archive_cmds \
67545 extract_expsyms_cmds \
67546 old_archive_from_new_cmds \
67547 old_archive_from_expsyms_cmds \
67548 archive_cmds \
67549 archive_expsym_cmds \
67550 module_cmds \
67551 module_expsym_cmds \
67552 export_symbols_cmds \
67553 prelink_cmds \
67554 postinstall_cmds \
67555 postuninstall_cmds \
67556 finish_cmds \
67557 sys_lib_search_path_spec \
67558 sys_lib_dlsearch_path_spec \
67559 reload_cmds_CXX \
67560 old_archive_cmds_CXX \
67561 old_archive_from_new_cmds_CXX \
67562 old_archive_from_expsyms_cmds_CXX \
67563 archive_cmds_CXX \
67564 archive_expsym_cmds_CXX \
67565 module_cmds_CXX \
67566 module_expsym_cmds_CXX \
67567 export_symbols_cmds_CXX \
67568 prelink_cmds_CXX; do
67569 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67570 *[\\\\\\\`\\"\\\$]*)
67571 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67572 ;;
67573 *)
67574 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67575 ;;
67576 esac
67577 done
67578
67579 ac_aux_dir='$ac_aux_dir'
67580 xsi_shell='$xsi_shell'
67581 lt_shell_append='$lt_shell_append'
67582
67583 # See if we are running on zsh, and set the options which allow our
67584 # commands through without removal of \ escapes INIT.
67585 if test -n "\${ZSH_VERSION+set}" ; then
67586 setopt NO_GLOB_SUBST
67587 fi
67588
67589
67590 PACKAGE='$PACKAGE'
67591 VERSION='$VERSION'
67592 TIMESTAMP='$TIMESTAMP'
67593 RM='$RM'
67594 ofile='$ofile'
67595
67596
67597
67598
67599
67600
67601 GCC="$GCC"
67602 CC="$CC"
67603 acx_cv_header_stdint="$acx_cv_header_stdint"
67604 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67605 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67606 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67607 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67608 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67609 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67610 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67611 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67612 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67613 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67614 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67615 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67616 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67617
67618
67619 _ACEOF
67620
67621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67622
67623 # Handling of arguments.
67624 for ac_config_target in $ac_config_targets
67625 do
67626 case $ac_config_target in
67627 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67628 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67629 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67630 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67631 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67632 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67633 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67634 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67635 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67636 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67637 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67638 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67639 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67640 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67641 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67642
67643 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67644 esac
67645 done
67646
67647
67648 # If the user did not use the arguments to specify the items to instantiate,
67649 # then the envvar interface is used. Set only those that are not.
67650 # We use the long form for the default assignment because of an extremely
67651 # bizarre bug on SunOS 4.1.3.
67652 if $ac_need_defaults; then
67653 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67654 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67655 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67656 fi
67657
67658 # Have a temporary directory for convenience. Make it in the build tree
67659 # simply because there is no reason against having it here, and in addition,
67660 # creating and moving files from /tmp can sometimes cause problems.
67661 # Hook for its removal unless debugging.
67662 # Note that there is a small window in which the directory will not be cleaned:
67663 # after its creation but before its name has been assigned to `$tmp'.
67664 $debug ||
67665 {
67666 tmp=
67667 trap 'exit_status=$?
67668 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67669 ' 0
67670 trap 'as_fn_exit 1' 1 2 13 15
67671 }
67672 # Create a (secure) tmp directory for tmp files.
67673
67674 {
67675 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67676 test -n "$tmp" && test -d "$tmp"
67677 } ||
67678 {
67679 tmp=./conf$$-$RANDOM
67680 (umask 077 && mkdir "$tmp")
67681 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67682
67683 # Set up the scripts for CONFIG_FILES section.
67684 # No need to generate them if there are no CONFIG_FILES.
67685 # This happens for instance with `./config.status config.h'.
67686 if test -n "$CONFIG_FILES"; then
67687
67688
67689 ac_cr=`echo X | tr X '\015'`
67690 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67691 # But we know of no other shell where ac_cr would be empty at this
67692 # point, so we can use a bashism as a fallback.
67693 if test "x$ac_cr" = x; then
67694 eval ac_cr=\$\'\\r\'
67695 fi
67696 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67697 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67698 ac_cs_awk_cr='\r'
67699 else
67700 ac_cs_awk_cr=$ac_cr
67701 fi
67702
67703 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67704 _ACEOF
67705
67706
67707 {
67708 echo "cat >conf$$subs.awk <<_ACEOF" &&
67709 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67710 echo "_ACEOF"
67711 } >conf$$subs.sh ||
67712 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67713 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67714 ac_delim='%!_!# '
67715 for ac_last_try in false false false false false :; do
67716 . ./conf$$subs.sh ||
67717 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67718
67719 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67720 if test $ac_delim_n = $ac_delim_num; then
67721 break
67722 elif $ac_last_try; then
67723 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67724 else
67725 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67726 fi
67727 done
67728 rm -f conf$$subs.sh
67729
67730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67731 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67732 _ACEOF
67733 sed -n '
67734 h
67735 s/^/S["/; s/!.*/"]=/
67736 p
67737 g
67738 s/^[^!]*!//
67739 :repl
67740 t repl
67741 s/'"$ac_delim"'$//
67742 t delim
67743 :nl
67744 h
67745 s/\(.\{148\}\).*/\1/
67746 t more1
67747 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67748 p
67749 n
67750 b repl
67751 :more1
67752 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67753 p
67754 g
67755 s/.\{148\}//
67756 t nl
67757 :delim
67758 h
67759 s/\(.\{148\}\).*/\1/
67760 t more2
67761 s/["\\]/\\&/g; s/^/"/; s/$/"/
67762 p
67763 b
67764 :more2
67765 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67766 p
67767 g
67768 s/.\{148\}//
67769 t delim
67770 ' <conf$$subs.awk | sed '
67771 /^[^""]/{
67772 N
67773 s/\n//
67774 }
67775 ' >>$CONFIG_STATUS || ac_write_fail=1
67776 rm -f conf$$subs.awk
67777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67778 _ACAWK
67779 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67780 for (key in S) S_is_set[key] = 1
67781 FS = "\a"
67782
67783 }
67784 {
67785 line = $ 0
67786 nfields = split(line, field, "@")
67787 substed = 0
67788 len = length(field[1])
67789 for (i = 2; i < nfields; i++) {
67790 key = field[i]
67791 keylen = length(key)
67792 if (S_is_set[key]) {
67793 value = S[key]
67794 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67795 len += length(value) + length(field[++i])
67796 substed = 1
67797 } else
67798 len += 1 + keylen
67799 }
67800
67801 print line
67802 }
67803
67804 _ACAWK
67805 _ACEOF
67806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67807 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67808 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67809 else
67810 cat
67811 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67812 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67813 _ACEOF
67814
67815 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67816 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67817 # trailing colons and then remove the whole line if VPATH becomes empty
67818 # (actually we leave an empty line to preserve line numbers).
67819 if test "x$srcdir" = x.; then
67820 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67821 s/:*\$(srcdir):*/:/
67822 s/:*\${srcdir}:*/:/
67823 s/:*@srcdir@:*/:/
67824 s/^\([^=]*=[ ]*\):*/\1/
67825 s/:*$//
67826 s/^[^=]*=[ ]*$//
67827 }'
67828 fi
67829
67830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67831 fi # test -n "$CONFIG_FILES"
67832
67833 # Set up the scripts for CONFIG_HEADERS section.
67834 # No need to generate them if there are no CONFIG_HEADERS.
67835 # This happens for instance with `./config.status Makefile'.
67836 if test -n "$CONFIG_HEADERS"; then
67837 cat >"$tmp/defines.awk" <<\_ACAWK ||
67838 BEGIN {
67839 _ACEOF
67840
67841 # Transform confdefs.h into an awk script `defines.awk', embedded as
67842 # here-document in config.status, that substitutes the proper values into
67843 # config.h.in to produce config.h.
67844
67845 # Create a delimiter string that does not exist in confdefs.h, to ease
67846 # handling of long lines.
67847 ac_delim='%!_!# '
67848 for ac_last_try in false false :; do
67849 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67850 if test -z "$ac_t"; then
67851 break
67852 elif $ac_last_try; then
67853 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67854 else
67855 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67856 fi
67857 done
67858
67859 # For the awk script, D is an array of macro values keyed by name,
67860 # likewise P contains macro parameters if any. Preserve backslash
67861 # newline sequences.
67862
67863 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67864 sed -n '
67865 s/.\{148\}/&'"$ac_delim"'/g
67866 t rset
67867 :rset
67868 s/^[ ]*#[ ]*define[ ][ ]*/ /
67869 t def
67870 d
67871 :def
67872 s/\\$//
67873 t bsnl
67874 s/["\\]/\\&/g
67875 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67876 D["\1"]=" \3"/p
67877 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67878 d
67879 :bsnl
67880 s/["\\]/\\&/g
67881 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67882 D["\1"]=" \3\\\\\\n"\\/p
67883 t cont
67884 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67885 t cont
67886 d
67887 :cont
67888 n
67889 s/.\{148\}/&'"$ac_delim"'/g
67890 t clear
67891 :clear
67892 s/\\$//
67893 t bsnlc
67894 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67895 d
67896 :bsnlc
67897 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67898 b cont
67899 ' <confdefs.h | sed '
67900 s/'"$ac_delim"'/"\\\
67901 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67902
67903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67904 for (key in D) D_is_set[key] = 1
67905 FS = "\a"
67906 }
67907 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67908 line = \$ 0
67909 split(line, arg, " ")
67910 if (arg[1] == "#") {
67911 defundef = arg[2]
67912 mac1 = arg[3]
67913 } else {
67914 defundef = substr(arg[1], 2)
67915 mac1 = arg[2]
67916 }
67917 split(mac1, mac2, "(") #)
67918 macro = mac2[1]
67919 prefix = substr(line, 1, index(line, defundef) - 1)
67920 if (D_is_set[macro]) {
67921 # Preserve the white space surrounding the "#".
67922 print prefix "define", macro P[macro] D[macro]
67923 next
67924 } else {
67925 # Replace #undef with comments. This is necessary, for example,
67926 # in the case of _POSIX_SOURCE, which is predefined and required
67927 # on some systems where configure will not decide to define it.
67928 if (defundef == "undef") {
67929 print "/*", prefix defundef, macro, "*/"
67930 next
67931 }
67932 }
67933 }
67934 { print }
67935 _ACAWK
67936 _ACEOF
67937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67938 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67939 fi # test -n "$CONFIG_HEADERS"
67940
67941
67942 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67943 shift
67944 for ac_tag
67945 do
67946 case $ac_tag in
67947 :[FHLC]) ac_mode=$ac_tag; continue;;
67948 esac
67949 case $ac_mode$ac_tag in
67950 :[FHL]*:*);;
67951 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67952 :[FH]-) ac_tag=-:-;;
67953 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67954 esac
67955 ac_save_IFS=$IFS
67956 IFS=:
67957 set x $ac_tag
67958 IFS=$ac_save_IFS
67959 shift
67960 ac_file=$1
67961 shift
67962
67963 case $ac_mode in
67964 :L) ac_source=$1;;
67965 :[FH])
67966 ac_file_inputs=
67967 for ac_f
67968 do
67969 case $ac_f in
67970 -) ac_f="$tmp/stdin";;
67971 *) # Look for the file first in the build tree, then in the source tree
67972 # (if the path is not absolute). The absolute path cannot be DOS-style,
67973 # because $ac_f cannot contain `:'.
67974 test -f "$ac_f" ||
67975 case $ac_f in
67976 [\\/$]*) false;;
67977 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67978 esac ||
67979 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67980 esac
67981 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67982 as_fn_append ac_file_inputs " '$ac_f'"
67983 done
67984
67985 # Let's still pretend it is `configure' which instantiates (i.e., don't
67986 # use $as_me), people would be surprised to read:
67987 # /* config.h. Generated by config.status. */
67988 configure_input='Generated from '`
67989 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67990 `' by configure.'
67991 if test x"$ac_file" != x-; then
67992 configure_input="$ac_file. $configure_input"
67993 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67994 $as_echo "$as_me: creating $ac_file" >&6;}
67995 fi
67996 # Neutralize special characters interpreted by sed in replacement strings.
67997 case $configure_input in #(
67998 *\&* | *\|* | *\\* )
67999 ac_sed_conf_input=`$as_echo "$configure_input" |
68000 sed 's/[\\\\&|]/\\\\&/g'`;; #(
68001 *) ac_sed_conf_input=$configure_input;;
68002 esac
68003
68004 case $ac_tag in
68005 *:-:* | *:-) cat >"$tmp/stdin" \
68006 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
68007 esac
68008 ;;
68009 esac
68010
68011 ac_dir=`$as_dirname -- "$ac_file" ||
68012 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68013 X"$ac_file" : 'X\(//\)[^/]' \| \
68014 X"$ac_file" : 'X\(//\)$' \| \
68015 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
68016 $as_echo X"$ac_file" |
68017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68018 s//\1/
68019 q
68020 }
68021 /^X\(\/\/\)[^/].*/{
68022 s//\1/
68023 q
68024 }
68025 /^X\(\/\/\)$/{
68026 s//\1/
68027 q
68028 }
68029 /^X\(\/\).*/{
68030 s//\1/
68031 q
68032 }
68033 s/.*/./; q'`
68034 as_dir="$ac_dir"; as_fn_mkdir_p
68035 ac_builddir=.
68036
68037 case "$ac_dir" in
68038 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
68039 *)
68040 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
68041 # A ".." for each directory in $ac_dir_suffix.
68042 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
68043 case $ac_top_builddir_sub in
68044 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68045 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68046 esac ;;
68047 esac
68048 ac_abs_top_builddir=$ac_pwd
68049 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68050 # for backward compatibility:
68051 ac_top_builddir=$ac_top_build_prefix
68052
68053 case $srcdir in
68054 .) # We are building in place.
68055 ac_srcdir=.
68056 ac_top_srcdir=$ac_top_builddir_sub
68057 ac_abs_top_srcdir=$ac_pwd ;;
68058 [\\/]* | ?:[\\/]* ) # Absolute name.
68059 ac_srcdir=$srcdir$ac_dir_suffix;
68060 ac_top_srcdir=$srcdir
68061 ac_abs_top_srcdir=$srcdir ;;
68062 *) # Relative name.
68063 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68064 ac_top_srcdir=$ac_top_build_prefix$srcdir
68065 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68066 esac
68067 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68068
68069
68070 case $ac_mode in
68071 :F)
68072 #
68073 # CONFIG_FILE
68074 #
68075
68076 case $INSTALL in
68077 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68078 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68079 esac
68080 ac_MKDIR_P=$MKDIR_P
68081 case $MKDIR_P in
68082 [\\/$]* | ?:[\\/]* ) ;;
68083 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68084 esac
68085 _ACEOF
68086
68087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68088 # If the template does not know about datarootdir, expand it.
68089 # FIXME: This hack should be removed a few years after 2.60.
68090 ac_datarootdir_hack=; ac_datarootdir_seen=
68091 ac_sed_dataroot='
68092 /datarootdir/ {
68093 p
68094 q
68095 }
68096 /@datadir@/p
68097 /@docdir@/p
68098 /@infodir@/p
68099 /@localedir@/p
68100 /@mandir@/p'
68101 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68102 *datarootdir*) ac_datarootdir_seen=yes;;
68103 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68105 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68106 _ACEOF
68107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68108 ac_datarootdir_hack='
68109 s&@datadir@&$datadir&g
68110 s&@docdir@&$docdir&g
68111 s&@infodir@&$infodir&g
68112 s&@localedir@&$localedir&g
68113 s&@mandir@&$mandir&g
68114 s&\\\${datarootdir}&$datarootdir&g' ;;
68115 esac
68116 _ACEOF
68117
68118 # Neutralize VPATH when `$srcdir' = `.'.
68119 # Shell code in configure.ac might set extrasub.
68120 # FIXME: do we really want to maintain this feature?
68121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68122 ac_sed_extra="$ac_vpsub
68123 $extrasub
68124 _ACEOF
68125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68126 :t
68127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68128 s|@configure_input@|$ac_sed_conf_input|;t t
68129 s&@top_builddir@&$ac_top_builddir_sub&;t t
68130 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68131 s&@srcdir@&$ac_srcdir&;t t
68132 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68133 s&@top_srcdir@&$ac_top_srcdir&;t t
68134 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68135 s&@builddir@&$ac_builddir&;t t
68136 s&@abs_builddir@&$ac_abs_builddir&;t t
68137 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68138 s&@INSTALL@&$ac_INSTALL&;t t
68139 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68140 $ac_datarootdir_hack
68141 "
68142 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68143 || as_fn_error "could not create $ac_file" "$LINENO" 5
68144
68145 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68146 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68147 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68149 which seems to be undefined. Please make sure it is defined." >&5
68150 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68151 which seems to be undefined. Please make sure it is defined." >&2;}
68152
68153 rm -f "$tmp/stdin"
68154 case $ac_file in
68155 -) cat "$tmp/out" && rm -f "$tmp/out";;
68156 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68157 esac \
68158 || as_fn_error "could not create $ac_file" "$LINENO" 5
68159 ;;
68160 :H)
68161 #
68162 # CONFIG_HEADER
68163 #
68164 if test x"$ac_file" != x-; then
68165 {
68166 $as_echo "/* $configure_input */" \
68167 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68168 } >"$tmp/config.h" \
68169 || as_fn_error "could not create $ac_file" "$LINENO" 5
68170 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68171 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68172 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68173 else
68174 rm -f "$ac_file"
68175 mv "$tmp/config.h" "$ac_file" \
68176 || as_fn_error "could not create $ac_file" "$LINENO" 5
68177 fi
68178 else
68179 $as_echo "/* $configure_input */" \
68180 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68181 || as_fn_error "could not create -" "$LINENO" 5
68182 fi
68183 # Compute "$ac_file"'s index in $config_headers.
68184 _am_arg="$ac_file"
68185 _am_stamp_count=1
68186 for _am_header in $config_headers :; do
68187 case $_am_header in
68188 $_am_arg | $_am_arg:* )
68189 break ;;
68190 * )
68191 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68192 esac
68193 done
68194 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68195 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68196 X"$_am_arg" : 'X\(//\)[^/]' \| \
68197 X"$_am_arg" : 'X\(//\)$' \| \
68198 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68199 $as_echo X"$_am_arg" |
68200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68201 s//\1/
68202 q
68203 }
68204 /^X\(\/\/\)[^/].*/{
68205 s//\1/
68206 q
68207 }
68208 /^X\(\/\/\)$/{
68209 s//\1/
68210 q
68211 }
68212 /^X\(\/\).*/{
68213 s//\1/
68214 q
68215 }
68216 s/.*/./; q'`/stamp-h$_am_stamp_count
68217 ;;
68218
68219 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68220 $as_echo "$as_me: executing $ac_file commands" >&6;}
68221 ;;
68222 esac
68223
68224
68225 case $ac_file$ac_mode in
68226 "default-1":C)
68227 # Only add multilib support code if we just rebuilt the top-level
68228 # Makefile.
68229 case " $CONFIG_FILES " in
68230 *" Makefile "*)
68231 ac_file=Makefile . ${multi_basedir}/config-ml.in
68232 ;;
68233 esac ;;
68234 "libtool":C)
68235
68236 # See if we are running on zsh, and set the options which allow our
68237 # commands through without removal of \ escapes.
68238 if test -n "${ZSH_VERSION+set}" ; then
68239 setopt NO_GLOB_SUBST
68240 fi
68241
68242 cfgfile="${ofile}T"
68243 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68244 $RM "$cfgfile"
68245
68246 cat <<_LT_EOF >> "$cfgfile"
68247 #! $SHELL
68248
68249 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68250 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68251 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68252 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68253 #
68254 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68255 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68256 # Written by Gordon Matzigkeit, 1996
68257 #
68258 # This file is part of GNU Libtool.
68259 #
68260 # GNU Libtool is free software; you can redistribute it and/or
68261 # modify it under the terms of the GNU General Public License as
68262 # published by the Free Software Foundation; either version 2 of
68263 # the License, or (at your option) any later version.
68264 #
68265 # As a special exception to the GNU General Public License,
68266 # if you distribute this file as part of a program or library that
68267 # is built using GNU Libtool, you may include this file under the
68268 # same distribution terms that you use for the rest of that program.
68269 #
68270 # GNU Libtool is distributed in the hope that it will be useful,
68271 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68272 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68273 # GNU General Public License for more details.
68274 #
68275 # You should have received a copy of the GNU General Public License
68276 # along with GNU Libtool; see the file COPYING. If not, a copy
68277 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68278 # obtained by writing to the Free Software Foundation, Inc.,
68279 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68280
68281
68282 # The names of the tagged configurations supported by this script.
68283 available_tags="CXX "
68284
68285 # ### BEGIN LIBTOOL CONFIG
68286
68287 # Which release of libtool.m4 was used?
68288 macro_version=$macro_version
68289 macro_revision=$macro_revision
68290
68291 # Whether or not to build shared libraries.
68292 build_libtool_libs=$enable_shared
68293
68294 # Whether or not to build static libraries.
68295 build_old_libs=$enable_static
68296
68297 # What type of objects to build.
68298 pic_mode=$pic_mode
68299
68300 # Whether or not to optimize for fast installation.
68301 fast_install=$enable_fast_install
68302
68303 # Shell to use when invoking shell scripts.
68304 SHELL=$lt_SHELL
68305
68306 # An echo program that protects backslashes.
68307 ECHO=$lt_ECHO
68308
68309 # The host system.
68310 host_alias=$host_alias
68311 host=$host
68312 host_os=$host_os
68313
68314 # The build system.
68315 build_alias=$build_alias
68316 build=$build
68317 build_os=$build_os
68318
68319 # A sed program that does not truncate output.
68320 SED=$lt_SED
68321
68322 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68323 Xsed="\$SED -e 1s/^X//"
68324
68325 # A grep program that handles long lines.
68326 GREP=$lt_GREP
68327
68328 # An ERE matcher.
68329 EGREP=$lt_EGREP
68330
68331 # A literal string matcher.
68332 FGREP=$lt_FGREP
68333
68334 # A BSD- or MS-compatible name lister.
68335 NM=$lt_NM
68336
68337 # Whether we need soft or hard links.
68338 LN_S=$lt_LN_S
68339
68340 # What is the maximum length of a command?
68341 max_cmd_len=$max_cmd_len
68342
68343 # Object file suffix (normally "o").
68344 objext=$ac_objext
68345
68346 # Executable file suffix (normally "").
68347 exeext=$exeext
68348
68349 # whether the shell understands "unset".
68350 lt_unset=$lt_unset
68351
68352 # turn spaces into newlines.
68353 SP2NL=$lt_lt_SP2NL
68354
68355 # turn newlines into spaces.
68356 NL2SP=$lt_lt_NL2SP
68357
68358 # An object symbol dumper.
68359 OBJDUMP=$lt_OBJDUMP
68360
68361 # Method to check whether dependent libraries are shared objects.
68362 deplibs_check_method=$lt_deplibs_check_method
68363
68364 # Command to use when deplibs_check_method == "file_magic".
68365 file_magic_cmd=$lt_file_magic_cmd
68366
68367 # The archiver.
68368 AR=$lt_AR
68369 AR_FLAGS=$lt_AR_FLAGS
68370
68371 # A symbol stripping program.
68372 STRIP=$lt_STRIP
68373
68374 # Commands used to install an old-style archive.
68375 RANLIB=$lt_RANLIB
68376 old_postinstall_cmds=$lt_old_postinstall_cmds
68377 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68378
68379 # Whether to use a lock for old archive extraction.
68380 lock_old_archive_extraction=$lock_old_archive_extraction
68381
68382 # A C compiler.
68383 LTCC=$lt_CC
68384
68385 # LTCC compiler flags.
68386 LTCFLAGS=$lt_CFLAGS
68387
68388 # Take the output of nm and produce a listing of raw symbols and C names.
68389 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68390
68391 # Transform the output of nm in a proper C declaration.
68392 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68393
68394 # Transform the output of nm in a C name address pair.
68395 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68396
68397 # Transform the output of nm in a C name address pair when lib prefix is needed.
68398 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68399
68400 # The name of the directory that contains temporary libtool files.
68401 objdir=$objdir
68402
68403 # Used to examine libraries when file_magic_cmd begins with "file".
68404 MAGIC_CMD=$MAGIC_CMD
68405
68406 # Must we lock files when doing compilation?
68407 need_locks=$lt_need_locks
68408
68409 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68410 DSYMUTIL=$lt_DSYMUTIL
68411
68412 # Tool to change global to local symbols on Mac OS X.
68413 NMEDIT=$lt_NMEDIT
68414
68415 # Tool to manipulate fat objects and archives on Mac OS X.
68416 LIPO=$lt_LIPO
68417
68418 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68419 OTOOL=$lt_OTOOL
68420
68421 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68422 OTOOL64=$lt_OTOOL64
68423
68424 # Old archive suffix (normally "a").
68425 libext=$libext
68426
68427 # Shared library suffix (normally ".so").
68428 shrext_cmds=$lt_shrext_cmds
68429
68430 # The commands to extract the exported symbol list from a shared archive.
68431 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68432
68433 # Variables whose values should be saved in libtool wrapper scripts and
68434 # restored at link time.
68435 variables_saved_for_relink=$lt_variables_saved_for_relink
68436
68437 # Do we need the "lib" prefix for modules?
68438 need_lib_prefix=$need_lib_prefix
68439
68440 # Do we need a version for libraries?
68441 need_version=$need_version
68442
68443 # Library versioning type.
68444 version_type=$version_type
68445
68446 # Shared library runtime path variable.
68447 runpath_var=$runpath_var
68448
68449 # Shared library path variable.
68450 shlibpath_var=$shlibpath_var
68451
68452 # Is shlibpath searched before the hard-coded library search path?
68453 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68454
68455 # Format of library name prefix.
68456 libname_spec=$lt_libname_spec
68457
68458 # List of archive names. First name is the real one, the rest are links.
68459 # The last name is the one that the linker finds with -lNAME
68460 library_names_spec=$lt_library_names_spec
68461
68462 # The coded name of the library, if different from the real name.
68463 soname_spec=$lt_soname_spec
68464
68465 # Permission mode override for installation of shared libraries.
68466 install_override_mode=$lt_install_override_mode
68467
68468 # Command to use after installation of a shared archive.
68469 postinstall_cmds=$lt_postinstall_cmds
68470
68471 # Command to use after uninstallation of a shared archive.
68472 postuninstall_cmds=$lt_postuninstall_cmds
68473
68474 # Commands used to finish a libtool library installation in a directory.
68475 finish_cmds=$lt_finish_cmds
68476
68477 # As "finish_cmds", except a single script fragment to be evaled but
68478 # not shown.
68479 finish_eval=$lt_finish_eval
68480
68481 # Whether we should hardcode library paths into libraries.
68482 hardcode_into_libs=$hardcode_into_libs
68483
68484 # Compile-time system search path for libraries.
68485 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68486
68487 # Run-time system search path for libraries.
68488 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68489
68490 # Whether dlopen is supported.
68491 dlopen_support=$enable_dlopen
68492
68493 # Whether dlopen of programs is supported.
68494 dlopen_self=$enable_dlopen_self
68495
68496 # Whether dlopen of statically linked programs is supported.
68497 dlopen_self_static=$enable_dlopen_self_static
68498
68499 # Commands to strip libraries.
68500 old_striplib=$lt_old_striplib
68501 striplib=$lt_striplib
68502
68503
68504 # The linker used to build libraries.
68505 LD=$lt_LD
68506
68507 # How to create reloadable object files.
68508 reload_flag=$lt_reload_flag
68509 reload_cmds=$lt_reload_cmds
68510
68511 # Commands used to build an old-style archive.
68512 old_archive_cmds=$lt_old_archive_cmds
68513
68514 # A language specific compiler.
68515 CC=$lt_compiler
68516
68517 # Is the compiler the GNU compiler?
68518 with_gcc=$GCC
68519
68520 # Compiler flag to turn off builtin functions.
68521 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68522
68523 # How to pass a linker flag through the compiler.
68524 wl=$lt_lt_prog_compiler_wl
68525
68526 # Additional compiler flags for building library objects.
68527 pic_flag=$lt_lt_prog_compiler_pic
68528
68529 # Compiler flag to prevent dynamic linking.
68530 link_static_flag=$lt_lt_prog_compiler_static
68531
68532 # Does compiler simultaneously support -c and -o options?
68533 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68534
68535 # Whether or not to add -lc for building shared libraries.
68536 build_libtool_need_lc=$archive_cmds_need_lc
68537
68538 # Whether or not to disallow shared libs when runtime libs are static.
68539 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68540
68541 # Compiler flag to allow reflexive dlopens.
68542 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68543
68544 # Compiler flag to generate shared objects directly from archives.
68545 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68546
68547 # Whether the compiler copes with passing no objects directly.
68548 compiler_needs_object=$lt_compiler_needs_object
68549
68550 # Create an old-style archive from a shared archive.
68551 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68552
68553 # Create a temporary old-style archive to link instead of a shared archive.
68554 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68555
68556 # Commands used to build a shared archive.
68557 archive_cmds=$lt_archive_cmds
68558 archive_expsym_cmds=$lt_archive_expsym_cmds
68559
68560 # Commands used to build a loadable module if different from building
68561 # a shared archive.
68562 module_cmds=$lt_module_cmds
68563 module_expsym_cmds=$lt_module_expsym_cmds
68564
68565 # Whether we are building with GNU ld or not.
68566 with_gnu_ld=$lt_with_gnu_ld
68567
68568 # Flag that allows shared libraries with undefined symbols to be built.
68569 allow_undefined_flag=$lt_allow_undefined_flag
68570
68571 # Flag that enforces no undefined symbols.
68572 no_undefined_flag=$lt_no_undefined_flag
68573
68574 # Flag to hardcode \$libdir into a binary during linking.
68575 # This must work even if \$libdir does not exist
68576 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68577
68578 # If ld is used when linking, flag to hardcode \$libdir into a binary
68579 # during linking. This must work even if \$libdir does not exist.
68580 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68581
68582 # Whether we need a single "-rpath" flag with a separated argument.
68583 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68584
68585 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68586 # DIR into the resulting binary.
68587 hardcode_direct=$hardcode_direct
68588
68589 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68590 # DIR into the resulting binary and the resulting library dependency is
68591 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68592 # library is relocated.
68593 hardcode_direct_absolute=$hardcode_direct_absolute
68594
68595 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68596 # into the resulting binary.
68597 hardcode_minus_L=$hardcode_minus_L
68598
68599 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68600 # into the resulting binary.
68601 hardcode_shlibpath_var=$hardcode_shlibpath_var
68602
68603 # Set to "yes" if building a shared library automatically hardcodes DIR
68604 # into the library and all subsequent libraries and executables linked
68605 # against it.
68606 hardcode_automatic=$hardcode_automatic
68607
68608 # Set to yes if linker adds runtime paths of dependent libraries
68609 # to runtime path list.
68610 inherit_rpath=$inherit_rpath
68611
68612 # Whether libtool must link a program against all its dependency libraries.
68613 link_all_deplibs=$link_all_deplibs
68614
68615 # Fix the shell variable \$srcfile for the compiler.
68616 fix_srcfile_path=$lt_fix_srcfile_path
68617
68618 # Set to "yes" if exported symbols are required.
68619 always_export_symbols=$always_export_symbols
68620
68621 # The commands to list exported symbols.
68622 export_symbols_cmds=$lt_export_symbols_cmds
68623
68624 # Symbols that should not be listed in the preloaded symbols.
68625 exclude_expsyms=$lt_exclude_expsyms
68626
68627 # Symbols that must always be exported.
68628 include_expsyms=$lt_include_expsyms
68629
68630 # Commands necessary for linking programs (against libraries) with templates.
68631 prelink_cmds=$lt_prelink_cmds
68632
68633 # Specify filename containing input files.
68634 file_list_spec=$lt_file_list_spec
68635
68636 # How to hardcode a shared library path into an executable.
68637 hardcode_action=$hardcode_action
68638
68639 # The directories searched by this compiler when creating a shared library.
68640 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68641
68642 # Dependencies to place before and after the objects being linked to
68643 # create a shared library.
68644 predep_objects=$lt_predep_objects
68645 postdep_objects=$lt_postdep_objects
68646 predeps=$lt_predeps
68647 postdeps=$lt_postdeps
68648
68649 # The library search path used internally by the compiler when linking
68650 # a shared library.
68651 compiler_lib_search_path=$lt_compiler_lib_search_path
68652
68653 # ### END LIBTOOL CONFIG
68654
68655 _LT_EOF
68656
68657 case $host_os in
68658 aix3*)
68659 cat <<\_LT_EOF >> "$cfgfile"
68660 # AIX sometimes has problems with the GCC collect2 program. For some
68661 # reason, if we set the COLLECT_NAMES environment variable, the problems
68662 # vanish in a puff of smoke.
68663 if test "X${COLLECT_NAMES+set}" != Xset; then
68664 COLLECT_NAMES=
68665 export COLLECT_NAMES
68666 fi
68667 _LT_EOF
68668 ;;
68669 esac
68670
68671
68672 ltmain="$ac_aux_dir/ltmain.sh"
68673
68674
68675 # We use sed instead of cat because bash on DJGPP gets confused if
68676 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68677 # text mode, it properly converts lines to CR/LF. This bash problem
68678 # is reportedly fixed, but why not run on old versions too?
68679 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68680 || (rm -f "$cfgfile"; exit 1)
68681
68682 case $xsi_shell in
68683 yes)
68684 cat << \_LT_EOF >> "$cfgfile"
68685
68686 # func_dirname file append nondir_replacement
68687 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68688 # otherwise set result to NONDIR_REPLACEMENT.
68689 func_dirname ()
68690 {
68691 case ${1} in
68692 */*) func_dirname_result="${1%/*}${2}" ;;
68693 * ) func_dirname_result="${3}" ;;
68694 esac
68695 }
68696
68697 # func_basename file
68698 func_basename ()
68699 {
68700 func_basename_result="${1##*/}"
68701 }
68702
68703 # func_dirname_and_basename file append nondir_replacement
68704 # perform func_basename and func_dirname in a single function
68705 # call:
68706 # dirname: Compute the dirname of FILE. If nonempty,
68707 # add APPEND to the result, otherwise set result
68708 # to NONDIR_REPLACEMENT.
68709 # value returned in "$func_dirname_result"
68710 # basename: Compute filename of FILE.
68711 # value retuned in "$func_basename_result"
68712 # Implementation must be kept synchronized with func_dirname
68713 # and func_basename. For efficiency, we do not delegate to
68714 # those functions but instead duplicate the functionality here.
68715 func_dirname_and_basename ()
68716 {
68717 case ${1} in
68718 */*) func_dirname_result="${1%/*}${2}" ;;
68719 * ) func_dirname_result="${3}" ;;
68720 esac
68721 func_basename_result="${1##*/}"
68722 }
68723
68724 # func_stripname prefix suffix name
68725 # strip PREFIX and SUFFIX off of NAME.
68726 # PREFIX and SUFFIX must not contain globbing or regex special
68727 # characters, hashes, percent signs, but SUFFIX may contain a leading
68728 # dot (in which case that matches only a dot).
68729 func_stripname ()
68730 {
68731 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68732 # positional parameters, so assign one to ordinary parameter first.
68733 func_stripname_result=${3}
68734 func_stripname_result=${func_stripname_result#"${1}"}
68735 func_stripname_result=${func_stripname_result%"${2}"}
68736 }
68737
68738 # func_opt_split
68739 func_opt_split ()
68740 {
68741 func_opt_split_opt=${1%%=*}
68742 func_opt_split_arg=${1#*=}
68743 }
68744
68745 # func_lo2o object
68746 func_lo2o ()
68747 {
68748 case ${1} in
68749 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68750 *) func_lo2o_result=${1} ;;
68751 esac
68752 }
68753
68754 # func_xform libobj-or-source
68755 func_xform ()
68756 {
68757 func_xform_result=${1%.*}.lo
68758 }
68759
68760 # func_arith arithmetic-term...
68761 func_arith ()
68762 {
68763 func_arith_result=$(( $* ))
68764 }
68765
68766 # func_len string
68767 # STRING may not start with a hyphen.
68768 func_len ()
68769 {
68770 func_len_result=${#1}
68771 }
68772
68773 _LT_EOF
68774 ;;
68775 *) # Bourne compatible functions.
68776 cat << \_LT_EOF >> "$cfgfile"
68777
68778 # func_dirname file append nondir_replacement
68779 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68780 # otherwise set result to NONDIR_REPLACEMENT.
68781 func_dirname ()
68782 {
68783 # Extract subdirectory from the argument.
68784 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68785 if test "X$func_dirname_result" = "X${1}"; then
68786 func_dirname_result="${3}"
68787 else
68788 func_dirname_result="$func_dirname_result${2}"
68789 fi
68790 }
68791
68792 # func_basename file
68793 func_basename ()
68794 {
68795 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68796 }
68797
68798
68799 # func_stripname prefix suffix name
68800 # strip PREFIX and SUFFIX off of NAME.
68801 # PREFIX and SUFFIX must not contain globbing or regex special
68802 # characters, hashes, percent signs, but SUFFIX may contain a leading
68803 # dot (in which case that matches only a dot).
68804 # func_strip_suffix prefix name
68805 func_stripname ()
68806 {
68807 case ${2} in
68808 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68809 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68810 esac
68811 }
68812
68813 # sed scripts:
68814 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68815 my_sed_long_arg='1s/^-[^=]*=//'
68816
68817 # func_opt_split
68818 func_opt_split ()
68819 {
68820 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68821 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68822 }
68823
68824 # func_lo2o object
68825 func_lo2o ()
68826 {
68827 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68828 }
68829
68830 # func_xform libobj-or-source
68831 func_xform ()
68832 {
68833 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68834 }
68835
68836 # func_arith arithmetic-term...
68837 func_arith ()
68838 {
68839 func_arith_result=`expr "$@"`
68840 }
68841
68842 # func_len string
68843 # STRING may not start with a hyphen.
68844 func_len ()
68845 {
68846 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68847 }
68848
68849 _LT_EOF
68850 esac
68851
68852 case $lt_shell_append in
68853 yes)
68854 cat << \_LT_EOF >> "$cfgfile"
68855
68856 # func_append var value
68857 # Append VALUE to the end of shell variable VAR.
68858 func_append ()
68859 {
68860 eval "$1+=\$2"
68861 }
68862 _LT_EOF
68863 ;;
68864 *)
68865 cat << \_LT_EOF >> "$cfgfile"
68866
68867 # func_append var value
68868 # Append VALUE to the end of shell variable VAR.
68869 func_append ()
68870 {
68871 eval "$1=\$$1\$2"
68872 }
68873
68874 _LT_EOF
68875 ;;
68876 esac
68877
68878
68879 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68880 || (rm -f "$cfgfile"; exit 1)
68881
68882 mv -f "$cfgfile" "$ofile" ||
68883 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68884 chmod +x "$ofile"
68885
68886
68887 cat <<_LT_EOF >> "$ofile"
68888
68889 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68890
68891 # The linker used to build libraries.
68892 LD=$lt_LD_CXX
68893
68894 # How to create reloadable object files.
68895 reload_flag=$lt_reload_flag_CXX
68896 reload_cmds=$lt_reload_cmds_CXX
68897
68898 # Commands used to build an old-style archive.
68899 old_archive_cmds=$lt_old_archive_cmds_CXX
68900
68901 # A language specific compiler.
68902 CC=$lt_compiler_CXX
68903
68904 # Is the compiler the GNU compiler?
68905 with_gcc=$GCC_CXX
68906
68907 # Compiler flag to turn off builtin functions.
68908 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68909
68910 # How to pass a linker flag through the compiler.
68911 wl=$lt_lt_prog_compiler_wl_CXX
68912
68913 # Additional compiler flags for building library objects.
68914 pic_flag=$lt_lt_prog_compiler_pic_CXX
68915
68916 # Compiler flag to prevent dynamic linking.
68917 link_static_flag=$lt_lt_prog_compiler_static_CXX
68918
68919 # Does compiler simultaneously support -c and -o options?
68920 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68921
68922 # Whether or not to add -lc for building shared libraries.
68923 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68924
68925 # Whether or not to disallow shared libs when runtime libs are static.
68926 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68927
68928 # Compiler flag to allow reflexive dlopens.
68929 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68930
68931 # Compiler flag to generate shared objects directly from archives.
68932 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68933
68934 # Whether the compiler copes with passing no objects directly.
68935 compiler_needs_object=$lt_compiler_needs_object_CXX
68936
68937 # Create an old-style archive from a shared archive.
68938 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68939
68940 # Create a temporary old-style archive to link instead of a shared archive.
68941 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68942
68943 # Commands used to build a shared archive.
68944 archive_cmds=$lt_archive_cmds_CXX
68945 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68946
68947 # Commands used to build a loadable module if different from building
68948 # a shared archive.
68949 module_cmds=$lt_module_cmds_CXX
68950 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68951
68952 # Whether we are building with GNU ld or not.
68953 with_gnu_ld=$lt_with_gnu_ld_CXX
68954
68955 # Flag that allows shared libraries with undefined symbols to be built.
68956 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68957
68958 # Flag that enforces no undefined symbols.
68959 no_undefined_flag=$lt_no_undefined_flag_CXX
68960
68961 # Flag to hardcode \$libdir into a binary during linking.
68962 # This must work even if \$libdir does not exist
68963 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68964
68965 # If ld is used when linking, flag to hardcode \$libdir into a binary
68966 # during linking. This must work even if \$libdir does not exist.
68967 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68968
68969 # Whether we need a single "-rpath" flag with a separated argument.
68970 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68971
68972 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68973 # DIR into the resulting binary.
68974 hardcode_direct=$hardcode_direct_CXX
68975
68976 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68977 # DIR into the resulting binary and the resulting library dependency is
68978 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68979 # library is relocated.
68980 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68981
68982 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68983 # into the resulting binary.
68984 hardcode_minus_L=$hardcode_minus_L_CXX
68985
68986 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68987 # into the resulting binary.
68988 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68989
68990 # Set to "yes" if building a shared library automatically hardcodes DIR
68991 # into the library and all subsequent libraries and executables linked
68992 # against it.
68993 hardcode_automatic=$hardcode_automatic_CXX
68994
68995 # Set to yes if linker adds runtime paths of dependent libraries
68996 # to runtime path list.
68997 inherit_rpath=$inherit_rpath_CXX
68998
68999 # Whether libtool must link a program against all its dependency libraries.
69000 link_all_deplibs=$link_all_deplibs_CXX
69001
69002 # Fix the shell variable \$srcfile for the compiler.
69003 fix_srcfile_path=$lt_fix_srcfile_path_CXX
69004
69005 # Set to "yes" if exported symbols are required.
69006 always_export_symbols=$always_export_symbols_CXX
69007
69008 # The commands to list exported symbols.
69009 export_symbols_cmds=$lt_export_symbols_cmds_CXX
69010
69011 # Symbols that should not be listed in the preloaded symbols.
69012 exclude_expsyms=$lt_exclude_expsyms_CXX
69013
69014 # Symbols that must always be exported.
69015 include_expsyms=$lt_include_expsyms_CXX
69016
69017 # Commands necessary for linking programs (against libraries) with templates.
69018 prelink_cmds=$lt_prelink_cmds_CXX
69019
69020 # Specify filename containing input files.
69021 file_list_spec=$lt_file_list_spec_CXX
69022
69023 # How to hardcode a shared library path into an executable.
69024 hardcode_action=$hardcode_action_CXX
69025
69026 # The directories searched by this compiler when creating a shared library.
69027 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
69028
69029 # Dependencies to place before and after the objects being linked to
69030 # create a shared library.
69031 predep_objects=$lt_predep_objects_CXX
69032 postdep_objects=$lt_postdep_objects_CXX
69033 predeps=$lt_predeps_CXX
69034 postdeps=$lt_postdeps_CXX
69035
69036 # The library search path used internally by the compiler when linking
69037 # a shared library.
69038 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
69039
69040 # ### END LIBTOOL TAG CONFIG: CXX
69041 _LT_EOF
69042
69043 ;;
69044 "include/gstdint.h":C)
69045 if test "$GCC" = yes; then
69046 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69047 else
69048 echo "/* generated for $CC */" > tmp-stdint.h
69049 fi
69050
69051 sed 's/^ *//' >> tmp-stdint.h <<EOF
69052
69053 #ifndef GCC_GENERATED_STDINT_H
69054 #define GCC_GENERATED_STDINT_H 1
69055
69056 #include <sys/types.h>
69057 EOF
69058
69059 if test "$acx_cv_header_stdint" != stdint.h; then
69060 echo "#include <stddef.h>" >> tmp-stdint.h
69061 fi
69062 if test "$acx_cv_header_stdint" != stddef.h; then
69063 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69064 fi
69065
69066 sed 's/^ *//' >> tmp-stdint.h <<EOF
69067 /* glibc uses these symbols as guards to prevent redefinitions. */
69068 #ifdef __int8_t_defined
69069 #define _INT8_T
69070 #define _INT16_T
69071 #define _INT32_T
69072 #endif
69073 #ifdef __uint32_t_defined
69074 #define _UINT32_T
69075 #endif
69076
69077 EOF
69078
69079 # ----------------- done header, emit basic int types -------------
69080 if test "$acx_cv_header_stdint" = stddef.h; then
69081 sed 's/^ *//' >> tmp-stdint.h <<EOF
69082
69083 #ifndef _UINT8_T
69084 #define _UINT8_T
69085 #ifndef __uint8_t_defined
69086 #define __uint8_t_defined
69087 #ifndef uint8_t
69088 typedef unsigned $acx_cv_type_int8_t uint8_t;
69089 #endif
69090 #endif
69091 #endif
69092
69093 #ifndef _UINT16_T
69094 #define _UINT16_T
69095 #ifndef __uint16_t_defined
69096 #define __uint16_t_defined
69097 #ifndef uint16_t
69098 typedef unsigned $acx_cv_type_int16_t uint16_t;
69099 #endif
69100 #endif
69101 #endif
69102
69103 #ifndef _UINT32_T
69104 #define _UINT32_T
69105 #ifndef __uint32_t_defined
69106 #define __uint32_t_defined
69107 #ifndef uint32_t
69108 typedef unsigned $acx_cv_type_int32_t uint32_t;
69109 #endif
69110 #endif
69111 #endif
69112
69113 #ifndef _INT8_T
69114 #define _INT8_T
69115 #ifndef __int8_t_defined
69116 #define __int8_t_defined
69117 #ifndef int8_t
69118 typedef $acx_cv_type_int8_t int8_t;
69119 #endif
69120 #endif
69121 #endif
69122
69123 #ifndef _INT16_T
69124 #define _INT16_T
69125 #ifndef __int16_t_defined
69126 #define __int16_t_defined
69127 #ifndef int16_t
69128 typedef $acx_cv_type_int16_t int16_t;
69129 #endif
69130 #endif
69131 #endif
69132
69133 #ifndef _INT32_T
69134 #define _INT32_T
69135 #ifndef __int32_t_defined
69136 #define __int32_t_defined
69137 #ifndef int32_t
69138 typedef $acx_cv_type_int32_t int32_t;
69139 #endif
69140 #endif
69141 #endif
69142 EOF
69143 elif test "$ac_cv_type_u_int32_t" = yes; then
69144 sed 's/^ *//' >> tmp-stdint.h <<EOF
69145
69146 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69147 #ifndef _INT8_T
69148 #define _INT8_T
69149 #endif
69150 #ifndef _INT16_T
69151 #define _INT16_T
69152 #endif
69153 #ifndef _INT32_T
69154 #define _INT32_T
69155 #endif
69156
69157 #ifndef _UINT8_T
69158 #define _UINT8_T
69159 #ifndef __uint8_t_defined
69160 #define __uint8_t_defined
69161 #ifndef uint8_t
69162 typedef u_int8_t uint8_t;
69163 #endif
69164 #endif
69165 #endif
69166
69167 #ifndef _UINT16_T
69168 #define _UINT16_T
69169 #ifndef __uint16_t_defined
69170 #define __uint16_t_defined
69171 #ifndef uint16_t
69172 typedef u_int16_t uint16_t;
69173 #endif
69174 #endif
69175 #endif
69176
69177 #ifndef _UINT32_T
69178 #define _UINT32_T
69179 #ifndef __uint32_t_defined
69180 #define __uint32_t_defined
69181 #ifndef uint32_t
69182 typedef u_int32_t uint32_t;
69183 #endif
69184 #endif
69185 #endif
69186 EOF
69187 else
69188 sed 's/^ *//' >> tmp-stdint.h <<EOF
69189
69190 /* Some systems have guard macros to prevent redefinitions, define them. */
69191 #ifndef _INT8_T
69192 #define _INT8_T
69193 #endif
69194 #ifndef _INT16_T
69195 #define _INT16_T
69196 #endif
69197 #ifndef _INT32_T
69198 #define _INT32_T
69199 #endif
69200 #ifndef _UINT8_T
69201 #define _UINT8_T
69202 #endif
69203 #ifndef _UINT16_T
69204 #define _UINT16_T
69205 #endif
69206 #ifndef _UINT32_T
69207 #define _UINT32_T
69208 #endif
69209 EOF
69210 fi
69211
69212 # ------------- done basic int types, emit int64_t types ------------
69213 if test "$ac_cv_type_uint64_t" = yes; then
69214 sed 's/^ *//' >> tmp-stdint.h <<EOF
69215
69216 /* system headers have good uint64_t and int64_t */
69217 #ifndef _INT64_T
69218 #define _INT64_T
69219 #endif
69220 #ifndef _UINT64_T
69221 #define _UINT64_T
69222 #endif
69223 EOF
69224 elif test "$ac_cv_type_u_int64_t" = yes; then
69225 sed 's/^ *//' >> tmp-stdint.h <<EOF
69226
69227 /* system headers have an u_int64_t (and int64_t) */
69228 #ifndef _INT64_T
69229 #define _INT64_T
69230 #endif
69231 #ifndef _UINT64_T
69232 #define _UINT64_T
69233 #ifndef __uint64_t_defined
69234 #define __uint64_t_defined
69235 #ifndef uint64_t
69236 typedef u_int64_t uint64_t;
69237 #endif
69238 #endif
69239 #endif
69240 EOF
69241 elif test -n "$acx_cv_type_int64_t"; then
69242 sed 's/^ *//' >> tmp-stdint.h <<EOF
69243
69244 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69245 #ifndef _INT64_T
69246 #define _INT64_T
69247 #ifndef int64_t
69248 typedef $acx_cv_type_int64_t int64_t;
69249 #endif
69250 #endif
69251 #ifndef _UINT64_T
69252 #define _UINT64_T
69253 #ifndef __uint64_t_defined
69254 #define __uint64_t_defined
69255 #ifndef uint64_t
69256 typedef unsigned $acx_cv_type_int64_t uint64_t;
69257 #endif
69258 #endif
69259 #endif
69260 EOF
69261 else
69262 sed 's/^ *//' >> tmp-stdint.h <<EOF
69263
69264 /* some common heuristics for int64_t, using compiler-specific tests */
69265 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69266 #ifndef _INT64_T
69267 #define _INT64_T
69268 #ifndef __int64_t_defined
69269 #ifndef int64_t
69270 typedef long long int64_t;
69271 #endif
69272 #endif
69273 #endif
69274 #ifndef _UINT64_T
69275 #define _UINT64_T
69276 #ifndef uint64_t
69277 typedef unsigned long long uint64_t;
69278 #endif
69279 #endif
69280
69281 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69282 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69283 does not implement __extension__. But that compiler doesn't define
69284 __GNUC_MINOR__. */
69285 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69286 # define __extension__
69287 # endif
69288
69289 # ifndef _INT64_T
69290 # define _INT64_T
69291 # ifndef int64_t
69292 __extension__ typedef long long int64_t;
69293 # endif
69294 # endif
69295 # ifndef _UINT64_T
69296 # define _UINT64_T
69297 # ifndef uint64_t
69298 __extension__ typedef unsigned long long uint64_t;
69299 # endif
69300 # endif
69301
69302 #elif !defined __STRICT_ANSI__
69303 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69304
69305 # ifndef _INT64_T
69306 # define _INT64_T
69307 # ifndef int64_t
69308 typedef __int64 int64_t;
69309 # endif
69310 # endif
69311 # ifndef _UINT64_T
69312 # define _UINT64_T
69313 # ifndef uint64_t
69314 typedef unsigned __int64 uint64_t;
69315 # endif
69316 # endif
69317 # endif /* compiler */
69318
69319 #endif /* ANSI version */
69320 EOF
69321 fi
69322
69323 # ------------- done int64_t types, emit intptr types ------------
69324 if test "$ac_cv_type_uintptr_t" != yes; then
69325 sed 's/^ *//' >> tmp-stdint.h <<EOF
69326
69327 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69328 #ifndef __uintptr_t_defined
69329 #ifndef uintptr_t
69330 typedef u$acx_cv_type_intptr_t uintptr_t;
69331 #endif
69332 #endif
69333 #ifndef __intptr_t_defined
69334 #ifndef intptr_t
69335 typedef $acx_cv_type_intptr_t intptr_t;
69336 #endif
69337 #endif
69338 EOF
69339 fi
69340
69341 # ------------- done intptr types, emit int_least types ------------
69342 if test "$ac_cv_type_int_least32_t" != yes; then
69343 sed 's/^ *//' >> tmp-stdint.h <<EOF
69344
69345 /* Define int_least types */
69346 typedef int8_t int_least8_t;
69347 typedef int16_t int_least16_t;
69348 typedef int32_t int_least32_t;
69349 #ifdef _INT64_T
69350 typedef int64_t int_least64_t;
69351 #endif
69352
69353 typedef uint8_t uint_least8_t;
69354 typedef uint16_t uint_least16_t;
69355 typedef uint32_t uint_least32_t;
69356 #ifdef _UINT64_T
69357 typedef uint64_t uint_least64_t;
69358 #endif
69359 EOF
69360 fi
69361
69362 # ------------- done intptr types, emit int_fast types ------------
69363 if test "$ac_cv_type_int_fast32_t" != yes; then
69364 sed 's/^ *//' >> tmp-stdint.h <<EOF
69365
69366 /* Define int_fast types. short is often slow */
69367 typedef int8_t int_fast8_t;
69368 typedef int int_fast16_t;
69369 typedef int32_t int_fast32_t;
69370 #ifdef _INT64_T
69371 typedef int64_t int_fast64_t;
69372 #endif
69373
69374 typedef uint8_t uint_fast8_t;
69375 typedef unsigned int uint_fast16_t;
69376 typedef uint32_t uint_fast32_t;
69377 #ifdef _UINT64_T
69378 typedef uint64_t uint_fast64_t;
69379 #endif
69380 EOF
69381 fi
69382
69383 if test "$ac_cv_type_uintmax_t" != yes; then
69384 sed 's/^ *//' >> tmp-stdint.h <<EOF
69385
69386 /* Define intmax based on what we found */
69387 #ifndef intmax_t
69388 #ifdef _INT64_T
69389 typedef int64_t intmax_t;
69390 #else
69391 typedef long intmax_t;
69392 #endif
69393 #endif
69394 #ifndef uintmax_t
69395 #ifdef _UINT64_T
69396 typedef uint64_t uintmax_t;
69397 #else
69398 typedef unsigned long uintmax_t;
69399 #endif
69400 #endif
69401 EOF
69402 fi
69403
69404 sed 's/^ *//' >> tmp-stdint.h <<EOF
69405
69406 #endif /* GCC_GENERATED_STDINT_H */
69407 EOF
69408
69409 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69410 rm -f tmp-stdint.h
69411 else
69412 mv -f tmp-stdint.h include/gstdint.h
69413 fi
69414
69415 ;;
69416 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69417 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69418 "include/Makefile":F) cat > vpsed$$ << \_EOF
69419 s!`test -f '$<' || echo '$(srcdir)/'`!!
69420 _EOF
69421 sed -f vpsed$$ $ac_file > tmp$$
69422 mv tmp$$ $ac_file
69423 rm vpsed$$
69424 echo 'MULTISUBDIR =' >> $ac_file
69425 ml_norecursion=yes
69426 . ${multi_basedir}/config-ml.in
69427 { ml_norecursion=; unset ml_norecursion;}
69428 ;;
69429 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69430 s!`test -f '$<' || echo '$(srcdir)/'`!!
69431 _EOF
69432 sed -f vpsed$$ $ac_file > tmp$$
69433 mv tmp$$ $ac_file
69434 rm vpsed$$
69435 echo 'MULTISUBDIR =' >> $ac_file
69436 ml_norecursion=yes
69437 . ${multi_basedir}/config-ml.in
69438 { ml_norecursion=; unset ml_norecursion;}
69439 ;;
69440 "python/Makefile":F) cat > vpsed$$ << \_EOF
69441 s!`test -f '$<' || echo '$(srcdir)/'`!!
69442 _EOF
69443 sed -f vpsed$$ $ac_file > tmp$$
69444 mv tmp$$ $ac_file
69445 rm vpsed$$
69446 echo 'MULTISUBDIR =' >> $ac_file
69447 ml_norecursion=yes
69448 . ${multi_basedir}/config-ml.in
69449 { ml_norecursion=; unset ml_norecursion;}
69450 ;;
69451 "src/Makefile":F) cat > vpsed$$ << \_EOF
69452 s!`test -f '$<' || echo '$(srcdir)/'`!!
69453 _EOF
69454 sed -f vpsed$$ $ac_file > tmp$$
69455 mv tmp$$ $ac_file
69456 rm vpsed$$
69457 echo 'MULTISUBDIR =' >> $ac_file
69458 ml_norecursion=yes
69459 . ${multi_basedir}/config-ml.in
69460 { ml_norecursion=; unset ml_norecursion;}
69461 ;;
69462 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69463 s!`test -f '$<' || echo '$(srcdir)/'`!!
69464 _EOF
69465 sed -f vpsed$$ $ac_file > tmp$$
69466 mv tmp$$ $ac_file
69467 rm vpsed$$
69468 echo 'MULTISUBDIR =' >> $ac_file
69469 ml_norecursion=yes
69470 . ${multi_basedir}/config-ml.in
69471 { ml_norecursion=; unset ml_norecursion;}
69472 ;;
69473 "po/Makefile":F) cat > vpsed$$ << \_EOF
69474 s!`test -f '$<' || echo '$(srcdir)/'`!!
69475 _EOF
69476 sed -f vpsed$$ $ac_file > tmp$$
69477 mv tmp$$ $ac_file
69478 rm vpsed$$
69479 echo 'MULTISUBDIR =' >> $ac_file
69480 ml_norecursion=yes
69481 . ${multi_basedir}/config-ml.in
69482 { ml_norecursion=; unset ml_norecursion;}
69483 ;;
69484 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69485 s!`test -f '$<' || echo '$(srcdir)/'`!!
69486 _EOF
69487 sed -f vpsed$$ $ac_file > tmp$$
69488 mv tmp$$ $ac_file
69489 rm vpsed$$
69490 echo 'MULTISUBDIR =' >> $ac_file
69491 ml_norecursion=yes
69492 . ${multi_basedir}/config-ml.in
69493 { ml_norecursion=; unset ml_norecursion;}
69494 ;;
69495 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69496
69497 esac
69498 done # for ac_tag
69499
69500
69501 as_fn_exit 0
69502 _ACEOF
69503 ac_clean_files=$ac_clean_files_save
69504
69505 test $ac_write_fail = 0 ||
69506 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69507
69508
69509 # configure is writing to config.log, and then calls config.status.
69510 # config.status does its own redirection, appending to config.log.
69511 # Unfortunately, on DOS this fails, as config.log is still kept open
69512 # by configure, so config.status won't be able to write to it; its
69513 # output is simply discarded. So we exec the FD to /dev/null,
69514 # effectively closing config.log, so it can be properly (re)opened and
69515 # appended to by config.status. When coming back to configure, we
69516 # need to make the FD available again.
69517 if test "$no_create" != yes; then
69518 ac_cs_success=:
69519 ac_config_status_args=
69520 test "$silent" = yes &&
69521 ac_config_status_args="$ac_config_status_args --quiet"
69522 exec 5>/dev/null
69523 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69524 exec 5>>config.log
69525 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69526 # would make configure fail if this is the last instruction.
69527 $ac_cs_success || as_fn_exit $?
69528 fi
69529 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69531 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69532 fi
69533