In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
[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 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_SOL2_FALSE
627 ENABLE_SYMVERS_SOL2_TRUE
628 ENABLE_SYMVERS_SUN_FALSE
629 ENABLE_SYMVERS_SUN_TRUE
630 ENABLE_SYMVERS_DARWIN_FALSE
631 ENABLE_SYMVERS_DARWIN_TRUE
632 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
633 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
634 ENABLE_SYMVERS_GNU_FALSE
635 ENABLE_SYMVERS_GNU_TRUE
636 ENABLE_SYMVERS_FALSE
637 ENABLE_SYMVERS_TRUE
638 port_specific_symbol_files
639 SYMVER_FILE
640 CXXFILT
641 LTLIBICONV
642 LIBICONV
643 OPT_LDFLAGS
644 SECTION_LDFLAGS
645 GLIBCXX_LIBS
646 EXTRA_CXX_FLAGS
647 ENABLE_PARALLEL_FALSE
648 ENABLE_PARALLEL_TRUE
649 GLIBCXX_BUILD_DEBUG_FALSE
650 GLIBCXX_BUILD_DEBUG_TRUE
651 DEBUG_FLAGS
652 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
653 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
654 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
655 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
656 GLIBCXX_C_HEADERS_C_STD_FALSE
657 GLIBCXX_C_HEADERS_C_STD_TRUE
658 GLIBCXX_C_HEADERS_C_FALSE
659 GLIBCXX_C_HEADERS_C_TRUE
660 C_INCLUDE_DIR
661 ALLOCATOR_NAME
662 ALLOCATOR_H
663 CLOCALE_INTERNAL_H
664 CLOCALE_CC
665 CTIME_CC
666 CTIME_H
667 CNUMERIC_CC
668 CMONEY_CC
669 CMESSAGES_CC
670 CCTYPE_CC
671 CCOLLATE_CC
672 CCODECVT_CC
673 CMESSAGES_H
674 CLOCALE_H
675 USE_NLS
676 glibcxx_localedir
677 glibcxx_POFILES
678 glibcxx_MOFILES
679 check_msgfmt
680 BASIC_FILE_CC
681 BASIC_FILE_H
682 CSTDIO_H
683 SECTION_FLAGS
684 WERROR
685 glibcxx_thread_h
686 glibcxx_PCHFLAGS
687 GLIBCXX_BUILD_PCH_FALSE
688 GLIBCXX_BUILD_PCH_TRUE
689 GLIBCXX_HOSTED_FALSE
690 GLIBCXX_HOSTED_TRUE
691 enable_static
692 enable_shared
693 lt_host_flags
694 CXXCPP
695 OTOOL64
696 OTOOL
697 LIPO
698 NMEDIT
699 DSYMUTIL
700 OBJDUMP
701 NM
702 ac_ct_DUMPBIN
703 DUMPBIN
704 LD
705 FGREP
706 SED
707 LIBTOOL
708 EGREP
709 GREP
710 CPP
711 MAINT
712 MAINTAINER_MODE_FALSE
713 MAINTAINER_MODE_TRUE
714 RANLIB
715 AR
716 AS
717 LN_S
718 toplevel_srcdir
719 glibcxx_srcdir
720 glibcxx_builddir
721 ac_ct_CXX
722 CXXFLAGS
723 CXX
724 OBJEXT
725 EXEEXT
726 ac_ct_CC
727 CPPFLAGS
728 LDFLAGS
729 CFLAGS
730 CC
731 am__untar
732 am__tar
733 AMTAR
734 am__leading_dot
735 SET_MAKE
736 AWK
737 mkdir_p
738 MKDIR_P
739 INSTALL_STRIP_PROGRAM
740 STRIP
741 install_sh
742 MAKEINFO
743 AUTOHEADER
744 AUTOMAKE
745 AUTOCONF
746 ACLOCAL
747 VERSION
748 PACKAGE
749 CYGPATH_W
750 am__isrc
751 INSTALL_DATA
752 INSTALL_SCRIPT
753 INSTALL_PROGRAM
754 target_os
755 target_vendor
756 target_cpu
757 target
758 host_os
759 host_vendor
760 host_cpu
761 host
762 build_os
763 build_vendor
764 build_cpu
765 build
766 multi_basedir
767 libtool_VERSION
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 enable_multilib
810 with_target_subdir
811 with_cross_host
812 with_newlib
813 enable_maintainer_mode
814 enable_shared
815 enable_static
816 with_pic
817 enable_fast_install
818 with_gnu_ld
819 enable_libtool_lock
820 enable_hosted_libstdcxx
821 enable_sjlj_exceptions
822 enable_libstdcxx_pch
823 enable_cstdio
824 enable_clocale
825 enable_nls
826 enable_libstdcxx_allocator
827 enable_cheaders
828 enable_long_long
829 enable_wchar_t
830 enable_c99
831 enable_concept_checks
832 enable_libstdcxx_debug_flags
833 enable_libstdcxx_debug
834 enable_cxx_flags
835 enable_fully_dynamic_string
836 enable_libstdcxx_time
837 enable_tls
838 enable_rpath
839 with_libiconv_prefix
840 with_system_libunwind
841 enable_linux_futex
842 enable_symvers
843 enable_visibility
844 with_gxx_include_dir
845 enable_version_specific_runtime_libs
846 '
847 ac_precious_vars='build_alias
848 host_alias
849 target_alias
850 CC
851 CFLAGS
852 LDFLAGS
853 LIBS
854 CPPFLAGS
855 CXX
856 CXXFLAGS
857 CCC
858 CPP
859 CXXCPP
860 CXXFILT'
861
862
863 # Initialize some variables set by options.
864 ac_init_help=
865 ac_init_version=false
866 ac_unrecognized_opts=
867 ac_unrecognized_sep=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
870 cache_file=/dev/null
871 exec_prefix=NONE
872 no_create=
873 no_recursion=
874 prefix=NONE
875 program_prefix=NONE
876 program_suffix=NONE
877 program_transform_name=s,x,x,
878 silent=
879 site=
880 srcdir=
881 verbose=
882 x_includes=NONE
883 x_libraries=NONE
884
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir='${exec_prefix}/bin'
892 sbindir='${exec_prefix}/sbin'
893 libexecdir='${exec_prefix}/libexec'
894 datarootdir='${prefix}/share'
895 datadir='${datarootdir}'
896 sysconfdir='${prefix}/etc'
897 sharedstatedir='${prefix}/com'
898 localstatedir='${prefix}/var'
899 includedir='${prefix}/include'
900 oldincludedir='/usr/include'
901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir='${datarootdir}/info'
903 htmldir='${docdir}'
904 dvidir='${docdir}'
905 pdfdir='${docdir}'
906 psdir='${docdir}'
907 libdir='${exec_prefix}/lib'
908 localedir='${datarootdir}/locale'
909 mandir='${datarootdir}/man'
910
911 ac_prev=
912 ac_dashdash=
913 for ac_option
914 do
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\$ac_option
918 ac_prev=
919 continue
920 fi
921
922 case $ac_option in
923 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 *) ac_optarg=yes ;;
925 esac
926
927 # Accept the important Cygnus configure options, so we can diagnose typos.
928
929 case $ac_dashdash$ac_option in
930 --)
931 ac_dashdash=yes ;;
932
933 -bindir | --bindir | --bindi | --bind | --bin | --bi)
934 ac_prev=bindir ;;
935 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
936 bindir=$ac_optarg ;;
937
938 -build | --build | --buil | --bui | --bu)
939 ac_prev=build_alias ;;
940 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
941 build_alias=$ac_optarg ;;
942
943 -cache-file | --cache-file | --cache-fil | --cache-fi \
944 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
945 ac_prev=cache_file ;;
946 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
947 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
948 cache_file=$ac_optarg ;;
949
950 --config-cache | -C)
951 cache_file=config.cache ;;
952
953 -datadir | --datadir | --datadi | --datad)
954 ac_prev=datadir ;;
955 -datadir=* | --datadir=* | --datadi=* | --datad=*)
956 datadir=$ac_optarg ;;
957
958 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
959 | --dataroo | --dataro | --datar)
960 ac_prev=datarootdir ;;
961 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
962 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
963 datarootdir=$ac_optarg ;;
964
965 -disable-* | --disable-*)
966 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969 as_fn_error "invalid feature name: $ac_useropt"
970 ac_useropt_orig=$ac_useropt
971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
973 *"
974 "enable_$ac_useropt"
975 "*) ;;
976 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
977 ac_unrecognized_sep=', ';;
978 esac
979 eval enable_$ac_useropt=no ;;
980
981 -docdir | --docdir | --docdi | --doc | --do)
982 ac_prev=docdir ;;
983 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
984 docdir=$ac_optarg ;;
985
986 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
987 ac_prev=dvidir ;;
988 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
989 dvidir=$ac_optarg ;;
990
991 -enable-* | --enable-*)
992 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
993 # Reject names that are not valid shell variable names.
994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995 as_fn_error "invalid feature name: $ac_useropt"
996 ac_useropt_orig=$ac_useropt
997 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998 case $ac_user_opts in
999 *"
1000 "enable_$ac_useropt"
1001 "*) ;;
1002 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1003 ac_unrecognized_sep=', ';;
1004 esac
1005 eval enable_$ac_useropt=\$ac_optarg ;;
1006
1007 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1008 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1009 | --exec | --exe | --ex)
1010 ac_prev=exec_prefix ;;
1011 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1012 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1013 | --exec=* | --exe=* | --ex=*)
1014 exec_prefix=$ac_optarg ;;
1015
1016 -gas | --gas | --ga | --g)
1017 # Obsolete; use --with-gas.
1018 with_gas=yes ;;
1019
1020 -help | --help | --hel | --he | -h)
1021 ac_init_help=long ;;
1022 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1023 ac_init_help=recursive ;;
1024 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1025 ac_init_help=short ;;
1026
1027 -host | --host | --hos | --ho)
1028 ac_prev=host_alias ;;
1029 -host=* | --host=* | --hos=* | --ho=*)
1030 host_alias=$ac_optarg ;;
1031
1032 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1033 ac_prev=htmldir ;;
1034 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1035 | --ht=*)
1036 htmldir=$ac_optarg ;;
1037
1038 -includedir | --includedir | --includedi | --included | --include \
1039 | --includ | --inclu | --incl | --inc)
1040 ac_prev=includedir ;;
1041 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1042 | --includ=* | --inclu=* | --incl=* | --inc=*)
1043 includedir=$ac_optarg ;;
1044
1045 -infodir | --infodir | --infodi | --infod | --info | --inf)
1046 ac_prev=infodir ;;
1047 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1048 infodir=$ac_optarg ;;
1049
1050 -libdir | --libdir | --libdi | --libd)
1051 ac_prev=libdir ;;
1052 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1053 libdir=$ac_optarg ;;
1054
1055 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1056 | --libexe | --libex | --libe)
1057 ac_prev=libexecdir ;;
1058 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1059 | --libexe=* | --libex=* | --libe=*)
1060 libexecdir=$ac_optarg ;;
1061
1062 -localedir | --localedir | --localedi | --localed | --locale)
1063 ac_prev=localedir ;;
1064 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1065 localedir=$ac_optarg ;;
1066
1067 -localstatedir | --localstatedir | --localstatedi | --localstated \
1068 | --localstate | --localstat | --localsta | --localst | --locals)
1069 ac_prev=localstatedir ;;
1070 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1071 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1072 localstatedir=$ac_optarg ;;
1073
1074 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1075 ac_prev=mandir ;;
1076 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1077 mandir=$ac_optarg ;;
1078
1079 -nfp | --nfp | --nf)
1080 # Obsolete; use --without-fp.
1081 with_fp=no ;;
1082
1083 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1084 | --no-cr | --no-c | -n)
1085 no_create=yes ;;
1086
1087 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1088 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1089 no_recursion=yes ;;
1090
1091 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1092 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1093 | --oldin | --oldi | --old | --ol | --o)
1094 ac_prev=oldincludedir ;;
1095 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1096 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1097 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1098 oldincludedir=$ac_optarg ;;
1099
1100 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1101 ac_prev=prefix ;;
1102 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1103 prefix=$ac_optarg ;;
1104
1105 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1106 | --program-pre | --program-pr | --program-p)
1107 ac_prev=program_prefix ;;
1108 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1109 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1110 program_prefix=$ac_optarg ;;
1111
1112 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1113 | --program-suf | --program-su | --program-s)
1114 ac_prev=program_suffix ;;
1115 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1116 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1117 program_suffix=$ac_optarg ;;
1118
1119 -program-transform-name | --program-transform-name \
1120 | --program-transform-nam | --program-transform-na \
1121 | --program-transform-n | --program-transform- \
1122 | --program-transform | --program-transfor \
1123 | --program-transfo | --program-transf \
1124 | --program-trans | --program-tran \
1125 | --progr-tra | --program-tr | --program-t)
1126 ac_prev=program_transform_name ;;
1127 -program-transform-name=* | --program-transform-name=* \
1128 | --program-transform-nam=* | --program-transform-na=* \
1129 | --program-transform-n=* | --program-transform-=* \
1130 | --program-transform=* | --program-transfor=* \
1131 | --program-transfo=* | --program-transf=* \
1132 | --program-trans=* | --program-tran=* \
1133 | --progr-tra=* | --program-tr=* | --program-t=*)
1134 program_transform_name=$ac_optarg ;;
1135
1136 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1137 ac_prev=pdfdir ;;
1138 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1139 pdfdir=$ac_optarg ;;
1140
1141 -psdir | --psdir | --psdi | --psd | --ps)
1142 ac_prev=psdir ;;
1143 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1144 psdir=$ac_optarg ;;
1145
1146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1147 | -silent | --silent | --silen | --sile | --sil)
1148 silent=yes ;;
1149
1150 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1151 ac_prev=sbindir ;;
1152 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1153 | --sbi=* | --sb=*)
1154 sbindir=$ac_optarg ;;
1155
1156 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1157 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1158 | --sharedst | --shareds | --shared | --share | --shar \
1159 | --sha | --sh)
1160 ac_prev=sharedstatedir ;;
1161 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1162 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1163 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1164 | --sha=* | --sh=*)
1165 sharedstatedir=$ac_optarg ;;
1166
1167 -site | --site | --sit)
1168 ac_prev=site ;;
1169 -site=* | --site=* | --sit=*)
1170 site=$ac_optarg ;;
1171
1172 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1173 ac_prev=srcdir ;;
1174 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1175 srcdir=$ac_optarg ;;
1176
1177 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1178 | --syscon | --sysco | --sysc | --sys | --sy)
1179 ac_prev=sysconfdir ;;
1180 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1181 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1182 sysconfdir=$ac_optarg ;;
1183
1184 -target | --target | --targe | --targ | --tar | --ta | --t)
1185 ac_prev=target_alias ;;
1186 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1187 target_alias=$ac_optarg ;;
1188
1189 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1190 verbose=yes ;;
1191
1192 -version | --version | --versio | --versi | --vers | -V)
1193 ac_init_version=: ;;
1194
1195 -with-* | --with-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error "invalid package name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1203 *"
1204 "with_$ac_useropt"
1205 "*) ;;
1206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207 ac_unrecognized_sep=', ';;
1208 esac
1209 eval with_$ac_useropt=\$ac_optarg ;;
1210
1211 -without-* | --without-*)
1212 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1215 as_fn_error "invalid package name: $ac_useropt"
1216 ac_useropt_orig=$ac_useropt
1217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1219 *"
1220 "with_$ac_useropt"
1221 "*) ;;
1222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223 ac_unrecognized_sep=', ';;
1224 esac
1225 eval with_$ac_useropt=no ;;
1226
1227 --x)
1228 # Obsolete; use --with-x.
1229 with_x=yes ;;
1230
1231 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1232 | --x-incl | --x-inc | --x-in | --x-i)
1233 ac_prev=x_includes ;;
1234 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1235 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1236 x_includes=$ac_optarg ;;
1237
1238 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1239 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1240 ac_prev=x_libraries ;;
1241 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1242 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1243 x_libraries=$ac_optarg ;;
1244
1245 -*) as_fn_error "unrecognized option: \`$ac_option'
1246 Try \`$0 --help' for more information."
1247 ;;
1248
1249 *=*)
1250 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 case $ac_envvar in #(
1253 '' | [0-9]* | *[!_$as_cr_alnum]* )
1254 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1255 esac
1256 eval $ac_envvar=\$ac_optarg
1257 export $ac_envvar ;;
1258
1259 *)
1260 # FIXME: should be removed in autoconf 3.0.
1261 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1263 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1265 ;;
1266
1267 esac
1268 done
1269
1270 if test -n "$ac_prev"; then
1271 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1272 as_fn_error "missing argument to $ac_option"
1273 fi
1274
1275 if test -n "$ac_unrecognized_opts"; then
1276 case $enable_option_checking in
1277 no) ;;
1278 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1279 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 esac
1281 fi
1282
1283 # Check all directory arguments for consistency.
1284 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285 datadir sysconfdir sharedstatedir localstatedir includedir \
1286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287 libdir localedir mandir
1288 do
1289 eval ac_val=\$$ac_var
1290 # Remove trailing slashes.
1291 case $ac_val in
1292 */ )
1293 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294 eval $ac_var=\$ac_val;;
1295 esac
1296 # Be sure to have absolute directory names.
1297 case $ac_val in
1298 [\\/$]* | ?:[\\/]* ) continue;;
1299 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1300 esac
1301 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1302 done
1303
1304 # There might be people who depend on the old broken behavior: `$host'
1305 # used to hold the argument of --host etc.
1306 # FIXME: To remove some day.
1307 build=$build_alias
1308 host=$host_alias
1309 target=$target_alias
1310
1311 # FIXME: To remove some day.
1312 if test "x$host_alias" != x; then
1313 if test "x$build_alias" = x; then
1314 cross_compiling=maybe
1315 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1316 If a cross compiler is detected then cross compile mode will be used." >&2
1317 elif test "x$build_alias" != "x$host_alias"; then
1318 cross_compiling=yes
1319 fi
1320 fi
1321
1322 ac_tool_prefix=
1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1324
1325 test "$silent" = yes && exec 6>/dev/null
1326
1327
1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di=`ls -di .` &&
1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error "working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error "pwd does not report name of working directory"
1334
1335
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347 s//\1/
1348 q
1349 }
1350 /^X\(\/\/\)[^/].*/{
1351 s//\1/
1352 q
1353 }
1354 /^X\(\/\/\)$/{
1355 s//\1/
1356 q
1357 }
1358 /^X\(\/\).*/{
1359 s//\1/
1360 q
1361 }
1362 s/.*/./; q'`
1363 srcdir=$ac_confdir
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 srcdir=..
1366 fi
1367 else
1368 ac_srcdir_defaulted=no
1369 fi
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1373 fi
1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 ac_abs_confdir=`(
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1377 pwd)`
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 srcdir=.
1381 fi
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1385 case $srcdir in
1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 esac
1388 for ac_var in $ac_precious_vars; do
1389 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_${ac_var}_value=\$${ac_var}
1391 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1393 done
1394
1395 #
1396 # Report the --help message.
1397 #
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1401 cat <<_ACEOF
1402 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1403
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1405
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1408
1409 Defaults for the options are specified in brackets.
1410
1411 Configuration:
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 [PREFIX]
1427
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1432
1433 For better control, use the options below.
1434
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1455 _ACEOF
1456
1457 cat <<\_ACEOF
1458
1459 Program names:
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1463
1464 System types:
1465 --build=BUILD configure for building on BUILD [guessed]
1466 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1467 --target=TARGET configure for building compilers for TARGET [HOST]
1468 _ACEOF
1469 fi
1470
1471 if test -n "$ac_init_help"; then
1472 case $ac_init_help in
1473 short | recursive ) echo "Configuration of package-unused version-unused:";;
1474 esac
1475 cat <<\_ACEOF
1476
1477 Optional Features:
1478 --disable-option-checking ignore unrecognized --enable/--with options
1479 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1480 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1481 --enable-multilib build many library versions (default)
1482 --enable-maintainer-mode enable make rules and dependencies not useful
1483 (and sometimes confusing) to the casual installer
1484 --enable-shared[=PKGS] build shared libraries [default=yes]
1485 --enable-static[=PKGS] build static libraries [default=yes]
1486 --enable-fast-install[=PKGS]
1487 optimize for fast installation [default=yes]
1488 --disable-libtool-lock avoid locking (might break parallel builds)
1489 --disable-hosted-libstdcxx
1490 only build freestanding C++ runtime support
1491 --enable-sjlj-exceptions
1492 force use of builtin_setjmp for exceptions
1493 [default=auto]
1494 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1495 [default=$is_hosted]
1496 --enable-cstdio[=PACKAGE]
1497 use target-specific I/O package [default=stdio]
1498 --enable-clocale[=MODEL]
1499 use MODEL for target locale package [default=auto]
1500 --enable-nls use Native Language Support (default)
1501 --enable-libstdcxx-allocator[=KIND]
1502 use KIND for target std::allocator base
1503 [default=auto]
1504 --enable-cheaders[=KIND]
1505 construct "C" headers for g++ [default=$c_model]
1506 --enable-long-long enable template specializations for 'long long'
1507 [default=yes]
1508 --enable-wchar_t enable template specializations for 'wchar_t'
1509 [default=yes]
1510 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1511 --enable-concept-checks use Boost-derived template checks [default=no]
1512 --enable-libstdcxx-debug-flags=FLAGS
1513 pass compiler FLAGS when building debug library
1514 [default="-g3 -O0"]
1515 --enable-libstdcxx-debug
1516 build extra debug library [default=no]
1517 --enable-cxx-flags=FLAGS
1518 pass compiler FLAGS when building library [default=]
1519 --enable-fully-dynamic-string
1520 do not put empty strings in per-process static
1521 memory [default=no]
1522 --enable-libstdcxx-time[=KIND]
1523 use KIND for check type [default=no]
1524 --enable-tls Use thread-local storage [default=yes]
1525 --disable-rpath do not hardcode runtime library paths
1526 --enable-linux-futex use the Linux futex system call [default=default]
1527 --enable-symvers[=STYLE]
1528 enables symbol versioning of the shared library
1529 [default=yes]
1530 --enable-visibility enables visibility safe usage [default=yes]
1531 --enable-version-specific-runtime-libs
1532 Specify that runtime libraries should be installed
1533 in a compiler-specific directory
1534
1535 Optional Packages:
1536 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1537 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1538 --with-target-subdir=SUBDIR
1539 configuring in a subdirectory
1540 --with-cross-host=HOST configuring with a cross compiler
1541 --with-newlib assume newlib as a system C library
1542 --with-pic try to use only PIC/non-PIC objects [default=use
1543 both]
1544 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1545 --with-gnu-ld assume the C compiler uses GNU ld default=no
1546 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1547 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1548 --with-system-libunwind use installed libunwind
1549 --with-gxx-include-dir=DIR
1550 installation directory for include files
1551
1552 Some influential environment variables:
1553 CC C compiler command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir>
1560 CXX C++ compiler command
1561 CXXFLAGS C++ compiler flags
1562 CPP C preprocessor
1563 CXXCPP C++ preprocessor
1564 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1565 `c++filt', `gc++filt' on PATH.
1566
1567 Use these variables to override the choices made by `configure' or to help
1568 it to find libraries and programs with nonstandard names/locations.
1569
1570 Report bugs to the package provider.
1571 _ACEOF
1572 ac_status=$?
1573 fi
1574
1575 if test "$ac_init_help" = "recursive"; then
1576 # If there are subdirs, report their specific --help.
1577 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1578 test -d "$ac_dir" ||
1579 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1580 continue
1581 ac_builddir=.
1582
1583 case "$ac_dir" in
1584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 *)
1586 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1587 # A ".." for each directory in $ac_dir_suffix.
1588 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1589 case $ac_top_builddir_sub in
1590 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1591 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1592 esac ;;
1593 esac
1594 ac_abs_top_builddir=$ac_pwd
1595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1596 # for backward compatibility:
1597 ac_top_builddir=$ac_top_build_prefix
1598
1599 case $srcdir in
1600 .) # We are building in place.
1601 ac_srcdir=.
1602 ac_top_srcdir=$ac_top_builddir_sub
1603 ac_abs_top_srcdir=$ac_pwd ;;
1604 [\\/]* | ?:[\\/]* ) # Absolute name.
1605 ac_srcdir=$srcdir$ac_dir_suffix;
1606 ac_top_srcdir=$srcdir
1607 ac_abs_top_srcdir=$srcdir ;;
1608 *) # Relative name.
1609 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1610 ac_top_srcdir=$ac_top_build_prefix$srcdir
1611 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612 esac
1613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614
1615 cd "$ac_dir" || { ac_status=$?; continue; }
1616 # Check for guested configure.
1617 if test -f "$ac_srcdir/configure.gnu"; then
1618 echo &&
1619 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1620 elif test -f "$ac_srcdir/configure"; then
1621 echo &&
1622 $SHELL "$ac_srcdir/configure" --help=recursive
1623 else
1624 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625 fi || ac_status=$?
1626 cd "$ac_pwd" || { ac_status=$?; break; }
1627 done
1628 fi
1629
1630 test -n "$ac_init_help" && exit $ac_status
1631 if $ac_init_version; then
1632 cat <<\_ACEOF
1633 package-unused configure version-unused
1634 generated by GNU Autoconf 2.64
1635
1636 Copyright (C) 2009 Free Software Foundation, Inc.
1637 This configure script is free software; the Free Software Foundation
1638 gives unlimited permission to copy, distribute and modify it.
1639 _ACEOF
1640 exit
1641 fi
1642
1643 ## ------------------------ ##
1644 ## Autoconf initialization. ##
1645 ## ------------------------ ##
1646
1647 # ac_fn_c_try_compile LINENO
1648 # --------------------------
1649 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1650 ac_fn_c_try_compile ()
1651 {
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 rm -f conftest.$ac_objext
1654 if { { ac_try="$ac_compile"
1655 case "(($ac_try" in
1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1658 esac
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_compile") 2>conftest.err
1662 ac_status=$?
1663 if test -s conftest.err; then
1664 grep -v '^ *+' conftest.err >conftest.er1
1665 cat conftest.er1 >&5
1666 mv -f conftest.er1 conftest.err
1667 fi
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && {
1670 test -z "$ac_c_werror_flag" ||
1671 test ! -s conftest.err
1672 } && test -s conftest.$ac_objext; then :
1673 ac_retval=0
1674 else
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1677
1678 ac_retval=1
1679 fi
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681 return $ac_retval
1682
1683 } # ac_fn_c_try_compile
1684
1685 # ac_fn_cxx_try_compile LINENO
1686 # ----------------------------
1687 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1688 ac_fn_cxx_try_compile ()
1689 {
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext
1692 if { { ac_try="$ac_compile"
1693 case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1696 esac
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_compile") 2>conftest.err
1700 ac_status=$?
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1705 fi
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_cxx_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest.$ac_objext; then :
1711 ac_retval=0
1712 else
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1715
1716 ac_retval=1
1717 fi
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719 return $ac_retval
1720
1721 } # ac_fn_cxx_try_compile
1722
1723 # ac_fn_c_try_cpp LINENO
1724 # ----------------------
1725 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1726 ac_fn_c_try_cpp ()
1727 {
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if { { ac_try="$ac_cpp conftest.$ac_ext"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1742 fi
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } >/dev/null && {
1745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1747 }; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753 ac_retval=1
1754 fi
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 return $ac_retval
1757
1758 } # ac_fn_c_try_cpp
1759
1760 # ac_fn_c_try_link LINENO
1761 # -----------------------
1762 # Try to link conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_link ()
1764 {
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext conftest$ac_exeext
1767 if { { ac_try="$ac_link"
1768 case "(($ac_try" in
1769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1771 esac
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_link") 2>conftest.err
1775 ac_status=$?
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1780 fi
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest$ac_exeext && {
1786 test "$cross_compiling" = yes ||
1787 $as_test_x conftest$ac_exeext
1788 }; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1793
1794 ac_retval=1
1795 fi
1796 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1797 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1798 # interfere with the next link command; also delete a directory that is
1799 # left behind by Apple's compiler. We do this before executing the actions.
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1802 return $ac_retval
1803
1804 } # ac_fn_c_try_link
1805
1806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807 # -------------------------------------------------------
1808 # Tests whether HEADER exists and can be compiled using the include files in
1809 # INCLUDES, setting the cache variable VAR accordingly.
1810 ac_fn_c_check_header_compile ()
1811 {
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1816 $as_echo_n "(cached) " >&6
1817 else
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1820 $4
1821 #include <$2>
1822 _ACEOF
1823 if ac_fn_c_try_compile "$LINENO"; then :
1824 eval "$3=yes"
1825 else
1826 eval "$3=no"
1827 fi
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 fi
1830 eval ac_res=\$$3
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834
1835 } # ac_fn_c_check_header_compile
1836
1837 # ac_fn_c_try_run LINENO
1838 # ----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1840 # that executables *can* be run.
1841 ac_fn_c_try_run ()
1842 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if { { ac_try="$ac_link"
1845 case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>&5
1852 ac_status=$?
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1855 { { case "(($ac_try" in
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1858 esac
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_try") 2>&5
1862 ac_status=$?
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; }; }; then :
1865 ac_retval=0
1866 else
1867 $as_echo "$as_me: program exited with status $ac_status" >&5
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1870
1871 ac_retval=$ac_status
1872 fi
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 return $ac_retval
1876
1877 } # ac_fn_c_try_run
1878
1879 # ac_fn_c_check_func LINENO FUNC VAR
1880 # ----------------------------------
1881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1882 ac_fn_c_check_func ()
1883 {
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1888 $as_echo_n "(cached) " >&6
1889 else
1890 if test x$gcc_no_link = xyes; then
1891 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1892 fi
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897 #define $2 innocuous_$2
1898
1899 /* System header to define __stub macros and hopefully few prototypes,
1900 which can conflict with char $2 (); below.
1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902 <limits.h> exists even on freestanding compilers. */
1903
1904 #ifdef __STDC__
1905 # include <limits.h>
1906 #else
1907 # include <assert.h>
1908 #endif
1909
1910 #undef $2
1911
1912 /* Override any GCC internal prototype to avoid an error.
1913 Use char because int might match the return type of a GCC
1914 builtin and then its argument prototype would still apply. */
1915 #ifdef __cplusplus
1916 extern "C"
1917 #endif
1918 char $2 ();
1919 /* The GNU C library defines this for functions which it implements
1920 to always fail with ENOSYS. Some functions are actually named
1921 something starting with __ and the normal name is an alias. */
1922 #if defined __stub_$2 || defined __stub___$2
1923 choke me
1924 #endif
1925
1926 int
1927 main ()
1928 {
1929 return $2 ();
1930 ;
1931 return 0;
1932 }
1933 _ACEOF
1934 if ac_fn_c_try_link "$LINENO"; then :
1935 eval "$3=yes"
1936 else
1937 eval "$3=no"
1938 fi
1939 rm -f core conftest.err conftest.$ac_objext \
1940 conftest$ac_exeext conftest.$ac_ext
1941 fi
1942 eval ac_res=\$$3
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946
1947 } # ac_fn_c_check_func
1948
1949 # ac_fn_cxx_try_cpp LINENO
1950 # ------------------------
1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_cxx_try_cpp ()
1953 {
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 if { { ac_try="$ac_cpp conftest.$ac_ext"
1956 case "(($ac_try" in
1957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1959 esac
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1963 ac_status=$?
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1968 fi
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } >/dev/null && {
1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1973 }; then :
1974 ac_retval=0
1975 else
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1978
1979 ac_retval=1
1980 fi
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1982 return $ac_retval
1983
1984 } # ac_fn_cxx_try_cpp
1985
1986 # ac_fn_cxx_try_link LINENO
1987 # -------------------------
1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_link ()
1990 {
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 rm -f conftest.$ac_objext conftest$ac_exeext
1993 if { { ac_try="$ac_link"
1994 case "(($ac_try" in
1995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1996 *) ac_try_echo=$ac_try;;
1997 esac
1998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_link") 2>conftest.err
2001 ac_status=$?
2002 if test -s conftest.err; then
2003 grep -v '^ *+' conftest.err >conftest.er1
2004 cat conftest.er1 >&5
2005 mv -f conftest.er1 conftest.err
2006 fi
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest$ac_exeext && {
2012 test "$cross_compiling" = yes ||
2013 $as_test_x conftest$ac_exeext
2014 }; then :
2015 ac_retval=0
2016 else
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2019
2020 ac_retval=1
2021 fi
2022 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024 # interfere with the next link command; also delete a directory that is
2025 # left behind by Apple's compiler. We do this before executing the actions.
2026 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2028 return $ac_retval
2029
2030 } # ac_fn_cxx_try_link
2031
2032 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2033 # -------------------------------------------------------
2034 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2035 # the include files in INCLUDES and setting the cache variable VAR
2036 # accordingly.
2037 ac_fn_c_check_header_mongrel ()
2038 {
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 $as_echo_n "checking for $2... " >&6; }
2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2044 $as_echo_n "(cached) " >&6
2045 fi
2046 eval ac_res=\$$3
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049 else
2050 # Is the header compilable?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2052 $as_echo_n "checking $2 usability... " >&6; }
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2055 $4
2056 #include <$2>
2057 _ACEOF
2058 if ac_fn_c_try_compile "$LINENO"; then :
2059 ac_header_compiler=yes
2060 else
2061 ac_header_compiler=no
2062 fi
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2065 $as_echo "$ac_header_compiler" >&6; }
2066
2067 # Is the header present?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2069 $as_echo_n "checking $2 presence... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2072 #include <$2>
2073 _ACEOF
2074 if ac_fn_c_try_cpp "$LINENO"; then :
2075 ac_header_preproc=yes
2076 else
2077 ac_header_preproc=no
2078 fi
2079 rm -f conftest.err conftest.$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2081 $as_echo "$ac_header_preproc" >&6; }
2082
2083 # So? What about this header?
2084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2085 yes:no: )
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2087 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2089 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2090 ;;
2091 no:yes:* )
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2093 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2095 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2097 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2099 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102 ;;
2103 esac
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2105 $as_echo_n "checking for $2... " >&6; }
2106 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2107 $as_echo_n "(cached) " >&6
2108 else
2109 eval "$3=\$ac_header_compiler"
2110 fi
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 fi
2115 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2116
2117 } # ac_fn_c_check_header_mongrel
2118
2119 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2120 # ---------------------------------------------------------
2121 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2122 # the include files in INCLUDES and setting the cache variable VAR
2123 # accordingly.
2124 ac_fn_cxx_check_header_mongrel ()
2125 {
2126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; }
2130 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2131 $as_echo_n "(cached) " >&6
2132 fi
2133 eval ac_res=\$$3
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2135 $as_echo "$ac_res" >&6; }
2136 else
2137 # Is the header compilable?
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2139 $as_echo_n "checking $2 usability... " >&6; }
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2142 $4
2143 #include <$2>
2144 _ACEOF
2145 if ac_fn_cxx_try_compile "$LINENO"; then :
2146 ac_header_compiler=yes
2147 else
2148 ac_header_compiler=no
2149 fi
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2152 $as_echo "$ac_header_compiler" >&6; }
2153
2154 # Is the header present?
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2156 $as_echo_n "checking $2 presence... " >&6; }
2157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2159 #include <$2>
2160 _ACEOF
2161 if ac_fn_cxx_try_cpp "$LINENO"; then :
2162 ac_header_preproc=yes
2163 else
2164 ac_header_preproc=no
2165 fi
2166 rm -f conftest.err conftest.$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2168 $as_echo "$ac_header_preproc" >&6; }
2169
2170 # So? What about this header?
2171 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2172 yes:no: )
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2174 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2177 ;;
2178 no:yes:* )
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2180 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2182 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2184 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2186 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2188 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2189 ;;
2190 esac
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2192 $as_echo_n "checking for $2... " >&6; }
2193 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2194 $as_echo_n "(cached) " >&6
2195 else
2196 eval "$3=\$ac_header_compiler"
2197 fi
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 fi
2202 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2203
2204 } # ac_fn_cxx_check_header_mongrel
2205
2206 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2207 # --------------------------------------------
2208 # Tries to find the compile-time value of EXPR in a program that includes
2209 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2210 # computed
2211 ac_fn_c_compute_int ()
2212 {
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 if test "$cross_compiling" = yes; then
2215 # Depending upon the size, compute the lo and hi bounds.
2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2218 $4
2219 int
2220 main ()
2221 {
2222 static int test_array [1 - 2 * !(($2) >= 0)];
2223 test_array [0] = 0
2224
2225 ;
2226 return 0;
2227 }
2228 _ACEOF
2229 if ac_fn_c_try_compile "$LINENO"; then :
2230 ac_lo=0 ac_mid=0
2231 while :; do
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2234 $4
2235 int
2236 main ()
2237 {
2238 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2239 test_array [0] = 0
2240
2241 ;
2242 return 0;
2243 }
2244 _ACEOF
2245 if ac_fn_c_try_compile "$LINENO"; then :
2246 ac_hi=$ac_mid; break
2247 else
2248 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2249 if test $ac_lo -le $ac_mid; then
2250 ac_lo= ac_hi=
2251 break
2252 fi
2253 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2254 fi
2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2256 done
2257 else
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2260 $4
2261 int
2262 main ()
2263 {
2264 static int test_array [1 - 2 * !(($2) < 0)];
2265 test_array [0] = 0
2266
2267 ;
2268 return 0;
2269 }
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 ac_hi=-1 ac_mid=-1
2273 while :; do
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2276 $4
2277 int
2278 main ()
2279 {
2280 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2281 test_array [0] = 0
2282
2283 ;
2284 return 0;
2285 }
2286 _ACEOF
2287 if ac_fn_c_try_compile "$LINENO"; then :
2288 ac_lo=$ac_mid; break
2289 else
2290 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2291 if test $ac_mid -le $ac_hi; then
2292 ac_lo= ac_hi=
2293 break
2294 fi
2295 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2296 fi
2297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2298 done
2299 else
2300 ac_lo= ac_hi=
2301 fi
2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 fi
2304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2305 # Binary search between lo and hi bounds.
2306 while test "x$ac_lo" != "x$ac_hi"; do
2307 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2310 $4
2311 int
2312 main ()
2313 {
2314 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2315 test_array [0] = 0
2316
2317 ;
2318 return 0;
2319 }
2320 _ACEOF
2321 if ac_fn_c_try_compile "$LINENO"; then :
2322 ac_hi=$ac_mid
2323 else
2324 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2325 fi
2326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2327 done
2328 case $ac_lo in #((
2329 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2330 '') ac_retval=1 ;;
2331 esac
2332 else
2333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2334 /* end confdefs.h. */
2335 $4
2336 static long int longval () { return $2; }
2337 static unsigned long int ulongval () { return $2; }
2338 #include <stdio.h>
2339 #include <stdlib.h>
2340 int
2341 main ()
2342 {
2343
2344 FILE *f = fopen ("conftest.val", "w");
2345 if (! f)
2346 return 1;
2347 if (($2) < 0)
2348 {
2349 long int i = longval ();
2350 if (i != ($2))
2351 return 1;
2352 fprintf (f, "%ld", i);
2353 }
2354 else
2355 {
2356 unsigned long int i = ulongval ();
2357 if (i != ($2))
2358 return 1;
2359 fprintf (f, "%lu", i);
2360 }
2361 /* Do not output a trailing newline, as this causes \r\n confusion
2362 on some platforms. */
2363 return ferror (f) || fclose (f) != 0;
2364
2365 ;
2366 return 0;
2367 }
2368 _ACEOF
2369 if ac_fn_c_try_run "$LINENO"; then :
2370 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2371 else
2372 ac_retval=1
2373 fi
2374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2375 conftest.$ac_objext conftest.beam conftest.$ac_ext
2376 rm -f conftest.val
2377
2378 fi
2379 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2380 return $ac_retval
2381
2382 } # ac_fn_c_compute_int
2383
2384 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2385 # -------------------------------------------
2386 # Tests whether TYPE exists after having included INCLUDES, setting cache
2387 # variable VAR accordingly.
2388 ac_fn_c_check_type ()
2389 {
2390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2392 $as_echo_n "checking for $2... " >&6; }
2393 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2394 $as_echo_n "(cached) " >&6
2395 else
2396 eval "$3=no"
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2399 $4
2400 int
2401 main ()
2402 {
2403 if (sizeof ($2))
2404 return 0;
2405 ;
2406 return 0;
2407 }
2408 _ACEOF
2409 if ac_fn_c_try_compile "$LINENO"; then :
2410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h. */
2412 $4
2413 int
2414 main ()
2415 {
2416 if (sizeof (($2)))
2417 return 0;
2418 ;
2419 return 0;
2420 }
2421 _ACEOF
2422 if ac_fn_c_try_compile "$LINENO"; then :
2423
2424 else
2425 eval "$3=yes"
2426 fi
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 fi
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430 fi
2431 eval ac_res=\$$3
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2433 $as_echo "$ac_res" >&6; }
2434 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2435
2436 } # ac_fn_c_check_type
2437 cat >config.log <<_ACEOF
2438 This file contains any messages produced by compilers while
2439 running configure, to aid debugging if configure makes a mistake.
2440
2441 It was created by package-unused $as_me version-unused, which was
2442 generated by GNU Autoconf 2.64. Invocation command line was
2443
2444 $ $0 $@
2445
2446 _ACEOF
2447 exec 5>>config.log
2448 {
2449 cat <<_ASUNAME
2450 ## --------- ##
2451 ## Platform. ##
2452 ## --------- ##
2453
2454 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2455 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2456 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2457 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2458 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2459
2460 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2461 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2462
2463 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2464 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2465 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2466 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2467 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2468 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2469 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2470
2471 _ASUNAME
2472
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2475 do
2476 IFS=$as_save_IFS
2477 test -z "$as_dir" && as_dir=.
2478 $as_echo "PATH: $as_dir"
2479 done
2480 IFS=$as_save_IFS
2481
2482 } >&5
2483
2484 cat >&5 <<_ACEOF
2485
2486
2487 ## ----------- ##
2488 ## Core tests. ##
2489 ## ----------- ##
2490
2491 _ACEOF
2492
2493
2494 # Keep a trace of the command line.
2495 # Strip out --no-create and --no-recursion so they do not pile up.
2496 # Strip out --silent because we don't want to record it for future runs.
2497 # Also quote any args containing shell meta-characters.
2498 # Make two passes to allow for proper duplicate-argument suppression.
2499 ac_configure_args=
2500 ac_configure_args0=
2501 ac_configure_args1=
2502 ac_must_keep_next=false
2503 for ac_pass in 1 2
2504 do
2505 for ac_arg
2506 do
2507 case $ac_arg in
2508 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2510 | -silent | --silent | --silen | --sile | --sil)
2511 continue ;;
2512 *\'*)
2513 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2514 esac
2515 case $ac_pass in
2516 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2517 2)
2518 as_fn_append ac_configure_args1 " '$ac_arg'"
2519 if test $ac_must_keep_next = true; then
2520 ac_must_keep_next=false # Got value, back to normal.
2521 else
2522 case $ac_arg in
2523 *=* | --config-cache | -C | -disable-* | --disable-* \
2524 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2525 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2526 | -with-* | --with-* | -without-* | --without-* | --x)
2527 case "$ac_configure_args0 " in
2528 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2529 esac
2530 ;;
2531 -* ) ac_must_keep_next=true ;;
2532 esac
2533 fi
2534 as_fn_append ac_configure_args " '$ac_arg'"
2535 ;;
2536 esac
2537 done
2538 done
2539 { ac_configure_args0=; unset ac_configure_args0;}
2540 { ac_configure_args1=; unset ac_configure_args1;}
2541
2542 # When interrupted or exit'd, cleanup temporary files, and complete
2543 # config.log. We remove comments because anyway the quotes in there
2544 # would cause problems or look ugly.
2545 # WARNING: Use '\'' to represent an apostrophe within the trap.
2546 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2547 trap 'exit_status=$?
2548 # Save into config.log some information that might help in debugging.
2549 {
2550 echo
2551
2552 cat <<\_ASBOX
2553 ## ---------------- ##
2554 ## Cache variables. ##
2555 ## ---------------- ##
2556 _ASBOX
2557 echo
2558 # The following way of writing the cache mishandles newlines in values,
2559 (
2560 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2561 eval ac_val=\$$ac_var
2562 case $ac_val in #(
2563 *${as_nl}*)
2564 case $ac_var in #(
2565 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2566 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2567 esac
2568 case $ac_var in #(
2569 _ | IFS | as_nl) ;; #(
2570 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2571 *) { eval $ac_var=; unset $ac_var;} ;;
2572 esac ;;
2573 esac
2574 done
2575 (set) 2>&1 |
2576 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2577 *${as_nl}ac_space=\ *)
2578 sed -n \
2579 "s/'\''/'\''\\\\'\'''\''/g;
2580 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2581 ;; #(
2582 *)
2583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2584 ;;
2585 esac |
2586 sort
2587 )
2588 echo
2589
2590 cat <<\_ASBOX
2591 ## ----------------- ##
2592 ## Output variables. ##
2593 ## ----------------- ##
2594 _ASBOX
2595 echo
2596 for ac_var in $ac_subst_vars
2597 do
2598 eval ac_val=\$$ac_var
2599 case $ac_val in
2600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2601 esac
2602 $as_echo "$ac_var='\''$ac_val'\''"
2603 done | sort
2604 echo
2605
2606 if test -n "$ac_subst_files"; then
2607 cat <<\_ASBOX
2608 ## ------------------- ##
2609 ## File substitutions. ##
2610 ## ------------------- ##
2611 _ASBOX
2612 echo
2613 for ac_var in $ac_subst_files
2614 do
2615 eval ac_val=\$$ac_var
2616 case $ac_val in
2617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2618 esac
2619 $as_echo "$ac_var='\''$ac_val'\''"
2620 done | sort
2621 echo
2622 fi
2623
2624 if test -s confdefs.h; then
2625 cat <<\_ASBOX
2626 ## ----------- ##
2627 ## confdefs.h. ##
2628 ## ----------- ##
2629 _ASBOX
2630 echo
2631 cat confdefs.h
2632 echo
2633 fi
2634 test "$ac_signal" != 0 &&
2635 $as_echo "$as_me: caught signal $ac_signal"
2636 $as_echo "$as_me: exit $exit_status"
2637 } >&5
2638 rm -f core *.core core.conftest.* &&
2639 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2640 exit $exit_status
2641 ' 0
2642 for ac_signal in 1 2 13 15; do
2643 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2644 done
2645 ac_signal=0
2646
2647 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2648 rm -f -r conftest* confdefs.h
2649
2650 $as_echo "/* confdefs.h */" > confdefs.h
2651
2652 # Predefined preprocessor variables.
2653
2654 cat >>confdefs.h <<_ACEOF
2655 #define PACKAGE_NAME "$PACKAGE_NAME"
2656 _ACEOF
2657
2658 cat >>confdefs.h <<_ACEOF
2659 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2660 _ACEOF
2661
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2664 _ACEOF
2665
2666 cat >>confdefs.h <<_ACEOF
2667 #define PACKAGE_STRING "$PACKAGE_STRING"
2668 _ACEOF
2669
2670 cat >>confdefs.h <<_ACEOF
2671 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2672 _ACEOF
2673
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE_URL "$PACKAGE_URL"
2676 _ACEOF
2677
2678
2679 # Let the site file select an alternate cache file if it wants to.
2680 # Prefer an explicitly selected file to automatically selected ones.
2681 ac_site_file1=NONE
2682 ac_site_file2=NONE
2683 if test -n "$CONFIG_SITE"; then
2684 ac_site_file1=$CONFIG_SITE
2685 elif test "x$prefix" != xNONE; then
2686 ac_site_file1=$prefix/share/config.site
2687 ac_site_file2=$prefix/etc/config.site
2688 else
2689 ac_site_file1=$ac_default_prefix/share/config.site
2690 ac_site_file2=$ac_default_prefix/etc/config.site
2691 fi
2692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2693 do
2694 test "x$ac_site_file" = xNONE && continue
2695 if test -r "$ac_site_file"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2698 sed 's/^/| /' "$ac_site_file" >&5
2699 . "$ac_site_file"
2700 fi
2701 done
2702
2703 if test -r "$cache_file"; then
2704 # Some versions of bash will fail to source /dev/null (special
2705 # files actually), so we avoid doing that.
2706 if test -f "$cache_file"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2708 $as_echo "$as_me: loading cache $cache_file" >&6;}
2709 case $cache_file in
2710 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2711 *) . "./$cache_file";;
2712 esac
2713 fi
2714 else
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2716 $as_echo "$as_me: creating cache $cache_file" >&6;}
2717 >$cache_file
2718 fi
2719
2720 # Check that the precious variables saved in the cache have kept the same
2721 # value.
2722 ac_cache_corrupted=false
2723 for ac_var in $ac_precious_vars; do
2724 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2725 eval ac_new_set=\$ac_env_${ac_var}_set
2726 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2727 eval ac_new_val=\$ac_env_${ac_var}_value
2728 case $ac_old_set,$ac_new_set in
2729 set,)
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2731 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2732 ac_cache_corrupted=: ;;
2733 ,set)
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2735 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2736 ac_cache_corrupted=: ;;
2737 ,);;
2738 *)
2739 if test "x$ac_old_val" != "x$ac_new_val"; then
2740 # differences in whitespace do not lead to failure.
2741 ac_old_val_w=`echo x $ac_old_val`
2742 ac_new_val_w=`echo x $ac_new_val`
2743 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2745 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2746 ac_cache_corrupted=:
2747 else
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2749 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2750 eval $ac_var=\$ac_old_val
2751 fi
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2753 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2755 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2756 fi;;
2757 esac
2758 # Pass precious variables to config.status.
2759 if test "$ac_new_set" = set; then
2760 case $ac_new_val in
2761 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2762 *) ac_arg=$ac_var=$ac_new_val ;;
2763 esac
2764 case " $ac_configure_args " in
2765 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2766 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2767 esac
2768 fi
2769 done
2770 if $ac_cache_corrupted; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2774 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2775 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2776 fi
2777 ## -------------------- ##
2778 ## Main body of script. ##
2779 ## -------------------- ##
2780
2781 ac_ext=c
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2786
2787
2788
2789
2790
2791
2792 ac_config_headers="$ac_config_headers config.h"
2793
2794
2795 # This works around the fact that libtool configuration may change LD
2796 # for this particular configuration, but some shells, instead of
2797 # keeping the changes in LD private, export them just because LD is
2798 # exported. Only used at the end of this file.
2799 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2800
2801 # For libtool versioning info, format is CURRENT:REVISION:AGE
2802 libtool_VERSION=6:15:0
2803
2804
2805 # Find the rest of the source tree framework.
2806 # Default to --enable-multilib
2807 # Check whether --enable-multilib was given.
2808 if test "${enable_multilib+set}" = set; then :
2809 enableval=$enable_multilib; case "$enableval" in
2810 yes) multilib=yes ;;
2811 no) multilib=no ;;
2812 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2813 esac
2814 else
2815 multilib=yes
2816 fi
2817
2818
2819 # We may get other options which we leave undocumented:
2820 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2821 # See config-ml.in if you want the gory details.
2822
2823 if test "$srcdir" = "."; then
2824 if test "$with_target_subdir" != "."; then
2825 multi_basedir="$srcdir/$with_multisrctop../.."
2826 else
2827 multi_basedir="$srcdir/$with_multisrctop.."
2828 fi
2829 else
2830 multi_basedir="$srcdir/.."
2831 fi
2832
2833
2834 # Even if the default multilib is not a cross compilation,
2835 # it may be that some of the other multilibs are.
2836 if test $cross_compiling = no && test $multilib = yes \
2837 && test "x${with_multisubdir}" != x ; then
2838 cross_compiling=maybe
2839 fi
2840
2841 ac_config_commands="$ac_config_commands default-1"
2842
2843
2844 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2845 #
2846 # You will slowly go insane if you do not grok the following fact: when
2847 # building v3 as part of the compiler, the top-level /target/ becomes the
2848 # library's /host/. configure then causes --target to default to --host,
2849 # exactly like any other package using autoconf. Therefore, 'target' and
2850 # 'host' will always be the same. This makes sense both for native and
2851 # cross compilers, just think about it for a little while. :-)
2852 #
2853 # Also, if v3 is being configured as part of a cross compiler, the top-level
2854 # configure script will pass the "real" host as $with_cross_host.
2855 #
2856 # Do not delete or change the following two lines. For why, see
2857 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2858 ac_aux_dir=
2859 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2860 for ac_t in install-sh install.sh shtool; do
2861 if test -f "$ac_dir/$ac_t"; then
2862 ac_aux_dir=$ac_dir
2863 ac_install_sh="$ac_aux_dir/$ac_t -c"
2864 break 2
2865 fi
2866 done
2867 done
2868 if test -z "$ac_aux_dir"; then
2869 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2870 fi
2871
2872 # These three variables are undocumented and unsupported,
2873 # and are intended to be withdrawn in a future Autoconf release.
2874 # They can cause serious problems if a builder's source tree is in a directory
2875 # whose full name contains unusual characters.
2876 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2877 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2878 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2879
2880
2881 # Make sure we can run config.sub.
2882 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2883 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2884
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2886 $as_echo_n "checking build system type... " >&6; }
2887 if test "${ac_cv_build+set}" = set; then :
2888 $as_echo_n "(cached) " >&6
2889 else
2890 ac_build_alias=$build_alias
2891 test "x$ac_build_alias" = x &&
2892 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2893 test "x$ac_build_alias" = x &&
2894 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2895 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2896 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2897
2898 fi
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2900 $as_echo "$ac_cv_build" >&6; }
2901 case $ac_cv_build in
2902 *-*-*) ;;
2903 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2904 esac
2905 build=$ac_cv_build
2906 ac_save_IFS=$IFS; IFS='-'
2907 set x $ac_cv_build
2908 shift
2909 build_cpu=$1
2910 build_vendor=$2
2911 shift; shift
2912 # Remember, the first character of IFS is used to create $*,
2913 # except with old shells:
2914 build_os=$*
2915 IFS=$ac_save_IFS
2916 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2917
2918
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2920 $as_echo_n "checking host system type... " >&6; }
2921 if test "${ac_cv_host+set}" = set; then :
2922 $as_echo_n "(cached) " >&6
2923 else
2924 if test "x$host_alias" = x; then
2925 ac_cv_host=$ac_cv_build
2926 else
2927 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2928 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2929 fi
2930
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2933 $as_echo "$ac_cv_host" >&6; }
2934 case $ac_cv_host in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2937 esac
2938 host=$ac_cv_host
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_host
2941 shift
2942 host_cpu=$1
2943 host_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 host_os=$*
2948 IFS=$ac_save_IFS
2949 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2950
2951
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2953 $as_echo_n "checking target system type... " >&6; }
2954 if test "${ac_cv_target+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 if test "x$target_alias" = x; then
2958 ac_cv_target=$ac_cv_host
2959 else
2960 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2961 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2962 fi
2963
2964 fi
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2966 $as_echo "$ac_cv_target" >&6; }
2967 case $ac_cv_target in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2970 esac
2971 target=$ac_cv_target
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_target
2974 shift
2975 target_cpu=$1
2976 target_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 target_os=$*
2981 IFS=$ac_save_IFS
2982 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2983
2984
2985 # The aliases save the names the user supplied, while $host etc.
2986 # will get canonicalized.
2987 test -n "$target_alias" &&
2988 test "$program_prefix$program_suffix$program_transform_name" = \
2989 NONENONEs,x,x, &&
2990 program_prefix=${target_alias}-
2991
2992 target_alias=${target_alias-$host_alias}
2993
2994 # Handy for debugging:
2995 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2996
2997 if test "$build" != "$host"; then
2998 # We are being configured with some form of cross compiler.
2999 GLIBCXX_IS_NATIVE=false
3000 case "$host","$target" in
3001 # Darwin crosses can use the host system's libraries and headers,
3002 # because of the fat library support. Of course, it must be the
3003 # same version of Darwin on both sides. Allow the user to
3004 # just say --target=foo-darwin without a version number to mean
3005 # "the version on this system".
3006 *-*-darwin*,*-*-darwin*)
3007 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3008 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3009 if test $hostos = $targetos -o $targetos = darwin ; then
3010 GLIBCXX_IS_NATIVE=true
3011 fi
3012 ;;
3013
3014 *)
3015
3016 ;;
3017 esac
3018 else
3019 GLIBCXX_IS_NATIVE=true
3020 fi
3021
3022 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3023 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3024 # 1.x: minimum required version
3025 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3026 # of other PACKAGE_* variables will, however, and there's nothing
3027 # we can do about that; they come from AC_INIT).
3028 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3029 # file in the top srcdir, etc, etc), so stop complaining.
3030 # no-dependencies: turns off auto dependency generation (just for now)
3031 # no-dist: we don't want 'dist' and related rules.
3032 # -Wall: turns on all automake warnings...
3033 # -Wno-portability: ...except this one, since GNU make is now required.
3034 am__api_version='1.11'
3035
3036 # Find a good install program. We prefer a C program (faster),
3037 # so one script is as good as another. But avoid the broken or
3038 # incompatible versions:
3039 # SysV /etc/install, /usr/sbin/install
3040 # SunOS /usr/etc/install
3041 # IRIX /sbin/install
3042 # AIX /bin/install
3043 # AmigaOS /C/install, which installs bootblocks on floppy discs
3044 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3045 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3046 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3047 # OS/2's system install, which has a completely different semantic
3048 # ./install, which can be erroneously created by make from ./install.sh.
3049 # Reject install programs that cannot install multiple files.
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3051 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3052 if test -z "$INSTALL"; then
3053 if test "${ac_cv_path_install+set}" = set; then :
3054 $as_echo_n "(cached) " >&6
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3058 do
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 # Account for people who put trailing slashes in PATH elements.
3062 case $as_dir/ in #((
3063 ./ | .// | /[cC]/* | \
3064 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3065 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3066 /usr/ucb/* ) ;;
3067 *)
3068 # OSF1 and SCO ODT 3.0 have their own names for install.
3069 # Don't use installbsd from OSF since it installs stuff as root
3070 # by default.
3071 for ac_prog in ginstall scoinst install; do
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3074 if test $ac_prog = install &&
3075 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3076 # AIX install. It has an incompatible calling convention.
3077 :
3078 elif test $ac_prog = install &&
3079 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3080 # program-specific install script used by HP pwplus--don't use.
3081 :
3082 else
3083 rm -rf conftest.one conftest.two conftest.dir
3084 echo one > conftest.one
3085 echo two > conftest.two
3086 mkdir conftest.dir
3087 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3088 test -s conftest.one && test -s conftest.two &&
3089 test -s conftest.dir/conftest.one &&
3090 test -s conftest.dir/conftest.two
3091 then
3092 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3093 break 3
3094 fi
3095 fi
3096 fi
3097 done
3098 done
3099 ;;
3100 esac
3101
3102 done
3103 IFS=$as_save_IFS
3104
3105 rm -rf conftest.one conftest.two conftest.dir
3106
3107 fi
3108 if test "${ac_cv_path_install+set}" = set; then
3109 INSTALL=$ac_cv_path_install
3110 else
3111 # As a last resort, use the slow shell script. Don't cache a
3112 # value for INSTALL within a source directory, because that will
3113 # break other packages using the cache if that directory is
3114 # removed, or if the value is a relative name.
3115 INSTALL=$ac_install_sh
3116 fi
3117 fi
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3119 $as_echo "$INSTALL" >&6; }
3120
3121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3122 # It thinks the first close brace ends the variable substitution.
3123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3124
3125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3126
3127 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3128
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3130 $as_echo_n "checking whether build environment is sane... " >&6; }
3131 # Just in case
3132 sleep 1
3133 echo timestamp > conftest.file
3134 # Reject unsafe characters in $srcdir or the absolute working directory
3135 # name. Accept space and tab only in the latter.
3136 am_lf='
3137 '
3138 case `pwd` in
3139 *[\\\"\#\$\&\'\`$am_lf]*)
3140 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3141 esac
3142 case $srcdir in
3143 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3144 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3145 esac
3146
3147 # Do `set' in a subshell so we don't clobber the current shell's
3148 # arguments. Must try -L first in case configure is actually a
3149 # symlink; some systems play weird games with the mod time of symlinks
3150 # (eg FreeBSD returns the mod time of the symlink's containing
3151 # directory).
3152 if (
3153 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3154 if test "$*" = "X"; then
3155 # -L didn't work.
3156 set X `ls -t "$srcdir/configure" conftest.file`
3157 fi
3158 rm -f conftest.file
3159 if test "$*" != "X $srcdir/configure conftest.file" \
3160 && test "$*" != "X conftest.file $srcdir/configure"; then
3161
3162 # If neither matched, then we have a broken ls. This can happen
3163 # if, for instance, CONFIG_SHELL is bash and it inherits a
3164 # broken ls alias from the environment. This has actually
3165 # happened. Such a system could not be considered "sane".
3166 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3167 alias in your environment" "$LINENO" 5
3168 fi
3169
3170 test "$2" = conftest.file
3171 )
3172 then
3173 # Ok.
3174 :
3175 else
3176 as_fn_error "newly created file is older than distributed files!
3177 Check your system clock" "$LINENO" 5
3178 fi
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3180 $as_echo "yes" >&6; }
3181 test "$program_prefix" != NONE &&
3182 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3183 # Use a double $ so make ignores it.
3184 test "$program_suffix" != NONE &&
3185 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3186 # Double any \ or $.
3187 # By default was `s,x,x', remove it if useless.
3188 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3189 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3190
3191 # expand $ac_aux_dir to an absolute path
3192 am_aux_dir=`cd $ac_aux_dir && pwd`
3193
3194 if test x"${MISSING+set}" != xset; then
3195 case $am_aux_dir in
3196 *\ * | *\ *)
3197 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3198 *)
3199 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3200 esac
3201 fi
3202 # Use eval to expand $SHELL
3203 if eval "$MISSING --run true"; then
3204 am_missing_run="$MISSING --run "
3205 else
3206 am_missing_run=
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3208 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3209 fi
3210
3211 if test x"${install_sh}" != xset; then
3212 case $am_aux_dir in
3213 *\ * | *\ *)
3214 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3215 *)
3216 install_sh="\${SHELL} $am_aux_dir/install-sh"
3217 esac
3218 fi
3219
3220 # Installed binaries are usually stripped using `strip' when the user
3221 # run `make install-strip'. However `strip' might not be the right
3222 # tool to use in cross-compilation environments, therefore Automake
3223 # will honor the `STRIP' environment variable to overrule this program.
3224 if test "$cross_compiling" != no; then
3225 if test -n "$ac_tool_prefix"; then
3226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3227 set dummy ${ac_tool_prefix}strip; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if test "${ac_cv_prog_STRIP+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3232 else
3233 if test -n "$STRIP"; then
3234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3235 else
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH
3238 do
3239 IFS=$as_save_IFS
3240 test -z "$as_dir" && as_dir=.
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 break 2
3246 fi
3247 done
3248 done
3249 IFS=$as_save_IFS
3250
3251 fi
3252 fi
3253 STRIP=$ac_cv_prog_STRIP
3254 if test -n "$STRIP"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3256 $as_echo "$STRIP" >&6; }
3257 else
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 fi
3261
3262
3263 fi
3264 if test -z "$ac_cv_prog_STRIP"; then
3265 ac_ct_STRIP=$STRIP
3266 # Extract the first word of "strip", so it can be a program name with args.
3267 set dummy strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$ac_ct_STRIP"; then
3274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_ac_ct_STRIP="strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287 done
3288 done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3294 if test -n "$ac_ct_STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3296 $as_echo "$ac_ct_STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302 if test "x$ac_ct_STRIP" = x; then
3303 STRIP=":"
3304 else
3305 case $cross_compiling:$ac_tool_warned in
3306 yes:)
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3309 ac_tool_warned=yes ;;
3310 esac
3311 STRIP=$ac_ct_STRIP
3312 fi
3313 else
3314 STRIP="$ac_cv_prog_STRIP"
3315 fi
3316
3317 fi
3318 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3319
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3321 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3322 if test -z "$MKDIR_P"; then
3323 if test "${ac_cv_path_mkdir+set}" = set; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3328 do
3329 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=.
3331 for ac_prog in mkdir gmkdir; do
3332 for ac_exec_ext in '' $ac_executable_extensions; do
3333 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3334 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3335 'mkdir (GNU coreutils) '* | \
3336 'mkdir (coreutils) '* | \
3337 'mkdir (fileutils) '4.1*)
3338 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3339 break 3;;
3340 esac
3341 done
3342 done
3343 done
3344 IFS=$as_save_IFS
3345
3346 fi
3347
3348 if test "${ac_cv_path_mkdir+set}" = set; then
3349 MKDIR_P="$ac_cv_path_mkdir -p"
3350 else
3351 # As a last resort, use the slow shell script. Don't cache a
3352 # value for MKDIR_P within a source directory, because that will
3353 # break other packages using the cache if that directory is
3354 # removed, or if the value is a relative name.
3355 test -d ./--version && rmdir ./--version
3356 MKDIR_P="$ac_install_sh -d"
3357 fi
3358 fi
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3360 $as_echo "$MKDIR_P" >&6; }
3361
3362 mkdir_p="$MKDIR_P"
3363 case $mkdir_p in
3364 [\\/$]* | ?:[\\/]*) ;;
3365 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3366 esac
3367
3368 for ac_prog in gawk mawk nawk awk
3369 do
3370 # Extract the first word of "$ac_prog", so it can be a program name with args.
3371 set dummy $ac_prog; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if test "${ac_cv_prog_AWK+set}" = set; then :
3375 $as_echo_n "(cached) " >&6
3376 else
3377 if test -n "$AWK"; then
3378 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3379 else
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 for as_dir in $PATH
3382 do
3383 IFS=$as_save_IFS
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387 ac_cv_prog_AWK="$ac_prog"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 break 2
3390 fi
3391 done
3392 done
3393 IFS=$as_save_IFS
3394
3395 fi
3396 fi
3397 AWK=$ac_cv_prog_AWK
3398 if test -n "$AWK"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3400 $as_echo "$AWK" >&6; }
3401 else
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3404 fi
3405
3406
3407 test -n "$AWK" && break
3408 done
3409
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3411 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3412 set x ${MAKE-make}
3413 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3414 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 cat >conftest.make <<\_ACEOF
3418 SHELL = /bin/sh
3419 all:
3420 @echo '@@@%%%=$(MAKE)=@@@%%%'
3421 _ACEOF
3422 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3423 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3424 *@@@%%%=?*=@@@%%%*)
3425 eval ac_cv_prog_make_${ac_make}_set=yes;;
3426 *)
3427 eval ac_cv_prog_make_${ac_make}_set=no;;
3428 esac
3429 rm -f conftest.make
3430 fi
3431 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3433 $as_echo "yes" >&6; }
3434 SET_MAKE=
3435 else
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3438 SET_MAKE="MAKE=${MAKE-make}"
3439 fi
3440
3441 rm -rf .tst 2>/dev/null
3442 mkdir .tst 2>/dev/null
3443 if test -d .tst; then
3444 am__leading_dot=.
3445 else
3446 am__leading_dot=_
3447 fi
3448 rmdir .tst 2>/dev/null
3449
3450 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3451 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3452 # is not polluted with repeated "-I."
3453 am__isrc=' -I$(srcdir)'
3454 # test to see if srcdir already configured
3455 if test -f $srcdir/config.status; then
3456 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3457 fi
3458 fi
3459
3460 # test whether we have cygpath
3461 if test -z "$CYGPATH_W"; then
3462 if (cygpath --version) >/dev/null 2>/dev/null; then
3463 CYGPATH_W='cygpath -w'
3464 else
3465 CYGPATH_W=echo
3466 fi
3467 fi
3468
3469
3470 # Define the identity of the package.
3471 PACKAGE='libstdc++'
3472 VERSION='version-unused'
3473
3474
3475 # Some tools Automake needs.
3476
3477 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3478
3479
3480 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3481
3482
3483 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3484
3485
3486 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3487
3488
3489 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3490
3491 # We need awk for the "check" target. The system "awk" is bad on
3492 # some platforms.
3493 # Always define AMTAR for backward compatibility.
3494
3495 AMTAR=${AMTAR-"${am_missing_run}tar"}
3496
3497 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3498
3499
3500
3501
3502
3503
3504
3505
3506 # -fno-builtin must be present here so that a non-conflicting form of
3507 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3508
3509 save_CXXFLAGS="$CXXFLAGS"
3510 CXXFLAGS="$CXXFLAGS -fno-builtin"
3511 ac_ext=c
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 if test -n "$ac_tool_prefix"; then
3517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if test "${ac_cv_prog_CC+set}" = set; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 if test -n "$CC"; then
3525 ac_cv_prog_CC="$CC" # Let the user override the test.
3526 else
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3529 do
3530 IFS=$as_save_IFS
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3534 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 break 2
3537 fi
3538 done
3539 done
3540 IFS=$as_save_IFS
3541
3542 fi
3543 fi
3544 CC=$ac_cv_prog_CC
3545 if test -n "$CC"; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3547 $as_echo "$CC" >&6; }
3548 else
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3551 fi
3552
3553
3554 fi
3555 if test -z "$ac_cv_prog_CC"; then
3556 ac_ct_CC=$CC
3557 # Extract the first word of "gcc", so it can be a program name with args.
3558 set dummy gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$ac_ct_CC"; then
3565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_ac_ct_CC="gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3585 if test -n "$ac_ct_CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3587 $as_echo "$ac_ct_CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593 if test "x$ac_ct_CC" = x; then
3594 CC=""
3595 else
3596 case $cross_compiling:$ac_tool_warned in
3597 yes:)
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3600 ac_tool_warned=yes ;;
3601 esac
3602 CC=$ac_ct_CC
3603 fi
3604 else
3605 CC="$ac_cv_prog_CC"
3606 fi
3607
3608 if test -z "$CC"; then
3609 if test -n "$ac_tool_prefix"; then
3610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3611 set dummy ${ac_tool_prefix}cc; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if test "${ac_cv_prog_CC+set}" = set; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 if test -n "$CC"; then
3618 ac_cv_prog_CC="$CC" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3622 do
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_CC="${ac_tool_prefix}cc"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3630 fi
3631 done
3632 done
3633 IFS=$as_save_IFS
3634
3635 fi
3636 fi
3637 CC=$ac_cv_prog_CC
3638 if test -n "$CC"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3640 $as_echo "$CC" >&6; }
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3644 fi
3645
3646
3647 fi
3648 fi
3649 if test -z "$CC"; then
3650 # Extract the first word of "cc", so it can be a program name with args.
3651 set dummy cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 ac_prog_rejected=no
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3663 do
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3669 ac_prog_rejected=yes
3670 continue
3671 fi
3672 ac_cv_prog_CC="cc"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 break 2
3675 fi
3676 done
3677 done
3678 IFS=$as_save_IFS
3679
3680 if test $ac_prog_rejected = yes; then
3681 # We found a bogon in the path, so make sure we never use it.
3682 set dummy $ac_cv_prog_CC
3683 shift
3684 if test $# != 0; then
3685 # We chose a different compiler from the bogus one.
3686 # However, it has the same basename, so the bogon will be chosen
3687 # first if we set CC to just the basename; use the full file name.
3688 shift
3689 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3690 fi
3691 fi
3692 fi
3693 fi
3694 CC=$ac_cv_prog_CC
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3698 else
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3701 fi
3702
3703
3704 fi
3705 if test -z "$CC"; then
3706 if test -n "$ac_tool_prefix"; then
3707 for ac_prog in cl.exe
3708 do
3709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if test "${ac_cv_prog_CC+set}" = set; then :
3714 $as_echo_n "(cached) " >&6
3715 else
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3718 else
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3721 do
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 break 2
3729 fi
3730 done
3731 done
3732 IFS=$as_save_IFS
3733
3734 fi
3735 fi
3736 CC=$ac_cv_prog_CC
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3740 else
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3743 fi
3744
3745
3746 test -n "$CC" && break
3747 done
3748 fi
3749 if test -z "$CC"; then
3750 ac_ct_CC=$CC
3751 for ac_prog in cl.exe
3752 do
3753 # Extract the first word of "$ac_prog", so it can be a program name with args.
3754 set dummy $ac_prog; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 if test -n "$ac_ct_CC"; then
3761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3765 do
3766 IFS=$as_save_IFS
3767 test -z "$as_dir" && as_dir=.
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3770 ac_cv_prog_ac_ct_CC="$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 break 2
3773 fi
3774 done
3775 done
3776 IFS=$as_save_IFS
3777
3778 fi
3779 fi
3780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3781 if test -n "$ac_ct_CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3783 $as_echo "$ac_ct_CC" >&6; }
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3787 fi
3788
3789
3790 test -n "$ac_ct_CC" && break
3791 done
3792
3793 if test "x$ac_ct_CC" = x; then
3794 CC=""
3795 else
3796 case $cross_compiling:$ac_tool_warned in
3797 yes:)
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned=yes ;;
3801 esac
3802 CC=$ac_ct_CC
3803 fi
3804 fi
3805
3806 fi
3807
3808
3809 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 as_fn_error "no acceptable C compiler found in \$PATH
3812 See \`config.log' for more details." "$LINENO" 5; }
3813
3814 # Provide some information about the compiler.
3815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3816 set X $ac_compile
3817 ac_compiler=$2
3818 for ac_option in --version -v -V -qversion; do
3819 { { ac_try="$ac_compiler $ac_option >&5"
3820 case "(($ac_try" in
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3823 esac
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3827 ac_status=$?
3828 if test -s conftest.err; then
3829 sed '10a\
3830 ... rest of stderr output deleted ...
3831 10q' conftest.err >conftest.er1
3832 cat conftest.er1 >&5
3833 rm -f conftest.er1 conftest.err
3834 fi
3835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3836 test $ac_status = 0; }
3837 done
3838
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3841
3842 int
3843 main ()
3844 {
3845
3846 ;
3847 return 0;
3848 }
3849 _ACEOF
3850 # FIXME: Cleanup?
3851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3852 (eval $ac_link) 2>&5
3853 ac_status=$?
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }; then :
3856 gcc_no_link=no
3857 else
3858 gcc_no_link=yes
3859 fi
3860 if test x$gcc_no_link = xyes; then
3861 # Setting cross_compile will disable run tests; it will
3862 # also disable AC_CHECK_FILE but that's generally
3863 # correct if we can't link.
3864 cross_compiling=yes
3865 EXEEXT=
3866 else
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3869
3870 int
3871 main ()
3872 {
3873
3874 ;
3875 return 0;
3876 }
3877 _ACEOF
3878 ac_clean_files_save=$ac_clean_files
3879 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3880 # Try to create an executable without -o first, disregard a.out.
3881 # It will help us diagnose broken compilers, and finding out an intuition
3882 # of exeext.
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3884 $as_echo_n "checking for C compiler default output file name... " >&6; }
3885 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3886
3887 # The possible output files:
3888 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3889
3890 ac_rmfiles=
3891 for ac_file in $ac_files
3892 do
3893 case $ac_file in
3894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3895 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3896 esac
3897 done
3898 rm -f $ac_rmfiles
3899
3900 if { { ac_try="$ac_link_default"
3901 case "(($ac_try" in
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3904 esac
3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_link_default") 2>&5
3908 ac_status=$?
3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3910 test $ac_status = 0; }; then :
3911 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3912 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3913 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3914 # so that the user can short-circuit this test for compilers unknown to
3915 # Autoconf.
3916 for ac_file in $ac_files ''
3917 do
3918 test -f "$ac_file" || continue
3919 case $ac_file in
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3921 ;;
3922 [ab].out )
3923 # We found the default executable, but exeext='' is most
3924 # certainly right.
3925 break;;
3926 *.* )
3927 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3928 then :; else
3929 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3930 fi
3931 # We set ac_cv_exeext here because the later test for it is not
3932 # safe: cross compilers may not add the suffix if given an `-o'
3933 # argument, so we may need to know it at that point already.
3934 # Even if this section looks crufty: it has the advantage of
3935 # actually working.
3936 break;;
3937 * )
3938 break;;
3939 esac
3940 done
3941 test "$ac_cv_exeext" = no && ac_cv_exeext=
3942
3943 else
3944 ac_file=''
3945 fi
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3947 $as_echo "$ac_file" >&6; }
3948 if test -z "$ac_file"; then :
3949 $as_echo "$as_me: failed program was:" >&5
3950 sed 's/^/| /' conftest.$ac_ext >&5
3951
3952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3954 { as_fn_set_status 77
3955 as_fn_error "C compiler cannot create executables
3956 See \`config.log' for more details." "$LINENO" 5; }; }
3957 fi
3958 ac_exeext=$ac_cv_exeext
3959
3960 # Check that the compiler produces executables we can run. If not, either
3961 # the compiler is broken, or we cross compile.
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3963 $as_echo_n "checking whether the C compiler works... " >&6; }
3964 # If not cross compiling, check that we can run a simple program.
3965 if test "$cross_compiling" != yes; then
3966 if { ac_try='./$ac_file'
3967 { { case "(($ac_try" in
3968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3970 esac
3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3972 $as_echo "$ac_try_echo"; } >&5
3973 (eval "$ac_try") 2>&5
3974 ac_status=$?
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; }; }; then
3977 cross_compiling=no
3978 else
3979 if test "$cross_compiling" = maybe; then
3980 cross_compiling=yes
3981 else
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error "cannot run C compiled programs.
3985 If you meant to cross compile, use \`--host'.
3986 See \`config.log' for more details." "$LINENO" 5; }
3987 fi
3988 fi
3989 fi
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3991 $as_echo "yes" >&6; }
3992
3993 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3994 ac_clean_files=$ac_clean_files_save
3995 # Check that the compiler produces executables we can run. If not, either
3996 # the compiler is broken, or we cross compile.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3998 $as_echo_n "checking whether we are cross compiling... " >&6; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4000 $as_echo "$cross_compiling" >&6; }
4001
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4003 $as_echo_n "checking for suffix of executables... " >&6; }
4004 if { { ac_try="$ac_link"
4005 case "(($ac_try" in
4006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4008 esac
4009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010 $as_echo "$ac_try_echo"; } >&5
4011 (eval "$ac_link") 2>&5
4012 ac_status=$?
4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014 test $ac_status = 0; }; then :
4015 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4016 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4017 # work properly (i.e., refer to `conftest.exe'), while it won't with
4018 # `rm'.
4019 for ac_file in conftest.exe conftest conftest.*; do
4020 test -f "$ac_file" || continue
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4024 break;;
4025 * ) break;;
4026 esac
4027 done
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot compute suffix of executables: cannot compile and link
4032 See \`config.log' for more details." "$LINENO" 5; }
4033 fi
4034 rm -f conftest$ac_cv_exeext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4036 $as_echo "$ac_cv_exeext" >&6; }
4037
4038 rm -f conftest.$ac_ext
4039 EXEEXT=$ac_cv_exeext
4040 ac_exeext=$EXEEXT
4041 fi
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4043 $as_echo_n "checking for suffix of object files... " >&6; }
4044 if test "${ac_cv_objext+set}" = set; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4049
4050 int
4051 main ()
4052 {
4053
4054 ;
4055 return 0;
4056 }
4057 _ACEOF
4058 rm -f conftest.o conftest.obj
4059 if { { ac_try="$ac_compile"
4060 case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4063 esac
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_compile") 2>&5
4067 ac_status=$?
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }; then :
4070 for ac_file in conftest.o conftest.obj conftest.*; do
4071 test -f "$ac_file" || continue;
4072 case $ac_file in
4073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4074 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4075 break;;
4076 esac
4077 done
4078 else
4079 $as_echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.$ac_ext >&5
4081
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error "cannot compute suffix of object files: cannot compile
4085 See \`config.log' for more details." "$LINENO" 5; }
4086 fi
4087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4088 fi
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4090 $as_echo "$ac_cv_objext" >&6; }
4091 OBJEXT=$ac_cv_objext
4092 ac_objext=$OBJEXT
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4094 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4095 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4100
4101 int
4102 main ()
4103 {
4104 #ifndef __GNUC__
4105 choke me
4106 #endif
4107
4108 ;
4109 return 0;
4110 }
4111 _ACEOF
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113 ac_compiler_gnu=yes
4114 else
4115 ac_compiler_gnu=no
4116 fi
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4119
4120 fi
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4122 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4123 if test $ac_compiler_gnu = yes; then
4124 GCC=yes
4125 else
4126 GCC=
4127 fi
4128 ac_test_CFLAGS=${CFLAGS+set}
4129 ac_save_CFLAGS=$CFLAGS
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4131 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4132 if test "${ac_cv_prog_cc_g+set}" = set; then :
4133 $as_echo_n "(cached) " >&6
4134 else
4135 ac_save_c_werror_flag=$ac_c_werror_flag
4136 ac_c_werror_flag=yes
4137 ac_cv_prog_cc_g=no
4138 CFLAGS="-g"
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4141
4142 int
4143 main ()
4144 {
4145
4146 ;
4147 return 0;
4148 }
4149 _ACEOF
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 ac_cv_prog_cc_g=yes
4152 else
4153 CFLAGS=""
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4156
4157 int
4158 main ()
4159 {
4160
4161 ;
4162 return 0;
4163 }
4164 _ACEOF
4165 if ac_fn_c_try_compile "$LINENO"; then :
4166
4167 else
4168 ac_c_werror_flag=$ac_save_c_werror_flag
4169 CFLAGS="-g"
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4172
4173 int
4174 main ()
4175 {
4176
4177 ;
4178 return 0;
4179 }
4180 _ACEOF
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182 ac_cv_prog_cc_g=yes
4183 fi
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 fi
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 fi
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 ac_c_werror_flag=$ac_save_c_werror_flag
4190 fi
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4192 $as_echo "$ac_cv_prog_cc_g" >&6; }
4193 if test "$ac_test_CFLAGS" = set; then
4194 CFLAGS=$ac_save_CFLAGS
4195 elif test $ac_cv_prog_cc_g = yes; then
4196 if test "$GCC" = yes; then
4197 CFLAGS="-g -O2"
4198 else
4199 CFLAGS="-g"
4200 fi
4201 else
4202 if test "$GCC" = yes; then
4203 CFLAGS="-O2"
4204 else
4205 CFLAGS=
4206 fi
4207 fi
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4209 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4210 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 ac_cv_prog_cc_c89=no
4214 ac_save_CC=$CC
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217 #include <stdarg.h>
4218 #include <stdio.h>
4219 #include <sys/types.h>
4220 #include <sys/stat.h>
4221 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4222 struct buf { int x; };
4223 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4224 static char *e (p, i)
4225 char **p;
4226 int i;
4227 {
4228 return p[i];
4229 }
4230 static char *f (char * (*g) (char **, int), char **p, ...)
4231 {
4232 char *s;
4233 va_list v;
4234 va_start (v,p);
4235 s = g (p, va_arg (v,int));
4236 va_end (v);
4237 return s;
4238 }
4239
4240 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4241 function prototypes and stuff, but not '\xHH' hex character constants.
4242 These don't provoke an error unfortunately, instead are silently treated
4243 as 'x'. The following induces an error, until -std is added to get
4244 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4245 array size at least. It's necessary to write '\x00'==0 to get something
4246 that's true only with -std. */
4247 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4248
4249 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4250 inside strings and character constants. */
4251 #define FOO(x) 'x'
4252 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4253
4254 int test (int i, double x);
4255 struct s1 {int (*f) (int a);};
4256 struct s2 {int (*f) (double a);};
4257 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4258 int argc;
4259 char **argv;
4260 int
4261 main ()
4262 {
4263 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4264 ;
4265 return 0;
4266 }
4267 _ACEOF
4268 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4269 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4270 do
4271 CC="$ac_save_CC $ac_arg"
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273 ac_cv_prog_cc_c89=$ac_arg
4274 fi
4275 rm -f core conftest.err conftest.$ac_objext
4276 test "x$ac_cv_prog_cc_c89" != "xno" && break
4277 done
4278 rm -f conftest.$ac_ext
4279 CC=$ac_save_CC
4280
4281 fi
4282 # AC_CACHE_VAL
4283 case "x$ac_cv_prog_cc_c89" in
4284 x)
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4286 $as_echo "none needed" >&6; } ;;
4287 xno)
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4289 $as_echo "unsupported" >&6; } ;;
4290 *)
4291 CC="$CC $ac_cv_prog_cc_c89"
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4293 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4294 esac
4295 if test "x$ac_cv_prog_cc_c89" != xno; then :
4296
4297 fi
4298
4299 ac_ext=c
4300 ac_cpp='$CPP $CPPFLAGS'
4301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304
4305 ac_ext=cpp
4306 ac_cpp='$CXXCPP $CPPFLAGS'
4307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4310 if test -z "$CXX"; then
4311 if test -n "$CCC"; then
4312 CXX=$CCC
4313 else
4314 if test -n "$ac_tool_prefix"; then
4315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4316 do
4317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if test "${ac_cv_prog_CXX+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4323 else
4324 if test -n "$CXX"; then
4325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4326 else
4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 for as_dir in $PATH
4329 do
4330 IFS=$as_save_IFS
4331 test -z "$as_dir" && as_dir=.
4332 for ac_exec_ext in '' $ac_executable_extensions; do
4333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 break 2
4337 fi
4338 done
4339 done
4340 IFS=$as_save_IFS
4341
4342 fi
4343 fi
4344 CXX=$ac_cv_prog_CXX
4345 if test -n "$CXX"; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4347 $as_echo "$CXX" >&6; }
4348 else
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 fi
4352
4353
4354 test -n "$CXX" && break
4355 done
4356 fi
4357 if test -z "$CXX"; then
4358 ac_ct_CXX=$CXX
4359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4360 do
4361 # Extract the first word of "$ac_prog", so it can be a program name with args.
4362 set dummy $ac_prog; ac_word=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4367 else
4368 if test -n "$ac_ct_CXX"; then
4369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4370 else
4371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 for as_dir in $PATH
4373 do
4374 IFS=$as_save_IFS
4375 test -z "$as_dir" && as_dir=.
4376 for ac_exec_ext in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_ac_ct_CXX="$ac_prog"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 break 2
4381 fi
4382 done
4383 done
4384 IFS=$as_save_IFS
4385
4386 fi
4387 fi
4388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4389 if test -n "$ac_ct_CXX"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4391 $as_echo "$ac_ct_CXX" >&6; }
4392 else
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4395 fi
4396
4397
4398 test -n "$ac_ct_CXX" && break
4399 done
4400
4401 if test "x$ac_ct_CXX" = x; then
4402 CXX="g++"
4403 else
4404 case $cross_compiling:$ac_tool_warned in
4405 yes:)
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4408 ac_tool_warned=yes ;;
4409 esac
4410 CXX=$ac_ct_CXX
4411 fi
4412 fi
4413
4414 fi
4415 fi
4416 # Provide some information about the compiler.
4417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4418 set X $ac_compile
4419 ac_compiler=$2
4420 for ac_option in --version -v -V -qversion; do
4421 { { ac_try="$ac_compiler $ac_option >&5"
4422 case "(($ac_try" in
4423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4425 esac
4426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4427 $as_echo "$ac_try_echo"; } >&5
4428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4429 ac_status=$?
4430 if test -s conftest.err; then
4431 sed '10a\
4432 ... rest of stderr output deleted ...
4433 10q' conftest.err >conftest.er1
4434 cat conftest.er1 >&5
4435 rm -f conftest.er1 conftest.err
4436 fi
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 done
4440
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4443 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4448
4449 int
4450 main ()
4451 {
4452 #ifndef __GNUC__
4453 choke me
4454 #endif
4455
4456 ;
4457 return 0;
4458 }
4459 _ACEOF
4460 if ac_fn_cxx_try_compile "$LINENO"; then :
4461 ac_compiler_gnu=yes
4462 else
4463 ac_compiler_gnu=no
4464 fi
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4467
4468 fi
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4471 if test $ac_compiler_gnu = yes; then
4472 GXX=yes
4473 else
4474 GXX=
4475 fi
4476 ac_test_CXXFLAGS=${CXXFLAGS+set}
4477 ac_save_CXXFLAGS=$CXXFLAGS
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4480 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4484 ac_cxx_werror_flag=yes
4485 ac_cv_prog_cxx_g=no
4486 CXXFLAGS="-g"
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4489
4490 int
4491 main ()
4492 {
4493
4494 ;
4495 return 0;
4496 }
4497 _ACEOF
4498 if ac_fn_cxx_try_compile "$LINENO"; then :
4499 ac_cv_prog_cxx_g=yes
4500 else
4501 CXXFLAGS=""
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4504
4505 int
4506 main ()
4507 {
4508
4509 ;
4510 return 0;
4511 }
4512 _ACEOF
4513 if ac_fn_cxx_try_compile "$LINENO"; then :
4514
4515 else
4516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4517 CXXFLAGS="-g"
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4520
4521 int
4522 main ()
4523 {
4524
4525 ;
4526 return 0;
4527 }
4528 _ACEOF
4529 if ac_fn_cxx_try_compile "$LINENO"; then :
4530 ac_cv_prog_cxx_g=yes
4531 fi
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 fi
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 fi
4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4538 fi
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4541 if test "$ac_test_CXXFLAGS" = set; then
4542 CXXFLAGS=$ac_save_CXXFLAGS
4543 elif test $ac_cv_prog_cxx_g = yes; then
4544 if test "$GXX" = yes; then
4545 CXXFLAGS="-g -O2"
4546 else
4547 CXXFLAGS="-g"
4548 fi
4549 else
4550 if test "$GXX" = yes; then
4551 CXXFLAGS="-O2"
4552 else
4553 CXXFLAGS=
4554 fi
4555 fi
4556 ac_ext=c
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561
4562 CXXFLAGS="$save_CXXFLAGS"
4563
4564 # Runs configure.host, and assorted other critical bits. Sets
4565 # up critical shell variables.
4566
4567 ac_ext=c
4568 ac_cpp='$CPP $CPPFLAGS'
4569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4573 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4574 # On Suns, sometimes $CPP names a directory.
4575 if test -n "$CPP" && test -d "$CPP"; then
4576 CPP=
4577 fi
4578 if test -z "$CPP"; then
4579 if test "${ac_cv_prog_CPP+set}" = set; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 # Double quotes because CPP needs to be expanded
4583 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4584 do
4585 ac_preproc_ok=false
4586 for ac_c_preproc_warn_flag in '' yes
4587 do
4588 # Use a header file that comes with gcc, so configuring glibc
4589 # with a fresh cross-compiler works.
4590 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4591 # <limits.h> exists even on freestanding compilers.
4592 # On the NeXT, cc -E runs the code through the compiler's parser,
4593 # not just through cpp. "Syntax error" is here to catch this case.
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4596 #ifdef __STDC__
4597 # include <limits.h>
4598 #else
4599 # include <assert.h>
4600 #endif
4601 Syntax error
4602 _ACEOF
4603 if ac_fn_c_try_cpp "$LINENO"; then :
4604
4605 else
4606 # Broken: fails on valid input.
4607 continue
4608 fi
4609 rm -f conftest.err conftest.$ac_ext
4610
4611 # OK, works on sane cases. Now check whether nonexistent headers
4612 # can be detected and how.
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4615 #include <ac_nonexistent.h>
4616 _ACEOF
4617 if ac_fn_c_try_cpp "$LINENO"; then :
4618 # Broken: success on invalid input.
4619 continue
4620 else
4621 # Passes both tests.
4622 ac_preproc_ok=:
4623 break
4624 fi
4625 rm -f conftest.err conftest.$ac_ext
4626
4627 done
4628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4629 rm -f conftest.err conftest.$ac_ext
4630 if $ac_preproc_ok; then :
4631 break
4632 fi
4633
4634 done
4635 ac_cv_prog_CPP=$CPP
4636
4637 fi
4638 CPP=$ac_cv_prog_CPP
4639 else
4640 ac_cv_prog_CPP=$CPP
4641 fi
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4643 $as_echo "$CPP" >&6; }
4644 ac_preproc_ok=false
4645 for ac_c_preproc_warn_flag in '' yes
4646 do
4647 # Use a header file that comes with gcc, so configuring glibc
4648 # with a fresh cross-compiler works.
4649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4650 # <limits.h> exists even on freestanding compilers.
4651 # On the NeXT, cc -E runs the code through the compiler's parser,
4652 # not just through cpp. "Syntax error" is here to catch this case.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #ifdef __STDC__
4656 # include <limits.h>
4657 #else
4658 # include <assert.h>
4659 #endif
4660 Syntax error
4661 _ACEOF
4662 if ac_fn_c_try_cpp "$LINENO"; then :
4663
4664 else
4665 # Broken: fails on valid input.
4666 continue
4667 fi
4668 rm -f conftest.err conftest.$ac_ext
4669
4670 # OK, works on sane cases. Now check whether nonexistent headers
4671 # can be detected and how.
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4674 #include <ac_nonexistent.h>
4675 _ACEOF
4676 if ac_fn_c_try_cpp "$LINENO"; then :
4677 # Broken: success on invalid input.
4678 continue
4679 else
4680 # Passes both tests.
4681 ac_preproc_ok=:
4682 break
4683 fi
4684 rm -f conftest.err conftest.$ac_ext
4685
4686 done
4687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4688 rm -f conftest.err conftest.$ac_ext
4689 if $ac_preproc_ok; then :
4690
4691 else
4692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4695 See \`config.log' for more details." "$LINENO" 5; }
4696 fi
4697
4698 ac_ext=c
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703
4704
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4707 if test "${ac_cv_path_GREP+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 if test -z "$GREP"; then
4711 ac_path_GREP_found=false
4712 # Loop through the user's path and test for each of PROGNAME-LIST
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4715 do
4716 IFS=$as_save_IFS
4717 test -z "$as_dir" && as_dir=.
4718 for ac_prog in grep ggrep; do
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4721 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4722 # Check for GNU ac_path_GREP and select it if it is found.
4723 # Check for GNU $ac_path_GREP
4724 case `"$ac_path_GREP" --version 2>&1` in
4725 *GNU*)
4726 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4727 *)
4728 ac_count=0
4729 $as_echo_n 0123456789 >"conftest.in"
4730 while :
4731 do
4732 cat "conftest.in" "conftest.in" >"conftest.tmp"
4733 mv "conftest.tmp" "conftest.in"
4734 cp "conftest.in" "conftest.nl"
4735 $as_echo 'GREP' >> "conftest.nl"
4736 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738 as_fn_arith $ac_count + 1 && ac_count=$as_val
4739 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4740 # Best one so far, save it but keep looking for a better one
4741 ac_cv_path_GREP="$ac_path_GREP"
4742 ac_path_GREP_max=$ac_count
4743 fi
4744 # 10*(2^10) chars as input seems more than enough
4745 test $ac_count -gt 10 && break
4746 done
4747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4748 esac
4749
4750 $ac_path_GREP_found && break 3
4751 done
4752 done
4753 done
4754 IFS=$as_save_IFS
4755 if test -z "$ac_cv_path_GREP"; then
4756 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4757 fi
4758 else
4759 ac_cv_path_GREP=$GREP
4760 fi
4761
4762 fi
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4764 $as_echo "$ac_cv_path_GREP" >&6; }
4765 GREP="$ac_cv_path_GREP"
4766
4767
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4769 $as_echo_n "checking for egrep... " >&6; }
4770 if test "${ac_cv_path_EGREP+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4772 else
4773 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4774 then ac_cv_path_EGREP="$GREP -E"
4775 else
4776 if test -z "$EGREP"; then
4777 ac_path_EGREP_found=false
4778 # Loop through the user's path and test for each of PROGNAME-LIST
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4781 do
4782 IFS=$as_save_IFS
4783 test -z "$as_dir" && as_dir=.
4784 for ac_prog in egrep; do
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4787 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4788 # Check for GNU ac_path_EGREP and select it if it is found.
4789 # Check for GNU $ac_path_EGREP
4790 case `"$ac_path_EGREP" --version 2>&1` in
4791 *GNU*)
4792 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4793 *)
4794 ac_count=0
4795 $as_echo_n 0123456789 >"conftest.in"
4796 while :
4797 do
4798 cat "conftest.in" "conftest.in" >"conftest.tmp"
4799 mv "conftest.tmp" "conftest.in"
4800 cp "conftest.in" "conftest.nl"
4801 $as_echo 'EGREP' >> "conftest.nl"
4802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804 as_fn_arith $ac_count + 1 && ac_count=$as_val
4805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4806 # Best one so far, save it but keep looking for a better one
4807 ac_cv_path_EGREP="$ac_path_EGREP"
4808 ac_path_EGREP_max=$ac_count
4809 fi
4810 # 10*(2^10) chars as input seems more than enough
4811 test $ac_count -gt 10 && break
4812 done
4813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4814 esac
4815
4816 $ac_path_EGREP_found && break 3
4817 done
4818 done
4819 done
4820 IFS=$as_save_IFS
4821 if test -z "$ac_cv_path_EGREP"; then
4822 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823 fi
4824 else
4825 ac_cv_path_EGREP=$EGREP
4826 fi
4827
4828 fi
4829 fi
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4831 $as_echo "$ac_cv_path_EGREP" >&6; }
4832 EGREP="$ac_cv_path_EGREP"
4833
4834
4835
4836 # Keep these sync'd with the list in Makefile.am. The first provides an
4837 # expandable list at autoconf time; the second provides an expandable list
4838 # (i.e., shell variable) at configure time.
4839
4840 SUBDIRS='include libsupc++ python src doc po testsuite'
4841
4842 # These need to be absolute paths, yet at the same time need to
4843 # canonicalize only relative paths, because then amd will not unmount
4844 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4845 glibcxx_builddir=`${PWDCMD-pwd}`
4846 case $srcdir in
4847 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4848 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4849 esac
4850 toplevel_srcdir=${glibcxx_srcdir}/..
4851
4852
4853
4854
4855 # We use these options to decide which functions to include. They are
4856 # set from the top level.
4857
4858 # Check whether --with-target-subdir was given.
4859 if test "${with_target_subdir+set}" = set; then :
4860 withval=$with_target_subdir;
4861 fi
4862
4863
4864
4865 # Check whether --with-cross-host was given.
4866 if test "${with_cross_host+set}" = set; then :
4867 withval=$with_cross_host;
4868 fi
4869
4870
4871
4872 # Check whether --with-newlib was given.
4873 if test "${with_newlib+set}" = set; then :
4874 withval=$with_newlib;
4875 fi
4876
4877
4878 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4879 # available). Uncomment the next line to force a particular method.
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4881 $as_echo_n "checking whether ln -s works... " >&6; }
4882 LN_S=$as_ln_s
4883 if test "$LN_S" = "ln -s"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4885 $as_echo "yes" >&6; }
4886 else
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4888 $as_echo "no, using $LN_S" >&6; }
4889 fi
4890
4891 #LN_S='cp -p'
4892
4893 if test -n "$ac_tool_prefix"; then
4894 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4895 set dummy ${ac_tool_prefix}as; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if test "${ac_cv_prog_AS+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if test -n "$AS"; then
4902 ac_cv_prog_AS="$AS" # Let the user override the test.
4903 else
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH
4906 do
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911 ac_cv_prog_AS="${ac_tool_prefix}as"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2
4914 fi
4915 done
4916 done
4917 IFS=$as_save_IFS
4918
4919 fi
4920 fi
4921 AS=$ac_cv_prog_AS
4922 if test -n "$AS"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4924 $as_echo "$AS" >&6; }
4925 else
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4928 fi
4929
4930
4931 fi
4932 if test -z "$ac_cv_prog_AS"; then
4933 ac_ct_AS=$AS
4934 # Extract the first word of "as", so it can be a program name with args.
4935 set dummy as; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4940 else
4941 if test -n "$ac_ct_AS"; then
4942 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4943 else
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $PATH
4946 do
4947 IFS=$as_save_IFS
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_prog_ac_ct_AS="as"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 break 2
4954 fi
4955 done
4956 done
4957 IFS=$as_save_IFS
4958
4959 fi
4960 fi
4961 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4962 if test -n "$ac_ct_AS"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4964 $as_echo "$ac_ct_AS" >&6; }
4965 else
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4968 fi
4969
4970 if test "x$ac_ct_AS" = x; then
4971 AS=""
4972 else
4973 case $cross_compiling:$ac_tool_warned in
4974 yes:)
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4977 ac_tool_warned=yes ;;
4978 esac
4979 AS=$ac_ct_AS
4980 fi
4981 else
4982 AS="$ac_cv_prog_AS"
4983 fi
4984
4985 if test -n "$ac_tool_prefix"; then
4986 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4987 set dummy ${ac_tool_prefix}ar; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if test "${ac_cv_prog_AR+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test -n "$AR"; then
4994 ac_cv_prog_AR="$AR" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4998 do
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5003 ac_cv_prog_AR="${ac_tool_prefix}ar"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 break 2
5006 fi
5007 done
5008 done
5009 IFS=$as_save_IFS
5010
5011 fi
5012 fi
5013 AR=$ac_cv_prog_AR
5014 if test -n "$AR"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5016 $as_echo "$AR" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5020 fi
5021
5022
5023 fi
5024 if test -z "$ac_cv_prog_AR"; then
5025 ac_ct_AR=$AR
5026 # Extract the first word of "ar", so it can be a program name with args.
5027 set dummy ar; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 if test -n "$ac_ct_AR"; then
5034 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5038 do
5039 IFS=$as_save_IFS
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5043 ac_cv_prog_ac_ct_AR="ar"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 break 2
5046 fi
5047 done
5048 done
5049 IFS=$as_save_IFS
5050
5051 fi
5052 fi
5053 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5054 if test -n "$ac_ct_AR"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5056 $as_echo "$ac_ct_AR" >&6; }
5057 else
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5060 fi
5061
5062 if test "x$ac_ct_AR" = x; then
5063 AR=""
5064 else
5065 case $cross_compiling:$ac_tool_warned in
5066 yes:)
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned=yes ;;
5070 esac
5071 AR=$ac_ct_AR
5072 fi
5073 else
5074 AR="$ac_cv_prog_AR"
5075 fi
5076
5077 if test -n "$ac_tool_prefix"; then
5078 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5079 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$RANLIB"; then
5086 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5090 do
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5098 fi
5099 done
5100 done
5101 IFS=$as_save_IFS
5102
5103 fi
5104 fi
5105 RANLIB=$ac_cv_prog_RANLIB
5106 if test -n "$RANLIB"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5108 $as_echo "$RANLIB" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5112 fi
5113
5114
5115 fi
5116 if test -z "$ac_cv_prog_RANLIB"; then
5117 ac_ct_RANLIB=$RANLIB
5118 # Extract the first word of "ranlib", so it can be a program name with args.
5119 set dummy ranlib; ac_word=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5124 else
5125 if test -n "$ac_ct_RANLIB"; then
5126 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5130 do
5131 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_ac_ct_RANLIB="ranlib"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2
5138 fi
5139 done
5140 done
5141 IFS=$as_save_IFS
5142
5143 fi
5144 fi
5145 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5146 if test -n "$ac_ct_RANLIB"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5148 $as_echo "$ac_ct_RANLIB" >&6; }
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5152 fi
5153
5154 if test "x$ac_ct_RANLIB" = x; then
5155 RANLIB="ranlib-not-found-in-path-error"
5156 else
5157 case $cross_compiling:$ac_tool_warned in
5158 yes:)
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5161 ac_tool_warned=yes ;;
5162 esac
5163 RANLIB=$ac_ct_RANLIB
5164 fi
5165 else
5166 RANLIB="$ac_cv_prog_RANLIB"
5167 fi
5168
5169
5170
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5172 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5173 # Check whether --enable-maintainer-mode was given.
5174 if test "${enable_maintainer_mode+set}" = set; then :
5175 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5176 else
5177 USE_MAINTAINER_MODE=no
5178 fi
5179
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5181 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5182 if test $USE_MAINTAINER_MODE = yes; then
5183 MAINTAINER_MODE_TRUE=
5184 MAINTAINER_MODE_FALSE='#'
5185 else
5186 MAINTAINER_MODE_TRUE='#'
5187 MAINTAINER_MODE_FALSE=
5188 fi
5189
5190 MAINT=$MAINTAINER_MODE_TRUE
5191
5192
5193
5194 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5195 # which are themselves conditionally expanded.
5196 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5197 ## other macros from doing the same. This should be automated.) -pme
5198
5199 # Check for C library flavor since Linux platforms use different configuration
5200 # directories depending on the C library in use.
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5203
5204 #include <stdio.h>
5205 #if __UCLIBC__
5206 _using_uclibc
5207 #endif
5208
5209 _ACEOF
5210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5211 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5212 uclibc=yes
5213 else
5214 uclibc=no
5215 fi
5216 rm -f conftest*
5217
5218
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5221
5222 #include <stdio.h>
5223 #if __BIONIC__
5224 _using_bionic
5225 #endif
5226
5227 _ACEOF
5228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5229 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5230 bionic=yes
5231 else
5232 bionic=no
5233 fi
5234 rm -f conftest*
5235
5236
5237 # Find platform-specific directories containing configuration info.
5238 # Also possibly modify flags used elsewhere, as needed by the platform.
5239
5240 . $glibcxx_srcdir/configure.host
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5242 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5244 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5245
5246
5247
5248 if test "x${with_newlib}" != "xyes"; then
5249 enable_dlopen=yes
5250
5251
5252
5253 fi
5254 case `pwd` in
5255 *\ * | *\ *)
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5257 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5258 esac
5259
5260
5261
5262 macro_version='2.2.7a'
5263 macro_revision='1.3134'
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277 ltmain="$ac_aux_dir/ltmain.sh"
5278
5279 # Backslashify metacharacters that are still active within
5280 # double-quoted strings.
5281 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5282
5283 # Same as above, but do not quote variable references.
5284 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5285
5286 # Sed substitution to delay expansion of an escaped shell variable in a
5287 # double_quote_subst'ed string.
5288 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5289
5290 # Sed substitution to delay expansion of an escaped single quote.
5291 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5292
5293 # Sed substitution to avoid accidental globbing in evaled expressions
5294 no_glob_subst='s/\*/\\\*/g'
5295
5296 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5297 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5298 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5299
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5301 $as_echo_n "checking how to print strings... " >&6; }
5302 # Test print first, because it will be a builtin if present.
5303 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5304 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5305 ECHO='print -r --'
5306 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5307 ECHO='printf %s\n'
5308 else
5309 # Use this function as a fallback that always works.
5310 func_fallback_echo ()
5311 {
5312 eval 'cat <<_LTECHO_EOF
5313 $1
5314 _LTECHO_EOF'
5315 }
5316 ECHO='func_fallback_echo'
5317 fi
5318
5319 # func_echo_all arg...
5320 # Invoke $ECHO with all args, space-separated.
5321 func_echo_all ()
5322 {
5323 $ECHO ""
5324 }
5325
5326 case "$ECHO" in
5327 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5328 $as_echo "printf" >&6; } ;;
5329 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5330 $as_echo "print -r" >&6; } ;;
5331 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5332 $as_echo "cat" >&6; } ;;
5333 esac
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5349 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5350 if test "${ac_cv_path_SED+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5354 for ac_i in 1 2 3 4 5 6 7; do
5355 ac_script="$ac_script$as_nl$ac_script"
5356 done
5357 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5358 { ac_script=; unset ac_script;}
5359 if test -z "$SED"; then
5360 ac_path_SED_found=false
5361 # Loop through the user's path and test for each of PROGNAME-LIST
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5364 do
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_prog in sed gsed; do
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5370 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5371 # Check for GNU ac_path_SED and select it if it is found.
5372 # Check for GNU $ac_path_SED
5373 case `"$ac_path_SED" --version 2>&1` in
5374 *GNU*)
5375 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5376 *)
5377 ac_count=0
5378 $as_echo_n 0123456789 >"conftest.in"
5379 while :
5380 do
5381 cat "conftest.in" "conftest.in" >"conftest.tmp"
5382 mv "conftest.tmp" "conftest.in"
5383 cp "conftest.in" "conftest.nl"
5384 $as_echo '' >> "conftest.nl"
5385 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5387 as_fn_arith $ac_count + 1 && ac_count=$as_val
5388 if test $ac_count -gt ${ac_path_SED_max-0}; then
5389 # Best one so far, save it but keep looking for a better one
5390 ac_cv_path_SED="$ac_path_SED"
5391 ac_path_SED_max=$ac_count
5392 fi
5393 # 10*(2^10) chars as input seems more than enough
5394 test $ac_count -gt 10 && break
5395 done
5396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5397 esac
5398
5399 $ac_path_SED_found && break 3
5400 done
5401 done
5402 done
5403 IFS=$as_save_IFS
5404 if test -z "$ac_cv_path_SED"; then
5405 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5406 fi
5407 else
5408 ac_cv_path_SED=$SED
5409 fi
5410
5411 fi
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5413 $as_echo "$ac_cv_path_SED" >&6; }
5414 SED="$ac_cv_path_SED"
5415 rm -f conftest.sed
5416
5417 test -z "$SED" && SED=sed
5418 Xsed="$SED -e 1s/^X//"
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5431 $as_echo_n "checking for fgrep... " >&6; }
5432 if test "${ac_cv_path_FGREP+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5435 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5436 then ac_cv_path_FGREP="$GREP -F"
5437 else
5438 if test -z "$FGREP"; then
5439 ac_path_FGREP_found=false
5440 # Loop through the user's path and test for each of PROGNAME-LIST
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5443 do
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_prog in fgrep; do
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5449 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5450 # Check for GNU ac_path_FGREP and select it if it is found.
5451 # Check for GNU $ac_path_FGREP
5452 case `"$ac_path_FGREP" --version 2>&1` in
5453 *GNU*)
5454 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5455 *)
5456 ac_count=0
5457 $as_echo_n 0123456789 >"conftest.in"
5458 while :
5459 do
5460 cat "conftest.in" "conftest.in" >"conftest.tmp"
5461 mv "conftest.tmp" "conftest.in"
5462 cp "conftest.in" "conftest.nl"
5463 $as_echo 'FGREP' >> "conftest.nl"
5464 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5466 as_fn_arith $ac_count + 1 && ac_count=$as_val
5467 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5468 # Best one so far, save it but keep looking for a better one
5469 ac_cv_path_FGREP="$ac_path_FGREP"
5470 ac_path_FGREP_max=$ac_count
5471 fi
5472 # 10*(2^10) chars as input seems more than enough
5473 test $ac_count -gt 10 && break
5474 done
5475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5476 esac
5477
5478 $ac_path_FGREP_found && break 3
5479 done
5480 done
5481 done
5482 IFS=$as_save_IFS
5483 if test -z "$ac_cv_path_FGREP"; then
5484 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5485 fi
5486 else
5487 ac_cv_path_FGREP=$FGREP
5488 fi
5489
5490 fi
5491 fi
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5493 $as_echo "$ac_cv_path_FGREP" >&6; }
5494 FGREP="$ac_cv_path_FGREP"
5495
5496
5497 test -z "$GREP" && GREP=grep
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517 # Check whether --with-gnu-ld was given.
5518 if test "${with_gnu_ld+set}" = set; then :
5519 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5520 else
5521 with_gnu_ld=no
5522 fi
5523
5524 ac_prog=ld
5525 if test "$GCC" = yes; then
5526 # Check if gcc -print-prog-name=ld gives a path.
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5528 $as_echo_n "checking for ld used by $CC... " >&6; }
5529 case $host in
5530 *-*-mingw*)
5531 # gcc leaves a trailing carriage return which upsets mingw
5532 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5533 *)
5534 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5535 esac
5536 case $ac_prog in
5537 # Accept absolute paths.
5538 [\\/]* | ?:[\\/]*)
5539 re_direlt='/[^/][^/]*/\.\./'
5540 # Canonicalize the pathname of ld
5541 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5542 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5543 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5544 done
5545 test -z "$LD" && LD="$ac_prog"
5546 ;;
5547 "")
5548 # If it fails, then pretend we aren't using GCC.
5549 ac_prog=ld
5550 ;;
5551 *)
5552 # If it is relative, then search for the first ld in PATH.
5553 with_gnu_ld=unknown
5554 ;;
5555 esac
5556 elif test "$with_gnu_ld" = yes; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5558 $as_echo_n "checking for GNU ld... " >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5561 $as_echo_n "checking for non-GNU ld... " >&6; }
5562 fi
5563 if test "${lt_cv_path_LD+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -z "$LD"; then
5567 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5568 for ac_dir in $PATH; do
5569 IFS="$lt_save_ifs"
5570 test -z "$ac_dir" && ac_dir=.
5571 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5572 lt_cv_path_LD="$ac_dir/$ac_prog"
5573 # Check to see if the program is GNU ld. I'd rather use --version,
5574 # but apparently some variants of GNU ld only accept -v.
5575 # Break only if it was the GNU/non-GNU ld that we prefer.
5576 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5577 *GNU* | *'with BFD'*)
5578 test "$with_gnu_ld" != no && break
5579 ;;
5580 *)
5581 test "$with_gnu_ld" != yes && break
5582 ;;
5583 esac
5584 fi
5585 done
5586 IFS="$lt_save_ifs"
5587 else
5588 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5589 fi
5590 fi
5591
5592 LD="$lt_cv_path_LD"
5593 if test -n "$LD"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5595 $as_echo "$LD" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5599 fi
5600 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5602 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5603 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5607 case `$LD -v 2>&1 </dev/null` in
5608 *GNU* | *'with BFD'*)
5609 lt_cv_prog_gnu_ld=yes
5610 ;;
5611 *)
5612 lt_cv_prog_gnu_ld=no
5613 ;;
5614 esac
5615 fi
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5617 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5618 with_gnu_ld=$lt_cv_prog_gnu_ld
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5629 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5630 if test "${lt_cv_path_NM+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5632 else
5633 if test -n "$NM"; then
5634 # Let the user override the test.
5635 lt_cv_path_NM="$NM"
5636 else
5637 lt_nm_to_check="${ac_tool_prefix}nm"
5638 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5639 lt_nm_to_check="$lt_nm_to_check nm"
5640 fi
5641 for lt_tmp_nm in $lt_nm_to_check; do
5642 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5643 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5644 IFS="$lt_save_ifs"
5645 test -z "$ac_dir" && ac_dir=.
5646 tmp_nm="$ac_dir/$lt_tmp_nm"
5647 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5648 # Check to see if the nm accepts a BSD-compat flag.
5649 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5650 # nm: unknown option "B" ignored
5651 # Tru64's nm complains that /dev/null is an invalid object file
5652 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5653 */dev/null* | *'Invalid file or object type'*)
5654 lt_cv_path_NM="$tmp_nm -B"
5655 break
5656 ;;
5657 *)
5658 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5659 */dev/null*)
5660 lt_cv_path_NM="$tmp_nm -p"
5661 break
5662 ;;
5663 *)
5664 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5665 continue # so that we can try to find one that supports BSD flags
5666 ;;
5667 esac
5668 ;;
5669 esac
5670 fi
5671 done
5672 IFS="$lt_save_ifs"
5673 done
5674 : ${lt_cv_path_NM=no}
5675 fi
5676 fi
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5678 $as_echo "$lt_cv_path_NM" >&6; }
5679 if test "$lt_cv_path_NM" != "no"; then
5680 NM="$lt_cv_path_NM"
5681 else
5682 # Didn't find any BSD compatible name lister, look for dumpbin.
5683 if test -n "$DUMPBIN"; then :
5684 # Let the user override the test.
5685 else
5686 if test -n "$ac_tool_prefix"; then
5687 for ac_prog in dumpbin "link -dump"
5688 do
5689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$DUMPBIN"; then
5697 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5701 do
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5709 fi
5710 done
5711 done
5712 IFS=$as_save_IFS
5713
5714 fi
5715 fi
5716 DUMPBIN=$ac_cv_prog_DUMPBIN
5717 if test -n "$DUMPBIN"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5719 $as_echo "$DUMPBIN" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5723 fi
5724
5725
5726 test -n "$DUMPBIN" && break
5727 done
5728 fi
5729 if test -z "$DUMPBIN"; then
5730 ac_ct_DUMPBIN=$DUMPBIN
5731 for ac_prog in dumpbin "link -dump"
5732 do
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy $ac_prog; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 if test -n "$ac_ct_DUMPBIN"; then
5741 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5745 do
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5750 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5753 fi
5754 done
5755 done
5756 IFS=$as_save_IFS
5757
5758 fi
5759 fi
5760 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5761 if test -n "$ac_ct_DUMPBIN"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5763 $as_echo "$ac_ct_DUMPBIN" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5767 fi
5768
5769
5770 test -n "$ac_ct_DUMPBIN" && break
5771 done
5772
5773 if test "x$ac_ct_DUMPBIN" = x; then
5774 DUMPBIN=":"
5775 else
5776 case $cross_compiling:$ac_tool_warned in
5777 yes:)
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5780 ac_tool_warned=yes ;;
5781 esac
5782 DUMPBIN=$ac_ct_DUMPBIN
5783 fi
5784 fi
5785
5786 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5787 *COFF*)
5788 DUMPBIN="$DUMPBIN -symbols"
5789 ;;
5790 *)
5791 DUMPBIN=:
5792 ;;
5793 esac
5794 fi
5795
5796 if test "$DUMPBIN" != ":"; then
5797 NM="$DUMPBIN"
5798 fi
5799 fi
5800 test -z "$NM" && NM=nm
5801
5802
5803
5804
5805
5806
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5808 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5809 if test "${lt_cv_nm_interface+set}" = set; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 lt_cv_nm_interface="BSD nm"
5813 echo "int some_variable = 0;" > conftest.$ac_ext
5814 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5815 (eval "$ac_compile" 2>conftest.err)
5816 cat conftest.err >&5
5817 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5818 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5819 cat conftest.err >&5
5820 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5821 cat conftest.out >&5
5822 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5823 lt_cv_nm_interface="MS dumpbin"
5824 fi
5825 rm -f conftest*
5826 fi
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5828 $as_echo "$lt_cv_nm_interface" >&6; }
5829
5830 # find the maximum length of command line arguments
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5832 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5833 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 i=0
5837 teststring="ABCD"
5838
5839 case $build_os in
5840 msdosdjgpp*)
5841 # On DJGPP, this test can blow up pretty badly due to problems in libc
5842 # (any single argument exceeding 2000 bytes causes a buffer overrun
5843 # during glob expansion). Even if it were fixed, the result of this
5844 # check would be larger than it should be.
5845 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5846 ;;
5847
5848 gnu*)
5849 # Under GNU Hurd, this test is not required because there is
5850 # no limit to the length of command line arguments.
5851 # Libtool will interpret -1 as no limit whatsoever
5852 lt_cv_sys_max_cmd_len=-1;
5853 ;;
5854
5855 cygwin* | mingw* | cegcc*)
5856 # On Win9x/ME, this test blows up -- it succeeds, but takes
5857 # about 5 minutes as the teststring grows exponentially.
5858 # Worse, since 9x/ME are not pre-emptively multitasking,
5859 # you end up with a "frozen" computer, even though with patience
5860 # the test eventually succeeds (with a max line length of 256k).
5861 # Instead, let's just punt: use the minimum linelength reported by
5862 # all of the supported platforms: 8192 (on NT/2K/XP).
5863 lt_cv_sys_max_cmd_len=8192;
5864 ;;
5865
5866 mint*)
5867 # On MiNT this can take a long time and run out of memory.
5868 lt_cv_sys_max_cmd_len=8192;
5869 ;;
5870
5871 amigaos*)
5872 # On AmigaOS with pdksh, this test takes hours, literally.
5873 # So we just punt and use a minimum line length of 8192.
5874 lt_cv_sys_max_cmd_len=8192;
5875 ;;
5876
5877 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5878 # This has been around since 386BSD, at least. Likely further.
5879 if test -x /sbin/sysctl; then
5880 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5881 elif test -x /usr/sbin/sysctl; then
5882 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5883 else
5884 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5885 fi
5886 # And add a safety zone
5887 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5888 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5889 ;;
5890
5891 interix*)
5892 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5893 lt_cv_sys_max_cmd_len=196608
5894 ;;
5895
5896 osf*)
5897 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5898 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5899 # nice to cause kernel panics so lets avoid the loop below.
5900 # First set a reasonable default.
5901 lt_cv_sys_max_cmd_len=16384
5902 #
5903 if test -x /sbin/sysconfig; then
5904 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5905 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5906 esac
5907 fi
5908 ;;
5909 sco3.2v5*)
5910 lt_cv_sys_max_cmd_len=102400
5911 ;;
5912 sysv5* | sco5v6* | sysv4.2uw2*)
5913 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5914 if test -n "$kargmax"; then
5915 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5916 else
5917 lt_cv_sys_max_cmd_len=32768
5918 fi
5919 ;;
5920 *)
5921 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5922 if test -n "$lt_cv_sys_max_cmd_len"; then
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5924 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5925 else
5926 # Make teststring a little bigger before we do anything with it.
5927 # a 1K string should be a reasonable start.
5928 for i in 1 2 3 4 5 6 7 8 ; do
5929 teststring=$teststring$teststring
5930 done
5931 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5932 # If test is not a shell built-in, we'll probably end up computing a
5933 # maximum length that is only half of the actual maximum length, but
5934 # we can't tell.
5935 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5936 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5937 test $i != 17 # 1/2 MB should be enough
5938 do
5939 i=`expr $i + 1`
5940 teststring=$teststring$teststring
5941 done
5942 # Only check the string length outside the loop.
5943 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5944 teststring=
5945 # Add a significant safety factor because C++ compilers can tack on
5946 # massive amounts of additional arguments before passing them to the
5947 # linker. It appears as though 1/2 is a usable value.
5948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5949 fi
5950 ;;
5951 esac
5952
5953 fi
5954
5955 if test -n $lt_cv_sys_max_cmd_len ; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5957 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5960 $as_echo "none" >&6; }
5961 fi
5962 max_cmd_len=$lt_cv_sys_max_cmd_len
5963
5964
5965
5966
5967
5968
5969 : ${CP="cp -f"}
5970 : ${MV="mv -f"}
5971 : ${RM="rm -f"}
5972
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5974 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5975 # Try some XSI features
5976 xsi_shell=no
5977 ( _lt_dummy="a/b/c"
5978 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5979 = c,a/b,, \
5980 && eval 'test $(( 1 + 1 )) -eq 2 \
5981 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5982 && xsi_shell=yes
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5984 $as_echo "$xsi_shell" >&6; }
5985
5986
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5988 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5989 lt_shell_append=no
5990 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5991 >/dev/null 2>&1 \
5992 && lt_shell_append=yes
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5994 $as_echo "$lt_shell_append" >&6; }
5995
5996
5997 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5998 lt_unset=unset
5999 else
6000 lt_unset=false
6001 fi
6002
6003
6004
6005
6006
6007 # test EBCDIC or ASCII
6008 case `echo X|tr X '\101'` in
6009 A) # ASCII based system
6010 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6011 lt_SP2NL='tr \040 \012'
6012 lt_NL2SP='tr \015\012 \040\040'
6013 ;;
6014 *) # EBCDIC based system
6015 lt_SP2NL='tr \100 \n'
6016 lt_NL2SP='tr \r\n \100\100'
6017 ;;
6018 esac
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6029 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6030 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 lt_cv_ld_reload_flag='-r'
6034 fi
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6036 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6037 reload_flag=$lt_cv_ld_reload_flag
6038 case $reload_flag in
6039 "" | " "*) ;;
6040 *) reload_flag=" $reload_flag" ;;
6041 esac
6042 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6043 case $host_os in
6044 darwin*)
6045 if test "$GCC" = yes; then
6046 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6047 else
6048 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6049 fi
6050 ;;
6051 esac
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061 if test -n "$ac_tool_prefix"; then
6062 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6063 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$OBJDUMP"; then
6070 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6074 do
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6082 fi
6083 done
6084 done
6085 IFS=$as_save_IFS
6086
6087 fi
6088 fi
6089 OBJDUMP=$ac_cv_prog_OBJDUMP
6090 if test -n "$OBJDUMP"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6092 $as_echo "$OBJDUMP" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6096 fi
6097
6098
6099 fi
6100 if test -z "$ac_cv_prog_OBJDUMP"; then
6101 ac_ct_OBJDUMP=$OBJDUMP
6102 # Extract the first word of "objdump", so it can be a program name with args.
6103 set dummy objdump; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6107 $as_echo_n "(cached) " >&6
6108 else
6109 if test -n "$ac_ct_OBJDUMP"; then
6110 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6111 else
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 for as_dir in $PATH
6114 do
6115 IFS=$as_save_IFS
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 break 2
6122 fi
6123 done
6124 done
6125 IFS=$as_save_IFS
6126
6127 fi
6128 fi
6129 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6130 if test -n "$ac_ct_OBJDUMP"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6132 $as_echo "$ac_ct_OBJDUMP" >&6; }
6133 else
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6136 fi
6137
6138 if test "x$ac_ct_OBJDUMP" = x; then
6139 OBJDUMP="false"
6140 else
6141 case $cross_compiling:$ac_tool_warned in
6142 yes:)
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6145 ac_tool_warned=yes ;;
6146 esac
6147 OBJDUMP=$ac_ct_OBJDUMP
6148 fi
6149 else
6150 OBJDUMP="$ac_cv_prog_OBJDUMP"
6151 fi
6152
6153 test -z "$OBJDUMP" && OBJDUMP=objdump
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6164 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6165 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 lt_cv_file_magic_cmd='$MAGIC_CMD'
6169 lt_cv_file_magic_test_file=
6170 lt_cv_deplibs_check_method='unknown'
6171 # Need to set the preceding variable on all platforms that support
6172 # interlibrary dependencies.
6173 # 'none' -- dependencies not supported.
6174 # `unknown' -- same as none, but documents that we really don't know.
6175 # 'pass_all' -- all dependencies passed with no checks.
6176 # 'test_compile' -- check by making test program.
6177 # 'file_magic [[regex]]' -- check by looking for files in library path
6178 # which responds to the $file_magic_cmd with a given extended regex.
6179 # If you have `file' or equivalent on your system and you're not sure
6180 # whether `pass_all' will *always* work, you probably want this one.
6181
6182 case $host_os in
6183 aix[4-9]*)
6184 lt_cv_deplibs_check_method=pass_all
6185 ;;
6186
6187 beos*)
6188 lt_cv_deplibs_check_method=pass_all
6189 ;;
6190
6191 bsdi[45]*)
6192 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6193 lt_cv_file_magic_cmd='/usr/bin/file -L'
6194 lt_cv_file_magic_test_file=/shlib/libc.so
6195 ;;
6196
6197 cygwin*)
6198 # func_win32_libid is a shell function defined in ltmain.sh
6199 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6200 lt_cv_file_magic_cmd='func_win32_libid'
6201 ;;
6202
6203 mingw* | pw32*)
6204 # Base MSYS/MinGW do not provide the 'file' command needed by
6205 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6206 # unless we find 'file', for example because we are cross-compiling.
6207 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6208 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6209 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6210 lt_cv_file_magic_cmd='func_win32_libid'
6211 else
6212 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6213 lt_cv_file_magic_cmd='$OBJDUMP -f'
6214 fi
6215 ;;
6216
6217 cegcc*)
6218 # use the weaker test based on 'objdump'. See mingw*.
6219 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6220 lt_cv_file_magic_cmd='$OBJDUMP -f'
6221 ;;
6222
6223 darwin* | rhapsody*)
6224 lt_cv_deplibs_check_method=pass_all
6225 ;;
6226
6227 freebsd* | dragonfly*)
6228 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6229 case $host_cpu in
6230 i*86 )
6231 # Not sure whether the presence of OpenBSD here was a mistake.
6232 # Let's accept both of them until this is cleared up.
6233 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6234 lt_cv_file_magic_cmd=/usr/bin/file
6235 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6236 ;;
6237 esac
6238 else
6239 lt_cv_deplibs_check_method=pass_all
6240 fi
6241 ;;
6242
6243 gnu*)
6244 lt_cv_deplibs_check_method=pass_all
6245 ;;
6246
6247 haiku*)
6248 lt_cv_deplibs_check_method=pass_all
6249 ;;
6250
6251 hpux10.20* | hpux11*)
6252 lt_cv_file_magic_cmd=/usr/bin/file
6253 case $host_cpu in
6254 ia64*)
6255 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6256 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6257 ;;
6258 hppa*64*)
6259 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]'
6260 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6261 ;;
6262 *)
6263 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6264 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6265 ;;
6266 esac
6267 ;;
6268
6269 interix[3-9]*)
6270 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6271 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6272 ;;
6273
6274 irix5* | irix6* | nonstopux*)
6275 case $LD in
6276 *-32|*"-32 ") libmagic=32-bit;;
6277 *-n32|*"-n32 ") libmagic=N32;;
6278 *-64|*"-64 ") libmagic=64-bit;;
6279 *) libmagic=never-match;;
6280 esac
6281 lt_cv_deplibs_check_method=pass_all
6282 ;;
6283
6284 # This must be Linux ELF.
6285 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6286 lt_cv_deplibs_check_method=pass_all
6287 ;;
6288
6289 netbsd*)
6290 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6292 else
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6294 fi
6295 ;;
6296
6297 newos6*)
6298 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6299 lt_cv_file_magic_cmd=/usr/bin/file
6300 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6301 ;;
6302
6303 *nto* | *qnx*)
6304 lt_cv_deplibs_check_method=pass_all
6305 ;;
6306
6307 openbsd*)
6308 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6310 else
6311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6312 fi
6313 ;;
6314
6315 osf3* | osf4* | osf5*)
6316 lt_cv_deplibs_check_method=pass_all
6317 ;;
6318
6319 rdos*)
6320 lt_cv_deplibs_check_method=pass_all
6321 ;;
6322
6323 solaris*)
6324 lt_cv_deplibs_check_method=pass_all
6325 ;;
6326
6327 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6328 lt_cv_deplibs_check_method=pass_all
6329 ;;
6330
6331 sysv4 | sysv4.3*)
6332 case $host_vendor in
6333 motorola)
6334 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]'
6335 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6336 ;;
6337 ncr)
6338 lt_cv_deplibs_check_method=pass_all
6339 ;;
6340 sequent)
6341 lt_cv_file_magic_cmd='/bin/file'
6342 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6343 ;;
6344 sni)
6345 lt_cv_file_magic_cmd='/bin/file'
6346 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6347 lt_cv_file_magic_test_file=/lib/libc.so
6348 ;;
6349 siemens)
6350 lt_cv_deplibs_check_method=pass_all
6351 ;;
6352 pc)
6353 lt_cv_deplibs_check_method=pass_all
6354 ;;
6355 esac
6356 ;;
6357
6358 tpf*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361 esac
6362
6363 fi
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6365 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6366 file_magic_cmd=$lt_cv_file_magic_cmd
6367 deplibs_check_method=$lt_cv_deplibs_check_method
6368 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381 if test -n "$ac_tool_prefix"; then
6382 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6383 set dummy ${ac_tool_prefix}ar; ac_word=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if test "${ac_cv_prog_AR+set}" = set; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 if test -n "$AR"; then
6390 ac_cv_prog_AR="$AR" # Let the user override the test.
6391 else
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 for as_dir in $PATH
6394 do
6395 IFS=$as_save_IFS
6396 test -z "$as_dir" && as_dir=.
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399 ac_cv_prog_AR="${ac_tool_prefix}ar"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 break 2
6402 fi
6403 done
6404 done
6405 IFS=$as_save_IFS
6406
6407 fi
6408 fi
6409 AR=$ac_cv_prog_AR
6410 if test -n "$AR"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6412 $as_echo "$AR" >&6; }
6413 else
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6416 fi
6417
6418
6419 fi
6420 if test -z "$ac_cv_prog_AR"; then
6421 ac_ct_AR=$AR
6422 # Extract the first word of "ar", so it can be a program name with args.
6423 set dummy ar; ac_word=$2
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 $as_echo_n "checking for $ac_word... " >&6; }
6426 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6427 $as_echo_n "(cached) " >&6
6428 else
6429 if test -n "$ac_ct_AR"; then
6430 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6431 else
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH
6434 do
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6439 ac_cv_prog_ac_ct_AR="ar"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6442 fi
6443 done
6444 done
6445 IFS=$as_save_IFS
6446
6447 fi
6448 fi
6449 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6450 if test -n "$ac_ct_AR"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6452 $as_echo "$ac_ct_AR" >&6; }
6453 else
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6455 $as_echo "no" >&6; }
6456 fi
6457
6458 if test "x$ac_ct_AR" = x; then
6459 AR="false"
6460 else
6461 case $cross_compiling:$ac_tool_warned in
6462 yes:)
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6465 ac_tool_warned=yes ;;
6466 esac
6467 AR=$ac_ct_AR
6468 fi
6469 else
6470 AR="$ac_cv_prog_AR"
6471 fi
6472
6473 test -z "$AR" && AR=ar
6474 test -z "$AR_FLAGS" && AR_FLAGS=cru
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486 if test -n "$ac_tool_prefix"; then
6487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6488 set dummy ${ac_tool_prefix}strip; ac_word=$2
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490 $as_echo_n "checking for $ac_word... " >&6; }
6491 if test "${ac_cv_prog_STRIP+set}" = set; then :
6492 $as_echo_n "(cached) " >&6
6493 else
6494 if test -n "$STRIP"; then
6495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6496 else
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 for as_dir in $PATH
6499 do
6500 IFS=$as_save_IFS
6501 test -z "$as_dir" && as_dir=.
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506 break 2
6507 fi
6508 done
6509 done
6510 IFS=$as_save_IFS
6511
6512 fi
6513 fi
6514 STRIP=$ac_cv_prog_STRIP
6515 if test -n "$STRIP"; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6517 $as_echo "$STRIP" >&6; }
6518 else
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520 $as_echo "no" >&6; }
6521 fi
6522
6523
6524 fi
6525 if test -z "$ac_cv_prog_STRIP"; then
6526 ac_ct_STRIP=$STRIP
6527 # Extract the first word of "strip", so it can be a program name with args.
6528 set dummy strip; ac_word=$2
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530 $as_echo_n "checking for $ac_word... " >&6; }
6531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6532 $as_echo_n "(cached) " >&6
6533 else
6534 if test -n "$ac_ct_STRIP"; then
6535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6536 else
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 for as_dir in $PATH
6539 do
6540 IFS=$as_save_IFS
6541 test -z "$as_dir" && as_dir=.
6542 for ac_exec_ext in '' $ac_executable_extensions; do
6543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6544 ac_cv_prog_ac_ct_STRIP="strip"
6545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 break 2
6547 fi
6548 done
6549 done
6550 IFS=$as_save_IFS
6551
6552 fi
6553 fi
6554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6555 if test -n "$ac_ct_STRIP"; then
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6557 $as_echo "$ac_ct_STRIP" >&6; }
6558 else
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560 $as_echo "no" >&6; }
6561 fi
6562
6563 if test "x$ac_ct_STRIP" = x; then
6564 STRIP=":"
6565 else
6566 case $cross_compiling:$ac_tool_warned in
6567 yes:)
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6570 ac_tool_warned=yes ;;
6571 esac
6572 STRIP=$ac_ct_STRIP
6573 fi
6574 else
6575 STRIP="$ac_cv_prog_STRIP"
6576 fi
6577
6578 test -z "$STRIP" && STRIP=:
6579
6580
6581
6582
6583
6584
6585 if test -n "$ac_tool_prefix"; then
6586 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6587 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$RANLIB"; then
6594 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6598 do
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6603 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6606 fi
6607 done
6608 done
6609 IFS=$as_save_IFS
6610
6611 fi
6612 fi
6613 RANLIB=$ac_cv_prog_RANLIB
6614 if test -n "$RANLIB"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6616 $as_echo "$RANLIB" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6620 fi
6621
6622
6623 fi
6624 if test -z "$ac_cv_prog_RANLIB"; then
6625 ac_ct_RANLIB=$RANLIB
6626 # Extract the first word of "ranlib", so it can be a program name with args.
6627 set dummy ranlib; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 $as_echo_n "checking for $ac_word... " >&6; }
6630 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6631 $as_echo_n "(cached) " >&6
6632 else
6633 if test -n "$ac_ct_RANLIB"; then
6634 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6638 do
6639 IFS=$as_save_IFS
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6643 ac_cv_prog_ac_ct_RANLIB="ranlib"
6644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 break 2
6646 fi
6647 done
6648 done
6649 IFS=$as_save_IFS
6650
6651 fi
6652 fi
6653 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6654 if test -n "$ac_ct_RANLIB"; then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6656 $as_echo "$ac_ct_RANLIB" >&6; }
6657 else
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 $as_echo "no" >&6; }
6660 fi
6661
6662 if test "x$ac_ct_RANLIB" = x; then
6663 RANLIB=":"
6664 else
6665 case $cross_compiling:$ac_tool_warned in
6666 yes:)
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6669 ac_tool_warned=yes ;;
6670 esac
6671 RANLIB=$ac_ct_RANLIB
6672 fi
6673 else
6674 RANLIB="$ac_cv_prog_RANLIB"
6675 fi
6676
6677 test -z "$RANLIB" && RANLIB=:
6678
6679
6680
6681
6682
6683
6684 # Determine commands to create old-style static archives.
6685 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6686 old_postinstall_cmds='chmod 644 $oldlib'
6687 old_postuninstall_cmds=
6688
6689 if test -n "$RANLIB"; then
6690 case $host_os in
6691 openbsd*)
6692 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6693 ;;
6694 *)
6695 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6696 ;;
6697 esac
6698 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6699 fi
6700
6701 case $host_os in
6702 darwin*)
6703 lock_old_archive_extraction=yes ;;
6704 *)
6705 lock_old_archive_extraction=no ;;
6706 esac
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746 # If no C compiler was specified, use CC.
6747 LTCC=${LTCC-"$CC"}
6748
6749 # If no C compiler flags were specified, use CFLAGS.
6750 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6751
6752 # Allow CC to be a program name with arguments.
6753 compiler=$CC
6754
6755
6756 # Check for command to grab the raw symbol name followed by C symbol from nm.
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6758 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6759 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762
6763 # These are sane defaults that work on at least a few old systems.
6764 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6765
6766 # Character class describing NM global symbol codes.
6767 symcode='[BCDEGRST]'
6768
6769 # Regexp to match symbols that can be accessed directly from C.
6770 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6771
6772 # Define system-specific variables.
6773 case $host_os in
6774 aix*)
6775 symcode='[BCDT]'
6776 ;;
6777 cygwin* | mingw* | pw32* | cegcc*)
6778 symcode='[ABCDGISTW]'
6779 ;;
6780 hpux*)
6781 if test "$host_cpu" = ia64; then
6782 symcode='[ABCDEGRST]'
6783 fi
6784 ;;
6785 irix* | nonstopux*)
6786 symcode='[BCDEGRST]'
6787 ;;
6788 osf*)
6789 symcode='[BCDEGQRST]'
6790 ;;
6791 solaris*)
6792 symcode='[BDRT]'
6793 ;;
6794 sco3.2v5*)
6795 symcode='[DT]'
6796 ;;
6797 sysv4.2uw2*)
6798 symcode='[DT]'
6799 ;;
6800 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6801 symcode='[ABDT]'
6802 ;;
6803 sysv4)
6804 symcode='[DFNSTU]'
6805 ;;
6806 esac
6807
6808 # If we're using GNU nm, then use its standard symbol codes.
6809 case `$NM -V 2>&1` in
6810 *GNU* | *'with BFD'*)
6811 symcode='[ABCDGIRSTW]' ;;
6812 esac
6813
6814 # Transform an extracted symbol line into a proper C declaration.
6815 # Some systems (esp. on ia64) link data and code symbols differently,
6816 # so use this general approach.
6817 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6818
6819 # Transform an extracted symbol line into symbol name and symbol address
6820 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6821 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'"
6822
6823 # Handle CRLF in mingw tool chain
6824 opt_cr=
6825 case $build_os in
6826 mingw*)
6827 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6828 ;;
6829 esac
6830
6831 # Try without a prefix underscore, then with it.
6832 for ac_symprfx in "" "_"; do
6833
6834 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6835 symxfrm="\\1 $ac_symprfx\\2 \\2"
6836
6837 # Write the raw and C identifiers.
6838 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6839 # Fake it for dumpbin and say T for any non-static function
6840 # and D for any global variable.
6841 # Also find C++ and __fastcall symbols from MSVC++,
6842 # which start with @ or ?.
6843 lt_cv_sys_global_symbol_pipe="$AWK '"\
6844 " {last_section=section; section=\$ 3};"\
6845 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6846 " \$ 0!~/External *\|/{next};"\
6847 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6848 " {if(hide[section]) next};"\
6849 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6850 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6851 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6852 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6853 " ' prfx=^$ac_symprfx"
6854 else
6855 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6856 fi
6857
6858 # Check to see that the pipe works correctly.
6859 pipe_works=no
6860
6861 rm -f conftest*
6862 cat > conftest.$ac_ext <<_LT_EOF
6863 #ifdef __cplusplus
6864 extern "C" {
6865 #endif
6866 char nm_test_var;
6867 void nm_test_func(void);
6868 void nm_test_func(void){}
6869 #ifdef __cplusplus
6870 }
6871 #endif
6872 int main(){nm_test_var='a';nm_test_func();return(0);}
6873 _LT_EOF
6874
6875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6876 (eval $ac_compile) 2>&5
6877 ac_status=$?
6878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6879 test $ac_status = 0; }; then
6880 # Now try to grab the symbols.
6881 nlist=conftest.nm
6882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6883 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6884 ac_status=$?
6885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6886 test $ac_status = 0; } && test -s "$nlist"; then
6887 # Try sorting and uniquifying the output.
6888 if sort "$nlist" | uniq > "$nlist"T; then
6889 mv -f "$nlist"T "$nlist"
6890 else
6891 rm -f "$nlist"T
6892 fi
6893
6894 # Make sure that we snagged all the symbols we need.
6895 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6896 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6897 cat <<_LT_EOF > conftest.$ac_ext
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6901
6902 _LT_EOF
6903 # Now generate the symbol file.
6904 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6905
6906 cat <<_LT_EOF >> conftest.$ac_ext
6907
6908 /* The mapping between symbol names and symbols. */
6909 const struct {
6910 const char *name;
6911 void *address;
6912 }
6913 lt__PROGRAM__LTX_preloaded_symbols[] =
6914 {
6915 { "@PROGRAM@", (void *) 0 },
6916 _LT_EOF
6917 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6918 cat <<\_LT_EOF >> conftest.$ac_ext
6919 {0, (void *) 0}
6920 };
6921
6922 /* This works around a problem in FreeBSD linker */
6923 #ifdef FREEBSD_WORKAROUND
6924 static const void *lt_preloaded_setup() {
6925 return lt__PROGRAM__LTX_preloaded_symbols;
6926 }
6927 #endif
6928
6929 #ifdef __cplusplus
6930 }
6931 #endif
6932 _LT_EOF
6933 # Now try linking the two files.
6934 mv conftest.$ac_objext conftstm.$ac_objext
6935 lt_save_LIBS="$LIBS"
6936 lt_save_CFLAGS="$CFLAGS"
6937 LIBS="conftstm.$ac_objext"
6938 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6940 (eval $ac_link) 2>&5
6941 ac_status=$?
6942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6943 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6944 pipe_works=yes
6945 fi
6946 LIBS="$lt_save_LIBS"
6947 CFLAGS="$lt_save_CFLAGS"
6948 else
6949 echo "cannot find nm_test_func in $nlist" >&5
6950 fi
6951 else
6952 echo "cannot find nm_test_var in $nlist" >&5
6953 fi
6954 else
6955 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6956 fi
6957 else
6958 echo "$progname: failed program was:" >&5
6959 cat conftest.$ac_ext >&5
6960 fi
6961 rm -rf conftest* conftst*
6962
6963 # Do not use the global_symbol_pipe unless it works.
6964 if test "$pipe_works" = yes; then
6965 break
6966 else
6967 lt_cv_sys_global_symbol_pipe=
6968 fi
6969 done
6970
6971 fi
6972
6973 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6974 lt_cv_sys_global_symbol_to_cdecl=
6975 fi
6976 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6978 $as_echo "failed" >&6; }
6979 else
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6981 $as_echo "ok" >&6; }
6982 fi
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005 # Check whether --enable-libtool-lock was given.
7006 if test "${enable_libtool_lock+set}" = set; then :
7007 enableval=$enable_libtool_lock;
7008 fi
7009
7010 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7011
7012 # Some flags need to be propagated to the compiler or linker for good
7013 # libtool support.
7014 case $host in
7015 ia64-*-hpux*)
7016 # Find out which ABI we are using.
7017 echo 'int i;' > conftest.$ac_ext
7018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7019 (eval $ac_compile) 2>&5
7020 ac_status=$?
7021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7022 test $ac_status = 0; }; then
7023 case `/usr/bin/file conftest.$ac_objext` in
7024 *ELF-32*)
7025 HPUX_IA64_MODE="32"
7026 ;;
7027 *ELF-64*)
7028 HPUX_IA64_MODE="64"
7029 ;;
7030 esac
7031 fi
7032 rm -rf conftest*
7033 ;;
7034 *-*-irix6*)
7035 # Find out which ABI we are using.
7036 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7038 (eval $ac_compile) 2>&5
7039 ac_status=$?
7040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7041 test $ac_status = 0; }; then
7042 if test "$lt_cv_prog_gnu_ld" = yes; then
7043 case `/usr/bin/file conftest.$ac_objext` in
7044 *32-bit*)
7045 LD="${LD-ld} -melf32bsmip"
7046 ;;
7047 *N32*)
7048 LD="${LD-ld} -melf32bmipn32"
7049 ;;
7050 *64-bit*)
7051 LD="${LD-ld} -melf64bmip"
7052 ;;
7053 esac
7054 else
7055 case `/usr/bin/file conftest.$ac_objext` in
7056 *32-bit*)
7057 LD="${LD-ld} -32"
7058 ;;
7059 *N32*)
7060 LD="${LD-ld} -n32"
7061 ;;
7062 *64-bit*)
7063 LD="${LD-ld} -64"
7064 ;;
7065 esac
7066 fi
7067 fi
7068 rm -rf conftest*
7069 ;;
7070
7071 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7072 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7073 # Find out which ABI we are using.
7074 echo 'int i;' > conftest.$ac_ext
7075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7076 (eval $ac_compile) 2>&5
7077 ac_status=$?
7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079 test $ac_status = 0; }; then
7080 case `/usr/bin/file conftest.o` in
7081 *32-bit*)
7082 case $host in
7083 x86_64-*kfreebsd*-gnu)
7084 LD="${LD-ld} -m elf_i386_fbsd"
7085 ;;
7086 x86_64-*linux*)
7087 LD="${LD-ld} -m elf_i386"
7088 ;;
7089 ppc64-*linux*|powerpc64-*linux*)
7090 LD="${LD-ld} -m elf32ppclinux"
7091 ;;
7092 s390x-*linux*)
7093 LD="${LD-ld} -m elf_s390"
7094 ;;
7095 sparc64-*linux*)
7096 LD="${LD-ld} -m elf32_sparc"
7097 ;;
7098 esac
7099 ;;
7100 *64-bit*)
7101 case $host in
7102 x86_64-*kfreebsd*-gnu)
7103 LD="${LD-ld} -m elf_x86_64_fbsd"
7104 ;;
7105 x86_64-*linux*)
7106 LD="${LD-ld} -m elf_x86_64"
7107 ;;
7108 ppc*-*linux*|powerpc*-*linux*)
7109 LD="${LD-ld} -m elf64ppc"
7110 ;;
7111 s390*-*linux*|s390*-*tpf*)
7112 LD="${LD-ld} -m elf64_s390"
7113 ;;
7114 sparc*-*linux*)
7115 LD="${LD-ld} -m elf64_sparc"
7116 ;;
7117 esac
7118 ;;
7119 esac
7120 fi
7121 rm -rf conftest*
7122 ;;
7123
7124 *-*-sco3.2v5*)
7125 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7126 SAVE_CFLAGS="$CFLAGS"
7127 CFLAGS="$CFLAGS -belf"
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7129 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7130 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 ac_ext=c
7134 ac_cpp='$CPP $CPPFLAGS'
7135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7138
7139 if test x$gcc_no_link = xyes; then
7140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7141 fi
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7144
7145 int
7146 main ()
7147 {
7148
7149 ;
7150 return 0;
7151 }
7152 _ACEOF
7153 if ac_fn_c_try_link "$LINENO"; then :
7154 lt_cv_cc_needs_belf=yes
7155 else
7156 lt_cv_cc_needs_belf=no
7157 fi
7158 rm -f core conftest.err conftest.$ac_objext \
7159 conftest$ac_exeext conftest.$ac_ext
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165
7166 fi
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7168 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7169 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7170 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7171 CFLAGS="$SAVE_CFLAGS"
7172 fi
7173 ;;
7174 sparc*-*solaris*)
7175 # Find out which ABI we are using.
7176 echo 'int i;' > conftest.$ac_ext
7177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7178 (eval $ac_compile) 2>&5
7179 ac_status=$?
7180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7181 test $ac_status = 0; }; then
7182 case `/usr/bin/file conftest.o` in
7183 *64-bit*)
7184 case $lt_cv_prog_gnu_ld in
7185 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7186 *)
7187 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7188 LD="${LD-ld} -64"
7189 fi
7190 ;;
7191 esac
7192 ;;
7193 esac
7194 fi
7195 rm -rf conftest*
7196 ;;
7197 esac
7198
7199 need_locks="$enable_libtool_lock"
7200
7201
7202 case $host_os in
7203 rhapsody* | darwin*)
7204 if test -n "$ac_tool_prefix"; then
7205 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7206 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208 $as_echo_n "checking for $ac_word... " >&6; }
7209 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7210 $as_echo_n "(cached) " >&6
7211 else
7212 if test -n "$DSYMUTIL"; then
7213 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7214 else
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 for as_dir in $PATH
7217 do
7218 IFS=$as_save_IFS
7219 test -z "$as_dir" && as_dir=.
7220 for ac_exec_ext in '' $ac_executable_extensions; do
7221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7222 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 break 2
7225 fi
7226 done
7227 done
7228 IFS=$as_save_IFS
7229
7230 fi
7231 fi
7232 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7233 if test -n "$DSYMUTIL"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7235 $as_echo "$DSYMUTIL" >&6; }
7236 else
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 $as_echo "no" >&6; }
7239 fi
7240
7241
7242 fi
7243 if test -z "$ac_cv_prog_DSYMUTIL"; then
7244 ac_ct_DSYMUTIL=$DSYMUTIL
7245 # Extract the first word of "dsymutil", so it can be a program name with args.
7246 set dummy dsymutil; ac_word=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 $as_echo_n "checking for $ac_word... " >&6; }
7249 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7250 $as_echo_n "(cached) " >&6
7251 else
7252 if test -n "$ac_ct_DSYMUTIL"; then
7253 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7254 else
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 for as_dir in $PATH
7257 do
7258 IFS=$as_save_IFS
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7262 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 break 2
7265 fi
7266 done
7267 done
7268 IFS=$as_save_IFS
7269
7270 fi
7271 fi
7272 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7273 if test -n "$ac_ct_DSYMUTIL"; then
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7275 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7276 else
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 $as_echo "no" >&6; }
7279 fi
7280
7281 if test "x$ac_ct_DSYMUTIL" = x; then
7282 DSYMUTIL=":"
7283 else
7284 case $cross_compiling:$ac_tool_warned in
7285 yes:)
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7288 ac_tool_warned=yes ;;
7289 esac
7290 DSYMUTIL=$ac_ct_DSYMUTIL
7291 fi
7292 else
7293 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7294 fi
7295
7296 if test -n "$ac_tool_prefix"; then
7297 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7298 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7302 $as_echo_n "(cached) " >&6
7303 else
7304 if test -n "$NMEDIT"; then
7305 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7309 do
7310 IFS=$as_save_IFS
7311 test -z "$as_dir" && as_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 break 2
7317 fi
7318 done
7319 done
7320 IFS=$as_save_IFS
7321
7322 fi
7323 fi
7324 NMEDIT=$ac_cv_prog_NMEDIT
7325 if test -n "$NMEDIT"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7327 $as_echo "$NMEDIT" >&6; }
7328 else
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7331 fi
7332
7333
7334 fi
7335 if test -z "$ac_cv_prog_NMEDIT"; then
7336 ac_ct_NMEDIT=$NMEDIT
7337 # Extract the first word of "nmedit", so it can be a program name with args.
7338 set dummy nmedit; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7342 $as_echo_n "(cached) " >&6
7343 else
7344 if test -n "$ac_ct_NMEDIT"; then
7345 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7349 do
7350 IFS=$as_save_IFS
7351 test -z "$as_dir" && as_dir=.
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7354 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 break 2
7357 fi
7358 done
7359 done
7360 IFS=$as_save_IFS
7361
7362 fi
7363 fi
7364 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7365 if test -n "$ac_ct_NMEDIT"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7367 $as_echo "$ac_ct_NMEDIT" >&6; }
7368 else
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7371 fi
7372
7373 if test "x$ac_ct_NMEDIT" = x; then
7374 NMEDIT=":"
7375 else
7376 case $cross_compiling:$ac_tool_warned in
7377 yes:)
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380 ac_tool_warned=yes ;;
7381 esac
7382 NMEDIT=$ac_ct_NMEDIT
7383 fi
7384 else
7385 NMEDIT="$ac_cv_prog_NMEDIT"
7386 fi
7387
7388 if test -n "$ac_tool_prefix"; then
7389 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7390 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_LIPO+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$LIPO"; then
7397 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7401 do
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7409 fi
7410 done
7411 done
7412 IFS=$as_save_IFS
7413
7414 fi
7415 fi
7416 LIPO=$ac_cv_prog_LIPO
7417 if test -n "$LIPO"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7419 $as_echo "$LIPO" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7423 fi
7424
7425
7426 fi
7427 if test -z "$ac_cv_prog_LIPO"; then
7428 ac_ct_LIPO=$LIPO
7429 # Extract the first word of "lipo", so it can be a program name with args.
7430 set dummy lipo; ac_word=$2
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432 $as_echo_n "checking for $ac_word... " >&6; }
7433 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7434 $as_echo_n "(cached) " >&6
7435 else
7436 if test -n "$ac_ct_LIPO"; then
7437 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7438 else
7439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440 for as_dir in $PATH
7441 do
7442 IFS=$as_save_IFS
7443 test -z "$as_dir" && as_dir=.
7444 for ac_exec_ext in '' $ac_executable_extensions; do
7445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7446 ac_cv_prog_ac_ct_LIPO="lipo"
7447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 break 2
7449 fi
7450 done
7451 done
7452 IFS=$as_save_IFS
7453
7454 fi
7455 fi
7456 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7457 if test -n "$ac_ct_LIPO"; then
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7459 $as_echo "$ac_ct_LIPO" >&6; }
7460 else
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 $as_echo "no" >&6; }
7463 fi
7464
7465 if test "x$ac_ct_LIPO" = x; then
7466 LIPO=":"
7467 else
7468 case $cross_compiling:$ac_tool_warned in
7469 yes:)
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7472 ac_tool_warned=yes ;;
7473 esac
7474 LIPO=$ac_ct_LIPO
7475 fi
7476 else
7477 LIPO="$ac_cv_prog_LIPO"
7478 fi
7479
7480 if test -n "$ac_tool_prefix"; then
7481 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7482 set dummy ${ac_tool_prefix}otool; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$OTOOL"; then
7489 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7493 do
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7501 fi
7502 done
7503 done
7504 IFS=$as_save_IFS
7505
7506 fi
7507 fi
7508 OTOOL=$ac_cv_prog_OTOOL
7509 if test -n "$OTOOL"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7511 $as_echo "$OTOOL" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7515 fi
7516
7517
7518 fi
7519 if test -z "$ac_cv_prog_OTOOL"; then
7520 ac_ct_OTOOL=$OTOOL
7521 # Extract the first word of "otool", so it can be a program name with args.
7522 set dummy otool; ac_word=$2
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524 $as_echo_n "checking for $ac_word... " >&6; }
7525 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7526 $as_echo_n "(cached) " >&6
7527 else
7528 if test -n "$ac_ct_OTOOL"; then
7529 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7530 else
7531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 for as_dir in $PATH
7533 do
7534 IFS=$as_save_IFS
7535 test -z "$as_dir" && as_dir=.
7536 for ac_exec_ext in '' $ac_executable_extensions; do
7537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538 ac_cv_prog_ac_ct_OTOOL="otool"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 break 2
7541 fi
7542 done
7543 done
7544 IFS=$as_save_IFS
7545
7546 fi
7547 fi
7548 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7549 if test -n "$ac_ct_OTOOL"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7551 $as_echo "$ac_ct_OTOOL" >&6; }
7552 else
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554 $as_echo "no" >&6; }
7555 fi
7556
7557 if test "x$ac_ct_OTOOL" = x; then
7558 OTOOL=":"
7559 else
7560 case $cross_compiling:$ac_tool_warned in
7561 yes:)
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7564 ac_tool_warned=yes ;;
7565 esac
7566 OTOOL=$ac_ct_OTOOL
7567 fi
7568 else
7569 OTOOL="$ac_cv_prog_OTOOL"
7570 fi
7571
7572 if test -n "$ac_tool_prefix"; then
7573 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7574 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$OTOOL64"; then
7581 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7585 do
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7593 fi
7594 done
7595 done
7596 IFS=$as_save_IFS
7597
7598 fi
7599 fi
7600 OTOOL64=$ac_cv_prog_OTOOL64
7601 if test -n "$OTOOL64"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7603 $as_echo "$OTOOL64" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7607 fi
7608
7609
7610 fi
7611 if test -z "$ac_cv_prog_OTOOL64"; then
7612 ac_ct_OTOOL64=$OTOOL64
7613 # Extract the first word of "otool64", so it can be a program name with args.
7614 set dummy otool64; ac_word=$2
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616 $as_echo_n "checking for $ac_word... " >&6; }
7617 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7618 $as_echo_n "(cached) " >&6
7619 else
7620 if test -n "$ac_ct_OTOOL64"; then
7621 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7622 else
7623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624 for as_dir in $PATH
7625 do
7626 IFS=$as_save_IFS
7627 test -z "$as_dir" && as_dir=.
7628 for ac_exec_ext in '' $ac_executable_extensions; do
7629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7630 ac_cv_prog_ac_ct_OTOOL64="otool64"
7631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 break 2
7633 fi
7634 done
7635 done
7636 IFS=$as_save_IFS
7637
7638 fi
7639 fi
7640 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7641 if test -n "$ac_ct_OTOOL64"; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7643 $as_echo "$ac_ct_OTOOL64" >&6; }
7644 else
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7647 fi
7648
7649 if test "x$ac_ct_OTOOL64" = x; then
7650 OTOOL64=":"
7651 else
7652 case $cross_compiling:$ac_tool_warned in
7653 yes:)
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7656 ac_tool_warned=yes ;;
7657 esac
7658 OTOOL64=$ac_ct_OTOOL64
7659 fi
7660 else
7661 OTOOL64="$ac_cv_prog_OTOOL64"
7662 fi
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7691 $as_echo_n "checking for -single_module linker flag... " >&6; }
7692 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7693 $as_echo_n "(cached) " >&6
7694 else
7695 lt_cv_apple_cc_single_mod=no
7696 if test -z "${LT_MULTI_MODULE}"; then
7697 # By default we will add the -single_module flag. You can override
7698 # by either setting the environment variable LT_MULTI_MODULE
7699 # non-empty at configure time, or by adding -multi_module to the
7700 # link flags.
7701 rm -rf libconftest.dylib*
7702 echo "int foo(void){return 1;}" > conftest.c
7703 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7704 -dynamiclib -Wl,-single_module conftest.c" >&5
7705 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7706 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7707 _lt_result=$?
7708 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7709 lt_cv_apple_cc_single_mod=yes
7710 else
7711 cat conftest.err >&5
7712 fi
7713 rm -rf libconftest.dylib*
7714 rm -f conftest.*
7715 fi
7716 fi
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7718 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7720 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7721 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 lt_cv_ld_exported_symbols_list=no
7725 save_LDFLAGS=$LDFLAGS
7726 echo "_main" > conftest.sym
7727 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7728 if test x$gcc_no_link = xyes; then
7729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7730 fi
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733
7734 int
7735 main ()
7736 {
7737
7738 ;
7739 return 0;
7740 }
7741 _ACEOF
7742 if ac_fn_c_try_link "$LINENO"; then :
7743 lt_cv_ld_exported_symbols_list=yes
7744 else
7745 lt_cv_ld_exported_symbols_list=no
7746 fi
7747 rm -f core conftest.err conftest.$ac_objext \
7748 conftest$ac_exeext conftest.$ac_ext
7749 LDFLAGS="$save_LDFLAGS"
7750
7751 fi
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7753 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7755 $as_echo_n "checking for -force_load linker flag... " >&6; }
7756 if test "${lt_cv_ld_force_load+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7758 else
7759 lt_cv_ld_force_load=no
7760 cat > conftest.c << _LT_EOF
7761 int forced_loaded() { return 2;}
7762 _LT_EOF
7763 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7764 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7765 echo "$AR cru libconftest.a conftest.o" >&5
7766 $AR cru libconftest.a conftest.o 2>&5
7767 cat > conftest.c << _LT_EOF
7768 int main() { return 0;}
7769 _LT_EOF
7770 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7771 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7772 _lt_result=$?
7773 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7774 lt_cv_ld_force_load=yes
7775 else
7776 cat conftest.err >&5
7777 fi
7778 rm -f conftest.err libconftest.a conftest conftest.c
7779 rm -rf conftest.dSYM
7780
7781 fi
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7783 $as_echo "$lt_cv_ld_force_load" >&6; }
7784 case $host_os in
7785 rhapsody* | darwin1.[012])
7786 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7787 darwin1.*)
7788 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7789 darwin*) # darwin 5.x on
7790 # if running on 10.5 or later, the deployment target defaults
7791 # to the OS version, if on x86, and 10.4, the deployment
7792 # target defaults to 10.4. Don't you love it?
7793 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7794 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7795 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7796 10.[012]*)
7797 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7798 10.*)
7799 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7800 esac
7801 ;;
7802 esac
7803 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7804 _lt_dar_single_mod='$single_module'
7805 fi
7806 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7807 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7808 else
7809 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7810 fi
7811 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7812 _lt_dsymutil='~$DSYMUTIL $lib || :'
7813 else
7814 _lt_dsymutil=
7815 fi
7816 ;;
7817 esac
7818
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7820 $as_echo_n "checking for ANSI C header files... " >&6; }
7821 if test "${ac_cv_header_stdc+set}" = set; then :
7822 $as_echo_n "(cached) " >&6
7823 else
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */
7826 #include <stdlib.h>
7827 #include <stdarg.h>
7828 #include <string.h>
7829 #include <float.h>
7830
7831 int
7832 main ()
7833 {
7834
7835 ;
7836 return 0;
7837 }
7838 _ACEOF
7839 if ac_fn_c_try_compile "$LINENO"; then :
7840 ac_cv_header_stdc=yes
7841 else
7842 ac_cv_header_stdc=no
7843 fi
7844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7845
7846 if test $ac_cv_header_stdc = yes; then
7847 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7850 #include <string.h>
7851
7852 _ACEOF
7853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7854 $EGREP "memchr" >/dev/null 2>&1; then :
7855
7856 else
7857 ac_cv_header_stdc=no
7858 fi
7859 rm -f conftest*
7860
7861 fi
7862
7863 if test $ac_cv_header_stdc = yes; then
7864 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7867 #include <stdlib.h>
7868
7869 _ACEOF
7870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7871 $EGREP "free" >/dev/null 2>&1; then :
7872
7873 else
7874 ac_cv_header_stdc=no
7875 fi
7876 rm -f conftest*
7877
7878 fi
7879
7880 if test $ac_cv_header_stdc = yes; then
7881 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7882 if test "$cross_compiling" = yes; then :
7883 :
7884 else
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7887 #include <ctype.h>
7888 #include <stdlib.h>
7889 #if ((' ' & 0x0FF) == 0x020)
7890 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7891 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7892 #else
7893 # define ISLOWER(c) \
7894 (('a' <= (c) && (c) <= 'i') \
7895 || ('j' <= (c) && (c) <= 'r') \
7896 || ('s' <= (c) && (c) <= 'z'))
7897 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7898 #endif
7899
7900 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7901 int
7902 main ()
7903 {
7904 int i;
7905 for (i = 0; i < 256; i++)
7906 if (XOR (islower (i), ISLOWER (i))
7907 || toupper (i) != TOUPPER (i))
7908 return 2;
7909 return 0;
7910 }
7911 _ACEOF
7912 if ac_fn_c_try_run "$LINENO"; then :
7913
7914 else
7915 ac_cv_header_stdc=no
7916 fi
7917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7918 conftest.$ac_objext conftest.beam conftest.$ac_ext
7919 fi
7920
7921 fi
7922 fi
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7924 $as_echo "$ac_cv_header_stdc" >&6; }
7925 if test $ac_cv_header_stdc = yes; then
7926
7927 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7928
7929 fi
7930
7931 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7932 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7933 inttypes.h stdint.h unistd.h
7934 do :
7935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7937 "
7938 eval as_val=\$$as_ac_Header
7939 if test "x$as_val" = x""yes; then :
7940 cat >>confdefs.h <<_ACEOF
7941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7942 _ACEOF
7943
7944 fi
7945
7946 done
7947
7948
7949 for ac_header in dlfcn.h
7950 do :
7951 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7952 "
7953 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7954 cat >>confdefs.h <<_ACEOF
7955 #define HAVE_DLFCN_H 1
7956 _ACEOF
7957
7958 fi
7959
7960 done
7961
7962
7963
7964
7965
7966
7967 # Set options
7968
7969
7970
7971
7972 enable_win32_dll=no
7973
7974
7975 # Check whether --enable-shared was given.
7976 if test "${enable_shared+set}" = set; then :
7977 enableval=$enable_shared; p=${PACKAGE-default}
7978 case $enableval in
7979 yes) enable_shared=yes ;;
7980 no) enable_shared=no ;;
7981 *)
7982 enable_shared=no
7983 # Look at the argument we got. We use all the common list separators.
7984 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7985 for pkg in $enableval; do
7986 IFS="$lt_save_ifs"
7987 if test "X$pkg" = "X$p"; then
7988 enable_shared=yes
7989 fi
7990 done
7991 IFS="$lt_save_ifs"
7992 ;;
7993 esac
7994 else
7995 enable_shared=yes
7996 fi
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006 # Check whether --enable-static was given.
8007 if test "${enable_static+set}" = set; then :
8008 enableval=$enable_static; p=${PACKAGE-default}
8009 case $enableval in
8010 yes) enable_static=yes ;;
8011 no) enable_static=no ;;
8012 *)
8013 enable_static=no
8014 # Look at the argument we got. We use all the common list separators.
8015 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8016 for pkg in $enableval; do
8017 IFS="$lt_save_ifs"
8018 if test "X$pkg" = "X$p"; then
8019 enable_static=yes
8020 fi
8021 done
8022 IFS="$lt_save_ifs"
8023 ;;
8024 esac
8025 else
8026 enable_static=yes
8027 fi
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038 # Check whether --with-pic was given.
8039 if test "${with_pic+set}" = set; then :
8040 withval=$with_pic; pic_mode="$withval"
8041 else
8042 pic_mode=default
8043 fi
8044
8045
8046 test -z "$pic_mode" && pic_mode=default
8047
8048
8049
8050
8051
8052
8053
8054 # Check whether --enable-fast-install was given.
8055 if test "${enable_fast_install+set}" = set; then :
8056 enableval=$enable_fast_install; p=${PACKAGE-default}
8057 case $enableval in
8058 yes) enable_fast_install=yes ;;
8059 no) enable_fast_install=no ;;
8060 *)
8061 enable_fast_install=no
8062 # Look at the argument we got. We use all the common list separators.
8063 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8064 for pkg in $enableval; do
8065 IFS="$lt_save_ifs"
8066 if test "X$pkg" = "X$p"; then
8067 enable_fast_install=yes
8068 fi
8069 done
8070 IFS="$lt_save_ifs"
8071 ;;
8072 esac
8073 else
8074 enable_fast_install=yes
8075 fi
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087 # This can be used to rebuild libtool when needed
8088 LIBTOOL_DEPS="$ltmain"
8089
8090 # Always use our own libtool.
8091 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118 test -z "$LN_S" && LN_S="ln -s"
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133 if test -n "${ZSH_VERSION+set}" ; then
8134 setopt NO_GLOB_SUBST
8135 fi
8136
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8138 $as_echo_n "checking for objdir... " >&6; }
8139 if test "${lt_cv_objdir+set}" = set; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 rm -f .libs 2>/dev/null
8143 mkdir .libs 2>/dev/null
8144 if test -d .libs; then
8145 lt_cv_objdir=.libs
8146 else
8147 # MS-DOS does not allow filenames that begin with a dot.
8148 lt_cv_objdir=_libs
8149 fi
8150 rmdir .libs 2>/dev/null
8151 fi
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8153 $as_echo "$lt_cv_objdir" >&6; }
8154 objdir=$lt_cv_objdir
8155
8156
8157
8158
8159
8160 cat >>confdefs.h <<_ACEOF
8161 #define LT_OBJDIR "$lt_cv_objdir/"
8162 _ACEOF
8163
8164
8165
8166
8167 case $host_os in
8168 aix3*)
8169 # AIX sometimes has problems with the GCC collect2 program. For some
8170 # reason, if we set the COLLECT_NAMES environment variable, the problems
8171 # vanish in a puff of smoke.
8172 if test "X${COLLECT_NAMES+set}" != Xset; then
8173 COLLECT_NAMES=
8174 export COLLECT_NAMES
8175 fi
8176 ;;
8177 esac
8178
8179 # Global variables:
8180 ofile=libtool
8181 can_build_shared=yes
8182
8183 # All known linkers require a `.a' archive for static linking (except MSVC,
8184 # which needs '.lib').
8185 libext=a
8186
8187 with_gnu_ld="$lt_cv_prog_gnu_ld"
8188
8189 old_CC="$CC"
8190 old_CFLAGS="$CFLAGS"
8191
8192 # Set sane defaults for various variables
8193 test -z "$CC" && CC=cc
8194 test -z "$LTCC" && LTCC=$CC
8195 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8196 test -z "$LD" && LD=ld
8197 test -z "$ac_objext" && ac_objext=o
8198
8199 for cc_temp in $compiler""; do
8200 case $cc_temp in
8201 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8202 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8203 \-*) ;;
8204 *) break;;
8205 esac
8206 done
8207 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8208
8209
8210 # Only perform the check for file, if the check method requires it
8211 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8212 case $deplibs_check_method in
8213 file_magic*)
8214 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8216 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8217 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 case $MAGIC_CMD in
8221 [\\/*] | ?:[\\/]*)
8222 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8223 ;;
8224 *)
8225 lt_save_MAGIC_CMD="$MAGIC_CMD"
8226 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8227 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8228 for ac_dir in $ac_dummy; do
8229 IFS="$lt_save_ifs"
8230 test -z "$ac_dir" && ac_dir=.
8231 if test -f $ac_dir/${ac_tool_prefix}file; then
8232 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8233 if test -n "$file_magic_test_file"; then
8234 case $deplibs_check_method in
8235 "file_magic "*)
8236 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8238 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8239 $EGREP "$file_magic_regex" > /dev/null; then
8240 :
8241 else
8242 cat <<_LT_EOF 1>&2
8243
8244 *** Warning: the command libtool uses to detect shared libraries,
8245 *** $file_magic_cmd, produces output that libtool cannot recognize.
8246 *** The result is that libtool may fail to recognize shared libraries
8247 *** as such. This will affect the creation of libtool libraries that
8248 *** depend on shared libraries, but programs linked with such libtool
8249 *** libraries will work regardless of this problem. Nevertheless, you
8250 *** may want to report the problem to your system manager and/or to
8251 *** bug-libtool@gnu.org
8252
8253 _LT_EOF
8254 fi ;;
8255 esac
8256 fi
8257 break
8258 fi
8259 done
8260 IFS="$lt_save_ifs"
8261 MAGIC_CMD="$lt_save_MAGIC_CMD"
8262 ;;
8263 esac
8264 fi
8265
8266 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8267 if test -n "$MAGIC_CMD"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8269 $as_echo "$MAGIC_CMD" >&6; }
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 fi
8274
8275
8276
8277
8278
8279 if test -z "$lt_cv_path_MAGIC_CMD"; then
8280 if test -n "$ac_tool_prefix"; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8282 $as_echo_n "checking for file... " >&6; }
8283 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 case $MAGIC_CMD in
8287 [\\/*] | ?:[\\/]*)
8288 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8289 ;;
8290 *)
8291 lt_save_MAGIC_CMD="$MAGIC_CMD"
8292 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8293 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8294 for ac_dir in $ac_dummy; do
8295 IFS="$lt_save_ifs"
8296 test -z "$ac_dir" && ac_dir=.
8297 if test -f $ac_dir/file; then
8298 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8299 if test -n "$file_magic_test_file"; then
8300 case $deplibs_check_method in
8301 "file_magic "*)
8302 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8304 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8305 $EGREP "$file_magic_regex" > /dev/null; then
8306 :
8307 else
8308 cat <<_LT_EOF 1>&2
8309
8310 *** Warning: the command libtool uses to detect shared libraries,
8311 *** $file_magic_cmd, produces output that libtool cannot recognize.
8312 *** The result is that libtool may fail to recognize shared libraries
8313 *** as such. This will affect the creation of libtool libraries that
8314 *** depend on shared libraries, but programs linked with such libtool
8315 *** libraries will work regardless of this problem. Nevertheless, you
8316 *** may want to report the problem to your system manager and/or to
8317 *** bug-libtool@gnu.org
8318
8319 _LT_EOF
8320 fi ;;
8321 esac
8322 fi
8323 break
8324 fi
8325 done
8326 IFS="$lt_save_ifs"
8327 MAGIC_CMD="$lt_save_MAGIC_CMD"
8328 ;;
8329 esac
8330 fi
8331
8332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8333 if test -n "$MAGIC_CMD"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8335 $as_echo "$MAGIC_CMD" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8339 fi
8340
8341
8342 else
8343 MAGIC_CMD=:
8344 fi
8345 fi
8346
8347 fi
8348 ;;
8349 esac
8350
8351 # Use C for the default configuration in the libtool script
8352
8353 lt_save_CC="$CC"
8354 ac_ext=c
8355 ac_cpp='$CPP $CPPFLAGS'
8356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8359
8360
8361 # Source file extension for C test sources.
8362 ac_ext=c
8363
8364 # Object file extension for compiled C test sources.
8365 objext=o
8366 objext=$objext
8367
8368 # Code to be used in simple compile tests
8369 lt_simple_compile_test_code="int some_variable = 0;"
8370
8371 # Code to be used in simple link tests
8372 lt_simple_link_test_code='int main(){return(0);}'
8373
8374
8375
8376
8377
8378
8379
8380 # If no C compiler was specified, use CC.
8381 LTCC=${LTCC-"$CC"}
8382
8383 # If no C compiler flags were specified, use CFLAGS.
8384 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8385
8386 # Allow CC to be a program name with arguments.
8387 compiler=$CC
8388
8389 # Save the default compiler, since it gets overwritten when the other
8390 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8391 compiler_DEFAULT=$CC
8392
8393 # save warnings/boilerplate of simple test code
8394 ac_outfile=conftest.$ac_objext
8395 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8396 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8397 _lt_compiler_boilerplate=`cat conftest.err`
8398 $RM conftest*
8399
8400 ac_outfile=conftest.$ac_objext
8401 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8402 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8403 _lt_linker_boilerplate=`cat conftest.err`
8404 $RM -r conftest*
8405
8406
8407 ## CAVEAT EMPTOR:
8408 ## There is no encapsulation within the following macros, do not change
8409 ## the running order or otherwise move them around unless you know exactly
8410 ## what you are doing...
8411 if test -n "$compiler"; then
8412
8413 lt_prog_compiler_no_builtin_flag=
8414
8415 if test "$GCC" = yes; then
8416 case $cc_basename in
8417 nvcc*)
8418 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8419 *)
8420 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8421 esac
8422
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8424 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8425 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 lt_cv_prog_compiler_rtti_exceptions=no
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8431 lt_compiler_flag="-fno-rtti -fno-exceptions"
8432 # Insert the option either (1) after the last *FLAGS variable, or
8433 # (2) before a word containing "conftest.", or (3) at the end.
8434 # Note that $ac_compile itself does not contain backslashes and begins
8435 # with a dollar sign (not a hyphen), so the echo should work correctly.
8436 # The option is referenced via a variable to avoid confusing sed.
8437 lt_compile=`echo "$ac_compile" | $SED \
8438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8440 -e 's:$: $lt_compiler_flag:'`
8441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8442 (eval "$lt_compile" 2>conftest.err)
8443 ac_status=$?
8444 cat conftest.err >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 if (exit $ac_status) && test -s "$ac_outfile"; then
8447 # The compiler can only warn and ignore the option if not recognized
8448 # So say no if there are warnings other than the usual output.
8449 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8450 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8451 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8452 lt_cv_prog_compiler_rtti_exceptions=yes
8453 fi
8454 fi
8455 $RM conftest*
8456
8457 fi
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8459 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8460
8461 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8462 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8463 else
8464 :
8465 fi
8466
8467 fi
8468
8469
8470
8471
8472
8473
8474 lt_prog_compiler_wl=
8475 lt_prog_compiler_pic=
8476 lt_prog_compiler_static=
8477
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8479 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8480
8481 if test "$GCC" = yes; then
8482 lt_prog_compiler_wl='-Wl,'
8483 lt_prog_compiler_static='-static'
8484
8485 case $host_os in
8486 aix*)
8487 # All AIX code is PIC.
8488 if test "$host_cpu" = ia64; then
8489 # AIX 5 now supports IA64 processor
8490 lt_prog_compiler_static='-Bstatic'
8491 fi
8492 ;;
8493
8494 amigaos*)
8495 case $host_cpu in
8496 powerpc)
8497 # see comment about AmigaOS4 .so support
8498 lt_prog_compiler_pic='-fPIC'
8499 ;;
8500 m68k)
8501 # FIXME: we need at least 68020 code to build shared libraries, but
8502 # adding the `-m68020' flag to GCC prevents building anything better,
8503 # like `-m68040'.
8504 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8505 ;;
8506 esac
8507 ;;
8508
8509 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8510 # PIC is the default for these OSes.
8511 ;;
8512
8513 mingw* | cygwin* | pw32* | os2* | cegcc*)
8514 # This hack is so that the source file can tell whether it is being
8515 # built for inclusion in a dll (and should export symbols for example).
8516 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8517 # (--disable-auto-import) libraries
8518 lt_prog_compiler_pic='-DDLL_EXPORT'
8519 ;;
8520
8521 darwin* | rhapsody*)
8522 # PIC is the default on this platform
8523 # Common symbols not allowed in MH_DYLIB files
8524 lt_prog_compiler_pic='-fno-common'
8525 ;;
8526
8527 haiku*)
8528 # PIC is the default for Haiku.
8529 # The "-static" flag exists, but is broken.
8530 lt_prog_compiler_static=
8531 ;;
8532
8533 hpux*)
8534 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8535 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8536 # sets the default TLS model and affects inlining.
8537 case $host_cpu in
8538 hppa*64*)
8539 # +Z the default
8540 ;;
8541 *)
8542 lt_prog_compiler_pic='-fPIC'
8543 ;;
8544 esac
8545 ;;
8546
8547 interix[3-9]*)
8548 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8549 # Instead, we relocate shared libraries at runtime.
8550 ;;
8551
8552 msdosdjgpp*)
8553 # Just because we use GCC doesn't mean we suddenly get shared libraries
8554 # on systems that don't support them.
8555 lt_prog_compiler_can_build_shared=no
8556 enable_shared=no
8557 ;;
8558
8559 *nto* | *qnx*)
8560 # QNX uses GNU C++, but need to define -shared option too, otherwise
8561 # it will coredump.
8562 lt_prog_compiler_pic='-fPIC -shared'
8563 ;;
8564
8565 sysv4*MP*)
8566 if test -d /usr/nec; then
8567 lt_prog_compiler_pic=-Kconform_pic
8568 fi
8569 ;;
8570
8571 *)
8572 lt_prog_compiler_pic='-fPIC'
8573 ;;
8574 esac
8575
8576 case $cc_basename in
8577 nvcc*) # Cuda Compiler Driver 2.2
8578 lt_prog_compiler_wl='-Xlinker '
8579 lt_prog_compiler_pic='-Xcompiler -fPIC'
8580 ;;
8581 esac
8582 else
8583 # PORTME Check for flag to pass linker flags through the system compiler.
8584 case $host_os in
8585 aix*)
8586 lt_prog_compiler_wl='-Wl,'
8587 if test "$host_cpu" = ia64; then
8588 # AIX 5 now supports IA64 processor
8589 lt_prog_compiler_static='-Bstatic'
8590 else
8591 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8592 fi
8593 ;;
8594
8595 mingw* | cygwin* | pw32* | os2* | cegcc*)
8596 # This hack is so that the source file can tell whether it is being
8597 # built for inclusion in a dll (and should export symbols for example).
8598 lt_prog_compiler_pic='-DDLL_EXPORT'
8599 ;;
8600
8601 hpux9* | hpux10* | hpux11*)
8602 lt_prog_compiler_wl='-Wl,'
8603 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8604 # not for PA HP-UX.
8605 case $host_cpu in
8606 hppa*64*|ia64*)
8607 # +Z the default
8608 ;;
8609 *)
8610 lt_prog_compiler_pic='+Z'
8611 ;;
8612 esac
8613 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8614 lt_prog_compiler_static='${wl}-a ${wl}archive'
8615 ;;
8616
8617 irix5* | irix6* | nonstopux*)
8618 lt_prog_compiler_wl='-Wl,'
8619 # PIC (with -KPIC) is the default.
8620 lt_prog_compiler_static='-non_shared'
8621 ;;
8622
8623 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8624 case $cc_basename in
8625 # old Intel for x86_64 which still supported -KPIC.
8626 ecc*)
8627 lt_prog_compiler_wl='-Wl,'
8628 lt_prog_compiler_pic='-KPIC'
8629 lt_prog_compiler_static='-static'
8630 ;;
8631 # icc used to be incompatible with GCC.
8632 # ICC 10 doesn't accept -KPIC any more.
8633 icc* | ifort*)
8634 lt_prog_compiler_wl='-Wl,'
8635 lt_prog_compiler_pic='-fPIC'
8636 lt_prog_compiler_static='-static'
8637 ;;
8638 # Lahey Fortran 8.1.
8639 lf95*)
8640 lt_prog_compiler_wl='-Wl,'
8641 lt_prog_compiler_pic='--shared'
8642 lt_prog_compiler_static='--static'
8643 ;;
8644 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8645 # Portland Group compilers (*not* the Pentium gcc compiler,
8646 # which looks to be a dead project)
8647 lt_prog_compiler_wl='-Wl,'
8648 lt_prog_compiler_pic='-fpic'
8649 lt_prog_compiler_static='-Bstatic'
8650 ;;
8651 ccc*)
8652 lt_prog_compiler_wl='-Wl,'
8653 # All Alpha code is PIC.
8654 lt_prog_compiler_static='-non_shared'
8655 ;;
8656 xl* | bgxl* | bgf* | mpixl*)
8657 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8658 lt_prog_compiler_wl='-Wl,'
8659 lt_prog_compiler_pic='-qpic'
8660 lt_prog_compiler_static='-qstaticlink'
8661 ;;
8662 *)
8663 case `$CC -V 2>&1 | sed 5q` in
8664 *Sun\ F* | *Sun*Fortran*)
8665 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8666 lt_prog_compiler_pic='-KPIC'
8667 lt_prog_compiler_static='-Bstatic'
8668 lt_prog_compiler_wl=''
8669 ;;
8670 *Sun\ C*)
8671 # Sun C 5.9
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8674 lt_prog_compiler_wl='-Wl,'
8675 ;;
8676 esac
8677 ;;
8678 esac
8679 ;;
8680
8681 newsos6)
8682 lt_prog_compiler_pic='-KPIC'
8683 lt_prog_compiler_static='-Bstatic'
8684 ;;
8685
8686 *nto* | *qnx*)
8687 # QNX uses GNU C++, but need to define -shared option too, otherwise
8688 # it will coredump.
8689 lt_prog_compiler_pic='-fPIC -shared'
8690 ;;
8691
8692 osf3* | osf4* | osf5*)
8693 lt_prog_compiler_wl='-Wl,'
8694 # All OSF/1 code is PIC.
8695 lt_prog_compiler_static='-non_shared'
8696 ;;
8697
8698 rdos*)
8699 lt_prog_compiler_static='-non_shared'
8700 ;;
8701
8702 solaris*)
8703 lt_prog_compiler_pic='-KPIC'
8704 lt_prog_compiler_static='-Bstatic'
8705 case $cc_basename in
8706 f77* | f90* | f95*)
8707 lt_prog_compiler_wl='-Qoption ld ';;
8708 *)
8709 lt_prog_compiler_wl='-Wl,';;
8710 esac
8711 ;;
8712
8713 sunos4*)
8714 lt_prog_compiler_wl='-Qoption ld '
8715 lt_prog_compiler_pic='-PIC'
8716 lt_prog_compiler_static='-Bstatic'
8717 ;;
8718
8719 sysv4 | sysv4.2uw2* | sysv4.3*)
8720 lt_prog_compiler_wl='-Wl,'
8721 lt_prog_compiler_pic='-KPIC'
8722 lt_prog_compiler_static='-Bstatic'
8723 ;;
8724
8725 sysv4*MP*)
8726 if test -d /usr/nec ;then
8727 lt_prog_compiler_pic='-Kconform_pic'
8728 lt_prog_compiler_static='-Bstatic'
8729 fi
8730 ;;
8731
8732 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8733 lt_prog_compiler_wl='-Wl,'
8734 lt_prog_compiler_pic='-KPIC'
8735 lt_prog_compiler_static='-Bstatic'
8736 ;;
8737
8738 unicos*)
8739 lt_prog_compiler_wl='-Wl,'
8740 lt_prog_compiler_can_build_shared=no
8741 ;;
8742
8743 uts4*)
8744 lt_prog_compiler_pic='-pic'
8745 lt_prog_compiler_static='-Bstatic'
8746 ;;
8747
8748 *)
8749 lt_prog_compiler_can_build_shared=no
8750 ;;
8751 esac
8752 fi
8753
8754 case $host_os in
8755 # For platforms which do not support PIC, -DPIC is meaningless:
8756 *djgpp*)
8757 lt_prog_compiler_pic=
8758 ;;
8759 *)
8760 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8761 ;;
8762 esac
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8764 $as_echo "$lt_prog_compiler_pic" >&6; }
8765
8766
8767
8768
8769
8770
8771 #
8772 # Check to make sure the PIC flag actually works.
8773 #
8774 if test -n "$lt_prog_compiler_pic"; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8776 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8777 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 lt_cv_prog_compiler_pic_works=no
8781 ac_outfile=conftest.$ac_objext
8782 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8783 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8784 # Insert the option either (1) after the last *FLAGS variable, or
8785 # (2) before a word containing "conftest.", or (3) at the end.
8786 # Note that $ac_compile itself does not contain backslashes and begins
8787 # with a dollar sign (not a hyphen), so the echo should work correctly.
8788 # The option is referenced via a variable to avoid confusing sed.
8789 lt_compile=`echo "$ac_compile" | $SED \
8790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8792 -e 's:$: $lt_compiler_flag:'`
8793 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8794 (eval "$lt_compile" 2>conftest.err)
8795 ac_status=$?
8796 cat conftest.err >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 if (exit $ac_status) && test -s "$ac_outfile"; then
8799 # The compiler can only warn and ignore the option if not recognized
8800 # So say no if there are warnings other than the usual output.
8801 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8802 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8803 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8804 lt_cv_prog_compiler_pic_works=yes
8805 fi
8806 fi
8807 $RM conftest*
8808
8809 fi
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8811 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8812
8813 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8814 case $lt_prog_compiler_pic in
8815 "" | " "*) ;;
8816 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8817 esac
8818 else
8819 lt_prog_compiler_pic=
8820 lt_prog_compiler_can_build_shared=no
8821 fi
8822
8823 fi
8824
8825
8826
8827
8828
8829
8830 #
8831 # Check to make sure the static flag actually works.
8832 #
8833 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8835 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8836 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 lt_cv_prog_compiler_static_works=no
8840 save_LDFLAGS="$LDFLAGS"
8841 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8842 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8844 # The linker can only warn and ignore the option if not recognized
8845 # So say no if there are warnings
8846 if test -s conftest.err; then
8847 # Append any errors to the config.log.
8848 cat conftest.err 1>&5
8849 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8851 if diff conftest.exp conftest.er2 >/dev/null; then
8852 lt_cv_prog_compiler_static_works=yes
8853 fi
8854 else
8855 lt_cv_prog_compiler_static_works=yes
8856 fi
8857 fi
8858 $RM -r conftest*
8859 LDFLAGS="$save_LDFLAGS"
8860
8861 fi
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8863 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8864
8865 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8866 :
8867 else
8868 lt_prog_compiler_static=
8869 fi
8870
8871
8872
8873
8874
8875
8876
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8878 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8879 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 lt_cv_prog_compiler_c_o=no
8883 $RM -r conftest 2>/dev/null
8884 mkdir conftest
8885 cd conftest
8886 mkdir out
8887 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8888
8889 lt_compiler_flag="-o out/conftest2.$ac_objext"
8890 # Insert the option either (1) after the last *FLAGS variable, or
8891 # (2) before a word containing "conftest.", or (3) at the end.
8892 # Note that $ac_compile itself does not contain backslashes and begins
8893 # with a dollar sign (not a hyphen), so the echo should work correctly.
8894 lt_compile=`echo "$ac_compile" | $SED \
8895 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8897 -e 's:$: $lt_compiler_flag:'`
8898 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8899 (eval "$lt_compile" 2>out/conftest.err)
8900 ac_status=$?
8901 cat out/conftest.err >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8904 then
8905 # The compiler can only warn and ignore the option if not recognized
8906 # So say no if there are warnings
8907 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8908 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8909 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8910 lt_cv_prog_compiler_c_o=yes
8911 fi
8912 fi
8913 chmod u+w . 2>&5
8914 $RM conftest*
8915 # SGI C++ compiler will create directory out/ii_files/ for
8916 # template instantiation
8917 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8918 $RM out/* && rmdir out
8919 cd ..
8920 $RM -r conftest
8921 $RM conftest*
8922
8923 fi
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8925 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8926
8927
8928
8929
8930
8931
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8934 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 lt_cv_prog_compiler_c_o=no
8938 $RM -r conftest 2>/dev/null
8939 mkdir conftest
8940 cd conftest
8941 mkdir out
8942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8943
8944 lt_compiler_flag="-o out/conftest2.$ac_objext"
8945 # Insert the option either (1) after the last *FLAGS variable, or
8946 # (2) before a word containing "conftest.", or (3) at the end.
8947 # Note that $ac_compile itself does not contain backslashes and begins
8948 # with a dollar sign (not a hyphen), so the echo should work correctly.
8949 lt_compile=`echo "$ac_compile" | $SED \
8950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8952 -e 's:$: $lt_compiler_flag:'`
8953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8954 (eval "$lt_compile" 2>out/conftest.err)
8955 ac_status=$?
8956 cat out/conftest.err >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8959 then
8960 # The compiler can only warn and ignore the option if not recognized
8961 # So say no if there are warnings
8962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8965 lt_cv_prog_compiler_c_o=yes
8966 fi
8967 fi
8968 chmod u+w . 2>&5
8969 $RM conftest*
8970 # SGI C++ compiler will create directory out/ii_files/ for
8971 # template instantiation
8972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8973 $RM out/* && rmdir out
8974 cd ..
8975 $RM -r conftest
8976 $RM conftest*
8977
8978 fi
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8981
8982
8983
8984
8985 hard_links="nottested"
8986 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8987 # do not overwrite the value of need_locks provided by the user
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8989 $as_echo_n "checking if we can lock with hard links... " >&6; }
8990 hard_links=yes
8991 $RM conftest*
8992 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8993 touch conftest.a
8994 ln conftest.a conftest.b 2>&5 || hard_links=no
8995 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8997 $as_echo "$hard_links" >&6; }
8998 if test "$hard_links" = no; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9000 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9001 need_locks=warn
9002 fi
9003 else
9004 need_locks=no
9005 fi
9006
9007
9008
9009
9010
9011
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9013 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9014
9015 runpath_var=
9016 allow_undefined_flag=
9017 always_export_symbols=no
9018 archive_cmds=
9019 archive_expsym_cmds=
9020 compiler_needs_object=no
9021 enable_shared_with_static_runtimes=no
9022 export_dynamic_flag_spec=
9023 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9024 hardcode_automatic=no
9025 hardcode_direct=no
9026 hardcode_direct_absolute=no
9027 hardcode_libdir_flag_spec=
9028 hardcode_libdir_flag_spec_ld=
9029 hardcode_libdir_separator=
9030 hardcode_minus_L=no
9031 hardcode_shlibpath_var=unsupported
9032 inherit_rpath=no
9033 link_all_deplibs=unknown
9034 module_cmds=
9035 module_expsym_cmds=
9036 old_archive_from_new_cmds=
9037 old_archive_from_expsyms_cmds=
9038 thread_safe_flag_spec=
9039 whole_archive_flag_spec=
9040 # include_expsyms should be a list of space-separated symbols to be *always*
9041 # included in the symbol list
9042 include_expsyms=
9043 # exclude_expsyms can be an extended regexp of symbols to exclude
9044 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9045 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9046 # as well as any symbol that contains `d'.
9047 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9048 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9049 # platforms (ab)use it in PIC code, but their linkers get confused if
9050 # the symbol is explicitly referenced. Since portable code cannot
9051 # rely on this symbol name, it's probably fine to never include it in
9052 # preloaded symbol tables.
9053 # Exclude shared library initialization/finalization symbols.
9054 extract_expsyms_cmds=
9055
9056 case $host_os in
9057 cygwin* | mingw* | pw32* | cegcc*)
9058 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9059 # When not using gcc, we currently assume that we are using
9060 # Microsoft Visual C++.
9061 if test "$GCC" != yes; then
9062 with_gnu_ld=no
9063 fi
9064 ;;
9065 interix*)
9066 # we just hope/assume this is gcc and not c89 (= MSVC++)
9067 with_gnu_ld=yes
9068 ;;
9069 openbsd*)
9070 with_gnu_ld=no
9071 ;;
9072 esac
9073
9074 ld_shlibs=yes
9075
9076 # On some targets, GNU ld is compatible enough with the native linker
9077 # that we're better off using the native interface for both.
9078 lt_use_gnu_ld_interface=no
9079 if test "$with_gnu_ld" = yes; then
9080 case $host_os in
9081 aix*)
9082 # The AIX port of GNU ld has always aspired to compatibility
9083 # with the native linker. However, as the warning in the GNU ld
9084 # block says, versions before 2.19.5* couldn't really create working
9085 # shared libraries, regardless of the interface used.
9086 case `$LD -v 2>&1` in
9087 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9088 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9089 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9090 *)
9091 lt_use_gnu_ld_interface=yes
9092 ;;
9093 esac
9094 ;;
9095 *)
9096 lt_use_gnu_ld_interface=yes
9097 ;;
9098 esac
9099 fi
9100
9101 if test "$lt_use_gnu_ld_interface" = yes; then
9102 # If archive_cmds runs LD, not CC, wlarc should be empty
9103 wlarc='${wl}'
9104
9105 # Set some defaults for GNU ld with shared library support. These
9106 # are reset later if shared libraries are not supported. Putting them
9107 # here allows them to be overridden if necessary.
9108 runpath_var=LD_RUN_PATH
9109 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9110 export_dynamic_flag_spec='${wl}--export-dynamic'
9111 # ancient GNU ld didn't support --whole-archive et. al.
9112 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9113 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9114 else
9115 whole_archive_flag_spec=
9116 fi
9117 supports_anon_versioning=no
9118 case `$LD -v 2>&1` in
9119 *GNU\ gold*) supports_anon_versioning=yes ;;
9120 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9121 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9122 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9123 *\ 2.11.*) ;; # other 2.11 versions
9124 *) supports_anon_versioning=yes ;;
9125 esac
9126
9127 # See if GNU ld supports shared libraries.
9128 case $host_os in
9129 aix[3-9]*)
9130 # On AIX/PPC, the GNU linker is very broken
9131 if test "$host_cpu" != ia64; then
9132 ld_shlibs=no
9133 cat <<_LT_EOF 1>&2
9134
9135 *** Warning: the GNU linker, at least up to release 2.19, is reported
9136 *** to be unable to reliably create shared libraries on AIX.
9137 *** Therefore, libtool is disabling shared libraries support. If you
9138 *** really care for shared libraries, you may want to install binutils
9139 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9140 *** You will then need to restart the configuration process.
9141
9142 _LT_EOF
9143 fi
9144 ;;
9145
9146 amigaos*)
9147 case $host_cpu in
9148 powerpc)
9149 # see comment about AmigaOS4 .so support
9150 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 archive_expsym_cmds=''
9152 ;;
9153 m68k)
9154 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)'
9155 hardcode_libdir_flag_spec='-L$libdir'
9156 hardcode_minus_L=yes
9157 ;;
9158 esac
9159 ;;
9160
9161 beos*)
9162 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9163 allow_undefined_flag=unsupported
9164 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9165 # support --undefined. This deserves some investigation. FIXME
9166 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167 else
9168 ld_shlibs=no
9169 fi
9170 ;;
9171
9172 cygwin* | mingw* | pw32* | cegcc*)
9173 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9174 # as there is no search path for DLLs.
9175 hardcode_libdir_flag_spec='-L$libdir'
9176 export_dynamic_flag_spec='${wl}--export-all-symbols'
9177 allow_undefined_flag=unsupported
9178 always_export_symbols=no
9179 enable_shared_with_static_runtimes=yes
9180 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9181
9182 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9183 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9184 # If the export-symbols file already is a .def file (1st line
9185 # is EXPORTS), use it as is; otherwise, prepend...
9186 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9187 cp $export_symbols $output_objdir/$soname.def;
9188 else
9189 echo EXPORTS > $output_objdir/$soname.def;
9190 cat $export_symbols >> $output_objdir/$soname.def;
9191 fi~
9192 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9193 else
9194 ld_shlibs=no
9195 fi
9196 ;;
9197
9198 haiku*)
9199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9200 link_all_deplibs=yes
9201 ;;
9202
9203 interix[3-9]*)
9204 hardcode_direct=no
9205 hardcode_shlibpath_var=no
9206 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9207 export_dynamic_flag_spec='${wl}-E'
9208 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9209 # Instead, shared libraries are loaded at an image base (0x10000000 by
9210 # default) and relocated if they conflict, which is a slow very memory
9211 # consuming and fragmenting process. To avoid this, we pick a random,
9212 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9213 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9214 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9215 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'
9216 ;;
9217
9218 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9219 tmp_diet=no
9220 if test "$host_os" = linux-dietlibc; then
9221 case $cc_basename in
9222 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9223 esac
9224 fi
9225 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9226 && test "$tmp_diet" = no
9227 then
9228 tmp_addflag=
9229 tmp_sharedflag='-shared'
9230 case $cc_basename,$host_cpu in
9231 pgcc*) # Portland Group C compiler
9232 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'
9233 tmp_addflag=' $pic_flag'
9234 ;;
9235 pgf77* | pgf90* | pgf95* | pgfortran*)
9236 # Portland Group f77 and f90 compilers
9237 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'
9238 tmp_addflag=' $pic_flag -Mnomain' ;;
9239 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9240 tmp_addflag=' -i_dynamic' ;;
9241 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9242 tmp_addflag=' -i_dynamic -nofor_main' ;;
9243 ifc* | ifort*) # Intel Fortran compiler
9244 tmp_addflag=' -nofor_main' ;;
9245 lf95*) # Lahey Fortran 8.1
9246 whole_archive_flag_spec=
9247 tmp_sharedflag='--shared' ;;
9248 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9249 tmp_sharedflag='-qmkshrobj'
9250 tmp_addflag= ;;
9251 nvcc*) # Cuda Compiler Driver 2.2
9252 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'
9253 compiler_needs_object=yes
9254 ;;
9255 esac
9256 case `$CC -V 2>&1 | sed 5q` in
9257 *Sun\ C*) # Sun C 5.9
9258 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'
9259 compiler_needs_object=yes
9260 tmp_sharedflag='-G' ;;
9261 *Sun\ F*) # Sun Fortran 8.3
9262 tmp_sharedflag='-G' ;;
9263 esac
9264 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9265
9266 if test "x$supports_anon_versioning" = xyes; then
9267 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9268 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9269 echo "local: *; };" >> $output_objdir/$libname.ver~
9270 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9271 fi
9272
9273 case $cc_basename in
9274 xlf* | bgf* | bgxlf* | mpixlf*)
9275 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9276 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9277 hardcode_libdir_flag_spec=
9278 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9279 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9280 if test "x$supports_anon_versioning" = xyes; then
9281 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9282 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9283 echo "local: *; };" >> $output_objdir/$libname.ver~
9284 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9285 fi
9286 ;;
9287 esac
9288 else
9289 ld_shlibs=no
9290 fi
9291 ;;
9292
9293 netbsd*)
9294 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9295 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9296 wlarc=
9297 else
9298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9300 fi
9301 ;;
9302
9303 solaris*)
9304 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9305 ld_shlibs=no
9306 cat <<_LT_EOF 1>&2
9307
9308 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9309 *** create shared libraries on Solaris systems. Therefore, libtool
9310 *** is disabling shared libraries support. We urge you to upgrade GNU
9311 *** binutils to release 2.9.1 or newer. Another option is to modify
9312 *** your PATH or compiler configuration so that the native linker is
9313 *** used, and then restart.
9314
9315 _LT_EOF
9316 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9318 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319 else
9320 ld_shlibs=no
9321 fi
9322 ;;
9323
9324 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9325 case `$LD -v 2>&1` in
9326 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9327 ld_shlibs=no
9328 cat <<_LT_EOF 1>&2
9329
9330 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9331 *** reliably create shared libraries on SCO systems. Therefore, libtool
9332 *** is disabling shared libraries support. We urge you to upgrade GNU
9333 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9334 *** your PATH or compiler configuration so that the native linker is
9335 *** used, and then restart.
9336
9337 _LT_EOF
9338 ;;
9339 *)
9340 # For security reasons, it is highly recommended that you always
9341 # use absolute paths for naming shared libraries, and exclude the
9342 # DT_RUNPATH tag from executables and libraries. But doing so
9343 # requires that you compile everything twice, which is a pain.
9344 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9345 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9346 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9347 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348 else
9349 ld_shlibs=no
9350 fi
9351 ;;
9352 esac
9353 ;;
9354
9355 sunos4*)
9356 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9357 wlarc=
9358 hardcode_direct=yes
9359 hardcode_shlibpath_var=no
9360 ;;
9361
9362 *)
9363 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9364 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9365 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9366 else
9367 ld_shlibs=no
9368 fi
9369 ;;
9370 esac
9371
9372 if test "$ld_shlibs" = no; then
9373 runpath_var=
9374 hardcode_libdir_flag_spec=
9375 export_dynamic_flag_spec=
9376 whole_archive_flag_spec=
9377 fi
9378 else
9379 # PORTME fill in a description of your system's linker (not GNU ld)
9380 case $host_os in
9381 aix3*)
9382 allow_undefined_flag=unsupported
9383 always_export_symbols=yes
9384 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'
9385 # Note: this linker hardcodes the directories in LIBPATH if there
9386 # are no directories specified by -L.
9387 hardcode_minus_L=yes
9388 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9389 # Neither direct hardcoding nor static linking is supported with a
9390 # broken collect2.
9391 hardcode_direct=unsupported
9392 fi
9393 ;;
9394
9395 aix[4-9]*)
9396 if test "$host_cpu" = ia64; then
9397 # On IA64, the linker does run time linking by default, so we don't
9398 # have to do anything special.
9399 aix_use_runtimelinking=no
9400 exp_sym_flag='-Bexport'
9401 no_entry_flag=""
9402 else
9403 # If we're using GNU nm, then we don't want the "-C" option.
9404 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9405 # Also, AIX nm treats weak defined symbols like other global
9406 # defined symbols, whereas GNU nm marks them as "W".
9407 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9408 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'
9409 else
9410 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'
9411 fi
9412 aix_use_runtimelinking=no
9413
9414 # Test if we are trying to use run time linking or normal
9415 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9416 # need to do runtime linking.
9417 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9418 for ld_flag in $LDFLAGS; do
9419 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9420 aix_use_runtimelinking=yes
9421 break
9422 fi
9423 done
9424 ;;
9425 esac
9426
9427 exp_sym_flag='-bexport'
9428 no_entry_flag='-bnoentry'
9429 fi
9430
9431 # When large executables or shared objects are built, AIX ld can
9432 # have problems creating the table of contents. If linking a library
9433 # or program results in "error TOC overflow" add -mminimal-toc to
9434 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9435 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9436
9437 archive_cmds=''
9438 hardcode_direct=yes
9439 hardcode_direct_absolute=yes
9440 hardcode_libdir_separator=':'
9441 link_all_deplibs=yes
9442 file_list_spec='${wl}-f,'
9443
9444 if test "$GCC" = yes; then
9445 case $host_os in aix4.[012]|aix4.[012].*)
9446 # We only want to do this on AIX 4.2 and lower, the check
9447 # below for broken collect2 doesn't work under 4.3+
9448 collect2name=`${CC} -print-prog-name=collect2`
9449 if test -f "$collect2name" &&
9450 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9451 then
9452 # We have reworked collect2
9453 :
9454 else
9455 # We have old collect2
9456 hardcode_direct=unsupported
9457 # It fails to find uninstalled libraries when the uninstalled
9458 # path is not listed in the libpath. Setting hardcode_minus_L
9459 # to unsupported forces relinking
9460 hardcode_minus_L=yes
9461 hardcode_libdir_flag_spec='-L$libdir'
9462 hardcode_libdir_separator=
9463 fi
9464 ;;
9465 esac
9466 shared_flag='-shared'
9467 if test "$aix_use_runtimelinking" = yes; then
9468 shared_flag="$shared_flag "'${wl}-G'
9469 fi
9470 else
9471 # not using gcc
9472 if test "$host_cpu" = ia64; then
9473 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9474 # chokes on -Wl,-G. The following line is correct:
9475 shared_flag='-G'
9476 else
9477 if test "$aix_use_runtimelinking" = yes; then
9478 shared_flag='${wl}-G'
9479 else
9480 shared_flag='${wl}-bM:SRE'
9481 fi
9482 fi
9483 fi
9484
9485 export_dynamic_flag_spec='${wl}-bexpall'
9486 # It seems that -bexpall does not export symbols beginning with
9487 # underscore (_), so it is better to generate a list of symbols to export.
9488 always_export_symbols=yes
9489 if test "$aix_use_runtimelinking" = yes; then
9490 # Warning - without using the other runtime loading flags (-brtl),
9491 # -berok will link without error, but may produce a broken library.
9492 allow_undefined_flag='-berok'
9493 # Determine the default libpath from the value encoded in an
9494 # empty executable.
9495 if test x$gcc_no_link = xyes; then
9496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9497 fi
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9500
9501 int
9502 main ()
9503 {
9504
9505 ;
9506 return 0;
9507 }
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510
9511 lt_aix_libpath_sed='
9512 /Import File Strings/,/^$/ {
9513 /^0/ {
9514 s/^0 *\(.*\)$/\1/
9515 p
9516 }
9517 }'
9518 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9519 # Check for a 64-bit object if we didn't find anything.
9520 if test -z "$aix_libpath"; then
9521 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9522 fi
9523 fi
9524 rm -f core conftest.err conftest.$ac_objext \
9525 conftest$ac_exeext conftest.$ac_ext
9526 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9527
9528 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9529 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"
9530 else
9531 if test "$host_cpu" = ia64; then
9532 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9533 allow_undefined_flag="-z nodefs"
9534 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"
9535 else
9536 # Determine the default libpath from the value encoded in an
9537 # empty executable.
9538 if test x$gcc_no_link = xyes; then
9539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9540 fi
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543
9544 int
9545 main ()
9546 {
9547
9548 ;
9549 return 0;
9550 }
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553
9554 lt_aix_libpath_sed='
9555 /Import File Strings/,/^$/ {
9556 /^0/ {
9557 s/^0 *\(.*\)$/\1/
9558 p
9559 }
9560 }'
9561 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9562 # Check for a 64-bit object if we didn't find anything.
9563 if test -z "$aix_libpath"; then
9564 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9565 fi
9566 fi
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9570
9571 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9572 # Warning - without using the other run time loading flags,
9573 # -berok will link without error, but may produce a broken library.
9574 no_undefined_flag=' ${wl}-bernotok'
9575 allow_undefined_flag=' ${wl}-berok'
9576 if test "$with_gnu_ld" = yes; then
9577 # We only use this code for GNU lds that support --whole-archive.
9578 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9579 else
9580 # Exported symbols can be pulled into shared objects from archives
9581 whole_archive_flag_spec='$convenience'
9582 fi
9583 archive_cmds_need_lc=yes
9584 # This is similar to how AIX traditionally builds its shared libraries.
9585 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'
9586 fi
9587 fi
9588 ;;
9589
9590 amigaos*)
9591 case $host_cpu in
9592 powerpc)
9593 # see comment about AmigaOS4 .so support
9594 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9595 archive_expsym_cmds=''
9596 ;;
9597 m68k)
9598 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)'
9599 hardcode_libdir_flag_spec='-L$libdir'
9600 hardcode_minus_L=yes
9601 ;;
9602 esac
9603 ;;
9604
9605 bsdi[45]*)
9606 export_dynamic_flag_spec=-rdynamic
9607 ;;
9608
9609 cygwin* | mingw* | pw32* | cegcc*)
9610 # When not using gcc, we currently assume that we are using
9611 # Microsoft Visual C++.
9612 # hardcode_libdir_flag_spec is actually meaningless, as there is
9613 # no search path for DLLs.
9614 hardcode_libdir_flag_spec=' '
9615 allow_undefined_flag=unsupported
9616 # Tell ltmain to make .lib files, not .a files.
9617 libext=lib
9618 # Tell ltmain to make .dll files, not .so files.
9619 shrext_cmds=".dll"
9620 # FIXME: Setting linknames here is a bad hack.
9621 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9622 # The linker will automatically build a .lib file if we build a DLL.
9623 old_archive_from_new_cmds='true'
9624 # FIXME: Should let the user specify the lib program.
9625 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9626 fix_srcfile_path='`cygpath -w "$srcfile"`'
9627 enable_shared_with_static_runtimes=yes
9628 ;;
9629
9630 darwin* | rhapsody*)
9631
9632
9633 archive_cmds_need_lc=no
9634 hardcode_direct=no
9635 hardcode_automatic=yes
9636 hardcode_shlibpath_var=unsupported
9637 if test "$lt_cv_ld_force_load" = "yes"; then
9638 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\"`'
9639 else
9640 whole_archive_flag_spec=''
9641 fi
9642 link_all_deplibs=yes
9643 allow_undefined_flag="$_lt_dar_allow_undefined"
9644 case $cc_basename in
9645 ifort*) _lt_dar_can_shared=yes ;;
9646 *) _lt_dar_can_shared=$GCC ;;
9647 esac
9648 if test "$_lt_dar_can_shared" = "yes"; then
9649 output_verbose_link_cmd=func_echo_all
9650 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9651 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9652 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}"
9653 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}"
9654
9655 else
9656 ld_shlibs=no
9657 fi
9658
9659 ;;
9660
9661 dgux*)
9662 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_shlibpath_var=no
9665 ;;
9666
9667 freebsd1*)
9668 ld_shlibs=no
9669 ;;
9670
9671 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9672 # support. Future versions do this automatically, but an explicit c++rt0.o
9673 # does not break anything, and helps significantly (at the cost of a little
9674 # extra space).
9675 freebsd2.2*)
9676 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9677 hardcode_libdir_flag_spec='-R$libdir'
9678 hardcode_direct=yes
9679 hardcode_shlibpath_var=no
9680 ;;
9681
9682 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9683 freebsd2*)
9684 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9685 hardcode_direct=yes
9686 hardcode_minus_L=yes
9687 hardcode_shlibpath_var=no
9688 ;;
9689
9690 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9691 freebsd* | dragonfly*)
9692 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9693 hardcode_libdir_flag_spec='-R$libdir'
9694 hardcode_direct=yes
9695 hardcode_shlibpath_var=no
9696 ;;
9697
9698 hpux9*)
9699 if test "$GCC" = yes; then
9700 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'
9701 else
9702 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'
9703 fi
9704 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9705 hardcode_libdir_separator=:
9706 hardcode_direct=yes
9707
9708 # hardcode_minus_L: Not really in the search PATH,
9709 # but as the default location of the library.
9710 hardcode_minus_L=yes
9711 export_dynamic_flag_spec='${wl}-E'
9712 ;;
9713
9714 hpux10*)
9715 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9716 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9717 else
9718 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9719 fi
9720 if test "$with_gnu_ld" = no; then
9721 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9722 hardcode_libdir_flag_spec_ld='+b $libdir'
9723 hardcode_libdir_separator=:
9724 hardcode_direct=yes
9725 hardcode_direct_absolute=yes
9726 export_dynamic_flag_spec='${wl}-E'
9727 # hardcode_minus_L: Not really in the search PATH,
9728 # but as the default location of the library.
9729 hardcode_minus_L=yes
9730 fi
9731 ;;
9732
9733 hpux11*)
9734 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9735 case $host_cpu in
9736 hppa*64*)
9737 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 ;;
9739 ia64*)
9740 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9741 ;;
9742 *)
9743 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9744 ;;
9745 esac
9746 else
9747 case $host_cpu in
9748 hppa*64*)
9749 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9750 ;;
9751 ia64*)
9752 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9753 ;;
9754 *)
9755
9756 # Older versions of the 11.00 compiler do not understand -b yet
9757 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9759 $as_echo_n "checking if $CC understands -b... " >&6; }
9760 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9761 $as_echo_n "(cached) " >&6
9762 else
9763 lt_cv_prog_compiler__b=no
9764 save_LDFLAGS="$LDFLAGS"
9765 LDFLAGS="$LDFLAGS -b"
9766 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9767 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9768 # The linker can only warn and ignore the option if not recognized
9769 # So say no if there are warnings
9770 if test -s conftest.err; then
9771 # Append any errors to the config.log.
9772 cat conftest.err 1>&5
9773 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9774 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9775 if diff conftest.exp conftest.er2 >/dev/null; then
9776 lt_cv_prog_compiler__b=yes
9777 fi
9778 else
9779 lt_cv_prog_compiler__b=yes
9780 fi
9781 fi
9782 $RM -r conftest*
9783 LDFLAGS="$save_LDFLAGS"
9784
9785 fi
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9787 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9788
9789 if test x"$lt_cv_prog_compiler__b" = xyes; then
9790 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 else
9792 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9793 fi
9794
9795 ;;
9796 esac
9797 fi
9798 if test "$with_gnu_ld" = no; then
9799 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9800 hardcode_libdir_separator=:
9801
9802 case $host_cpu in
9803 hppa*64*|ia64*)
9804 hardcode_direct=no
9805 hardcode_shlibpath_var=no
9806 ;;
9807 *)
9808 hardcode_direct=yes
9809 hardcode_direct_absolute=yes
9810 export_dynamic_flag_spec='${wl}-E'
9811
9812 # hardcode_minus_L: Not really in the search PATH,
9813 # but as the default location of the library.
9814 hardcode_minus_L=yes
9815 ;;
9816 esac
9817 fi
9818 ;;
9819
9820 irix5* | irix6* | nonstopux*)
9821 if test "$GCC" = yes; then
9822 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'
9823 # Try to use the -exported_symbol ld option, if it does not
9824 # work, assume that -exports_file does not work either and
9825 # implicitly export all symbols.
9826 save_LDFLAGS="$LDFLAGS"
9827 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9828 if test x$gcc_no_link = xyes; then
9829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9830 fi
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int foo(void) {}
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 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'
9837
9838 fi
9839 rm -f core conftest.err conftest.$ac_objext \
9840 conftest$ac_exeext conftest.$ac_ext
9841 LDFLAGS="$save_LDFLAGS"
9842 else
9843 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'
9844 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'
9845 fi
9846 archive_cmds_need_lc='no'
9847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9848 hardcode_libdir_separator=:
9849 inherit_rpath=yes
9850 link_all_deplibs=yes
9851 ;;
9852
9853 netbsd*)
9854 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9855 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9856 else
9857 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9858 fi
9859 hardcode_libdir_flag_spec='-R$libdir'
9860 hardcode_direct=yes
9861 hardcode_shlibpath_var=no
9862 ;;
9863
9864 newsos6)
9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_direct=yes
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9869 hardcode_shlibpath_var=no
9870 ;;
9871
9872 *nto* | *qnx*)
9873 ;;
9874
9875 openbsd*)
9876 if test -f /usr/libexec/ld.so; then
9877 hardcode_direct=yes
9878 hardcode_shlibpath_var=no
9879 hardcode_direct_absolute=yes
9880 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9881 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9883 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9884 export_dynamic_flag_spec='${wl}-E'
9885 else
9886 case $host_os in
9887 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9888 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='-R$libdir'
9890 ;;
9891 *)
9892 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9893 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9894 ;;
9895 esac
9896 fi
9897 else
9898 ld_shlibs=no
9899 fi
9900 ;;
9901
9902 os2*)
9903 hardcode_libdir_flag_spec='-L$libdir'
9904 hardcode_minus_L=yes
9905 allow_undefined_flag=unsupported
9906 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'
9907 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9908 ;;
9909
9910 osf3*)
9911 if test "$GCC" = yes; then
9912 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9913 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'
9914 else
9915 allow_undefined_flag=' -expect_unresolved \*'
9916 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'
9917 fi
9918 archive_cmds_need_lc='no'
9919 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920 hardcode_libdir_separator=:
9921 ;;
9922
9923 osf4* | osf5*) # as osf3* with the addition of -msym flag
9924 if test "$GCC" = yes; then
9925 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9926 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'
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 else
9929 allow_undefined_flag=' -expect_unresolved \*'
9930 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'
9931 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~
9932 $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'
9933
9934 # Both c and cxx compiler support -rpath directly
9935 hardcode_libdir_flag_spec='-rpath $libdir'
9936 fi
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_separator=:
9939 ;;
9940
9941 solaris*)
9942 no_undefined_flag=' -z defs'
9943 if test "$GCC" = yes; then
9944 wlarc='${wl}'
9945 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9947 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9948 else
9949 case `$CC -V 2>&1` in
9950 *"Compilers 5.0"*)
9951 wlarc=''
9952 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9955 ;;
9956 *)
9957 wlarc='${wl}'
9958 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9960 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9961 ;;
9962 esac
9963 fi
9964 hardcode_libdir_flag_spec='-R$libdir'
9965 hardcode_shlibpath_var=no
9966 case $host_os in
9967 solaris2.[0-5] | solaris2.[0-5].*) ;;
9968 *)
9969 # The compiler driver will combine and reorder linker options,
9970 # but understands `-z linker_flag'. GCC discards it without `$wl',
9971 # but is careful enough not to reorder.
9972 # Supported since Solaris 2.6 (maybe 2.5.1?)
9973 if test "$GCC" = yes; then
9974 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9975 else
9976 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9977 fi
9978 ;;
9979 esac
9980 link_all_deplibs=yes
9981 ;;
9982
9983 sunos4*)
9984 if test "x$host_vendor" = xsequent; then
9985 # Use $CC to link under sequent, because it throws in some extra .o
9986 # files that make .init and .fini sections work.
9987 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988 else
9989 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9990 fi
9991 hardcode_libdir_flag_spec='-L$libdir'
9992 hardcode_direct=yes
9993 hardcode_minus_L=yes
9994 hardcode_shlibpath_var=no
9995 ;;
9996
9997 sysv4)
9998 case $host_vendor in
9999 sni)
10000 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_direct=yes # is this really true???
10002 ;;
10003 siemens)
10004 ## LD is ld it makes a PLAMLIB
10005 ## CC just makes a GrossModule.
10006 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10007 reload_cmds='$CC -r -o $output$reload_objs'
10008 hardcode_direct=no
10009 ;;
10010 motorola)
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10013 ;;
10014 esac
10015 runpath_var='LD_RUN_PATH'
10016 hardcode_shlibpath_var=no
10017 ;;
10018
10019 sysv4.3*)
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_shlibpath_var=no
10022 export_dynamic_flag_spec='-Bexport'
10023 ;;
10024
10025 sysv4*MP*)
10026 if test -d /usr/nec; then
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_shlibpath_var=no
10029 runpath_var=LD_RUN_PATH
10030 hardcode_runpath_var=yes
10031 ld_shlibs=yes
10032 fi
10033 ;;
10034
10035 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10036 no_undefined_flag='${wl}-z,text'
10037 archive_cmds_need_lc=no
10038 hardcode_shlibpath_var=no
10039 runpath_var='LD_RUN_PATH'
10040
10041 if test "$GCC" = yes; then
10042 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 else
10045 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10047 fi
10048 ;;
10049
10050 sysv5* | sco3.2v5* | sco5v6*)
10051 # Note: We can NOT use -z defs as we might desire, because we do not
10052 # link with -lc, and that would cause any symbols used from libc to
10053 # always be unresolved, which means just about no library would
10054 # ever link correctly. If we're not using GNU ld we use -z text
10055 # though, which does catch some bad symbols but isn't as heavy-handed
10056 # as -z defs.
10057 no_undefined_flag='${wl}-z,text'
10058 allow_undefined_flag='${wl}-z,nodefs'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10062 hardcode_libdir_separator=':'
10063 link_all_deplibs=yes
10064 export_dynamic_flag_spec='${wl}-Bexport'
10065 runpath_var='LD_RUN_PATH'
10066
10067 if test "$GCC" = yes; then
10068 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 else
10071 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073 fi
10074 ;;
10075
10076 uts4*)
10077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-L$libdir'
10079 hardcode_shlibpath_var=no
10080 ;;
10081
10082 *)
10083 ld_shlibs=no
10084 ;;
10085 esac
10086
10087 if test x$host_vendor = xsni; then
10088 case $host in
10089 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10090 export_dynamic_flag_spec='${wl}-Blargedynsym'
10091 ;;
10092 esac
10093 fi
10094 fi
10095
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10097 $as_echo "$ld_shlibs" >&6; }
10098 test "$ld_shlibs" = no && can_build_shared=no
10099
10100 with_gnu_ld=$with_gnu_ld
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116 #
10117 # Do we need to explicitly link libc?
10118 #
10119 case "x$archive_cmds_need_lc" in
10120 x|xyes)
10121 # Assume -lc should be added
10122 archive_cmds_need_lc=yes
10123
10124 if test "$enable_shared" = yes && test "$GCC" = yes; then
10125 case $archive_cmds in
10126 *'~'*)
10127 # FIXME: we may have to deal with multi-command sequences.
10128 ;;
10129 '$CC '*)
10130 # Test whether the compiler implicitly links with -lc since on some
10131 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10132 # to ld, don't add -lc before -lgcc.
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10134 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10135 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 $RM conftest*
10139 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10140
10141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10142 (eval $ac_compile) 2>&5
10143 ac_status=$?
10144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10145 test $ac_status = 0; } 2>conftest.err; then
10146 soname=conftest
10147 lib=conftest
10148 libobjs=conftest.$ac_objext
10149 deplibs=
10150 wl=$lt_prog_compiler_wl
10151 pic_flag=$lt_prog_compiler_pic
10152 compiler_flags=-v
10153 linker_flags=-v
10154 verstring=
10155 output_objdir=.
10156 libname=conftest
10157 lt_save_allow_undefined_flag=$allow_undefined_flag
10158 allow_undefined_flag=
10159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10160 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10161 ac_status=$?
10162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10163 test $ac_status = 0; }
10164 then
10165 lt_cv_archive_cmds_need_lc=no
10166 else
10167 lt_cv_archive_cmds_need_lc=yes
10168 fi
10169 allow_undefined_flag=$lt_save_allow_undefined_flag
10170 else
10171 cat conftest.err 1>&5
10172 fi
10173 $RM conftest*
10174
10175 fi
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10177 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10178 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10179 ;;
10180 esac
10181 fi
10182 ;;
10183 esac
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10342 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10343
10344 if test "$GCC" = yes; then
10345 case $host_os in
10346 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10347 *) lt_awk_arg="/^libraries:/" ;;
10348 esac
10349 case $host_os in
10350 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10351 *) lt_sed_strip_eq="s,=/,/,g" ;;
10352 esac
10353 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10354 case $lt_search_path_spec in
10355 *\;*)
10356 # if the path contains ";" then we assume it to be the separator
10357 # otherwise default to the standard path separator (i.e. ":") - it is
10358 # assumed that no part of a normal pathname contains ";" but that should
10359 # okay in the real world where ";" in dirpaths is itself problematic.
10360 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10361 ;;
10362 *)
10363 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10364 ;;
10365 esac
10366 # Ok, now we have the path, separated by spaces, we can step through it
10367 # and add multilib dir if necessary.
10368 lt_tmp_lt_search_path_spec=
10369 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10370 for lt_sys_path in $lt_search_path_spec; do
10371 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10372 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10373 else
10374 test -d "$lt_sys_path" && \
10375 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10376 fi
10377 done
10378 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10379 BEGIN {RS=" "; FS="/|\n";} {
10380 lt_foo="";
10381 lt_count=0;
10382 for (lt_i = NF; lt_i > 0; lt_i--) {
10383 if ($lt_i != "" && $lt_i != ".") {
10384 if ($lt_i == "..") {
10385 lt_count++;
10386 } else {
10387 if (lt_count == 0) {
10388 lt_foo="/" $lt_i lt_foo;
10389 } else {
10390 lt_count--;
10391 }
10392 }
10393 }
10394 }
10395 if (lt_foo != "") { lt_freq[lt_foo]++; }
10396 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10397 }'`
10398 # AWK program above erroneously prepends '/' to C:/dos/paths
10399 # for these hosts.
10400 case $host_os in
10401 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10402 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10403 esac
10404 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10405 else
10406 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10407 fi
10408 library_names_spec=
10409 libname_spec='lib$name'
10410 soname_spec=
10411 shrext_cmds=".so"
10412 postinstall_cmds=
10413 postuninstall_cmds=
10414 finish_cmds=
10415 finish_eval=
10416 shlibpath_var=
10417 shlibpath_overrides_runpath=unknown
10418 version_type=none
10419 dynamic_linker="$host_os ld.so"
10420 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10421 need_lib_prefix=unknown
10422 hardcode_into_libs=no
10423
10424 # when you set need_version to no, make sure it does not cause -set_version
10425 # flags to be left without arguments
10426 need_version=unknown
10427
10428 case $host_os in
10429 aix3*)
10430 version_type=linux
10431 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10432 shlibpath_var=LIBPATH
10433
10434 # AIX 3 has no versioning support, so we append a major version to the name.
10435 soname_spec='${libname}${release}${shared_ext}$major'
10436 ;;
10437
10438 aix[4-9]*)
10439 version_type=linux
10440 need_lib_prefix=no
10441 need_version=no
10442 hardcode_into_libs=yes
10443 if test "$host_cpu" = ia64; then
10444 # AIX 5 supports IA64
10445 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10446 shlibpath_var=LD_LIBRARY_PATH
10447 else
10448 # With GCC up to 2.95.x, collect2 would create an import file
10449 # for dependence libraries. The import file would start with
10450 # the line `#! .'. This would cause the generated library to
10451 # depend on `.', always an invalid library. This was fixed in
10452 # development snapshots of GCC prior to 3.0.
10453 case $host_os in
10454 aix4 | aix4.[01] | aix4.[01].*)
10455 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10456 echo ' yes '
10457 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10458 :
10459 else
10460 can_build_shared=no
10461 fi
10462 ;;
10463 esac
10464 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10465 # soname into executable. Probably we can add versioning support to
10466 # collect2, so additional links can be useful in future.
10467 if test "$aix_use_runtimelinking" = yes; then
10468 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10469 # instead of lib<name>.a to let people know that these are not
10470 # typical AIX shared libraries.
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 else
10473 # We preserve .a as extension for shared libraries through AIX4.2
10474 # and later when we are not doing run time linking.
10475 library_names_spec='${libname}${release}.a $libname.a'
10476 soname_spec='${libname}${release}${shared_ext}$major'
10477 fi
10478 shlibpath_var=LIBPATH
10479 fi
10480 ;;
10481
10482 amigaos*)
10483 case $host_cpu in
10484 powerpc)
10485 # Since July 2007 AmigaOS4 officially supports .so libraries.
10486 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 ;;
10489 m68k)
10490 library_names_spec='$libname.ixlibrary $libname.a'
10491 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10492 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'
10493 ;;
10494 esac
10495 ;;
10496
10497 beos*)
10498 library_names_spec='${libname}${shared_ext}'
10499 dynamic_linker="$host_os ld.so"
10500 shlibpath_var=LIBRARY_PATH
10501 ;;
10502
10503 bsdi[45]*)
10504 version_type=linux
10505 need_version=no
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10509 shlibpath_var=LD_LIBRARY_PATH
10510 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10511 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10512 # the default ld.so.conf also contains /usr/contrib/lib and
10513 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10514 # libtool to hard-code these into programs
10515 ;;
10516
10517 cygwin* | mingw* | pw32* | cegcc*)
10518 version_type=windows
10519 shrext_cmds=".dll"
10520 need_version=no
10521 need_lib_prefix=no
10522
10523 case $GCC,$host_os in
10524 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10525 library_names_spec='$libname.dll.a'
10526 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10527 postinstall_cmds='base_file=`basename \${file}`~
10528 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10529 dldir=$destdir/`dirname \$dlpath`~
10530 test -d \$dldir || mkdir -p \$dldir~
10531 $install_prog $dir/$dlname \$dldir/$dlname~
10532 chmod a+x \$dldir/$dlname~
10533 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10534 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10535 fi'
10536 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10537 dlpath=$dir/\$dldll~
10538 $RM \$dlpath'
10539 shlibpath_overrides_runpath=yes
10540
10541 case $host_os in
10542 cygwin*)
10543 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10544 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10545
10546 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10547 ;;
10548 mingw* | cegcc*)
10549 # MinGW DLLs use traditional 'lib' prefix
10550 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10551 ;;
10552 pw32*)
10553 # pw32 DLLs use 'pw' prefix rather than 'lib'
10554 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10555 ;;
10556 esac
10557 ;;
10558
10559 *)
10560 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10561 ;;
10562 esac
10563 dynamic_linker='Win32 ld.exe'
10564 # FIXME: first we should search . and the directory the executable is in
10565 shlibpath_var=PATH
10566 ;;
10567
10568 darwin* | rhapsody*)
10569 dynamic_linker="$host_os dyld"
10570 version_type=darwin
10571 need_lib_prefix=no
10572 need_version=no
10573 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10574 soname_spec='${libname}${release}${major}$shared_ext'
10575 shlibpath_overrides_runpath=yes
10576 shlibpath_var=DYLD_LIBRARY_PATH
10577 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10578
10579 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10580 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10581 ;;
10582
10583 dgux*)
10584 version_type=linux
10585 need_lib_prefix=no
10586 need_version=no
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10588 soname_spec='${libname}${release}${shared_ext}$major'
10589 shlibpath_var=LD_LIBRARY_PATH
10590 ;;
10591
10592 freebsd1*)
10593 dynamic_linker=no
10594 ;;
10595
10596 freebsd* | dragonfly*)
10597 # DragonFly does not have aout. When/if they implement a new
10598 # versioning mechanism, adjust this.
10599 if test -x /usr/bin/objformat; then
10600 objformat=`/usr/bin/objformat`
10601 else
10602 case $host_os in
10603 freebsd[123]*) objformat=aout ;;
10604 *) objformat=elf ;;
10605 esac
10606 fi
10607 version_type=freebsd-$objformat
10608 case $version_type in
10609 freebsd-elf*)
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10611 need_version=no
10612 need_lib_prefix=no
10613 ;;
10614 freebsd-*)
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10616 need_version=yes
10617 ;;
10618 esac
10619 shlibpath_var=LD_LIBRARY_PATH
10620 case $host_os in
10621 freebsd2*)
10622 shlibpath_overrides_runpath=yes
10623 ;;
10624 freebsd3.[01]* | freebsdelf3.[01]*)
10625 shlibpath_overrides_runpath=yes
10626 hardcode_into_libs=yes
10627 ;;
10628 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10629 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10630 shlibpath_overrides_runpath=no
10631 hardcode_into_libs=yes
10632 ;;
10633 *) # from 4.6 on, and DragonFly
10634 shlibpath_overrides_runpath=yes
10635 hardcode_into_libs=yes
10636 ;;
10637 esac
10638 ;;
10639
10640 gnu*)
10641 version_type=linux
10642 need_lib_prefix=no
10643 need_version=no
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10645 soname_spec='${libname}${release}${shared_ext}$major'
10646 shlibpath_var=LD_LIBRARY_PATH
10647 hardcode_into_libs=yes
10648 ;;
10649
10650 haiku*)
10651 version_type=linux
10652 need_lib_prefix=no
10653 need_version=no
10654 dynamic_linker="$host_os runtime_loader"
10655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10656 soname_spec='${libname}${release}${shared_ext}$major'
10657 shlibpath_var=LIBRARY_PATH
10658 shlibpath_overrides_runpath=yes
10659 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10660 hardcode_into_libs=yes
10661 ;;
10662
10663 hpux9* | hpux10* | hpux11*)
10664 # Give a soname corresponding to the major version so that dld.sl refuses to
10665 # link against other versions.
10666 version_type=sunos
10667 need_lib_prefix=no
10668 need_version=no
10669 case $host_cpu in
10670 ia64*)
10671 shrext_cmds='.so'
10672 hardcode_into_libs=yes
10673 dynamic_linker="$host_os dld.so"
10674 shlibpath_var=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec='${libname}${release}${shared_ext}$major'
10678 if test "X$HPUX_IA64_MODE" = X32; then
10679 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10680 else
10681 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10682 fi
10683 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10684 ;;
10685 hppa*64*)
10686 shrext_cmds='.sl'
10687 hardcode_into_libs=yes
10688 dynamic_linker="$host_os dld.sl"
10689 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692 soname_spec='${libname}${release}${shared_ext}$major'
10693 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10694 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10695 ;;
10696 *)
10697 shrext_cmds='.sl'
10698 dynamic_linker="$host_os dld.sl"
10699 shlibpath_var=SHLIB_PATH
10700 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702 soname_spec='${libname}${release}${shared_ext}$major'
10703 ;;
10704 esac
10705 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10706 postinstall_cmds='chmod 555 $lib'
10707 # or fails outright, so override atomically:
10708 install_override_mode=555
10709 ;;
10710
10711 interix[3-9]*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10718 shlibpath_var=LD_LIBRARY_PATH
10719 shlibpath_overrides_runpath=no
10720 hardcode_into_libs=yes
10721 ;;
10722
10723 irix5* | irix6* | nonstopux*)
10724 case $host_os in
10725 nonstopux*) version_type=nonstopux ;;
10726 *)
10727 if test "$lt_cv_prog_gnu_ld" = yes; then
10728 version_type=linux
10729 else
10730 version_type=irix
10731 fi ;;
10732 esac
10733 need_lib_prefix=no
10734 need_version=no
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 case $host_os in
10738 irix5* | nonstopux*)
10739 libsuff= shlibsuff=
10740 ;;
10741 *)
10742 case $LD in # libtool.m4 will add one of these switches to LD
10743 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10744 libsuff= shlibsuff= libmagic=32-bit;;
10745 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10746 libsuff=32 shlibsuff=N32 libmagic=N32;;
10747 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10748 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10749 *) libsuff= shlibsuff= libmagic=never-match;;
10750 esac
10751 ;;
10752 esac
10753 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10754 shlibpath_overrides_runpath=no
10755 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10756 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10757 hardcode_into_libs=yes
10758 ;;
10759
10760 # No shared lib support for Linux oldld, aout, or coff.
10761 linux*oldld* | linux*aout* | linux*coff*)
10762 dynamic_linker=no
10763 ;;
10764
10765 # This must be Linux ELF.
10766 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath=no
10775
10776 # Some binutils ld are patched to set DT_RUNPATH
10777 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10778 $as_echo_n "(cached) " >&6
10779 else
10780 lt_cv_shlibpath_overrides_runpath=no
10781 save_LDFLAGS=$LDFLAGS
10782 save_libdir=$libdir
10783 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10784 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10785 if test x$gcc_no_link = xyes; then
10786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10787 fi
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10790
10791 int
10792 main ()
10793 {
10794
10795 ;
10796 return 0;
10797 }
10798 _ACEOF
10799 if ac_fn_c_try_link "$LINENO"; then :
10800 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10801 lt_cv_shlibpath_overrides_runpath=yes
10802 fi
10803 fi
10804 rm -f core conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LDFLAGS=$save_LDFLAGS
10807 libdir=$save_libdir
10808
10809 fi
10810
10811 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10812
10813 # This implies no fast_install, which is unacceptable.
10814 # Some rework will be needed to allow for fast_install
10815 # before this can be enabled.
10816 hardcode_into_libs=yes
10817
10818 # Append ld.so.conf contents to the search path
10819 if test -f /etc/ld.so.conf; then
10820 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' ' '`
10821 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10822 fi
10823
10824 # We used to test for /lib/ld.so.1 and disable shared libraries on
10825 # powerpc, because MkLinux only supported shared libraries with the
10826 # GNU dynamic linker. Since this was broken with cross compilers,
10827 # most powerpc-linux boxes support dynamic linking these days and
10828 # people can always --disable-shared, the test was removed, and we
10829 # assume the GNU/Linux dynamic linker is in use.
10830 dynamic_linker='GNU/Linux ld.so'
10831 ;;
10832
10833 netbsd*)
10834 version_type=sunos
10835 need_lib_prefix=no
10836 need_version=no
10837 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10840 dynamic_linker='NetBSD (a.out) ld.so'
10841 else
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 dynamic_linker='NetBSD ld.elf_so'
10845 fi
10846 shlibpath_var=LD_LIBRARY_PATH
10847 shlibpath_overrides_runpath=yes
10848 hardcode_into_libs=yes
10849 ;;
10850
10851 newsos6)
10852 version_type=linux
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath=yes
10856 ;;
10857
10858 *nto* | *qnx*)
10859 version_type=qnx
10860 need_lib_prefix=no
10861 need_version=no
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=no
10866 hardcode_into_libs=yes
10867 dynamic_linker='ldqnx.so'
10868 ;;
10869
10870 openbsd*)
10871 version_type=sunos
10872 sys_lib_dlsearch_path_spec="/usr/lib"
10873 need_lib_prefix=no
10874 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10875 case $host_os in
10876 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10877 *) need_version=no ;;
10878 esac
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10880 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10883 case $host_os in
10884 openbsd2.[89] | openbsd2.[89].*)
10885 shlibpath_overrides_runpath=no
10886 ;;
10887 *)
10888 shlibpath_overrides_runpath=yes
10889 ;;
10890 esac
10891 else
10892 shlibpath_overrides_runpath=yes
10893 fi
10894 ;;
10895
10896 os2*)
10897 libname_spec='$name'
10898 shrext_cmds=".dll"
10899 need_lib_prefix=no
10900 library_names_spec='$libname${shared_ext} $libname.a'
10901 dynamic_linker='OS/2 ld.exe'
10902 shlibpath_var=LIBPATH
10903 ;;
10904
10905 osf3* | osf4* | osf5*)
10906 version_type=osf
10907 need_lib_prefix=no
10908 need_version=no
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10913 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10914 ;;
10915
10916 rdos*)
10917 dynamic_linker=no
10918 ;;
10919
10920 solaris*)
10921 version_type=linux
10922 need_lib_prefix=no
10923 need_version=no
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925 soname_spec='${libname}${release}${shared_ext}$major'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath=yes
10928 hardcode_into_libs=yes
10929 # ldd complains unless libraries are executable
10930 postinstall_cmds='chmod +x $lib'
10931 ;;
10932
10933 sunos4*)
10934 version_type=sunos
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 shlibpath_overrides_runpath=yes
10939 if test "$with_gnu_ld" = yes; then
10940 need_lib_prefix=no
10941 fi
10942 need_version=yes
10943 ;;
10944
10945 sysv4 | sysv4.3*)
10946 version_type=linux
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 shlibpath_var=LD_LIBRARY_PATH
10950 case $host_vendor in
10951 sni)
10952 shlibpath_overrides_runpath=no
10953 need_lib_prefix=no
10954 runpath_var=LD_RUN_PATH
10955 ;;
10956 siemens)
10957 need_lib_prefix=no
10958 ;;
10959 motorola)
10960 need_lib_prefix=no
10961 need_version=no
10962 shlibpath_overrides_runpath=no
10963 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10964 ;;
10965 esac
10966 ;;
10967
10968 sysv4*MP*)
10969 if test -d /usr/nec ;then
10970 version_type=linux
10971 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10972 soname_spec='$libname${shared_ext}.$major'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 fi
10975 ;;
10976
10977 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10978 version_type=freebsd-elf
10979 need_lib_prefix=no
10980 need_version=no
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10986 if test "$with_gnu_ld" = yes; then
10987 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10988 else
10989 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10990 case $host_os in
10991 sco3.2v5*)
10992 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10993 ;;
10994 esac
10995 fi
10996 sys_lib_dlsearch_path_spec='/usr/lib'
10997 ;;
10998
10999 tpf*)
11000 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11001 version_type=linux
11002 need_lib_prefix=no
11003 need_version=no
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath=no
11007 hardcode_into_libs=yes
11008 ;;
11009
11010 uts4*)
11011 version_type=linux
11012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11013 soname_spec='${libname}${release}${shared_ext}$major'
11014 shlibpath_var=LD_LIBRARY_PATH
11015 ;;
11016
11017 *)
11018 dynamic_linker=no
11019 ;;
11020 esac
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11022 $as_echo "$dynamic_linker" >&6; }
11023 test "$dynamic_linker" = no && can_build_shared=no
11024
11025 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11026 if test "$GCC" = yes; then
11027 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11028 fi
11029
11030 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11031 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11032 fi
11033 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11034 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11035 fi
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11129 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11130 hardcode_action=
11131 if test -n "$hardcode_libdir_flag_spec" ||
11132 test -n "$runpath_var" ||
11133 test "X$hardcode_automatic" = "Xyes" ; then
11134
11135 # We can hardcode non-existent directories.
11136 if test "$hardcode_direct" != no &&
11137 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11138 # have to relink, otherwise we might link with an installed library
11139 # when we should be linking with a yet-to-be-installed one
11140 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11141 test "$hardcode_minus_L" != no; then
11142 # Linking always hardcodes the temporary library directory.
11143 hardcode_action=relink
11144 else
11145 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11146 hardcode_action=immediate
11147 fi
11148 else
11149 # We cannot hardcode anything, or else we can only hardcode existing
11150 # directories.
11151 hardcode_action=unsupported
11152 fi
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11154 $as_echo "$hardcode_action" >&6; }
11155
11156 if test "$hardcode_action" = relink ||
11157 test "$inherit_rpath" = yes; then
11158 # Fast installation is not supported
11159 enable_fast_install=no
11160 elif test "$shlibpath_overrides_runpath" = yes ||
11161 test "$enable_shared" = no; then
11162 # Fast installation is not necessary
11163 enable_fast_install=needless
11164 fi
11165
11166
11167
11168
11169
11170
11171 if test "x$enable_dlopen" != xyes; then
11172 enable_dlopen=unknown
11173 enable_dlopen_self=unknown
11174 enable_dlopen_self_static=unknown
11175 else
11176 lt_cv_dlopen=no
11177 lt_cv_dlopen_libs=
11178
11179 case $host_os in
11180 beos*)
11181 lt_cv_dlopen="load_add_on"
11182 lt_cv_dlopen_libs=
11183 lt_cv_dlopen_self=yes
11184 ;;
11185
11186 mingw* | pw32* | cegcc*)
11187 lt_cv_dlopen="LoadLibrary"
11188 lt_cv_dlopen_libs=
11189 ;;
11190
11191 cygwin*)
11192 lt_cv_dlopen="dlopen"
11193 lt_cv_dlopen_libs=
11194 ;;
11195
11196 darwin*)
11197 # if libdl is installed we need to link against it
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11199 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11200 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11201 $as_echo_n "(cached) " >&6
11202 else
11203 ac_check_lib_save_LIBS=$LIBS
11204 LIBS="-ldl $LIBS"
11205 if test x$gcc_no_link = xyes; then
11206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11207 fi
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11210
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char dlopen ();
11218 int
11219 main ()
11220 {
11221 return dlopen ();
11222 ;
11223 return 0;
11224 }
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 ac_cv_lib_dl_dlopen=yes
11228 else
11229 ac_cv_lib_dl_dlopen=no
11230 fi
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11234 fi
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11236 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11237 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11238 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11239 else
11240
11241 lt_cv_dlopen="dyld"
11242 lt_cv_dlopen_libs=
11243 lt_cv_dlopen_self=yes
11244
11245 fi
11246
11247 ;;
11248
11249 *)
11250 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11251 if test "x$ac_cv_func_shl_load" = x""yes; then :
11252 lt_cv_dlopen="shl_load"
11253 else
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11255 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11256 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldld $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11263 fi
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11266
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char shl_load ();
11274 int
11275 main ()
11276 {
11277 return shl_load ();
11278 ;
11279 return 0;
11280 }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dld_shl_load=yes
11284 else
11285 ac_cv_lib_dld_shl_load=no
11286 fi
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11290 fi
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11292 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11293 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11294 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11295 else
11296 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11297 if test "x$ac_cv_func_dlopen" = x""yes; then :
11298 lt_cv_dlopen="dlopen"
11299 else
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11301 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11302 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-ldl $LIBS"
11307 if test x$gcc_no_link = xyes; then
11308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11309 fi
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11312
11313 /* Override any GCC internal prototype to avoid an error.
11314 Use char because int might match the return type of a GCC
11315 builtin and then its argument prototype would still apply. */
11316 #ifdef __cplusplus
11317 extern "C"
11318 #endif
11319 char dlopen ();
11320 int
11321 main ()
11322 {
11323 return dlopen ();
11324 ;
11325 return 0;
11326 }
11327 _ACEOF
11328 if ac_fn_c_try_link "$LINENO"; then :
11329 ac_cv_lib_dl_dlopen=yes
11330 else
11331 ac_cv_lib_dl_dlopen=no
11332 fi
11333 rm -f core conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_lib_save_LIBS
11336 fi
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11338 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11339 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11340 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11343 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11344 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-lsvld $LIBS"
11349 if test x$gcc_no_link = xyes; then
11350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11351 fi
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11354
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char dlopen ();
11362 int
11363 main ()
11364 {
11365 return dlopen ();
11366 ;
11367 return 0;
11368 }
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 ac_cv_lib_svld_dlopen=yes
11372 else
11373 ac_cv_lib_svld_dlopen=no
11374 fi
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11378 fi
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11380 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11381 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11382 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11383 else
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11385 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11386 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-ldld $LIBS"
11391 if test x$gcc_no_link = xyes; then
11392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11393 fi
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char dld_link ();
11404 int
11405 main ()
11406 {
11407 return dld_link ();
11408 ;
11409 return 0;
11410 }
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_lib_dld_dld_link=yes
11414 else
11415 ac_cv_lib_dld_dld_link=no
11416 fi
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11420 fi
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11422 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11423 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11424 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11425 fi
11426
11427
11428 fi
11429
11430
11431 fi
11432
11433
11434 fi
11435
11436
11437 fi
11438
11439
11440 fi
11441
11442 ;;
11443 esac
11444
11445 if test "x$lt_cv_dlopen" != xno; then
11446 enable_dlopen=yes
11447 else
11448 enable_dlopen=no
11449 fi
11450
11451 case $lt_cv_dlopen in
11452 dlopen)
11453 save_CPPFLAGS="$CPPFLAGS"
11454 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11455
11456 save_LDFLAGS="$LDFLAGS"
11457 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11458
11459 save_LIBS="$LIBS"
11460 LIBS="$lt_cv_dlopen_libs $LIBS"
11461
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11463 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11464 if test "${lt_cv_dlopen_self+set}" = set; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 if test "$cross_compiling" = yes; then :
11468 lt_cv_dlopen_self=cross
11469 else
11470 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11471 lt_status=$lt_dlunknown
11472 cat > conftest.$ac_ext <<_LT_EOF
11473 #line 11473 "configure"
11474 #include "confdefs.h"
11475
11476 #if HAVE_DLFCN_H
11477 #include <dlfcn.h>
11478 #endif
11479
11480 #include <stdio.h>
11481
11482 #ifdef RTLD_GLOBAL
11483 # define LT_DLGLOBAL RTLD_GLOBAL
11484 #else
11485 # ifdef DL_GLOBAL
11486 # define LT_DLGLOBAL DL_GLOBAL
11487 # else
11488 # define LT_DLGLOBAL 0
11489 # endif
11490 #endif
11491
11492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11493 find out it does not work in some platform. */
11494 #ifndef LT_DLLAZY_OR_NOW
11495 # ifdef RTLD_LAZY
11496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11497 # else
11498 # ifdef DL_LAZY
11499 # define LT_DLLAZY_OR_NOW DL_LAZY
11500 # else
11501 # ifdef RTLD_NOW
11502 # define LT_DLLAZY_OR_NOW RTLD_NOW
11503 # else
11504 # ifdef DL_NOW
11505 # define LT_DLLAZY_OR_NOW DL_NOW
11506 # else
11507 # define LT_DLLAZY_OR_NOW 0
11508 # endif
11509 # endif
11510 # endif
11511 # endif
11512 #endif
11513
11514 /* When -fvisbility=hidden is used, assume the code has been annotated
11515 correspondingly for the symbols needed. */
11516 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11517 void fnord () __attribute__((visibility("default")));
11518 #endif
11519
11520 void fnord () { int i=42; }
11521 int main ()
11522 {
11523 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11524 int status = $lt_dlunknown;
11525
11526 if (self)
11527 {
11528 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11529 else
11530 {
11531 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11532 else puts (dlerror ());
11533 }
11534 /* dlclose (self); */
11535 }
11536 else
11537 puts (dlerror ());
11538
11539 return status;
11540 }
11541 _LT_EOF
11542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543 (eval $ac_link) 2>&5
11544 ac_status=$?
11545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11547 (./conftest; exit; ) >&5 2>/dev/null
11548 lt_status=$?
11549 case x$lt_status in
11550 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11551 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11552 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11553 esac
11554 else :
11555 # compilation failed
11556 lt_cv_dlopen_self=no
11557 fi
11558 fi
11559 rm -fr conftest*
11560
11561
11562 fi
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11564 $as_echo "$lt_cv_dlopen_self" >&6; }
11565
11566 if test "x$lt_cv_dlopen_self" = xyes; then
11567 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11569 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11570 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 if test "$cross_compiling" = yes; then :
11574 lt_cv_dlopen_self_static=cross
11575 else
11576 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11577 lt_status=$lt_dlunknown
11578 cat > conftest.$ac_ext <<_LT_EOF
11579 #line 11579 "configure"
11580 #include "confdefs.h"
11581
11582 #if HAVE_DLFCN_H
11583 #include <dlfcn.h>
11584 #endif
11585
11586 #include <stdio.h>
11587
11588 #ifdef RTLD_GLOBAL
11589 # define LT_DLGLOBAL RTLD_GLOBAL
11590 #else
11591 # ifdef DL_GLOBAL
11592 # define LT_DLGLOBAL DL_GLOBAL
11593 # else
11594 # define LT_DLGLOBAL 0
11595 # endif
11596 #endif
11597
11598 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11599 find out it does not work in some platform. */
11600 #ifndef LT_DLLAZY_OR_NOW
11601 # ifdef RTLD_LAZY
11602 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11603 # else
11604 # ifdef DL_LAZY
11605 # define LT_DLLAZY_OR_NOW DL_LAZY
11606 # else
11607 # ifdef RTLD_NOW
11608 # define LT_DLLAZY_OR_NOW RTLD_NOW
11609 # else
11610 # ifdef DL_NOW
11611 # define LT_DLLAZY_OR_NOW DL_NOW
11612 # else
11613 # define LT_DLLAZY_OR_NOW 0
11614 # endif
11615 # endif
11616 # endif
11617 # endif
11618 #endif
11619
11620 /* When -fvisbility=hidden is used, assume the code has been annotated
11621 correspondingly for the symbols needed. */
11622 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11623 void fnord () __attribute__((visibility("default")));
11624 #endif
11625
11626 void fnord () { int i=42; }
11627 int main ()
11628 {
11629 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11630 int status = $lt_dlunknown;
11631
11632 if (self)
11633 {
11634 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11635 else
11636 {
11637 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11638 else puts (dlerror ());
11639 }
11640 /* dlclose (self); */
11641 }
11642 else
11643 puts (dlerror ());
11644
11645 return status;
11646 }
11647 _LT_EOF
11648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11649 (eval $ac_link) 2>&5
11650 ac_status=$?
11651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11652 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11653 (./conftest; exit; ) >&5 2>/dev/null
11654 lt_status=$?
11655 case x$lt_status in
11656 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11657 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11658 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11659 esac
11660 else :
11661 # compilation failed
11662 lt_cv_dlopen_self_static=no
11663 fi
11664 fi
11665 rm -fr conftest*
11666
11667
11668 fi
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11670 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11671 fi
11672
11673 CPPFLAGS="$save_CPPFLAGS"
11674 LDFLAGS="$save_LDFLAGS"
11675 LIBS="$save_LIBS"
11676 ;;
11677 esac
11678
11679 case $lt_cv_dlopen_self in
11680 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11681 *) enable_dlopen_self=unknown ;;
11682 esac
11683
11684 case $lt_cv_dlopen_self_static in
11685 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11686 *) enable_dlopen_self_static=unknown ;;
11687 esac
11688 fi
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706 striplib=
11707 old_striplib=
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11709 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11710 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11711 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11712 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11714 $as_echo "yes" >&6; }
11715 else
11716 # FIXME - insert some real tests, host_os isn't really good enough
11717 case $host_os in
11718 darwin*)
11719 if test -n "$STRIP" ; then
11720 striplib="$STRIP -x"
11721 old_striplib="$STRIP -S"
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11723 $as_echo "yes" >&6; }
11724 else
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11727 fi
11728 ;;
11729 *)
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11731 $as_echo "no" >&6; }
11732 ;;
11733 esac
11734 fi
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747 # Report which library types will actually be built
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11749 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11751 $as_echo "$can_build_shared" >&6; }
11752
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11754 $as_echo_n "checking whether to build shared libraries... " >&6; }
11755 test "$can_build_shared" = "no" && enable_shared=no
11756
11757 # On AIX, shared libraries and static libraries use the same namespace, and
11758 # are all built from PIC.
11759 case $host_os in
11760 aix3*)
11761 test "$enable_shared" = yes && enable_static=no
11762 if test -n "$RANLIB"; then
11763 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11764 postinstall_cmds='$RANLIB $lib'
11765 fi
11766 ;;
11767
11768 aix[4-9]*)
11769 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11770 test "$enable_shared" = yes && enable_static=no
11771 fi
11772 ;;
11773 esac
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11775 $as_echo "$enable_shared" >&6; }
11776
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11778 $as_echo_n "checking whether to build static libraries... " >&6; }
11779 # Make sure either enable_shared or enable_static is yes.
11780 test "$enable_shared" = yes || enable_static=yes
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11782 $as_echo "$enable_static" >&6; }
11783
11784
11785
11786
11787 fi
11788 ac_ext=c
11789 ac_cpp='$CPP $CPPFLAGS'
11790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11793
11794 CC="$lt_save_CC"
11795
11796 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11797 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11798 (test "X$CXX" != "Xg++"))) ; then
11799 ac_ext=cpp
11800 ac_cpp='$CXXCPP $CPPFLAGS'
11801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11805 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11806 if test -z "$CXXCPP"; then
11807 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 # Double quotes because CXXCPP needs to be expanded
11811 for CXXCPP in "$CXX -E" "/lib/cpp"
11812 do
11813 ac_preproc_ok=false
11814 for ac_cxx_preproc_warn_flag in '' yes
11815 do
11816 # Use a header file that comes with gcc, so configuring glibc
11817 # with a fresh cross-compiler works.
11818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11819 # <limits.h> exists even on freestanding compilers.
11820 # On the NeXT, cc -E runs the code through the compiler's parser,
11821 # not just through cpp. "Syntax error" is here to catch this case.
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11824 #ifdef __STDC__
11825 # include <limits.h>
11826 #else
11827 # include <assert.h>
11828 #endif
11829 Syntax error
11830 _ACEOF
11831 if ac_fn_cxx_try_cpp "$LINENO"; then :
11832
11833 else
11834 # Broken: fails on valid input.
11835 continue
11836 fi
11837 rm -f conftest.err conftest.$ac_ext
11838
11839 # OK, works on sane cases. Now check whether nonexistent headers
11840 # can be detected and how.
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11843 #include <ac_nonexistent.h>
11844 _ACEOF
11845 if ac_fn_cxx_try_cpp "$LINENO"; then :
11846 # Broken: success on invalid input.
11847 continue
11848 else
11849 # Passes both tests.
11850 ac_preproc_ok=:
11851 break
11852 fi
11853 rm -f conftest.err conftest.$ac_ext
11854
11855 done
11856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11857 rm -f conftest.err conftest.$ac_ext
11858 if $ac_preproc_ok; then :
11859 break
11860 fi
11861
11862 done
11863 ac_cv_prog_CXXCPP=$CXXCPP
11864
11865 fi
11866 CXXCPP=$ac_cv_prog_CXXCPP
11867 else
11868 ac_cv_prog_CXXCPP=$CXXCPP
11869 fi
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11871 $as_echo "$CXXCPP" >&6; }
11872 ac_preproc_ok=false
11873 for ac_cxx_preproc_warn_flag in '' yes
11874 do
11875 # Use a header file that comes with gcc, so configuring glibc
11876 # with a fresh cross-compiler works.
11877 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11878 # <limits.h> exists even on freestanding compilers.
11879 # On the NeXT, cc -E runs the code through the compiler's parser,
11880 # not just through cpp. "Syntax error" is here to catch this case.
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11883 #ifdef __STDC__
11884 # include <limits.h>
11885 #else
11886 # include <assert.h>
11887 #endif
11888 Syntax error
11889 _ACEOF
11890 if ac_fn_cxx_try_cpp "$LINENO"; then :
11891
11892 else
11893 # Broken: fails on valid input.
11894 continue
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 # OK, works on sane cases. Now check whether nonexistent headers
11899 # can be detected and how.
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902 #include <ac_nonexistent.h>
11903 _ACEOF
11904 if ac_fn_cxx_try_cpp "$LINENO"; then :
11905 # Broken: success on invalid input.
11906 continue
11907 else
11908 # Passes both tests.
11909 ac_preproc_ok=:
11910 break
11911 fi
11912 rm -f conftest.err conftest.$ac_ext
11913
11914 done
11915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11916 rm -f conftest.err conftest.$ac_ext
11917 if $ac_preproc_ok; then :
11918
11919 else
11920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11922 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11923 See \`config.log' for more details." "$LINENO" 5; }
11924 fi
11925
11926 ac_ext=c
11927 ac_cpp='$CPP $CPPFLAGS'
11928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931
11932 else
11933 _lt_caught_CXX_error=yes
11934 fi
11935
11936 ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941
11942 archive_cmds_need_lc_CXX=no
11943 allow_undefined_flag_CXX=
11944 always_export_symbols_CXX=no
11945 archive_expsym_cmds_CXX=
11946 compiler_needs_object_CXX=no
11947 export_dynamic_flag_spec_CXX=
11948 hardcode_direct_CXX=no
11949 hardcode_direct_absolute_CXX=no
11950 hardcode_libdir_flag_spec_CXX=
11951 hardcode_libdir_flag_spec_ld_CXX=
11952 hardcode_libdir_separator_CXX=
11953 hardcode_minus_L_CXX=no
11954 hardcode_shlibpath_var_CXX=unsupported
11955 hardcode_automatic_CXX=no
11956 inherit_rpath_CXX=no
11957 module_cmds_CXX=
11958 module_expsym_cmds_CXX=
11959 link_all_deplibs_CXX=unknown
11960 old_archive_cmds_CXX=$old_archive_cmds
11961 reload_flag_CXX=$reload_flag
11962 reload_cmds_CXX=$reload_cmds
11963 no_undefined_flag_CXX=
11964 whole_archive_flag_spec_CXX=
11965 enable_shared_with_static_runtimes_CXX=no
11966
11967 # Source file extension for C++ test sources.
11968 ac_ext=cpp
11969
11970 # Object file extension for compiled C++ test sources.
11971 objext=o
11972 objext_CXX=$objext
11973
11974 # No sense in running all these tests if we already determined that
11975 # the CXX compiler isn't working. Some variables (like enable_shared)
11976 # are currently assumed to apply to all compilers on this platform,
11977 # and will be corrupted by setting them based on a non-working compiler.
11978 if test "$_lt_caught_CXX_error" != yes; then
11979 # Code to be used in simple compile tests
11980 lt_simple_compile_test_code="int some_variable = 0;"
11981
11982 # Code to be used in simple link tests
11983 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11984
11985 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11986
11987
11988
11989
11990
11991
11992 # If no C compiler was specified, use CC.
11993 LTCC=${LTCC-"$CC"}
11994
11995 # If no C compiler flags were specified, use CFLAGS.
11996 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11997
11998 # Allow CC to be a program name with arguments.
11999 compiler=$CC
12000
12001
12002 # save warnings/boilerplate of simple test code
12003 ac_outfile=conftest.$ac_objext
12004 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12005 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12006 _lt_compiler_boilerplate=`cat conftest.err`
12007 $RM conftest*
12008
12009 ac_outfile=conftest.$ac_objext
12010 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12011 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12012 _lt_linker_boilerplate=`cat conftest.err`
12013 $RM -r conftest*
12014
12015
12016 # Allow CC to be a program name with arguments.
12017 lt_save_CC=$CC
12018 lt_save_LD=$LD
12019 lt_save_GCC=$GCC
12020 GCC=$GXX
12021 lt_save_with_gnu_ld=$with_gnu_ld
12022 lt_save_path_LD=$lt_cv_path_LD
12023 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12024 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12025 else
12026 $as_unset lt_cv_prog_gnu_ld
12027 fi
12028 if test -n "${lt_cv_path_LDCXX+set}"; then
12029 lt_cv_path_LD=$lt_cv_path_LDCXX
12030 else
12031 $as_unset lt_cv_path_LD
12032 fi
12033 test -z "${LDCXX+set}" || LD=$LDCXX
12034 CC=${CXX-"c++"}
12035 compiler=$CC
12036 compiler_CXX=$CC
12037 for cc_temp in $compiler""; do
12038 case $cc_temp in
12039 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12040 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12041 \-*) ;;
12042 *) break;;
12043 esac
12044 done
12045 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12046
12047
12048 if test -n "$compiler"; then
12049 # We don't want -fno-exception when compiling C++ code, so set the
12050 # no_builtin_flag separately
12051 if test "$GXX" = yes; then
12052 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12053 else
12054 lt_prog_compiler_no_builtin_flag_CXX=
12055 fi
12056
12057 if test "$GXX" = yes; then
12058 # Set up default GNU C++ configuration
12059
12060
12061
12062 # Check whether --with-gnu-ld was given.
12063 if test "${with_gnu_ld+set}" = set; then :
12064 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12065 else
12066 with_gnu_ld=no
12067 fi
12068
12069 ac_prog=ld
12070 if test "$GCC" = yes; then
12071 # Check if gcc -print-prog-name=ld gives a path.
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12073 $as_echo_n "checking for ld used by $CC... " >&6; }
12074 case $host in
12075 *-*-mingw*)
12076 # gcc leaves a trailing carriage return which upsets mingw
12077 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12078 *)
12079 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12080 esac
12081 case $ac_prog in
12082 # Accept absolute paths.
12083 [\\/]* | ?:[\\/]*)
12084 re_direlt='/[^/][^/]*/\.\./'
12085 # Canonicalize the pathname of ld
12086 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12087 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12088 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12089 done
12090 test -z "$LD" && LD="$ac_prog"
12091 ;;
12092 "")
12093 # If it fails, then pretend we aren't using GCC.
12094 ac_prog=ld
12095 ;;
12096 *)
12097 # If it is relative, then search for the first ld in PATH.
12098 with_gnu_ld=unknown
12099 ;;
12100 esac
12101 elif test "$with_gnu_ld" = yes; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12103 $as_echo_n "checking for GNU ld... " >&6; }
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12106 $as_echo_n "checking for non-GNU ld... " >&6; }
12107 fi
12108 if test "${lt_cv_path_LD+set}" = set; then :
12109 $as_echo_n "(cached) " >&6
12110 else
12111 if test -z "$LD"; then
12112 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12113 for ac_dir in $PATH; do
12114 IFS="$lt_save_ifs"
12115 test -z "$ac_dir" && ac_dir=.
12116 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12117 lt_cv_path_LD="$ac_dir/$ac_prog"
12118 # Check to see if the program is GNU ld. I'd rather use --version,
12119 # but apparently some variants of GNU ld only accept -v.
12120 # Break only if it was the GNU/non-GNU ld that we prefer.
12121 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12122 *GNU* | *'with BFD'*)
12123 test "$with_gnu_ld" != no && break
12124 ;;
12125 *)
12126 test "$with_gnu_ld" != yes && break
12127 ;;
12128 esac
12129 fi
12130 done
12131 IFS="$lt_save_ifs"
12132 else
12133 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12134 fi
12135 fi
12136
12137 LD="$lt_cv_path_LD"
12138 if test -n "$LD"; then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12140 $as_echo "$LD" >&6; }
12141 else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12143 $as_echo "no" >&6; }
12144 fi
12145 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12147 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12148 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12149 $as_echo_n "(cached) " >&6
12150 else
12151 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12152 case `$LD -v 2>&1 </dev/null` in
12153 *GNU* | *'with BFD'*)
12154 lt_cv_prog_gnu_ld=yes
12155 ;;
12156 *)
12157 lt_cv_prog_gnu_ld=no
12158 ;;
12159 esac
12160 fi
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12162 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12163 with_gnu_ld=$lt_cv_prog_gnu_ld
12164
12165
12166
12167
12168
12169
12170
12171 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12172 # archiving commands below assume that GNU ld is being used.
12173 if test "$with_gnu_ld" = yes; then
12174 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12175 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'
12176
12177 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12178 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12179
12180 # If archive_cmds runs LD, not CC, wlarc should be empty
12181 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12182 # investigate it a little bit more. (MM)
12183 wlarc='${wl}'
12184
12185 # ancient GNU ld didn't support --whole-archive et. al.
12186 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12187 $GREP 'no-whole-archive' > /dev/null; then
12188 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12189 else
12190 whole_archive_flag_spec_CXX=
12191 fi
12192 else
12193 with_gnu_ld=no
12194 wlarc=
12195
12196 # A generic and very simple default shared library creation
12197 # command for GNU C++ for the case where it uses the native
12198 # linker, instead of GNU ld. If possible, this setting should
12199 # overridden to take advantage of the native linker features on
12200 # the platform it is being used on.
12201 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12202 fi
12203
12204 # Commands to make compiler produce verbose output that lists
12205 # what "hidden" libraries, object files and flags are used when
12206 # linking a shared library.
12207 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12208
12209 else
12210 GXX=no
12211 with_gnu_ld=no
12212 wlarc=
12213 fi
12214
12215 # PORTME: fill in a description of your system's C++ link characteristics
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12217 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12218 ld_shlibs_CXX=yes
12219 case $host_os in
12220 aix3*)
12221 # FIXME: insert proper C++ library support
12222 ld_shlibs_CXX=no
12223 ;;
12224 aix[4-9]*)
12225 if test "$host_cpu" = ia64; then
12226 # On IA64, the linker does run time linking by default, so we don't
12227 # have to do anything special.
12228 aix_use_runtimelinking=no
12229 exp_sym_flag='-Bexport'
12230 no_entry_flag=""
12231 else
12232 aix_use_runtimelinking=no
12233
12234 # Test if we are trying to use run time linking or normal
12235 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12236 # need to do runtime linking.
12237 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12238 for ld_flag in $LDFLAGS; do
12239 case $ld_flag in
12240 *-brtl*)
12241 aix_use_runtimelinking=yes
12242 break
12243 ;;
12244 esac
12245 done
12246 ;;
12247 esac
12248
12249 exp_sym_flag='-bexport'
12250 no_entry_flag='-bnoentry'
12251 fi
12252
12253 # When large executables or shared objects are built, AIX ld can
12254 # have problems creating the table of contents. If linking a library
12255 # or program results in "error TOC overflow" add -mminimal-toc to
12256 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12257 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12258
12259 archive_cmds_CXX=''
12260 hardcode_direct_CXX=yes
12261 hardcode_direct_absolute_CXX=yes
12262 hardcode_libdir_separator_CXX=':'
12263 link_all_deplibs_CXX=yes
12264 file_list_spec_CXX='${wl}-f,'
12265
12266 if test "$GXX" = yes; then
12267 case $host_os in aix4.[012]|aix4.[012].*)
12268 # We only want to do this on AIX 4.2 and lower, the check
12269 # below for broken collect2 doesn't work under 4.3+
12270 collect2name=`${CC} -print-prog-name=collect2`
12271 if test -f "$collect2name" &&
12272 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12273 then
12274 # We have reworked collect2
12275 :
12276 else
12277 # We have old collect2
12278 hardcode_direct_CXX=unsupported
12279 # It fails to find uninstalled libraries when the uninstalled
12280 # path is not listed in the libpath. Setting hardcode_minus_L
12281 # to unsupported forces relinking
12282 hardcode_minus_L_CXX=yes
12283 hardcode_libdir_flag_spec_CXX='-L$libdir'
12284 hardcode_libdir_separator_CXX=
12285 fi
12286 esac
12287 shared_flag='-shared'
12288 if test "$aix_use_runtimelinking" = yes; then
12289 shared_flag="$shared_flag "'${wl}-G'
12290 fi
12291 else
12292 # not using gcc
12293 if test "$host_cpu" = ia64; then
12294 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12295 # chokes on -Wl,-G. The following line is correct:
12296 shared_flag='-G'
12297 else
12298 if test "$aix_use_runtimelinking" = yes; then
12299 shared_flag='${wl}-G'
12300 else
12301 shared_flag='${wl}-bM:SRE'
12302 fi
12303 fi
12304 fi
12305
12306 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12307 # It seems that -bexpall does not export symbols beginning with
12308 # underscore (_), so it is better to generate a list of symbols to
12309 # export.
12310 always_export_symbols_CXX=yes
12311 if test "$aix_use_runtimelinking" = yes; then
12312 # Warning - without using the other runtime loading flags (-brtl),
12313 # -berok will link without error, but may produce a broken library.
12314 allow_undefined_flag_CXX='-berok'
12315 # Determine the default libpath from the value encoded in an empty
12316 # executable.
12317 if test x$gcc_no_link = xyes; then
12318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12319 fi
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12322
12323 int
12324 main ()
12325 {
12326
12327 ;
12328 return 0;
12329 }
12330 _ACEOF
12331 if ac_fn_cxx_try_link "$LINENO"; then :
12332
12333 lt_aix_libpath_sed='
12334 /Import File Strings/,/^$/ {
12335 /^0/ {
12336 s/^0 *\(.*\)$/\1/
12337 p
12338 }
12339 }'
12340 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12341 # Check for a 64-bit object if we didn't find anything.
12342 if test -z "$aix_libpath"; then
12343 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12344 fi
12345 fi
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12349
12350 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12351
12352 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"
12353 else
12354 if test "$host_cpu" = ia64; then
12355 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12356 allow_undefined_flag_CXX="-z nodefs"
12357 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"
12358 else
12359 # Determine the default libpath from the value encoded in an
12360 # empty executable.
12361 if test x$gcc_no_link = xyes; then
12362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 fi
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366
12367 int
12368 main ()
12369 {
12370
12371 ;
12372 return 0;
12373 }
12374 _ACEOF
12375 if ac_fn_cxx_try_link "$LINENO"; then :
12376
12377 lt_aix_libpath_sed='
12378 /Import File Strings/,/^$/ {
12379 /^0/ {
12380 s/^0 *\(.*\)$/\1/
12381 p
12382 }
12383 }'
12384 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12385 # Check for a 64-bit object if we didn't find anything.
12386 if test -z "$aix_libpath"; then
12387 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12388 fi
12389 fi
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393
12394 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395 # Warning - without using the other run time loading flags,
12396 # -berok will link without error, but may produce a broken library.
12397 no_undefined_flag_CXX=' ${wl}-bernotok'
12398 allow_undefined_flag_CXX=' ${wl}-berok'
12399 if test "$with_gnu_ld" = yes; then
12400 # We only use this code for GNU lds that support --whole-archive.
12401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12402 else
12403 # Exported symbols can be pulled into shared objects from archives
12404 whole_archive_flag_spec_CXX='$convenience'
12405 fi
12406 archive_cmds_need_lc_CXX=yes
12407 # This is similar to how AIX traditionally builds its shared
12408 # libraries.
12409 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'
12410 fi
12411 fi
12412 ;;
12413
12414 beos*)
12415 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12416 allow_undefined_flag_CXX=unsupported
12417 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12418 # support --undefined. This deserves some investigation. FIXME
12419 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12420 else
12421 ld_shlibs_CXX=no
12422 fi
12423 ;;
12424
12425 chorus*)
12426 case $cc_basename in
12427 *)
12428 # FIXME: insert proper C++ library support
12429 ld_shlibs_CXX=no
12430 ;;
12431 esac
12432 ;;
12433
12434 cygwin* | mingw* | pw32* | cegcc*)
12435 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12436 # as there is no search path for DLLs.
12437 hardcode_libdir_flag_spec_CXX='-L$libdir'
12438 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12439 allow_undefined_flag_CXX=unsupported
12440 always_export_symbols_CXX=no
12441 enable_shared_with_static_runtimes_CXX=yes
12442
12443 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12444 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'
12445 # If the export-symbols file already is a .def file (1st line
12446 # is EXPORTS), use it as is; otherwise, prepend...
12447 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12448 cp $export_symbols $output_objdir/$soname.def;
12449 else
12450 echo EXPORTS > $output_objdir/$soname.def;
12451 cat $export_symbols >> $output_objdir/$soname.def;
12452 fi~
12453 $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'
12454 else
12455 ld_shlibs_CXX=no
12456 fi
12457 ;;
12458 darwin* | rhapsody*)
12459
12460
12461 archive_cmds_need_lc_CXX=no
12462 hardcode_direct_CXX=no
12463 hardcode_automatic_CXX=yes
12464 hardcode_shlibpath_var_CXX=unsupported
12465 if test "$lt_cv_ld_force_load" = "yes"; then
12466 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\"`'
12467 else
12468 whole_archive_flag_spec_CXX=''
12469 fi
12470 link_all_deplibs_CXX=yes
12471 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12472 case $cc_basename in
12473 ifort*) _lt_dar_can_shared=yes ;;
12474 *) _lt_dar_can_shared=$GCC ;;
12475 esac
12476 if test "$_lt_dar_can_shared" = "yes"; then
12477 output_verbose_link_cmd=func_echo_all
12478 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}"
12479 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12480 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}"
12481 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}"
12482 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12483 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}"
12484 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}"
12485 fi
12486
12487 else
12488 ld_shlibs_CXX=no
12489 fi
12490
12491 ;;
12492
12493 dgux*)
12494 case $cc_basename in
12495 ec++*)
12496 # FIXME: insert proper C++ library support
12497 ld_shlibs_CXX=no
12498 ;;
12499 ghcx*)
12500 # Green Hills C++ Compiler
12501 # FIXME: insert proper C++ library support
12502 ld_shlibs_CXX=no
12503 ;;
12504 *)
12505 # FIXME: insert proper C++ library support
12506 ld_shlibs_CXX=no
12507 ;;
12508 esac
12509 ;;
12510
12511 freebsd[12]*)
12512 # C++ shared libraries reported to be fairly broken before
12513 # switch to ELF
12514 ld_shlibs_CXX=no
12515 ;;
12516
12517 freebsd-elf*)
12518 archive_cmds_need_lc_CXX=no
12519 ;;
12520
12521 freebsd* | dragonfly*)
12522 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12523 # conventions
12524 ld_shlibs_CXX=yes
12525 ;;
12526
12527 gnu*)
12528 ;;
12529
12530 haiku*)
12531 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12532 link_all_deplibs_CXX=yes
12533 ;;
12534
12535 hpux9*)
12536 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12537 hardcode_libdir_separator_CXX=:
12538 export_dynamic_flag_spec_CXX='${wl}-E'
12539 hardcode_direct_CXX=yes
12540 hardcode_minus_L_CXX=yes # Not in the search PATH,
12541 # but as the default
12542 # location of the library.
12543
12544 case $cc_basename in
12545 CC*)
12546 # FIXME: insert proper C++ library support
12547 ld_shlibs_CXX=no
12548 ;;
12549 aCC*)
12550 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'
12551 # Commands to make compiler produce verbose output that lists
12552 # what "hidden" libraries, object files and flags are used when
12553 # linking a shared library.
12554 #
12555 # There doesn't appear to be a way to prevent this compiler from
12556 # explicitly linking system object files so we need to strip them
12557 # from the output so that they don't get included in the library
12558 # dependencies.
12559 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"'
12560 ;;
12561 *)
12562 if test "$GXX" = yes; then
12563 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'
12564 else
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12567 fi
12568 ;;
12569 esac
12570 ;;
12571
12572 hpux10*|hpux11*)
12573 if test $with_gnu_ld = no; then
12574 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12575 hardcode_libdir_separator_CXX=:
12576
12577 case $host_cpu in
12578 hppa*64*|ia64*)
12579 ;;
12580 *)
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 ;;
12583 esac
12584 fi
12585 case $host_cpu in
12586 hppa*64*|ia64*)
12587 hardcode_direct_CXX=no
12588 hardcode_shlibpath_var_CXX=no
12589 ;;
12590 *)
12591 hardcode_direct_CXX=yes
12592 hardcode_direct_absolute_CXX=yes
12593 hardcode_minus_L_CXX=yes # Not in the search PATH,
12594 # but as the default
12595 # location of the library.
12596 ;;
12597 esac
12598
12599 case $cc_basename in
12600 CC*)
12601 # FIXME: insert proper C++ library support
12602 ld_shlibs_CXX=no
12603 ;;
12604 aCC*)
12605 case $host_cpu in
12606 hppa*64*)
12607 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12608 ;;
12609 ia64*)
12610 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12611 ;;
12612 *)
12613 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12614 ;;
12615 esac
12616 # Commands to make compiler produce verbose output that lists
12617 # what "hidden" libraries, object files and flags are used when
12618 # linking a shared library.
12619 #
12620 # There doesn't appear to be a way to prevent this compiler from
12621 # explicitly linking system object files so we need to strip them
12622 # from the output so that they don't get included in the library
12623 # dependencies.
12624 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"'
12625 ;;
12626 *)
12627 if test "$GXX" = yes; then
12628 if test $with_gnu_ld = no; then
12629 case $host_cpu in
12630 hppa*64*)
12631 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 ;;
12633 ia64*)
12634 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635 ;;
12636 *)
12637 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'
12638 ;;
12639 esac
12640 fi
12641 else
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12644 fi
12645 ;;
12646 esac
12647 ;;
12648
12649 interix[3-9]*)
12650 hardcode_direct_CXX=no
12651 hardcode_shlibpath_var_CXX=no
12652 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12653 export_dynamic_flag_spec_CXX='${wl}-E'
12654 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12655 # Instead, shared libraries are loaded at an image base (0x10000000 by
12656 # default) and relocated if they conflict, which is a slow very memory
12657 # consuming and fragmenting process. To avoid this, we pick a random,
12658 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12659 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12660 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'
12661 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'
12662 ;;
12663 irix5* | irix6*)
12664 case $cc_basename in
12665 CC*)
12666 # SGI C++
12667 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'
12668
12669 # Archives containing C++ object files must be created using
12670 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12671 # necessary to make sure instantiated templates are included
12672 # in the archive.
12673 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12674 ;;
12675 *)
12676 if test "$GXX" = yes; then
12677 if test "$with_gnu_ld" = no; then
12678 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'
12679 else
12680 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'
12681 fi
12682 fi
12683 link_all_deplibs_CXX=yes
12684 ;;
12685 esac
12686 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12687 hardcode_libdir_separator_CXX=:
12688 inherit_rpath_CXX=yes
12689 ;;
12690
12691 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12692 case $cc_basename in
12693 KCC*)
12694 # Kuck and Associates, Inc. (KAI) C++ Compiler
12695
12696 # KCC will only create a shared library if the output file
12697 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12698 # to its proper name (with version) after linking.
12699 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'
12700 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'
12701 # Commands to make compiler produce verbose output that lists
12702 # what "hidden" libraries, object files and flags are used when
12703 # linking a shared library.
12704 #
12705 # There doesn't appear to be a way to prevent this compiler from
12706 # explicitly linking system object files so we need to strip them
12707 # from the output so that they don't get included in the library
12708 # dependencies.
12709 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"'
12710
12711 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12712 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12713
12714 # Archives containing C++ object files must be created using
12715 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12716 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12717 ;;
12718 icpc* | ecpc* )
12719 # Intel C++
12720 with_gnu_ld=yes
12721 # version 8.0 and above of icpc choke on multiply defined symbols
12722 # if we add $predep_objects and $postdep_objects, however 7.1 and
12723 # earlier do not add the objects themselves.
12724 case `$CC -V 2>&1` in
12725 *"Version 7."*)
12726 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12727 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'
12728 ;;
12729 *) # Version 8.0 or newer
12730 tmp_idyn=
12731 case $host_cpu in
12732 ia64*) tmp_idyn=' -i_dynamic';;
12733 esac
12734 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12735 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'
12736 ;;
12737 esac
12738 archive_cmds_need_lc_CXX=no
12739 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12740 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12741 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12742 ;;
12743 pgCC* | pgcpp*)
12744 # Portland Group C++ compiler
12745 case `$CC -V` in
12746 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12747 prelink_cmds_CXX='tpldir=Template.dir~
12748 rm -rf $tpldir~
12749 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12750 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12751 old_archive_cmds_CXX='tpldir=Template.dir~
12752 rm -rf $tpldir~
12753 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12754 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12755 $RANLIB $oldlib'
12756 archive_cmds_CXX='tpldir=Template.dir~
12757 rm -rf $tpldir~
12758 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12759 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12760 archive_expsym_cmds_CXX='tpldir=Template.dir~
12761 rm -rf $tpldir~
12762 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12763 $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'
12764 ;;
12765 *) # Version 6 and above use weak symbols
12766 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12767 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'
12768 ;;
12769 esac
12770
12771 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12772 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12773 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'
12774 ;;
12775 cxx*)
12776 # Compaq C++
12777 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 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'
12779
12780 runpath_var=LD_RUN_PATH
12781 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12782 hardcode_libdir_separator_CXX=:
12783
12784 # Commands to make compiler produce verbose output that lists
12785 # what "hidden" libraries, object files and flags are used when
12786 # linking a shared library.
12787 #
12788 # There doesn't appear to be a way to prevent this compiler from
12789 # explicitly linking system object files so we need to strip them
12790 # from the output so that they don't get included in the library
12791 # dependencies.
12792 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'
12793 ;;
12794 xl* | mpixl* | bgxl*)
12795 # IBM XL 8.0 on PPC, with GNU ld
12796 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12797 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12798 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12799 if test "x$supports_anon_versioning" = xyes; then
12800 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12801 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12802 echo "local: *; };" >> $output_objdir/$libname.ver~
12803 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12804 fi
12805 ;;
12806 *)
12807 case `$CC -V 2>&1 | sed 5q` in
12808 *Sun\ C*)
12809 # Sun C++ 5.9
12810 no_undefined_flag_CXX=' -zdefs'
12811 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12812 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'
12813 hardcode_libdir_flag_spec_CXX='-R$libdir'
12814 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'
12815 compiler_needs_object_CXX=yes
12816
12817 # Not sure whether something based on
12818 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12819 # would be better.
12820 output_verbose_link_cmd='func_echo_all'
12821
12822 # Archives containing C++ object files must be created using
12823 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12824 # necessary to make sure instantiated templates are included
12825 # in the archive.
12826 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12827 ;;
12828 esac
12829 ;;
12830 esac
12831 ;;
12832
12833 lynxos*)
12834 # FIXME: insert proper C++ library support
12835 ld_shlibs_CXX=no
12836 ;;
12837
12838 m88k*)
12839 # FIXME: insert proper C++ library support
12840 ld_shlibs_CXX=no
12841 ;;
12842
12843 mvs*)
12844 case $cc_basename in
12845 cxx*)
12846 # FIXME: insert proper C++ library support
12847 ld_shlibs_CXX=no
12848 ;;
12849 *)
12850 # FIXME: insert proper C++ library support
12851 ld_shlibs_CXX=no
12852 ;;
12853 esac
12854 ;;
12855
12856 netbsd*)
12857 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12858 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12859 wlarc=
12860 hardcode_libdir_flag_spec_CXX='-R$libdir'
12861 hardcode_direct_CXX=yes
12862 hardcode_shlibpath_var_CXX=no
12863 fi
12864 # Workaround some broken pre-1.5 toolchains
12865 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12866 ;;
12867
12868 *nto* | *qnx*)
12869 ld_shlibs_CXX=yes
12870 ;;
12871
12872 openbsd2*)
12873 # C++ shared libraries are fairly broken
12874 ld_shlibs_CXX=no
12875 ;;
12876
12877 openbsd*)
12878 if test -f /usr/libexec/ld.so; then
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12881 hardcode_direct_absolute_CXX=yes
12882 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12883 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12884 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12885 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12886 export_dynamic_flag_spec_CXX='${wl}-E'
12887 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12888 fi
12889 output_verbose_link_cmd=func_echo_all
12890 else
12891 ld_shlibs_CXX=no
12892 fi
12893 ;;
12894
12895 osf3* | osf4* | osf5*)
12896 case $cc_basename in
12897 KCC*)
12898 # Kuck and Associates, Inc. (KAI) C++ Compiler
12899
12900 # KCC will only create a shared library if the output file
12901 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12902 # to its proper name (with version) after linking.
12903 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'
12904
12905 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12906 hardcode_libdir_separator_CXX=:
12907
12908 # Archives containing C++ object files must be created using
12909 # the KAI C++ compiler.
12910 case $host in
12911 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12912 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12913 esac
12914 ;;
12915 RCC*)
12916 # Rational C++ 2.4.1
12917 # FIXME: insert proper C++ library support
12918 ld_shlibs_CXX=no
12919 ;;
12920 cxx*)
12921 case $host in
12922 osf3*)
12923 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12924 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'
12925 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12926 ;;
12927 *)
12928 allow_undefined_flag_CXX=' -expect_unresolved \*'
12929 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'
12930 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12931 echo "-hidden">> $lib.exp~
12932 $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~
12933 $RM $lib.exp'
12934 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12935 ;;
12936 esac
12937
12938 hardcode_libdir_separator_CXX=:
12939
12940 # Commands to make compiler produce verbose output that lists
12941 # what "hidden" libraries, object files and flags are used when
12942 # linking a shared library.
12943 #
12944 # There doesn't appear to be a way to prevent this compiler from
12945 # explicitly linking system object files so we need to strip them
12946 # from the output so that they don't get included in the library
12947 # dependencies.
12948 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"'
12949 ;;
12950 *)
12951 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12952 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12953 case $host in
12954 osf3*)
12955 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'
12956 ;;
12957 *)
12958 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'
12959 ;;
12960 esac
12961
12962 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12963 hardcode_libdir_separator_CXX=:
12964
12965 # Commands to make compiler produce verbose output that lists
12966 # what "hidden" libraries, object files and flags are used when
12967 # linking a shared library.
12968 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12969
12970 else
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12973 fi
12974 ;;
12975 esac
12976 ;;
12977
12978 psos*)
12979 # FIXME: insert proper C++ library support
12980 ld_shlibs_CXX=no
12981 ;;
12982
12983 sunos4*)
12984 case $cc_basename in
12985 CC*)
12986 # Sun C++ 4.x
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12989 ;;
12990 lcc*)
12991 # Lucid
12992 # FIXME: insert proper C++ library support
12993 ld_shlibs_CXX=no
12994 ;;
12995 *)
12996 # FIXME: insert proper C++ library support
12997 ld_shlibs_CXX=no
12998 ;;
12999 esac
13000 ;;
13001
13002 solaris*)
13003 case $cc_basename in
13004 CC*)
13005 # Sun C++ 4.2, 5.x and Centerline C++
13006 archive_cmds_need_lc_CXX=yes
13007 no_undefined_flag_CXX=' -zdefs'
13008 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13009 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13010 $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'
13011
13012 hardcode_libdir_flag_spec_CXX='-R$libdir'
13013 hardcode_shlibpath_var_CXX=no
13014 case $host_os in
13015 solaris2.[0-5] | solaris2.[0-5].*) ;;
13016 *)
13017 # The compiler driver will combine and reorder linker options,
13018 # but understands `-z linker_flag'.
13019 # Supported since Solaris 2.6 (maybe 2.5.1?)
13020 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13021 ;;
13022 esac
13023 link_all_deplibs_CXX=yes
13024
13025 output_verbose_link_cmd='func_echo_all'
13026
13027 # Archives containing C++ object files must be created using
13028 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13029 # necessary to make sure instantiated templates are included
13030 # in the archive.
13031 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13032 ;;
13033 gcx*)
13034 # Green Hills C++ Compiler
13035 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13036
13037 # The C++ compiler must be used to create the archive.
13038 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13039 ;;
13040 *)
13041 # GNU C++ compiler with Solaris linker
13042 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13043 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13044 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13045 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13046 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13047 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13048
13049 # Commands to make compiler produce verbose output that lists
13050 # what "hidden" libraries, object files and flags are used when
13051 # linking a shared library.
13052 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13053 else
13054 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13055 # platform.
13056 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13057 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13058 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13059
13060 # Commands to make compiler produce verbose output that lists
13061 # what "hidden" libraries, object files and flags are used when
13062 # linking a shared library.
13063 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13064 fi
13065
13066 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13067 case $host_os in
13068 solaris2.[0-5] | solaris2.[0-5].*) ;;
13069 *)
13070 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13071 ;;
13072 esac
13073 fi
13074 ;;
13075 esac
13076 ;;
13077
13078 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13079 no_undefined_flag_CXX='${wl}-z,text'
13080 archive_cmds_need_lc_CXX=no
13081 hardcode_shlibpath_var_CXX=no
13082 runpath_var='LD_RUN_PATH'
13083
13084 case $cc_basename in
13085 CC*)
13086 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088 ;;
13089 *)
13090 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13091 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13092 ;;
13093 esac
13094 ;;
13095
13096 sysv5* | sco3.2v5* | sco5v6*)
13097 # Note: We can NOT use -z defs as we might desire, because we do not
13098 # link with -lc, and that would cause any symbols used from libc to
13099 # always be unresolved, which means just about no library would
13100 # ever link correctly. If we're not using GNU ld we use -z text
13101 # though, which does catch some bad symbols but isn't as heavy-handed
13102 # as -z defs.
13103 no_undefined_flag_CXX='${wl}-z,text'
13104 allow_undefined_flag_CXX='${wl}-z,nodefs'
13105 archive_cmds_need_lc_CXX=no
13106 hardcode_shlibpath_var_CXX=no
13107 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13108 hardcode_libdir_separator_CXX=':'
13109 link_all_deplibs_CXX=yes
13110 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13111 runpath_var='LD_RUN_PATH'
13112
13113 case $cc_basename in
13114 CC*)
13115 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13116 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13118 '"$old_archive_cmds_CXX"
13119 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13120 '"$reload_cmds_CXX"
13121 ;;
13122 *)
13123 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13125 ;;
13126 esac
13127 ;;
13128
13129 tandem*)
13130 case $cc_basename in
13131 NCC*)
13132 # NonStop-UX NCC 3.20
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13135 ;;
13136 *)
13137 # FIXME: insert proper C++ library support
13138 ld_shlibs_CXX=no
13139 ;;
13140 esac
13141 ;;
13142
13143 vxworks*)
13144 # FIXME: insert proper C++ library support
13145 ld_shlibs_CXX=no
13146 ;;
13147
13148 *)
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13151 ;;
13152 esac
13153
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13155 $as_echo "$ld_shlibs_CXX" >&6; }
13156 test "$ld_shlibs_CXX" = no && can_build_shared=no
13157
13158 GCC_CXX="$GXX"
13159 LD_CXX="$LD"
13160
13161 ## CAVEAT EMPTOR:
13162 ## There is no encapsulation within the following macros, do not change
13163 ## the running order or otherwise move them around unless you know exactly
13164 ## what you are doing...
13165 # Dependencies to place before and after the object being linked:
13166 predep_objects_CXX=
13167 postdep_objects_CXX=
13168 predeps_CXX=
13169 postdeps_CXX=
13170 compiler_lib_search_path_CXX=
13171
13172 cat > conftest.$ac_ext <<_LT_EOF
13173 class Foo
13174 {
13175 public:
13176 Foo (void) { a = 0; }
13177 private:
13178 int a;
13179 };
13180 _LT_EOF
13181
13182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13183 (eval $ac_compile) 2>&5
13184 ac_status=$?
13185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13186 test $ac_status = 0; }; then
13187 # Parse the compiler output and extract the necessary
13188 # objects, libraries and library flags.
13189
13190 # Sentinel used to keep track of whether or not we are before
13191 # the conftest object file.
13192 pre_test_object_deps_done=no
13193
13194 for p in `eval "$output_verbose_link_cmd"`; do
13195 case $p in
13196
13197 -L* | -R* | -l*)
13198 # Some compilers place space between "-{L,R}" and the path.
13199 # Remove the space.
13200 if test $p = "-L" ||
13201 test $p = "-R"; then
13202 prev=$p
13203 continue
13204 else
13205 prev=
13206 fi
13207
13208 if test "$pre_test_object_deps_done" = no; then
13209 case $p in
13210 -L* | -R*)
13211 # Internal compiler library paths should come after those
13212 # provided the user. The postdeps already come after the
13213 # user supplied libs so there is no need to process them.
13214 if test -z "$compiler_lib_search_path_CXX"; then
13215 compiler_lib_search_path_CXX="${prev}${p}"
13216 else
13217 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13218 fi
13219 ;;
13220 # The "-l" case would never come before the object being
13221 # linked, so don't bother handling this case.
13222 esac
13223 else
13224 if test -z "$postdeps_CXX"; then
13225 postdeps_CXX="${prev}${p}"
13226 else
13227 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13228 fi
13229 fi
13230 ;;
13231
13232 *.$objext)
13233 # This assumes that the test object file only shows up
13234 # once in the compiler output.
13235 if test "$p" = "conftest.$objext"; then
13236 pre_test_object_deps_done=yes
13237 continue
13238 fi
13239
13240 if test "$pre_test_object_deps_done" = no; then
13241 if test -z "$predep_objects_CXX"; then
13242 predep_objects_CXX="$p"
13243 else
13244 predep_objects_CXX="$predep_objects_CXX $p"
13245 fi
13246 else
13247 if test -z "$postdep_objects_CXX"; then
13248 postdep_objects_CXX="$p"
13249 else
13250 postdep_objects_CXX="$postdep_objects_CXX $p"
13251 fi
13252 fi
13253 ;;
13254
13255 *) ;; # Ignore the rest.
13256
13257 esac
13258 done
13259
13260 # Clean up.
13261 rm -f a.out a.exe
13262 else
13263 echo "libtool.m4: error: problem compiling CXX test program"
13264 fi
13265
13266 $RM -f confest.$objext
13267
13268 # PORTME: override above test on systems where it is broken
13269 case $host_os in
13270 interix[3-9]*)
13271 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13272 # hack all around it, let's just trust "g++" to DTRT.
13273 predep_objects_CXX=
13274 postdep_objects_CXX=
13275 postdeps_CXX=
13276 ;;
13277
13278 linux*)
13279 case `$CC -V 2>&1 | sed 5q` in
13280 *Sun\ C*)
13281 # Sun C++ 5.9
13282
13283 # The more standards-conforming stlport4 library is
13284 # incompatible with the Cstd library. Avoid specifying
13285 # it if it's in CXXFLAGS. Ignore libCrun as
13286 # -library=stlport4 depends on it.
13287 case " $CXX $CXXFLAGS " in
13288 *" -library=stlport4 "*)
13289 solaris_use_stlport4=yes
13290 ;;
13291 esac
13292
13293 if test "$solaris_use_stlport4" != yes; then
13294 postdeps_CXX='-library=Cstd -library=Crun'
13295 fi
13296 ;;
13297 esac
13298 ;;
13299
13300 solaris*)
13301 case $cc_basename in
13302 CC*)
13303 # The more standards-conforming stlport4 library is
13304 # incompatible with the Cstd library. Avoid specifying
13305 # it if it's in CXXFLAGS. Ignore libCrun as
13306 # -library=stlport4 depends on it.
13307 case " $CXX $CXXFLAGS " in
13308 *" -library=stlport4 "*)
13309 solaris_use_stlport4=yes
13310 ;;
13311 esac
13312
13313 # Adding this requires a known-good setup of shared libraries for
13314 # Sun compiler versions before 5.6, else PIC objects from an old
13315 # archive will be linked into the output, leading to subtle bugs.
13316 if test "$solaris_use_stlport4" != yes; then
13317 postdeps_CXX='-library=Cstd -library=Crun'
13318 fi
13319 ;;
13320 esac
13321 ;;
13322 esac
13323
13324
13325 case " $postdeps_CXX " in
13326 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13327 esac
13328 compiler_lib_search_dirs_CXX=
13329 if test -n "${compiler_lib_search_path_CXX}"; then
13330 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13331 fi
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363 lt_prog_compiler_wl_CXX=
13364 lt_prog_compiler_pic_CXX=
13365 lt_prog_compiler_static_CXX=
13366
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13368 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13369
13370 # C++ specific cases for pic, static, wl, etc.
13371 if test "$GXX" = yes; then
13372 lt_prog_compiler_wl_CXX='-Wl,'
13373 lt_prog_compiler_static_CXX='-static'
13374
13375 case $host_os in
13376 aix*)
13377 # All AIX code is PIC.
13378 if test "$host_cpu" = ia64; then
13379 # AIX 5 now supports IA64 processor
13380 lt_prog_compiler_static_CXX='-Bstatic'
13381 fi
13382 ;;
13383
13384 amigaos*)
13385 case $host_cpu in
13386 powerpc)
13387 # see comment about AmigaOS4 .so support
13388 lt_prog_compiler_pic_CXX='-fPIC'
13389 ;;
13390 m68k)
13391 # FIXME: we need at least 68020 code to build shared libraries, but
13392 # adding the `-m68020' flag to GCC prevents building anything better,
13393 # like `-m68040'.
13394 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13395 ;;
13396 esac
13397 ;;
13398
13399 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13400 # PIC is the default for these OSes.
13401 ;;
13402 mingw* | cygwin* | os2* | pw32* | cegcc*)
13403 # This hack is so that the source file can tell whether it is being
13404 # built for inclusion in a dll (and should export symbols for example).
13405 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13406 # (--disable-auto-import) libraries
13407 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13408 ;;
13409 darwin* | rhapsody*)
13410 # PIC is the default on this platform
13411 # Common symbols not allowed in MH_DYLIB files
13412 lt_prog_compiler_pic_CXX='-fno-common'
13413 ;;
13414 *djgpp*)
13415 # DJGPP does not support shared libraries at all
13416 lt_prog_compiler_pic_CXX=
13417 ;;
13418 haiku*)
13419 # PIC is the default for Haiku.
13420 # The "-static" flag exists, but is broken.
13421 lt_prog_compiler_static_CXX=
13422 ;;
13423 interix[3-9]*)
13424 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13425 # Instead, we relocate shared libraries at runtime.
13426 ;;
13427 sysv4*MP*)
13428 if test -d /usr/nec; then
13429 lt_prog_compiler_pic_CXX=-Kconform_pic
13430 fi
13431 ;;
13432 hpux*)
13433 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13434 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13435 # sets the default TLS model and affects inlining.
13436 case $host_cpu in
13437 hppa*64*)
13438 ;;
13439 *)
13440 lt_prog_compiler_pic_CXX='-fPIC'
13441 ;;
13442 esac
13443 ;;
13444 *qnx* | *nto*)
13445 # QNX uses GNU C++, but need to define -shared option too, otherwise
13446 # it will coredump.
13447 lt_prog_compiler_pic_CXX='-fPIC -shared'
13448 ;;
13449 *)
13450 lt_prog_compiler_pic_CXX='-fPIC'
13451 ;;
13452 esac
13453 else
13454 case $host_os in
13455 aix[4-9]*)
13456 # All AIX code is PIC.
13457 if test "$host_cpu" = ia64; then
13458 # AIX 5 now supports IA64 processor
13459 lt_prog_compiler_static_CXX='-Bstatic'
13460 else
13461 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13462 fi
13463 ;;
13464 chorus*)
13465 case $cc_basename in
13466 cxch68*)
13467 # Green Hills C++ Compiler
13468 # _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"
13469 ;;
13470 esac
13471 ;;
13472 dgux*)
13473 case $cc_basename in
13474 ec++*)
13475 lt_prog_compiler_pic_CXX='-KPIC'
13476 ;;
13477 ghcx*)
13478 # Green Hills C++ Compiler
13479 lt_prog_compiler_pic_CXX='-pic'
13480 ;;
13481 *)
13482 ;;
13483 esac
13484 ;;
13485 freebsd* | dragonfly*)
13486 # FreeBSD uses GNU C++
13487 ;;
13488 hpux9* | hpux10* | hpux11*)
13489 case $cc_basename in
13490 CC*)
13491 lt_prog_compiler_wl_CXX='-Wl,'
13492 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13493 if test "$host_cpu" != ia64; then
13494 lt_prog_compiler_pic_CXX='+Z'
13495 fi
13496 ;;
13497 aCC*)
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13500 case $host_cpu in
13501 hppa*64*|ia64*)
13502 # +Z the default
13503 ;;
13504 *)
13505 lt_prog_compiler_pic_CXX='+Z'
13506 ;;
13507 esac
13508 ;;
13509 *)
13510 ;;
13511 esac
13512 ;;
13513 interix*)
13514 # This is c89, which is MS Visual C++ (no shared libs)
13515 # Anyone wants to do a port?
13516 ;;
13517 irix5* | irix6* | nonstopux*)
13518 case $cc_basename in
13519 CC*)
13520 lt_prog_compiler_wl_CXX='-Wl,'
13521 lt_prog_compiler_static_CXX='-non_shared'
13522 # CC pic flag -KPIC is the default.
13523 ;;
13524 *)
13525 ;;
13526 esac
13527 ;;
13528 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13529 case $cc_basename in
13530 KCC*)
13531 # KAI C++ Compiler
13532 lt_prog_compiler_wl_CXX='--backend -Wl,'
13533 lt_prog_compiler_pic_CXX='-fPIC'
13534 ;;
13535 ecpc* )
13536 # old Intel C++ for x86_64 which still supported -KPIC.
13537 lt_prog_compiler_wl_CXX='-Wl,'
13538 lt_prog_compiler_pic_CXX='-KPIC'
13539 lt_prog_compiler_static_CXX='-static'
13540 ;;
13541 icpc* )
13542 # Intel C++, used to be incompatible with GCC.
13543 # ICC 10 doesn't accept -KPIC any more.
13544 lt_prog_compiler_wl_CXX='-Wl,'
13545 lt_prog_compiler_pic_CXX='-fPIC'
13546 lt_prog_compiler_static_CXX='-static'
13547 ;;
13548 pgCC* | pgcpp*)
13549 # Portland Group C++ compiler
13550 lt_prog_compiler_wl_CXX='-Wl,'
13551 lt_prog_compiler_pic_CXX='-fpic'
13552 lt_prog_compiler_static_CXX='-Bstatic'
13553 ;;
13554 cxx*)
13555 # Compaq C++
13556 # Make sure the PIC flag is empty. It appears that all Alpha
13557 # Linux and Compaq Tru64 Unix objects are PIC.
13558 lt_prog_compiler_pic_CXX=
13559 lt_prog_compiler_static_CXX='-non_shared'
13560 ;;
13561 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13562 # IBM XL 8.0, 9.0 on PPC and BlueGene
13563 lt_prog_compiler_wl_CXX='-Wl,'
13564 lt_prog_compiler_pic_CXX='-qpic'
13565 lt_prog_compiler_static_CXX='-qstaticlink'
13566 ;;
13567 *)
13568 case `$CC -V 2>&1 | sed 5q` in
13569 *Sun\ C*)
13570 # Sun C++ 5.9
13571 lt_prog_compiler_pic_CXX='-KPIC'
13572 lt_prog_compiler_static_CXX='-Bstatic'
13573 lt_prog_compiler_wl_CXX='-Qoption ld '
13574 ;;
13575 esac
13576 ;;
13577 esac
13578 ;;
13579 lynxos*)
13580 ;;
13581 m88k*)
13582 ;;
13583 mvs*)
13584 case $cc_basename in
13585 cxx*)
13586 lt_prog_compiler_pic_CXX='-W c,exportall'
13587 ;;
13588 *)
13589 ;;
13590 esac
13591 ;;
13592 netbsd*)
13593 ;;
13594 *qnx* | *nto*)
13595 # QNX uses GNU C++, but need to define -shared option too, otherwise
13596 # it will coredump.
13597 lt_prog_compiler_pic_CXX='-fPIC -shared'
13598 ;;
13599 osf3* | osf4* | osf5*)
13600 case $cc_basename in
13601 KCC*)
13602 lt_prog_compiler_wl_CXX='--backend -Wl,'
13603 ;;
13604 RCC*)
13605 # Rational C++ 2.4.1
13606 lt_prog_compiler_pic_CXX='-pic'
13607 ;;
13608 cxx*)
13609 # Digital/Compaq C++
13610 lt_prog_compiler_wl_CXX='-Wl,'
13611 # Make sure the PIC flag is empty. It appears that all Alpha
13612 # Linux and Compaq Tru64 Unix objects are PIC.
13613 lt_prog_compiler_pic_CXX=
13614 lt_prog_compiler_static_CXX='-non_shared'
13615 ;;
13616 *)
13617 ;;
13618 esac
13619 ;;
13620 psos*)
13621 ;;
13622 solaris*)
13623 case $cc_basename in
13624 CC*)
13625 # Sun C++ 4.2, 5.x and Centerline C++
13626 lt_prog_compiler_pic_CXX='-KPIC'
13627 lt_prog_compiler_static_CXX='-Bstatic'
13628 lt_prog_compiler_wl_CXX='-Qoption ld '
13629 ;;
13630 gcx*)
13631 # Green Hills C++ Compiler
13632 lt_prog_compiler_pic_CXX='-PIC'
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 ;;
13638 sunos4*)
13639 case $cc_basename in
13640 CC*)
13641 # Sun C++ 4.x
13642 lt_prog_compiler_pic_CXX='-pic'
13643 lt_prog_compiler_static_CXX='-Bstatic'
13644 ;;
13645 lcc*)
13646 # Lucid
13647 lt_prog_compiler_pic_CXX='-pic'
13648 ;;
13649 *)
13650 ;;
13651 esac
13652 ;;
13653 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13654 case $cc_basename in
13655 CC*)
13656 lt_prog_compiler_wl_CXX='-Wl,'
13657 lt_prog_compiler_pic_CXX='-KPIC'
13658 lt_prog_compiler_static_CXX='-Bstatic'
13659 ;;
13660 esac
13661 ;;
13662 tandem*)
13663 case $cc_basename in
13664 NCC*)
13665 # NonStop-UX NCC 3.20
13666 lt_prog_compiler_pic_CXX='-KPIC'
13667 ;;
13668 *)
13669 ;;
13670 esac
13671 ;;
13672 vxworks*)
13673 ;;
13674 *)
13675 lt_prog_compiler_can_build_shared_CXX=no
13676 ;;
13677 esac
13678 fi
13679
13680 case $host_os in
13681 # For platforms which do not support PIC, -DPIC is meaningless:
13682 *djgpp*)
13683 lt_prog_compiler_pic_CXX=
13684 ;;
13685 *)
13686 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13687 ;;
13688 esac
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13690 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13691
13692
13693
13694 #
13695 # Check to make sure the PIC flag actually works.
13696 #
13697 if test -n "$lt_prog_compiler_pic_CXX"; then
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13699 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13700 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13701 $as_echo_n "(cached) " >&6
13702 else
13703 lt_cv_prog_compiler_pic_works_CXX=no
13704 ac_outfile=conftest.$ac_objext
13705 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13706 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13707 # Insert the option either (1) after the last *FLAGS variable, or
13708 # (2) before a word containing "conftest.", or (3) at the end.
13709 # Note that $ac_compile itself does not contain backslashes and begins
13710 # with a dollar sign (not a hyphen), so the echo should work correctly.
13711 # The option is referenced via a variable to avoid confusing sed.
13712 lt_compile=`echo "$ac_compile" | $SED \
13713 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13715 -e 's:$: $lt_compiler_flag:'`
13716 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13717 (eval "$lt_compile" 2>conftest.err)
13718 ac_status=$?
13719 cat conftest.err >&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 if (exit $ac_status) && test -s "$ac_outfile"; then
13722 # The compiler can only warn and ignore the option if not recognized
13723 # So say no if there are warnings other than the usual output.
13724 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13725 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13726 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13727 lt_cv_prog_compiler_pic_works_CXX=yes
13728 fi
13729 fi
13730 $RM conftest*
13731
13732 fi
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13734 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13735
13736 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13737 case $lt_prog_compiler_pic_CXX in
13738 "" | " "*) ;;
13739 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13740 esac
13741 else
13742 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_can_build_shared_CXX=no
13744 fi
13745
13746 fi
13747
13748
13749
13750 #
13751 # Check to make sure the static flag actually works.
13752 #
13753 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13755 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13756 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 lt_cv_prog_compiler_static_works_CXX=no
13760 save_LDFLAGS="$LDFLAGS"
13761 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13762 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13763 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13764 # The linker can only warn and ignore the option if not recognized
13765 # So say no if there are warnings
13766 if test -s conftest.err; then
13767 # Append any errors to the config.log.
13768 cat conftest.err 1>&5
13769 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13770 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13771 if diff conftest.exp conftest.er2 >/dev/null; then
13772 lt_cv_prog_compiler_static_works_CXX=yes
13773 fi
13774 else
13775 lt_cv_prog_compiler_static_works_CXX=yes
13776 fi
13777 fi
13778 $RM -r conftest*
13779 LDFLAGS="$save_LDFLAGS"
13780
13781 fi
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13783 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13784
13785 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13786 :
13787 else
13788 lt_prog_compiler_static_CXX=
13789 fi
13790
13791
13792
13793
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13795 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13796 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13797 $as_echo_n "(cached) " >&6
13798 else
13799 lt_cv_prog_compiler_c_o_CXX=no
13800 $RM -r conftest 2>/dev/null
13801 mkdir conftest
13802 cd conftest
13803 mkdir out
13804 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13805
13806 lt_compiler_flag="-o out/conftest2.$ac_objext"
13807 # Insert the option either (1) after the last *FLAGS variable, or
13808 # (2) before a word containing "conftest.", or (3) at the end.
13809 # Note that $ac_compile itself does not contain backslashes and begins
13810 # with a dollar sign (not a hyphen), so the echo should work correctly.
13811 lt_compile=`echo "$ac_compile" | $SED \
13812 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13813 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13814 -e 's:$: $lt_compiler_flag:'`
13815 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13816 (eval "$lt_compile" 2>out/conftest.err)
13817 ac_status=$?
13818 cat out/conftest.err >&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13821 then
13822 # The compiler can only warn and ignore the option if not recognized
13823 # So say no if there are warnings
13824 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13825 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13826 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13827 lt_cv_prog_compiler_c_o_CXX=yes
13828 fi
13829 fi
13830 chmod u+w . 2>&5
13831 $RM conftest*
13832 # SGI C++ compiler will create directory out/ii_files/ for
13833 # template instantiation
13834 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13835 $RM out/* && rmdir out
13836 cd ..
13837 $RM -r conftest
13838 $RM conftest*
13839
13840 fi
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13842 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13843
13844
13845
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13847 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13848 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13849 $as_echo_n "(cached) " >&6
13850 else
13851 lt_cv_prog_compiler_c_o_CXX=no
13852 $RM -r conftest 2>/dev/null
13853 mkdir conftest
13854 cd conftest
13855 mkdir out
13856 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13857
13858 lt_compiler_flag="-o out/conftest2.$ac_objext"
13859 # Insert the option either (1) after the last *FLAGS variable, or
13860 # (2) before a word containing "conftest.", or (3) at the end.
13861 # Note that $ac_compile itself does not contain backslashes and begins
13862 # with a dollar sign (not a hyphen), so the echo should work correctly.
13863 lt_compile=`echo "$ac_compile" | $SED \
13864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13866 -e 's:$: $lt_compiler_flag:'`
13867 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13868 (eval "$lt_compile" 2>out/conftest.err)
13869 ac_status=$?
13870 cat out/conftest.err >&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13873 then
13874 # The compiler can only warn and ignore the option if not recognized
13875 # So say no if there are warnings
13876 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13877 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13878 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13879 lt_cv_prog_compiler_c_o_CXX=yes
13880 fi
13881 fi
13882 chmod u+w . 2>&5
13883 $RM conftest*
13884 # SGI C++ compiler will create directory out/ii_files/ for
13885 # template instantiation
13886 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13887 $RM out/* && rmdir out
13888 cd ..
13889 $RM -r conftest
13890 $RM conftest*
13891
13892 fi
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13894 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13895
13896
13897
13898
13899 hard_links="nottested"
13900 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13901 # do not overwrite the value of need_locks provided by the user
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13903 $as_echo_n "checking if we can lock with hard links... " >&6; }
13904 hard_links=yes
13905 $RM conftest*
13906 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13907 touch conftest.a
13908 ln conftest.a conftest.b 2>&5 || hard_links=no
13909 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13911 $as_echo "$hard_links" >&6; }
13912 if test "$hard_links" = no; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13914 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13915 need_locks=warn
13916 fi
13917 else
13918 need_locks=no
13919 fi
13920
13921
13922
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13924 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13925
13926 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13927 case $host_os in
13928 aix[4-9]*)
13929 # If we're using GNU nm, then we don't want the "-C" option.
13930 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13931 # Also, AIX nm treats weak defined symbols like other global defined
13932 # symbols, whereas GNU nm marks them as "W".
13933 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13934 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'
13935 else
13936 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'
13937 fi
13938 ;;
13939 pw32*)
13940 export_symbols_cmds_CXX="$ltdll_cmds"
13941 ;;
13942 cygwin* | mingw* | cegcc*)
13943 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'
13944 ;;
13945 *)
13946 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13947 ;;
13948 esac
13949 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13950
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13952 $as_echo "$ld_shlibs_CXX" >&6; }
13953 test "$ld_shlibs_CXX" = no && can_build_shared=no
13954
13955 with_gnu_ld_CXX=$with_gnu_ld
13956
13957
13958
13959
13960
13961
13962 #
13963 # Do we need to explicitly link libc?
13964 #
13965 case "x$archive_cmds_need_lc_CXX" in
13966 x|xyes)
13967 # Assume -lc should be added
13968 archive_cmds_need_lc_CXX=yes
13969
13970 if test "$enable_shared" = yes && test "$GCC" = yes; then
13971 case $archive_cmds_CXX in
13972 *'~'*)
13973 # FIXME: we may have to deal with multi-command sequences.
13974 ;;
13975 '$CC '*)
13976 # Test whether the compiler implicitly links with -lc since on some
13977 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13978 # to ld, don't add -lc before -lgcc.
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13980 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13981 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 $RM conftest*
13985 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13986
13987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13988 (eval $ac_compile) 2>&5
13989 ac_status=$?
13990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13991 test $ac_status = 0; } 2>conftest.err; then
13992 soname=conftest
13993 lib=conftest
13994 libobjs=conftest.$ac_objext
13995 deplibs=
13996 wl=$lt_prog_compiler_wl_CXX
13997 pic_flag=$lt_prog_compiler_pic_CXX
13998 compiler_flags=-v
13999 linker_flags=-v
14000 verstring=
14001 output_objdir=.
14002 libname=conftest
14003 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14004 allow_undefined_flag_CXX=
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14006 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14007 ac_status=$?
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; }
14010 then
14011 lt_cv_archive_cmds_need_lc_CXX=no
14012 else
14013 lt_cv_archive_cmds_need_lc_CXX=yes
14014 fi
14015 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14016 else
14017 cat conftest.err 1>&5
14018 fi
14019 $RM conftest*
14020
14021 fi
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14023 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14024 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14025 ;;
14026 esac
14027 fi
14028 ;;
14029 esac
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14095 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14096
14097 library_names_spec=
14098 libname_spec='lib$name'
14099 soname_spec=
14100 shrext_cmds=".so"
14101 postinstall_cmds=
14102 postuninstall_cmds=
14103 finish_cmds=
14104 finish_eval=
14105 shlibpath_var=
14106 shlibpath_overrides_runpath=unknown
14107 version_type=none
14108 dynamic_linker="$host_os ld.so"
14109 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14110 need_lib_prefix=unknown
14111 hardcode_into_libs=no
14112
14113 # when you set need_version to no, make sure it does not cause -set_version
14114 # flags to be left without arguments
14115 need_version=unknown
14116
14117 case $host_os in
14118 aix3*)
14119 version_type=linux
14120 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14121 shlibpath_var=LIBPATH
14122
14123 # AIX 3 has no versioning support, so we append a major version to the name.
14124 soname_spec='${libname}${release}${shared_ext}$major'
14125 ;;
14126
14127 aix[4-9]*)
14128 version_type=linux
14129 need_lib_prefix=no
14130 need_version=no
14131 hardcode_into_libs=yes
14132 if test "$host_cpu" = ia64; then
14133 # AIX 5 supports IA64
14134 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14135 shlibpath_var=LD_LIBRARY_PATH
14136 else
14137 # With GCC up to 2.95.x, collect2 would create an import file
14138 # for dependence libraries. The import file would start with
14139 # the line `#! .'. This would cause the generated library to
14140 # depend on `.', always an invalid library. This was fixed in
14141 # development snapshots of GCC prior to 3.0.
14142 case $host_os in
14143 aix4 | aix4.[01] | aix4.[01].*)
14144 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14145 echo ' yes '
14146 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14147 :
14148 else
14149 can_build_shared=no
14150 fi
14151 ;;
14152 esac
14153 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14154 # soname into executable. Probably we can add versioning support to
14155 # collect2, so additional links can be useful in future.
14156 if test "$aix_use_runtimelinking" = yes; then
14157 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14158 # instead of lib<name>.a to let people know that these are not
14159 # typical AIX shared libraries.
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14161 else
14162 # We preserve .a as extension for shared libraries through AIX4.2
14163 # and later when we are not doing run time linking.
14164 library_names_spec='${libname}${release}.a $libname.a'
14165 soname_spec='${libname}${release}${shared_ext}$major'
14166 fi
14167 shlibpath_var=LIBPATH
14168 fi
14169 ;;
14170
14171 amigaos*)
14172 case $host_cpu in
14173 powerpc)
14174 # Since July 2007 AmigaOS4 officially supports .so libraries.
14175 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177 ;;
14178 m68k)
14179 library_names_spec='$libname.ixlibrary $libname.a'
14180 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14181 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'
14182 ;;
14183 esac
14184 ;;
14185
14186 beos*)
14187 library_names_spec='${libname}${shared_ext}'
14188 dynamic_linker="$host_os ld.so"
14189 shlibpath_var=LIBRARY_PATH
14190 ;;
14191
14192 bsdi[45]*)
14193 version_type=linux
14194 need_version=no
14195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 soname_spec='${libname}${release}${shared_ext}$major'
14197 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14198 shlibpath_var=LD_LIBRARY_PATH
14199 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14200 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14201 # the default ld.so.conf also contains /usr/contrib/lib and
14202 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14203 # libtool to hard-code these into programs
14204 ;;
14205
14206 cygwin* | mingw* | pw32* | cegcc*)
14207 version_type=windows
14208 shrext_cmds=".dll"
14209 need_version=no
14210 need_lib_prefix=no
14211
14212 case $GCC,$host_os in
14213 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14214 library_names_spec='$libname.dll.a'
14215 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14216 postinstall_cmds='base_file=`basename \${file}`~
14217 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14218 dldir=$destdir/`dirname \$dlpath`~
14219 test -d \$dldir || mkdir -p \$dldir~
14220 $install_prog $dir/$dlname \$dldir/$dlname~
14221 chmod a+x \$dldir/$dlname~
14222 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14223 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14224 fi'
14225 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14226 dlpath=$dir/\$dldll~
14227 $RM \$dlpath'
14228 shlibpath_overrides_runpath=yes
14229
14230 case $host_os in
14231 cygwin*)
14232 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14233 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14234
14235 ;;
14236 mingw* | cegcc*)
14237 # MinGW DLLs use traditional 'lib' prefix
14238 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14239 ;;
14240 pw32*)
14241 # pw32 DLLs use 'pw' prefix rather than 'lib'
14242 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14243 ;;
14244 esac
14245 ;;
14246
14247 *)
14248 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14249 ;;
14250 esac
14251 dynamic_linker='Win32 ld.exe'
14252 # FIXME: first we should search . and the directory the executable is in
14253 shlibpath_var=PATH
14254 ;;
14255
14256 darwin* | rhapsody*)
14257 dynamic_linker="$host_os dyld"
14258 version_type=darwin
14259 need_lib_prefix=no
14260 need_version=no
14261 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14262 soname_spec='${libname}${release}${major}$shared_ext'
14263 shlibpath_overrides_runpath=yes
14264 shlibpath_var=DYLD_LIBRARY_PATH
14265 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14266
14267 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14268 ;;
14269
14270 dgux*)
14271 version_type=linux
14272 need_lib_prefix=no
14273 need_version=no
14274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14275 soname_spec='${libname}${release}${shared_ext}$major'
14276 shlibpath_var=LD_LIBRARY_PATH
14277 ;;
14278
14279 freebsd1*)
14280 dynamic_linker=no
14281 ;;
14282
14283 freebsd* | dragonfly*)
14284 # DragonFly does not have aout. When/if they implement a new
14285 # versioning mechanism, adjust this.
14286 if test -x /usr/bin/objformat; then
14287 objformat=`/usr/bin/objformat`
14288 else
14289 case $host_os in
14290 freebsd[123]*) objformat=aout ;;
14291 *) objformat=elf ;;
14292 esac
14293 fi
14294 version_type=freebsd-$objformat
14295 case $version_type in
14296 freebsd-elf*)
14297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14298 need_version=no
14299 need_lib_prefix=no
14300 ;;
14301 freebsd-*)
14302 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14303 need_version=yes
14304 ;;
14305 esac
14306 shlibpath_var=LD_LIBRARY_PATH
14307 case $host_os in
14308 freebsd2*)
14309 shlibpath_overrides_runpath=yes
14310 ;;
14311 freebsd3.[01]* | freebsdelf3.[01]*)
14312 shlibpath_overrides_runpath=yes
14313 hardcode_into_libs=yes
14314 ;;
14315 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14316 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14317 shlibpath_overrides_runpath=no
14318 hardcode_into_libs=yes
14319 ;;
14320 *) # from 4.6 on, and DragonFly
14321 shlibpath_overrides_runpath=yes
14322 hardcode_into_libs=yes
14323 ;;
14324 esac
14325 ;;
14326
14327 gnu*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14334 hardcode_into_libs=yes
14335 ;;
14336
14337 haiku*)
14338 version_type=linux
14339 need_lib_prefix=no
14340 need_version=no
14341 dynamic_linker="$host_os runtime_loader"
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 shlibpath_var=LIBRARY_PATH
14345 shlibpath_overrides_runpath=yes
14346 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14347 hardcode_into_libs=yes
14348 ;;
14349
14350 hpux9* | hpux10* | hpux11*)
14351 # Give a soname corresponding to the major version so that dld.sl refuses to
14352 # link against other versions.
14353 version_type=sunos
14354 need_lib_prefix=no
14355 need_version=no
14356 case $host_cpu in
14357 ia64*)
14358 shrext_cmds='.so'
14359 hardcode_into_libs=yes
14360 dynamic_linker="$host_os dld.so"
14361 shlibpath_var=LD_LIBRARY_PATH
14362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14364 soname_spec='${libname}${release}${shared_ext}$major'
14365 if test "X$HPUX_IA64_MODE" = X32; then
14366 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14367 else
14368 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14369 fi
14370 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14371 ;;
14372 hppa*64*)
14373 shrext_cmds='.sl'
14374 hardcode_into_libs=yes
14375 dynamic_linker="$host_os dld.sl"
14376 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14377 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14381 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14382 ;;
14383 *)
14384 shrext_cmds='.sl'
14385 dynamic_linker="$host_os dld.sl"
14386 shlibpath_var=SHLIB_PATH
14387 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14389 soname_spec='${libname}${release}${shared_ext}$major'
14390 ;;
14391 esac
14392 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14393 postinstall_cmds='chmod 555 $lib'
14394 # or fails outright, so override atomically:
14395 install_override_mode=555
14396 ;;
14397
14398 interix[3-9]*)
14399 version_type=linux
14400 need_lib_prefix=no
14401 need_version=no
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14405 shlibpath_var=LD_LIBRARY_PATH
14406 shlibpath_overrides_runpath=no
14407 hardcode_into_libs=yes
14408 ;;
14409
14410 irix5* | irix6* | nonstopux*)
14411 case $host_os in
14412 nonstopux*) version_type=nonstopux ;;
14413 *)
14414 if test "$lt_cv_prog_gnu_ld" = yes; then
14415 version_type=linux
14416 else
14417 version_type=irix
14418 fi ;;
14419 esac
14420 need_lib_prefix=no
14421 need_version=no
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14424 case $host_os in
14425 irix5* | nonstopux*)
14426 libsuff= shlibsuff=
14427 ;;
14428 *)
14429 case $LD in # libtool.m4 will add one of these switches to LD
14430 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14431 libsuff= shlibsuff= libmagic=32-bit;;
14432 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14433 libsuff=32 shlibsuff=N32 libmagic=N32;;
14434 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14435 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14436 *) libsuff= shlibsuff= libmagic=never-match;;
14437 esac
14438 ;;
14439 esac
14440 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14441 shlibpath_overrides_runpath=no
14442 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14443 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14444 hardcode_into_libs=yes
14445 ;;
14446
14447 # No shared lib support for Linux oldld, aout, or coff.
14448 linux*oldld* | linux*aout* | linux*coff*)
14449 dynamic_linker=no
14450 ;;
14451
14452 # This must be Linux ELF.
14453 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14454 version_type=linux
14455 need_lib_prefix=no
14456 need_version=no
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 soname_spec='${libname}${release}${shared_ext}$major'
14459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14460 shlibpath_var=LD_LIBRARY_PATH
14461 shlibpath_overrides_runpath=no
14462
14463 # Some binutils ld are patched to set DT_RUNPATH
14464 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 lt_cv_shlibpath_overrides_runpath=no
14468 save_LDFLAGS=$LDFLAGS
14469 save_libdir=$libdir
14470 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14471 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14472 if test x$gcc_no_link = xyes; then
14473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14474 fi
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14477
14478 int
14479 main ()
14480 {
14481
14482 ;
14483 return 0;
14484 }
14485 _ACEOF
14486 if ac_fn_cxx_try_link "$LINENO"; then :
14487 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14488 lt_cv_shlibpath_overrides_runpath=yes
14489 fi
14490 fi
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 LDFLAGS=$save_LDFLAGS
14494 libdir=$save_libdir
14495
14496 fi
14497
14498 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14499
14500 # This implies no fast_install, which is unacceptable.
14501 # Some rework will be needed to allow for fast_install
14502 # before this can be enabled.
14503 hardcode_into_libs=yes
14504
14505 # Append ld.so.conf contents to the search path
14506 if test -f /etc/ld.so.conf; then
14507 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' ' '`
14508 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14509 fi
14510
14511 # We used to test for /lib/ld.so.1 and disable shared libraries on
14512 # powerpc, because MkLinux only supported shared libraries with the
14513 # GNU dynamic linker. Since this was broken with cross compilers,
14514 # most powerpc-linux boxes support dynamic linking these days and
14515 # people can always --disable-shared, the test was removed, and we
14516 # assume the GNU/Linux dynamic linker is in use.
14517 dynamic_linker='GNU/Linux ld.so'
14518 ;;
14519
14520 netbsd*)
14521 version_type=sunos
14522 need_lib_prefix=no
14523 need_version=no
14524 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14526 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14527 dynamic_linker='NetBSD (a.out) ld.so'
14528 else
14529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14530 soname_spec='${libname}${release}${shared_ext}$major'
14531 dynamic_linker='NetBSD ld.elf_so'
14532 fi
14533 shlibpath_var=LD_LIBRARY_PATH
14534 shlibpath_overrides_runpath=yes
14535 hardcode_into_libs=yes
14536 ;;
14537
14538 newsos6)
14539 version_type=linux
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14541 shlibpath_var=LD_LIBRARY_PATH
14542 shlibpath_overrides_runpath=yes
14543 ;;
14544
14545 *nto* | *qnx*)
14546 version_type=qnx
14547 need_lib_prefix=no
14548 need_version=no
14549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 shlibpath_var=LD_LIBRARY_PATH
14552 shlibpath_overrides_runpath=no
14553 hardcode_into_libs=yes
14554 dynamic_linker='ldqnx.so'
14555 ;;
14556
14557 openbsd*)
14558 version_type=sunos
14559 sys_lib_dlsearch_path_spec="/usr/lib"
14560 need_lib_prefix=no
14561 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14562 case $host_os in
14563 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14564 *) need_version=no ;;
14565 esac
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14567 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14568 shlibpath_var=LD_LIBRARY_PATH
14569 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14570 case $host_os in
14571 openbsd2.[89] | openbsd2.[89].*)
14572 shlibpath_overrides_runpath=no
14573 ;;
14574 *)
14575 shlibpath_overrides_runpath=yes
14576 ;;
14577 esac
14578 else
14579 shlibpath_overrides_runpath=yes
14580 fi
14581 ;;
14582
14583 os2*)
14584 libname_spec='$name'
14585 shrext_cmds=".dll"
14586 need_lib_prefix=no
14587 library_names_spec='$libname${shared_ext} $libname.a'
14588 dynamic_linker='OS/2 ld.exe'
14589 shlibpath_var=LIBPATH
14590 ;;
14591
14592 osf3* | osf4* | osf5*)
14593 version_type=osf
14594 need_lib_prefix=no
14595 need_version=no
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14598 shlibpath_var=LD_LIBRARY_PATH
14599 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14600 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14601 ;;
14602
14603 rdos*)
14604 dynamic_linker=no
14605 ;;
14606
14607 solaris*)
14608 version_type=linux
14609 need_lib_prefix=no
14610 need_version=no
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 soname_spec='${libname}${release}${shared_ext}$major'
14613 shlibpath_var=LD_LIBRARY_PATH
14614 shlibpath_overrides_runpath=yes
14615 hardcode_into_libs=yes
14616 # ldd complains unless libraries are executable
14617 postinstall_cmds='chmod +x $lib'
14618 ;;
14619
14620 sunos4*)
14621 version_type=sunos
14622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14623 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14624 shlibpath_var=LD_LIBRARY_PATH
14625 shlibpath_overrides_runpath=yes
14626 if test "$with_gnu_ld" = yes; then
14627 need_lib_prefix=no
14628 fi
14629 need_version=yes
14630 ;;
14631
14632 sysv4 | sysv4.3*)
14633 version_type=linux
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 case $host_vendor in
14638 sni)
14639 shlibpath_overrides_runpath=no
14640 need_lib_prefix=no
14641 runpath_var=LD_RUN_PATH
14642 ;;
14643 siemens)
14644 need_lib_prefix=no
14645 ;;
14646 motorola)
14647 need_lib_prefix=no
14648 need_version=no
14649 shlibpath_overrides_runpath=no
14650 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14651 ;;
14652 esac
14653 ;;
14654
14655 sysv4*MP*)
14656 if test -d /usr/nec ;then
14657 version_type=linux
14658 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14659 soname_spec='$libname${shared_ext}.$major'
14660 shlibpath_var=LD_LIBRARY_PATH
14661 fi
14662 ;;
14663
14664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14665 version_type=freebsd-elf
14666 need_lib_prefix=no
14667 need_version=no
14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14669 soname_spec='${libname}${release}${shared_ext}$major'
14670 shlibpath_var=LD_LIBRARY_PATH
14671 shlibpath_overrides_runpath=yes
14672 hardcode_into_libs=yes
14673 if test "$with_gnu_ld" = yes; then
14674 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14675 else
14676 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14677 case $host_os in
14678 sco3.2v5*)
14679 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14680 ;;
14681 esac
14682 fi
14683 sys_lib_dlsearch_path_spec='/usr/lib'
14684 ;;
14685
14686 tpf*)
14687 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14688 version_type=linux
14689 need_lib_prefix=no
14690 need_version=no
14691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14692 shlibpath_var=LD_LIBRARY_PATH
14693 shlibpath_overrides_runpath=no
14694 hardcode_into_libs=yes
14695 ;;
14696
14697 uts4*)
14698 version_type=linux
14699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14700 soname_spec='${libname}${release}${shared_ext}$major'
14701 shlibpath_var=LD_LIBRARY_PATH
14702 ;;
14703
14704 *)
14705 dynamic_linker=no
14706 ;;
14707 esac
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14709 $as_echo "$dynamic_linker" >&6; }
14710 test "$dynamic_linker" = no && can_build_shared=no
14711
14712 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14713 if test "$GCC" = yes; then
14714 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14715 fi
14716
14717 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14718 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14719 fi
14720 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14721 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14722 fi
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14762 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14763 hardcode_action_CXX=
14764 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14765 test -n "$runpath_var_CXX" ||
14766 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14767
14768 # We can hardcode non-existent directories.
14769 if test "$hardcode_direct_CXX" != no &&
14770 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14771 # have to relink, otherwise we might link with an installed library
14772 # when we should be linking with a yet-to-be-installed one
14773 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14774 test "$hardcode_minus_L_CXX" != no; then
14775 # Linking always hardcodes the temporary library directory.
14776 hardcode_action_CXX=relink
14777 else
14778 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14779 hardcode_action_CXX=immediate
14780 fi
14781 else
14782 # We cannot hardcode anything, or else we can only hardcode existing
14783 # directories.
14784 hardcode_action_CXX=unsupported
14785 fi
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14787 $as_echo "$hardcode_action_CXX" >&6; }
14788
14789 if test "$hardcode_action_CXX" = relink ||
14790 test "$inherit_rpath_CXX" = yes; then
14791 # Fast installation is not supported
14792 enable_fast_install=no
14793 elif test "$shlibpath_overrides_runpath" = yes ||
14794 test "$enable_shared" = no; then
14795 # Fast installation is not necessary
14796 enable_fast_install=needless
14797 fi
14798
14799
14800
14801
14802
14803
14804
14805 fi # test -n "$compiler"
14806
14807 CC=$lt_save_CC
14808 LDCXX=$LD
14809 LD=$lt_save_LD
14810 GCC=$lt_save_GCC
14811 with_gnu_ld=$lt_save_with_gnu_ld
14812 lt_cv_path_LDCXX=$lt_cv_path_LD
14813 lt_cv_path_LD=$lt_save_path_LD
14814 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14815 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14816 fi # test "$_lt_caught_CXX_error" != yes
14817
14818 ac_ext=c
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836 ac_config_commands="$ac_config_commands libtool"
14837
14838
14839
14840
14841 # Only expand once:
14842
14843
14844
14845
14846
14847 case $host in
14848 *-cygwin* | *-mingw*)
14849 # 'host' will be top-level target in the case of a target lib,
14850 # we must compare to with_cross_host to decide if this is a native
14851 # or cross-compiler and select where to install dlls appropriately.
14852 if test -n "$with_cross_host" &&
14853 test x"$with_cross_host" != x"no"; then
14854 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14855 else
14856 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14857 fi
14858 ;;
14859 *)
14860 lt_host_flags=
14861 ;;
14862 esac
14863
14864
14865
14866
14867
14868
14869 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14870 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14871
14872 # Possibly disable most of the library.
14873 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14874 ## than just ignoring the results. Faster /and/ more correct, win win.
14875
14876 # Check whether --enable-hosted-libstdcxx was given.
14877 if test "${enable_hosted_libstdcxx+set}" = set; then :
14878 enableval=$enable_hosted_libstdcxx;
14879 else
14880 case "$host" in
14881 arm*-*-symbianelf*)
14882 enable_hosted_libstdcxx=no
14883 ;;
14884 *)
14885 enable_hosted_libstdcxx=yes
14886 ;;
14887 esac
14888 fi
14889
14890 if test "$enable_hosted_libstdcxx" = no; then
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14892 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14893 is_hosted=no
14894 hosted_define=0
14895 enable_abi_check=no
14896 enable_libstdcxx_pch=no
14897 else
14898 is_hosted=yes
14899 hosted_define=1
14900 fi
14901
14902
14903 cat >>confdefs.h <<_ACEOF
14904 #define _GLIBCXX_HOSTED $hosted_define
14905 _ACEOF
14906
14907
14908
14909 # Enable compiler support that doesn't require linking.
14910
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14912 $as_echo_n "checking for exception model to use... " >&6; }
14913
14914 ac_ext=cpp
14915 ac_cpp='$CXXCPP $CPPFLAGS'
14916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14919
14920 # Check whether --enable-sjlj-exceptions was given.
14921 if test "${enable_sjlj_exceptions+set}" = set; then :
14922 enableval=$enable_sjlj_exceptions;
14923 case "$enableval" in
14924 yes|no|auto) ;;
14925 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14926 esac
14927
14928 else
14929 enable_sjlj_exceptions=auto
14930 fi
14931
14932
14933
14934 if test $enable_sjlj_exceptions = auto; then
14935 # Botheration. Now we've got to detect the exception model. Link tests
14936 # against libgcc.a are problematic since we've not been given proper -L
14937 # bits for single-tree newlib and libgloss.
14938 #
14939 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14940 cat > conftest.$ac_ext << EOF
14941 #line 14941 "configure"
14942 struct S { ~S(); };
14943 void bar();
14944 void foo()
14945 {
14946 S s;
14947 bar();
14948 }
14949 EOF
14950 old_CXXFLAGS="$CXXFLAGS"
14951 CXXFLAGS=-S
14952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14953 (eval $ac_compile) 2>&5
14954 ac_status=$?
14955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14956 test $ac_status = 0; }; then
14957 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14958 enable_sjlj_exceptions=yes
14959 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14960 enable_sjlj_exceptions=no
14961 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14962 enable_sjlj_exceptions=no
14963 fi
14964 fi
14965 CXXFLAGS="$old_CXXFLAGS"
14966 rm -f conftest*
14967 fi
14968
14969 # This is a tad weird, for hysterical raisins. We have to map
14970 # enable/disable to two different models.
14971 case $enable_sjlj_exceptions in
14972 yes)
14973
14974 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14975
14976 ac_exception_model_name=sjlj
14977 ;;
14978 no)
14979 ac_exception_model_name="call frame"
14980 ;;
14981 *)
14982 as_fn_error "unable to detect exception model" "$LINENO" 5
14983 ;;
14984 esac
14985 ac_ext=c
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14992 $as_echo "$ac_exception_model_name" >&6; }
14993
14994
14995 # Check whether --enable-libstdcxx-pch was given.
14996 if test "${enable_libstdcxx_pch+set}" = set; then :
14997 enableval=$enable_libstdcxx_pch;
14998 case "$enableval" in
14999 yes|no) ;;
15000 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15001 esac
15002
15003 else
15004 enable_libstdcxx_pch=$is_hosted
15005 fi
15006
15007
15008 if test $enable_libstdcxx_pch = yes; then
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15010 $as_echo_n "checking for compiler with PCH support... " >&6; }
15011 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15012 $as_echo_n "(cached) " >&6
15013 else
15014 ac_save_CXXFLAGS="$CXXFLAGS"
15015 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15016
15017 ac_ext=cpp
15018 ac_cpp='$CXXCPP $CPPFLAGS'
15019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15022
15023 echo '#include <math.h>' > conftest.h
15024 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15025 -o conftest.h.gch 1>&5 2>&1 &&
15026 echo '#error "pch failed"' > conftest.h &&
15027 echo '#include "conftest.h"' > conftest.cc &&
15028 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15029 then
15030 glibcxx_cv_prog_CXX_pch=yes
15031 else
15032 glibcxx_cv_prog_CXX_pch=no
15033 fi
15034 rm -f conftest*
15035 CXXFLAGS=$ac_save_CXXFLAGS
15036 ac_ext=c
15037 ac_cpp='$CPP $CPPFLAGS'
15038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15041
15042
15043 fi
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15045 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15046 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15047 fi
15048
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15050 $as_echo_n "checking for enabled PCH... " >&6; }
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15052 $as_echo "$enable_libstdcxx_pch" >&6; }
15053
15054
15055 if test $enable_libstdcxx_pch = yes; then
15056 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15057 else
15058 glibcxx_PCHFLAGS=""
15059 fi
15060
15061
15062
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15064 $as_echo_n "checking for thread model used by GCC... " >&6; }
15065 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15067 $as_echo "$target_thread_file" >&6; }
15068
15069 if test $target_thread_file != single; then
15070
15071 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15072
15073 fi
15074
15075 glibcxx_thread_h=gthr-$target_thread_file.h
15076
15077 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15078 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15079 enable_thread=yes
15080 else
15081 enable_thread=no
15082 fi
15083
15084
15085
15086
15087
15088 ac_ext=cpp
15089 ac_cpp='$CXXCPP $CPPFLAGS'
15090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15093
15094 old_CXXFLAGS="$CXXFLAGS"
15095
15096 # Do link tests if possible, instead asm tests, limited to some platforms
15097 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15098 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15099 atomic_builtins_link_tests=no
15100 if test x$gcc_no_link != xyes; then
15101 # Can do link tests. Limit to some tested platforms
15102 case "$host" in
15103 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15104 atomic_builtins_link_tests=yes
15105 ;;
15106 esac
15107 fi
15108
15109 if test x$atomic_builtins_link_tests = xyes; then
15110
15111 # Do link tests.
15112
15113 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15114
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15116 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15117 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15118 $as_echo_n "(cached) " >&6
15119 else
15120
15121 if test x$gcc_no_link = xyes; then
15122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15123 fi
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126
15127 int
15128 main ()
15129 {
15130 typedef bool atomic_type;
15131 atomic_type c1;
15132 atomic_type c2;
15133 const atomic_type c3(0);
15134 __sync_fetch_and_add(&c1, c2);
15135 __sync_val_compare_and_swap(&c1, c3, c2);
15136 __sync_lock_test_and_set(&c1, c3);
15137 __sync_lock_release(&c1);
15138 __sync_synchronize();
15139 ;
15140 return 0;
15141 }
15142 _ACEOF
15143 if ac_fn_cxx_try_link "$LINENO"; then :
15144 glibcxx_cv_atomic_bool=yes
15145 else
15146 glibcxx_cv_atomic_bool=no
15147 fi
15148 rm -f core conftest.err conftest.$ac_objext \
15149 conftest$ac_exeext conftest.$ac_ext
15150
15151 fi
15152
15153 if test $glibcxx_cv_atomic_bool = yes; then
15154
15155 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15156
15157 fi
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15159 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15160
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15162 $as_echo_n "checking for atomic builtins for short... " >&6; }
15163 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166
15167 if test x$gcc_no_link = xyes; then
15168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15169 fi
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15172
15173 int
15174 main ()
15175 {
15176 typedef short atomic_type;
15177 atomic_type c1;
15178 atomic_type c2;
15179 const atomic_type c3(0);
15180 __sync_fetch_and_add(&c1, c2);
15181 __sync_val_compare_and_swap(&c1, c3, c2);
15182 __sync_lock_test_and_set(&c1, c3);
15183 __sync_lock_release(&c1);
15184 __sync_synchronize();
15185 ;
15186 return 0;
15187 }
15188 _ACEOF
15189 if ac_fn_cxx_try_link "$LINENO"; then :
15190 glibcxx_cv_atomic_short=yes
15191 else
15192 glibcxx_cv_atomic_short=no
15193 fi
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext conftest.$ac_ext
15196
15197 fi
15198
15199 if test $glibcxx_cv_atomic_short = yes; then
15200
15201 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15202
15203 fi
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15205 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15206
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15208 $as_echo_n "checking for atomic builtins for int... " >&6; }
15209 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15210 $as_echo_n "(cached) " >&6
15211 else
15212
15213 if test x$gcc_no_link = xyes; then
15214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15215 fi
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218
15219 int
15220 main ()
15221 {
15222 typedef int atomic_type;
15223 atomic_type c1;
15224 atomic_type c2;
15225 const atomic_type c3(0);
15226 __sync_fetch_and_add(&c1, c2);
15227 __sync_val_compare_and_swap(&c1, c3, c2);
15228 __sync_lock_test_and_set(&c1, c3);
15229 __sync_lock_release(&c1);
15230 __sync_synchronize();
15231 ;
15232 return 0;
15233 }
15234 _ACEOF
15235 if ac_fn_cxx_try_link "$LINENO"; then :
15236 glibcxx_cv_atomic_int=yes
15237 else
15238 glibcxx_cv_atomic_int=no
15239 fi
15240 rm -f core conftest.err conftest.$ac_objext \
15241 conftest$ac_exeext conftest.$ac_ext
15242
15243 fi
15244
15245 if test $glibcxx_cv_atomic_int = yes; then
15246
15247 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15248
15249 fi
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15251 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15254 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15255 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15258
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15261 fi
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264
15265 int
15266 main ()
15267 {
15268 typedef long long atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 const atomic_type c3(0);
15272 __sync_fetch_and_add(&c1, c2);
15273 __sync_val_compare_and_swap(&c1, c3, c2);
15274 __sync_lock_test_and_set(&c1, c3);
15275 __sync_lock_release(&c1);
15276 __sync_synchronize();
15277 ;
15278 return 0;
15279 }
15280 _ACEOF
15281 if ac_fn_cxx_try_link "$LINENO"; then :
15282 glibcxx_cv_atomic_long_long=yes
15283 else
15284 glibcxx_cv_atomic_long_long=no
15285 fi
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext conftest.$ac_ext
15288
15289 fi
15290
15291 if test $glibcxx_cv_atomic_long_long = yes; then
15292
15293 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15294
15295 fi
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15297 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15298
15299 else
15300
15301 # Do asm tests.
15302
15303 # Compile unoptimized.
15304 CXXFLAGS='-O0 -S'
15305
15306 # Fake what AC_TRY_COMPILE does.
15307
15308 cat > conftest.$ac_ext << EOF
15309 #line 15309 "configure"
15310 int main()
15311 {
15312 typedef bool atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 const atomic_type c3(0);
15316 __sync_fetch_and_add(&c1, c2);
15317 __sync_val_compare_and_swap(&c1, c3, c2);
15318 __sync_lock_test_and_set(&c1, c3);
15319 __sync_lock_release(&c1);
15320 __sync_synchronize();
15321 return 0;
15322 }
15323 EOF
15324
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15326 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15328 (eval $ac_compile) 2>&5
15329 ac_status=$?
15330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15331 test $ac_status = 0; }; then
15332 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15333 glibcxx_cv_atomic_bool=no
15334 else
15335
15336 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15337
15338 glibcxx_cv_atomic_bool=yes
15339 fi
15340 fi
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15342 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15343 rm -f conftest*
15344
15345 cat > conftest.$ac_ext << EOF
15346 #line 15346 "configure"
15347 int main()
15348 {
15349 typedef short atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 const atomic_type c3(0);
15353 __sync_fetch_and_add(&c1, c2);
15354 __sync_val_compare_and_swap(&c1, c3, c2);
15355 __sync_lock_test_and_set(&c1, c3);
15356 __sync_lock_release(&c1);
15357 __sync_synchronize();
15358 return 0;
15359 }
15360 EOF
15361
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15363 $as_echo_n "checking for atomic builtins for short... " >&6; }
15364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15365 (eval $ac_compile) 2>&5
15366 ac_status=$?
15367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15368 test $ac_status = 0; }; then
15369 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15370 glibcxx_cv_atomic_short=no
15371 else
15372
15373 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15374
15375 glibcxx_cv_atomic_short=yes
15376 fi
15377 fi
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15379 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15380 rm -f conftest*
15381
15382 cat > conftest.$ac_ext << EOF
15383 #line 15383 "configure"
15384 int main()
15385 {
15386 // NB: _Atomic_word not necessarily int.
15387 typedef int atomic_type;
15388 atomic_type c1;
15389 atomic_type c2;
15390 const atomic_type c3(0);
15391 __sync_fetch_and_add(&c1, c2);
15392 __sync_val_compare_and_swap(&c1, c3, c2);
15393 __sync_lock_test_and_set(&c1, c3);
15394 __sync_lock_release(&c1);
15395 __sync_synchronize();
15396 return 0;
15397 }
15398 EOF
15399
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15401 $as_echo_n "checking for atomic builtins for int... " >&6; }
15402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15403 (eval $ac_compile) 2>&5
15404 ac_status=$?
15405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15406 test $ac_status = 0; }; then
15407 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15408 glibcxx_cv_atomic_int=no
15409 else
15410
15411 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15412
15413 glibcxx_cv_atomic_int=yes
15414 fi
15415 fi
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15417 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15418 rm -f conftest*
15419
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15423 {
15424 typedef long long atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 const atomic_type c3(0);
15428 __sync_fetch_and_add(&c1, c2);
15429 __sync_val_compare_and_swap(&c1, c3, c2);
15430 __sync_lock_test_and_set(&c1, c3);
15431 __sync_lock_release(&c1);
15432 __sync_synchronize();
15433 return 0;
15434 }
15435 EOF
15436
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15438 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15440 (eval $ac_compile) 2>&5
15441 ac_status=$?
15442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15443 test $ac_status = 0; }; then
15444 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15445 glibcxx_cv_atomic_long_long=no
15446 else
15447
15448 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15449
15450 glibcxx_cv_atomic_long_long=yes
15451 fi
15452 fi
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15454 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15455 rm -f conftest*
15456
15457 fi
15458
15459 CXXFLAGS="$old_CXXFLAGS"
15460 ac_ext=c
15461 ac_cpp='$CPP $CPPFLAGS'
15462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15465
15466
15467 # Set atomicity_dir to builtins if either of above tests pass.
15468 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15469 atomicity_dir=cpu/generic/atomicity_builtins
15470 fi
15471
15472 # If still generic, set to mutex.
15473 if test $atomicity_dir = "cpu/generic" ; then
15474 atomicity_dir=cpu/generic/atomicity_mutex
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15476 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15477 if test "x$target_thread_file" = xsingle; then
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15479 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15481 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15482 else
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15484 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15486 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15487 fi
15488 fi
15489
15490
15491
15492
15493 # Fake what AC_TRY_COMPILE does, without linking as this is
15494 # unnecessary for this test.
15495
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15499 {
15500 _Decimal32 d1;
15501 _Decimal64 d2;
15502 _Decimal128 d3;
15503 return 0;
15504 }
15505 EOF
15506
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15508 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15510 (eval $ac_compile) 2>&5
15511 ac_status=$?
15512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15513 test $ac_status = 0; }; then
15514
15515 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15516
15517 enable_dfp=yes
15518 else
15519 enable_dfp=no
15520 fi
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15522 $as_echo "$enable_dfp" >&6; }
15523 rm -f conftest*
15524
15525
15526 # Checks for compiler support that doesn't require linking.
15527
15528 # All these tests are for C++; save the language and the compiler flags.
15529 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15530 # found in GLIBCXX_CONFIGURE.
15531
15532 ac_ext=cpp
15533 ac_cpp='$CXXCPP $CPPFLAGS'
15534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15537
15538 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15539 ac_save_CXXFLAGS="$CXXFLAGS"
15540
15541 # Check for maintainer-mode bits.
15542 if test x"$USE_MAINTAINER_MODE" = xno; then
15543 WERROR=''
15544 else
15545 WERROR='-Werror'
15546 fi
15547
15548 # Check for -ffunction-sections -fdata-sections
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15550 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15551 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 int foo; void bar() { };
15555 int
15556 main ()
15557 {
15558
15559 ;
15560 return 0;
15561 }
15562 _ACEOF
15563 if ac_fn_cxx_try_compile "$LINENO"; then :
15564 ac_fdsections=yes
15565 else
15566 ac_fdsections=no
15567 fi
15568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15569 if test "$ac_test_CXXFLAGS" = set; then
15570 CXXFLAGS="$ac_save_CXXFLAGS"
15571 else
15572 # this is the suspicious part
15573 CXXFLAGS=''
15574 fi
15575 if test x"$ac_fdsections" = x"yes"; then
15576 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15577 fi
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15579 $as_echo "$ac_fdsections" >&6; }
15580
15581 ac_ext=c
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15586
15587
15588
15589
15590
15591 # Enable all the variable C++ runtime options that don't require linking.
15592
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15594 $as_echo_n "checking for underlying I/O to use... " >&6; }
15595 # Check whether --enable-cstdio was given.
15596 if test "${enable_cstdio+set}" = set; then :
15597 enableval=$enable_cstdio;
15598 case "$enableval" in
15599 stdio) ;;
15600 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15601 esac
15602
15603 else
15604 enable_cstdio=stdio
15605 fi
15606
15607
15608
15609 # Now that libio has been removed, you can have any color you want as long
15610 # as it's black. This is one big no-op until other packages are added, but
15611 # showing the framework never hurts.
15612 case ${enable_cstdio} in
15613 stdio)
15614 CSTDIO_H=config/io/c_io_stdio.h
15615 BASIC_FILE_H=config/io/basic_file_stdio.h
15616 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15618 $as_echo "stdio" >&6; }
15619 ;;
15620 esac
15621
15622
15623
15624
15625
15626
15627 # Check whether --enable-clocale was given.
15628 if test "${enable_clocale+set}" = set; then :
15629 enableval=$enable_clocale;
15630 case "$enableval" in
15631 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15632 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15633 esac
15634
15635 else
15636 enable_clocale=auto
15637 fi
15638
15639
15640
15641 # Deal with gettext issues. Default to not using it (=no) until we detect
15642 # support for it later. Let the user turn it off via --e/d, but let that
15643 # default to on for easier handling.
15644 USE_NLS=no
15645 # Check whether --enable-nls was given.
15646 if test "${enable_nls+set}" = set; then :
15647 enableval=$enable_nls;
15648 else
15649 enable_nls=yes
15650 fi
15651
15652
15653 # Either a known packaage, or "auto"
15654 if test $enable_clocale = no || test $enable_clocale = yes; then
15655 enable_clocale=auto
15656 fi
15657 enable_clocale_flag=$enable_clocale
15658
15659 # Probe for locale model to use if none specified.
15660 # Default to "generic".
15661 if test $enable_clocale_flag = auto; then
15662 case ${target_os} in
15663 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15664 enable_clocale_flag=gnu
15665 ;;
15666 darwin* | freebsd*)
15667 enable_clocale_flag=darwin
15668 ;;
15669 *)
15670 enable_clocale_flag=generic
15671 ;;
15672 esac
15673 fi
15674
15675 # Sanity check model, and test for special functionality.
15676 if test $enable_clocale_flag = gnu; then
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15679
15680 #include <features.h>
15681 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15682 _GLIBCXX_ok
15683 #endif
15684
15685 _ACEOF
15686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15687 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15688 enable_clocale_flag=gnu
15689 else
15690 enable_clocale_flag=generic
15691 fi
15692 rm -f conftest*
15693
15694
15695 # Set it to scream when it hurts.
15696 ac_save_CFLAGS="$CFLAGS"
15697 CFLAGS="-Wimplicit-function-declaration -Werror"
15698
15699 # Use strxfrm_l if available.
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 #define _GNU_SOURCE 1
15703 #include <string.h>
15704 #include <locale.h>
15705 int
15706 main ()
15707 {
15708 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15709 ;
15710 return 0;
15711 }
15712 _ACEOF
15713 if ac_fn_c_try_compile "$LINENO"; then :
15714
15715 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15716
15717 fi
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15719
15720 # Use strerror_l if available.
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15723 #define _GNU_SOURCE 1
15724 #include <string.h>
15725 #include <locale.h>
15726 int
15727 main ()
15728 {
15729 __locale_t loc; strerror_l(5, loc);
15730 ;
15731 return 0;
15732 }
15733 _ACEOF
15734 if ac_fn_c_try_compile "$LINENO"; then :
15735
15736 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15737
15738 fi
15739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15740
15741 CFLAGS="$ac_save_CFLAGS"
15742 fi
15743
15744 # Perhaps use strerror_r if available, and strerror_l isn't.
15745 ac_save_CFLAGS="$CFLAGS"
15746 CFLAGS="-Wimplicit-function-declaration -Werror"
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15749 #define _GNU_SOURCE 1
15750 #include <string.h>
15751 #include <locale.h>
15752 int
15753 main ()
15754 {
15755 char s[128]; strerror_r(5, s, 128);
15756 ;
15757 return 0;
15758 }
15759 _ACEOF
15760 if ac_fn_c_try_compile "$LINENO"; then :
15761
15762 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15763
15764 fi
15765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15766 CFLAGS="$ac_save_CFLAGS"
15767
15768 # Set configure bits for specified locale package
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15770 $as_echo_n "checking for C locale to use... " >&6; }
15771 case ${enable_clocale_flag} in
15772 generic)
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15774 $as_echo "generic" >&6; }
15775
15776 CLOCALE_H=config/locale/generic/c_locale.h
15777 CLOCALE_CC=config/locale/generic/c_locale.cc
15778 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15779 CCOLLATE_CC=config/locale/generic/collate_members.cc
15780 CCTYPE_CC=config/locale/generic/ctype_members.cc
15781 CMESSAGES_H=config/locale/generic/messages_members.h
15782 CMESSAGES_CC=config/locale/generic/messages_members.cc
15783 CMONEY_CC=config/locale/generic/monetary_members.cc
15784 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15785 CTIME_H=config/locale/generic/time_members.h
15786 CTIME_CC=config/locale/generic/time_members.cc
15787 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15788 ;;
15789 darwin)
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15791 $as_echo "darwin or freebsd" >&6; }
15792
15793 CLOCALE_H=config/locale/generic/c_locale.h
15794 CLOCALE_CC=config/locale/generic/c_locale.cc
15795 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15796 CCOLLATE_CC=config/locale/generic/collate_members.cc
15797 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15798 CMESSAGES_H=config/locale/generic/messages_members.h
15799 CMESSAGES_CC=config/locale/generic/messages_members.cc
15800 CMONEY_CC=config/locale/generic/monetary_members.cc
15801 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15802 CTIME_H=config/locale/generic/time_members.h
15803 CTIME_CC=config/locale/generic/time_members.cc
15804 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15805 ;;
15806
15807 gnu)
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15809 $as_echo "gnu" >&6; }
15810
15811 # Declare intention to use gettext, and add support for specific
15812 # languages.
15813 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15814 ALL_LINGUAS="de fr"
15815
15816 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15817 # Extract the first word of "msgfmt", so it can be a program name with args.
15818 set dummy msgfmt; ac_word=$2
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15820 $as_echo_n "checking for $ac_word... " >&6; }
15821 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15822 $as_echo_n "(cached) " >&6
15823 else
15824 if test -n "$check_msgfmt"; then
15825 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15826 else
15827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15828 for as_dir in $PATH
15829 do
15830 IFS=$as_save_IFS
15831 test -z "$as_dir" && as_dir=.
15832 for ac_exec_ext in '' $ac_executable_extensions; do
15833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15834 ac_cv_prog_check_msgfmt="yes"
15835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15836 break 2
15837 fi
15838 done
15839 done
15840 IFS=$as_save_IFS
15841
15842 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15843 fi
15844 fi
15845 check_msgfmt=$ac_cv_prog_check_msgfmt
15846 if test -n "$check_msgfmt"; then
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15848 $as_echo "$check_msgfmt" >&6; }
15849 else
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15851 $as_echo "no" >&6; }
15852 fi
15853
15854
15855 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15856 USE_NLS=yes
15857 fi
15858 # Export the build objects.
15859 for ling in $ALL_LINGUAS; do \
15860 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15861 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15862 done
15863
15864
15865
15866 CLOCALE_H=config/locale/gnu/c_locale.h
15867 CLOCALE_CC=config/locale/gnu/c_locale.cc
15868 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15869 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15870 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15871 CMESSAGES_H=config/locale/gnu/messages_members.h
15872 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15873 CMONEY_CC=config/locale/gnu/monetary_members.cc
15874 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15875 CTIME_H=config/locale/gnu/time_members.h
15876 CTIME_CC=config/locale/gnu/time_members.cc
15877 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15878 ;;
15879 ieee_1003.1-2001)
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15881 $as_echo "IEEE 1003.1" >&6; }
15882
15883 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15884 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15885 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15886 CCOLLATE_CC=config/locale/generic/collate_members.cc
15887 CCTYPE_CC=config/locale/generic/ctype_members.cc
15888 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15889 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15890 CMONEY_CC=config/locale/generic/monetary_members.cc
15891 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15892 CTIME_H=config/locale/generic/time_members.h
15893 CTIME_CC=config/locale/generic/time_members.cc
15894 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15895 ;;
15896 esac
15897
15898 # This is where the testsuite looks for locale catalogs, using the
15899 # -DLOCALEDIR define during testsuite compilation.
15900 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15901
15902
15903 # A standalone libintl (e.g., GNU libintl) may be in use.
15904 if test $USE_NLS = yes; then
15905 for ac_header in libintl.h
15906 do :
15907 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15908 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_LIBINTL_H 1
15911 _ACEOF
15912
15913 else
15914 USE_NLS=no
15915 fi
15916
15917 done
15918
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15920 $as_echo_n "checking for library containing gettext... " >&6; }
15921 if test "${ac_cv_search_gettext+set}" = set; then :
15922 $as_echo_n "(cached) " >&6
15923 else
15924 ac_func_search_save_LIBS=$LIBS
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927
15928 /* Override any GCC internal prototype to avoid an error.
15929 Use char because int might match the return type of a GCC
15930 builtin and then its argument prototype would still apply. */
15931 #ifdef __cplusplus
15932 extern "C"
15933 #endif
15934 char gettext ();
15935 int
15936 main ()
15937 {
15938 return gettext ();
15939 ;
15940 return 0;
15941 }
15942 _ACEOF
15943 for ac_lib in '' intl; do
15944 if test -z "$ac_lib"; then
15945 ac_res="none required"
15946 else
15947 ac_res=-l$ac_lib
15948 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15949 fi
15950 if test x$gcc_no_link = xyes; then
15951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15952 fi
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 ac_cv_search_gettext=$ac_res
15955 fi
15956 rm -f core conftest.err conftest.$ac_objext \
15957 conftest$ac_exeext
15958 if test "${ac_cv_search_gettext+set}" = set; then :
15959 break
15960 fi
15961 done
15962 if test "${ac_cv_search_gettext+set}" = set; then :
15963
15964 else
15965 ac_cv_search_gettext=no
15966 fi
15967 rm conftest.$ac_ext
15968 LIBS=$ac_func_search_save_LIBS
15969 fi
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15971 $as_echo "$ac_cv_search_gettext" >&6; }
15972 ac_res=$ac_cv_search_gettext
15973 if test "$ac_res" != no; then :
15974 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15975
15976 else
15977 USE_NLS=no
15978 fi
15979
15980 fi
15981 if test $USE_NLS = yes; then
15982
15983 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15984
15985 fi
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16003 $as_echo_n "checking for std::allocator base class... " >&6; }
16004 # Check whether --enable-libstdcxx-allocator was given.
16005 if test "${enable_libstdcxx_allocator+set}" = set; then :
16006 enableval=$enable_libstdcxx_allocator;
16007 case "$enableval" in
16008 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16009 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16010 esac
16011
16012 else
16013 enable_libstdcxx_allocator=auto
16014 fi
16015
16016
16017
16018 # If they didn't use this option switch, or if they specified --enable
16019 # with no specific model, we'll have to look for one. If they
16020 # specified --disable (???), do likewise.
16021 if test $enable_libstdcxx_allocator = no ||
16022 test $enable_libstdcxx_allocator = yes;
16023 then
16024 enable_libstdcxx_allocator=auto
16025 fi
16026
16027 # Either a known package, or "auto". Auto implies the default choice
16028 # for a particular platform.
16029 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16030
16031 # Probe for host-specific support if no specific model is specified.
16032 # Default to "new".
16033 if test $enable_libstdcxx_allocator_flag = auto; then
16034 case ${target_os} in
16035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16036 enable_libstdcxx_allocator_flag=new
16037 ;;
16038 *)
16039 enable_libstdcxx_allocator_flag=new
16040 ;;
16041 esac
16042 fi
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16044 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16045
16046
16047 # Set configure bits for specified locale package
16048 case ${enable_libstdcxx_allocator_flag} in
16049 bitmap)
16050 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16051 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16052 ;;
16053 malloc)
16054 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16055 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16056 ;;
16057 mt)
16058 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16059 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16060 ;;
16061 new)
16062 ALLOCATOR_H=config/allocator/new_allocator_base.h
16063 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16064 ;;
16065 pool)
16066 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16067 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16068 ;;
16069 esac
16070
16071
16072
16073
16074
16075 # Check whether --enable-cheaders was given.
16076 if test "${enable_cheaders+set}" = set; then :
16077 enableval=$enable_cheaders;
16078 case "$enableval" in
16079 c|c_std|c_global) ;;
16080 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16081 esac
16082
16083 else
16084 enable_cheaders=$c_model
16085 fi
16086
16087
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16089 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16090
16091 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16092
16093 # Allow overrides to configure.host here.
16094 if test $enable_cheaders = c_global; then
16095 c_compatibility=yes
16096 fi
16097
16098
16099
16100
16101
16102
16103
16104 # Check whether --enable-long-long was given.
16105 if test "${enable_long_long+set}" = set; then :
16106 enableval=$enable_long_long;
16107 case "$enableval" in
16108 yes|no) ;;
16109 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16110 esac
16111
16112 else
16113 enable_long_long=yes
16114 fi
16115
16116
16117 if test $enable_long_long = yes; then
16118
16119 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16120
16121 fi
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16123 $as_echo_n "checking for enabled long long specializations... " >&6; }
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16125 $as_echo "$enable_long_long" >&6; }
16126
16127
16128 # Check whether --enable-wchar_t was given.
16129 if test "${enable_wchar_t+set}" = set; then :
16130 enableval=$enable_wchar_t;
16131 case "$enableval" in
16132 yes|no) ;;
16133 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16134 esac
16135
16136 else
16137 enable_wchar_t=yes
16138 fi
16139
16140
16141
16142 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16143 for ac_header in wchar.h
16144 do :
16145 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16146 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_WCHAR_H 1
16149 _ACEOF
16150 ac_has_wchar_h=yes
16151 else
16152 ac_has_wchar_h=no
16153 fi
16154
16155 done
16156
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16158 $as_echo_n "checking for mbstate_t... " >&6; }
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #include <wchar.h>
16162 int
16163 main ()
16164 {
16165 mbstate_t teststate;
16166 ;
16167 return 0;
16168 }
16169 _ACEOF
16170 if ac_fn_c_try_compile "$LINENO"; then :
16171 have_mbstate_t=yes
16172 else
16173 have_mbstate_t=no
16174 fi
16175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16177 $as_echo "$have_mbstate_t" >&6; }
16178 if test x"$have_mbstate_t" = xyes; then
16179
16180 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16181
16182 fi
16183
16184 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16185 # ac_has_wchar_h.
16186 for ac_header in wctype.h
16187 do :
16188 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16189 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define HAVE_WCTYPE_H 1
16192 _ACEOF
16193 ac_has_wctype_h=yes
16194 else
16195 ac_has_wctype_h=no
16196 fi
16197
16198 done
16199
16200
16201 if test x"$enable_wchar_t" = x"yes"; then
16202
16203
16204 ac_ext=cpp
16205 ac_cpp='$CXXCPP $CPPFLAGS'
16206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16209
16210
16211 if test x"$ac_has_wchar_h" = xyes &&
16212 test x"$ac_has_wctype_h" = xyes; then
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16215 #include <wchar.h>
16216 #include <stddef.h>
16217 wint_t i;
16218 long l = WEOF;
16219 long j = WCHAR_MIN;
16220 long k = WCHAR_MAX;
16221 namespace test
16222 {
16223 using ::btowc;
16224 using ::fgetwc;
16225 using ::fgetws;
16226 using ::fputwc;
16227 using ::fputws;
16228 using ::fwide;
16229 using ::fwprintf;
16230 using ::fwscanf;
16231 using ::getwc;
16232 using ::getwchar;
16233 using ::mbrlen;
16234 using ::mbrtowc;
16235 using ::mbsinit;
16236 using ::mbsrtowcs;
16237 using ::putwc;
16238 using ::putwchar;
16239 using ::swprintf;
16240 using ::swscanf;
16241 using ::ungetwc;
16242 using ::vfwprintf;
16243 using ::vswprintf;
16244 using ::vwprintf;
16245 using ::wcrtomb;
16246 using ::wcscat;
16247 using ::wcschr;
16248 using ::wcscmp;
16249 using ::wcscoll;
16250 using ::wcscpy;
16251 using ::wcscspn;
16252 using ::wcsftime;
16253 using ::wcslen;
16254 using ::wcsncat;
16255 using ::wcsncmp;
16256 using ::wcsncpy;
16257 using ::wcspbrk;
16258 using ::wcsrchr;
16259 using ::wcsrtombs;
16260 using ::wcsspn;
16261 using ::wcsstr;
16262 using ::wcstod;
16263 using ::wcstok;
16264 using ::wcstol;
16265 using ::wcstoul;
16266 using ::wcsxfrm;
16267 using ::wctob;
16268 using ::wmemchr;
16269 using ::wmemcmp;
16270 using ::wmemcpy;
16271 using ::wmemmove;
16272 using ::wmemset;
16273 using ::wprintf;
16274 using ::wscanf;
16275 }
16276
16277 int
16278 main ()
16279 {
16280
16281 ;
16282 return 0;
16283 }
16284 _ACEOF
16285 if ac_fn_cxx_try_compile "$LINENO"; then :
16286
16287 else
16288 enable_wchar_t=no
16289 fi
16290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16291 else
16292 enable_wchar_t=no
16293 fi
16294
16295 ac_ext=c
16296 ac_cpp='$CPP $CPPFLAGS'
16297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16300
16301 fi
16302
16303 if test x"$enable_wchar_t" = x"yes"; then
16304
16305 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16306
16307 fi
16308
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16310 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16312 $as_echo "$enable_wchar_t" >&6; }
16313
16314
16315
16316 # Check whether --enable-c99 was given.
16317 if test "${enable_c99+set}" = set; then :
16318 enableval=$enable_c99;
16319 case "$enableval" in
16320 yes|no) ;;
16321 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16322 esac
16323
16324 else
16325 enable_c99=yes
16326 fi
16327
16328
16329
16330 if test x"$enable_c99" = x"yes"; then
16331
16332
16333 ac_ext=cpp
16334 ac_cpp='$CXXCPP $CPPFLAGS'
16335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16338
16339
16340 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16341 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16342 # spuriously enabled.
16343 # Long term, -std=c++0x could be even better, could manage to explicitely
16344 # request C99 facilities to the underlying C headers.
16345 ac_save_CXXFLAGS="$CXXFLAGS"
16346 CXXFLAGS="$CXXFLAGS -std=c++98"
16347 ac_save_LIBS="$LIBS"
16348 ac_save_gcc_no_link="$gcc_no_link"
16349
16350 if test x$gcc_no_link != xyes; then
16351 # Use -fno-exceptions to that the C driver can link these tests without
16352 # hitting undefined references to personality routines.
16353 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16355 $as_echo_n "checking for sin in -lm... " >&6; }
16356 if test "${ac_cv_lib_m_sin+set}" = set; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 ac_check_lib_save_LIBS=$LIBS
16360 LIBS="-lm $LIBS"
16361 if test x$gcc_no_link = xyes; then
16362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16363 fi
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16366
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16370 #ifdef __cplusplus
16371 extern "C"
16372 #endif
16373 char sin ();
16374 int
16375 main ()
16376 {
16377 return sin ();
16378 ;
16379 return 0;
16380 }
16381 _ACEOF
16382 if ac_fn_cxx_try_link "$LINENO"; then :
16383 ac_cv_lib_m_sin=yes
16384 else
16385 ac_cv_lib_m_sin=no
16386 fi
16387 rm -f core conftest.err conftest.$ac_objext \
16388 conftest$ac_exeext conftest.$ac_ext
16389 LIBS=$ac_check_lib_save_LIBS
16390 fi
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16392 $as_echo "$ac_cv_lib_m_sin" >&6; }
16393 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16394
16395 LIBS="$LIBS -lm"
16396
16397 else
16398
16399 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16400 gcc_no_link=yes
16401
16402 fi
16403
16404 fi
16405
16406 # Check for the existence of <math.h> functions used if C99 is enabled.
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16408 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16409 if test "${glibcxx_cv_c99_math+set}" = set; then :
16410 $as_echo_n "(cached) " >&6
16411 else
16412
16413 if test x$gcc_no_link = xyes; then
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #include <math.h>
16417 volatile double d1, d2;
16418 volatile int i;
16419 int
16420 main ()
16421 {
16422 i = fpclassify(d1);
16423 i = isfinite(d1);
16424 i = isinf(d1);
16425 i = isnan(d1);
16426 i = isnormal(d1);
16427 i = signbit(d1);
16428 i = isgreater(d1, d2);
16429 i = isgreaterequal(d1, d2);
16430 i = isless(d1, d2);
16431 i = islessequal(d1, d2);
16432 i = islessgreater(d1, d2);
16433 i = islessgreater(d1, d2);
16434 i = isunordered(d1, d2);
16435
16436 ;
16437 return 0;
16438 }
16439 _ACEOF
16440 if ac_fn_cxx_try_compile "$LINENO"; then :
16441 glibcxx_cv_c99_math=yes
16442 else
16443 glibcxx_cv_c99_math=no
16444 fi
16445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16446 else
16447 if test x$gcc_no_link = xyes; then
16448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16449 fi
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #include <math.h>
16453 volatile double d1, d2;
16454 volatile int i;
16455 int
16456 main ()
16457 {
16458 i = fpclassify(d1);
16459 i = isfinite(d1);
16460 i = isinf(d1);
16461 i = isnan(d1);
16462 i = isnormal(d1);
16463 i = signbit(d1);
16464 i = isgreater(d1, d2);
16465 i = isgreaterequal(d1, d2);
16466 i = isless(d1, d2);
16467 i = islessequal(d1, d2);
16468 i = islessgreater(d1, d2);
16469 i = islessgreater(d1, d2);
16470 i = isunordered(d1, d2);
16471
16472 ;
16473 return 0;
16474 }
16475 _ACEOF
16476 if ac_fn_cxx_try_link "$LINENO"; then :
16477 glibcxx_cv_c99_math=yes
16478 else
16479 glibcxx_cv_c99_math=no
16480 fi
16481 rm -f core conftest.err conftest.$ac_objext \
16482 conftest$ac_exeext conftest.$ac_ext
16483 fi
16484
16485 fi
16486
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16488 $as_echo "$glibcxx_cv_c99_math" >&6; }
16489 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16490
16491 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16492
16493 fi
16494
16495 # Check for the existence of <complex.h> complex math functions.
16496 # This is necessary even though libstdc++ uses the builtin versions
16497 # of these functions, because if the builtin cannot be used, a reference
16498 # to the library function is emitted.
16499 for ac_header in tgmath.h
16500 do :
16501 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16502 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_TGMATH_H 1
16505 _ACEOF
16506 ac_has_tgmath_h=yes
16507 else
16508 ac_has_tgmath_h=no
16509 fi
16510
16511 done
16512
16513 for ac_header in complex.h
16514 do :
16515 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_complex_h" = x""yes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_COMPLEX_H 1
16519 _ACEOF
16520 ac_has_complex_h=yes
16521 else
16522 ac_has_complex_h=no
16523 fi
16524
16525 done
16526
16527 glibcxx_cv_c99_complex=no;
16528 if test x"$ac_has_complex_h" = x"yes"; then
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16530 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16531 if test x$gcc_no_link = xyes; then
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16534 #include <complex.h>
16535 typedef __complex__ float float_type;
16536 typedef __complex__ double double_type;
16537 typedef __complex__ long double ld_type;
16538 volatile float_type tmpf;
16539 volatile double_type tmpd;
16540 volatile ld_type tmpld;
16541 volatile float f;
16542 volatile double d;
16543 volatile long double ld;
16544 int
16545 main ()
16546 {
16547 f = cabsf(tmpf);
16548 f = cargf(tmpf);
16549 tmpf = ccosf(tmpf);
16550 tmpf = ccoshf(tmpf);
16551 tmpf = cexpf(tmpf);
16552 tmpf = clogf(tmpf);
16553 tmpf = csinf(tmpf);
16554 tmpf = csinhf(tmpf);
16555 tmpf = csqrtf(tmpf);
16556 tmpf = ctanf(tmpf);
16557 tmpf = ctanhf(tmpf);
16558 tmpf = cpowf(tmpf, tmpf);
16559 tmpf = cprojf(tmpf);
16560 d = cabs(tmpd);
16561 d = carg(tmpd);
16562 tmpd = ccos(tmpd);
16563 tmpd = ccosh(tmpd);
16564 tmpd = cexp(tmpd);
16565 tmpd = clog(tmpd);
16566 tmpd = csin(tmpd);
16567 tmpd = csinh(tmpd);
16568 tmpd = csqrt(tmpd);
16569 tmpd = ctan(tmpd);
16570 tmpd = ctanh(tmpd);
16571 tmpd = cpow(tmpd, tmpd);
16572 tmpd = cproj(tmpd);
16573 ld = cabsl(tmpld);
16574 ld = cargl(tmpld);
16575 tmpld = ccosl(tmpld);
16576 tmpld = ccoshl(tmpld);
16577 tmpld = cexpl(tmpld);
16578 tmpld = clogl(tmpld);
16579 tmpld = csinl(tmpld);
16580 tmpld = csinhl(tmpld);
16581 tmpld = csqrtl(tmpld);
16582 tmpld = ctanl(tmpld);
16583 tmpld = ctanhl(tmpld);
16584 tmpld = cpowl(tmpld, tmpld);
16585 tmpld = cprojl(tmpld);
16586
16587 ;
16588 return 0;
16589 }
16590 _ACEOF
16591 if ac_fn_cxx_try_compile "$LINENO"; then :
16592 glibcxx_cv_c99_complex=yes
16593 else
16594 glibcxx_cv_c99_complex=no
16595 fi
16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597 else
16598 if test x$gcc_no_link = xyes; then
16599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16600 fi
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16603 #include <complex.h>
16604 typedef __complex__ float float_type;
16605 typedef __complex__ double double_type;
16606 typedef __complex__ long double ld_type;
16607 volatile float_type tmpf;
16608 volatile double_type tmpd;
16609 volatile ld_type tmpld;
16610 volatile float f;
16611 volatile double d;
16612 volatile long double ld;
16613 int
16614 main ()
16615 {
16616 f = cabsf(tmpf);
16617 f = cargf(tmpf);
16618 tmpf = ccosf(tmpf);
16619 tmpf = ccoshf(tmpf);
16620 tmpf = cexpf(tmpf);
16621 tmpf = clogf(tmpf);
16622 tmpf = csinf(tmpf);
16623 tmpf = csinhf(tmpf);
16624 tmpf = csqrtf(tmpf);
16625 tmpf = ctanf(tmpf);
16626 tmpf = ctanhf(tmpf);
16627 tmpf = cpowf(tmpf, tmpf);
16628 tmpf = cprojf(tmpf);
16629 d = cabs(tmpd);
16630 d = carg(tmpd);
16631 tmpd = ccos(tmpd);
16632 tmpd = ccosh(tmpd);
16633 tmpd = cexp(tmpd);
16634 tmpd = clog(tmpd);
16635 tmpd = csin(tmpd);
16636 tmpd = csinh(tmpd);
16637 tmpd = csqrt(tmpd);
16638 tmpd = ctan(tmpd);
16639 tmpd = ctanh(tmpd);
16640 tmpd = cpow(tmpd, tmpd);
16641 tmpd = cproj(tmpd);
16642 ld = cabsl(tmpld);
16643 ld = cargl(tmpld);
16644 tmpld = ccosl(tmpld);
16645 tmpld = ccoshl(tmpld);
16646 tmpld = cexpl(tmpld);
16647 tmpld = clogl(tmpld);
16648 tmpld = csinl(tmpld);
16649 tmpld = csinhl(tmpld);
16650 tmpld = csqrtl(tmpld);
16651 tmpld = ctanl(tmpld);
16652 tmpld = ctanhl(tmpld);
16653 tmpld = cpowl(tmpld, tmpld);
16654 tmpld = cprojl(tmpld);
16655
16656 ;
16657 return 0;
16658 }
16659 _ACEOF
16660 if ac_fn_cxx_try_link "$LINENO"; then :
16661 glibcxx_cv_c99_complex=yes
16662 else
16663 glibcxx_cv_c99_complex=no
16664 fi
16665 rm -f core conftest.err conftest.$ac_objext \
16666 conftest$ac_exeext conftest.$ac_ext
16667 fi
16668 fi
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16670 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16671 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16672
16673 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16674
16675 fi
16676
16677 # Check for the existence in <stdio.h> of vscanf, et. al.
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16679 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16680 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16681 $as_echo_n "(cached) " >&6
16682 else
16683
16684 if test x$gcc_no_link = xyes; then
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16687 #include <stdio.h>
16688 #include <stdarg.h>
16689 void foo(char* fmt, ...)
16690 {
16691 va_list args; va_start(args, fmt);
16692 vfscanf(stderr, "%i", args);
16693 vscanf("%i", args);
16694 vsnprintf(fmt, 0, "%i", args);
16695 vsscanf(fmt, "%i", args);
16696 }
16697 int
16698 main ()
16699 {
16700 snprintf("12", 0, "%i");
16701 ;
16702 return 0;
16703 }
16704 _ACEOF
16705 if ac_fn_cxx_try_compile "$LINENO"; then :
16706 glibcxx_cv_c99_stdio=yes
16707 else
16708 glibcxx_cv_c99_stdio=no
16709 fi
16710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16711 else
16712 if test x$gcc_no_link = xyes; then
16713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16714 fi
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717 #include <stdio.h>
16718 #include <stdarg.h>
16719 void foo(char* fmt, ...)
16720 {
16721 va_list args; va_start(args, fmt);
16722 vfscanf(stderr, "%i", args);
16723 vscanf("%i", args);
16724 vsnprintf(fmt, 0, "%i", args);
16725 vsscanf(fmt, "%i", args);
16726 }
16727 int
16728 main ()
16729 {
16730 snprintf("12", 0, "%i");
16731 ;
16732 return 0;
16733 }
16734 _ACEOF
16735 if ac_fn_cxx_try_link "$LINENO"; then :
16736 glibcxx_cv_c99_stdio=yes
16737 else
16738 glibcxx_cv_c99_stdio=no
16739 fi
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16742 fi
16743
16744 fi
16745
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16747 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16748
16749 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16751 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16752 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755
16756 if test x$gcc_no_link = xyes; then
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16759 #include <stdlib.h>
16760 volatile float f;
16761 volatile long double ld;
16762 volatile unsigned long long ll;
16763 lldiv_t mydivt;
16764 int
16765 main ()
16766 {
16767 char* tmp;
16768 f = strtof("gnu", &tmp);
16769 ld = strtold("gnu", &tmp);
16770 ll = strtoll("gnu", &tmp, 10);
16771 ll = strtoull("gnu", &tmp, 10);
16772 ll = llabs(10);
16773 mydivt = lldiv(10,1);
16774 ll = mydivt.quot;
16775 ll = mydivt.rem;
16776 ll = atoll("10");
16777 _Exit(0);
16778
16779 ;
16780 return 0;
16781 }
16782 _ACEOF
16783 if ac_fn_cxx_try_compile "$LINENO"; then :
16784 glibcxx_cv_c99_stdlib=yes
16785 else
16786 glibcxx_cv_c99_stdlib=no
16787 fi
16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16789 else
16790 if test x$gcc_no_link = xyes; then
16791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16792 fi
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <stdlib.h>
16796 volatile float f;
16797 volatile long double ld;
16798 volatile unsigned long long ll;
16799 lldiv_t mydivt;
16800 int
16801 main ()
16802 {
16803 char* tmp;
16804 f = strtof("gnu", &tmp);
16805 ld = strtold("gnu", &tmp);
16806 ll = strtoll("gnu", &tmp, 10);
16807 ll = strtoull("gnu", &tmp, 10);
16808 ll = llabs(10);
16809 mydivt = lldiv(10,1);
16810 ll = mydivt.quot;
16811 ll = mydivt.rem;
16812 ll = atoll("10");
16813 _Exit(0);
16814
16815 ;
16816 return 0;
16817 }
16818 _ACEOF
16819 if ac_fn_cxx_try_link "$LINENO"; then :
16820 glibcxx_cv_c99_stdlib=yes
16821 else
16822 glibcxx_cv_c99_stdlib=no
16823 fi
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16826 fi
16827
16828 fi
16829
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16831 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16832
16833 # Check for the existence in <wchar.h> of wcstold, etc.
16834 glibcxx_cv_c99_wchar=no;
16835 if test x"$ac_has_wchar_h" = xyes &&
16836 test x"$ac_has_wctype_h" = xyes; then
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16838 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16841 #include <wchar.h>
16842 namespace test
16843 {
16844 using ::wcstold;
16845 using ::wcstoll;
16846 using ::wcstoull;
16847 }
16848
16849 int
16850 main ()
16851 {
16852
16853 ;
16854 return 0;
16855 }
16856 _ACEOF
16857 if ac_fn_cxx_try_compile "$LINENO"; then :
16858 glibcxx_cv_c99_wchar=yes
16859 else
16860 glibcxx_cv_c99_wchar=no
16861 fi
16862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16863
16864 # Checks for wide character functions that may not be present.
16865 # Injection of these is wrapped with guard macros.
16866 # NB: only put functions here, instead of immediately above, if
16867 # absolutely necessary.
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #include <wchar.h>
16871 namespace test { using ::vfwscanf; }
16872 int
16873 main ()
16874 {
16875
16876 ;
16877 return 0;
16878 }
16879 _ACEOF
16880 if ac_fn_cxx_try_compile "$LINENO"; then :
16881
16882 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16883
16884 fi
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886
16887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16889 #include <wchar.h>
16890 namespace test { using ::vswscanf; }
16891 int
16892 main ()
16893 {
16894
16895 ;
16896 return 0;
16897 }
16898 _ACEOF
16899 if ac_fn_cxx_try_compile "$LINENO"; then :
16900
16901 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16902
16903 fi
16904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16905
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 #include <wchar.h>
16909 namespace test { using ::vwscanf; }
16910 int
16911 main ()
16912 {
16913
16914 ;
16915 return 0;
16916 }
16917 _ACEOF
16918 if ac_fn_cxx_try_compile "$LINENO"; then :
16919
16920 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16921
16922 fi
16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16924
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 #include <wchar.h>
16928 namespace test { using ::wcstof; }
16929 int
16930 main ()
16931 {
16932
16933 ;
16934 return 0;
16935 }
16936 _ACEOF
16937 if ac_fn_cxx_try_compile "$LINENO"; then :
16938
16939 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16940
16941 fi
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <wctype.h>
16947 int
16948 main ()
16949 {
16950 wint_t t; int i = iswblank(t);
16951 ;
16952 return 0;
16953 }
16954 _ACEOF
16955 if ac_fn_cxx_try_compile "$LINENO"; then :
16956
16957 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16958
16959 fi
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16961
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16963 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16964 fi
16965
16966 # Option parsed, now set things appropriately.
16967 if test x"$glibcxx_cv_c99_math" = x"no" ||
16968 test x"$glibcxx_cv_c99_complex" = x"no" ||
16969 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16970 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16971 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16972 enable_c99=no;
16973 else
16974
16975 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16976
16977 fi
16978
16979 gcc_no_link="$ac_save_gcc_no_link"
16980 LIBS="$ac_save_LIBS"
16981 CXXFLAGS="$ac_save_CXXFLAGS"
16982 ac_ext=c
16983 ac_cpp='$CPP $CPPFLAGS'
16984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16987
16988 fi
16989
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16991 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16993 $as_echo "$enable_c99" >&6; }
16994
16995
16996 # Check whether --enable-concept-checks was given.
16997 if test "${enable_concept_checks+set}" = set; then :
16998 enableval=$enable_concept_checks;
16999 case "$enableval" in
17000 yes|no) ;;
17001 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17002 esac
17003
17004 else
17005 enable_concept_checks=no
17006 fi
17007
17008
17009 if test $enable_concept_checks = yes; then
17010
17011 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17012
17013 fi
17014
17015
17016 # Check whether --enable-libstdcxx-debug-flags was given.
17017 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17018 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17019 xno | x) enable_libstdcxx_debug_flags= ;;
17020 x-*) ;;
17021 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17022 esac
17023 else
17024 enable_libstdcxx_debug_flags="-g3 -O0"
17025 fi
17026
17027
17028
17029 # Option parsed, now set things appropriately
17030 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17031
17032
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17034 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17035
17036
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17038 $as_echo_n "checking for additional debug build... " >&6; }
17039 # Check whether --enable-libstdcxx-debug was given.
17040 if test "${enable_libstdcxx_debug+set}" = set; then :
17041 enableval=$enable_libstdcxx_debug;
17042 case "$enableval" in
17043 yes|no) ;;
17044 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17045 esac
17046
17047 else
17048 enable_libstdcxx_debug=no
17049 fi
17050
17051
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17053 $as_echo "$enable_libstdcxx_debug" >&6; }
17054
17055
17056
17057
17058 enable_parallel=no;
17059
17060 # See if configured libgomp/omp.h exists. (libgomp may be in
17061 # noconfigdirs but not explicitly disabled.)
17062 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17063 enable_parallel=yes;
17064 else
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17066 $as_echo "$as_me: target-libgomp not built" >&6;}
17067 fi
17068
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17070 $as_echo_n "checking for parallel mode support... " >&6; }
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17072 $as_echo "$enable_parallel" >&6; }
17073
17074
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17076 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17077 # Check whether --enable-cxx-flags was given.
17078 if test "${enable_cxx_flags+set}" = set; then :
17079 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17080 xno | x) enable_cxx_flags= ;;
17081 x-*) ;;
17082 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17083 esac
17084 else
17085 enable_cxx_flags=
17086 fi
17087
17088
17089
17090 # Run through flags (either default or command-line) and set anything
17091 # extra (e.g., #defines) that must accompany particular g++ options.
17092 if test -n "$enable_cxx_flags"; then
17093 for f in $enable_cxx_flags; do
17094 case "$f" in
17095 -fhonor-std) ;;
17096 -*) ;;
17097 *) # and we're trying to pass /what/ exactly?
17098 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17099 esac
17100 done
17101 fi
17102
17103 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17105 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17106
17107
17108
17109 # Check whether --enable-fully-dynamic-string was given.
17110 if test "${enable_fully_dynamic_string+set}" = set; then :
17111 enableval=$enable_fully_dynamic_string;
17112 case "$enableval" in
17113 yes|no) ;;
17114 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17115 esac
17116
17117 else
17118 enable_fully_dynamic_string=no
17119 fi
17120
17121
17122 if test $enable_fully_dynamic_string = yes; then
17123
17124 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17125
17126 fi
17127
17128
17129 # Checks for operating systems support that doesn't require linking.
17130
17131
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17133 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17134 if test "${glibcxx_cv_system_error1+set}" = set; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 #include <errno.h>
17141 int
17142 main ()
17143 {
17144 int i = EOWNERDEAD;
17145 ;
17146 return 0;
17147 }
17148 _ACEOF
17149 if ac_fn_c_try_compile "$LINENO"; then :
17150 glibcxx_cv_system_error1=yes
17151 else
17152 glibcxx_cv_system_error1=no
17153 fi
17154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17155
17156 fi
17157
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17159 $as_echo "$glibcxx_cv_system_error1" >&6; }
17160 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17161
17162 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17163
17164 fi
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17166 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17167 if test "${glibcxx_cv_system_error2+set}" = set; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17170
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #include <errno.h>
17174 int
17175 main ()
17176 {
17177 int i = ENOTRECOVERABLE;
17178 ;
17179 return 0;
17180 }
17181 _ACEOF
17182 if ac_fn_c_try_compile "$LINENO"; then :
17183 glibcxx_cv_system_error2=yes
17184 else
17185 glibcxx_cv_system_error2=no
17186 fi
17187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17188
17189 fi
17190
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17192 $as_echo "$glibcxx_cv_system_error2" >&6; }
17193 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17194
17195 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17196
17197 fi
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17199 $as_echo_n "checking for ENOLINK... " >&6; }
17200 if test "${glibcxx_cv_system_error3+set}" = set; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17206 #include <errno.h>
17207 int
17208 main ()
17209 {
17210 int i = ENOLINK;
17211 ;
17212 return 0;
17213 }
17214 _ACEOF
17215 if ac_fn_c_try_compile "$LINENO"; then :
17216 glibcxx_cv_system_error3=yes
17217 else
17218 glibcxx_cv_system_error3=no
17219 fi
17220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17221
17222 fi
17223
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17225 $as_echo "$glibcxx_cv_system_error3" >&6; }
17226 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17227
17228 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17229
17230 fi
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17232 $as_echo_n "checking for EPROTO... " >&6; }
17233 if test "${glibcxx_cv_system_error4+set}" = set; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 #include <errno.h>
17240 int
17241 main ()
17242 {
17243 int i = EPROTO;
17244 ;
17245 return 0;
17246 }
17247 _ACEOF
17248 if ac_fn_c_try_compile "$LINENO"; then :
17249 glibcxx_cv_system_error4=yes
17250 else
17251 glibcxx_cv_system_error4=no
17252 fi
17253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17254
17255 fi
17256
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17258 $as_echo "$glibcxx_cv_system_error4" >&6; }
17259 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17260
17261 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17262
17263 fi
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17265 $as_echo_n "checking for ENODATA... " >&6; }
17266 if test "${glibcxx_cv_system_error5+set}" = set; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #include <errno.h>
17273 int
17274 main ()
17275 {
17276 int i = ENODATA;
17277 ;
17278 return 0;
17279 }
17280 _ACEOF
17281 if ac_fn_c_try_compile "$LINENO"; then :
17282 glibcxx_cv_system_error5=yes
17283 else
17284 glibcxx_cv_system_error5=no
17285 fi
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17287
17288 fi
17289
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17291 $as_echo "$glibcxx_cv_system_error5" >&6; }
17292 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17293
17294 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17295
17296 fi
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17298 $as_echo_n "checking for ENOSR... " >&6; }
17299 if test "${glibcxx_cv_system_error6+set}" = set; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #include <errno.h>
17306 int
17307 main ()
17308 {
17309 int i = ENOSR;
17310 ;
17311 return 0;
17312 }
17313 _ACEOF
17314 if ac_fn_c_try_compile "$LINENO"; then :
17315 glibcxx_cv_system_error6=yes
17316 else
17317 glibcxx_cv_system_error6=no
17318 fi
17319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17320
17321 fi
17322
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17324 $as_echo "$glibcxx_cv_system_error6" >&6; }
17325 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17326
17327 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17328
17329 fi
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17331 $as_echo_n "checking for ENOSTR... " >&6; }
17332 if test "${glibcxx_cv_system_error7+set}" = set; then :
17333 $as_echo_n "(cached) " >&6
17334 else
17335
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 #include <errno.h>
17339 int
17340 main ()
17341 {
17342 int i = ENOSTR;
17343 ;
17344 return 0;
17345 }
17346 _ACEOF
17347 if ac_fn_c_try_compile "$LINENO"; then :
17348 glibcxx_cv_system_error7=yes
17349 else
17350 glibcxx_cv_system_error7=no
17351 fi
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17353
17354 fi
17355
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17357 $as_echo "$glibcxx_cv_system_error7" >&6; }
17358 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17359
17360 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17361
17362 fi
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17364 $as_echo_n "checking for ETIME... " >&6; }
17365 if test "${glibcxx_cv_system_error8+set}" = set; then :
17366 $as_echo_n "(cached) " >&6
17367 else
17368
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #include <errno.h>
17372 int
17373 main ()
17374 {
17375 int i = ETIME;
17376 ;
17377 return 0;
17378 }
17379 _ACEOF
17380 if ac_fn_c_try_compile "$LINENO"; then :
17381 glibcxx_cv_system_error8=yes
17382 else
17383 glibcxx_cv_system_error8=no
17384 fi
17385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17386
17387 fi
17388
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17390 $as_echo "$glibcxx_cv_system_error8" >&6; }
17391 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17392
17393 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17394
17395 fi
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17397 $as_echo_n "checking for EBADMSG... " >&6; }
17398 if test "${glibcxx_cv_system_error9+set}" = set; then :
17399 $as_echo_n "(cached) " >&6
17400 else
17401
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 #include <errno.h>
17405 int
17406 main ()
17407 {
17408 int i = EBADMSG;
17409 ;
17410 return 0;
17411 }
17412 _ACEOF
17413 if ac_fn_c_try_compile "$LINENO"; then :
17414 glibcxx_cv_system_error9=yes
17415 else
17416 glibcxx_cv_system_error9=no
17417 fi
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419
17420 fi
17421
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17423 $as_echo "$glibcxx_cv_system_error9" >&6; }
17424 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17425
17426 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17427
17428 fi
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17430 $as_echo_n "checking for ECANCELED... " >&6; }
17431 if test "${glibcxx_cv_system_error10+set}" = set; then :
17432 $as_echo_n "(cached) " >&6
17433 else
17434
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #include <errno.h>
17438 int
17439 main ()
17440 {
17441 int i = ECANCELED;
17442 ;
17443 return 0;
17444 }
17445 _ACEOF
17446 if ac_fn_c_try_compile "$LINENO"; then :
17447 glibcxx_cv_system_error10=yes
17448 else
17449 glibcxx_cv_system_error10=no
17450 fi
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17452
17453 fi
17454
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17456 $as_echo "$glibcxx_cv_system_error10" >&6; }
17457 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17458
17459 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17460
17461 fi
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17463 $as_echo_n "checking for EOVERFLOW... " >&6; }
17464 if test "${glibcxx_cv_system_error11+set}" = set; then :
17465 $as_echo_n "(cached) " >&6
17466 else
17467
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 #include <errno.h>
17471 int
17472 main ()
17473 {
17474 int i = EOVERFLOW;
17475 ;
17476 return 0;
17477 }
17478 _ACEOF
17479 if ac_fn_c_try_compile "$LINENO"; then :
17480 glibcxx_cv_system_error11=yes
17481 else
17482 glibcxx_cv_system_error11=no
17483 fi
17484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17485
17486 fi
17487
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17489 $as_echo "$glibcxx_cv_system_error11" >&6; }
17490 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17491
17492 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17493
17494 fi
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17496 $as_echo_n "checking for ENOTSUP... " >&6; }
17497 if test "${glibcxx_cv_system_error12+set}" = set; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17500
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 #include <errno.h>
17504 int
17505 main ()
17506 {
17507 int i = ENOTSUP;
17508 ;
17509 return 0;
17510 }
17511 _ACEOF
17512 if ac_fn_c_try_compile "$LINENO"; then :
17513 glibcxx_cv_system_error12=yes
17514 else
17515 glibcxx_cv_system_error12=no
17516 fi
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518
17519 fi
17520
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17522 $as_echo "$glibcxx_cv_system_error12" >&6; }
17523 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17524
17525 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17526
17527 fi
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17529 $as_echo_n "checking for EIDRM... " >&6; }
17530 if test "${glibcxx_cv_system_error13+set}" = set; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 #include <errno.h>
17537 int
17538 main ()
17539 {
17540 int i = EIDRM;
17541 ;
17542 return 0;
17543 }
17544 _ACEOF
17545 if ac_fn_c_try_compile "$LINENO"; then :
17546 glibcxx_cv_system_error13=yes
17547 else
17548 glibcxx_cv_system_error13=no
17549 fi
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551
17552 fi
17553
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17555 $as_echo "$glibcxx_cv_system_error13" >&6; }
17556 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17557
17558 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17559
17560 fi
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17562 $as_echo_n "checking for ETXTBSY... " >&6; }
17563 if test "${glibcxx_cv_system_error14+set}" = set; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 #include <errno.h>
17570 int
17571 main ()
17572 {
17573 int i = ETXTBSY;
17574 ;
17575 return 0;
17576 }
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579 glibcxx_cv_system_error14=yes
17580 else
17581 glibcxx_cv_system_error14=no
17582 fi
17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584
17585 fi
17586
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17588 $as_echo "$glibcxx_cv_system_error14" >&6; }
17589 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17590
17591 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17592
17593 fi
17594
17595
17596
17597 # For the streamoff typedef.
17598
17599
17600
17601 ac_ext=cpp
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17606
17607
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17609 $as_echo_n "checking for int64_t... " >&6; }
17610 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17613
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <stdint.h>
17617 int
17618 main ()
17619 {
17620 int64_t var;
17621 ;
17622 return 0;
17623 }
17624 _ACEOF
17625 if ac_fn_cxx_try_compile "$LINENO"; then :
17626 glibcxx_cv_INT64_T=yes
17627 else
17628 glibcxx_cv_INT64_T=no
17629 fi
17630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17631
17632 fi
17633
17634
17635 if test $glibcxx_cv_INT64_T = yes; then
17636
17637 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17638
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17640 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17641
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17643 $as_echo_n "checking for int64_t as long... " >&6; }
17644 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17645 $as_echo_n "(cached) " >&6
17646 else
17647
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17650 #include <stdint.h>
17651 template<typename, typename> struct same { enum { value = -1 }; };
17652 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17653 int array[same<int64_t, long>::value];
17654 int
17655 main ()
17656 {
17657
17658 ;
17659 return 0;
17660 }
17661 _ACEOF
17662 if ac_fn_cxx_try_compile "$LINENO"; then :
17663 glibcxx_cv_int64_t_long=yes
17664 else
17665 glibcxx_cv_int64_t_long=no
17666 fi
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668
17669 fi
17670
17671
17672 if test $glibcxx_cv_int64_t_long = yes; then
17673
17674 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17675
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17677 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17678 fi
17679
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17681 $as_echo_n "checking for int64_t as long long... " >&6; }
17682 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <stdint.h>
17689 template<typename, typename> struct same { enum { value = -1 }; };
17690 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17691 int array[same<int64_t, long long>::value];
17692 int
17693 main ()
17694 {
17695
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 if ac_fn_cxx_try_compile "$LINENO"; then :
17701 glibcxx_cv_int64_t_long_long=yes
17702 else
17703 glibcxx_cv_int64_t_long_long=no
17704 fi
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706
17707 fi
17708
17709
17710 if test $glibcxx_cv_int64_t_long_long = yes; then
17711
17712 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17713
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17715 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17716 fi
17717 fi
17718
17719 ac_ext=c
17720 ac_cpp='$CPP $CPPFLAGS'
17721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17724
17725
17726
17727 # For LFS support.
17728
17729
17730 ac_ext=cpp
17731 ac_cpp='$CXXCPP $CPPFLAGS'
17732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17735
17736 ac_save_CXXFLAGS="$CXXFLAGS"
17737 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17739 $as_echo_n "checking for LFS support... " >&6; }
17740 if test "${glibcxx_cv_LFS+set}" = set; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17743
17744 if test x$gcc_no_link = xyes; then
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #include <unistd.h>
17748 #include <stdio.h>
17749 #include <sys/stat.h>
17750
17751 int
17752 main ()
17753 {
17754 FILE* fp;
17755 fopen64("t", "w");
17756 fseeko64(fp, 0, SEEK_CUR);
17757 ftello64(fp);
17758 lseek64(1, 0, SEEK_CUR);
17759 struct stat64 buf;
17760 fstat64(1, &buf);
17761 ;
17762 return 0;
17763 }
17764 _ACEOF
17765 if ac_fn_cxx_try_compile "$LINENO"; then :
17766 glibcxx_cv_LFS=yes
17767 else
17768 glibcxx_cv_LFS=no
17769 fi
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 else
17772 if test x$gcc_no_link = xyes; then
17773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17774 fi
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17777 #include <unistd.h>
17778 #include <stdio.h>
17779 #include <sys/stat.h>
17780
17781 int
17782 main ()
17783 {
17784 FILE* fp;
17785 fopen64("t", "w");
17786 fseeko64(fp, 0, SEEK_CUR);
17787 ftello64(fp);
17788 lseek64(1, 0, SEEK_CUR);
17789 struct stat64 buf;
17790 fstat64(1, &buf);
17791 ;
17792 return 0;
17793 }
17794 _ACEOF
17795 if ac_fn_cxx_try_link "$LINENO"; then :
17796 glibcxx_cv_LFS=yes
17797 else
17798 glibcxx_cv_LFS=no
17799 fi
17800 rm -f core conftest.err conftest.$ac_objext \
17801 conftest$ac_exeext conftest.$ac_ext
17802 fi
17803
17804 fi
17805
17806 if test $glibcxx_cv_LFS = yes; then
17807
17808 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17809
17810 fi
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17812 $as_echo "$glibcxx_cv_LFS" >&6; }
17813 CXXFLAGS="$ac_save_CXXFLAGS"
17814 ac_ext=c
17815 ac_cpp='$CPP $CPPFLAGS'
17816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17819
17820
17821
17822 # For showmanyc_helper().
17823 for ac_header in sys/ioctl.h sys/filio.h
17824 do :
17825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17826 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17827 eval as_val=\$$as_ac_Header
17828 if test "x$as_val" = x""yes; then :
17829 cat >>confdefs.h <<_ACEOF
17830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17831 _ACEOF
17832
17833 fi
17834
17835 done
17836
17837
17838
17839
17840 ac_ext=cpp
17841 ac_cpp='$CXXCPP $CPPFLAGS'
17842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845
17846 ac_save_CXXFLAGS="$CXXFLAGS"
17847 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17848
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17850 $as_echo_n "checking for poll... " >&6; }
17851 if test "${glibcxx_cv_POLL+set}" = set; then :
17852 $as_echo_n "(cached) " >&6
17853 else
17854
17855 if test x$gcc_no_link = xyes; then
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 #include <poll.h>
17859 int
17860 main ()
17861 {
17862 struct pollfd pfd[1];
17863 pfd[0].events = POLLIN;
17864 poll(pfd, 1, 0);
17865 ;
17866 return 0;
17867 }
17868 _ACEOF
17869 if ac_fn_cxx_try_compile "$LINENO"; then :
17870 glibcxx_cv_POLL=yes
17871 else
17872 glibcxx_cv_POLL=no
17873 fi
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875 else
17876 if test x$gcc_no_link = xyes; then
17877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17878 fi
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 #include <poll.h>
17882 int
17883 main ()
17884 {
17885 struct pollfd pfd[1];
17886 pfd[0].events = POLLIN;
17887 poll(pfd, 1, 0);
17888 ;
17889 return 0;
17890 }
17891 _ACEOF
17892 if ac_fn_cxx_try_link "$LINENO"; then :
17893 glibcxx_cv_POLL=yes
17894 else
17895 glibcxx_cv_POLL=no
17896 fi
17897 rm -f core conftest.err conftest.$ac_objext \
17898 conftest$ac_exeext conftest.$ac_ext
17899 fi
17900
17901 fi
17902
17903 if test $glibcxx_cv_POLL = yes; then
17904
17905 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17906
17907 fi
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17909 $as_echo "$glibcxx_cv_POLL" >&6; }
17910
17911 CXXFLAGS="$ac_save_CXXFLAGS"
17912 ac_ext=c
17913 ac_cpp='$CPP $CPPFLAGS'
17914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17917
17918
17919
17920
17921
17922 ac_ext=cpp
17923 ac_cpp='$CXXCPP $CPPFLAGS'
17924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17927
17928 ac_save_CXXFLAGS="$CXXFLAGS"
17929 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17930
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17932 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17933 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17934 $as_echo_n "(cached) " >&6
17935 else
17936
17937 if test x$gcc_no_link = xyes; then
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <sys/stat.h>
17941 int
17942 main ()
17943 {
17944 struct stat buffer;
17945 fstat(0, &buffer);
17946 S_ISREG(buffer.st_mode);
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 if ac_fn_cxx_try_compile "$LINENO"; then :
17952 glibcxx_cv_S_ISREG=yes
17953 else
17954 glibcxx_cv_S_ISREG=no
17955 fi
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17957 else
17958 if test x$gcc_no_link = xyes; then
17959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17960 fi
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #include <sys/stat.h>
17964 int
17965 main ()
17966 {
17967 struct stat buffer;
17968 fstat(0, &buffer);
17969 S_ISREG(buffer.st_mode);
17970 ;
17971 return 0;
17972 }
17973 _ACEOF
17974 if ac_fn_cxx_try_link "$LINENO"; then :
17975 glibcxx_cv_S_ISREG=yes
17976 else
17977 glibcxx_cv_S_ISREG=no
17978 fi
17979 rm -f core conftest.err conftest.$ac_objext \
17980 conftest$ac_exeext conftest.$ac_ext
17981 fi
17982
17983 fi
17984
17985 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17988
17989 if test x$gcc_no_link = xyes; then
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <sys/stat.h>
17993 int
17994 main ()
17995 {
17996 struct stat buffer;
17997 fstat(0, &buffer);
17998 S_IFREG & buffer.st_mode;
17999 ;
18000 return 0;
18001 }
18002 _ACEOF
18003 if ac_fn_cxx_try_compile "$LINENO"; then :
18004 glibcxx_cv_S_IFREG=yes
18005 else
18006 glibcxx_cv_S_IFREG=no
18007 fi
18008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 else
18010 if test x$gcc_no_link = xyes; then
18011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18012 fi
18013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18014 /* end confdefs.h. */
18015 #include <sys/stat.h>
18016 int
18017 main ()
18018 {
18019 struct stat buffer;
18020 fstat(0, &buffer);
18021 S_IFREG & buffer.st_mode;
18022 ;
18023 return 0;
18024 }
18025 _ACEOF
18026 if ac_fn_cxx_try_link "$LINENO"; then :
18027 glibcxx_cv_S_IFREG=yes
18028 else
18029 glibcxx_cv_S_IFREG=no
18030 fi
18031 rm -f core conftest.err conftest.$ac_objext \
18032 conftest$ac_exeext conftest.$ac_ext
18033 fi
18034
18035 fi
18036
18037 res=no
18038 if test $glibcxx_cv_S_ISREG = yes; then
18039
18040 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18041
18042 res=S_ISREG
18043 elif test $glibcxx_cv_S_IFREG = yes; then
18044
18045 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18046
18047 res=S_IFREG
18048 fi
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18050 $as_echo "$res" >&6; }
18051
18052 CXXFLAGS="$ac_save_CXXFLAGS"
18053 ac_ext=c
18054 ac_cpp='$CPP $CPPFLAGS'
18055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18058
18059
18060
18061 # For xsputn_2().
18062 for ac_header in sys/uio.h
18063 do :
18064 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18065 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define HAVE_SYS_UIO_H 1
18068 _ACEOF
18069
18070 fi
18071
18072 done
18073
18074
18075
18076
18077 ac_ext=cpp
18078 ac_cpp='$CXXCPP $CPPFLAGS'
18079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18082
18083 ac_save_CXXFLAGS="$CXXFLAGS"
18084 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18085
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18087 $as_echo_n "checking for writev... " >&6; }
18088 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18091
18092 if test x$gcc_no_link = xyes; then
18093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18095 #include <sys/uio.h>
18096 int
18097 main ()
18098 {
18099 struct iovec iov[2];
18100 writev(0, iov, 0);
18101 ;
18102 return 0;
18103 }
18104 _ACEOF
18105 if ac_fn_cxx_try_compile "$LINENO"; then :
18106 glibcxx_cv_WRITEV=yes
18107 else
18108 glibcxx_cv_WRITEV=no
18109 fi
18110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18111 else
18112 if test x$gcc_no_link = xyes; then
18113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18114 fi
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18117 #include <sys/uio.h>
18118 int
18119 main ()
18120 {
18121 struct iovec iov[2];
18122 writev(0, iov, 0);
18123 ;
18124 return 0;
18125 }
18126 _ACEOF
18127 if ac_fn_cxx_try_link "$LINENO"; then :
18128 glibcxx_cv_WRITEV=yes
18129 else
18130 glibcxx_cv_WRITEV=no
18131 fi
18132 rm -f core conftest.err conftest.$ac_objext \
18133 conftest$ac_exeext conftest.$ac_ext
18134 fi
18135
18136 fi
18137
18138 if test $glibcxx_cv_WRITEV = yes; then
18139
18140 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18141
18142 fi
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18144 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18145
18146 CXXFLAGS="$ac_save_CXXFLAGS"
18147 ac_ext=c
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18152
18153
18154
18155 # For C99 support to TR1.
18156
18157
18158
18159 ac_ext=cpp
18160 ac_cpp='$CXXCPP $CPPFLAGS'
18161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18164
18165
18166 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18167 # undefined and fake C99 facilities may be spuriously enabled.
18168 ac_save_CXXFLAGS="$CXXFLAGS"
18169 CXXFLAGS="$CXXFLAGS -std=c++98"
18170
18171 # Check for the existence of <complex.h> complex math functions used
18172 # by tr1/complex.
18173 for ac_header in complex.h
18174 do :
18175 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18176 if test "x$ac_cv_header_complex_h" = x""yes; then :
18177 cat >>confdefs.h <<_ACEOF
18178 #define HAVE_COMPLEX_H 1
18179 _ACEOF
18180 ac_has_complex_h=yes
18181 else
18182 ac_has_complex_h=no
18183 fi
18184
18185 done
18186
18187 ac_c99_complex_tr1=no;
18188 if test x"$ac_has_complex_h" = x"yes"; then
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18190 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18193 #include <complex.h>
18194 int
18195 main ()
18196 {
18197 typedef __complex__ float float_type; float_type tmpf;
18198 cacosf(tmpf);
18199 casinf(tmpf);
18200 catanf(tmpf);
18201 cacoshf(tmpf);
18202 casinhf(tmpf);
18203 catanhf(tmpf);
18204 typedef __complex__ double double_type; double_type tmpd;
18205 cacos(tmpd);
18206 casin(tmpd);
18207 catan(tmpd);
18208 cacosh(tmpd);
18209 casinh(tmpd);
18210 catanh(tmpd);
18211 typedef __complex__ long double ld_type; ld_type tmpld;
18212 cacosl(tmpld);
18213 casinl(tmpld);
18214 catanl(tmpld);
18215 cacoshl(tmpld);
18216 casinhl(tmpld);
18217 catanhl(tmpld);
18218
18219 ;
18220 return 0;
18221 }
18222 _ACEOF
18223 if ac_fn_cxx_try_compile "$LINENO"; then :
18224 ac_c99_complex_tr1=yes
18225 else
18226 ac_c99_complex_tr1=no
18227 fi
18228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18229 fi
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18231 $as_echo "$ac_c99_complex_tr1" >&6; }
18232 if test x"$ac_c99_complex_tr1" = x"yes"; then
18233
18234 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18235
18236 fi
18237
18238 # Check for the existence of <ctype.h> functions.
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18240 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18241 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18242 $as_echo_n "(cached) " >&6
18243 else
18244
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247 #include <ctype.h>
18248 int
18249 main ()
18250 {
18251 int ch;
18252 int ret;
18253 ret = isblank(ch);
18254
18255 ;
18256 return 0;
18257 }
18258 _ACEOF
18259 if ac_fn_cxx_try_compile "$LINENO"; then :
18260 glibcxx_cv_c99_ctype_tr1=yes
18261 else
18262 glibcxx_cv_c99_ctype_tr1=no
18263 fi
18264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18265
18266 fi
18267
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18269 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18270 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18271
18272 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18273
18274 fi
18275
18276 # Check for the existence of <fenv.h> functions.
18277 for ac_header in fenv.h
18278 do :
18279 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18280 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18281 cat >>confdefs.h <<_ACEOF
18282 #define HAVE_FENV_H 1
18283 _ACEOF
18284 ac_has_fenv_h=yes
18285 else
18286 ac_has_fenv_h=no
18287 fi
18288
18289 done
18290
18291 ac_c99_fenv_tr1=no;
18292 if test x"$ac_has_fenv_h" = x"yes"; then
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18294 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <fenv.h>
18298 int
18299 main ()
18300 {
18301 int except, mode;
18302 fexcept_t* pflag;
18303 fenv_t* penv;
18304 int ret;
18305 ret = feclearexcept(except);
18306 ret = fegetexceptflag(pflag, except);
18307 ret = feraiseexcept(except);
18308 ret = fesetexceptflag(pflag, except);
18309 ret = fetestexcept(except);
18310 ret = fegetround();
18311 ret = fesetround(mode);
18312 ret = fegetenv(penv);
18313 ret = feholdexcept(penv);
18314 ret = fesetenv(penv);
18315 ret = feupdateenv(penv);
18316
18317 ;
18318 return 0;
18319 }
18320 _ACEOF
18321 if ac_fn_cxx_try_compile "$LINENO"; then :
18322 ac_c99_fenv_tr1=yes
18323 else
18324 ac_c99_fenv_tr1=no
18325 fi
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18327 fi
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18329 $as_echo "$ac_c99_fenv_tr1" >&6; }
18330 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18331
18332 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18333
18334 fi
18335
18336 # Check for the existence of <stdint.h> types.
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18338 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18339 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18340 $as_echo_n "(cached) " >&6
18341 else
18342
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18345 #define __STDC_LIMIT_MACROS
18346 #define __STDC_CONSTANT_MACROS
18347 #include <stdint.h>
18348 int
18349 main ()
18350 {
18351 typedef int8_t my_int8_t;
18352 my_int8_t i8 = INT8_MIN;
18353 i8 = INT8_MAX;
18354 typedef int16_t my_int16_t;
18355 my_int16_t i16 = INT16_MIN;
18356 i16 = INT16_MAX;
18357 typedef int32_t my_int32_t;
18358 my_int32_t i32 = INT32_MIN;
18359 i32 = INT32_MAX;
18360 typedef int64_t my_int64_t;
18361 my_int64_t i64 = INT64_MIN;
18362 i64 = INT64_MAX;
18363 typedef int_fast8_t my_int_fast8_t;
18364 my_int_fast8_t if8 = INT_FAST8_MIN;
18365 if8 = INT_FAST8_MAX;
18366 typedef int_fast16_t my_int_fast16_t;
18367 my_int_fast16_t if16 = INT_FAST16_MIN;
18368 if16 = INT_FAST16_MAX;
18369 typedef int_fast32_t my_int_fast32_t;
18370 my_int_fast32_t if32 = INT_FAST32_MIN;
18371 if32 = INT_FAST32_MAX;
18372 typedef int_fast64_t my_int_fast64_t;
18373 my_int_fast64_t if64 = INT_FAST64_MIN;
18374 if64 = INT_FAST64_MAX;
18375 typedef int_least8_t my_int_least8_t;
18376 my_int_least8_t il8 = INT_LEAST8_MIN;
18377 il8 = INT_LEAST8_MAX;
18378 typedef int_least16_t my_int_least16_t;
18379 my_int_least16_t il16 = INT_LEAST16_MIN;
18380 il16 = INT_LEAST16_MAX;
18381 typedef int_least32_t my_int_least32_t;
18382 my_int_least32_t il32 = INT_LEAST32_MIN;
18383 il32 = INT_LEAST32_MAX;
18384 typedef int_least64_t my_int_least64_t;
18385 my_int_least64_t il64 = INT_LEAST64_MIN;
18386 il64 = INT_LEAST64_MAX;
18387 typedef intmax_t my_intmax_t;
18388 my_intmax_t im = INTMAX_MAX;
18389 im = INTMAX_MIN;
18390 typedef intptr_t my_intptr_t;
18391 my_intptr_t ip = INTPTR_MAX;
18392 ip = INTPTR_MIN;
18393 typedef uint8_t my_uint8_t;
18394 my_uint8_t ui8 = UINT8_MAX;
18395 ui8 = UINT8_MAX;
18396 typedef uint16_t my_uint16_t;
18397 my_uint16_t ui16 = UINT16_MAX;
18398 ui16 = UINT16_MAX;
18399 typedef uint32_t my_uint32_t;
18400 my_uint32_t ui32 = UINT32_MAX;
18401 ui32 = UINT32_MAX;
18402 typedef uint64_t my_uint64_t;
18403 my_uint64_t ui64 = UINT64_MAX;
18404 ui64 = UINT64_MAX;
18405 typedef uint_fast8_t my_uint_fast8_t;
18406 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18407 uif8 = UINT_FAST8_MAX;
18408 typedef uint_fast16_t my_uint_fast16_t;
18409 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18410 uif16 = UINT_FAST16_MAX;
18411 typedef uint_fast32_t my_uint_fast32_t;
18412 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18413 uif32 = UINT_FAST32_MAX;
18414 typedef uint_fast64_t my_uint_fast64_t;
18415 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18416 uif64 = UINT_FAST64_MAX;
18417 typedef uint_least8_t my_uint_least8_t;
18418 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18419 uil8 = UINT_LEAST8_MAX;
18420 typedef uint_least16_t my_uint_least16_t;
18421 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18422 uil16 = UINT_LEAST16_MAX;
18423 typedef uint_least32_t my_uint_least32_t;
18424 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18425 uil32 = UINT_LEAST32_MAX;
18426 typedef uint_least64_t my_uint_least64_t;
18427 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18428 uil64 = UINT_LEAST64_MAX;
18429 typedef uintmax_t my_uintmax_t;
18430 my_uintmax_t uim = UINTMAX_MAX;
18431 uim = UINTMAX_MAX;
18432 typedef uintptr_t my_uintptr_t;
18433 my_uintptr_t uip = UINTPTR_MAX;
18434 uip = UINTPTR_MAX;
18435
18436 ;
18437 return 0;
18438 }
18439 _ACEOF
18440 if ac_fn_cxx_try_compile "$LINENO"; then :
18441 glibcxx_cv_c99_stdint_tr1=yes
18442 else
18443 glibcxx_cv_c99_stdint_tr1=no
18444 fi
18445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18446
18447 fi
18448
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18450 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18451 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18452
18453 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18454
18455 fi
18456
18457 # Check for the existence of <math.h> functions.
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18459 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18460 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18461 $as_echo_n "(cached) " >&6
18462 else
18463
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 #include <math.h>
18467 int
18468 main ()
18469 {
18470 typedef double_t my_double_t;
18471 typedef float_t my_float_t;
18472 acosh(0.0);
18473 acoshf(0.0f);
18474 acoshl(0.0l);
18475 asinh(0.0);
18476 asinhf(0.0f);
18477 asinhl(0.0l);
18478 atanh(0.0);
18479 atanhf(0.0f);
18480 atanhl(0.0l);
18481 cbrt(0.0);
18482 cbrtf(0.0f);
18483 cbrtl(0.0l);
18484 copysign(0.0, 0.0);
18485 copysignf(0.0f, 0.0f);
18486 copysignl(0.0l, 0.0l);
18487 erf(0.0);
18488 erff(0.0f);
18489 erfl(0.0l);
18490 erfc(0.0);
18491 erfcf(0.0f);
18492 erfcl(0.0l);
18493 exp2(0.0);
18494 exp2f(0.0f);
18495 exp2l(0.0l);
18496 expm1(0.0);
18497 expm1f(0.0f);
18498 expm1l(0.0l);
18499 fdim(0.0, 0.0);
18500 fdimf(0.0f, 0.0f);
18501 fdiml(0.0l, 0.0l);
18502 fma(0.0, 0.0, 0.0);
18503 fmaf(0.0f, 0.0f, 0.0f);
18504 fmal(0.0l, 0.0l, 0.0l);
18505 fmax(0.0, 0.0);
18506 fmaxf(0.0f, 0.0f);
18507 fmaxl(0.0l, 0.0l);
18508 fmin(0.0, 0.0);
18509 fminf(0.0f, 0.0f);
18510 fminl(0.0l, 0.0l);
18511 hypot(0.0, 0.0);
18512 hypotf(0.0f, 0.0f);
18513 hypotl(0.0l, 0.0l);
18514 ilogb(0.0);
18515 ilogbf(0.0f);
18516 ilogbl(0.0l);
18517 lgamma(0.0);
18518 lgammaf(0.0f);
18519 lgammal(0.0l);
18520 llrint(0.0);
18521 llrintf(0.0f);
18522 llrintl(0.0l);
18523 llround(0.0);
18524 llroundf(0.0f);
18525 llroundl(0.0l);
18526 log1p(0.0);
18527 log1pf(0.0f);
18528 log1pl(0.0l);
18529 log2(0.0);
18530 log2f(0.0f);
18531 log2l(0.0l);
18532 logb(0.0);
18533 logbf(0.0f);
18534 logbl(0.0l);
18535 lrint(0.0);
18536 lrintf(0.0f);
18537 lrintl(0.0l);
18538 lround(0.0);
18539 lroundf(0.0f);
18540 lroundl(0.0l);
18541 nan(0);
18542 nanf(0);
18543 nanl(0);
18544 nearbyint(0.0);
18545 nearbyintf(0.0f);
18546 nearbyintl(0.0l);
18547 nextafter(0.0, 0.0);
18548 nextafterf(0.0f, 0.0f);
18549 nextafterl(0.0l, 0.0l);
18550 nexttoward(0.0, 0.0);
18551 nexttowardf(0.0f, 0.0f);
18552 nexttowardl(0.0l, 0.0l);
18553 remainder(0.0, 0.0);
18554 remainderf(0.0f, 0.0f);
18555 remainderl(0.0l, 0.0l);
18556 remquo(0.0, 0.0, 0);
18557 remquof(0.0f, 0.0f, 0);
18558 remquol(0.0l, 0.0l, 0);
18559 rint(0.0);
18560 rintf(0.0f);
18561 rintl(0.0l);
18562 round(0.0);
18563 roundf(0.0f);
18564 roundl(0.0l);
18565 scalbln(0.0, 0l);
18566 scalblnf(0.0f, 0l);
18567 scalblnl(0.0l, 0l);
18568 scalbn(0.0, 0);
18569 scalbnf(0.0f, 0);
18570 scalbnl(0.0l, 0);
18571 tgamma(0.0);
18572 tgammaf(0.0f);
18573 tgammal(0.0l);
18574 trunc(0.0);
18575 truncf(0.0f);
18576 truncl(0.0l);
18577
18578 ;
18579 return 0;
18580 }
18581 _ACEOF
18582 if ac_fn_cxx_try_compile "$LINENO"; then :
18583 glibcxx_cv_c99_math_tr1=yes
18584 else
18585 glibcxx_cv_c99_math_tr1=no
18586 fi
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18588
18589 fi
18590
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18592 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18593 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18594
18595 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18596
18597 fi
18598
18599 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18600 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18601 ac_c99_inttypes_tr1=no;
18602 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18604 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 #include <inttypes.h>
18608 int
18609 main ()
18610 {
18611 intmax_t i, numer, denom, base;
18612 const char* s;
18613 char** endptr;
18614 intmax_t ret = imaxabs(i);
18615 imaxdiv_t dret = imaxdiv(numer, denom);
18616 ret = strtoimax(s, endptr, base);
18617 uintmax_t uret = strtoumax(s, endptr, base);
18618
18619 ;
18620 return 0;
18621 }
18622 _ACEOF
18623 if ac_fn_cxx_try_compile "$LINENO"; then :
18624 ac_c99_inttypes_tr1=yes
18625 else
18626 ac_c99_inttypes_tr1=no
18627 fi
18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 fi
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18631 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18632 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18633
18634 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18635
18636 fi
18637
18638 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18639 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18640 ac_c99_inttypes_wchar_t_tr1=no;
18641 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18643 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <inttypes.h>
18647 int
18648 main ()
18649 {
18650 intmax_t base;
18651 const wchar_t* s;
18652 wchar_t** endptr;
18653 intmax_t ret = wcstoimax(s, endptr, base);
18654 uintmax_t uret = wcstoumax(s, endptr, base);
18655
18656 ;
18657 return 0;
18658 }
18659 _ACEOF
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661 ac_c99_inttypes_wchar_t_tr1=yes
18662 else
18663 ac_c99_inttypes_wchar_t_tr1=no
18664 fi
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666 fi
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18668 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18669 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18670
18671 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18672
18673 fi
18674
18675 # Check for the existence of the <stdbool.h> header.
18676 for ac_header in stdbool.h
18677 do :
18678 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18679 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_STDBOOL_H 1
18682 _ACEOF
18683
18684 fi
18685
18686 done
18687
18688
18689 CXXFLAGS="$ac_save_CXXFLAGS"
18690 ac_ext=c
18691 ac_cpp='$CPP $CPPFLAGS'
18692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18695
18696
18697
18698 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18699
18700
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18702 $as_echo_n "checking for the value of EOF... " >&6; }
18703 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18704 $as_echo_n "(cached) " >&6
18705 else
18706
18707 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18708
18709 else
18710 as_fn_error "computing EOF failed" "$LINENO" 5
18711 fi
18712
18713
18714 fi
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18716 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18717
18718 cat >>confdefs.h <<_ACEOF
18719 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18720 _ACEOF
18721
18722
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18724 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18725 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18726 $as_echo_n "(cached) " >&6
18727 else
18728
18729 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18730
18731 else
18732 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18733 fi
18734
18735
18736 fi
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18738 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18739
18740 cat >>confdefs.h <<_ACEOF
18741 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18742 _ACEOF
18743
18744
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18746 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18747 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18748 $as_echo_n "(cached) " >&6
18749 else
18750
18751 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18752
18753 else
18754 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18755 fi
18756
18757
18758 fi
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18760 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18761
18762 cat >>confdefs.h <<_ACEOF
18763 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18764 _ACEOF
18765
18766
18767
18768 # For gettimeofday support.
18769
18770
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18772 $as_echo_n "checking for gettimeofday... " >&6; }
18773
18774
18775 ac_ext=cpp
18776 ac_cpp='$CXXCPP $CPPFLAGS'
18777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18780
18781 ac_save_CXXFLAGS="$CXXFLAGS"
18782 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18783
18784 ac_has_gettimeofday=no;
18785 for ac_header in sys/time.h
18786 do :
18787 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18788 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_SYS_TIME_H 1
18791 _ACEOF
18792 ac_has_sys_time_h=yes
18793 else
18794 ac_has_sys_time_h=no
18795 fi
18796
18797 done
18798
18799 if test x"$ac_has_sys_time_h" = x"yes"; then
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18801 $as_echo_n "checking for gettimeofday... " >&6; }
18802 if test x$gcc_no_link = xyes; then
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 #include <sys/time.h>
18806 int
18807 main ()
18808 {
18809 timeval tv; gettimeofday(&tv, 0);
18810 ;
18811 return 0;
18812 }
18813 _ACEOF
18814 if ac_fn_cxx_try_compile "$LINENO"; then :
18815 ac_has_gettimeofday=yes
18816 else
18817 ac_has_gettimeofday=no
18818 fi
18819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18820 else
18821 if test x$gcc_no_link = xyes; then
18822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18823 fi
18824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18826 #include <sys/time.h>
18827 int
18828 main ()
18829 {
18830 timeval tv; gettimeofday(&tv, 0);
18831 ;
18832 return 0;
18833 }
18834 _ACEOF
18835 if ac_fn_cxx_try_link "$LINENO"; then :
18836 ac_has_gettimeofday=yes
18837 else
18838 ac_has_gettimeofday=no
18839 fi
18840 rm -f core conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18842 fi
18843
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18845 $as_echo "$ac_has_gettimeofday" >&6; }
18846 fi
18847
18848 if test x"$ac_has_gettimeofday" = x"yes"; then
18849
18850 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18851
18852 fi
18853
18854 CXXFLAGS="$ac_save_CXXFLAGS"
18855 ac_ext=c
18856 ac_cpp='$CPP $CPPFLAGS'
18857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18860
18861
18862
18863 # For clock_gettime, nanosleep and sched_yield support.
18864 # NB: The default is [no], because otherwise it requires linking.
18865
18866
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18868 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18869 # Check whether --enable-libstdcxx-time was given.
18870 if test "${enable_libstdcxx_time+set}" = set; then :
18871 enableval=$enable_libstdcxx_time;
18872 case "$enableval" in
18873 yes|no|rt) ;;
18874 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18875 esac
18876
18877 else
18878 enable_libstdcxx_time=no
18879 fi
18880
18881
18882
18883
18884 ac_ext=cpp
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889
18890 ac_save_CXXFLAGS="$CXXFLAGS"
18891 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18892 ac_save_LIBS="$LIBS"
18893
18894 ac_has_clock_monotonic=no
18895 ac_has_clock_realtime=no
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18897 $as_echo "$enable_libstdcxx_time" >&6; }
18898
18899 if test x"$enable_libstdcxx_time" != x"no"; then
18900
18901 if test x"$enable_libstdcxx_time" = x"rt"; then
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18903 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18904 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18905 $as_echo_n "(cached) " >&6
18906 else
18907 ac_func_search_save_LIBS=$LIBS
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18910
18911 /* Override any GCC internal prototype to avoid an error.
18912 Use char because int might match the return type of a GCC
18913 builtin and then its argument prototype would still apply. */
18914 #ifdef __cplusplus
18915 extern "C"
18916 #endif
18917 char clock_gettime ();
18918 int
18919 main ()
18920 {
18921 return clock_gettime ();
18922 ;
18923 return 0;
18924 }
18925 _ACEOF
18926 for ac_lib in '' rt posix4; do
18927 if test -z "$ac_lib"; then
18928 ac_res="none required"
18929 else
18930 ac_res=-l$ac_lib
18931 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18932 fi
18933 if test x$gcc_no_link = xyes; then
18934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18935 fi
18936 if ac_fn_cxx_try_link "$LINENO"; then :
18937 ac_cv_search_clock_gettime=$ac_res
18938 fi
18939 rm -f core conftest.err conftest.$ac_objext \
18940 conftest$ac_exeext
18941 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18942 break
18943 fi
18944 done
18945 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18946
18947 else
18948 ac_cv_search_clock_gettime=no
18949 fi
18950 rm conftest.$ac_ext
18951 LIBS=$ac_func_search_save_LIBS
18952 fi
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18954 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18955 ac_res=$ac_cv_search_clock_gettime
18956 if test "$ac_res" != no; then :
18957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18958
18959 fi
18960
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18962 $as_echo_n "checking for library containing nanosleep... " >&6; }
18963 if test "${ac_cv_search_nanosleep+set}" = set; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18966 ac_func_search_save_LIBS=$LIBS
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969
18970 /* Override any GCC internal prototype to avoid an error.
18971 Use char because int might match the return type of a GCC
18972 builtin and then its argument prototype would still apply. */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 char nanosleep ();
18977 int
18978 main ()
18979 {
18980 return nanosleep ();
18981 ;
18982 return 0;
18983 }
18984 _ACEOF
18985 for ac_lib in '' rt posix4; do
18986 if test -z "$ac_lib"; then
18987 ac_res="none required"
18988 else
18989 ac_res=-l$ac_lib
18990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18991 fi
18992 if test x$gcc_no_link = xyes; then
18993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18994 fi
18995 if ac_fn_cxx_try_link "$LINENO"; then :
18996 ac_cv_search_nanosleep=$ac_res
18997 fi
18998 rm -f core conftest.err conftest.$ac_objext \
18999 conftest$ac_exeext
19000 if test "${ac_cv_search_nanosleep+set}" = set; then :
19001 break
19002 fi
19003 done
19004 if test "${ac_cv_search_nanosleep+set}" = set; then :
19005
19006 else
19007 ac_cv_search_nanosleep=no
19008 fi
19009 rm conftest.$ac_ext
19010 LIBS=$ac_func_search_save_LIBS
19011 fi
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19013 $as_echo "$ac_cv_search_nanosleep" >&6; }
19014 ac_res=$ac_cv_search_nanosleep
19015 if test "$ac_res" != no; then :
19016 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19017
19018 fi
19019
19020 else
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19022 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19023 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19024 $as_echo_n "(cached) " >&6
19025 else
19026 ac_func_search_save_LIBS=$LIBS
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029
19030 /* Override any GCC internal prototype to avoid an error.
19031 Use char because int might match the return type of a GCC
19032 builtin and then its argument prototype would still apply. */
19033 #ifdef __cplusplus
19034 extern "C"
19035 #endif
19036 char clock_gettime ();
19037 int
19038 main ()
19039 {
19040 return clock_gettime ();
19041 ;
19042 return 0;
19043 }
19044 _ACEOF
19045 for ac_lib in '' posix4; do
19046 if test -z "$ac_lib"; then
19047 ac_res="none required"
19048 else
19049 ac_res=-l$ac_lib
19050 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19051 fi
19052 if test x$gcc_no_link = xyes; then
19053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19054 fi
19055 if ac_fn_cxx_try_link "$LINENO"; then :
19056 ac_cv_search_clock_gettime=$ac_res
19057 fi
19058 rm -f core conftest.err conftest.$ac_objext \
19059 conftest$ac_exeext
19060 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19061 break
19062 fi
19063 done
19064 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19065
19066 else
19067 ac_cv_search_clock_gettime=no
19068 fi
19069 rm conftest.$ac_ext
19070 LIBS=$ac_func_search_save_LIBS
19071 fi
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19073 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19074 ac_res=$ac_cv_search_clock_gettime
19075 if test "$ac_res" != no; then :
19076 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19077
19078 fi
19079
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19081 $as_echo_n "checking for library containing nanosleep... " >&6; }
19082 if test "${ac_cv_search_nanosleep+set}" = set; then :
19083 $as_echo_n "(cached) " >&6
19084 else
19085 ac_func_search_save_LIBS=$LIBS
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19088
19089 /* Override any GCC internal prototype to avoid an error.
19090 Use char because int might match the return type of a GCC
19091 builtin and then its argument prototype would still apply. */
19092 #ifdef __cplusplus
19093 extern "C"
19094 #endif
19095 char nanosleep ();
19096 int
19097 main ()
19098 {
19099 return nanosleep ();
19100 ;
19101 return 0;
19102 }
19103 _ACEOF
19104 for ac_lib in '' posix4; do
19105 if test -z "$ac_lib"; then
19106 ac_res="none required"
19107 else
19108 ac_res=-l$ac_lib
19109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19110 fi
19111 if test x$gcc_no_link = xyes; then
19112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19113 fi
19114 if ac_fn_cxx_try_link "$LINENO"; then :
19115 ac_cv_search_nanosleep=$ac_res
19116 fi
19117 rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext
19119 if test "${ac_cv_search_nanosleep+set}" = set; then :
19120 break
19121 fi
19122 done
19123 if test "${ac_cv_search_nanosleep+set}" = set; then :
19124
19125 else
19126 ac_cv_search_nanosleep=no
19127 fi
19128 rm conftest.$ac_ext
19129 LIBS=$ac_func_search_save_LIBS
19130 fi
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19132 $as_echo "$ac_cv_search_nanosleep" >&6; }
19133 ac_res=$ac_cv_search_nanosleep
19134 if test "$ac_res" != no; then :
19135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19136
19137 fi
19138
19139 fi
19140
19141 case "$ac_cv_search_clock_gettime" in
19142 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19143 ;;
19144 esac
19145 case "$ac_cv_search_nanosleep" in
19146 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19147 ;;
19148 esac
19149
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19151 $as_echo_n "checking for library containing sched_yield... " >&6; }
19152 if test "${ac_cv_search_sched_yield+set}" = set; then :
19153 $as_echo_n "(cached) " >&6
19154 else
19155 ac_func_search_save_LIBS=$LIBS
19156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h. */
19158
19159 /* Override any GCC internal prototype to avoid an error.
19160 Use char because int might match the return type of a GCC
19161 builtin and then its argument prototype would still apply. */
19162 #ifdef __cplusplus
19163 extern "C"
19164 #endif
19165 char sched_yield ();
19166 int
19167 main ()
19168 {
19169 return sched_yield ();
19170 ;
19171 return 0;
19172 }
19173 _ACEOF
19174 for ac_lib in '' rt posix4; do
19175 if test -z "$ac_lib"; then
19176 ac_res="none required"
19177 else
19178 ac_res=-l$ac_lib
19179 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19180 fi
19181 if test x$gcc_no_link = xyes; then
19182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19183 fi
19184 if ac_fn_cxx_try_link "$LINENO"; then :
19185 ac_cv_search_sched_yield=$ac_res
19186 fi
19187 rm -f core conftest.err conftest.$ac_objext \
19188 conftest$ac_exeext
19189 if test "${ac_cv_search_sched_yield+set}" = set; then :
19190 break
19191 fi
19192 done
19193 if test "${ac_cv_search_sched_yield+set}" = set; then :
19194
19195 else
19196 ac_cv_search_sched_yield=no
19197 fi
19198 rm conftest.$ac_ext
19199 LIBS=$ac_func_search_save_LIBS
19200 fi
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19202 $as_echo "$ac_cv_search_sched_yield" >&6; }
19203 ac_res=$ac_cv_search_sched_yield
19204 if test "$ac_res" != no; then :
19205 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19206
19207 fi
19208
19209
19210 case "$ac_cv_search_sched_yield" in
19211 -lposix4*)
19212 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19213
19214 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19215
19216 ;;
19217 -lrt*)
19218 if test x"$enable_libstdcxx_time" = x"rt"; then
19219 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19220
19221 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19222
19223 fi
19224 ;;
19225 *)
19226
19227 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19228
19229 ;;
19230 esac
19231
19232 for ac_header in unistd.h
19233 do :
19234 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19235 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19236 cat >>confdefs.h <<_ACEOF
19237 #define HAVE_UNISTD_H 1
19238 _ACEOF
19239 ac_has_unistd_h=yes
19240 else
19241 ac_has_unistd_h=no
19242 fi
19243
19244 done
19245
19246
19247 if test x"$ac_has_unistd_h" = x"yes"; then
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19249 $as_echo_n "checking for monotonic clock... " >&6; }
19250 if test x$gcc_no_link = xyes; then
19251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19252 fi
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 #include <unistd.h>
19256 #include <time.h>
19257
19258 int
19259 main ()
19260 {
19261 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19262 timespec tp;
19263 #endif
19264 clock_gettime(CLOCK_MONOTONIC, &tp);
19265
19266 ;
19267 return 0;
19268 }
19269 _ACEOF
19270 if ac_fn_cxx_try_link "$LINENO"; then :
19271 ac_has_clock_monotonic=yes
19272 else
19273 ac_has_clock_monotonic=no
19274 fi
19275 rm -f core conftest.err conftest.$ac_objext \
19276 conftest$ac_exeext conftest.$ac_ext
19277
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19279 $as_echo "$ac_has_clock_monotonic" >&6; }
19280
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19282 $as_echo_n "checking for realtime clock... " >&6; }
19283 if test x$gcc_no_link = xyes; then
19284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19285 fi
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 #include <unistd.h>
19289 #include <time.h>
19290
19291 int
19292 main ()
19293 {
19294 #if _POSIX_TIMERS > 0
19295 timespec tp;
19296 #endif
19297 clock_gettime(CLOCK_REALTIME, &tp);
19298
19299 ;
19300 return 0;
19301 }
19302 _ACEOF
19303 if ac_fn_cxx_try_link "$LINENO"; then :
19304 ac_has_clock_realtime=yes
19305 else
19306 ac_has_clock_realtime=no
19307 fi
19308 rm -f core conftest.err conftest.$ac_objext \
19309 conftest$ac_exeext conftest.$ac_ext
19310
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19312 $as_echo "$ac_has_clock_realtime" >&6; }
19313
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19315 $as_echo_n "checking for nanosleep... " >&6; }
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19318 fi
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 #include <unistd.h>
19322 #include <time.h>
19323
19324 int
19325 main ()
19326 {
19327 #if _POSIX_TIMERS > 0
19328 timespec tp;
19329 #endif
19330 nanosleep(&tp, 0);
19331
19332 ;
19333 return 0;
19334 }
19335 _ACEOF
19336 if ac_fn_cxx_try_link "$LINENO"; then :
19337 ac_has_nanosleep=yes
19338 else
19339 ac_has_nanosleep=no
19340 fi
19341 rm -f core conftest.err conftest.$ac_objext \
19342 conftest$ac_exeext conftest.$ac_ext
19343
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19345 $as_echo "$ac_has_nanosleep" >&6; }
19346 fi
19347 fi
19348
19349 if test x"$ac_has_clock_monotonic" = x"yes"; then
19350
19351 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19352
19353 fi
19354
19355 if test x"$ac_has_clock_realtime" = x"yes"; then
19356
19357 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19358
19359 fi
19360
19361 if test x"$ac_has_nanosleep" = x"yes"; then
19362
19363 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19364
19365 fi
19366
19367
19368
19369 CXXFLAGS="$ac_save_CXXFLAGS"
19370 LIBS="$ac_save_LIBS"
19371 ac_ext=c
19372 ac_cpp='$CPP $CPPFLAGS'
19373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19376
19377
19378
19379 # For gthread support
19380
19381
19382 ac_ext=cpp
19383 ac_cpp='$CXXCPP $CPPFLAGS'
19384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19387
19388
19389 ac_save_CXXFLAGS="$CXXFLAGS"
19390 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19391
19392 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19393 case $target_thread_file in
19394 posix)
19395 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19396 esac
19397
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19399 $as_echo_n "checking for gthreads library... " >&6; }
19400
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include "gthr.h"
19404 int
19405 main ()
19406 {
19407
19408 #ifndef __GTHREADS_CXX0X
19409 #error
19410 #endif
19411
19412 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19413 #if (defined(_PTHREADS) \
19414 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19415 #error
19416 #endif
19417
19418 ;
19419 return 0;
19420 }
19421 _ACEOF
19422 if ac_fn_cxx_try_compile "$LINENO"; then :
19423 ac_has_gthreads=yes
19424 else
19425 ac_has_gthreads=no
19426 fi
19427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19430 $as_echo "$ac_has_gthreads" >&6; }
19431
19432 if test x"$ac_has_gthreads" = x"yes"; then
19433
19434 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19435
19436 fi
19437
19438 CXXFLAGS="$ac_save_CXXFLAGS"
19439 ac_ext=c
19440 ac_cpp='$CPP $CPPFLAGS'
19441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19444
19445
19446
19447
19448 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19449 if test "x$ac_cv_header_locale_h" = x""yes; then :
19450
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19452 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19453 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19454 $as_echo_n "(cached) " >&6
19455 else
19456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19458 #include <locale.h>
19459 int
19460 main ()
19461 {
19462 return LC_MESSAGES
19463 ;
19464 return 0;
19465 }
19466 _ACEOF
19467 if ac_fn_c_try_compile "$LINENO"; then :
19468 ac_cv_val_LC_MESSAGES=yes
19469 else
19470 ac_cv_val_LC_MESSAGES=no
19471 fi
19472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19473 fi
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19475 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19476 if test $ac_cv_val_LC_MESSAGES = yes; then
19477
19478 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19479
19480 fi
19481
19482 fi
19483
19484
19485
19486
19487 # Check for available headers.
19488 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19489 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19490 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19491 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19492 wchar.h wctype.h
19493 do :
19494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19495 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19496 eval as_val=\$$as_ac_Header
19497 if test "x$as_val" = x""yes; then :
19498 cat >>confdefs.h <<_ACEOF
19499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19500 _ACEOF
19501
19502 fi
19503
19504 done
19505
19506
19507 # Only do link tests if native. Else, hardcode.
19508 if $GLIBCXX_IS_NATIVE; then
19509
19510 # We can do more elaborate tests that assume a working linker.
19511 CANADIAN=no
19512
19513
19514
19515 # Check whether --with-gnu-ld was given.
19516 if test "${with_gnu_ld+set}" = set; then :
19517 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19518 else
19519 with_gnu_ld=no
19520 fi
19521
19522 ac_prog=ld
19523 if test "$GCC" = yes; then
19524 # Check if gcc -print-prog-name=ld gives a path.
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19526 $as_echo_n "checking for ld used by $CC... " >&6; }
19527 case $host in
19528 *-*-mingw*)
19529 # gcc leaves a trailing carriage return which upsets mingw
19530 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19531 *)
19532 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19533 esac
19534 case $ac_prog in
19535 # Accept absolute paths.
19536 [\\/]* | ?:[\\/]*)
19537 re_direlt='/[^/][^/]*/\.\./'
19538 # Canonicalize the pathname of ld
19539 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19540 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19541 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19542 done
19543 test -z "$LD" && LD="$ac_prog"
19544 ;;
19545 "")
19546 # If it fails, then pretend we aren't using GCC.
19547 ac_prog=ld
19548 ;;
19549 *)
19550 # If it is relative, then search for the first ld in PATH.
19551 with_gnu_ld=unknown
19552 ;;
19553 esac
19554 elif test "$with_gnu_ld" = yes; then
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19556 $as_echo_n "checking for GNU ld... " >&6; }
19557 else
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19559 $as_echo_n "checking for non-GNU ld... " >&6; }
19560 fi
19561 if test "${lt_cv_path_LD+set}" = set; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19564 if test -z "$LD"; then
19565 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19566 for ac_dir in $PATH; do
19567 IFS="$lt_save_ifs"
19568 test -z "$ac_dir" && ac_dir=.
19569 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19570 lt_cv_path_LD="$ac_dir/$ac_prog"
19571 # Check to see if the program is GNU ld. I'd rather use --version,
19572 # but apparently some variants of GNU ld only accept -v.
19573 # Break only if it was the GNU/non-GNU ld that we prefer.
19574 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19575 *GNU* | *'with BFD'*)
19576 test "$with_gnu_ld" != no && break
19577 ;;
19578 *)
19579 test "$with_gnu_ld" != yes && break
19580 ;;
19581 esac
19582 fi
19583 done
19584 IFS="$lt_save_ifs"
19585 else
19586 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19587 fi
19588 fi
19589
19590 LD="$lt_cv_path_LD"
19591 if test -n "$LD"; then
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19593 $as_echo "$LD" >&6; }
19594 else
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19596 $as_echo "no" >&6; }
19597 fi
19598 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19600 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19601 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19602 $as_echo_n "(cached) " >&6
19603 else
19604 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19605 case `$LD -v 2>&1 </dev/null` in
19606 *GNU* | *'with BFD'*)
19607 lt_cv_prog_gnu_ld=yes
19608 ;;
19609 *)
19610 lt_cv_prog_gnu_ld=no
19611 ;;
19612 esac
19613 fi
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19615 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19616 with_gnu_ld=$lt_cv_prog_gnu_ld
19617
19618
19619
19620
19621
19622
19623
19624 # If we're not using GNU ld, then there's no point in even trying these
19625 # tests. Check for that first. We should have already tested for gld
19626 # by now (in libtool), but require it now just to be safe...
19627 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19628 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19629
19630
19631
19632 # The name set by libtool depends on the version of libtool. Shame on us
19633 # for depending on an impl detail, but c'est la vie. Older versions used
19634 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19635 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19636 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19637 # set (hence we're using an older libtool), then set it.
19638 if test x${with_gnu_ld+set} != xset; then
19639 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19640 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19641 with_gnu_ld=no
19642 else
19643 with_gnu_ld=$ac_cv_prog_gnu_ld
19644 fi
19645 fi
19646
19647 # Start by getting the version number. I think the libtool test already
19648 # does some of this, but throws away the result.
19649 glibcxx_ld_is_gold=no
19650 if test x"$with_gnu_ld" = x"yes"; then
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19652 $as_echo_n "checking for ld version... " >&6; }
19653
19654 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19655 glibcxx_ld_is_gold=yes
19656 fi
19657 ldver=`$LD --version 2>/dev/null |
19658 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'`
19659
19660 glibcxx_gnu_ld_version=`echo $ldver | \
19661 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19663 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19664 fi
19665
19666 # Set --gc-sections.
19667 glibcxx_have_gc_sections=no
19668 if test "$glibcxx_ld_is_gold" = "yes"; then
19669 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19670 glibcxx_have_gc_sections=yes
19671 fi
19672 else
19673 glibcxx_gcsections_min_ld=21602
19674 if test x"$with_gnu_ld" = x"yes" &&
19675 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19676 glibcxx_have_gc_sections=yes
19677 fi
19678 fi
19679 if test "$glibcxx_have_gc_sections" = "yes"; then
19680 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19681 # NB: This flag only works reliably after 2.16.1. Configure tests
19682 # for this are difficult, so hard wire a value that should work.
19683
19684 ac_test_CFLAGS="${CFLAGS+set}"
19685 ac_save_CFLAGS="$CFLAGS"
19686 CFLAGS='-Wl,--gc-sections'
19687
19688 # Check for -Wl,--gc-sections
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19690 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19691 if test x$gcc_no_link = xyes; then
19692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19693 fi
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19696 int one(void) { return 1; }
19697 int two(void) { return 2; }
19698
19699 int
19700 main ()
19701 {
19702 two();
19703 ;
19704 return 0;
19705 }
19706 _ACEOF
19707 if ac_fn_c_try_link "$LINENO"; then :
19708 ac_gcsections=yes
19709 else
19710 ac_gcsections=no
19711 fi
19712 rm -f core conftest.err conftest.$ac_objext \
19713 conftest$ac_exeext conftest.$ac_ext
19714 if test "$ac_gcsections" = "yes"; then
19715 rm -f conftest.c
19716 touch conftest.c
19717 if $CC -c conftest.c; then
19718 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19719 grep "Warning: gc-sections option ignored" > /dev/null; then
19720 ac_gcsections=no
19721 fi
19722 fi
19723 rm -f conftest.c conftest.o conftest
19724 fi
19725 if test "$ac_gcsections" = "yes"; then
19726 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19727 fi
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19729 $as_echo "$ac_gcsections" >&6; }
19730
19731 if test "$ac_test_CFLAGS" = set; then
19732 CFLAGS="$ac_save_CFLAGS"
19733 else
19734 # this is the suspicious part
19735 CFLAGS=''
19736 fi
19737 fi
19738
19739 # Set -z,relro.
19740 # Note this is only for shared objects.
19741 ac_ld_relro=no
19742 if test x"$with_gnu_ld" = x"yes"; then
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19744 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19745 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19746 if test -n "$cxx_z_relo"; then
19747 OPT_LDFLAGS="-Wl,-z,relro"
19748 ac_ld_relro=yes
19749 fi
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19751 $as_echo "$ac_ld_relro" >&6; }
19752 fi
19753
19754 # Set linker optimization flags.
19755 if test x"$with_gnu_ld" = x"yes"; then
19756 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19757 fi
19758
19759
19760
19761
19762
19763 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19764 ac_save_CXXFLAGS="$CXXFLAGS"
19765 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19766
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19768 $as_echo_n "checking for sin in -lm... " >&6; }
19769 if test "${ac_cv_lib_m_sin+set}" = set; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772 ac_check_lib_save_LIBS=$LIBS
19773 LIBS="-lm $LIBS"
19774 if test x$gcc_no_link = xyes; then
19775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19776 fi
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779
19780 /* Override any GCC internal prototype to avoid an error.
19781 Use char because int might match the return type of a GCC
19782 builtin and then its argument prototype would still apply. */
19783 #ifdef __cplusplus
19784 extern "C"
19785 #endif
19786 char sin ();
19787 int
19788 main ()
19789 {
19790 return sin ();
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 if ac_fn_c_try_link "$LINENO"; then :
19796 ac_cv_lib_m_sin=yes
19797 else
19798 ac_cv_lib_m_sin=no
19799 fi
19800 rm -f core conftest.err conftest.$ac_objext \
19801 conftest$ac_exeext conftest.$ac_ext
19802 LIBS=$ac_check_lib_save_LIBS
19803 fi
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19805 $as_echo "$ac_cv_lib_m_sin" >&6; }
19806 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19807 libm="-lm"
19808 fi
19809
19810 ac_save_LIBS="$LIBS"
19811 LIBS="$LIBS $libm"
19812
19813
19814
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19816 $as_echo_n "checking for isinf declaration... " >&6; }
19817 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19818 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821
19822
19823 ac_ext=cpp
19824 ac_cpp='$CXXCPP $CPPFLAGS'
19825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19828
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19831 #include <math.h>
19832 #ifdef HAVE_IEEEFP_H
19833 #include <ieeefp.h>
19834 #endif
19835
19836 int
19837 main ()
19838 {
19839 isinf(0);
19840 ;
19841 return 0;
19842 }
19843 _ACEOF
19844 if ac_fn_cxx_try_compile "$LINENO"; then :
19845 glibcxx_cv_func_isinf_use=yes
19846 else
19847 glibcxx_cv_func_isinf_use=no
19848 fi
19849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19850 ac_ext=c
19851 ac_cpp='$CPP $CPPFLAGS'
19852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19855
19856
19857 fi
19858
19859 fi
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19861 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19862
19863 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19864 for ac_func in isinf
19865 do :
19866 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19867 if test "x$ac_cv_func_isinf" = x""yes; then :
19868 cat >>confdefs.h <<_ACEOF
19869 #define HAVE_ISINF 1
19870 _ACEOF
19871
19872 fi
19873 done
19874
19875 else
19876
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19878 $as_echo_n "checking for _isinf declaration... " >&6; }
19879 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19880 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19881 $as_echo_n "(cached) " >&6
19882 else
19883
19884
19885 ac_ext=cpp
19886 ac_cpp='$CXXCPP $CPPFLAGS'
19887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19890
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <math.h>
19894 #ifdef HAVE_IEEEFP_H
19895 #include <ieeefp.h>
19896 #endif
19897
19898 int
19899 main ()
19900 {
19901 _isinf(0);
19902 ;
19903 return 0;
19904 }
19905 _ACEOF
19906 if ac_fn_cxx_try_compile "$LINENO"; then :
19907 glibcxx_cv_func__isinf_use=yes
19908 else
19909 glibcxx_cv_func__isinf_use=no
19910 fi
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 ac_ext=c
19913 ac_cpp='$CPP $CPPFLAGS'
19914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19917
19918
19919 fi
19920
19921 fi
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19923 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19924
19925 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19926 for ac_func in _isinf
19927 do :
19928 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19929 if test "x$ac_cv_func__isinf" = x""yes; then :
19930 cat >>confdefs.h <<_ACEOF
19931 #define HAVE__ISINF 1
19932 _ACEOF
19933
19934 fi
19935 done
19936
19937 fi
19938 fi
19939
19940
19941
19942
19943
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19945 $as_echo_n "checking for isnan declaration... " >&6; }
19946 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19947 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19948 $as_echo_n "(cached) " >&6
19949 else
19950
19951
19952 ac_ext=cpp
19953 ac_cpp='$CXXCPP $CPPFLAGS'
19954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19957
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #include <math.h>
19961 #ifdef HAVE_IEEEFP_H
19962 #include <ieeefp.h>
19963 #endif
19964
19965 int
19966 main ()
19967 {
19968 isnan(0);
19969 ;
19970 return 0;
19971 }
19972 _ACEOF
19973 if ac_fn_cxx_try_compile "$LINENO"; then :
19974 glibcxx_cv_func_isnan_use=yes
19975 else
19976 glibcxx_cv_func_isnan_use=no
19977 fi
19978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19979 ac_ext=c
19980 ac_cpp='$CPP $CPPFLAGS'
19981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19984
19985
19986 fi
19987
19988 fi
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19990 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19991
19992 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19993 for ac_func in isnan
19994 do :
19995 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19996 if test "x$ac_cv_func_isnan" = x""yes; then :
19997 cat >>confdefs.h <<_ACEOF
19998 #define HAVE_ISNAN 1
19999 _ACEOF
20000
20001 fi
20002 done
20003
20004 else
20005
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20007 $as_echo_n "checking for _isnan declaration... " >&6; }
20008 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20009 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20010 $as_echo_n "(cached) " >&6
20011 else
20012
20013
20014 ac_ext=cpp
20015 ac_cpp='$CXXCPP $CPPFLAGS'
20016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20019
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20022 #include <math.h>
20023 #ifdef HAVE_IEEEFP_H
20024 #include <ieeefp.h>
20025 #endif
20026
20027 int
20028 main ()
20029 {
20030 _isnan(0);
20031 ;
20032 return 0;
20033 }
20034 _ACEOF
20035 if ac_fn_cxx_try_compile "$LINENO"; then :
20036 glibcxx_cv_func__isnan_use=yes
20037 else
20038 glibcxx_cv_func__isnan_use=no
20039 fi
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 ac_ext=c
20042 ac_cpp='$CPP $CPPFLAGS'
20043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20046
20047
20048 fi
20049
20050 fi
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20052 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20053
20054 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20055 for ac_func in _isnan
20056 do :
20057 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20058 if test "x$ac_cv_func__isnan" = x""yes; then :
20059 cat >>confdefs.h <<_ACEOF
20060 #define HAVE__ISNAN 1
20061 _ACEOF
20062
20063 fi
20064 done
20065
20066 fi
20067 fi
20068
20069
20070
20071
20072
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20074 $as_echo_n "checking for finite declaration... " >&6; }
20075 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20076 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20077 $as_echo_n "(cached) " >&6
20078 else
20079
20080
20081 ac_ext=cpp
20082 ac_cpp='$CXXCPP $CPPFLAGS'
20083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20086
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20089 #include <math.h>
20090 #ifdef HAVE_IEEEFP_H
20091 #include <ieeefp.h>
20092 #endif
20093
20094 int
20095 main ()
20096 {
20097 finite(0);
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 if ac_fn_cxx_try_compile "$LINENO"; then :
20103 glibcxx_cv_func_finite_use=yes
20104 else
20105 glibcxx_cv_func_finite_use=no
20106 fi
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20108 ac_ext=c
20109 ac_cpp='$CPP $CPPFLAGS'
20110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20113
20114
20115 fi
20116
20117 fi
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20119 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20120
20121 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20122 for ac_func in finite
20123 do :
20124 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20125 if test "x$ac_cv_func_finite" = x""yes; then :
20126 cat >>confdefs.h <<_ACEOF
20127 #define HAVE_FINITE 1
20128 _ACEOF
20129
20130 fi
20131 done
20132
20133 else
20134
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20136 $as_echo_n "checking for _finite declaration... " >&6; }
20137 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20138 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20139 $as_echo_n "(cached) " >&6
20140 else
20141
20142
20143 ac_ext=cpp
20144 ac_cpp='$CXXCPP $CPPFLAGS'
20145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20148
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151 #include <math.h>
20152 #ifdef HAVE_IEEEFP_H
20153 #include <ieeefp.h>
20154 #endif
20155
20156 int
20157 main ()
20158 {
20159 _finite(0);
20160 ;
20161 return 0;
20162 }
20163 _ACEOF
20164 if ac_fn_cxx_try_compile "$LINENO"; then :
20165 glibcxx_cv_func__finite_use=yes
20166 else
20167 glibcxx_cv_func__finite_use=no
20168 fi
20169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20170 ac_ext=c
20171 ac_cpp='$CPP $CPPFLAGS'
20172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20175
20176
20177 fi
20178
20179 fi
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20181 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20182
20183 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20184 for ac_func in _finite
20185 do :
20186 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20187 if test "x$ac_cv_func__finite" = x""yes; then :
20188 cat >>confdefs.h <<_ACEOF
20189 #define HAVE__FINITE 1
20190 _ACEOF
20191
20192 fi
20193 done
20194
20195 fi
20196 fi
20197
20198
20199
20200
20201
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20203 $as_echo_n "checking for sincos declaration... " >&6; }
20204 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20205 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20206 $as_echo_n "(cached) " >&6
20207 else
20208
20209
20210 ac_ext=cpp
20211 ac_cpp='$CXXCPP $CPPFLAGS'
20212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20215
20216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20218 #include <math.h>
20219 int
20220 main ()
20221 {
20222 sincos(0, 0, 0);
20223 ;
20224 return 0;
20225 }
20226 _ACEOF
20227 if ac_fn_cxx_try_compile "$LINENO"; then :
20228 glibcxx_cv_func_sincos_use=yes
20229 else
20230 glibcxx_cv_func_sincos_use=no
20231 fi
20232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233 ac_ext=c
20234 ac_cpp='$CPP $CPPFLAGS'
20235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20238
20239
20240 fi
20241
20242 fi
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20244 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20245
20246 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20247 for ac_func in sincos
20248 do :
20249 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20250 if test "x$ac_cv_func_sincos" = x""yes; then :
20251 cat >>confdefs.h <<_ACEOF
20252 #define HAVE_SINCOS 1
20253 _ACEOF
20254
20255 fi
20256 done
20257
20258 else
20259
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20261 $as_echo_n "checking for _sincos declaration... " >&6; }
20262 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20263 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20264 $as_echo_n "(cached) " >&6
20265 else
20266
20267
20268 ac_ext=cpp
20269 ac_cpp='$CXXCPP $CPPFLAGS'
20270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20273
20274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20275 /* end confdefs.h. */
20276 #include <math.h>
20277 int
20278 main ()
20279 {
20280 _sincos(0, 0, 0);
20281 ;
20282 return 0;
20283 }
20284 _ACEOF
20285 if ac_fn_cxx_try_compile "$LINENO"; then :
20286 glibcxx_cv_func__sincos_use=yes
20287 else
20288 glibcxx_cv_func__sincos_use=no
20289 fi
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20291 ac_ext=c
20292 ac_cpp='$CPP $CPPFLAGS'
20293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20296
20297
20298 fi
20299
20300 fi
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20302 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20303
20304 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20305 for ac_func in _sincos
20306 do :
20307 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20308 if test "x$ac_cv_func__sincos" = x""yes; then :
20309 cat >>confdefs.h <<_ACEOF
20310 #define HAVE__SINCOS 1
20311 _ACEOF
20312
20313 fi
20314 done
20315
20316 fi
20317 fi
20318
20319
20320
20321
20322
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20324 $as_echo_n "checking for fpclass declaration... " >&6; }
20325 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20326 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20329
20330
20331 ac_ext=cpp
20332 ac_cpp='$CXXCPP $CPPFLAGS'
20333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20336
20337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20338 /* end confdefs.h. */
20339 #include <math.h>
20340 #ifdef HAVE_IEEEFP_H
20341 #include <ieeefp.h>
20342 #endif
20343
20344 int
20345 main ()
20346 {
20347 fpclass(0);
20348 ;
20349 return 0;
20350 }
20351 _ACEOF
20352 if ac_fn_cxx_try_compile "$LINENO"; then :
20353 glibcxx_cv_func_fpclass_use=yes
20354 else
20355 glibcxx_cv_func_fpclass_use=no
20356 fi
20357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20358 ac_ext=c
20359 ac_cpp='$CPP $CPPFLAGS'
20360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20363
20364
20365 fi
20366
20367 fi
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20369 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20370
20371 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20372 for ac_func in fpclass
20373 do :
20374 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20375 if test "x$ac_cv_func_fpclass" = x""yes; then :
20376 cat >>confdefs.h <<_ACEOF
20377 #define HAVE_FPCLASS 1
20378 _ACEOF
20379
20380 fi
20381 done
20382
20383 else
20384
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20386 $as_echo_n "checking for _fpclass declaration... " >&6; }
20387 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20388 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20389 $as_echo_n "(cached) " >&6
20390 else
20391
20392
20393 ac_ext=cpp
20394 ac_cpp='$CXXCPP $CPPFLAGS'
20395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20398
20399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20400 /* end confdefs.h. */
20401 #include <math.h>
20402 #ifdef HAVE_IEEEFP_H
20403 #include <ieeefp.h>
20404 #endif
20405
20406 int
20407 main ()
20408 {
20409 _fpclass(0);
20410 ;
20411 return 0;
20412 }
20413 _ACEOF
20414 if ac_fn_cxx_try_compile "$LINENO"; then :
20415 glibcxx_cv_func__fpclass_use=yes
20416 else
20417 glibcxx_cv_func__fpclass_use=no
20418 fi
20419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20420 ac_ext=c
20421 ac_cpp='$CPP $CPPFLAGS'
20422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20425
20426
20427 fi
20428
20429 fi
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20431 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20432
20433 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20434 for ac_func in _fpclass
20435 do :
20436 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20437 if test "x$ac_cv_func__fpclass" = x""yes; then :
20438 cat >>confdefs.h <<_ACEOF
20439 #define HAVE__FPCLASS 1
20440 _ACEOF
20441
20442 fi
20443 done
20444
20445 fi
20446 fi
20447
20448
20449
20450
20451
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20453 $as_echo_n "checking for qfpclass declaration... " >&6; }
20454 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20455 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20456 $as_echo_n "(cached) " >&6
20457 else
20458
20459
20460 ac_ext=cpp
20461 ac_cpp='$CXXCPP $CPPFLAGS'
20462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20465
20466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20467 /* end confdefs.h. */
20468 #include <math.h>
20469 #ifdef HAVE_IEEEFP_H
20470 #include <ieeefp.h>
20471 #endif
20472
20473 int
20474 main ()
20475 {
20476 qfpclass(0);
20477 ;
20478 return 0;
20479 }
20480 _ACEOF
20481 if ac_fn_cxx_try_compile "$LINENO"; then :
20482 glibcxx_cv_func_qfpclass_use=yes
20483 else
20484 glibcxx_cv_func_qfpclass_use=no
20485 fi
20486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 ac_ext=c
20488 ac_cpp='$CPP $CPPFLAGS'
20489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20492
20493
20494 fi
20495
20496 fi
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20498 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20499
20500 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20501 for ac_func in qfpclass
20502 do :
20503 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20504 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20505 cat >>confdefs.h <<_ACEOF
20506 #define HAVE_QFPCLASS 1
20507 _ACEOF
20508
20509 fi
20510 done
20511
20512 else
20513
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20515 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20516 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20517 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20518 $as_echo_n "(cached) " >&6
20519 else
20520
20521
20522 ac_ext=cpp
20523 ac_cpp='$CXXCPP $CPPFLAGS'
20524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20527
20528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20529 /* end confdefs.h. */
20530 #include <math.h>
20531 #ifdef HAVE_IEEEFP_H
20532 #include <ieeefp.h>
20533 #endif
20534
20535 int
20536 main ()
20537 {
20538 _qfpclass(0);
20539 ;
20540 return 0;
20541 }
20542 _ACEOF
20543 if ac_fn_cxx_try_compile "$LINENO"; then :
20544 glibcxx_cv_func__qfpclass_use=yes
20545 else
20546 glibcxx_cv_func__qfpclass_use=no
20547 fi
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20549 ac_ext=c
20550 ac_cpp='$CPP $CPPFLAGS'
20551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20554
20555
20556 fi
20557
20558 fi
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20560 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20561
20562 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20563 for ac_func in _qfpclass
20564 do :
20565 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20566 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20567 cat >>confdefs.h <<_ACEOF
20568 #define HAVE__QFPCLASS 1
20569 _ACEOF
20570
20571 fi
20572 done
20573
20574 fi
20575 fi
20576
20577
20578
20579
20580
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20582 $as_echo_n "checking for hypot declaration... " >&6; }
20583 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20584 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20585 $as_echo_n "(cached) " >&6
20586 else
20587
20588
20589 ac_ext=cpp
20590 ac_cpp='$CXXCPP $CPPFLAGS'
20591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20594
20595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20596 /* end confdefs.h. */
20597 #include <math.h>
20598 int
20599 main ()
20600 {
20601 hypot(0, 0);
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 if ac_fn_cxx_try_compile "$LINENO"; then :
20607 glibcxx_cv_func_hypot_use=yes
20608 else
20609 glibcxx_cv_func_hypot_use=no
20610 fi
20611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20612 ac_ext=c
20613 ac_cpp='$CPP $CPPFLAGS'
20614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20617
20618
20619 fi
20620
20621 fi
20622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20623 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20624
20625 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20626 for ac_func in hypot
20627 do :
20628 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20629 if test "x$ac_cv_func_hypot" = x""yes; then :
20630 cat >>confdefs.h <<_ACEOF
20631 #define HAVE_HYPOT 1
20632 _ACEOF
20633
20634 fi
20635 done
20636
20637 else
20638
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20640 $as_echo_n "checking for _hypot declaration... " >&6; }
20641 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20642 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20643 $as_echo_n "(cached) " >&6
20644 else
20645
20646
20647 ac_ext=cpp
20648 ac_cpp='$CXXCPP $CPPFLAGS'
20649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20652
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20655 #include <math.h>
20656 int
20657 main ()
20658 {
20659 _hypot(0, 0);
20660 ;
20661 return 0;
20662 }
20663 _ACEOF
20664 if ac_fn_cxx_try_compile "$LINENO"; then :
20665 glibcxx_cv_func__hypot_use=yes
20666 else
20667 glibcxx_cv_func__hypot_use=no
20668 fi
20669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20670 ac_ext=c
20671 ac_cpp='$CPP $CPPFLAGS'
20672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20675
20676
20677 fi
20678
20679 fi
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20681 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20682
20683 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20684 for ac_func in _hypot
20685 do :
20686 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20687 if test "x$ac_cv_func__hypot" = x""yes; then :
20688 cat >>confdefs.h <<_ACEOF
20689 #define HAVE__HYPOT 1
20690 _ACEOF
20691
20692 fi
20693 done
20694
20695 fi
20696 fi
20697
20698
20699
20700
20701
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20703 $as_echo_n "checking for float trig functions... " >&6; }
20704 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20705 $as_echo_n "(cached) " >&6
20706 else
20707
20708
20709 ac_ext=cpp
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20714
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #include <math.h>
20718 int
20719 main ()
20720 {
20721 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 if ac_fn_cxx_try_compile "$LINENO"; then :
20727 glibcxx_cv_func_float_trig_use=yes
20728 else
20729 glibcxx_cv_func_float_trig_use=no
20730 fi
20731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20737
20738 fi
20739
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20741 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20742 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20743 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20744 do :
20745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20747 eval as_val=\$$as_ac_var
20748 if test "x$as_val" = x""yes; then :
20749 cat >>confdefs.h <<_ACEOF
20750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20751 _ACEOF
20752
20753 fi
20754 done
20755
20756 else
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20758 $as_echo_n "checking for _float trig functions... " >&6; }
20759 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20760 $as_echo_n "(cached) " >&6
20761 else
20762
20763
20764 ac_ext=cpp
20765 ac_cpp='$CXXCPP $CPPFLAGS'
20766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20769
20770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20772 #include <math.h>
20773 int
20774 main ()
20775 {
20776 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20777 ;
20778 return 0;
20779 }
20780 _ACEOF
20781 if ac_fn_cxx_try_compile "$LINENO"; then :
20782 glibcxx_cv_func__float_trig_use=yes
20783 else
20784 glibcxx_cv_func__float_trig_use=no
20785 fi
20786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787 ac_ext=c
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20792
20793 fi
20794
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20796 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20797 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20798 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20799 do :
20800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20802 eval as_val=\$$as_ac_var
20803 if test "x$as_val" = x""yes; then :
20804 cat >>confdefs.h <<_ACEOF
20805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20806 _ACEOF
20807
20808 fi
20809 done
20810
20811 fi
20812 fi
20813
20814
20815
20816
20817
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20819 $as_echo_n "checking for float round functions... " >&6; }
20820 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20821 $as_echo_n "(cached) " >&6
20822 else
20823
20824
20825 ac_ext=cpp
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20830
20831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20832 /* end confdefs.h. */
20833 #include <math.h>
20834 int
20835 main ()
20836 {
20837 ceilf (0); floorf (0);
20838 ;
20839 return 0;
20840 }
20841 _ACEOF
20842 if ac_fn_cxx_try_compile "$LINENO"; then :
20843 glibcxx_cv_func_float_round_use=yes
20844 else
20845 glibcxx_cv_func_float_round_use=no
20846 fi
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20853
20854 fi
20855
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20857 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20858 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20859 for ac_func in ceilf floorf
20860 do :
20861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20863 eval as_val=\$$as_ac_var
20864 if test "x$as_val" = x""yes; then :
20865 cat >>confdefs.h <<_ACEOF
20866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20867 _ACEOF
20868
20869 fi
20870 done
20871
20872 else
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20874 $as_echo_n "checking for _float round functions... " >&6; }
20875 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20876 $as_echo_n "(cached) " >&6
20877 else
20878
20879
20880 ac_ext=cpp
20881 ac_cpp='$CXXCPP $CPPFLAGS'
20882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20885
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20888 #include <math.h>
20889 int
20890 main ()
20891 {
20892 _ceilf (0); _floorf (0);
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 if ac_fn_cxx_try_compile "$LINENO"; then :
20898 glibcxx_cv_func__float_round_use=yes
20899 else
20900 glibcxx_cv_func__float_round_use=no
20901 fi
20902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20903 ac_ext=c
20904 ac_cpp='$CPP $CPPFLAGS'
20905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20908
20909 fi
20910
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20912 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20913 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20914 for ac_func in _ceilf _floorf
20915 do :
20916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20918 eval as_val=\$$as_ac_var
20919 if test "x$as_val" = x""yes; then :
20920 cat >>confdefs.h <<_ACEOF
20921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20922 _ACEOF
20923
20924 fi
20925 done
20926
20927 fi
20928 fi
20929
20930
20931
20932
20933
20934
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20936 $as_echo_n "checking for expf declaration... " >&6; }
20937 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20938 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20939 $as_echo_n "(cached) " >&6
20940 else
20941
20942
20943 ac_ext=cpp
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20948
20949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20951 #include <math.h>
20952 #ifdef HAVE_IEEEFP_H
20953 #include <ieeefp.h>
20954 #endif
20955
20956 int
20957 main ()
20958 {
20959 expf(0);
20960 ;
20961 return 0;
20962 }
20963 _ACEOF
20964 if ac_fn_cxx_try_compile "$LINENO"; then :
20965 glibcxx_cv_func_expf_use=yes
20966 else
20967 glibcxx_cv_func_expf_use=no
20968 fi
20969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970 ac_ext=c
20971 ac_cpp='$CPP $CPPFLAGS'
20972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20975
20976
20977 fi
20978
20979 fi
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20981 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20982
20983 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20984 for ac_func in expf
20985 do :
20986 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20987 if test "x$ac_cv_func_expf" = x""yes; then :
20988 cat >>confdefs.h <<_ACEOF
20989 #define HAVE_EXPF 1
20990 _ACEOF
20991
20992 fi
20993 done
20994
20995 else
20996
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20998 $as_echo_n "checking for _expf declaration... " >&6; }
20999 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21000 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21001 $as_echo_n "(cached) " >&6
21002 else
21003
21004
21005 ac_ext=cpp
21006 ac_cpp='$CXXCPP $CPPFLAGS'
21007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21010
21011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012 /* end confdefs.h. */
21013 #include <math.h>
21014 #ifdef HAVE_IEEEFP_H
21015 #include <ieeefp.h>
21016 #endif
21017
21018 int
21019 main ()
21020 {
21021 _expf(0);
21022 ;
21023 return 0;
21024 }
21025 _ACEOF
21026 if ac_fn_cxx_try_compile "$LINENO"; then :
21027 glibcxx_cv_func__expf_use=yes
21028 else
21029 glibcxx_cv_func__expf_use=no
21030 fi
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 ac_ext=c
21033 ac_cpp='$CPP $CPPFLAGS'
21034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21037
21038
21039 fi
21040
21041 fi
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21043 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21044
21045 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21046 for ac_func in _expf
21047 do :
21048 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21049 if test "x$ac_cv_func__expf" = x""yes; then :
21050 cat >>confdefs.h <<_ACEOF
21051 #define HAVE__EXPF 1
21052 _ACEOF
21053
21054 fi
21055 done
21056
21057 fi
21058 fi
21059
21060
21061
21062
21063
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21065 $as_echo_n "checking for isnanf declaration... " >&6; }
21066 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21067 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21068 $as_echo_n "(cached) " >&6
21069 else
21070
21071
21072 ac_ext=cpp
21073 ac_cpp='$CXXCPP $CPPFLAGS'
21074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21077
21078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h. */
21080 #include <math.h>
21081 #ifdef HAVE_IEEEFP_H
21082 #include <ieeefp.h>
21083 #endif
21084
21085 int
21086 main ()
21087 {
21088 isnanf(0);
21089 ;
21090 return 0;
21091 }
21092 _ACEOF
21093 if ac_fn_cxx_try_compile "$LINENO"; then :
21094 glibcxx_cv_func_isnanf_use=yes
21095 else
21096 glibcxx_cv_func_isnanf_use=no
21097 fi
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21104
21105
21106 fi
21107
21108 fi
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21110 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21111
21112 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21113 for ac_func in isnanf
21114 do :
21115 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21116 if test "x$ac_cv_func_isnanf" = x""yes; then :
21117 cat >>confdefs.h <<_ACEOF
21118 #define HAVE_ISNANF 1
21119 _ACEOF
21120
21121 fi
21122 done
21123
21124 else
21125
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21127 $as_echo_n "checking for _isnanf declaration... " >&6; }
21128 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21129 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21130 $as_echo_n "(cached) " >&6
21131 else
21132
21133
21134 ac_ext=cpp
21135 ac_cpp='$CXXCPP $CPPFLAGS'
21136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21139
21140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21141 /* end confdefs.h. */
21142 #include <math.h>
21143 #ifdef HAVE_IEEEFP_H
21144 #include <ieeefp.h>
21145 #endif
21146
21147 int
21148 main ()
21149 {
21150 _isnanf(0);
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 if ac_fn_cxx_try_compile "$LINENO"; then :
21156 glibcxx_cv_func__isnanf_use=yes
21157 else
21158 glibcxx_cv_func__isnanf_use=no
21159 fi
21160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161 ac_ext=c
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21166
21167
21168 fi
21169
21170 fi
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21172 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21173
21174 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21175 for ac_func in _isnanf
21176 do :
21177 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21178 if test "x$ac_cv_func__isnanf" = x""yes; then :
21179 cat >>confdefs.h <<_ACEOF
21180 #define HAVE__ISNANF 1
21181 _ACEOF
21182
21183 fi
21184 done
21185
21186 fi
21187 fi
21188
21189
21190
21191
21192
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21194 $as_echo_n "checking for isinff declaration... " >&6; }
21195 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21196 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21197 $as_echo_n "(cached) " >&6
21198 else
21199
21200
21201 ac_ext=cpp
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21206
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21209 #include <math.h>
21210 #ifdef HAVE_IEEEFP_H
21211 #include <ieeefp.h>
21212 #endif
21213
21214 int
21215 main ()
21216 {
21217 isinff(0);
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 if ac_fn_cxx_try_compile "$LINENO"; then :
21223 glibcxx_cv_func_isinff_use=yes
21224 else
21225 glibcxx_cv_func_isinff_use=no
21226 fi
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21228 ac_ext=c
21229 ac_cpp='$CPP $CPPFLAGS'
21230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21233
21234
21235 fi
21236
21237 fi
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21239 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21240
21241 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21242 for ac_func in isinff
21243 do :
21244 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21245 if test "x$ac_cv_func_isinff" = x""yes; then :
21246 cat >>confdefs.h <<_ACEOF
21247 #define HAVE_ISINFF 1
21248 _ACEOF
21249
21250 fi
21251 done
21252
21253 else
21254
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21256 $as_echo_n "checking for _isinff declaration... " >&6; }
21257 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21258 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21259 $as_echo_n "(cached) " >&6
21260 else
21261
21262
21263 ac_ext=cpp
21264 ac_cpp='$CXXCPP $CPPFLAGS'
21265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21268
21269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21270 /* end confdefs.h. */
21271 #include <math.h>
21272 #ifdef HAVE_IEEEFP_H
21273 #include <ieeefp.h>
21274 #endif
21275
21276 int
21277 main ()
21278 {
21279 _isinff(0);
21280 ;
21281 return 0;
21282 }
21283 _ACEOF
21284 if ac_fn_cxx_try_compile "$LINENO"; then :
21285 glibcxx_cv_func__isinff_use=yes
21286 else
21287 glibcxx_cv_func__isinff_use=no
21288 fi
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 ac_ext=c
21291 ac_cpp='$CPP $CPPFLAGS'
21292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21295
21296
21297 fi
21298
21299 fi
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21301 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21302
21303 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21304 for ac_func in _isinff
21305 do :
21306 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21307 if test "x$ac_cv_func__isinff" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE__ISINFF 1
21310 _ACEOF
21311
21312 fi
21313 done
21314
21315 fi
21316 fi
21317
21318
21319
21320
21321
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21323 $as_echo_n "checking for atan2f declaration... " >&6; }
21324 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21325 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21326 $as_echo_n "(cached) " >&6
21327 else
21328
21329
21330 ac_ext=cpp
21331 ac_cpp='$CXXCPP $CPPFLAGS'
21332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21335
21336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h. */
21338 #include <math.h>
21339 int
21340 main ()
21341 {
21342 atan2f(0, 0);
21343 ;
21344 return 0;
21345 }
21346 _ACEOF
21347 if ac_fn_cxx_try_compile "$LINENO"; then :
21348 glibcxx_cv_func_atan2f_use=yes
21349 else
21350 glibcxx_cv_func_atan2f_use=no
21351 fi
21352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21353 ac_ext=c
21354 ac_cpp='$CPP $CPPFLAGS'
21355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21358
21359
21360 fi
21361
21362 fi
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21364 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21365
21366 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21367 for ac_func in atan2f
21368 do :
21369 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21370 if test "x$ac_cv_func_atan2f" = x""yes; then :
21371 cat >>confdefs.h <<_ACEOF
21372 #define HAVE_ATAN2F 1
21373 _ACEOF
21374
21375 fi
21376 done
21377
21378 else
21379
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21381 $as_echo_n "checking for _atan2f declaration... " >&6; }
21382 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21383 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21384 $as_echo_n "(cached) " >&6
21385 else
21386
21387
21388 ac_ext=cpp
21389 ac_cpp='$CXXCPP $CPPFLAGS'
21390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21393
21394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21395 /* end confdefs.h. */
21396 #include <math.h>
21397 int
21398 main ()
21399 {
21400 _atan2f(0, 0);
21401 ;
21402 return 0;
21403 }
21404 _ACEOF
21405 if ac_fn_cxx_try_compile "$LINENO"; then :
21406 glibcxx_cv_func__atan2f_use=yes
21407 else
21408 glibcxx_cv_func__atan2f_use=no
21409 fi
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411 ac_ext=c
21412 ac_cpp='$CPP $CPPFLAGS'
21413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21416
21417
21418 fi
21419
21420 fi
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21422 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21423
21424 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21425 for ac_func in _atan2f
21426 do :
21427 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21428 if test "x$ac_cv_func__atan2f" = x""yes; then :
21429 cat >>confdefs.h <<_ACEOF
21430 #define HAVE__ATAN2F 1
21431 _ACEOF
21432
21433 fi
21434 done
21435
21436 fi
21437 fi
21438
21439
21440
21441
21442
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21444 $as_echo_n "checking for fabsf declaration... " >&6; }
21445 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21446 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21447 $as_echo_n "(cached) " >&6
21448 else
21449
21450
21451 ac_ext=cpp
21452 ac_cpp='$CXXCPP $CPPFLAGS'
21453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21456
21457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21458 /* end confdefs.h. */
21459 #include <math.h>
21460 #ifdef HAVE_IEEEFP_H
21461 #include <ieeefp.h>
21462 #endif
21463
21464 int
21465 main ()
21466 {
21467 fabsf(0);
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
21472 if ac_fn_cxx_try_compile "$LINENO"; then :
21473 glibcxx_cv_func_fabsf_use=yes
21474 else
21475 glibcxx_cv_func_fabsf_use=no
21476 fi
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 ac_ext=c
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21483
21484
21485 fi
21486
21487 fi
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21489 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21490
21491 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21492 for ac_func in fabsf
21493 do :
21494 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21495 if test "x$ac_cv_func_fabsf" = x""yes; then :
21496 cat >>confdefs.h <<_ACEOF
21497 #define HAVE_FABSF 1
21498 _ACEOF
21499
21500 fi
21501 done
21502
21503 else
21504
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21506 $as_echo_n "checking for _fabsf declaration... " >&6; }
21507 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21508 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21511
21512
21513 ac_ext=cpp
21514 ac_cpp='$CXXCPP $CPPFLAGS'
21515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21518
21519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21521 #include <math.h>
21522 #ifdef HAVE_IEEEFP_H
21523 #include <ieeefp.h>
21524 #endif
21525
21526 int
21527 main ()
21528 {
21529 _fabsf(0);
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 glibcxx_cv_func__fabsf_use=yes
21536 else
21537 glibcxx_cv_func__fabsf_use=no
21538 fi
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 ac_ext=c
21541 ac_cpp='$CPP $CPPFLAGS'
21542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21545
21546
21547 fi
21548
21549 fi
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21551 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21552
21553 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21554 for ac_func in _fabsf
21555 do :
21556 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21557 if test "x$ac_cv_func__fabsf" = x""yes; then :
21558 cat >>confdefs.h <<_ACEOF
21559 #define HAVE__FABSF 1
21560 _ACEOF
21561
21562 fi
21563 done
21564
21565 fi
21566 fi
21567
21568
21569
21570
21571
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21573 $as_echo_n "checking for fmodf declaration... " >&6; }
21574 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21575 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21576 $as_echo_n "(cached) " >&6
21577 else
21578
21579
21580 ac_ext=cpp
21581 ac_cpp='$CXXCPP $CPPFLAGS'
21582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21585
21586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21587 /* end confdefs.h. */
21588 #include <math.h>
21589 int
21590 main ()
21591 {
21592 fmodf(0, 0);
21593 ;
21594 return 0;
21595 }
21596 _ACEOF
21597 if ac_fn_cxx_try_compile "$LINENO"; then :
21598 glibcxx_cv_func_fmodf_use=yes
21599 else
21600 glibcxx_cv_func_fmodf_use=no
21601 fi
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603 ac_ext=c
21604 ac_cpp='$CPP $CPPFLAGS'
21605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21608
21609
21610 fi
21611
21612 fi
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21614 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21615
21616 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21617 for ac_func in fmodf
21618 do :
21619 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21620 if test "x$ac_cv_func_fmodf" = x""yes; then :
21621 cat >>confdefs.h <<_ACEOF
21622 #define HAVE_FMODF 1
21623 _ACEOF
21624
21625 fi
21626 done
21627
21628 else
21629
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21631 $as_echo_n "checking for _fmodf declaration... " >&6; }
21632 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21633 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21634 $as_echo_n "(cached) " >&6
21635 else
21636
21637
21638 ac_ext=cpp
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21643
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <math.h>
21647 int
21648 main ()
21649 {
21650 _fmodf(0, 0);
21651 ;
21652 return 0;
21653 }
21654 _ACEOF
21655 if ac_fn_cxx_try_compile "$LINENO"; then :
21656 glibcxx_cv_func__fmodf_use=yes
21657 else
21658 glibcxx_cv_func__fmodf_use=no
21659 fi
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 ac_ext=c
21662 ac_cpp='$CPP $CPPFLAGS'
21663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21666
21667
21668 fi
21669
21670 fi
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21672 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21673
21674 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21675 for ac_func in _fmodf
21676 do :
21677 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21678 if test "x$ac_cv_func__fmodf" = x""yes; then :
21679 cat >>confdefs.h <<_ACEOF
21680 #define HAVE__FMODF 1
21681 _ACEOF
21682
21683 fi
21684 done
21685
21686 fi
21687 fi
21688
21689
21690
21691
21692
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21694 $as_echo_n "checking for frexpf declaration... " >&6; }
21695 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21696 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21697 $as_echo_n "(cached) " >&6
21698 else
21699
21700
21701 ac_ext=cpp
21702 ac_cpp='$CXXCPP $CPPFLAGS'
21703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21706
21707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21709 #include <math.h>
21710 int
21711 main ()
21712 {
21713 frexpf(0, 0);
21714 ;
21715 return 0;
21716 }
21717 _ACEOF
21718 if ac_fn_cxx_try_compile "$LINENO"; then :
21719 glibcxx_cv_func_frexpf_use=yes
21720 else
21721 glibcxx_cv_func_frexpf_use=no
21722 fi
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21724 ac_ext=c
21725 ac_cpp='$CPP $CPPFLAGS'
21726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21729
21730
21731 fi
21732
21733 fi
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21735 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21736
21737 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21738 for ac_func in frexpf
21739 do :
21740 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21741 if test "x$ac_cv_func_frexpf" = x""yes; then :
21742 cat >>confdefs.h <<_ACEOF
21743 #define HAVE_FREXPF 1
21744 _ACEOF
21745
21746 fi
21747 done
21748
21749 else
21750
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21752 $as_echo_n "checking for _frexpf declaration... " >&6; }
21753 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21754 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21755 $as_echo_n "(cached) " >&6
21756 else
21757
21758
21759 ac_ext=cpp
21760 ac_cpp='$CXXCPP $CPPFLAGS'
21761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21764
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21767 #include <math.h>
21768 int
21769 main ()
21770 {
21771 _frexpf(0, 0);
21772 ;
21773 return 0;
21774 }
21775 _ACEOF
21776 if ac_fn_cxx_try_compile "$LINENO"; then :
21777 glibcxx_cv_func__frexpf_use=yes
21778 else
21779 glibcxx_cv_func__frexpf_use=no
21780 fi
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782 ac_ext=c
21783 ac_cpp='$CPP $CPPFLAGS'
21784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21787
21788
21789 fi
21790
21791 fi
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21793 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21794
21795 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21796 for ac_func in _frexpf
21797 do :
21798 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21799 if test "x$ac_cv_func__frexpf" = x""yes; then :
21800 cat >>confdefs.h <<_ACEOF
21801 #define HAVE__FREXPF 1
21802 _ACEOF
21803
21804 fi
21805 done
21806
21807 fi
21808 fi
21809
21810
21811
21812
21813
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21815 $as_echo_n "checking for hypotf declaration... " >&6; }
21816 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21817 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21818 $as_echo_n "(cached) " >&6
21819 else
21820
21821
21822 ac_ext=cpp
21823 ac_cpp='$CXXCPP $CPPFLAGS'
21824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21827
21828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21829 /* end confdefs.h. */
21830 #include <math.h>
21831 int
21832 main ()
21833 {
21834 hypotf(0, 0);
21835 ;
21836 return 0;
21837 }
21838 _ACEOF
21839 if ac_fn_cxx_try_compile "$LINENO"; then :
21840 glibcxx_cv_func_hypotf_use=yes
21841 else
21842 glibcxx_cv_func_hypotf_use=no
21843 fi
21844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21845 ac_ext=c
21846 ac_cpp='$CPP $CPPFLAGS'
21847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21850
21851
21852 fi
21853
21854 fi
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21856 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21857
21858 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21859 for ac_func in hypotf
21860 do :
21861 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21862 if test "x$ac_cv_func_hypotf" = x""yes; then :
21863 cat >>confdefs.h <<_ACEOF
21864 #define HAVE_HYPOTF 1
21865 _ACEOF
21866
21867 fi
21868 done
21869
21870 else
21871
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21873 $as_echo_n "checking for _hypotf declaration... " >&6; }
21874 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21875 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21876 $as_echo_n "(cached) " >&6
21877 else
21878
21879
21880 ac_ext=cpp
21881 ac_cpp='$CXXCPP $CPPFLAGS'
21882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21885
21886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21887 /* end confdefs.h. */
21888 #include <math.h>
21889 int
21890 main ()
21891 {
21892 _hypotf(0, 0);
21893 ;
21894 return 0;
21895 }
21896 _ACEOF
21897 if ac_fn_cxx_try_compile "$LINENO"; then :
21898 glibcxx_cv_func__hypotf_use=yes
21899 else
21900 glibcxx_cv_func__hypotf_use=no
21901 fi
21902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 ac_ext=c
21904 ac_cpp='$CPP $CPPFLAGS'
21905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21908
21909
21910 fi
21911
21912 fi
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21914 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21915
21916 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21917 for ac_func in _hypotf
21918 do :
21919 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21920 if test "x$ac_cv_func__hypotf" = x""yes; then :
21921 cat >>confdefs.h <<_ACEOF
21922 #define HAVE__HYPOTF 1
21923 _ACEOF
21924
21925 fi
21926 done
21927
21928 fi
21929 fi
21930
21931
21932
21933
21934
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21936 $as_echo_n "checking for ldexpf declaration... " >&6; }
21937 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21938 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21939 $as_echo_n "(cached) " >&6
21940 else
21941
21942
21943 ac_ext=cpp
21944 ac_cpp='$CXXCPP $CPPFLAGS'
21945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21948
21949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21950 /* end confdefs.h. */
21951 #include <math.h>
21952 int
21953 main ()
21954 {
21955 ldexpf(0, 0);
21956 ;
21957 return 0;
21958 }
21959 _ACEOF
21960 if ac_fn_cxx_try_compile "$LINENO"; then :
21961 glibcxx_cv_func_ldexpf_use=yes
21962 else
21963 glibcxx_cv_func_ldexpf_use=no
21964 fi
21965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21966 ac_ext=c
21967 ac_cpp='$CPP $CPPFLAGS'
21968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21971
21972
21973 fi
21974
21975 fi
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21977 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21978
21979 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21980 for ac_func in ldexpf
21981 do :
21982 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21983 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21984 cat >>confdefs.h <<_ACEOF
21985 #define HAVE_LDEXPF 1
21986 _ACEOF
21987
21988 fi
21989 done
21990
21991 else
21992
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21994 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21995 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21996 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21998 else
21999
22000
22001 ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22006
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22009 #include <math.h>
22010 int
22011 main ()
22012 {
22013 _ldexpf(0, 0);
22014 ;
22015 return 0;
22016 }
22017 _ACEOF
22018 if ac_fn_cxx_try_compile "$LINENO"; then :
22019 glibcxx_cv_func__ldexpf_use=yes
22020 else
22021 glibcxx_cv_func__ldexpf_use=no
22022 fi
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22029
22030
22031 fi
22032
22033 fi
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22035 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22036
22037 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22038 for ac_func in _ldexpf
22039 do :
22040 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22041 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22042 cat >>confdefs.h <<_ACEOF
22043 #define HAVE__LDEXPF 1
22044 _ACEOF
22045
22046 fi
22047 done
22048
22049 fi
22050 fi
22051
22052
22053
22054
22055
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22057 $as_echo_n "checking for logf declaration... " >&6; }
22058 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22059 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22060 $as_echo_n "(cached) " >&6
22061 else
22062
22063
22064 ac_ext=cpp
22065 ac_cpp='$CXXCPP $CPPFLAGS'
22066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22069
22070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22071 /* end confdefs.h. */
22072 #include <math.h>
22073 #ifdef HAVE_IEEEFP_H
22074 #include <ieeefp.h>
22075 #endif
22076
22077 int
22078 main ()
22079 {
22080 logf(0);
22081 ;
22082 return 0;
22083 }
22084 _ACEOF
22085 if ac_fn_cxx_try_compile "$LINENO"; then :
22086 glibcxx_cv_func_logf_use=yes
22087 else
22088 glibcxx_cv_func_logf_use=no
22089 fi
22090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22091 ac_ext=c
22092 ac_cpp='$CPP $CPPFLAGS'
22093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22096
22097
22098 fi
22099
22100 fi
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22102 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22103
22104 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22105 for ac_func in logf
22106 do :
22107 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22108 if test "x$ac_cv_func_logf" = x""yes; then :
22109 cat >>confdefs.h <<_ACEOF
22110 #define HAVE_LOGF 1
22111 _ACEOF
22112
22113 fi
22114 done
22115
22116 else
22117
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22119 $as_echo_n "checking for _logf declaration... " >&6; }
22120 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22121 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22122 $as_echo_n "(cached) " >&6
22123 else
22124
22125
22126 ac_ext=cpp
22127 ac_cpp='$CXXCPP $CPPFLAGS'
22128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22131
22132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22133 /* end confdefs.h. */
22134 #include <math.h>
22135 #ifdef HAVE_IEEEFP_H
22136 #include <ieeefp.h>
22137 #endif
22138
22139 int
22140 main ()
22141 {
22142 _logf(0);
22143 ;
22144 return 0;
22145 }
22146 _ACEOF
22147 if ac_fn_cxx_try_compile "$LINENO"; then :
22148 glibcxx_cv_func__logf_use=yes
22149 else
22150 glibcxx_cv_func__logf_use=no
22151 fi
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22153 ac_ext=c
22154 ac_cpp='$CPP $CPPFLAGS'
22155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22158
22159
22160 fi
22161
22162 fi
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22164 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22165
22166 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22167 for ac_func in _logf
22168 do :
22169 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22170 if test "x$ac_cv_func__logf" = x""yes; then :
22171 cat >>confdefs.h <<_ACEOF
22172 #define HAVE__LOGF 1
22173 _ACEOF
22174
22175 fi
22176 done
22177
22178 fi
22179 fi
22180
22181
22182
22183
22184
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22186 $as_echo_n "checking for log10f declaration... " >&6; }
22187 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22188 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22189 $as_echo_n "(cached) " >&6
22190 else
22191
22192
22193 ac_ext=cpp
22194 ac_cpp='$CXXCPP $CPPFLAGS'
22195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22198
22199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22200 /* end confdefs.h. */
22201 #include <math.h>
22202 #ifdef HAVE_IEEEFP_H
22203 #include <ieeefp.h>
22204 #endif
22205
22206 int
22207 main ()
22208 {
22209 log10f(0);
22210 ;
22211 return 0;
22212 }
22213 _ACEOF
22214 if ac_fn_cxx_try_compile "$LINENO"; then :
22215 glibcxx_cv_func_log10f_use=yes
22216 else
22217 glibcxx_cv_func_log10f_use=no
22218 fi
22219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22220 ac_ext=c
22221 ac_cpp='$CPP $CPPFLAGS'
22222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22225
22226
22227 fi
22228
22229 fi
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22231 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22232
22233 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22234 for ac_func in log10f
22235 do :
22236 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22237 if test "x$ac_cv_func_log10f" = x""yes; then :
22238 cat >>confdefs.h <<_ACEOF
22239 #define HAVE_LOG10F 1
22240 _ACEOF
22241
22242 fi
22243 done
22244
22245 else
22246
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22248 $as_echo_n "checking for _log10f declaration... " >&6; }
22249 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22250 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22251 $as_echo_n "(cached) " >&6
22252 else
22253
22254
22255 ac_ext=cpp
22256 ac_cpp='$CXXCPP $CPPFLAGS'
22257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22260
22261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h. */
22263 #include <math.h>
22264 #ifdef HAVE_IEEEFP_H
22265 #include <ieeefp.h>
22266 #endif
22267
22268 int
22269 main ()
22270 {
22271 _log10f(0);
22272 ;
22273 return 0;
22274 }
22275 _ACEOF
22276 if ac_fn_cxx_try_compile "$LINENO"; then :
22277 glibcxx_cv_func__log10f_use=yes
22278 else
22279 glibcxx_cv_func__log10f_use=no
22280 fi
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282 ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22287
22288
22289 fi
22290
22291 fi
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22293 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22294
22295 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22296 for ac_func in _log10f
22297 do :
22298 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22299 if test "x$ac_cv_func__log10f" = x""yes; then :
22300 cat >>confdefs.h <<_ACEOF
22301 #define HAVE__LOG10F 1
22302 _ACEOF
22303
22304 fi
22305 done
22306
22307 fi
22308 fi
22309
22310
22311
22312
22313
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22315 $as_echo_n "checking for modff declaration... " >&6; }
22316 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22317 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22318 $as_echo_n "(cached) " >&6
22319 else
22320
22321
22322 ac_ext=cpp
22323 ac_cpp='$CXXCPP $CPPFLAGS'
22324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22327
22328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22329 /* end confdefs.h. */
22330 #include <math.h>
22331 int
22332 main ()
22333 {
22334 modff(0, 0);
22335 ;
22336 return 0;
22337 }
22338 _ACEOF
22339 if ac_fn_cxx_try_compile "$LINENO"; then :
22340 glibcxx_cv_func_modff_use=yes
22341 else
22342 glibcxx_cv_func_modff_use=no
22343 fi
22344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22345 ac_ext=c
22346 ac_cpp='$CPP $CPPFLAGS'
22347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22350
22351
22352 fi
22353
22354 fi
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22356 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22357
22358 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22359 for ac_func in modff
22360 do :
22361 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22362 if test "x$ac_cv_func_modff" = x""yes; then :
22363 cat >>confdefs.h <<_ACEOF
22364 #define HAVE_MODFF 1
22365 _ACEOF
22366
22367 fi
22368 done
22369
22370 else
22371
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22373 $as_echo_n "checking for _modff declaration... " >&6; }
22374 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22375 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22376 $as_echo_n "(cached) " >&6
22377 else
22378
22379
22380 ac_ext=cpp
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22385
22386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22387 /* end confdefs.h. */
22388 #include <math.h>
22389 int
22390 main ()
22391 {
22392 _modff(0, 0);
22393 ;
22394 return 0;
22395 }
22396 _ACEOF
22397 if ac_fn_cxx_try_compile "$LINENO"; then :
22398 glibcxx_cv_func__modff_use=yes
22399 else
22400 glibcxx_cv_func__modff_use=no
22401 fi
22402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22403 ac_ext=c
22404 ac_cpp='$CPP $CPPFLAGS'
22405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22408
22409
22410 fi
22411
22412 fi
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22414 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22415
22416 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22417 for ac_func in _modff
22418 do :
22419 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22420 if test "x$ac_cv_func__modff" = x""yes; then :
22421 cat >>confdefs.h <<_ACEOF
22422 #define HAVE__MODFF 1
22423 _ACEOF
22424
22425 fi
22426 done
22427
22428 fi
22429 fi
22430
22431
22432
22433
22434
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22436 $as_echo_n "checking for modf declaration... " >&6; }
22437 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22438 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22439 $as_echo_n "(cached) " >&6
22440 else
22441
22442
22443 ac_ext=cpp
22444 ac_cpp='$CXXCPP $CPPFLAGS'
22445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22448
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22451 #include <math.h>
22452 int
22453 main ()
22454 {
22455 modf(0, 0);
22456 ;
22457 return 0;
22458 }
22459 _ACEOF
22460 if ac_fn_cxx_try_compile "$LINENO"; then :
22461 glibcxx_cv_func_modf_use=yes
22462 else
22463 glibcxx_cv_func_modf_use=no
22464 fi
22465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22466 ac_ext=c
22467 ac_cpp='$CPP $CPPFLAGS'
22468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22471
22472
22473 fi
22474
22475 fi
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22477 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22478
22479 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22480 for ac_func in modf
22481 do :
22482 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22483 if test "x$ac_cv_func_modf" = x""yes; then :
22484 cat >>confdefs.h <<_ACEOF
22485 #define HAVE_MODF 1
22486 _ACEOF
22487
22488 fi
22489 done
22490
22491 else
22492
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22494 $as_echo_n "checking for _modf declaration... " >&6; }
22495 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22496 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22497 $as_echo_n "(cached) " >&6
22498 else
22499
22500
22501 ac_ext=cpp
22502 ac_cpp='$CXXCPP $CPPFLAGS'
22503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22506
22507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22508 /* end confdefs.h. */
22509 #include <math.h>
22510 int
22511 main ()
22512 {
22513 _modf(0, 0);
22514 ;
22515 return 0;
22516 }
22517 _ACEOF
22518 if ac_fn_cxx_try_compile "$LINENO"; then :
22519 glibcxx_cv_func__modf_use=yes
22520 else
22521 glibcxx_cv_func__modf_use=no
22522 fi
22523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22524 ac_ext=c
22525 ac_cpp='$CPP $CPPFLAGS'
22526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22529
22530
22531 fi
22532
22533 fi
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22535 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22536
22537 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22538 for ac_func in _modf
22539 do :
22540 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22541 if test "x$ac_cv_func__modf" = x""yes; then :
22542 cat >>confdefs.h <<_ACEOF
22543 #define HAVE__MODF 1
22544 _ACEOF
22545
22546 fi
22547 done
22548
22549 fi
22550 fi
22551
22552
22553
22554
22555
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22557 $as_echo_n "checking for powf declaration... " >&6; }
22558 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22559 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22560 $as_echo_n "(cached) " >&6
22561 else
22562
22563
22564 ac_ext=cpp
22565 ac_cpp='$CXXCPP $CPPFLAGS'
22566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22569
22570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22571 /* end confdefs.h. */
22572 #include <math.h>
22573 int
22574 main ()
22575 {
22576 powf(0, 0);
22577 ;
22578 return 0;
22579 }
22580 _ACEOF
22581 if ac_fn_cxx_try_compile "$LINENO"; then :
22582 glibcxx_cv_func_powf_use=yes
22583 else
22584 glibcxx_cv_func_powf_use=no
22585 fi
22586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22587 ac_ext=c
22588 ac_cpp='$CPP $CPPFLAGS'
22589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22592
22593
22594 fi
22595
22596 fi
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22598 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22599
22600 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22601 for ac_func in powf
22602 do :
22603 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22604 if test "x$ac_cv_func_powf" = x""yes; then :
22605 cat >>confdefs.h <<_ACEOF
22606 #define HAVE_POWF 1
22607 _ACEOF
22608
22609 fi
22610 done
22611
22612 else
22613
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22615 $as_echo_n "checking for _powf declaration... " >&6; }
22616 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22617 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22618 $as_echo_n "(cached) " >&6
22619 else
22620
22621
22622 ac_ext=cpp
22623 ac_cpp='$CXXCPP $CPPFLAGS'
22624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22627
22628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22629 /* end confdefs.h. */
22630 #include <math.h>
22631 int
22632 main ()
22633 {
22634 _powf(0, 0);
22635 ;
22636 return 0;
22637 }
22638 _ACEOF
22639 if ac_fn_cxx_try_compile "$LINENO"; then :
22640 glibcxx_cv_func__powf_use=yes
22641 else
22642 glibcxx_cv_func__powf_use=no
22643 fi
22644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22645 ac_ext=c
22646 ac_cpp='$CPP $CPPFLAGS'
22647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22650
22651
22652 fi
22653
22654 fi
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22656 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22657
22658 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22659 for ac_func in _powf
22660 do :
22661 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22662 if test "x$ac_cv_func__powf" = x""yes; then :
22663 cat >>confdefs.h <<_ACEOF
22664 #define HAVE__POWF 1
22665 _ACEOF
22666
22667 fi
22668 done
22669
22670 fi
22671 fi
22672
22673
22674
22675
22676
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22678 $as_echo_n "checking for sqrtf declaration... " >&6; }
22679 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22680 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22681 $as_echo_n "(cached) " >&6
22682 else
22683
22684
22685 ac_ext=cpp
22686 ac_cpp='$CXXCPP $CPPFLAGS'
22687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22690
22691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22692 /* end confdefs.h. */
22693 #include <math.h>
22694 #ifdef HAVE_IEEEFP_H
22695 #include <ieeefp.h>
22696 #endif
22697
22698 int
22699 main ()
22700 {
22701 sqrtf(0);
22702 ;
22703 return 0;
22704 }
22705 _ACEOF
22706 if ac_fn_cxx_try_compile "$LINENO"; then :
22707 glibcxx_cv_func_sqrtf_use=yes
22708 else
22709 glibcxx_cv_func_sqrtf_use=no
22710 fi
22711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22712 ac_ext=c
22713 ac_cpp='$CPP $CPPFLAGS'
22714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22717
22718
22719 fi
22720
22721 fi
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22723 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22724
22725 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22726 for ac_func in sqrtf
22727 do :
22728 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22729 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22730 cat >>confdefs.h <<_ACEOF
22731 #define HAVE_SQRTF 1
22732 _ACEOF
22733
22734 fi
22735 done
22736
22737 else
22738
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22740 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22741 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22742 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22743 $as_echo_n "(cached) " >&6
22744 else
22745
22746
22747 ac_ext=cpp
22748 ac_cpp='$CXXCPP $CPPFLAGS'
22749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22752
22753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22754 /* end confdefs.h. */
22755 #include <math.h>
22756 #ifdef HAVE_IEEEFP_H
22757 #include <ieeefp.h>
22758 #endif
22759
22760 int
22761 main ()
22762 {
22763 _sqrtf(0);
22764 ;
22765 return 0;
22766 }
22767 _ACEOF
22768 if ac_fn_cxx_try_compile "$LINENO"; then :
22769 glibcxx_cv_func__sqrtf_use=yes
22770 else
22771 glibcxx_cv_func__sqrtf_use=no
22772 fi
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774 ac_ext=c
22775 ac_cpp='$CPP $CPPFLAGS'
22776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22779
22780
22781 fi
22782
22783 fi
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22785 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22786
22787 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22788 for ac_func in _sqrtf
22789 do :
22790 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22791 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22792 cat >>confdefs.h <<_ACEOF
22793 #define HAVE__SQRTF 1
22794 _ACEOF
22795
22796 fi
22797 done
22798
22799 fi
22800 fi
22801
22802
22803
22804
22805
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22807 $as_echo_n "checking for sincosf declaration... " >&6; }
22808 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22809 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22810 $as_echo_n "(cached) " >&6
22811 else
22812
22813
22814 ac_ext=cpp
22815 ac_cpp='$CXXCPP $CPPFLAGS'
22816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22819
22820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22821 /* end confdefs.h. */
22822 #include <math.h>
22823 int
22824 main ()
22825 {
22826 sincosf(0, 0, 0);
22827 ;
22828 return 0;
22829 }
22830 _ACEOF
22831 if ac_fn_cxx_try_compile "$LINENO"; then :
22832 glibcxx_cv_func_sincosf_use=yes
22833 else
22834 glibcxx_cv_func_sincosf_use=no
22835 fi
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837 ac_ext=c
22838 ac_cpp='$CPP $CPPFLAGS'
22839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22842
22843
22844 fi
22845
22846 fi
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22848 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22849
22850 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22851 for ac_func in sincosf
22852 do :
22853 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22854 if test "x$ac_cv_func_sincosf" = x""yes; then :
22855 cat >>confdefs.h <<_ACEOF
22856 #define HAVE_SINCOSF 1
22857 _ACEOF
22858
22859 fi
22860 done
22861
22862 else
22863
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22865 $as_echo_n "checking for _sincosf declaration... " >&6; }
22866 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22867 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22868 $as_echo_n "(cached) " >&6
22869 else
22870
22871
22872 ac_ext=cpp
22873 ac_cpp='$CXXCPP $CPPFLAGS'
22874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22877
22878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22879 /* end confdefs.h. */
22880 #include <math.h>
22881 int
22882 main ()
22883 {
22884 _sincosf(0, 0, 0);
22885 ;
22886 return 0;
22887 }
22888 _ACEOF
22889 if ac_fn_cxx_try_compile "$LINENO"; then :
22890 glibcxx_cv_func__sincosf_use=yes
22891 else
22892 glibcxx_cv_func__sincosf_use=no
22893 fi
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895 ac_ext=c
22896 ac_cpp='$CPP $CPPFLAGS'
22897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22900
22901
22902 fi
22903
22904 fi
22905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22906 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22907
22908 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22909 for ac_func in _sincosf
22910 do :
22911 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22912 if test "x$ac_cv_func__sincosf" = x""yes; then :
22913 cat >>confdefs.h <<_ACEOF
22914 #define HAVE__SINCOSF 1
22915 _ACEOF
22916
22917 fi
22918 done
22919
22920 fi
22921 fi
22922
22923
22924
22925
22926
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22928 $as_echo_n "checking for finitef declaration... " >&6; }
22929 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22930 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22931 $as_echo_n "(cached) " >&6
22932 else
22933
22934
22935 ac_ext=cpp
22936 ac_cpp='$CXXCPP $CPPFLAGS'
22937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22940
22941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22942 /* end confdefs.h. */
22943 #include <math.h>
22944 #ifdef HAVE_IEEEFP_H
22945 #include <ieeefp.h>
22946 #endif
22947
22948 int
22949 main ()
22950 {
22951 finitef(0);
22952 ;
22953 return 0;
22954 }
22955 _ACEOF
22956 if ac_fn_cxx_try_compile "$LINENO"; then :
22957 glibcxx_cv_func_finitef_use=yes
22958 else
22959 glibcxx_cv_func_finitef_use=no
22960 fi
22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22962 ac_ext=c
22963 ac_cpp='$CPP $CPPFLAGS'
22964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22967
22968
22969 fi
22970
22971 fi
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22973 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22974
22975 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22976 for ac_func in finitef
22977 do :
22978 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22979 if test "x$ac_cv_func_finitef" = x""yes; then :
22980 cat >>confdefs.h <<_ACEOF
22981 #define HAVE_FINITEF 1
22982 _ACEOF
22983
22984 fi
22985 done
22986
22987 else
22988
22989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22990 $as_echo_n "checking for _finitef declaration... " >&6; }
22991 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22992 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22993 $as_echo_n "(cached) " >&6
22994 else
22995
22996
22997 ac_ext=cpp
22998 ac_cpp='$CXXCPP $CPPFLAGS'
22999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23002
23003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23004 /* end confdefs.h. */
23005 #include <math.h>
23006 #ifdef HAVE_IEEEFP_H
23007 #include <ieeefp.h>
23008 #endif
23009
23010 int
23011 main ()
23012 {
23013 _finitef(0);
23014 ;
23015 return 0;
23016 }
23017 _ACEOF
23018 if ac_fn_cxx_try_compile "$LINENO"; then :
23019 glibcxx_cv_func__finitef_use=yes
23020 else
23021 glibcxx_cv_func__finitef_use=no
23022 fi
23023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23024 ac_ext=c
23025 ac_cpp='$CPP $CPPFLAGS'
23026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23029
23030
23031 fi
23032
23033 fi
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23035 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23036
23037 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23038 for ac_func in _finitef
23039 do :
23040 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23041 if test "x$ac_cv_func__finitef" = x""yes; then :
23042 cat >>confdefs.h <<_ACEOF
23043 #define HAVE__FINITEF 1
23044 _ACEOF
23045
23046 fi
23047 done
23048
23049 fi
23050 fi
23051
23052
23053
23054
23055
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23057 $as_echo_n "checking for long double trig functions... " >&6; }
23058 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23061
23062
23063 ac_ext=cpp
23064 ac_cpp='$CXXCPP $CPPFLAGS'
23065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23068
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23071 #include <math.h>
23072 int
23073 main ()
23074 {
23075 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23076 ;
23077 return 0;
23078 }
23079 _ACEOF
23080 if ac_fn_cxx_try_compile "$LINENO"; then :
23081 glibcxx_cv_func_long_double_trig_use=yes
23082 else
23083 glibcxx_cv_func_long_double_trig_use=no
23084 fi
23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 ac_ext=c
23087 ac_cpp='$CPP $CPPFLAGS'
23088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23091
23092 fi
23093
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23095 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23096 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23097 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23098 do :
23099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23101 eval as_val=\$$as_ac_var
23102 if test "x$as_val" = x""yes; then :
23103 cat >>confdefs.h <<_ACEOF
23104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23105 _ACEOF
23106
23107 fi
23108 done
23109
23110 else
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23112 $as_echo_n "checking for _long double trig functions... " >&6; }
23113 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23114 $as_echo_n "(cached) " >&6
23115 else
23116
23117
23118 ac_ext=cpp
23119 ac_cpp='$CXXCPP $CPPFLAGS'
23120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123
23124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23125 /* end confdefs.h. */
23126 #include <math.h>
23127 int
23128 main ()
23129 {
23130 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23131 ;
23132 return 0;
23133 }
23134 _ACEOF
23135 if ac_fn_cxx_try_compile "$LINENO"; then :
23136 glibcxx_cv_func__long_double_trig_use=yes
23137 else
23138 glibcxx_cv_func__long_double_trig_use=no
23139 fi
23140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23141 ac_ext=c
23142 ac_cpp='$CPP $CPPFLAGS'
23143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23146
23147 fi
23148
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23150 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23151 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23152 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23153 do :
23154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23156 eval as_val=\$$as_ac_var
23157 if test "x$as_val" = x""yes; then :
23158 cat >>confdefs.h <<_ACEOF
23159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23160 _ACEOF
23161
23162 fi
23163 done
23164
23165 fi
23166 fi
23167
23168
23169
23170
23171
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23173 $as_echo_n "checking for long double round functions... " >&6; }
23174 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23175 $as_echo_n "(cached) " >&6
23176 else
23177
23178
23179 ac_ext=cpp
23180 ac_cpp='$CXXCPP $CPPFLAGS'
23181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23184
23185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23186 /* end confdefs.h. */
23187 #include <math.h>
23188 int
23189 main ()
23190 {
23191 ceill (0); floorl (0);
23192 ;
23193 return 0;
23194 }
23195 _ACEOF
23196 if ac_fn_cxx_try_compile "$LINENO"; then :
23197 glibcxx_cv_func_long_double_round_use=yes
23198 else
23199 glibcxx_cv_func_long_double_round_use=no
23200 fi
23201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202 ac_ext=c
23203 ac_cpp='$CPP $CPPFLAGS'
23204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23207
23208 fi
23209
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23211 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23212 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23213 for ac_func in ceill floorl
23214 do :
23215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23217 eval as_val=\$$as_ac_var
23218 if test "x$as_val" = x""yes; then :
23219 cat >>confdefs.h <<_ACEOF
23220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23221 _ACEOF
23222
23223 fi
23224 done
23225
23226 else
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23228 $as_echo_n "checking for _long double round functions... " >&6; }
23229 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23230 $as_echo_n "(cached) " >&6
23231 else
23232
23233
23234 ac_ext=cpp
23235 ac_cpp='$CXXCPP $CPPFLAGS'
23236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23239
23240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h. */
23242 #include <math.h>
23243 int
23244 main ()
23245 {
23246 _ceill (0); _floorl (0);
23247 ;
23248 return 0;
23249 }
23250 _ACEOF
23251 if ac_fn_cxx_try_compile "$LINENO"; then :
23252 glibcxx_cv_func__long_double_round_use=yes
23253 else
23254 glibcxx_cv_func__long_double_round_use=no
23255 fi
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23257 ac_ext=c
23258 ac_cpp='$CPP $CPPFLAGS'
23259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23262
23263 fi
23264
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23266 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23267 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23268 for ac_func in _ceill _floorl
23269 do :
23270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23272 eval as_val=\$$as_ac_var
23273 if test "x$as_val" = x""yes; then :
23274 cat >>confdefs.h <<_ACEOF
23275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23276 _ACEOF
23277
23278 fi
23279 done
23280
23281 fi
23282 fi
23283
23284
23285
23286
23287
23288
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23290 $as_echo_n "checking for isnanl declaration... " >&6; }
23291 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23292 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23293 $as_echo_n "(cached) " >&6
23294 else
23295
23296
23297 ac_ext=cpp
23298 ac_cpp='$CXXCPP $CPPFLAGS'
23299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23302
23303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23304 /* end confdefs.h. */
23305 #include <math.h>
23306 #ifdef HAVE_IEEEFP_H
23307 #include <ieeefp.h>
23308 #endif
23309
23310 int
23311 main ()
23312 {
23313 isnanl(0);
23314 ;
23315 return 0;
23316 }
23317 _ACEOF
23318 if ac_fn_cxx_try_compile "$LINENO"; then :
23319 glibcxx_cv_func_isnanl_use=yes
23320 else
23321 glibcxx_cv_func_isnanl_use=no
23322 fi
23323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 ac_ext=c
23325 ac_cpp='$CPP $CPPFLAGS'
23326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23329
23330
23331 fi
23332
23333 fi
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23335 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23336
23337 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23338 for ac_func in isnanl
23339 do :
23340 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23341 if test "x$ac_cv_func_isnanl" = x""yes; then :
23342 cat >>confdefs.h <<_ACEOF
23343 #define HAVE_ISNANL 1
23344 _ACEOF
23345
23346 fi
23347 done
23348
23349 else
23350
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23352 $as_echo_n "checking for _isnanl declaration... " >&6; }
23353 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23354 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23355 $as_echo_n "(cached) " >&6
23356 else
23357
23358
23359 ac_ext=cpp
23360 ac_cpp='$CXXCPP $CPPFLAGS'
23361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23364
23365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23366 /* end confdefs.h. */
23367 #include <math.h>
23368 #ifdef HAVE_IEEEFP_H
23369 #include <ieeefp.h>
23370 #endif
23371
23372 int
23373 main ()
23374 {
23375 _isnanl(0);
23376 ;
23377 return 0;
23378 }
23379 _ACEOF
23380 if ac_fn_cxx_try_compile "$LINENO"; then :
23381 glibcxx_cv_func__isnanl_use=yes
23382 else
23383 glibcxx_cv_func__isnanl_use=no
23384 fi
23385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386 ac_ext=c
23387 ac_cpp='$CPP $CPPFLAGS'
23388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23391
23392
23393 fi
23394
23395 fi
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23397 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23398
23399 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23400 for ac_func in _isnanl
23401 do :
23402 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23403 if test "x$ac_cv_func__isnanl" = x""yes; then :
23404 cat >>confdefs.h <<_ACEOF
23405 #define HAVE__ISNANL 1
23406 _ACEOF
23407
23408 fi
23409 done
23410
23411 fi
23412 fi
23413
23414
23415
23416
23417
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23419 $as_echo_n "checking for isinfl declaration... " >&6; }
23420 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23421 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23422 $as_echo_n "(cached) " >&6
23423 else
23424
23425
23426 ac_ext=cpp
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23431
23432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23433 /* end confdefs.h. */
23434 #include <math.h>
23435 #ifdef HAVE_IEEEFP_H
23436 #include <ieeefp.h>
23437 #endif
23438
23439 int
23440 main ()
23441 {
23442 isinfl(0);
23443 ;
23444 return 0;
23445 }
23446 _ACEOF
23447 if ac_fn_cxx_try_compile "$LINENO"; then :
23448 glibcxx_cv_func_isinfl_use=yes
23449 else
23450 glibcxx_cv_func_isinfl_use=no
23451 fi
23452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23453 ac_ext=c
23454 ac_cpp='$CPP $CPPFLAGS'
23455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23458
23459
23460 fi
23461
23462 fi
23463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23464 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23465
23466 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23467 for ac_func in isinfl
23468 do :
23469 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23470 if test "x$ac_cv_func_isinfl" = x""yes; then :
23471 cat >>confdefs.h <<_ACEOF
23472 #define HAVE_ISINFL 1
23473 _ACEOF
23474
23475 fi
23476 done
23477
23478 else
23479
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23481 $as_echo_n "checking for _isinfl declaration... " >&6; }
23482 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23483 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23484 $as_echo_n "(cached) " >&6
23485 else
23486
23487
23488 ac_ext=cpp
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23493
23494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23496 #include <math.h>
23497 #ifdef HAVE_IEEEFP_H
23498 #include <ieeefp.h>
23499 #endif
23500
23501 int
23502 main ()
23503 {
23504 _isinfl(0);
23505 ;
23506 return 0;
23507 }
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func__isinfl_use=yes
23511 else
23512 glibcxx_cv_func__isinfl_use=no
23513 fi
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23520
23521
23522 fi
23523
23524 fi
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23526 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23527
23528 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23529 for ac_func in _isinfl
23530 do :
23531 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23532 if test "x$ac_cv_func__isinfl" = x""yes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE__ISINFL 1
23535 _ACEOF
23536
23537 fi
23538 done
23539
23540 fi
23541 fi
23542
23543
23544
23545
23546
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23548 $as_echo_n "checking for atan2l declaration... " >&6; }
23549 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23550 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23551 $as_echo_n "(cached) " >&6
23552 else
23553
23554
23555 ac_ext=cpp
23556 ac_cpp='$CXXCPP $CPPFLAGS'
23557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23560
23561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23562 /* end confdefs.h. */
23563 #include <math.h>
23564 int
23565 main ()
23566 {
23567 atan2l(0, 0);
23568 ;
23569 return 0;
23570 }
23571 _ACEOF
23572 if ac_fn_cxx_try_compile "$LINENO"; then :
23573 glibcxx_cv_func_atan2l_use=yes
23574 else
23575 glibcxx_cv_func_atan2l_use=no
23576 fi
23577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23578 ac_ext=c
23579 ac_cpp='$CPP $CPPFLAGS'
23580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23583
23584
23585 fi
23586
23587 fi
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23589 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23590
23591 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23592 for ac_func in atan2l
23593 do :
23594 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23595 if test "x$ac_cv_func_atan2l" = x""yes; then :
23596 cat >>confdefs.h <<_ACEOF
23597 #define HAVE_ATAN2L 1
23598 _ACEOF
23599
23600 fi
23601 done
23602
23603 else
23604
23605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23606 $as_echo_n "checking for _atan2l declaration... " >&6; }
23607 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23608 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23609 $as_echo_n "(cached) " >&6
23610 else
23611
23612
23613 ac_ext=cpp
23614 ac_cpp='$CXXCPP $CPPFLAGS'
23615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23618
23619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23620 /* end confdefs.h. */
23621 #include <math.h>
23622 int
23623 main ()
23624 {
23625 _atan2l(0, 0);
23626 ;
23627 return 0;
23628 }
23629 _ACEOF
23630 if ac_fn_cxx_try_compile "$LINENO"; then :
23631 glibcxx_cv_func__atan2l_use=yes
23632 else
23633 glibcxx_cv_func__atan2l_use=no
23634 fi
23635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23636 ac_ext=c
23637 ac_cpp='$CPP $CPPFLAGS'
23638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23641
23642
23643 fi
23644
23645 fi
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23647 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23648
23649 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23650 for ac_func in _atan2l
23651 do :
23652 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23653 if test "x$ac_cv_func__atan2l" = x""yes; then :
23654 cat >>confdefs.h <<_ACEOF
23655 #define HAVE__ATAN2L 1
23656 _ACEOF
23657
23658 fi
23659 done
23660
23661 fi
23662 fi
23663
23664
23665
23666
23667
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23669 $as_echo_n "checking for expl declaration... " >&6; }
23670 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23671 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23672 $as_echo_n "(cached) " >&6
23673 else
23674
23675
23676 ac_ext=cpp
23677 ac_cpp='$CXXCPP $CPPFLAGS'
23678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23681
23682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23683 /* end confdefs.h. */
23684 #include <math.h>
23685 #ifdef HAVE_IEEEFP_H
23686 #include <ieeefp.h>
23687 #endif
23688
23689 int
23690 main ()
23691 {
23692 expl(0);
23693 ;
23694 return 0;
23695 }
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698 glibcxx_cv_func_expl_use=yes
23699 else
23700 glibcxx_cv_func_expl_use=no
23701 fi
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703 ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23708
23709
23710 fi
23711
23712 fi
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23714 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23715
23716 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23717 for ac_func in expl
23718 do :
23719 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23720 if test "x$ac_cv_func_expl" = x""yes; then :
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE_EXPL 1
23723 _ACEOF
23724
23725 fi
23726 done
23727
23728 else
23729
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23731 $as_echo_n "checking for _expl declaration... " >&6; }
23732 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23733 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23734 $as_echo_n "(cached) " >&6
23735 else
23736
23737
23738 ac_ext=cpp
23739 ac_cpp='$CXXCPP $CPPFLAGS'
23740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23743
23744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23745 /* end confdefs.h. */
23746 #include <math.h>
23747 #ifdef HAVE_IEEEFP_H
23748 #include <ieeefp.h>
23749 #endif
23750
23751 int
23752 main ()
23753 {
23754 _expl(0);
23755 ;
23756 return 0;
23757 }
23758 _ACEOF
23759 if ac_fn_cxx_try_compile "$LINENO"; then :
23760 glibcxx_cv_func__expl_use=yes
23761 else
23762 glibcxx_cv_func__expl_use=no
23763 fi
23764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ac_ext=c
23766 ac_cpp='$CPP $CPPFLAGS'
23767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23770
23771
23772 fi
23773
23774 fi
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23776 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23777
23778 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23779 for ac_func in _expl
23780 do :
23781 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23782 if test "x$ac_cv_func__expl" = x""yes; then :
23783 cat >>confdefs.h <<_ACEOF
23784 #define HAVE__EXPL 1
23785 _ACEOF
23786
23787 fi
23788 done
23789
23790 fi
23791 fi
23792
23793
23794
23795
23796
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23798 $as_echo_n "checking for fabsl declaration... " >&6; }
23799 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23800 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23801 $as_echo_n "(cached) " >&6
23802 else
23803
23804
23805 ac_ext=cpp
23806 ac_cpp='$CXXCPP $CPPFLAGS'
23807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23810
23811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23812 /* end confdefs.h. */
23813 #include <math.h>
23814 #ifdef HAVE_IEEEFP_H
23815 #include <ieeefp.h>
23816 #endif
23817
23818 int
23819 main ()
23820 {
23821 fabsl(0);
23822 ;
23823 return 0;
23824 }
23825 _ACEOF
23826 if ac_fn_cxx_try_compile "$LINENO"; then :
23827 glibcxx_cv_func_fabsl_use=yes
23828 else
23829 glibcxx_cv_func_fabsl_use=no
23830 fi
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832 ac_ext=c
23833 ac_cpp='$CPP $CPPFLAGS'
23834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23837
23838
23839 fi
23840
23841 fi
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23843 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23844
23845 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23846 for ac_func in fabsl
23847 do :
23848 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23849 if test "x$ac_cv_func_fabsl" = x""yes; then :
23850 cat >>confdefs.h <<_ACEOF
23851 #define HAVE_FABSL 1
23852 _ACEOF
23853
23854 fi
23855 done
23856
23857 else
23858
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23860 $as_echo_n "checking for _fabsl declaration... " >&6; }
23861 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23862 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23863 $as_echo_n "(cached) " >&6
23864 else
23865
23866
23867 ac_ext=cpp
23868 ac_cpp='$CXXCPP $CPPFLAGS'
23869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23872
23873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23874 /* end confdefs.h. */
23875 #include <math.h>
23876 #ifdef HAVE_IEEEFP_H
23877 #include <ieeefp.h>
23878 #endif
23879
23880 int
23881 main ()
23882 {
23883 _fabsl(0);
23884 ;
23885 return 0;
23886 }
23887 _ACEOF
23888 if ac_fn_cxx_try_compile "$LINENO"; then :
23889 glibcxx_cv_func__fabsl_use=yes
23890 else
23891 glibcxx_cv_func__fabsl_use=no
23892 fi
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894 ac_ext=c
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899
23900
23901 fi
23902
23903 fi
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23905 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23906
23907 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23908 for ac_func in _fabsl
23909 do :
23910 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23911 if test "x$ac_cv_func__fabsl" = x""yes; then :
23912 cat >>confdefs.h <<_ACEOF
23913 #define HAVE__FABSL 1
23914 _ACEOF
23915
23916 fi
23917 done
23918
23919 fi
23920 fi
23921
23922
23923
23924
23925
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23927 $as_echo_n "checking for fmodl declaration... " >&6; }
23928 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23929 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23930 $as_echo_n "(cached) " >&6
23931 else
23932
23933
23934 ac_ext=cpp
23935 ac_cpp='$CXXCPP $CPPFLAGS'
23936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23939
23940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23941 /* end confdefs.h. */
23942 #include <math.h>
23943 int
23944 main ()
23945 {
23946 fmodl(0, 0);
23947 ;
23948 return 0;
23949 }
23950 _ACEOF
23951 if ac_fn_cxx_try_compile "$LINENO"; then :
23952 glibcxx_cv_func_fmodl_use=yes
23953 else
23954 glibcxx_cv_func_fmodl_use=no
23955 fi
23956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23957 ac_ext=c
23958 ac_cpp='$CPP $CPPFLAGS'
23959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23962
23963
23964 fi
23965
23966 fi
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23968 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23969
23970 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23971 for ac_func in fmodl
23972 do :
23973 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23974 if test "x$ac_cv_func_fmodl" = x""yes; then :
23975 cat >>confdefs.h <<_ACEOF
23976 #define HAVE_FMODL 1
23977 _ACEOF
23978
23979 fi
23980 done
23981
23982 else
23983
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23985 $as_echo_n "checking for _fmodl declaration... " >&6; }
23986 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23987 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23988 $as_echo_n "(cached) " >&6
23989 else
23990
23991
23992 ac_ext=cpp
23993 ac_cpp='$CXXCPP $CPPFLAGS'
23994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23997
23998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23999 /* end confdefs.h. */
24000 #include <math.h>
24001 int
24002 main ()
24003 {
24004 _fmodl(0, 0);
24005 ;
24006 return 0;
24007 }
24008 _ACEOF
24009 if ac_fn_cxx_try_compile "$LINENO"; then :
24010 glibcxx_cv_func__fmodl_use=yes
24011 else
24012 glibcxx_cv_func__fmodl_use=no
24013 fi
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24020
24021
24022 fi
24023
24024 fi
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24026 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24027
24028 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24029 for ac_func in _fmodl
24030 do :
24031 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24032 if test "x$ac_cv_func__fmodl" = x""yes; then :
24033 cat >>confdefs.h <<_ACEOF
24034 #define HAVE__FMODL 1
24035 _ACEOF
24036
24037 fi
24038 done
24039
24040 fi
24041 fi
24042
24043
24044
24045
24046
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24048 $as_echo_n "checking for frexpl declaration... " >&6; }
24049 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24050 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24051 $as_echo_n "(cached) " >&6
24052 else
24053
24054
24055 ac_ext=cpp
24056 ac_cpp='$CXXCPP $CPPFLAGS'
24057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24060
24061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24062 /* end confdefs.h. */
24063 #include <math.h>
24064 int
24065 main ()
24066 {
24067 frexpl(0, 0);
24068 ;
24069 return 0;
24070 }
24071 _ACEOF
24072 if ac_fn_cxx_try_compile "$LINENO"; then :
24073 glibcxx_cv_func_frexpl_use=yes
24074 else
24075 glibcxx_cv_func_frexpl_use=no
24076 fi
24077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 ac_ext=c
24079 ac_cpp='$CPP $CPPFLAGS'
24080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24083
24084
24085 fi
24086
24087 fi
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24089 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24090
24091 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24092 for ac_func in frexpl
24093 do :
24094 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24095 if test "x$ac_cv_func_frexpl" = x""yes; then :
24096 cat >>confdefs.h <<_ACEOF
24097 #define HAVE_FREXPL 1
24098 _ACEOF
24099
24100 fi
24101 done
24102
24103 else
24104
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24106 $as_echo_n "checking for _frexpl declaration... " >&6; }
24107 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24108 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24109 $as_echo_n "(cached) " >&6
24110 else
24111
24112
24113 ac_ext=cpp
24114 ac_cpp='$CXXCPP $CPPFLAGS'
24115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24118
24119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24120 /* end confdefs.h. */
24121 #include <math.h>
24122 int
24123 main ()
24124 {
24125 _frexpl(0, 0);
24126 ;
24127 return 0;
24128 }
24129 _ACEOF
24130 if ac_fn_cxx_try_compile "$LINENO"; then :
24131 glibcxx_cv_func__frexpl_use=yes
24132 else
24133 glibcxx_cv_func__frexpl_use=no
24134 fi
24135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24136 ac_ext=c
24137 ac_cpp='$CPP $CPPFLAGS'
24138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24141
24142
24143 fi
24144
24145 fi
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24147 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24148
24149 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24150 for ac_func in _frexpl
24151 do :
24152 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24153 if test "x$ac_cv_func__frexpl" = x""yes; then :
24154 cat >>confdefs.h <<_ACEOF
24155 #define HAVE__FREXPL 1
24156 _ACEOF
24157
24158 fi
24159 done
24160
24161 fi
24162 fi
24163
24164
24165
24166
24167
24168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24169 $as_echo_n "checking for hypotl declaration... " >&6; }
24170 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24171 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24172 $as_echo_n "(cached) " >&6
24173 else
24174
24175
24176 ac_ext=cpp
24177 ac_cpp='$CXXCPP $CPPFLAGS'
24178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24181
24182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24183 /* end confdefs.h. */
24184 #include <math.h>
24185 int
24186 main ()
24187 {
24188 hypotl(0, 0);
24189 ;
24190 return 0;
24191 }
24192 _ACEOF
24193 if ac_fn_cxx_try_compile "$LINENO"; then :
24194 glibcxx_cv_func_hypotl_use=yes
24195 else
24196 glibcxx_cv_func_hypotl_use=no
24197 fi
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 ac_ext=c
24200 ac_cpp='$CPP $CPPFLAGS'
24201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24204
24205
24206 fi
24207
24208 fi
24209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24210 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24211
24212 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24213 for ac_func in hypotl
24214 do :
24215 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24216 if test "x$ac_cv_func_hypotl" = x""yes; then :
24217 cat >>confdefs.h <<_ACEOF
24218 #define HAVE_HYPOTL 1
24219 _ACEOF
24220
24221 fi
24222 done
24223
24224 else
24225
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24227 $as_echo_n "checking for _hypotl declaration... " >&6; }
24228 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24229 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24230 $as_echo_n "(cached) " >&6
24231 else
24232
24233
24234 ac_ext=cpp
24235 ac_cpp='$CXXCPP $CPPFLAGS'
24236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24239
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24242 #include <math.h>
24243 int
24244 main ()
24245 {
24246 _hypotl(0, 0);
24247 ;
24248 return 0;
24249 }
24250 _ACEOF
24251 if ac_fn_cxx_try_compile "$LINENO"; then :
24252 glibcxx_cv_func__hypotl_use=yes
24253 else
24254 glibcxx_cv_func__hypotl_use=no
24255 fi
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24257 ac_ext=c
24258 ac_cpp='$CPP $CPPFLAGS'
24259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24262
24263
24264 fi
24265
24266 fi
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24268 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24269
24270 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24271 for ac_func in _hypotl
24272 do :
24273 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24274 if test "x$ac_cv_func__hypotl" = x""yes; then :
24275 cat >>confdefs.h <<_ACEOF
24276 #define HAVE__HYPOTL 1
24277 _ACEOF
24278
24279 fi
24280 done
24281
24282 fi
24283 fi
24284
24285
24286
24287
24288
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24290 $as_echo_n "checking for ldexpl declaration... " >&6; }
24291 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24292 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24293 $as_echo_n "(cached) " >&6
24294 else
24295
24296
24297 ac_ext=cpp
24298 ac_cpp='$CXXCPP $CPPFLAGS'
24299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24302
24303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24304 /* end confdefs.h. */
24305 #include <math.h>
24306 int
24307 main ()
24308 {
24309 ldexpl(0, 0);
24310 ;
24311 return 0;
24312 }
24313 _ACEOF
24314 if ac_fn_cxx_try_compile "$LINENO"; then :
24315 glibcxx_cv_func_ldexpl_use=yes
24316 else
24317 glibcxx_cv_func_ldexpl_use=no
24318 fi
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24320 ac_ext=c
24321 ac_cpp='$CPP $CPPFLAGS'
24322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24325
24326
24327 fi
24328
24329 fi
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24331 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24332
24333 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24334 for ac_func in ldexpl
24335 do :
24336 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24337 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24338 cat >>confdefs.h <<_ACEOF
24339 #define HAVE_LDEXPL 1
24340 _ACEOF
24341
24342 fi
24343 done
24344
24345 else
24346
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24348 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24349 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24350 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24351 $as_echo_n "(cached) " >&6
24352 else
24353
24354
24355 ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24360
24361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h. */
24363 #include <math.h>
24364 int
24365 main ()
24366 {
24367 _ldexpl(0, 0);
24368 ;
24369 return 0;
24370 }
24371 _ACEOF
24372 if ac_fn_cxx_try_compile "$LINENO"; then :
24373 glibcxx_cv_func__ldexpl_use=yes
24374 else
24375 glibcxx_cv_func__ldexpl_use=no
24376 fi
24377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378 ac_ext=c
24379 ac_cpp='$CPP $CPPFLAGS'
24380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24383
24384
24385 fi
24386
24387 fi
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24389 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24390
24391 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24392 for ac_func in _ldexpl
24393 do :
24394 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24395 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24396 cat >>confdefs.h <<_ACEOF
24397 #define HAVE__LDEXPL 1
24398 _ACEOF
24399
24400 fi
24401 done
24402
24403 fi
24404 fi
24405
24406
24407
24408
24409
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24411 $as_echo_n "checking for logl declaration... " >&6; }
24412 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24413 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24414 $as_echo_n "(cached) " >&6
24415 else
24416
24417
24418 ac_ext=cpp
24419 ac_cpp='$CXXCPP $CPPFLAGS'
24420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24423
24424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24425 /* end confdefs.h. */
24426 #include <math.h>
24427 #ifdef HAVE_IEEEFP_H
24428 #include <ieeefp.h>
24429 #endif
24430
24431 int
24432 main ()
24433 {
24434 logl(0);
24435 ;
24436 return 0;
24437 }
24438 _ACEOF
24439 if ac_fn_cxx_try_compile "$LINENO"; then :
24440 glibcxx_cv_func_logl_use=yes
24441 else
24442 glibcxx_cv_func_logl_use=no
24443 fi
24444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24445 ac_ext=c
24446 ac_cpp='$CPP $CPPFLAGS'
24447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24450
24451
24452 fi
24453
24454 fi
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24456 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24457
24458 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24459 for ac_func in logl
24460 do :
24461 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24462 if test "x$ac_cv_func_logl" = x""yes; then :
24463 cat >>confdefs.h <<_ACEOF
24464 #define HAVE_LOGL 1
24465 _ACEOF
24466
24467 fi
24468 done
24469
24470 else
24471
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24473 $as_echo_n "checking for _logl declaration... " >&6; }
24474 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24475 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24476 $as_echo_n "(cached) " >&6
24477 else
24478
24479
24480 ac_ext=cpp
24481 ac_cpp='$CXXCPP $CPPFLAGS'
24482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24485
24486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24487 /* end confdefs.h. */
24488 #include <math.h>
24489 #ifdef HAVE_IEEEFP_H
24490 #include <ieeefp.h>
24491 #endif
24492
24493 int
24494 main ()
24495 {
24496 _logl(0);
24497 ;
24498 return 0;
24499 }
24500 _ACEOF
24501 if ac_fn_cxx_try_compile "$LINENO"; then :
24502 glibcxx_cv_func__logl_use=yes
24503 else
24504 glibcxx_cv_func__logl_use=no
24505 fi
24506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507 ac_ext=c
24508 ac_cpp='$CPP $CPPFLAGS'
24509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24512
24513
24514 fi
24515
24516 fi
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24518 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24519
24520 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24521 for ac_func in _logl
24522 do :
24523 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24524 if test "x$ac_cv_func__logl" = x""yes; then :
24525 cat >>confdefs.h <<_ACEOF
24526 #define HAVE__LOGL 1
24527 _ACEOF
24528
24529 fi
24530 done
24531
24532 fi
24533 fi
24534
24535
24536
24537
24538
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24540 $as_echo_n "checking for log10l declaration... " >&6; }
24541 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24542 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24543 $as_echo_n "(cached) " >&6
24544 else
24545
24546
24547 ac_ext=cpp
24548 ac_cpp='$CXXCPP $CPPFLAGS'
24549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24552
24553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24554 /* end confdefs.h. */
24555 #include <math.h>
24556 #ifdef HAVE_IEEEFP_H
24557 #include <ieeefp.h>
24558 #endif
24559
24560 int
24561 main ()
24562 {
24563 log10l(0);
24564 ;
24565 return 0;
24566 }
24567 _ACEOF
24568 if ac_fn_cxx_try_compile "$LINENO"; then :
24569 glibcxx_cv_func_log10l_use=yes
24570 else
24571 glibcxx_cv_func_log10l_use=no
24572 fi
24573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24574 ac_ext=c
24575 ac_cpp='$CPP $CPPFLAGS'
24576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24579
24580
24581 fi
24582
24583 fi
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24585 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24586
24587 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24588 for ac_func in log10l
24589 do :
24590 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24591 if test "x$ac_cv_func_log10l" = x""yes; then :
24592 cat >>confdefs.h <<_ACEOF
24593 #define HAVE_LOG10L 1
24594 _ACEOF
24595
24596 fi
24597 done
24598
24599 else
24600
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24602 $as_echo_n "checking for _log10l declaration... " >&6; }
24603 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24604 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24605 $as_echo_n "(cached) " >&6
24606 else
24607
24608
24609 ac_ext=cpp
24610 ac_cpp='$CXXCPP $CPPFLAGS'
24611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24614
24615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24617 #include <math.h>
24618 #ifdef HAVE_IEEEFP_H
24619 #include <ieeefp.h>
24620 #endif
24621
24622 int
24623 main ()
24624 {
24625 _log10l(0);
24626 ;
24627 return 0;
24628 }
24629 _ACEOF
24630 if ac_fn_cxx_try_compile "$LINENO"; then :
24631 glibcxx_cv_func__log10l_use=yes
24632 else
24633 glibcxx_cv_func__log10l_use=no
24634 fi
24635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 ac_ext=c
24637 ac_cpp='$CPP $CPPFLAGS'
24638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24641
24642
24643 fi
24644
24645 fi
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24647 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24648
24649 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24650 for ac_func in _log10l
24651 do :
24652 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24653 if test "x$ac_cv_func__log10l" = x""yes; then :
24654 cat >>confdefs.h <<_ACEOF
24655 #define HAVE__LOG10L 1
24656 _ACEOF
24657
24658 fi
24659 done
24660
24661 fi
24662 fi
24663
24664
24665
24666
24667
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24669 $as_echo_n "checking for modfl declaration... " >&6; }
24670 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24671 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24672 $as_echo_n "(cached) " >&6
24673 else
24674
24675
24676 ac_ext=cpp
24677 ac_cpp='$CXXCPP $CPPFLAGS'
24678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24681
24682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24683 /* end confdefs.h. */
24684 #include <math.h>
24685 int
24686 main ()
24687 {
24688 modfl(0, 0);
24689 ;
24690 return 0;
24691 }
24692 _ACEOF
24693 if ac_fn_cxx_try_compile "$LINENO"; then :
24694 glibcxx_cv_func_modfl_use=yes
24695 else
24696 glibcxx_cv_func_modfl_use=no
24697 fi
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24699 ac_ext=c
24700 ac_cpp='$CPP $CPPFLAGS'
24701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24704
24705
24706 fi
24707
24708 fi
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24710 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24711
24712 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24713 for ac_func in modfl
24714 do :
24715 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24716 if test "x$ac_cv_func_modfl" = x""yes; then :
24717 cat >>confdefs.h <<_ACEOF
24718 #define HAVE_MODFL 1
24719 _ACEOF
24720
24721 fi
24722 done
24723
24724 else
24725
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24727 $as_echo_n "checking for _modfl declaration... " >&6; }
24728 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24729 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24730 $as_echo_n "(cached) " >&6
24731 else
24732
24733
24734 ac_ext=cpp
24735 ac_cpp='$CXXCPP $CPPFLAGS'
24736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24739
24740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24741 /* end confdefs.h. */
24742 #include <math.h>
24743 int
24744 main ()
24745 {
24746 _modfl(0, 0);
24747 ;
24748 return 0;
24749 }
24750 _ACEOF
24751 if ac_fn_cxx_try_compile "$LINENO"; then :
24752 glibcxx_cv_func__modfl_use=yes
24753 else
24754 glibcxx_cv_func__modfl_use=no
24755 fi
24756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24757 ac_ext=c
24758 ac_cpp='$CPP $CPPFLAGS'
24759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24762
24763
24764 fi
24765
24766 fi
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24768 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24769
24770 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24771 for ac_func in _modfl
24772 do :
24773 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24774 if test "x$ac_cv_func__modfl" = x""yes; then :
24775 cat >>confdefs.h <<_ACEOF
24776 #define HAVE__MODFL 1
24777 _ACEOF
24778
24779 fi
24780 done
24781
24782 fi
24783 fi
24784
24785
24786
24787
24788
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24790 $as_echo_n "checking for powl declaration... " >&6; }
24791 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24792 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24793 $as_echo_n "(cached) " >&6
24794 else
24795
24796
24797 ac_ext=cpp
24798 ac_cpp='$CXXCPP $CPPFLAGS'
24799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24802
24803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24804 /* end confdefs.h. */
24805 #include <math.h>
24806 int
24807 main ()
24808 {
24809 powl(0, 0);
24810 ;
24811 return 0;
24812 }
24813 _ACEOF
24814 if ac_fn_cxx_try_compile "$LINENO"; then :
24815 glibcxx_cv_func_powl_use=yes
24816 else
24817 glibcxx_cv_func_powl_use=no
24818 fi
24819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24820 ac_ext=c
24821 ac_cpp='$CPP $CPPFLAGS'
24822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24825
24826
24827 fi
24828
24829 fi
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24831 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24832
24833 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24834 for ac_func in powl
24835 do :
24836 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24837 if test "x$ac_cv_func_powl" = x""yes; then :
24838 cat >>confdefs.h <<_ACEOF
24839 #define HAVE_POWL 1
24840 _ACEOF
24841
24842 fi
24843 done
24844
24845 else
24846
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24848 $as_echo_n "checking for _powl declaration... " >&6; }
24849 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24850 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24851 $as_echo_n "(cached) " >&6
24852 else
24853
24854
24855 ac_ext=cpp
24856 ac_cpp='$CXXCPP $CPPFLAGS'
24857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24860
24861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24862 /* end confdefs.h. */
24863 #include <math.h>
24864 int
24865 main ()
24866 {
24867 _powl(0, 0);
24868 ;
24869 return 0;
24870 }
24871 _ACEOF
24872 if ac_fn_cxx_try_compile "$LINENO"; then :
24873 glibcxx_cv_func__powl_use=yes
24874 else
24875 glibcxx_cv_func__powl_use=no
24876 fi
24877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24878 ac_ext=c
24879 ac_cpp='$CPP $CPPFLAGS'
24880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24883
24884
24885 fi
24886
24887 fi
24888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24889 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24890
24891 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24892 for ac_func in _powl
24893 do :
24894 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24895 if test "x$ac_cv_func__powl" = x""yes; then :
24896 cat >>confdefs.h <<_ACEOF
24897 #define HAVE__POWL 1
24898 _ACEOF
24899
24900 fi
24901 done
24902
24903 fi
24904 fi
24905
24906
24907
24908
24909
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24911 $as_echo_n "checking for sqrtl declaration... " >&6; }
24912 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24913 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24914 $as_echo_n "(cached) " >&6
24915 else
24916
24917
24918 ac_ext=cpp
24919 ac_cpp='$CXXCPP $CPPFLAGS'
24920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24923
24924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24925 /* end confdefs.h. */
24926 #include <math.h>
24927 #ifdef HAVE_IEEEFP_H
24928 #include <ieeefp.h>
24929 #endif
24930
24931 int
24932 main ()
24933 {
24934 sqrtl(0);
24935 ;
24936 return 0;
24937 }
24938 _ACEOF
24939 if ac_fn_cxx_try_compile "$LINENO"; then :
24940 glibcxx_cv_func_sqrtl_use=yes
24941 else
24942 glibcxx_cv_func_sqrtl_use=no
24943 fi
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24945 ac_ext=c
24946 ac_cpp='$CPP $CPPFLAGS'
24947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24950
24951
24952 fi
24953
24954 fi
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24956 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24957
24958 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24959 for ac_func in sqrtl
24960 do :
24961 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24962 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24963 cat >>confdefs.h <<_ACEOF
24964 #define HAVE_SQRTL 1
24965 _ACEOF
24966
24967 fi
24968 done
24969
24970 else
24971
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24973 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24974 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24975 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24976 $as_echo_n "(cached) " >&6
24977 else
24978
24979
24980 ac_ext=cpp
24981 ac_cpp='$CXXCPP $CPPFLAGS'
24982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24985
24986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h. */
24988 #include <math.h>
24989 #ifdef HAVE_IEEEFP_H
24990 #include <ieeefp.h>
24991 #endif
24992
24993 int
24994 main ()
24995 {
24996 _sqrtl(0);
24997 ;
24998 return 0;
24999 }
25000 _ACEOF
25001 if ac_fn_cxx_try_compile "$LINENO"; then :
25002 glibcxx_cv_func__sqrtl_use=yes
25003 else
25004 glibcxx_cv_func__sqrtl_use=no
25005 fi
25006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25007 ac_ext=c
25008 ac_cpp='$CPP $CPPFLAGS'
25009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25012
25013
25014 fi
25015
25016 fi
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25018 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25019
25020 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25021 for ac_func in _sqrtl
25022 do :
25023 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25024 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25025 cat >>confdefs.h <<_ACEOF
25026 #define HAVE__SQRTL 1
25027 _ACEOF
25028
25029 fi
25030 done
25031
25032 fi
25033 fi
25034
25035
25036
25037
25038
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25040 $as_echo_n "checking for sincosl declaration... " >&6; }
25041 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25042 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25043 $as_echo_n "(cached) " >&6
25044 else
25045
25046
25047 ac_ext=cpp
25048 ac_cpp='$CXXCPP $CPPFLAGS'
25049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25052
25053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25054 /* end confdefs.h. */
25055 #include <math.h>
25056 int
25057 main ()
25058 {
25059 sincosl(0, 0, 0);
25060 ;
25061 return 0;
25062 }
25063 _ACEOF
25064 if ac_fn_cxx_try_compile "$LINENO"; then :
25065 glibcxx_cv_func_sincosl_use=yes
25066 else
25067 glibcxx_cv_func_sincosl_use=no
25068 fi
25069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25070 ac_ext=c
25071 ac_cpp='$CPP $CPPFLAGS'
25072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25075
25076
25077 fi
25078
25079 fi
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25081 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25082
25083 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25084 for ac_func in sincosl
25085 do :
25086 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25087 if test "x$ac_cv_func_sincosl" = x""yes; then :
25088 cat >>confdefs.h <<_ACEOF
25089 #define HAVE_SINCOSL 1
25090 _ACEOF
25091
25092 fi
25093 done
25094
25095 else
25096
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25098 $as_echo_n "checking for _sincosl declaration... " >&6; }
25099 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25100 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25101 $as_echo_n "(cached) " >&6
25102 else
25103
25104
25105 ac_ext=cpp
25106 ac_cpp='$CXXCPP $CPPFLAGS'
25107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25110
25111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25112 /* end confdefs.h. */
25113 #include <math.h>
25114 int
25115 main ()
25116 {
25117 _sincosl(0, 0, 0);
25118 ;
25119 return 0;
25120 }
25121 _ACEOF
25122 if ac_fn_cxx_try_compile "$LINENO"; then :
25123 glibcxx_cv_func__sincosl_use=yes
25124 else
25125 glibcxx_cv_func__sincosl_use=no
25126 fi
25127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128 ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25133
25134
25135 fi
25136
25137 fi
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25139 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25140
25141 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25142 for ac_func in _sincosl
25143 do :
25144 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25145 if test "x$ac_cv_func__sincosl" = x""yes; then :
25146 cat >>confdefs.h <<_ACEOF
25147 #define HAVE__SINCOSL 1
25148 _ACEOF
25149
25150 fi
25151 done
25152
25153 fi
25154 fi
25155
25156
25157
25158
25159
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25161 $as_echo_n "checking for finitel declaration... " >&6; }
25162 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25163 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25164 $as_echo_n "(cached) " >&6
25165 else
25166
25167
25168 ac_ext=cpp
25169 ac_cpp='$CXXCPP $CPPFLAGS'
25170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25173
25174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25175 /* end confdefs.h. */
25176 #include <math.h>
25177 #ifdef HAVE_IEEEFP_H
25178 #include <ieeefp.h>
25179 #endif
25180
25181 int
25182 main ()
25183 {
25184 finitel(0);
25185 ;
25186 return 0;
25187 }
25188 _ACEOF
25189 if ac_fn_cxx_try_compile "$LINENO"; then :
25190 glibcxx_cv_func_finitel_use=yes
25191 else
25192 glibcxx_cv_func_finitel_use=no
25193 fi
25194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25195 ac_ext=c
25196 ac_cpp='$CPP $CPPFLAGS'
25197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25200
25201
25202 fi
25203
25204 fi
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25206 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25207
25208 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25209 for ac_func in finitel
25210 do :
25211 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25212 if test "x$ac_cv_func_finitel" = x""yes; then :
25213 cat >>confdefs.h <<_ACEOF
25214 #define HAVE_FINITEL 1
25215 _ACEOF
25216
25217 fi
25218 done
25219
25220 else
25221
25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25223 $as_echo_n "checking for _finitel declaration... " >&6; }
25224 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25225 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25226 $as_echo_n "(cached) " >&6
25227 else
25228
25229
25230 ac_ext=cpp
25231 ac_cpp='$CXXCPP $CPPFLAGS'
25232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25235
25236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25237 /* end confdefs.h. */
25238 #include <math.h>
25239 #ifdef HAVE_IEEEFP_H
25240 #include <ieeefp.h>
25241 #endif
25242
25243 int
25244 main ()
25245 {
25246 _finitel(0);
25247 ;
25248 return 0;
25249 }
25250 _ACEOF
25251 if ac_fn_cxx_try_compile "$LINENO"; then :
25252 glibcxx_cv_func__finitel_use=yes
25253 else
25254 glibcxx_cv_func__finitel_use=no
25255 fi
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257 ac_ext=c
25258 ac_cpp='$CPP $CPPFLAGS'
25259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25262
25263
25264 fi
25265
25266 fi
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25268 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25269
25270 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25271 for ac_func in _finitel
25272 do :
25273 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25274 if test "x$ac_cv_func__finitel" = x""yes; then :
25275 cat >>confdefs.h <<_ACEOF
25276 #define HAVE__FINITEL 1
25277 _ACEOF
25278
25279 fi
25280 done
25281
25282 fi
25283 fi
25284
25285
25286
25287
25288 LIBS="$ac_save_LIBS"
25289 CXXFLAGS="$ac_save_CXXFLAGS"
25290
25291
25292 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25293 ac_save_CXXFLAGS="$CXXFLAGS"
25294 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25295
25296
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25298 $as_echo_n "checking for strtold declaration... " >&6; }
25299 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25300 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25302 else
25303
25304
25305 ac_ext=cpp
25306 ac_cpp='$CXXCPP $CPPFLAGS'
25307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25310
25311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25313 #include <stdlib.h>
25314 int
25315 main ()
25316 {
25317 strtold(0, 0);
25318 ;
25319 return 0;
25320 }
25321 _ACEOF
25322 if ac_fn_cxx_try_compile "$LINENO"; then :
25323 glibcxx_cv_func_strtold_use=yes
25324 else
25325 glibcxx_cv_func_strtold_use=no
25326 fi
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 ac_ext=c
25329 ac_cpp='$CPP $CPPFLAGS'
25330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25333
25334
25335 fi
25336
25337 fi
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25339 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25340 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25341 for ac_func in strtold
25342 do :
25343 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25344 if test "x$ac_cv_func_strtold" = x""yes; then :
25345 cat >>confdefs.h <<_ACEOF
25346 #define HAVE_STRTOLD 1
25347 _ACEOF
25348
25349 fi
25350 done
25351
25352 fi
25353
25354
25355
25356
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25358 $as_echo_n "checking for strtof declaration... " >&6; }
25359 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25360 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25361 $as_echo_n "(cached) " >&6
25362 else
25363
25364
25365 ac_ext=cpp
25366 ac_cpp='$CXXCPP $CPPFLAGS'
25367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25370
25371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25372 /* end confdefs.h. */
25373 #include <stdlib.h>
25374 int
25375 main ()
25376 {
25377 strtof(0, 0);
25378 ;
25379 return 0;
25380 }
25381 _ACEOF
25382 if ac_fn_cxx_try_compile "$LINENO"; then :
25383 glibcxx_cv_func_strtof_use=yes
25384 else
25385 glibcxx_cv_func_strtof_use=no
25386 fi
25387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25388 ac_ext=c
25389 ac_cpp='$CPP $CPPFLAGS'
25390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25393
25394
25395 fi
25396
25397 fi
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25399 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25400 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25401 for ac_func in strtof
25402 do :
25403 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25404 if test "x$ac_cv_func_strtof" = x""yes; then :
25405 cat >>confdefs.h <<_ACEOF
25406 #define HAVE_STRTOF 1
25407 _ACEOF
25408
25409 fi
25410 done
25411
25412 fi
25413
25414
25415
25416
25417 CXXFLAGS="$ac_save_CXXFLAGS"
25418
25419
25420 # For /dev/random and /dev/urandom for TR1.
25421
25422
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25424 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25425 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25428
25429 if test -r /dev/random && test -r /dev/urandom; then
25430 glibcxx_cv_random_tr1=yes;
25431 else
25432 glibcxx_cv_random_tr1=no;
25433 fi
25434
25435 fi
25436
25437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25438 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25439
25440 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25441
25442 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25443
25444 fi
25445
25446
25447
25448 # For TLS support.
25449
25450
25451 # Check whether --enable-tls was given.
25452 if test "${enable_tls+set}" = set; then :
25453 enableval=$enable_tls;
25454 case "$enableval" in
25455 yes|no) ;;
25456 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25457 esac
25458
25459 else
25460 enable_tls=yes
25461 fi
25462
25463
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25465 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25466 if test "${gcc_cv_have_tls+set}" = set; then :
25467 $as_echo_n "(cached) " >&6
25468 else
25469
25470 if test "$cross_compiling" = yes; then :
25471 if test x$gcc_no_link = xyes; then
25472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25473 fi
25474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25475 /* end confdefs.h. */
25476 __thread int a; int b; int main() { return a = b; }
25477 _ACEOF
25478 if ac_fn_c_try_link "$LINENO"; then :
25479 chktls_save_LDFLAGS="$LDFLAGS"
25480 case $host in
25481 *-*-linux*)
25482 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25483 ;;
25484 esac
25485 chktls_save_CFLAGS="$CFLAGS"
25486 CFLAGS="-fPIC $CFLAGS"
25487 if test x$gcc_no_link = xyes; then
25488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25489 fi
25490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25491 /* end confdefs.h. */
25492 int f() { return 0; }
25493 _ACEOF
25494 if ac_fn_c_try_link "$LINENO"; then :
25495 if test x$gcc_no_link = xyes; then
25496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25497 fi
25498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h. */
25500 __thread int a; int b; int f() { return a = b; }
25501 _ACEOF
25502 if ac_fn_c_try_link "$LINENO"; then :
25503 gcc_cv_have_tls=yes
25504 else
25505 gcc_cv_have_tls=no
25506 fi
25507 rm -f core conftest.err conftest.$ac_objext \
25508 conftest$ac_exeext conftest.$ac_ext
25509 else
25510 gcc_cv_have_tls=yes
25511 fi
25512 rm -f core conftest.err conftest.$ac_objext \
25513 conftest$ac_exeext conftest.$ac_ext
25514 CFLAGS="$chktls_save_CFLAGS"
25515 LDFLAGS="$chktls_save_LDFLAGS"
25516 else
25517 gcc_cv_have_tls=no
25518 fi
25519 rm -f core conftest.err conftest.$ac_objext \
25520 conftest$ac_exeext conftest.$ac_ext
25521
25522
25523 else
25524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25525 /* end confdefs.h. */
25526 __thread int a; int b; int main() { return a = b; }
25527 _ACEOF
25528 if ac_fn_c_try_run "$LINENO"; then :
25529 chktls_save_LDFLAGS="$LDFLAGS"
25530 LDFLAGS="-static $LDFLAGS"
25531 if test x$gcc_no_link = xyes; then
25532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25533 fi
25534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25535 /* end confdefs.h. */
25536 int main() { return 0; }
25537 _ACEOF
25538 if ac_fn_c_try_link "$LINENO"; then :
25539 if test "$cross_compiling" = yes; then :
25540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25542 as_fn_error "cannot run test program while cross compiling
25543 See \`config.log' for more details." "$LINENO" 5; }
25544 else
25545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25546 /* end confdefs.h. */
25547 __thread int a; int b; int main() { return a = b; }
25548 _ACEOF
25549 if ac_fn_c_try_run "$LINENO"; then :
25550 gcc_cv_have_tls=yes
25551 else
25552 gcc_cv_have_tls=no
25553 fi
25554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25555 conftest.$ac_objext conftest.beam conftest.$ac_ext
25556 fi
25557
25558 else
25559 gcc_cv_have_tls=yes
25560 fi
25561 rm -f core conftest.err conftest.$ac_objext \
25562 conftest$ac_exeext conftest.$ac_ext
25563 LDFLAGS="$chktls_save_LDFLAGS"
25564 if test $gcc_cv_have_tls = yes; then
25565 chktls_save_CFLAGS="$CFLAGS"
25566 thread_CFLAGS=failed
25567 for flag in '' '-pthread' '-lpthread'; do
25568 CFLAGS="$flag $chktls_save_CFLAGS"
25569 if test x$gcc_no_link = xyes; then
25570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25571 fi
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <pthread.h>
25575 void *g(void *d) { return NULL; }
25576 int
25577 main ()
25578 {
25579 pthread_t t; pthread_create(&t,NULL,g,NULL);
25580 ;
25581 return 0;
25582 }
25583 _ACEOF
25584 if ac_fn_c_try_link "$LINENO"; then :
25585 thread_CFLAGS="$flag"
25586 fi
25587 rm -f core conftest.err conftest.$ac_objext \
25588 conftest$ac_exeext conftest.$ac_ext
25589 if test "X$thread_CFLAGS" != Xfailed; then
25590 break
25591 fi
25592 done
25593 CFLAGS="$chktls_save_CFLAGS"
25594 if test "X$thread_CFLAGS" != Xfailed; then
25595 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25596 if test "$cross_compiling" = yes; then :
25597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25599 as_fn_error "cannot run test program while cross compiling
25600 See \`config.log' for more details." "$LINENO" 5; }
25601 else
25602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25603 /* end confdefs.h. */
25604 #include <pthread.h>
25605 __thread int a;
25606 static int *volatile a_in_other_thread;
25607 static void *
25608 thread_func (void *arg)
25609 {
25610 a_in_other_thread = &a;
25611 return (void *)0;
25612 }
25613 int
25614 main ()
25615 {
25616 pthread_t thread;
25617 void *thread_retval;
25618 int *volatile a_in_main_thread;
25619 a_in_main_thread = &a;
25620 if (pthread_create (&thread, (pthread_attr_t *)0,
25621 thread_func, (void *)0))
25622 return 0;
25623 if (pthread_join (thread, &thread_retval))
25624 return 0;
25625 return (a_in_other_thread == a_in_main_thread);
25626 ;
25627 return 0;
25628 }
25629 _ACEOF
25630 if ac_fn_c_try_run "$LINENO"; then :
25631 gcc_cv_have_tls=yes
25632 else
25633 gcc_cv_have_tls=no
25634 fi
25635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25636 conftest.$ac_objext conftest.beam conftest.$ac_ext
25637 fi
25638
25639 CFLAGS="$chktls_save_CFLAGS"
25640 fi
25641 fi
25642 else
25643 gcc_cv_have_tls=no
25644 fi
25645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25646 conftest.$ac_objext conftest.beam conftest.$ac_ext
25647 fi
25648
25649 fi
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25651 $as_echo "$gcc_cv_have_tls" >&6; }
25652 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25653
25654 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25655
25656 fi
25657
25658 # For iconv support.
25659
25660 if test "X$prefix" = "XNONE"; then
25661 acl_final_prefix="$ac_default_prefix"
25662 else
25663 acl_final_prefix="$prefix"
25664 fi
25665 if test "X$exec_prefix" = "XNONE"; then
25666 acl_final_exec_prefix='${prefix}'
25667 else
25668 acl_final_exec_prefix="$exec_prefix"
25669 fi
25670 acl_save_prefix="$prefix"
25671 prefix="$acl_final_prefix"
25672 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25673 prefix="$acl_save_prefix"
25674
25675
25676 # Check whether --with-gnu-ld was given.
25677 if test "${with_gnu_ld+set}" = set; then :
25678 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25679 else
25680 with_gnu_ld=no
25681 fi
25682
25683 # Prepare PATH_SEPARATOR.
25684 # The user is always right.
25685 if test "${PATH_SEPARATOR+set}" != set; then
25686 echo "#! /bin/sh" >conf$$.sh
25687 echo "exit 0" >>conf$$.sh
25688 chmod +x conf$$.sh
25689 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25690 PATH_SEPARATOR=';'
25691 else
25692 PATH_SEPARATOR=:
25693 fi
25694 rm -f conf$$.sh
25695 fi
25696 ac_prog=ld
25697 if test "$GCC" = yes; then
25698 # Check if gcc -print-prog-name=ld gives a path.
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25700 $as_echo_n "checking for ld used by GCC... " >&6; }
25701 case $host in
25702 *-*-mingw*)
25703 # gcc leaves a trailing carriage return which upsets mingw
25704 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25705 *)
25706 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25707 esac
25708 case $ac_prog in
25709 # Accept absolute paths.
25710 [\\/]* | [A-Za-z]:[\\/]*)
25711 re_direlt='/[^/][^/]*/\.\./'
25712 # Canonicalize the path of ld
25713 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25714 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25715 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25716 done
25717 test -z "$LD" && LD="$ac_prog"
25718 ;;
25719 "")
25720 # If it fails, then pretend we aren't using GCC.
25721 ac_prog=ld
25722 ;;
25723 *)
25724 # If it is relative, then search for the first ld in PATH.
25725 with_gnu_ld=unknown
25726 ;;
25727 esac
25728 elif test "$with_gnu_ld" = yes; then
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25730 $as_echo_n "checking for GNU ld... " >&6; }
25731 else
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25733 $as_echo_n "checking for non-GNU ld... " >&6; }
25734 fi
25735 if test "${acl_cv_path_LD+set}" = set; then :
25736 $as_echo_n "(cached) " >&6
25737 else
25738 if test -z "$LD"; then
25739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25740 for ac_dir in $PATH; do
25741 test -z "$ac_dir" && ac_dir=.
25742 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25743 acl_cv_path_LD="$ac_dir/$ac_prog"
25744 # Check to see if the program is GNU ld. I'd rather use --version,
25745 # but apparently some GNU ld's only accept -v.
25746 # Break only if it was the GNU/non-GNU ld that we prefer.
25747 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25748 test "$with_gnu_ld" != no && break
25749 else
25750 test "$with_gnu_ld" != yes && break
25751 fi
25752 fi
25753 done
25754 IFS="$ac_save_ifs"
25755 else
25756 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25757 fi
25758 fi
25759
25760 LD="$acl_cv_path_LD"
25761 if test -n "$LD"; then
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25763 $as_echo "$LD" >&6; }
25764 else
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25766 $as_echo "no" >&6; }
25767 fi
25768 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25770 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25771 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25772 $as_echo_n "(cached) " >&6
25773 else
25774 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25775 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25776 acl_cv_prog_gnu_ld=yes
25777 else
25778 acl_cv_prog_gnu_ld=no
25779 fi
25780 fi
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25782 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25783 with_gnu_ld=$acl_cv_prog_gnu_ld
25784
25785
25786
25787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25788 $as_echo_n "checking for shared library run path origin... " >&6; }
25789 if test "${acl_cv_rpath+set}" = set; then :
25790 $as_echo_n "(cached) " >&6
25791 else
25792
25793 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25794 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25795 . ./conftest.sh
25796 rm -f ./conftest.sh
25797 acl_cv_rpath=done
25798
25799 fi
25800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25801 $as_echo "$acl_cv_rpath" >&6; }
25802 wl="$acl_cv_wl"
25803 libext="$acl_cv_libext"
25804 shlibext="$acl_cv_shlibext"
25805 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25806 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25807 hardcode_direct="$acl_cv_hardcode_direct"
25808 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25809 # Check whether --enable-rpath was given.
25810 if test "${enable_rpath+set}" = set; then :
25811 enableval=$enable_rpath; :
25812 else
25813 enable_rpath=yes
25814 fi
25815
25816
25817
25818
25819
25820
25821
25822
25823 use_additional=yes
25824
25825 acl_save_prefix="$prefix"
25826 prefix="$acl_final_prefix"
25827 acl_save_exec_prefix="$exec_prefix"
25828 exec_prefix="$acl_final_exec_prefix"
25829
25830 eval additional_includedir=\"$includedir\"
25831 eval additional_libdir=\"$libdir\"
25832
25833 exec_prefix="$acl_save_exec_prefix"
25834 prefix="$acl_save_prefix"
25835
25836
25837 # Check whether --with-libiconv-prefix was given.
25838 if test "${with_libiconv_prefix+set}" = set; then :
25839 withval=$with_libiconv_prefix;
25840 if test "X$withval" = "Xno"; then
25841 use_additional=no
25842 else
25843 if test "X$withval" = "X"; then
25844
25845 acl_save_prefix="$prefix"
25846 prefix="$acl_final_prefix"
25847 acl_save_exec_prefix="$exec_prefix"
25848 exec_prefix="$acl_final_exec_prefix"
25849
25850 eval additional_includedir=\"$includedir\"
25851 eval additional_libdir=\"$libdir\"
25852
25853 exec_prefix="$acl_save_exec_prefix"
25854 prefix="$acl_save_prefix"
25855
25856 else
25857 additional_includedir="$withval/include"
25858 additional_libdir="$withval/lib"
25859 fi
25860 fi
25861
25862 fi
25863
25864 LIBICONV=
25865 LTLIBICONV=
25866 INCICONV=
25867 rpathdirs=
25868 ltrpathdirs=
25869 names_already_handled=
25870 names_next_round='iconv '
25871 while test -n "$names_next_round"; do
25872 names_this_round="$names_next_round"
25873 names_next_round=
25874 for name in $names_this_round; do
25875 already_handled=
25876 for n in $names_already_handled; do
25877 if test "$n" = "$name"; then
25878 already_handled=yes
25879 break
25880 fi
25881 done
25882 if test -z "$already_handled"; then
25883 names_already_handled="$names_already_handled $name"
25884 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25885 eval value=\"\$HAVE_LIB$uppername\"
25886 if test -n "$value"; then
25887 if test "$value" = yes; then
25888 eval value=\"\$LIB$uppername\"
25889 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25890 eval value=\"\$LTLIB$uppername\"
25891 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25892 else
25893 :
25894 fi
25895 else
25896 found_dir=
25897 found_la=
25898 found_so=
25899 found_a=
25900 if test $use_additional = yes; then
25901 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25902 found_dir="$additional_libdir"
25903 found_so="$additional_libdir/lib$name.$shlibext"
25904 if test -f "$additional_libdir/lib$name.la"; then
25905 found_la="$additional_libdir/lib$name.la"
25906 fi
25907 else
25908 if test -f "$additional_libdir/lib$name.$libext"; then
25909 found_dir="$additional_libdir"
25910 found_a="$additional_libdir/lib$name.$libext"
25911 if test -f "$additional_libdir/lib$name.la"; then
25912 found_la="$additional_libdir/lib$name.la"
25913 fi
25914 fi
25915 fi
25916 fi
25917 if test "X$found_dir" = "X"; then
25918 for x in $LDFLAGS $LTLIBICONV; do
25919
25920 acl_save_prefix="$prefix"
25921 prefix="$acl_final_prefix"
25922 acl_save_exec_prefix="$exec_prefix"
25923 exec_prefix="$acl_final_exec_prefix"
25924 eval x=\"$x\"
25925 exec_prefix="$acl_save_exec_prefix"
25926 prefix="$acl_save_prefix"
25927
25928 case "$x" in
25929 -L*)
25930 dir=`echo "X$x" | sed -e 's/^X-L//'`
25931 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25932 found_dir="$dir"
25933 found_so="$dir/lib$name.$shlibext"
25934 if test -f "$dir/lib$name.la"; then
25935 found_la="$dir/lib$name.la"
25936 fi
25937 else
25938 if test -f "$dir/lib$name.$libext"; then
25939 found_dir="$dir"
25940 found_a="$dir/lib$name.$libext"
25941 if test -f "$dir/lib$name.la"; then
25942 found_la="$dir/lib$name.la"
25943 fi
25944 fi
25945 fi
25946 ;;
25947 esac
25948 if test "X$found_dir" != "X"; then
25949 break
25950 fi
25951 done
25952 fi
25953 if test "X$found_dir" != "X"; then
25954 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25955 if test "X$found_so" != "X"; then
25956 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25957 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25958 else
25959 haveit=
25960 for x in $ltrpathdirs; do
25961 if test "X$x" = "X$found_dir"; then
25962 haveit=yes
25963 break
25964 fi
25965 done
25966 if test -z "$haveit"; then
25967 ltrpathdirs="$ltrpathdirs $found_dir"
25968 fi
25969 if test "$hardcode_direct" = yes; then
25970 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25971 else
25972 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25973 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25974 haveit=
25975 for x in $rpathdirs; do
25976 if test "X$x" = "X$found_dir"; then
25977 haveit=yes
25978 break
25979 fi
25980 done
25981 if test -z "$haveit"; then
25982 rpathdirs="$rpathdirs $found_dir"
25983 fi
25984 else
25985 haveit=
25986 for x in $LDFLAGS $LIBICONV; do
25987
25988 acl_save_prefix="$prefix"
25989 prefix="$acl_final_prefix"
25990 acl_save_exec_prefix="$exec_prefix"
25991 exec_prefix="$acl_final_exec_prefix"
25992 eval x=\"$x\"
25993 exec_prefix="$acl_save_exec_prefix"
25994 prefix="$acl_save_prefix"
25995
25996 if test "X$x" = "X-L$found_dir"; then
25997 haveit=yes
25998 break
25999 fi
26000 done
26001 if test -z "$haveit"; then
26002 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26003 fi
26004 if test "$hardcode_minus_L" != no; then
26005 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26006 else
26007 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26008 fi
26009 fi
26010 fi
26011 fi
26012 else
26013 if test "X$found_a" != "X"; then
26014 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26015 else
26016 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26017 fi
26018 fi
26019 additional_includedir=
26020 case "$found_dir" in
26021 */lib | */lib/)
26022 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26023 additional_includedir="$basedir/include"
26024 ;;
26025 esac
26026 if test "X$additional_includedir" != "X"; then
26027 if test "X$additional_includedir" != "X/usr/include"; then
26028 haveit=
26029 if test "X$additional_includedir" = "X/usr/local/include"; then
26030 if test -n "$GCC"; then
26031 case $host_os in
26032 linux*) haveit=yes;;
26033 esac
26034 fi
26035 fi
26036 if test -z "$haveit"; then
26037 for x in $CPPFLAGS $INCICONV; do
26038
26039 acl_save_prefix="$prefix"
26040 prefix="$acl_final_prefix"
26041 acl_save_exec_prefix="$exec_prefix"
26042 exec_prefix="$acl_final_exec_prefix"
26043 eval x=\"$x\"
26044 exec_prefix="$acl_save_exec_prefix"
26045 prefix="$acl_save_prefix"
26046
26047 if test "X$x" = "X-I$additional_includedir"; then
26048 haveit=yes
26049 break
26050 fi
26051 done
26052 if test -z "$haveit"; then
26053 if test -d "$additional_includedir"; then
26054 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26055 fi
26056 fi
26057 fi
26058 fi
26059 fi
26060 if test -n "$found_la"; then
26061 save_libdir="$libdir"
26062 case "$found_la" in
26063 */* | *\\*) . "$found_la" ;;
26064 *) . "./$found_la" ;;
26065 esac
26066 libdir="$save_libdir"
26067 for dep in $dependency_libs; do
26068 case "$dep" in
26069 -L*)
26070 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26071 if test "X$additional_libdir" != "X/usr/lib"; then
26072 haveit=
26073 if test "X$additional_libdir" = "X/usr/local/lib"; then
26074 if test -n "$GCC"; then
26075 case $host_os in
26076 linux*) haveit=yes;;
26077 esac
26078 fi
26079 fi
26080 if test -z "$haveit"; then
26081 haveit=
26082 for x in $LDFLAGS $LIBICONV; do
26083
26084 acl_save_prefix="$prefix"
26085 prefix="$acl_final_prefix"
26086 acl_save_exec_prefix="$exec_prefix"
26087 exec_prefix="$acl_final_exec_prefix"
26088 eval x=\"$x\"
26089 exec_prefix="$acl_save_exec_prefix"
26090 prefix="$acl_save_prefix"
26091
26092 if test "X$x" = "X-L$additional_libdir"; then
26093 haveit=yes
26094 break
26095 fi
26096 done
26097 if test -z "$haveit"; then
26098 if test -d "$additional_libdir"; then
26099 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26100 fi
26101 fi
26102 haveit=
26103 for x in $LDFLAGS $LTLIBICONV; do
26104
26105 acl_save_prefix="$prefix"
26106 prefix="$acl_final_prefix"
26107 acl_save_exec_prefix="$exec_prefix"
26108 exec_prefix="$acl_final_exec_prefix"
26109 eval x=\"$x\"
26110 exec_prefix="$acl_save_exec_prefix"
26111 prefix="$acl_save_prefix"
26112
26113 if test "X$x" = "X-L$additional_libdir"; then
26114 haveit=yes
26115 break
26116 fi
26117 done
26118 if test -z "$haveit"; then
26119 if test -d "$additional_libdir"; then
26120 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26121 fi
26122 fi
26123 fi
26124 fi
26125 ;;
26126 -R*)
26127 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26128 if test "$enable_rpath" != no; then
26129 haveit=
26130 for x in $rpathdirs; do
26131 if test "X$x" = "X$dir"; then
26132 haveit=yes
26133 break
26134 fi
26135 done
26136 if test -z "$haveit"; then
26137 rpathdirs="$rpathdirs $dir"
26138 fi
26139 haveit=
26140 for x in $ltrpathdirs; do
26141 if test "X$x" = "X$dir"; then
26142 haveit=yes
26143 break
26144 fi
26145 done
26146 if test -z "$haveit"; then
26147 ltrpathdirs="$ltrpathdirs $dir"
26148 fi
26149 fi
26150 ;;
26151 -l*)
26152 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26153 ;;
26154 *.la)
26155 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26156 ;;
26157 *)
26158 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26159 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26160 ;;
26161 esac
26162 done
26163 fi
26164 else
26165 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26166 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26167 fi
26168 fi
26169 fi
26170 done
26171 done
26172 if test "X$rpathdirs" != "X"; then
26173 if test -n "$hardcode_libdir_separator"; then
26174 alldirs=
26175 for found_dir in $rpathdirs; do
26176 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26177 done
26178 acl_save_libdir="$libdir"
26179 libdir="$alldirs"
26180 eval flag=\"$hardcode_libdir_flag_spec\"
26181 libdir="$acl_save_libdir"
26182 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26183 else
26184 for found_dir in $rpathdirs; do
26185 acl_save_libdir="$libdir"
26186 libdir="$found_dir"
26187 eval flag=\"$hardcode_libdir_flag_spec\"
26188 libdir="$acl_save_libdir"
26189 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26190 done
26191 fi
26192 fi
26193 if test "X$ltrpathdirs" != "X"; then
26194 for found_dir in $ltrpathdirs; do
26195 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26196 done
26197 fi
26198
26199
26200
26201
26202
26203
26204
26205 am_save_CPPFLAGS="$CPPFLAGS"
26206
26207 for element in $INCICONV; do
26208 haveit=
26209 for x in $CPPFLAGS; do
26210
26211 acl_save_prefix="$prefix"
26212 prefix="$acl_final_prefix"
26213 acl_save_exec_prefix="$exec_prefix"
26214 exec_prefix="$acl_final_exec_prefix"
26215 eval x=\"$x\"
26216 exec_prefix="$acl_save_exec_prefix"
26217 prefix="$acl_save_prefix"
26218
26219 if test "X$x" = "X$element"; then
26220 haveit=yes
26221 break
26222 fi
26223 done
26224 if test -z "$haveit"; then
26225 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26226 fi
26227 done
26228
26229
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26231 $as_echo_n "checking for iconv... " >&6; }
26232 if test "${am_cv_func_iconv+set}" = set; then :
26233 $as_echo_n "(cached) " >&6
26234 else
26235
26236 am_cv_func_iconv="no, consider installing GNU libiconv"
26237 am_cv_lib_iconv=no
26238 if test x$gcc_no_link = xyes; then
26239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26240 fi
26241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26243 #include <stdlib.h>
26244 #include <iconv.h>
26245 int
26246 main ()
26247 {
26248 iconv_t cd = iconv_open("","");
26249 iconv(cd,NULL,NULL,NULL,NULL);
26250 iconv_close(cd);
26251 ;
26252 return 0;
26253 }
26254 _ACEOF
26255 if ac_fn_c_try_link "$LINENO"; then :
26256 am_cv_func_iconv=yes
26257 fi
26258 rm -f core conftest.err conftest.$ac_objext \
26259 conftest$ac_exeext conftest.$ac_ext
26260 if test "$am_cv_func_iconv" != yes; then
26261 am_save_LIBS="$LIBS"
26262 LIBS="$LIBS $LIBICONV"
26263 if test x$gcc_no_link = xyes; then
26264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26265 fi
26266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26267 /* end confdefs.h. */
26268 #include <stdlib.h>
26269 #include <iconv.h>
26270 int
26271 main ()
26272 {
26273 iconv_t cd = iconv_open("","");
26274 iconv(cd,NULL,NULL,NULL,NULL);
26275 iconv_close(cd);
26276 ;
26277 return 0;
26278 }
26279 _ACEOF
26280 if ac_fn_c_try_link "$LINENO"; then :
26281 am_cv_lib_iconv=yes
26282 am_cv_func_iconv=yes
26283 fi
26284 rm -f core conftest.err conftest.$ac_objext \
26285 conftest$ac_exeext conftest.$ac_ext
26286 LIBS="$am_save_LIBS"
26287 fi
26288
26289 fi
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26291 $as_echo "$am_cv_func_iconv" >&6; }
26292 if test "$am_cv_func_iconv" = yes; then
26293
26294 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26295
26296 fi
26297 if test "$am_cv_lib_iconv" = yes; then
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26299 $as_echo_n "checking how to link with libiconv... " >&6; }
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26301 $as_echo "$LIBICONV" >&6; }
26302 else
26303 CPPFLAGS="$am_save_CPPFLAGS"
26304 LIBICONV=
26305 LTLIBICONV=
26306 fi
26307
26308
26309
26310 if test "$am_cv_func_iconv" = yes; then
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26312 $as_echo_n "checking for iconv declaration... " >&6; }
26313 if test "${am_cv_proto_iconv+set}" = set; then :
26314 $as_echo_n "(cached) " >&6
26315 else
26316
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319
26320 #include <stdlib.h>
26321 #include <iconv.h>
26322 extern
26323 #ifdef __cplusplus
26324 "C"
26325 #endif
26326 #if defined(__STDC__) || defined(__cplusplus)
26327 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26328 #else
26329 size_t iconv();
26330 #endif
26331
26332 int
26333 main ()
26334 {
26335
26336 ;
26337 return 0;
26338 }
26339 _ACEOF
26340 if ac_fn_c_try_compile "$LINENO"; then :
26341 am_cv_proto_iconv_arg1=""
26342 else
26343 am_cv_proto_iconv_arg1="const"
26344 fi
26345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26346 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);"
26347 fi
26348
26349 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26351 }$am_cv_proto_iconv" >&5
26352 $as_echo "${ac_t:-
26353 }$am_cv_proto_iconv" >&6; }
26354
26355 cat >>confdefs.h <<_ACEOF
26356 #define ICONV_CONST $am_cv_proto_iconv_arg1
26357 _ACEOF
26358
26359 fi
26360
26361
26362 else
26363
26364 # This lets us hard-code the functionality we know we'll have in the cross
26365 # target environment. "Let" is a sugar-coated word placed on an especially
26366 # dull and tedious hack, actually.
26367 #
26368 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26369 # that involve linking, can't be used:
26370 # "cannot open sim-crt0.o"
26371 # "cannot open crt0.o"
26372 # etc. All this is because there currently exists no unified, consistent
26373 # way for top level CC information to be passed down to target directories:
26374 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26375 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26376 # crosses can be removed.
26377
26378 # If Canadian cross, then don't pick up tools from the build directory.
26379 # Used only in GLIBCXX_EXPORT_INCLUDES.
26380 if test -n "$with_cross_host" &&
26381 test x"$build_alias" != x"$with_cross_host" &&
26382 test x"$build" != x"$target";
26383 then
26384 CANADIAN=yes
26385 else
26386 CANADIAN=no
26387 fi
26388
26389 # Construct crosses by hand, eliminating bits that need ld...
26390 # GLIBCXX_CHECK_MATH_SUPPORT
26391
26392 # First, test for "known" system libraries. We may be using newlib even
26393 # on a hosted environment.
26394 if test "x${with_newlib}" = "xyes"; then
26395 os_include_dir="os/newlib"
26396 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26397
26398
26399 # GLIBCXX_CHECK_STDLIB_SUPPORT
26400 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26401
26402
26403 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26404
26405 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26406
26407 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26408
26409 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26410
26411 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26412
26413 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26414
26415 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26416
26417 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26418
26419 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26420
26421 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26422
26423 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26424
26425 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26426
26427 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26428
26429 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26430
26431 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26432
26433 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26434
26435 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26436
26437 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26438
26439 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26440
26441 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26442
26443 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26444
26445 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26446
26447
26448 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26449
26450 else
26451
26452 # Base decisions on target environment.
26453 case "${host}" in
26454 arm*-*-symbianelf*)
26455 # This is a freestanding configuration; there is nothing to do here.
26456 ;;
26457
26458 mips*-sde-elf*)
26459 # These definitions are for the SDE C library rather than newlib.
26460 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26461
26462
26463 # All these tests are for C++; save the language and the compiler flags.
26464 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26465 # found in GLIBCXX_CONFIGURE.
26466
26467 ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26472
26473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26474 ac_save_CXXFLAGS="$CXXFLAGS"
26475
26476 # Check for maintainer-mode bits.
26477 if test x"$USE_MAINTAINER_MODE" = xno; then
26478 WERROR=''
26479 else
26480 WERROR='-Werror'
26481 fi
26482
26483 # Check for -ffunction-sections -fdata-sections
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26485 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26486 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26489 int foo; void bar() { };
26490 int
26491 main ()
26492 {
26493
26494 ;
26495 return 0;
26496 }
26497 _ACEOF
26498 if ac_fn_cxx_try_compile "$LINENO"; then :
26499 ac_fdsections=yes
26500 else
26501 ac_fdsections=no
26502 fi
26503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26504 if test "$ac_test_CXXFLAGS" = set; then
26505 CXXFLAGS="$ac_save_CXXFLAGS"
26506 else
26507 # this is the suspicious part
26508 CXXFLAGS=''
26509 fi
26510 if test x"$ac_fdsections" = x"yes"; then
26511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26512 fi
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26514 $as_echo "$ac_fdsections" >&6; }
26515
26516 ac_ext=c
26517 ac_cpp='$CPP $CPPFLAGS'
26518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26521
26522
26523
26524
26525
26526 # If we're not using GNU ld, then there's no point in even trying these
26527 # tests. Check for that first. We should have already tested for gld
26528 # by now (in libtool), but require it now just to be safe...
26529 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26530 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26531
26532
26533
26534 # The name set by libtool depends on the version of libtool. Shame on us
26535 # for depending on an impl detail, but c'est la vie. Older versions used
26536 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26537 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26538 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26539 # set (hence we're using an older libtool), then set it.
26540 if test x${with_gnu_ld+set} != xset; then
26541 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26542 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26543 with_gnu_ld=no
26544 else
26545 with_gnu_ld=$ac_cv_prog_gnu_ld
26546 fi
26547 fi
26548
26549 # Start by getting the version number. I think the libtool test already
26550 # does some of this, but throws away the result.
26551 glibcxx_ld_is_gold=no
26552 if test x"$with_gnu_ld" = x"yes"; then
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26554 $as_echo_n "checking for ld version... " >&6; }
26555
26556 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26557 glibcxx_ld_is_gold=yes
26558 fi
26559 ldver=`$LD --version 2>/dev/null |
26560 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'`
26561
26562 glibcxx_gnu_ld_version=`echo $ldver | \
26563 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26565 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26566 fi
26567
26568 # Set --gc-sections.
26569 glibcxx_have_gc_sections=no
26570 if test "$glibcxx_ld_is_gold" = "yes"; then
26571 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26572 glibcxx_have_gc_sections=yes
26573 fi
26574 else
26575 glibcxx_gcsections_min_ld=21602
26576 if test x"$with_gnu_ld" = x"yes" &&
26577 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26578 glibcxx_have_gc_sections=yes
26579 fi
26580 fi
26581 if test "$glibcxx_have_gc_sections" = "yes"; then
26582 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26583 # NB: This flag only works reliably after 2.16.1. Configure tests
26584 # for this are difficult, so hard wire a value that should work.
26585
26586 ac_test_CFLAGS="${CFLAGS+set}"
26587 ac_save_CFLAGS="$CFLAGS"
26588 CFLAGS='-Wl,--gc-sections'
26589
26590 # Check for -Wl,--gc-sections
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26592 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26593 if test x$gcc_no_link = xyes; then
26594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26595 fi
26596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26597 /* end confdefs.h. */
26598 int one(void) { return 1; }
26599 int two(void) { return 2; }
26600
26601 int
26602 main ()
26603 {
26604 two();
26605 ;
26606 return 0;
26607 }
26608 _ACEOF
26609 if ac_fn_c_try_link "$LINENO"; then :
26610 ac_gcsections=yes
26611 else
26612 ac_gcsections=no
26613 fi
26614 rm -f core conftest.err conftest.$ac_objext \
26615 conftest$ac_exeext conftest.$ac_ext
26616 if test "$ac_gcsections" = "yes"; then
26617 rm -f conftest.c
26618 touch conftest.c
26619 if $CC -c conftest.c; then
26620 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26621 grep "Warning: gc-sections option ignored" > /dev/null; then
26622 ac_gcsections=no
26623 fi
26624 fi
26625 rm -f conftest.c conftest.o conftest
26626 fi
26627 if test "$ac_gcsections" = "yes"; then
26628 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26629 fi
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26631 $as_echo "$ac_gcsections" >&6; }
26632
26633 if test "$ac_test_CFLAGS" = set; then
26634 CFLAGS="$ac_save_CFLAGS"
26635 else
26636 # this is the suspicious part
26637 CFLAGS=''
26638 fi
26639 fi
26640
26641 # Set -z,relro.
26642 # Note this is only for shared objects.
26643 ac_ld_relro=no
26644 if test x"$with_gnu_ld" = x"yes"; then
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26646 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26647 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26648 if test -n "$cxx_z_relo"; then
26649 OPT_LDFLAGS="-Wl,-z,relro"
26650 ac_ld_relro=yes
26651 fi
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26653 $as_echo "$ac_ld_relro" >&6; }
26654 fi
26655
26656 # Set linker optimization flags.
26657 if test x"$with_gnu_ld" = x"yes"; then
26658 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26659 fi
26660
26661
26662
26663
26664
26665 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26666 ac_save_CXXFLAGS="$CXXFLAGS"
26667 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26668
26669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26670 $as_echo_n "checking for sin in -lm... " >&6; }
26671 if test "${ac_cv_lib_m_sin+set}" = set; then :
26672 $as_echo_n "(cached) " >&6
26673 else
26674 ac_check_lib_save_LIBS=$LIBS
26675 LIBS="-lm $LIBS"
26676 if test x$gcc_no_link = xyes; then
26677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26678 fi
26679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26680 /* end confdefs.h. */
26681
26682 /* Override any GCC internal prototype to avoid an error.
26683 Use char because int might match the return type of a GCC
26684 builtin and then its argument prototype would still apply. */
26685 #ifdef __cplusplus
26686 extern "C"
26687 #endif
26688 char sin ();
26689 int
26690 main ()
26691 {
26692 return sin ();
26693 ;
26694 return 0;
26695 }
26696 _ACEOF
26697 if ac_fn_c_try_link "$LINENO"; then :
26698 ac_cv_lib_m_sin=yes
26699 else
26700 ac_cv_lib_m_sin=no
26701 fi
26702 rm -f core conftest.err conftest.$ac_objext \
26703 conftest$ac_exeext conftest.$ac_ext
26704 LIBS=$ac_check_lib_save_LIBS
26705 fi
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26707 $as_echo "$ac_cv_lib_m_sin" >&6; }
26708 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26709 libm="-lm"
26710 fi
26711
26712 ac_save_LIBS="$LIBS"
26713 LIBS="$LIBS $libm"
26714
26715
26716
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26718 $as_echo_n "checking for isinf declaration... " >&6; }
26719 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26720 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26721 $as_echo_n "(cached) " >&6
26722 else
26723
26724
26725 ac_ext=cpp
26726 ac_cpp='$CXXCPP $CPPFLAGS'
26727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26730
26731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 /* end confdefs.h. */
26733 #include <math.h>
26734 #ifdef HAVE_IEEEFP_H
26735 #include <ieeefp.h>
26736 #endif
26737
26738 int
26739 main ()
26740 {
26741 isinf(0);
26742 ;
26743 return 0;
26744 }
26745 _ACEOF
26746 if ac_fn_cxx_try_compile "$LINENO"; then :
26747 glibcxx_cv_func_isinf_use=yes
26748 else
26749 glibcxx_cv_func_isinf_use=no
26750 fi
26751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26752 ac_ext=c
26753 ac_cpp='$CPP $CPPFLAGS'
26754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26757
26758
26759 fi
26760
26761 fi
26762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26763 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26764
26765 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26766 for ac_func in isinf
26767 do :
26768 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26769 if test "x$ac_cv_func_isinf" = x""yes; then :
26770 cat >>confdefs.h <<_ACEOF
26771 #define HAVE_ISINF 1
26772 _ACEOF
26773
26774 fi
26775 done
26776
26777 else
26778
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26780 $as_echo_n "checking for _isinf declaration... " >&6; }
26781 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26782 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26783 $as_echo_n "(cached) " >&6
26784 else
26785
26786
26787 ac_ext=cpp
26788 ac_cpp='$CXXCPP $CPPFLAGS'
26789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26792
26793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26794 /* end confdefs.h. */
26795 #include <math.h>
26796 #ifdef HAVE_IEEEFP_H
26797 #include <ieeefp.h>
26798 #endif
26799
26800 int
26801 main ()
26802 {
26803 _isinf(0);
26804 ;
26805 return 0;
26806 }
26807 _ACEOF
26808 if ac_fn_cxx_try_compile "$LINENO"; then :
26809 glibcxx_cv_func__isinf_use=yes
26810 else
26811 glibcxx_cv_func__isinf_use=no
26812 fi
26813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26814 ac_ext=c
26815 ac_cpp='$CPP $CPPFLAGS'
26816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26819
26820
26821 fi
26822
26823 fi
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26825 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26826
26827 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26828 for ac_func in _isinf
26829 do :
26830 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26831 if test "x$ac_cv_func__isinf" = x""yes; then :
26832 cat >>confdefs.h <<_ACEOF
26833 #define HAVE__ISINF 1
26834 _ACEOF
26835
26836 fi
26837 done
26838
26839 fi
26840 fi
26841
26842
26843
26844
26845
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26847 $as_echo_n "checking for isnan declaration... " >&6; }
26848 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26849 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26850 $as_echo_n "(cached) " >&6
26851 else
26852
26853
26854 ac_ext=cpp
26855 ac_cpp='$CXXCPP $CPPFLAGS'
26856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26859
26860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26861 /* end confdefs.h. */
26862 #include <math.h>
26863 #ifdef HAVE_IEEEFP_H
26864 #include <ieeefp.h>
26865 #endif
26866
26867 int
26868 main ()
26869 {
26870 isnan(0);
26871 ;
26872 return 0;
26873 }
26874 _ACEOF
26875 if ac_fn_cxx_try_compile "$LINENO"; then :
26876 glibcxx_cv_func_isnan_use=yes
26877 else
26878 glibcxx_cv_func_isnan_use=no
26879 fi
26880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26881 ac_ext=c
26882 ac_cpp='$CPP $CPPFLAGS'
26883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26886
26887
26888 fi
26889
26890 fi
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26892 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26893
26894 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26895 for ac_func in isnan
26896 do :
26897 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26898 if test "x$ac_cv_func_isnan" = x""yes; then :
26899 cat >>confdefs.h <<_ACEOF
26900 #define HAVE_ISNAN 1
26901 _ACEOF
26902
26903 fi
26904 done
26905
26906 else
26907
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26909 $as_echo_n "checking for _isnan declaration... " >&6; }
26910 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26911 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26912 $as_echo_n "(cached) " >&6
26913 else
26914
26915
26916 ac_ext=cpp
26917 ac_cpp='$CXXCPP $CPPFLAGS'
26918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26921
26922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26923 /* end confdefs.h. */
26924 #include <math.h>
26925 #ifdef HAVE_IEEEFP_H
26926 #include <ieeefp.h>
26927 #endif
26928
26929 int
26930 main ()
26931 {
26932 _isnan(0);
26933 ;
26934 return 0;
26935 }
26936 _ACEOF
26937 if ac_fn_cxx_try_compile "$LINENO"; then :
26938 glibcxx_cv_func__isnan_use=yes
26939 else
26940 glibcxx_cv_func__isnan_use=no
26941 fi
26942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26943 ac_ext=c
26944 ac_cpp='$CPP $CPPFLAGS'
26945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26948
26949
26950 fi
26951
26952 fi
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26954 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26955
26956 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26957 for ac_func in _isnan
26958 do :
26959 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26960 if test "x$ac_cv_func__isnan" = x""yes; then :
26961 cat >>confdefs.h <<_ACEOF
26962 #define HAVE__ISNAN 1
26963 _ACEOF
26964
26965 fi
26966 done
26967
26968 fi
26969 fi
26970
26971
26972
26973
26974
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26976 $as_echo_n "checking for finite declaration... " >&6; }
26977 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26978 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26979 $as_echo_n "(cached) " >&6
26980 else
26981
26982
26983 ac_ext=cpp
26984 ac_cpp='$CXXCPP $CPPFLAGS'
26985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26988
26989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26990 /* end confdefs.h. */
26991 #include <math.h>
26992 #ifdef HAVE_IEEEFP_H
26993 #include <ieeefp.h>
26994 #endif
26995
26996 int
26997 main ()
26998 {
26999 finite(0);
27000 ;
27001 return 0;
27002 }
27003 _ACEOF
27004 if ac_fn_cxx_try_compile "$LINENO"; then :
27005 glibcxx_cv_func_finite_use=yes
27006 else
27007 glibcxx_cv_func_finite_use=no
27008 fi
27009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27010 ac_ext=c
27011 ac_cpp='$CPP $CPPFLAGS'
27012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27015
27016
27017 fi
27018
27019 fi
27020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27021 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27022
27023 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27024 for ac_func in finite
27025 do :
27026 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27027 if test "x$ac_cv_func_finite" = x""yes; then :
27028 cat >>confdefs.h <<_ACEOF
27029 #define HAVE_FINITE 1
27030 _ACEOF
27031
27032 fi
27033 done
27034
27035 else
27036
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27038 $as_echo_n "checking for _finite declaration... " >&6; }
27039 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27040 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27041 $as_echo_n "(cached) " >&6
27042 else
27043
27044
27045 ac_ext=cpp
27046 ac_cpp='$CXXCPP $CPPFLAGS'
27047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27050
27051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27052 /* end confdefs.h. */
27053 #include <math.h>
27054 #ifdef HAVE_IEEEFP_H
27055 #include <ieeefp.h>
27056 #endif
27057
27058 int
27059 main ()
27060 {
27061 _finite(0);
27062 ;
27063 return 0;
27064 }
27065 _ACEOF
27066 if ac_fn_cxx_try_compile "$LINENO"; then :
27067 glibcxx_cv_func__finite_use=yes
27068 else
27069 glibcxx_cv_func__finite_use=no
27070 fi
27071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27072 ac_ext=c
27073 ac_cpp='$CPP $CPPFLAGS'
27074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27077
27078
27079 fi
27080
27081 fi
27082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27083 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27084
27085 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27086 for ac_func in _finite
27087 do :
27088 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27089 if test "x$ac_cv_func__finite" = x""yes; then :
27090 cat >>confdefs.h <<_ACEOF
27091 #define HAVE__FINITE 1
27092 _ACEOF
27093
27094 fi
27095 done
27096
27097 fi
27098 fi
27099
27100
27101
27102
27103
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27105 $as_echo_n "checking for sincos declaration... " >&6; }
27106 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27107 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27108 $as_echo_n "(cached) " >&6
27109 else
27110
27111
27112 ac_ext=cpp
27113 ac_cpp='$CXXCPP $CPPFLAGS'
27114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27117
27118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27119 /* end confdefs.h. */
27120 #include <math.h>
27121 int
27122 main ()
27123 {
27124 sincos(0, 0, 0);
27125 ;
27126 return 0;
27127 }
27128 _ACEOF
27129 if ac_fn_cxx_try_compile "$LINENO"; then :
27130 glibcxx_cv_func_sincos_use=yes
27131 else
27132 glibcxx_cv_func_sincos_use=no
27133 fi
27134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27135 ac_ext=c
27136 ac_cpp='$CPP $CPPFLAGS'
27137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27140
27141
27142 fi
27143
27144 fi
27145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27146 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27147
27148 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27149 for ac_func in sincos
27150 do :
27151 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27152 if test "x$ac_cv_func_sincos" = x""yes; then :
27153 cat >>confdefs.h <<_ACEOF
27154 #define HAVE_SINCOS 1
27155 _ACEOF
27156
27157 fi
27158 done
27159
27160 else
27161
27162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27163 $as_echo_n "checking for _sincos declaration... " >&6; }
27164 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27165 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27166 $as_echo_n "(cached) " >&6
27167 else
27168
27169
27170 ac_ext=cpp
27171 ac_cpp='$CXXCPP $CPPFLAGS'
27172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27175
27176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27177 /* end confdefs.h. */
27178 #include <math.h>
27179 int
27180 main ()
27181 {
27182 _sincos(0, 0, 0);
27183 ;
27184 return 0;
27185 }
27186 _ACEOF
27187 if ac_fn_cxx_try_compile "$LINENO"; then :
27188 glibcxx_cv_func__sincos_use=yes
27189 else
27190 glibcxx_cv_func__sincos_use=no
27191 fi
27192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27193 ac_ext=c
27194 ac_cpp='$CPP $CPPFLAGS'
27195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27198
27199
27200 fi
27201
27202 fi
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27204 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27205
27206 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27207 for ac_func in _sincos
27208 do :
27209 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27210 if test "x$ac_cv_func__sincos" = x""yes; then :
27211 cat >>confdefs.h <<_ACEOF
27212 #define HAVE__SINCOS 1
27213 _ACEOF
27214
27215 fi
27216 done
27217
27218 fi
27219 fi
27220
27221
27222
27223
27224
27225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27226 $as_echo_n "checking for fpclass declaration... " >&6; }
27227 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27228 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27229 $as_echo_n "(cached) " >&6
27230 else
27231
27232
27233 ac_ext=cpp
27234 ac_cpp='$CXXCPP $CPPFLAGS'
27235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27238
27239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27240 /* end confdefs.h. */
27241 #include <math.h>
27242 #ifdef HAVE_IEEEFP_H
27243 #include <ieeefp.h>
27244 #endif
27245
27246 int
27247 main ()
27248 {
27249 fpclass(0);
27250 ;
27251 return 0;
27252 }
27253 _ACEOF
27254 if ac_fn_cxx_try_compile "$LINENO"; then :
27255 glibcxx_cv_func_fpclass_use=yes
27256 else
27257 glibcxx_cv_func_fpclass_use=no
27258 fi
27259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27260 ac_ext=c
27261 ac_cpp='$CPP $CPPFLAGS'
27262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27265
27266
27267 fi
27268
27269 fi
27270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27271 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27272
27273 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27274 for ac_func in fpclass
27275 do :
27276 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27277 if test "x$ac_cv_func_fpclass" = x""yes; then :
27278 cat >>confdefs.h <<_ACEOF
27279 #define HAVE_FPCLASS 1
27280 _ACEOF
27281
27282 fi
27283 done
27284
27285 else
27286
27287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27288 $as_echo_n "checking for _fpclass declaration... " >&6; }
27289 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27290 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27291 $as_echo_n "(cached) " >&6
27292 else
27293
27294
27295 ac_ext=cpp
27296 ac_cpp='$CXXCPP $CPPFLAGS'
27297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27300
27301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27302 /* end confdefs.h. */
27303 #include <math.h>
27304 #ifdef HAVE_IEEEFP_H
27305 #include <ieeefp.h>
27306 #endif
27307
27308 int
27309 main ()
27310 {
27311 _fpclass(0);
27312 ;
27313 return 0;
27314 }
27315 _ACEOF
27316 if ac_fn_cxx_try_compile "$LINENO"; then :
27317 glibcxx_cv_func__fpclass_use=yes
27318 else
27319 glibcxx_cv_func__fpclass_use=no
27320 fi
27321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27322 ac_ext=c
27323 ac_cpp='$CPP $CPPFLAGS'
27324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27327
27328
27329 fi
27330
27331 fi
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27333 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27334
27335 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27336 for ac_func in _fpclass
27337 do :
27338 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27339 if test "x$ac_cv_func__fpclass" = x""yes; then :
27340 cat >>confdefs.h <<_ACEOF
27341 #define HAVE__FPCLASS 1
27342 _ACEOF
27343
27344 fi
27345 done
27346
27347 fi
27348 fi
27349
27350
27351
27352
27353
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27355 $as_echo_n "checking for qfpclass declaration... " >&6; }
27356 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27357 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27358 $as_echo_n "(cached) " >&6
27359 else
27360
27361
27362 ac_ext=cpp
27363 ac_cpp='$CXXCPP $CPPFLAGS'
27364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27367
27368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27369 /* end confdefs.h. */
27370 #include <math.h>
27371 #ifdef HAVE_IEEEFP_H
27372 #include <ieeefp.h>
27373 #endif
27374
27375 int
27376 main ()
27377 {
27378 qfpclass(0);
27379 ;
27380 return 0;
27381 }
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_qfpclass_use=yes
27385 else
27386 glibcxx_cv_func_qfpclass_use=no
27387 fi
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27394
27395
27396 fi
27397
27398 fi
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27400 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27401
27402 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27403 for ac_func in qfpclass
27404 do :
27405 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27406 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_QFPCLASS 1
27409 _ACEOF
27410
27411 fi
27412 done
27413
27414 else
27415
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27417 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27418 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27419 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27422
27423
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27433 #ifdef HAVE_IEEEFP_H
27434 #include <ieeefp.h>
27435 #endif
27436
27437 int
27438 main ()
27439 {
27440 _qfpclass(0);
27441 ;
27442 return 0;
27443 }
27444 _ACEOF
27445 if ac_fn_cxx_try_compile "$LINENO"; then :
27446 glibcxx_cv_func__qfpclass_use=yes
27447 else
27448 glibcxx_cv_func__qfpclass_use=no
27449 fi
27450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27451 ac_ext=c
27452 ac_cpp='$CPP $CPPFLAGS'
27453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27456
27457
27458 fi
27459
27460 fi
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27462 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27463
27464 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27465 for ac_func in _qfpclass
27466 do :
27467 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27468 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27469 cat >>confdefs.h <<_ACEOF
27470 #define HAVE__QFPCLASS 1
27471 _ACEOF
27472
27473 fi
27474 done
27475
27476 fi
27477 fi
27478
27479
27480
27481
27482
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27484 $as_echo_n "checking for hypot declaration... " >&6; }
27485 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27486 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27487 $as_echo_n "(cached) " >&6
27488 else
27489
27490
27491 ac_ext=cpp
27492 ac_cpp='$CXXCPP $CPPFLAGS'
27493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27496
27497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27498 /* end confdefs.h. */
27499 #include <math.h>
27500 int
27501 main ()
27502 {
27503 hypot(0, 0);
27504 ;
27505 return 0;
27506 }
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_hypot_use=yes
27510 else
27511 glibcxx_cv_func_hypot_use=no
27512 fi
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27519
27520
27521 fi
27522
27523 fi
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27525 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27526
27527 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27528 for ac_func in hypot
27529 do :
27530 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27531 if test "x$ac_cv_func_hypot" = x""yes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_HYPOT 1
27534 _ACEOF
27535
27536 fi
27537 done
27538
27539 else
27540
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27542 $as_echo_n "checking for _hypot declaration... " >&6; }
27543 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27544 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27547
27548
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 int
27559 main ()
27560 {
27561 _hypot(0, 0);
27562 ;
27563 return 0;
27564 }
27565 _ACEOF
27566 if ac_fn_cxx_try_compile "$LINENO"; then :
27567 glibcxx_cv_func__hypot_use=yes
27568 else
27569 glibcxx_cv_func__hypot_use=no
27570 fi
27571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27572 ac_ext=c
27573 ac_cpp='$CPP $CPPFLAGS'
27574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27577
27578
27579 fi
27580
27581 fi
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27583 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27584
27585 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27586 for ac_func in _hypot
27587 do :
27588 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27589 if test "x$ac_cv_func__hypot" = x""yes; then :
27590 cat >>confdefs.h <<_ACEOF
27591 #define HAVE__HYPOT 1
27592 _ACEOF
27593
27594 fi
27595 done
27596
27597 fi
27598 fi
27599
27600
27601
27602
27603
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27605 $as_echo_n "checking for float trig functions... " >&6; }
27606 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27607 $as_echo_n "(cached) " >&6
27608 else
27609
27610
27611 ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27616
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27619 #include <math.h>
27620 int
27621 main ()
27622 {
27623 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27624 ;
27625 return 0;
27626 }
27627 _ACEOF
27628 if ac_fn_cxx_try_compile "$LINENO"; then :
27629 glibcxx_cv_func_float_trig_use=yes
27630 else
27631 glibcxx_cv_func_float_trig_use=no
27632 fi
27633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634 ac_ext=c
27635 ac_cpp='$CPP $CPPFLAGS'
27636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27639
27640 fi
27641
27642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27643 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27644 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27645 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27646 do :
27647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27649 eval as_val=\$$as_ac_var
27650 if test "x$as_val" = x""yes; then :
27651 cat >>confdefs.h <<_ACEOF
27652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27653 _ACEOF
27654
27655 fi
27656 done
27657
27658 else
27659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27660 $as_echo_n "checking for _float trig functions... " >&6; }
27661 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27662 $as_echo_n "(cached) " >&6
27663 else
27664
27665
27666 ac_ext=cpp
27667 ac_cpp='$CXXCPP $CPPFLAGS'
27668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27671
27672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27673 /* end confdefs.h. */
27674 #include <math.h>
27675 int
27676 main ()
27677 {
27678 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27679 ;
27680 return 0;
27681 }
27682 _ACEOF
27683 if ac_fn_cxx_try_compile "$LINENO"; then :
27684 glibcxx_cv_func__float_trig_use=yes
27685 else
27686 glibcxx_cv_func__float_trig_use=no
27687 fi
27688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27689 ac_ext=c
27690 ac_cpp='$CPP $CPPFLAGS'
27691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27694
27695 fi
27696
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27698 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27699 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27700 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27701 do :
27702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27704 eval as_val=\$$as_ac_var
27705 if test "x$as_val" = x""yes; then :
27706 cat >>confdefs.h <<_ACEOF
27707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27708 _ACEOF
27709
27710 fi
27711 done
27712
27713 fi
27714 fi
27715
27716
27717
27718
27719
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27721 $as_echo_n "checking for float round functions... " >&6; }
27722 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27723 $as_echo_n "(cached) " >&6
27724 else
27725
27726
27727 ac_ext=cpp
27728 ac_cpp='$CXXCPP $CPPFLAGS'
27729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27732
27733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27734 /* end confdefs.h. */
27735 #include <math.h>
27736 int
27737 main ()
27738 {
27739 ceilf (0); floorf (0);
27740 ;
27741 return 0;
27742 }
27743 _ACEOF
27744 if ac_fn_cxx_try_compile "$LINENO"; then :
27745 glibcxx_cv_func_float_round_use=yes
27746 else
27747 glibcxx_cv_func_float_round_use=no
27748 fi
27749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750 ac_ext=c
27751 ac_cpp='$CPP $CPPFLAGS'
27752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27755
27756 fi
27757
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27759 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27760 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27761 for ac_func in ceilf floorf
27762 do :
27763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27765 eval as_val=\$$as_ac_var
27766 if test "x$as_val" = x""yes; then :
27767 cat >>confdefs.h <<_ACEOF
27768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27769 _ACEOF
27770
27771 fi
27772 done
27773
27774 else
27775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27776 $as_echo_n "checking for _float round functions... " >&6; }
27777 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27778 $as_echo_n "(cached) " >&6
27779 else
27780
27781
27782 ac_ext=cpp
27783 ac_cpp='$CXXCPP $CPPFLAGS'
27784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27787
27788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27789 /* end confdefs.h. */
27790 #include <math.h>
27791 int
27792 main ()
27793 {
27794 _ceilf (0); _floorf (0);
27795 ;
27796 return 0;
27797 }
27798 _ACEOF
27799 if ac_fn_cxx_try_compile "$LINENO"; then :
27800 glibcxx_cv_func__float_round_use=yes
27801 else
27802 glibcxx_cv_func__float_round_use=no
27803 fi
27804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27805 ac_ext=c
27806 ac_cpp='$CPP $CPPFLAGS'
27807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27810
27811 fi
27812
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27814 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27815 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27816 for ac_func in _ceilf _floorf
27817 do :
27818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27820 eval as_val=\$$as_ac_var
27821 if test "x$as_val" = x""yes; then :
27822 cat >>confdefs.h <<_ACEOF
27823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27824 _ACEOF
27825
27826 fi
27827 done
27828
27829 fi
27830 fi
27831
27832
27833
27834
27835
27836
27837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27838 $as_echo_n "checking for expf declaration... " >&6; }
27839 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27840 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27841 $as_echo_n "(cached) " >&6
27842 else
27843
27844
27845 ac_ext=cpp
27846 ac_cpp='$CXXCPP $CPPFLAGS'
27847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27850
27851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27852 /* end confdefs.h. */
27853 #include <math.h>
27854 #ifdef HAVE_IEEEFP_H
27855 #include <ieeefp.h>
27856 #endif
27857
27858 int
27859 main ()
27860 {
27861 expf(0);
27862 ;
27863 return 0;
27864 }
27865 _ACEOF
27866 if ac_fn_cxx_try_compile "$LINENO"; then :
27867 glibcxx_cv_func_expf_use=yes
27868 else
27869 glibcxx_cv_func_expf_use=no
27870 fi
27871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27872 ac_ext=c
27873 ac_cpp='$CPP $CPPFLAGS'
27874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27877
27878
27879 fi
27880
27881 fi
27882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27883 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27884
27885 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27886 for ac_func in expf
27887 do :
27888 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27889 if test "x$ac_cv_func_expf" = x""yes; then :
27890 cat >>confdefs.h <<_ACEOF
27891 #define HAVE_EXPF 1
27892 _ACEOF
27893
27894 fi
27895 done
27896
27897 else
27898
27899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27900 $as_echo_n "checking for _expf declaration... " >&6; }
27901 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27902 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27903 $as_echo_n "(cached) " >&6
27904 else
27905
27906
27907 ac_ext=cpp
27908 ac_cpp='$CXXCPP $CPPFLAGS'
27909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27912
27913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27914 /* end confdefs.h. */
27915 #include <math.h>
27916 #ifdef HAVE_IEEEFP_H
27917 #include <ieeefp.h>
27918 #endif
27919
27920 int
27921 main ()
27922 {
27923 _expf(0);
27924 ;
27925 return 0;
27926 }
27927 _ACEOF
27928 if ac_fn_cxx_try_compile "$LINENO"; then :
27929 glibcxx_cv_func__expf_use=yes
27930 else
27931 glibcxx_cv_func__expf_use=no
27932 fi
27933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27934 ac_ext=c
27935 ac_cpp='$CPP $CPPFLAGS'
27936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27939
27940
27941 fi
27942
27943 fi
27944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27945 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27946
27947 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27948 for ac_func in _expf
27949 do :
27950 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27951 if test "x$ac_cv_func__expf" = x""yes; then :
27952 cat >>confdefs.h <<_ACEOF
27953 #define HAVE__EXPF 1
27954 _ACEOF
27955
27956 fi
27957 done
27958
27959 fi
27960 fi
27961
27962
27963
27964
27965
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27967 $as_echo_n "checking for isnanf declaration... " >&6; }
27968 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27969 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27970 $as_echo_n "(cached) " >&6
27971 else
27972
27973
27974 ac_ext=cpp
27975 ac_cpp='$CXXCPP $CPPFLAGS'
27976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27979
27980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27981 /* end confdefs.h. */
27982 #include <math.h>
27983 #ifdef HAVE_IEEEFP_H
27984 #include <ieeefp.h>
27985 #endif
27986
27987 int
27988 main ()
27989 {
27990 isnanf(0);
27991 ;
27992 return 0;
27993 }
27994 _ACEOF
27995 if ac_fn_cxx_try_compile "$LINENO"; then :
27996 glibcxx_cv_func_isnanf_use=yes
27997 else
27998 glibcxx_cv_func_isnanf_use=no
27999 fi
28000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28001 ac_ext=c
28002 ac_cpp='$CPP $CPPFLAGS'
28003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28006
28007
28008 fi
28009
28010 fi
28011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28012 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28013
28014 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28015 for ac_func in isnanf
28016 do :
28017 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28018 if test "x$ac_cv_func_isnanf" = x""yes; then :
28019 cat >>confdefs.h <<_ACEOF
28020 #define HAVE_ISNANF 1
28021 _ACEOF
28022
28023 fi
28024 done
28025
28026 else
28027
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28029 $as_echo_n "checking for _isnanf declaration... " >&6; }
28030 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28031 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28032 $as_echo_n "(cached) " >&6
28033 else
28034
28035
28036 ac_ext=cpp
28037 ac_cpp='$CXXCPP $CPPFLAGS'
28038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28041
28042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28043 /* end confdefs.h. */
28044 #include <math.h>
28045 #ifdef HAVE_IEEEFP_H
28046 #include <ieeefp.h>
28047 #endif
28048
28049 int
28050 main ()
28051 {
28052 _isnanf(0);
28053 ;
28054 return 0;
28055 }
28056 _ACEOF
28057 if ac_fn_cxx_try_compile "$LINENO"; then :
28058 glibcxx_cv_func__isnanf_use=yes
28059 else
28060 glibcxx_cv_func__isnanf_use=no
28061 fi
28062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28063 ac_ext=c
28064 ac_cpp='$CPP $CPPFLAGS'
28065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28068
28069
28070 fi
28071
28072 fi
28073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28074 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28075
28076 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28077 for ac_func in _isnanf
28078 do :
28079 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28080 if test "x$ac_cv_func__isnanf" = x""yes; then :
28081 cat >>confdefs.h <<_ACEOF
28082 #define HAVE__ISNANF 1
28083 _ACEOF
28084
28085 fi
28086 done
28087
28088 fi
28089 fi
28090
28091
28092
28093
28094
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28096 $as_echo_n "checking for isinff declaration... " >&6; }
28097 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28098 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28099 $as_echo_n "(cached) " >&6
28100 else
28101
28102
28103 ac_ext=cpp
28104 ac_cpp='$CXXCPP $CPPFLAGS'
28105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28108
28109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28110 /* end confdefs.h. */
28111 #include <math.h>
28112 #ifdef HAVE_IEEEFP_H
28113 #include <ieeefp.h>
28114 #endif
28115
28116 int
28117 main ()
28118 {
28119 isinff(0);
28120 ;
28121 return 0;
28122 }
28123 _ACEOF
28124 if ac_fn_cxx_try_compile "$LINENO"; then :
28125 glibcxx_cv_func_isinff_use=yes
28126 else
28127 glibcxx_cv_func_isinff_use=no
28128 fi
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 ac_ext=c
28131 ac_cpp='$CPP $CPPFLAGS'
28132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28135
28136
28137 fi
28138
28139 fi
28140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28141 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28142
28143 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28144 for ac_func in isinff
28145 do :
28146 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28147 if test "x$ac_cv_func_isinff" = x""yes; then :
28148 cat >>confdefs.h <<_ACEOF
28149 #define HAVE_ISINFF 1
28150 _ACEOF
28151
28152 fi
28153 done
28154
28155 else
28156
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28158 $as_echo_n "checking for _isinff declaration... " >&6; }
28159 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28160 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28161 $as_echo_n "(cached) " >&6
28162 else
28163
28164
28165 ac_ext=cpp
28166 ac_cpp='$CXXCPP $CPPFLAGS'
28167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28170
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28173 #include <math.h>
28174 #ifdef HAVE_IEEEFP_H
28175 #include <ieeefp.h>
28176 #endif
28177
28178 int
28179 main ()
28180 {
28181 _isinff(0);
28182 ;
28183 return 0;
28184 }
28185 _ACEOF
28186 if ac_fn_cxx_try_compile "$LINENO"; then :
28187 glibcxx_cv_func__isinff_use=yes
28188 else
28189 glibcxx_cv_func__isinff_use=no
28190 fi
28191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28192 ac_ext=c
28193 ac_cpp='$CPP $CPPFLAGS'
28194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28197
28198
28199 fi
28200
28201 fi
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28203 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28204
28205 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28206 for ac_func in _isinff
28207 do :
28208 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28209 if test "x$ac_cv_func__isinff" = x""yes; then :
28210 cat >>confdefs.h <<_ACEOF
28211 #define HAVE__ISINFF 1
28212 _ACEOF
28213
28214 fi
28215 done
28216
28217 fi
28218 fi
28219
28220
28221
28222
28223
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28225 $as_echo_n "checking for atan2f declaration... " >&6; }
28226 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28227 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28228 $as_echo_n "(cached) " >&6
28229 else
28230
28231
28232 ac_ext=cpp
28233 ac_cpp='$CXXCPP $CPPFLAGS'
28234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28237
28238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h. */
28240 #include <math.h>
28241 int
28242 main ()
28243 {
28244 atan2f(0, 0);
28245 ;
28246 return 0;
28247 }
28248 _ACEOF
28249 if ac_fn_cxx_try_compile "$LINENO"; then :
28250 glibcxx_cv_func_atan2f_use=yes
28251 else
28252 glibcxx_cv_func_atan2f_use=no
28253 fi
28254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28255 ac_ext=c
28256 ac_cpp='$CPP $CPPFLAGS'
28257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28260
28261
28262 fi
28263
28264 fi
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28266 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28267
28268 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28269 for ac_func in atan2f
28270 do :
28271 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28272 if test "x$ac_cv_func_atan2f" = x""yes; then :
28273 cat >>confdefs.h <<_ACEOF
28274 #define HAVE_ATAN2F 1
28275 _ACEOF
28276
28277 fi
28278 done
28279
28280 else
28281
28282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28283 $as_echo_n "checking for _atan2f declaration... " >&6; }
28284 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28285 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28286 $as_echo_n "(cached) " >&6
28287 else
28288
28289
28290 ac_ext=cpp
28291 ac_cpp='$CXXCPP $CPPFLAGS'
28292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28295
28296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28297 /* end confdefs.h. */
28298 #include <math.h>
28299 int
28300 main ()
28301 {
28302 _atan2f(0, 0);
28303 ;
28304 return 0;
28305 }
28306 _ACEOF
28307 if ac_fn_cxx_try_compile "$LINENO"; then :
28308 glibcxx_cv_func__atan2f_use=yes
28309 else
28310 glibcxx_cv_func__atan2f_use=no
28311 fi
28312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28313 ac_ext=c
28314 ac_cpp='$CPP $CPPFLAGS'
28315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28318
28319
28320 fi
28321
28322 fi
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28324 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28325
28326 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28327 for ac_func in _atan2f
28328 do :
28329 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28330 if test "x$ac_cv_func__atan2f" = x""yes; then :
28331 cat >>confdefs.h <<_ACEOF
28332 #define HAVE__ATAN2F 1
28333 _ACEOF
28334
28335 fi
28336 done
28337
28338 fi
28339 fi
28340
28341
28342
28343
28344
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28346 $as_echo_n "checking for fabsf declaration... " >&6; }
28347 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28348 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28349 $as_echo_n "(cached) " >&6
28350 else
28351
28352
28353 ac_ext=cpp
28354 ac_cpp='$CXXCPP $CPPFLAGS'
28355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28358
28359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28360 /* end confdefs.h. */
28361 #include <math.h>
28362 #ifdef HAVE_IEEEFP_H
28363 #include <ieeefp.h>
28364 #endif
28365
28366 int
28367 main ()
28368 {
28369 fabsf(0);
28370 ;
28371 return 0;
28372 }
28373 _ACEOF
28374 if ac_fn_cxx_try_compile "$LINENO"; then :
28375 glibcxx_cv_func_fabsf_use=yes
28376 else
28377 glibcxx_cv_func_fabsf_use=no
28378 fi
28379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 ac_ext=c
28381 ac_cpp='$CPP $CPPFLAGS'
28382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28385
28386
28387 fi
28388
28389 fi
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28391 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28392
28393 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28394 for ac_func in fabsf
28395 do :
28396 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28397 if test "x$ac_cv_func_fabsf" = x""yes; then :
28398 cat >>confdefs.h <<_ACEOF
28399 #define HAVE_FABSF 1
28400 _ACEOF
28401
28402 fi
28403 done
28404
28405 else
28406
28407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28408 $as_echo_n "checking for _fabsf declaration... " >&6; }
28409 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28410 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28411 $as_echo_n "(cached) " >&6
28412 else
28413
28414
28415 ac_ext=cpp
28416 ac_cpp='$CXXCPP $CPPFLAGS'
28417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28420
28421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28422 /* end confdefs.h. */
28423 #include <math.h>
28424 #ifdef HAVE_IEEEFP_H
28425 #include <ieeefp.h>
28426 #endif
28427
28428 int
28429 main ()
28430 {
28431 _fabsf(0);
28432 ;
28433 return 0;
28434 }
28435 _ACEOF
28436 if ac_fn_cxx_try_compile "$LINENO"; then :
28437 glibcxx_cv_func__fabsf_use=yes
28438 else
28439 glibcxx_cv_func__fabsf_use=no
28440 fi
28441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28447
28448
28449 fi
28450
28451 fi
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28453 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28454
28455 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28456 for ac_func in _fabsf
28457 do :
28458 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28459 if test "x$ac_cv_func__fabsf" = x""yes; then :
28460 cat >>confdefs.h <<_ACEOF
28461 #define HAVE__FABSF 1
28462 _ACEOF
28463
28464 fi
28465 done
28466
28467 fi
28468 fi
28469
28470
28471
28472
28473
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28475 $as_echo_n "checking for fmodf declaration... " >&6; }
28476 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28477 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28478 $as_echo_n "(cached) " >&6
28479 else
28480
28481
28482 ac_ext=cpp
28483 ac_cpp='$CXXCPP $CPPFLAGS'
28484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28487
28488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h. */
28490 #include <math.h>
28491 int
28492 main ()
28493 {
28494 fmodf(0, 0);
28495 ;
28496 return 0;
28497 }
28498 _ACEOF
28499 if ac_fn_cxx_try_compile "$LINENO"; then :
28500 glibcxx_cv_func_fmodf_use=yes
28501 else
28502 glibcxx_cv_func_fmodf_use=no
28503 fi
28504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28505 ac_ext=c
28506 ac_cpp='$CPP $CPPFLAGS'
28507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28510
28511
28512 fi
28513
28514 fi
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28516 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28517
28518 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28519 for ac_func in fmodf
28520 do :
28521 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28522 if test "x$ac_cv_func_fmodf" = x""yes; then :
28523 cat >>confdefs.h <<_ACEOF
28524 #define HAVE_FMODF 1
28525 _ACEOF
28526
28527 fi
28528 done
28529
28530 else
28531
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28533 $as_echo_n "checking for _fmodf declaration... " >&6; }
28534 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28535 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28536 $as_echo_n "(cached) " >&6
28537 else
28538
28539
28540 ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545
28546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h. */
28548 #include <math.h>
28549 int
28550 main ()
28551 {
28552 _fmodf(0, 0);
28553 ;
28554 return 0;
28555 }
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558 glibcxx_cv_func__fmodf_use=yes
28559 else
28560 glibcxx_cv_func__fmodf_use=no
28561 fi
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28568
28569
28570 fi
28571
28572 fi
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28574 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28575
28576 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28577 for ac_func in _fmodf
28578 do :
28579 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28580 if test "x$ac_cv_func__fmodf" = x""yes; then :
28581 cat >>confdefs.h <<_ACEOF
28582 #define HAVE__FMODF 1
28583 _ACEOF
28584
28585 fi
28586 done
28587
28588 fi
28589 fi
28590
28591
28592
28593
28594
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28596 $as_echo_n "checking for frexpf declaration... " >&6; }
28597 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28598 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28599 $as_echo_n "(cached) " >&6
28600 else
28601
28602
28603 ac_ext=cpp
28604 ac_cpp='$CXXCPP $CPPFLAGS'
28605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28608
28609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28610 /* end confdefs.h. */
28611 #include <math.h>
28612 int
28613 main ()
28614 {
28615 frexpf(0, 0);
28616 ;
28617 return 0;
28618 }
28619 _ACEOF
28620 if ac_fn_cxx_try_compile "$LINENO"; then :
28621 glibcxx_cv_func_frexpf_use=yes
28622 else
28623 glibcxx_cv_func_frexpf_use=no
28624 fi
28625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28626 ac_ext=c
28627 ac_cpp='$CPP $CPPFLAGS'
28628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28631
28632
28633 fi
28634
28635 fi
28636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28637 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28638
28639 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28640 for ac_func in frexpf
28641 do :
28642 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28643 if test "x$ac_cv_func_frexpf" = x""yes; then :
28644 cat >>confdefs.h <<_ACEOF
28645 #define HAVE_FREXPF 1
28646 _ACEOF
28647
28648 fi
28649 done
28650
28651 else
28652
28653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28654 $as_echo_n "checking for _frexpf declaration... " >&6; }
28655 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28656 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28657 $as_echo_n "(cached) " >&6
28658 else
28659
28660
28661 ac_ext=cpp
28662 ac_cpp='$CXXCPP $CPPFLAGS'
28663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28666
28667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28668 /* end confdefs.h. */
28669 #include <math.h>
28670 int
28671 main ()
28672 {
28673 _frexpf(0, 0);
28674 ;
28675 return 0;
28676 }
28677 _ACEOF
28678 if ac_fn_cxx_try_compile "$LINENO"; then :
28679 glibcxx_cv_func__frexpf_use=yes
28680 else
28681 glibcxx_cv_func__frexpf_use=no
28682 fi
28683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28684 ac_ext=c
28685 ac_cpp='$CPP $CPPFLAGS'
28686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28689
28690
28691 fi
28692
28693 fi
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28695 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28696
28697 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28698 for ac_func in _frexpf
28699 do :
28700 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28701 if test "x$ac_cv_func__frexpf" = x""yes; then :
28702 cat >>confdefs.h <<_ACEOF
28703 #define HAVE__FREXPF 1
28704 _ACEOF
28705
28706 fi
28707 done
28708
28709 fi
28710 fi
28711
28712
28713
28714
28715
28716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28717 $as_echo_n "checking for hypotf declaration... " >&6; }
28718 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28719 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28720 $as_echo_n "(cached) " >&6
28721 else
28722
28723
28724 ac_ext=cpp
28725 ac_cpp='$CXXCPP $CPPFLAGS'
28726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28729
28730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28731 /* end confdefs.h. */
28732 #include <math.h>
28733 int
28734 main ()
28735 {
28736 hypotf(0, 0);
28737 ;
28738 return 0;
28739 }
28740 _ACEOF
28741 if ac_fn_cxx_try_compile "$LINENO"; then :
28742 glibcxx_cv_func_hypotf_use=yes
28743 else
28744 glibcxx_cv_func_hypotf_use=no
28745 fi
28746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28747 ac_ext=c
28748 ac_cpp='$CPP $CPPFLAGS'
28749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28752
28753
28754 fi
28755
28756 fi
28757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28758 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28759
28760 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28761 for ac_func in hypotf
28762 do :
28763 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28764 if test "x$ac_cv_func_hypotf" = x""yes; then :
28765 cat >>confdefs.h <<_ACEOF
28766 #define HAVE_HYPOTF 1
28767 _ACEOF
28768
28769 fi
28770 done
28771
28772 else
28773
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28775 $as_echo_n "checking for _hypotf declaration... " >&6; }
28776 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28777 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28778 $as_echo_n "(cached) " >&6
28779 else
28780
28781
28782 ac_ext=cpp
28783 ac_cpp='$CXXCPP $CPPFLAGS'
28784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28787
28788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28789 /* end confdefs.h. */
28790 #include <math.h>
28791 int
28792 main ()
28793 {
28794 _hypotf(0, 0);
28795 ;
28796 return 0;
28797 }
28798 _ACEOF
28799 if ac_fn_cxx_try_compile "$LINENO"; then :
28800 glibcxx_cv_func__hypotf_use=yes
28801 else
28802 glibcxx_cv_func__hypotf_use=no
28803 fi
28804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28805 ac_ext=c
28806 ac_cpp='$CPP $CPPFLAGS'
28807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28810
28811
28812 fi
28813
28814 fi
28815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28816 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28817
28818 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28819 for ac_func in _hypotf
28820 do :
28821 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28822 if test "x$ac_cv_func__hypotf" = x""yes; then :
28823 cat >>confdefs.h <<_ACEOF
28824 #define HAVE__HYPOTF 1
28825 _ACEOF
28826
28827 fi
28828 done
28829
28830 fi
28831 fi
28832
28833
28834
28835
28836
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28838 $as_echo_n "checking for ldexpf declaration... " >&6; }
28839 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28840 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28841 $as_echo_n "(cached) " >&6
28842 else
28843
28844
28845 ac_ext=cpp
28846 ac_cpp='$CXXCPP $CPPFLAGS'
28847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28850
28851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28852 /* end confdefs.h. */
28853 #include <math.h>
28854 int
28855 main ()
28856 {
28857 ldexpf(0, 0);
28858 ;
28859 return 0;
28860 }
28861 _ACEOF
28862 if ac_fn_cxx_try_compile "$LINENO"; then :
28863 glibcxx_cv_func_ldexpf_use=yes
28864 else
28865 glibcxx_cv_func_ldexpf_use=no
28866 fi
28867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28868 ac_ext=c
28869 ac_cpp='$CPP $CPPFLAGS'
28870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28873
28874
28875 fi
28876
28877 fi
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28879 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28880
28881 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28882 for ac_func in ldexpf
28883 do :
28884 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28885 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28886 cat >>confdefs.h <<_ACEOF
28887 #define HAVE_LDEXPF 1
28888 _ACEOF
28889
28890 fi
28891 done
28892
28893 else
28894
28895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28896 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28897 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28898 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28899 $as_echo_n "(cached) " >&6
28900 else
28901
28902
28903 ac_ext=cpp
28904 ac_cpp='$CXXCPP $CPPFLAGS'
28905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28908
28909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28910 /* end confdefs.h. */
28911 #include <math.h>
28912 int
28913 main ()
28914 {
28915 _ldexpf(0, 0);
28916 ;
28917 return 0;
28918 }
28919 _ACEOF
28920 if ac_fn_cxx_try_compile "$LINENO"; then :
28921 glibcxx_cv_func__ldexpf_use=yes
28922 else
28923 glibcxx_cv_func__ldexpf_use=no
28924 fi
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 ac_ext=c
28927 ac_cpp='$CPP $CPPFLAGS'
28928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28931
28932
28933 fi
28934
28935 fi
28936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28937 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28938
28939 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28940 for ac_func in _ldexpf
28941 do :
28942 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28943 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28944 cat >>confdefs.h <<_ACEOF
28945 #define HAVE__LDEXPF 1
28946 _ACEOF
28947
28948 fi
28949 done
28950
28951 fi
28952 fi
28953
28954
28955
28956
28957
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28959 $as_echo_n "checking for logf declaration... " >&6; }
28960 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28961 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28962 $as_echo_n "(cached) " >&6
28963 else
28964
28965
28966 ac_ext=cpp
28967 ac_cpp='$CXXCPP $CPPFLAGS'
28968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28971
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28974 #include <math.h>
28975 #ifdef HAVE_IEEEFP_H
28976 #include <ieeefp.h>
28977 #endif
28978
28979 int
28980 main ()
28981 {
28982 logf(0);
28983 ;
28984 return 0;
28985 }
28986 _ACEOF
28987 if ac_fn_cxx_try_compile "$LINENO"; then :
28988 glibcxx_cv_func_logf_use=yes
28989 else
28990 glibcxx_cv_func_logf_use=no
28991 fi
28992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28993 ac_ext=c
28994 ac_cpp='$CPP $CPPFLAGS'
28995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28998
28999
29000 fi
29001
29002 fi
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29004 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29005
29006 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29007 for ac_func in logf
29008 do :
29009 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29010 if test "x$ac_cv_func_logf" = x""yes; then :
29011 cat >>confdefs.h <<_ACEOF
29012 #define HAVE_LOGF 1
29013 _ACEOF
29014
29015 fi
29016 done
29017
29018 else
29019
29020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29021 $as_echo_n "checking for _logf declaration... " >&6; }
29022 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29023 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29024 $as_echo_n "(cached) " >&6
29025 else
29026
29027
29028 ac_ext=cpp
29029 ac_cpp='$CXXCPP $CPPFLAGS'
29030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29033
29034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29035 /* end confdefs.h. */
29036 #include <math.h>
29037 #ifdef HAVE_IEEEFP_H
29038 #include <ieeefp.h>
29039 #endif
29040
29041 int
29042 main ()
29043 {
29044 _logf(0);
29045 ;
29046 return 0;
29047 }
29048 _ACEOF
29049 if ac_fn_cxx_try_compile "$LINENO"; then :
29050 glibcxx_cv_func__logf_use=yes
29051 else
29052 glibcxx_cv_func__logf_use=no
29053 fi
29054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29055 ac_ext=c
29056 ac_cpp='$CPP $CPPFLAGS'
29057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29060
29061
29062 fi
29063
29064 fi
29065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29066 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29067
29068 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29069 for ac_func in _logf
29070 do :
29071 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29072 if test "x$ac_cv_func__logf" = x""yes; then :
29073 cat >>confdefs.h <<_ACEOF
29074 #define HAVE__LOGF 1
29075 _ACEOF
29076
29077 fi
29078 done
29079
29080 fi
29081 fi
29082
29083
29084
29085
29086
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29088 $as_echo_n "checking for log10f declaration... " >&6; }
29089 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29090 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29091 $as_echo_n "(cached) " >&6
29092 else
29093
29094
29095 ac_ext=cpp
29096 ac_cpp='$CXXCPP $CPPFLAGS'
29097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29100
29101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29102 /* end confdefs.h. */
29103 #include <math.h>
29104 #ifdef HAVE_IEEEFP_H
29105 #include <ieeefp.h>
29106 #endif
29107
29108 int
29109 main ()
29110 {
29111 log10f(0);
29112 ;
29113 return 0;
29114 }
29115 _ACEOF
29116 if ac_fn_cxx_try_compile "$LINENO"; then :
29117 glibcxx_cv_func_log10f_use=yes
29118 else
29119 glibcxx_cv_func_log10f_use=no
29120 fi
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 ac_ext=c
29123 ac_cpp='$CPP $CPPFLAGS'
29124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29127
29128
29129 fi
29130
29131 fi
29132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29133 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29134
29135 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29136 for ac_func in log10f
29137 do :
29138 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29139 if test "x$ac_cv_func_log10f" = x""yes; then :
29140 cat >>confdefs.h <<_ACEOF
29141 #define HAVE_LOG10F 1
29142 _ACEOF
29143
29144 fi
29145 done
29146
29147 else
29148
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29150 $as_echo_n "checking for _log10f declaration... " >&6; }
29151 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29152 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29153 $as_echo_n "(cached) " >&6
29154 else
29155
29156
29157 ac_ext=cpp
29158 ac_cpp='$CXXCPP $CPPFLAGS'
29159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29162
29163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29164 /* end confdefs.h. */
29165 #include <math.h>
29166 #ifdef HAVE_IEEEFP_H
29167 #include <ieeefp.h>
29168 #endif
29169
29170 int
29171 main ()
29172 {
29173 _log10f(0);
29174 ;
29175 return 0;
29176 }
29177 _ACEOF
29178 if ac_fn_cxx_try_compile "$LINENO"; then :
29179 glibcxx_cv_func__log10f_use=yes
29180 else
29181 glibcxx_cv_func__log10f_use=no
29182 fi
29183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29184 ac_ext=c
29185 ac_cpp='$CPP $CPPFLAGS'
29186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29189
29190
29191 fi
29192
29193 fi
29194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29195 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29196
29197 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29198 for ac_func in _log10f
29199 do :
29200 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29201 if test "x$ac_cv_func__log10f" = x""yes; then :
29202 cat >>confdefs.h <<_ACEOF
29203 #define HAVE__LOG10F 1
29204 _ACEOF
29205
29206 fi
29207 done
29208
29209 fi
29210 fi
29211
29212
29213
29214
29215
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29217 $as_echo_n "checking for modff declaration... " >&6; }
29218 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29219 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29220 $as_echo_n "(cached) " >&6
29221 else
29222
29223
29224 ac_ext=cpp
29225 ac_cpp='$CXXCPP $CPPFLAGS'
29226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29229
29230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29231 /* end confdefs.h. */
29232 #include <math.h>
29233 int
29234 main ()
29235 {
29236 modff(0, 0);
29237 ;
29238 return 0;
29239 }
29240 _ACEOF
29241 if ac_fn_cxx_try_compile "$LINENO"; then :
29242 glibcxx_cv_func_modff_use=yes
29243 else
29244 glibcxx_cv_func_modff_use=no
29245 fi
29246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29247 ac_ext=c
29248 ac_cpp='$CPP $CPPFLAGS'
29249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252
29253
29254 fi
29255
29256 fi
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29258 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29259
29260 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29261 for ac_func in modff
29262 do :
29263 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29264 if test "x$ac_cv_func_modff" = x""yes; then :
29265 cat >>confdefs.h <<_ACEOF
29266 #define HAVE_MODFF 1
29267 _ACEOF
29268
29269 fi
29270 done
29271
29272 else
29273
29274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29275 $as_echo_n "checking for _modff declaration... " >&6; }
29276 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29277 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29278 $as_echo_n "(cached) " >&6
29279 else
29280
29281
29282 ac_ext=cpp
29283 ac_cpp='$CXXCPP $CPPFLAGS'
29284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29287
29288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29289 /* end confdefs.h. */
29290 #include <math.h>
29291 int
29292 main ()
29293 {
29294 _modff(0, 0);
29295 ;
29296 return 0;
29297 }
29298 _ACEOF
29299 if ac_fn_cxx_try_compile "$LINENO"; then :
29300 glibcxx_cv_func__modff_use=yes
29301 else
29302 glibcxx_cv_func__modff_use=no
29303 fi
29304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29305 ac_ext=c
29306 ac_cpp='$CPP $CPPFLAGS'
29307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29310
29311
29312 fi
29313
29314 fi
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29316 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29317
29318 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29319 for ac_func in _modff
29320 do :
29321 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29322 if test "x$ac_cv_func__modff" = x""yes; then :
29323 cat >>confdefs.h <<_ACEOF
29324 #define HAVE__MODFF 1
29325 _ACEOF
29326
29327 fi
29328 done
29329
29330 fi
29331 fi
29332
29333
29334
29335
29336
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29338 $as_echo_n "checking for modf declaration... " >&6; }
29339 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29340 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29341 $as_echo_n "(cached) " >&6
29342 else
29343
29344
29345 ac_ext=cpp
29346 ac_cpp='$CXXCPP $CPPFLAGS'
29347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29350
29351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29352 /* end confdefs.h. */
29353 #include <math.h>
29354 int
29355 main ()
29356 {
29357 modf(0, 0);
29358 ;
29359 return 0;
29360 }
29361 _ACEOF
29362 if ac_fn_cxx_try_compile "$LINENO"; then :
29363 glibcxx_cv_func_modf_use=yes
29364 else
29365 glibcxx_cv_func_modf_use=no
29366 fi
29367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29368 ac_ext=c
29369 ac_cpp='$CPP $CPPFLAGS'
29370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29373
29374
29375 fi
29376
29377 fi
29378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29379 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29380
29381 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29382 for ac_func in modf
29383 do :
29384 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29385 if test "x$ac_cv_func_modf" = x""yes; then :
29386 cat >>confdefs.h <<_ACEOF
29387 #define HAVE_MODF 1
29388 _ACEOF
29389
29390 fi
29391 done
29392
29393 else
29394
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29396 $as_echo_n "checking for _modf declaration... " >&6; }
29397 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29398 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29399 $as_echo_n "(cached) " >&6
29400 else
29401
29402
29403 ac_ext=cpp
29404 ac_cpp='$CXXCPP $CPPFLAGS'
29405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29408
29409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29410 /* end confdefs.h. */
29411 #include <math.h>
29412 int
29413 main ()
29414 {
29415 _modf(0, 0);
29416 ;
29417 return 0;
29418 }
29419 _ACEOF
29420 if ac_fn_cxx_try_compile "$LINENO"; then :
29421 glibcxx_cv_func__modf_use=yes
29422 else
29423 glibcxx_cv_func__modf_use=no
29424 fi
29425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29426 ac_ext=c
29427 ac_cpp='$CPP $CPPFLAGS'
29428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29431
29432
29433 fi
29434
29435 fi
29436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29437 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29438
29439 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29440 for ac_func in _modf
29441 do :
29442 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29443 if test "x$ac_cv_func__modf" = x""yes; then :
29444 cat >>confdefs.h <<_ACEOF
29445 #define HAVE__MODF 1
29446 _ACEOF
29447
29448 fi
29449 done
29450
29451 fi
29452 fi
29453
29454
29455
29456
29457
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29459 $as_echo_n "checking for powf declaration... " >&6; }
29460 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29461 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29462 $as_echo_n "(cached) " >&6
29463 else
29464
29465
29466 ac_ext=cpp
29467 ac_cpp='$CXXCPP $CPPFLAGS'
29468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29471
29472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29473 /* end confdefs.h. */
29474 #include <math.h>
29475 int
29476 main ()
29477 {
29478 powf(0, 0);
29479 ;
29480 return 0;
29481 }
29482 _ACEOF
29483 if ac_fn_cxx_try_compile "$LINENO"; then :
29484 glibcxx_cv_func_powf_use=yes
29485 else
29486 glibcxx_cv_func_powf_use=no
29487 fi
29488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29489 ac_ext=c
29490 ac_cpp='$CPP $CPPFLAGS'
29491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29494
29495
29496 fi
29497
29498 fi
29499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29500 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29501
29502 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29503 for ac_func in powf
29504 do :
29505 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29506 if test "x$ac_cv_func_powf" = x""yes; then :
29507 cat >>confdefs.h <<_ACEOF
29508 #define HAVE_POWF 1
29509 _ACEOF
29510
29511 fi
29512 done
29513
29514 else
29515
29516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29517 $as_echo_n "checking for _powf declaration... " >&6; }
29518 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29519 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29520 $as_echo_n "(cached) " >&6
29521 else
29522
29523
29524 ac_ext=cpp
29525 ac_cpp='$CXXCPP $CPPFLAGS'
29526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29529
29530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29531 /* end confdefs.h. */
29532 #include <math.h>
29533 int
29534 main ()
29535 {
29536 _powf(0, 0);
29537 ;
29538 return 0;
29539 }
29540 _ACEOF
29541 if ac_fn_cxx_try_compile "$LINENO"; then :
29542 glibcxx_cv_func__powf_use=yes
29543 else
29544 glibcxx_cv_func__powf_use=no
29545 fi
29546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29547 ac_ext=c
29548 ac_cpp='$CPP $CPPFLAGS'
29549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29552
29553
29554 fi
29555
29556 fi
29557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29558 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29559
29560 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29561 for ac_func in _powf
29562 do :
29563 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29564 if test "x$ac_cv_func__powf" = x""yes; then :
29565 cat >>confdefs.h <<_ACEOF
29566 #define HAVE__POWF 1
29567 _ACEOF
29568
29569 fi
29570 done
29571
29572 fi
29573 fi
29574
29575
29576
29577
29578
29579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29580 $as_echo_n "checking for sqrtf declaration... " >&6; }
29581 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29582 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29583 $as_echo_n "(cached) " >&6
29584 else
29585
29586
29587 ac_ext=cpp
29588 ac_cpp='$CXXCPP $CPPFLAGS'
29589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29592
29593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29594 /* end confdefs.h. */
29595 #include <math.h>
29596 #ifdef HAVE_IEEEFP_H
29597 #include <ieeefp.h>
29598 #endif
29599
29600 int
29601 main ()
29602 {
29603 sqrtf(0);
29604 ;
29605 return 0;
29606 }
29607 _ACEOF
29608 if ac_fn_cxx_try_compile "$LINENO"; then :
29609 glibcxx_cv_func_sqrtf_use=yes
29610 else
29611 glibcxx_cv_func_sqrtf_use=no
29612 fi
29613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29614 ac_ext=c
29615 ac_cpp='$CPP $CPPFLAGS'
29616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29619
29620
29621 fi
29622
29623 fi
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29625 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29626
29627 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29628 for ac_func in sqrtf
29629 do :
29630 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29631 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29632 cat >>confdefs.h <<_ACEOF
29633 #define HAVE_SQRTF 1
29634 _ACEOF
29635
29636 fi
29637 done
29638
29639 else
29640
29641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29642 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29643 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29644 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29645 $as_echo_n "(cached) " >&6
29646 else
29647
29648
29649 ac_ext=cpp
29650 ac_cpp='$CXXCPP $CPPFLAGS'
29651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29654
29655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29656 /* end confdefs.h. */
29657 #include <math.h>
29658 #ifdef HAVE_IEEEFP_H
29659 #include <ieeefp.h>
29660 #endif
29661
29662 int
29663 main ()
29664 {
29665 _sqrtf(0);
29666 ;
29667 return 0;
29668 }
29669 _ACEOF
29670 if ac_fn_cxx_try_compile "$LINENO"; then :
29671 glibcxx_cv_func__sqrtf_use=yes
29672 else
29673 glibcxx_cv_func__sqrtf_use=no
29674 fi
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29676 ac_ext=c
29677 ac_cpp='$CPP $CPPFLAGS'
29678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29681
29682
29683 fi
29684
29685 fi
29686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29687 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29688
29689 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29690 for ac_func in _sqrtf
29691 do :
29692 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29693 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29694 cat >>confdefs.h <<_ACEOF
29695 #define HAVE__SQRTF 1
29696 _ACEOF
29697
29698 fi
29699 done
29700
29701 fi
29702 fi
29703
29704
29705
29706
29707
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29709 $as_echo_n "checking for sincosf declaration... " >&6; }
29710 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29711 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29712 $as_echo_n "(cached) " >&6
29713 else
29714
29715
29716 ac_ext=cpp
29717 ac_cpp='$CXXCPP $CPPFLAGS'
29718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29721
29722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29723 /* end confdefs.h. */
29724 #include <math.h>
29725 int
29726 main ()
29727 {
29728 sincosf(0, 0, 0);
29729 ;
29730 return 0;
29731 }
29732 _ACEOF
29733 if ac_fn_cxx_try_compile "$LINENO"; then :
29734 glibcxx_cv_func_sincosf_use=yes
29735 else
29736 glibcxx_cv_func_sincosf_use=no
29737 fi
29738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 ac_ext=c
29740 ac_cpp='$CPP $CPPFLAGS'
29741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29744
29745
29746 fi
29747
29748 fi
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29750 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29751
29752 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29753 for ac_func in sincosf
29754 do :
29755 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29756 if test "x$ac_cv_func_sincosf" = x""yes; then :
29757 cat >>confdefs.h <<_ACEOF
29758 #define HAVE_SINCOSF 1
29759 _ACEOF
29760
29761 fi
29762 done
29763
29764 else
29765
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29767 $as_echo_n "checking for _sincosf declaration... " >&6; }
29768 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29769 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29770 $as_echo_n "(cached) " >&6
29771 else
29772
29773
29774 ac_ext=cpp
29775 ac_cpp='$CXXCPP $CPPFLAGS'
29776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29779
29780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29781 /* end confdefs.h. */
29782 #include <math.h>
29783 int
29784 main ()
29785 {
29786 _sincosf(0, 0, 0);
29787 ;
29788 return 0;
29789 }
29790 _ACEOF
29791 if ac_fn_cxx_try_compile "$LINENO"; then :
29792 glibcxx_cv_func__sincosf_use=yes
29793 else
29794 glibcxx_cv_func__sincosf_use=no
29795 fi
29796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29797 ac_ext=c
29798 ac_cpp='$CPP $CPPFLAGS'
29799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29802
29803
29804 fi
29805
29806 fi
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29808 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29809
29810 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29811 for ac_func in _sincosf
29812 do :
29813 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29814 if test "x$ac_cv_func__sincosf" = x""yes; then :
29815 cat >>confdefs.h <<_ACEOF
29816 #define HAVE__SINCOSF 1
29817 _ACEOF
29818
29819 fi
29820 done
29821
29822 fi
29823 fi
29824
29825
29826
29827
29828
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29830 $as_echo_n "checking for finitef declaration... " >&6; }
29831 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29832 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29833 $as_echo_n "(cached) " >&6
29834 else
29835
29836
29837 ac_ext=cpp
29838 ac_cpp='$CXXCPP $CPPFLAGS'
29839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29842
29843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29844 /* end confdefs.h. */
29845 #include <math.h>
29846 #ifdef HAVE_IEEEFP_H
29847 #include <ieeefp.h>
29848 #endif
29849
29850 int
29851 main ()
29852 {
29853 finitef(0);
29854 ;
29855 return 0;
29856 }
29857 _ACEOF
29858 if ac_fn_cxx_try_compile "$LINENO"; then :
29859 glibcxx_cv_func_finitef_use=yes
29860 else
29861 glibcxx_cv_func_finitef_use=no
29862 fi
29863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29864 ac_ext=c
29865 ac_cpp='$CPP $CPPFLAGS'
29866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29869
29870
29871 fi
29872
29873 fi
29874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29875 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29876
29877 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29878 for ac_func in finitef
29879 do :
29880 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29881 if test "x$ac_cv_func_finitef" = x""yes; then :
29882 cat >>confdefs.h <<_ACEOF
29883 #define HAVE_FINITEF 1
29884 _ACEOF
29885
29886 fi
29887 done
29888
29889 else
29890
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29892 $as_echo_n "checking for _finitef declaration... " >&6; }
29893 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29894 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29895 $as_echo_n "(cached) " >&6
29896 else
29897
29898
29899 ac_ext=cpp
29900 ac_cpp='$CXXCPP $CPPFLAGS'
29901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29904
29905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29906 /* end confdefs.h. */
29907 #include <math.h>
29908 #ifdef HAVE_IEEEFP_H
29909 #include <ieeefp.h>
29910 #endif
29911
29912 int
29913 main ()
29914 {
29915 _finitef(0);
29916 ;
29917 return 0;
29918 }
29919 _ACEOF
29920 if ac_fn_cxx_try_compile "$LINENO"; then :
29921 glibcxx_cv_func__finitef_use=yes
29922 else
29923 glibcxx_cv_func__finitef_use=no
29924 fi
29925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29926 ac_ext=c
29927 ac_cpp='$CPP $CPPFLAGS'
29928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29931
29932
29933 fi
29934
29935 fi
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29937 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29938
29939 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29940 for ac_func in _finitef
29941 do :
29942 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29943 if test "x$ac_cv_func__finitef" = x""yes; then :
29944 cat >>confdefs.h <<_ACEOF
29945 #define HAVE__FINITEF 1
29946 _ACEOF
29947
29948 fi
29949 done
29950
29951 fi
29952 fi
29953
29954
29955
29956
29957
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29959 $as_echo_n "checking for long double trig functions... " >&6; }
29960 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29961 $as_echo_n "(cached) " >&6
29962 else
29963
29964
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29970
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29973 #include <math.h>
29974 int
29975 main ()
29976 {
29977 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29978 ;
29979 return 0;
29980 }
29981 _ACEOF
29982 if ac_fn_cxx_try_compile "$LINENO"; then :
29983 glibcxx_cv_func_long_double_trig_use=yes
29984 else
29985 glibcxx_cv_func_long_double_trig_use=no
29986 fi
29987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29988 ac_ext=c
29989 ac_cpp='$CPP $CPPFLAGS'
29990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29993
29994 fi
29995
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29997 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29998 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29999 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30000 do :
30001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30003 eval as_val=\$$as_ac_var
30004 if test "x$as_val" = x""yes; then :
30005 cat >>confdefs.h <<_ACEOF
30006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30007 _ACEOF
30008
30009 fi
30010 done
30011
30012 else
30013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30014 $as_echo_n "checking for _long double trig functions... " >&6; }
30015 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30016 $as_echo_n "(cached) " >&6
30017 else
30018
30019
30020 ac_ext=cpp
30021 ac_cpp='$CXXCPP $CPPFLAGS'
30022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30025
30026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30027 /* end confdefs.h. */
30028 #include <math.h>
30029 int
30030 main ()
30031 {
30032 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30033 ;
30034 return 0;
30035 }
30036 _ACEOF
30037 if ac_fn_cxx_try_compile "$LINENO"; then :
30038 glibcxx_cv_func__long_double_trig_use=yes
30039 else
30040 glibcxx_cv_func__long_double_trig_use=no
30041 fi
30042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30043 ac_ext=c
30044 ac_cpp='$CPP $CPPFLAGS'
30045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30048
30049 fi
30050
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30052 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30053 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30054 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30055 do :
30056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30058 eval as_val=\$$as_ac_var
30059 if test "x$as_val" = x""yes; then :
30060 cat >>confdefs.h <<_ACEOF
30061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30062 _ACEOF
30063
30064 fi
30065 done
30066
30067 fi
30068 fi
30069
30070
30071
30072
30073
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30075 $as_echo_n "checking for long double round functions... " >&6; }
30076 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30077 $as_echo_n "(cached) " >&6
30078 else
30079
30080
30081 ac_ext=cpp
30082 ac_cpp='$CXXCPP $CPPFLAGS'
30083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30086
30087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30088 /* end confdefs.h. */
30089 #include <math.h>
30090 int
30091 main ()
30092 {
30093 ceill (0); floorl (0);
30094 ;
30095 return 0;
30096 }
30097 _ACEOF
30098 if ac_fn_cxx_try_compile "$LINENO"; then :
30099 glibcxx_cv_func_long_double_round_use=yes
30100 else
30101 glibcxx_cv_func_long_double_round_use=no
30102 fi
30103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30104 ac_ext=c
30105 ac_cpp='$CPP $CPPFLAGS'
30106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30109
30110 fi
30111
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30113 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30114 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30115 for ac_func in ceill floorl
30116 do :
30117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30119 eval as_val=\$$as_ac_var
30120 if test "x$as_val" = x""yes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30123 _ACEOF
30124
30125 fi
30126 done
30127
30128 else
30129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30130 $as_echo_n "checking for _long double round functions... " >&6; }
30131 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30132 $as_echo_n "(cached) " >&6
30133 else
30134
30135
30136 ac_ext=cpp
30137 ac_cpp='$CXXCPP $CPPFLAGS'
30138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30141
30142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30143 /* end confdefs.h. */
30144 #include <math.h>
30145 int
30146 main ()
30147 {
30148 _ceill (0); _floorl (0);
30149 ;
30150 return 0;
30151 }
30152 _ACEOF
30153 if ac_fn_cxx_try_compile "$LINENO"; then :
30154 glibcxx_cv_func__long_double_round_use=yes
30155 else
30156 glibcxx_cv_func__long_double_round_use=no
30157 fi
30158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30159 ac_ext=c
30160 ac_cpp='$CPP $CPPFLAGS'
30161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30164
30165 fi
30166
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30168 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30169 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30170 for ac_func in _ceill _floorl
30171 do :
30172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30174 eval as_val=\$$as_ac_var
30175 if test "x$as_val" = x""yes; then :
30176 cat >>confdefs.h <<_ACEOF
30177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30178 _ACEOF
30179
30180 fi
30181 done
30182
30183 fi
30184 fi
30185
30186
30187
30188
30189
30190
30191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30192 $as_echo_n "checking for isnanl declaration... " >&6; }
30193 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30194 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30195 $as_echo_n "(cached) " >&6
30196 else
30197
30198
30199 ac_ext=cpp
30200 ac_cpp='$CXXCPP $CPPFLAGS'
30201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30204
30205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30206 /* end confdefs.h. */
30207 #include <math.h>
30208 #ifdef HAVE_IEEEFP_H
30209 #include <ieeefp.h>
30210 #endif
30211
30212 int
30213 main ()
30214 {
30215 isnanl(0);
30216 ;
30217 return 0;
30218 }
30219 _ACEOF
30220 if ac_fn_cxx_try_compile "$LINENO"; then :
30221 glibcxx_cv_func_isnanl_use=yes
30222 else
30223 glibcxx_cv_func_isnanl_use=no
30224 fi
30225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30226 ac_ext=c
30227 ac_cpp='$CPP $CPPFLAGS'
30228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30231
30232
30233 fi
30234
30235 fi
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30237 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30238
30239 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30240 for ac_func in isnanl
30241 do :
30242 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30243 if test "x$ac_cv_func_isnanl" = x""yes; then :
30244 cat >>confdefs.h <<_ACEOF
30245 #define HAVE_ISNANL 1
30246 _ACEOF
30247
30248 fi
30249 done
30250
30251 else
30252
30253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30254 $as_echo_n "checking for _isnanl declaration... " >&6; }
30255 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30256 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30257 $as_echo_n "(cached) " >&6
30258 else
30259
30260
30261 ac_ext=cpp
30262 ac_cpp='$CXXCPP $CPPFLAGS'
30263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30266
30267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30268 /* end confdefs.h. */
30269 #include <math.h>
30270 #ifdef HAVE_IEEEFP_H
30271 #include <ieeefp.h>
30272 #endif
30273
30274 int
30275 main ()
30276 {
30277 _isnanl(0);
30278 ;
30279 return 0;
30280 }
30281 _ACEOF
30282 if ac_fn_cxx_try_compile "$LINENO"; then :
30283 glibcxx_cv_func__isnanl_use=yes
30284 else
30285 glibcxx_cv_func__isnanl_use=no
30286 fi
30287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30288 ac_ext=c
30289 ac_cpp='$CPP $CPPFLAGS'
30290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30293
30294
30295 fi
30296
30297 fi
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30299 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30300
30301 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30302 for ac_func in _isnanl
30303 do :
30304 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30305 if test "x$ac_cv_func__isnanl" = x""yes; then :
30306 cat >>confdefs.h <<_ACEOF
30307 #define HAVE__ISNANL 1
30308 _ACEOF
30309
30310 fi
30311 done
30312
30313 fi
30314 fi
30315
30316
30317
30318
30319
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30321 $as_echo_n "checking for isinfl declaration... " >&6; }
30322 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30323 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30324 $as_echo_n "(cached) " >&6
30325 else
30326
30327
30328 ac_ext=cpp
30329 ac_cpp='$CXXCPP $CPPFLAGS'
30330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30333
30334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30335 /* end confdefs.h. */
30336 #include <math.h>
30337 #ifdef HAVE_IEEEFP_H
30338 #include <ieeefp.h>
30339 #endif
30340
30341 int
30342 main ()
30343 {
30344 isinfl(0);
30345 ;
30346 return 0;
30347 }
30348 _ACEOF
30349 if ac_fn_cxx_try_compile "$LINENO"; then :
30350 glibcxx_cv_func_isinfl_use=yes
30351 else
30352 glibcxx_cv_func_isinfl_use=no
30353 fi
30354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30355 ac_ext=c
30356 ac_cpp='$CPP $CPPFLAGS'
30357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30360
30361
30362 fi
30363
30364 fi
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30366 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30367
30368 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30369 for ac_func in isinfl
30370 do :
30371 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30372 if test "x$ac_cv_func_isinfl" = x""yes; then :
30373 cat >>confdefs.h <<_ACEOF
30374 #define HAVE_ISINFL 1
30375 _ACEOF
30376
30377 fi
30378 done
30379
30380 else
30381
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30383 $as_echo_n "checking for _isinfl declaration... " >&6; }
30384 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30385 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30386 $as_echo_n "(cached) " >&6
30387 else
30388
30389
30390 ac_ext=cpp
30391 ac_cpp='$CXXCPP $CPPFLAGS'
30392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30395
30396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30397 /* end confdefs.h. */
30398 #include <math.h>
30399 #ifdef HAVE_IEEEFP_H
30400 #include <ieeefp.h>
30401 #endif
30402
30403 int
30404 main ()
30405 {
30406 _isinfl(0);
30407 ;
30408 return 0;
30409 }
30410 _ACEOF
30411 if ac_fn_cxx_try_compile "$LINENO"; then :
30412 glibcxx_cv_func__isinfl_use=yes
30413 else
30414 glibcxx_cv_func__isinfl_use=no
30415 fi
30416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30417 ac_ext=c
30418 ac_cpp='$CPP $CPPFLAGS'
30419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30422
30423
30424 fi
30425
30426 fi
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30428 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30429
30430 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30431 for ac_func in _isinfl
30432 do :
30433 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30434 if test "x$ac_cv_func__isinfl" = x""yes; then :
30435 cat >>confdefs.h <<_ACEOF
30436 #define HAVE__ISINFL 1
30437 _ACEOF
30438
30439 fi
30440 done
30441
30442 fi
30443 fi
30444
30445
30446
30447
30448
30449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30450 $as_echo_n "checking for atan2l declaration... " >&6; }
30451 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30452 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30453 $as_echo_n "(cached) " >&6
30454 else
30455
30456
30457 ac_ext=cpp
30458 ac_cpp='$CXXCPP $CPPFLAGS'
30459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30462
30463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <math.h>
30466 int
30467 main ()
30468 {
30469 atan2l(0, 0);
30470 ;
30471 return 0;
30472 }
30473 _ACEOF
30474 if ac_fn_cxx_try_compile "$LINENO"; then :
30475 glibcxx_cv_func_atan2l_use=yes
30476 else
30477 glibcxx_cv_func_atan2l_use=no
30478 fi
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480 ac_ext=c
30481 ac_cpp='$CPP $CPPFLAGS'
30482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30485
30486
30487 fi
30488
30489 fi
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30491 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30492
30493 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30494 for ac_func in atan2l
30495 do :
30496 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30497 if test "x$ac_cv_func_atan2l" = x""yes; then :
30498 cat >>confdefs.h <<_ACEOF
30499 #define HAVE_ATAN2L 1
30500 _ACEOF
30501
30502 fi
30503 done
30504
30505 else
30506
30507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30508 $as_echo_n "checking for _atan2l declaration... " >&6; }
30509 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30510 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30511 $as_echo_n "(cached) " >&6
30512 else
30513
30514
30515 ac_ext=cpp
30516 ac_cpp='$CXXCPP $CPPFLAGS'
30517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30520
30521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30522 /* end confdefs.h. */
30523 #include <math.h>
30524 int
30525 main ()
30526 {
30527 _atan2l(0, 0);
30528 ;
30529 return 0;
30530 }
30531 _ACEOF
30532 if ac_fn_cxx_try_compile "$LINENO"; then :
30533 glibcxx_cv_func__atan2l_use=yes
30534 else
30535 glibcxx_cv_func__atan2l_use=no
30536 fi
30537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30538 ac_ext=c
30539 ac_cpp='$CPP $CPPFLAGS'
30540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30543
30544
30545 fi
30546
30547 fi
30548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30549 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30550
30551 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30552 for ac_func in _atan2l
30553 do :
30554 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30555 if test "x$ac_cv_func__atan2l" = x""yes; then :
30556 cat >>confdefs.h <<_ACEOF
30557 #define HAVE__ATAN2L 1
30558 _ACEOF
30559
30560 fi
30561 done
30562
30563 fi
30564 fi
30565
30566
30567
30568
30569
30570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30571 $as_echo_n "checking for expl declaration... " >&6; }
30572 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30573 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30574 $as_echo_n "(cached) " >&6
30575 else
30576
30577
30578 ac_ext=cpp
30579 ac_cpp='$CXXCPP $CPPFLAGS'
30580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30583
30584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30585 /* end confdefs.h. */
30586 #include <math.h>
30587 #ifdef HAVE_IEEEFP_H
30588 #include <ieeefp.h>
30589 #endif
30590
30591 int
30592 main ()
30593 {
30594 expl(0);
30595 ;
30596 return 0;
30597 }
30598 _ACEOF
30599 if ac_fn_cxx_try_compile "$LINENO"; then :
30600 glibcxx_cv_func_expl_use=yes
30601 else
30602 glibcxx_cv_func_expl_use=no
30603 fi
30604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30605 ac_ext=c
30606 ac_cpp='$CPP $CPPFLAGS'
30607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30610
30611
30612 fi
30613
30614 fi
30615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30616 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30617
30618 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30619 for ac_func in expl
30620 do :
30621 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30622 if test "x$ac_cv_func_expl" = x""yes; then :
30623 cat >>confdefs.h <<_ACEOF
30624 #define HAVE_EXPL 1
30625 _ACEOF
30626
30627 fi
30628 done
30629
30630 else
30631
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30633 $as_echo_n "checking for _expl declaration... " >&6; }
30634 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30635 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30636 $as_echo_n "(cached) " >&6
30637 else
30638
30639
30640 ac_ext=cpp
30641 ac_cpp='$CXXCPP $CPPFLAGS'
30642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30645
30646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30647 /* end confdefs.h. */
30648 #include <math.h>
30649 #ifdef HAVE_IEEEFP_H
30650 #include <ieeefp.h>
30651 #endif
30652
30653 int
30654 main ()
30655 {
30656 _expl(0);
30657 ;
30658 return 0;
30659 }
30660 _ACEOF
30661 if ac_fn_cxx_try_compile "$LINENO"; then :
30662 glibcxx_cv_func__expl_use=yes
30663 else
30664 glibcxx_cv_func__expl_use=no
30665 fi
30666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30667 ac_ext=c
30668 ac_cpp='$CPP $CPPFLAGS'
30669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30672
30673
30674 fi
30675
30676 fi
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30678 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30679
30680 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30681 for ac_func in _expl
30682 do :
30683 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30684 if test "x$ac_cv_func__expl" = x""yes; then :
30685 cat >>confdefs.h <<_ACEOF
30686 #define HAVE__EXPL 1
30687 _ACEOF
30688
30689 fi
30690 done
30691
30692 fi
30693 fi
30694
30695
30696
30697
30698
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30700 $as_echo_n "checking for fabsl declaration... " >&6; }
30701 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30702 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30703 $as_echo_n "(cached) " >&6
30704 else
30705
30706
30707 ac_ext=cpp
30708 ac_cpp='$CXXCPP $CPPFLAGS'
30709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30712
30713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30714 /* end confdefs.h. */
30715 #include <math.h>
30716 #ifdef HAVE_IEEEFP_H
30717 #include <ieeefp.h>
30718 #endif
30719
30720 int
30721 main ()
30722 {
30723 fabsl(0);
30724 ;
30725 return 0;
30726 }
30727 _ACEOF
30728 if ac_fn_cxx_try_compile "$LINENO"; then :
30729 glibcxx_cv_func_fabsl_use=yes
30730 else
30731 glibcxx_cv_func_fabsl_use=no
30732 fi
30733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30734 ac_ext=c
30735 ac_cpp='$CPP $CPPFLAGS'
30736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30739
30740
30741 fi
30742
30743 fi
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30745 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30746
30747 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30748 for ac_func in fabsl
30749 do :
30750 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30751 if test "x$ac_cv_func_fabsl" = x""yes; then :
30752 cat >>confdefs.h <<_ACEOF
30753 #define HAVE_FABSL 1
30754 _ACEOF
30755
30756 fi
30757 done
30758
30759 else
30760
30761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30762 $as_echo_n "checking for _fabsl declaration... " >&6; }
30763 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30764 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30765 $as_echo_n "(cached) " >&6
30766 else
30767
30768
30769 ac_ext=cpp
30770 ac_cpp='$CXXCPP $CPPFLAGS'
30771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30774
30775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30776 /* end confdefs.h. */
30777 #include <math.h>
30778 #ifdef HAVE_IEEEFP_H
30779 #include <ieeefp.h>
30780 #endif
30781
30782 int
30783 main ()
30784 {
30785 _fabsl(0);
30786 ;
30787 return 0;
30788 }
30789 _ACEOF
30790 if ac_fn_cxx_try_compile "$LINENO"; then :
30791 glibcxx_cv_func__fabsl_use=yes
30792 else
30793 glibcxx_cv_func__fabsl_use=no
30794 fi
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796 ac_ext=c
30797 ac_cpp='$CPP $CPPFLAGS'
30798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30801
30802
30803 fi
30804
30805 fi
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30807 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30808
30809 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30810 for ac_func in _fabsl
30811 do :
30812 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30813 if test "x$ac_cv_func__fabsl" = x""yes; then :
30814 cat >>confdefs.h <<_ACEOF
30815 #define HAVE__FABSL 1
30816 _ACEOF
30817
30818 fi
30819 done
30820
30821 fi
30822 fi
30823
30824
30825
30826
30827
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30829 $as_echo_n "checking for fmodl declaration... " >&6; }
30830 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30831 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30832 $as_echo_n "(cached) " >&6
30833 else
30834
30835
30836 ac_ext=cpp
30837 ac_cpp='$CXXCPP $CPPFLAGS'
30838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30841
30842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30843 /* end confdefs.h. */
30844 #include <math.h>
30845 int
30846 main ()
30847 {
30848 fmodl(0, 0);
30849 ;
30850 return 0;
30851 }
30852 _ACEOF
30853 if ac_fn_cxx_try_compile "$LINENO"; then :
30854 glibcxx_cv_func_fmodl_use=yes
30855 else
30856 glibcxx_cv_func_fmodl_use=no
30857 fi
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30859 ac_ext=c
30860 ac_cpp='$CPP $CPPFLAGS'
30861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30864
30865
30866 fi
30867
30868 fi
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30870 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30871
30872 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30873 for ac_func in fmodl
30874 do :
30875 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30876 if test "x$ac_cv_func_fmodl" = x""yes; then :
30877 cat >>confdefs.h <<_ACEOF
30878 #define HAVE_FMODL 1
30879 _ACEOF
30880
30881 fi
30882 done
30883
30884 else
30885
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30887 $as_echo_n "checking for _fmodl declaration... " >&6; }
30888 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30889 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30890 $as_echo_n "(cached) " >&6
30891 else
30892
30893
30894 ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899
30900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h. */
30902 #include <math.h>
30903 int
30904 main ()
30905 {
30906 _fmodl(0, 0);
30907 ;
30908 return 0;
30909 }
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912 glibcxx_cv_func__fmodl_use=yes
30913 else
30914 glibcxx_cv_func__fmodl_use=no
30915 fi
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30922
30923
30924 fi
30925
30926 fi
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30928 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30929
30930 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30931 for ac_func in _fmodl
30932 do :
30933 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30934 if test "x$ac_cv_func__fmodl" = x""yes; then :
30935 cat >>confdefs.h <<_ACEOF
30936 #define HAVE__FMODL 1
30937 _ACEOF
30938
30939 fi
30940 done
30941
30942 fi
30943 fi
30944
30945
30946
30947
30948
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30950 $as_echo_n "checking for frexpl declaration... " >&6; }
30951 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30952 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30953 $as_echo_n "(cached) " >&6
30954 else
30955
30956
30957 ac_ext=cpp
30958 ac_cpp='$CXXCPP $CPPFLAGS'
30959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30962
30963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30964 /* end confdefs.h. */
30965 #include <math.h>
30966 int
30967 main ()
30968 {
30969 frexpl(0, 0);
30970 ;
30971 return 0;
30972 }
30973 _ACEOF
30974 if ac_fn_cxx_try_compile "$LINENO"; then :
30975 glibcxx_cv_func_frexpl_use=yes
30976 else
30977 glibcxx_cv_func_frexpl_use=no
30978 fi
30979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30980 ac_ext=c
30981 ac_cpp='$CPP $CPPFLAGS'
30982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30985
30986
30987 fi
30988
30989 fi
30990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30991 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30992
30993 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30994 for ac_func in frexpl
30995 do :
30996 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30997 if test "x$ac_cv_func_frexpl" = x""yes; then :
30998 cat >>confdefs.h <<_ACEOF
30999 #define HAVE_FREXPL 1
31000 _ACEOF
31001
31002 fi
31003 done
31004
31005 else
31006
31007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31008 $as_echo_n "checking for _frexpl declaration... " >&6; }
31009 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31010 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31011 $as_echo_n "(cached) " >&6
31012 else
31013
31014
31015 ac_ext=cpp
31016 ac_cpp='$CXXCPP $CPPFLAGS'
31017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31020
31021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31022 /* end confdefs.h. */
31023 #include <math.h>
31024 int
31025 main ()
31026 {
31027 _frexpl(0, 0);
31028 ;
31029 return 0;
31030 }
31031 _ACEOF
31032 if ac_fn_cxx_try_compile "$LINENO"; then :
31033 glibcxx_cv_func__frexpl_use=yes
31034 else
31035 glibcxx_cv_func__frexpl_use=no
31036 fi
31037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31038 ac_ext=c
31039 ac_cpp='$CPP $CPPFLAGS'
31040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31043
31044
31045 fi
31046
31047 fi
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31049 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31050
31051 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31052 for ac_func in _frexpl
31053 do :
31054 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31055 if test "x$ac_cv_func__frexpl" = x""yes; then :
31056 cat >>confdefs.h <<_ACEOF
31057 #define HAVE__FREXPL 1
31058 _ACEOF
31059
31060 fi
31061 done
31062
31063 fi
31064 fi
31065
31066
31067
31068
31069
31070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31071 $as_echo_n "checking for hypotl declaration... " >&6; }
31072 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31073 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31074 $as_echo_n "(cached) " >&6
31075 else
31076
31077
31078 ac_ext=cpp
31079 ac_cpp='$CXXCPP $CPPFLAGS'
31080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31083
31084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31085 /* end confdefs.h. */
31086 #include <math.h>
31087 int
31088 main ()
31089 {
31090 hypotl(0, 0);
31091 ;
31092 return 0;
31093 }
31094 _ACEOF
31095 if ac_fn_cxx_try_compile "$LINENO"; then :
31096 glibcxx_cv_func_hypotl_use=yes
31097 else
31098 glibcxx_cv_func_hypotl_use=no
31099 fi
31100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31101 ac_ext=c
31102 ac_cpp='$CPP $CPPFLAGS'
31103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31106
31107
31108 fi
31109
31110 fi
31111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31112 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31113
31114 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31115 for ac_func in hypotl
31116 do :
31117 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31118 if test "x$ac_cv_func_hypotl" = x""yes; then :
31119 cat >>confdefs.h <<_ACEOF
31120 #define HAVE_HYPOTL 1
31121 _ACEOF
31122
31123 fi
31124 done
31125
31126 else
31127
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31129 $as_echo_n "checking for _hypotl declaration... " >&6; }
31130 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31131 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31132 $as_echo_n "(cached) " >&6
31133 else
31134
31135
31136 ac_ext=cpp
31137 ac_cpp='$CXXCPP $CPPFLAGS'
31138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31141
31142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31143 /* end confdefs.h. */
31144 #include <math.h>
31145 int
31146 main ()
31147 {
31148 _hypotl(0, 0);
31149 ;
31150 return 0;
31151 }
31152 _ACEOF
31153 if ac_fn_cxx_try_compile "$LINENO"; then :
31154 glibcxx_cv_func__hypotl_use=yes
31155 else
31156 glibcxx_cv_func__hypotl_use=no
31157 fi
31158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31159 ac_ext=c
31160 ac_cpp='$CPP $CPPFLAGS'
31161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31164
31165
31166 fi
31167
31168 fi
31169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31170 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31171
31172 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31173 for ac_func in _hypotl
31174 do :
31175 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31176 if test "x$ac_cv_func__hypotl" = x""yes; then :
31177 cat >>confdefs.h <<_ACEOF
31178 #define HAVE__HYPOTL 1
31179 _ACEOF
31180
31181 fi
31182 done
31183
31184 fi
31185 fi
31186
31187
31188
31189
31190
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31192 $as_echo_n "checking for ldexpl declaration... " >&6; }
31193 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31194 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31195 $as_echo_n "(cached) " >&6
31196 else
31197
31198
31199 ac_ext=cpp
31200 ac_cpp='$CXXCPP $CPPFLAGS'
31201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31204
31205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31206 /* end confdefs.h. */
31207 #include <math.h>
31208 int
31209 main ()
31210 {
31211 ldexpl(0, 0);
31212 ;
31213 return 0;
31214 }
31215 _ACEOF
31216 if ac_fn_cxx_try_compile "$LINENO"; then :
31217 glibcxx_cv_func_ldexpl_use=yes
31218 else
31219 glibcxx_cv_func_ldexpl_use=no
31220 fi
31221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31222 ac_ext=c
31223 ac_cpp='$CPP $CPPFLAGS'
31224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31227
31228
31229 fi
31230
31231 fi
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31233 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31234
31235 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31236 for ac_func in ldexpl
31237 do :
31238 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31239 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31240 cat >>confdefs.h <<_ACEOF
31241 #define HAVE_LDEXPL 1
31242 _ACEOF
31243
31244 fi
31245 done
31246
31247 else
31248
31249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31250 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31251 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31252 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31253 $as_echo_n "(cached) " >&6
31254 else
31255
31256
31257 ac_ext=cpp
31258 ac_cpp='$CXXCPP $CPPFLAGS'
31259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31262
31263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264 /* end confdefs.h. */
31265 #include <math.h>
31266 int
31267 main ()
31268 {
31269 _ldexpl(0, 0);
31270 ;
31271 return 0;
31272 }
31273 _ACEOF
31274 if ac_fn_cxx_try_compile "$LINENO"; then :
31275 glibcxx_cv_func__ldexpl_use=yes
31276 else
31277 glibcxx_cv_func__ldexpl_use=no
31278 fi
31279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31280 ac_ext=c
31281 ac_cpp='$CPP $CPPFLAGS'
31282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31285
31286
31287 fi
31288
31289 fi
31290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31291 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31292
31293 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31294 for ac_func in _ldexpl
31295 do :
31296 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31297 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31298 cat >>confdefs.h <<_ACEOF
31299 #define HAVE__LDEXPL 1
31300 _ACEOF
31301
31302 fi
31303 done
31304
31305 fi
31306 fi
31307
31308
31309
31310
31311
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31313 $as_echo_n "checking for logl declaration... " >&6; }
31314 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31315 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31316 $as_echo_n "(cached) " >&6
31317 else
31318
31319
31320 ac_ext=cpp
31321 ac_cpp='$CXXCPP $CPPFLAGS'
31322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31325
31326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31327 /* end confdefs.h. */
31328 #include <math.h>
31329 #ifdef HAVE_IEEEFP_H
31330 #include <ieeefp.h>
31331 #endif
31332
31333 int
31334 main ()
31335 {
31336 logl(0);
31337 ;
31338 return 0;
31339 }
31340 _ACEOF
31341 if ac_fn_cxx_try_compile "$LINENO"; then :
31342 glibcxx_cv_func_logl_use=yes
31343 else
31344 glibcxx_cv_func_logl_use=no
31345 fi
31346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31347 ac_ext=c
31348 ac_cpp='$CPP $CPPFLAGS'
31349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31352
31353
31354 fi
31355
31356 fi
31357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31358 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31359
31360 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31361 for ac_func in logl
31362 do :
31363 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31364 if test "x$ac_cv_func_logl" = x""yes; then :
31365 cat >>confdefs.h <<_ACEOF
31366 #define HAVE_LOGL 1
31367 _ACEOF
31368
31369 fi
31370 done
31371
31372 else
31373
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31375 $as_echo_n "checking for _logl declaration... " >&6; }
31376 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31377 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31378 $as_echo_n "(cached) " >&6
31379 else
31380
31381
31382 ac_ext=cpp
31383 ac_cpp='$CXXCPP $CPPFLAGS'
31384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31387
31388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31389 /* end confdefs.h. */
31390 #include <math.h>
31391 #ifdef HAVE_IEEEFP_H
31392 #include <ieeefp.h>
31393 #endif
31394
31395 int
31396 main ()
31397 {
31398 _logl(0);
31399 ;
31400 return 0;
31401 }
31402 _ACEOF
31403 if ac_fn_cxx_try_compile "$LINENO"; then :
31404 glibcxx_cv_func__logl_use=yes
31405 else
31406 glibcxx_cv_func__logl_use=no
31407 fi
31408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31409 ac_ext=c
31410 ac_cpp='$CPP $CPPFLAGS'
31411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31414
31415
31416 fi
31417
31418 fi
31419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31420 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31421
31422 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31423 for ac_func in _logl
31424 do :
31425 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31426 if test "x$ac_cv_func__logl" = x""yes; then :
31427 cat >>confdefs.h <<_ACEOF
31428 #define HAVE__LOGL 1
31429 _ACEOF
31430
31431 fi
31432 done
31433
31434 fi
31435 fi
31436
31437
31438
31439
31440
31441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31442 $as_echo_n "checking for log10l declaration... " >&6; }
31443 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31444 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31445 $as_echo_n "(cached) " >&6
31446 else
31447
31448
31449 ac_ext=cpp
31450 ac_cpp='$CXXCPP $CPPFLAGS'
31451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31454
31455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31456 /* end confdefs.h. */
31457 #include <math.h>
31458 #ifdef HAVE_IEEEFP_H
31459 #include <ieeefp.h>
31460 #endif
31461
31462 int
31463 main ()
31464 {
31465 log10l(0);
31466 ;
31467 return 0;
31468 }
31469 _ACEOF
31470 if ac_fn_cxx_try_compile "$LINENO"; then :
31471 glibcxx_cv_func_log10l_use=yes
31472 else
31473 glibcxx_cv_func_log10l_use=no
31474 fi
31475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31476 ac_ext=c
31477 ac_cpp='$CPP $CPPFLAGS'
31478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31481
31482
31483 fi
31484
31485 fi
31486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31487 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31488
31489 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31490 for ac_func in log10l
31491 do :
31492 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31493 if test "x$ac_cv_func_log10l" = x""yes; then :
31494 cat >>confdefs.h <<_ACEOF
31495 #define HAVE_LOG10L 1
31496 _ACEOF
31497
31498 fi
31499 done
31500
31501 else
31502
31503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31504 $as_echo_n "checking for _log10l declaration... " >&6; }
31505 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31506 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31507 $as_echo_n "(cached) " >&6
31508 else
31509
31510
31511 ac_ext=cpp
31512 ac_cpp='$CXXCPP $CPPFLAGS'
31513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31516
31517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31518 /* end confdefs.h. */
31519 #include <math.h>
31520 #ifdef HAVE_IEEEFP_H
31521 #include <ieeefp.h>
31522 #endif
31523
31524 int
31525 main ()
31526 {
31527 _log10l(0);
31528 ;
31529 return 0;
31530 }
31531 _ACEOF
31532 if ac_fn_cxx_try_compile "$LINENO"; then :
31533 glibcxx_cv_func__log10l_use=yes
31534 else
31535 glibcxx_cv_func__log10l_use=no
31536 fi
31537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31538 ac_ext=c
31539 ac_cpp='$CPP $CPPFLAGS'
31540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31543
31544
31545 fi
31546
31547 fi
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31549 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31550
31551 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31552 for ac_func in _log10l
31553 do :
31554 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31555 if test "x$ac_cv_func__log10l" = x""yes; then :
31556 cat >>confdefs.h <<_ACEOF
31557 #define HAVE__LOG10L 1
31558 _ACEOF
31559
31560 fi
31561 done
31562
31563 fi
31564 fi
31565
31566
31567
31568
31569
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31571 $as_echo_n "checking for modfl declaration... " >&6; }
31572 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31573 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31574 $as_echo_n "(cached) " >&6
31575 else
31576
31577
31578 ac_ext=cpp
31579 ac_cpp='$CXXCPP $CPPFLAGS'
31580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31583
31584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31585 /* end confdefs.h. */
31586 #include <math.h>
31587 int
31588 main ()
31589 {
31590 modfl(0, 0);
31591 ;
31592 return 0;
31593 }
31594 _ACEOF
31595 if ac_fn_cxx_try_compile "$LINENO"; then :
31596 glibcxx_cv_func_modfl_use=yes
31597 else
31598 glibcxx_cv_func_modfl_use=no
31599 fi
31600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31601 ac_ext=c
31602 ac_cpp='$CPP $CPPFLAGS'
31603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31606
31607
31608 fi
31609
31610 fi
31611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31612 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31613
31614 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31615 for ac_func in modfl
31616 do :
31617 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31618 if test "x$ac_cv_func_modfl" = x""yes; then :
31619 cat >>confdefs.h <<_ACEOF
31620 #define HAVE_MODFL 1
31621 _ACEOF
31622
31623 fi
31624 done
31625
31626 else
31627
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31629 $as_echo_n "checking for _modfl declaration... " >&6; }
31630 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31631 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31632 $as_echo_n "(cached) " >&6
31633 else
31634
31635
31636 ac_ext=cpp
31637 ac_cpp='$CXXCPP $CPPFLAGS'
31638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31641
31642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31643 /* end confdefs.h. */
31644 #include <math.h>
31645 int
31646 main ()
31647 {
31648 _modfl(0, 0);
31649 ;
31650 return 0;
31651 }
31652 _ACEOF
31653 if ac_fn_cxx_try_compile "$LINENO"; then :
31654 glibcxx_cv_func__modfl_use=yes
31655 else
31656 glibcxx_cv_func__modfl_use=no
31657 fi
31658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31659 ac_ext=c
31660 ac_cpp='$CPP $CPPFLAGS'
31661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31664
31665
31666 fi
31667
31668 fi
31669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31670 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31671
31672 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31673 for ac_func in _modfl
31674 do :
31675 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31676 if test "x$ac_cv_func__modfl" = x""yes; then :
31677 cat >>confdefs.h <<_ACEOF
31678 #define HAVE__MODFL 1
31679 _ACEOF
31680
31681 fi
31682 done
31683
31684 fi
31685 fi
31686
31687
31688
31689
31690
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31692 $as_echo_n "checking for powl declaration... " >&6; }
31693 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31694 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31695 $as_echo_n "(cached) " >&6
31696 else
31697
31698
31699 ac_ext=cpp
31700 ac_cpp='$CXXCPP $CPPFLAGS'
31701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31704
31705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31706 /* end confdefs.h. */
31707 #include <math.h>
31708 int
31709 main ()
31710 {
31711 powl(0, 0);
31712 ;
31713 return 0;
31714 }
31715 _ACEOF
31716 if ac_fn_cxx_try_compile "$LINENO"; then :
31717 glibcxx_cv_func_powl_use=yes
31718 else
31719 glibcxx_cv_func_powl_use=no
31720 fi
31721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31722 ac_ext=c
31723 ac_cpp='$CPP $CPPFLAGS'
31724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31727
31728
31729 fi
31730
31731 fi
31732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31733 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31734
31735 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31736 for ac_func in powl
31737 do :
31738 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31739 if test "x$ac_cv_func_powl" = x""yes; then :
31740 cat >>confdefs.h <<_ACEOF
31741 #define HAVE_POWL 1
31742 _ACEOF
31743
31744 fi
31745 done
31746
31747 else
31748
31749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31750 $as_echo_n "checking for _powl declaration... " >&6; }
31751 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31752 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31753 $as_echo_n "(cached) " >&6
31754 else
31755
31756
31757 ac_ext=cpp
31758 ac_cpp='$CXXCPP $CPPFLAGS'
31759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31762
31763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31764 /* end confdefs.h. */
31765 #include <math.h>
31766 int
31767 main ()
31768 {
31769 _powl(0, 0);
31770 ;
31771 return 0;
31772 }
31773 _ACEOF
31774 if ac_fn_cxx_try_compile "$LINENO"; then :
31775 glibcxx_cv_func__powl_use=yes
31776 else
31777 glibcxx_cv_func__powl_use=no
31778 fi
31779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31780 ac_ext=c
31781 ac_cpp='$CPP $CPPFLAGS'
31782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31785
31786
31787 fi
31788
31789 fi
31790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31791 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31792
31793 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31794 for ac_func in _powl
31795 do :
31796 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31797 if test "x$ac_cv_func__powl" = x""yes; then :
31798 cat >>confdefs.h <<_ACEOF
31799 #define HAVE__POWL 1
31800 _ACEOF
31801
31802 fi
31803 done
31804
31805 fi
31806 fi
31807
31808
31809
31810
31811
31812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31813 $as_echo_n "checking for sqrtl declaration... " >&6; }
31814 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31815 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31816 $as_echo_n "(cached) " >&6
31817 else
31818
31819
31820 ac_ext=cpp
31821 ac_cpp='$CXXCPP $CPPFLAGS'
31822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31825
31826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31827 /* end confdefs.h. */
31828 #include <math.h>
31829 #ifdef HAVE_IEEEFP_H
31830 #include <ieeefp.h>
31831 #endif
31832
31833 int
31834 main ()
31835 {
31836 sqrtl(0);
31837 ;
31838 return 0;
31839 }
31840 _ACEOF
31841 if ac_fn_cxx_try_compile "$LINENO"; then :
31842 glibcxx_cv_func_sqrtl_use=yes
31843 else
31844 glibcxx_cv_func_sqrtl_use=no
31845 fi
31846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31847 ac_ext=c
31848 ac_cpp='$CPP $CPPFLAGS'
31849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31852
31853
31854 fi
31855
31856 fi
31857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31858 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31859
31860 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31861 for ac_func in sqrtl
31862 do :
31863 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31864 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31865 cat >>confdefs.h <<_ACEOF
31866 #define HAVE_SQRTL 1
31867 _ACEOF
31868
31869 fi
31870 done
31871
31872 else
31873
31874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31875 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31876 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31877 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31878 $as_echo_n "(cached) " >&6
31879 else
31880
31881
31882 ac_ext=cpp
31883 ac_cpp='$CXXCPP $CPPFLAGS'
31884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31887
31888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31889 /* end confdefs.h. */
31890 #include <math.h>
31891 #ifdef HAVE_IEEEFP_H
31892 #include <ieeefp.h>
31893 #endif
31894
31895 int
31896 main ()
31897 {
31898 _sqrtl(0);
31899 ;
31900 return 0;
31901 }
31902 _ACEOF
31903 if ac_fn_cxx_try_compile "$LINENO"; then :
31904 glibcxx_cv_func__sqrtl_use=yes
31905 else
31906 glibcxx_cv_func__sqrtl_use=no
31907 fi
31908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31909 ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31914
31915
31916 fi
31917
31918 fi
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31920 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31921
31922 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31923 for ac_func in _sqrtl
31924 do :
31925 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31926 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31927 cat >>confdefs.h <<_ACEOF
31928 #define HAVE__SQRTL 1
31929 _ACEOF
31930
31931 fi
31932 done
31933
31934 fi
31935 fi
31936
31937
31938
31939
31940
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31942 $as_echo_n "checking for sincosl declaration... " >&6; }
31943 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31944 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31945 $as_echo_n "(cached) " >&6
31946 else
31947
31948
31949 ac_ext=cpp
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31954
31955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31956 /* end confdefs.h. */
31957 #include <math.h>
31958 int
31959 main ()
31960 {
31961 sincosl(0, 0, 0);
31962 ;
31963 return 0;
31964 }
31965 _ACEOF
31966 if ac_fn_cxx_try_compile "$LINENO"; then :
31967 glibcxx_cv_func_sincosl_use=yes
31968 else
31969 glibcxx_cv_func_sincosl_use=no
31970 fi
31971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31972 ac_ext=c
31973 ac_cpp='$CPP $CPPFLAGS'
31974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31977
31978
31979 fi
31980
31981 fi
31982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31983 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31984
31985 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31986 for ac_func in sincosl
31987 do :
31988 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31989 if test "x$ac_cv_func_sincosl" = x""yes; then :
31990 cat >>confdefs.h <<_ACEOF
31991 #define HAVE_SINCOSL 1
31992 _ACEOF
31993
31994 fi
31995 done
31996
31997 else
31998
31999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32000 $as_echo_n "checking for _sincosl declaration... " >&6; }
32001 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32002 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32003 $as_echo_n "(cached) " >&6
32004 else
32005
32006
32007 ac_ext=cpp
32008 ac_cpp='$CXXCPP $CPPFLAGS'
32009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32012
32013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32014 /* end confdefs.h. */
32015 #include <math.h>
32016 int
32017 main ()
32018 {
32019 _sincosl(0, 0, 0);
32020 ;
32021 return 0;
32022 }
32023 _ACEOF
32024 if ac_fn_cxx_try_compile "$LINENO"; then :
32025 glibcxx_cv_func__sincosl_use=yes
32026 else
32027 glibcxx_cv_func__sincosl_use=no
32028 fi
32029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32030 ac_ext=c
32031 ac_cpp='$CPP $CPPFLAGS'
32032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32035
32036
32037 fi
32038
32039 fi
32040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32041 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32042
32043 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32044 for ac_func in _sincosl
32045 do :
32046 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32047 if test "x$ac_cv_func__sincosl" = x""yes; then :
32048 cat >>confdefs.h <<_ACEOF
32049 #define HAVE__SINCOSL 1
32050 _ACEOF
32051
32052 fi
32053 done
32054
32055 fi
32056 fi
32057
32058
32059
32060
32061
32062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32063 $as_echo_n "checking for finitel declaration... " >&6; }
32064 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32065 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32066 $as_echo_n "(cached) " >&6
32067 else
32068
32069
32070 ac_ext=cpp
32071 ac_cpp='$CXXCPP $CPPFLAGS'
32072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32075
32076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32077 /* end confdefs.h. */
32078 #include <math.h>
32079 #ifdef HAVE_IEEEFP_H
32080 #include <ieeefp.h>
32081 #endif
32082
32083 int
32084 main ()
32085 {
32086 finitel(0);
32087 ;
32088 return 0;
32089 }
32090 _ACEOF
32091 if ac_fn_cxx_try_compile "$LINENO"; then :
32092 glibcxx_cv_func_finitel_use=yes
32093 else
32094 glibcxx_cv_func_finitel_use=no
32095 fi
32096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32097 ac_ext=c
32098 ac_cpp='$CPP $CPPFLAGS'
32099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32102
32103
32104 fi
32105
32106 fi
32107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32108 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32109
32110 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32111 for ac_func in finitel
32112 do :
32113 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32114 if test "x$ac_cv_func_finitel" = x""yes; then :
32115 cat >>confdefs.h <<_ACEOF
32116 #define HAVE_FINITEL 1
32117 _ACEOF
32118
32119 fi
32120 done
32121
32122 else
32123
32124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32125 $as_echo_n "checking for _finitel declaration... " >&6; }
32126 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32127 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32128 $as_echo_n "(cached) " >&6
32129 else
32130
32131
32132 ac_ext=cpp
32133 ac_cpp='$CXXCPP $CPPFLAGS'
32134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32137
32138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32139 /* end confdefs.h. */
32140 #include <math.h>
32141 #ifdef HAVE_IEEEFP_H
32142 #include <ieeefp.h>
32143 #endif
32144
32145 int
32146 main ()
32147 {
32148 _finitel(0);
32149 ;
32150 return 0;
32151 }
32152 _ACEOF
32153 if ac_fn_cxx_try_compile "$LINENO"; then :
32154 glibcxx_cv_func__finitel_use=yes
32155 else
32156 glibcxx_cv_func__finitel_use=no
32157 fi
32158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32159 ac_ext=c
32160 ac_cpp='$CPP $CPPFLAGS'
32161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164
32165
32166 fi
32167
32168 fi
32169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32170 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32171
32172 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32173 for ac_func in _finitel
32174 do :
32175 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32176 if test "x$ac_cv_func__finitel" = x""yes; then :
32177 cat >>confdefs.h <<_ACEOF
32178 #define HAVE__FINITEL 1
32179 _ACEOF
32180
32181 fi
32182 done
32183
32184 fi
32185 fi
32186
32187
32188
32189
32190 LIBS="$ac_save_LIBS"
32191 CXXFLAGS="$ac_save_CXXFLAGS"
32192
32193
32194 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32195 ac_save_CXXFLAGS="$CXXFLAGS"
32196 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32197
32198
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32200 $as_echo_n "checking for strtold declaration... " >&6; }
32201 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32202 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32203 $as_echo_n "(cached) " >&6
32204 else
32205
32206
32207 ac_ext=cpp
32208 ac_cpp='$CXXCPP $CPPFLAGS'
32209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32212
32213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32214 /* end confdefs.h. */
32215 #include <stdlib.h>
32216 int
32217 main ()
32218 {
32219 strtold(0, 0);
32220 ;
32221 return 0;
32222 }
32223 _ACEOF
32224 if ac_fn_cxx_try_compile "$LINENO"; then :
32225 glibcxx_cv_func_strtold_use=yes
32226 else
32227 glibcxx_cv_func_strtold_use=no
32228 fi
32229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32230 ac_ext=c
32231 ac_cpp='$CPP $CPPFLAGS'
32232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32235
32236
32237 fi
32238
32239 fi
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32241 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32242 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32243 for ac_func in strtold
32244 do :
32245 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32246 if test "x$ac_cv_func_strtold" = x""yes; then :
32247 cat >>confdefs.h <<_ACEOF
32248 #define HAVE_STRTOLD 1
32249 _ACEOF
32250
32251 fi
32252 done
32253
32254 fi
32255
32256
32257
32258
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32260 $as_echo_n "checking for strtof declaration... " >&6; }
32261 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32262 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32263 $as_echo_n "(cached) " >&6
32264 else
32265
32266
32267 ac_ext=cpp
32268 ac_cpp='$CXXCPP $CPPFLAGS'
32269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32272
32273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32274 /* end confdefs.h. */
32275 #include <stdlib.h>
32276 int
32277 main ()
32278 {
32279 strtof(0, 0);
32280 ;
32281 return 0;
32282 }
32283 _ACEOF
32284 if ac_fn_cxx_try_compile "$LINENO"; then :
32285 glibcxx_cv_func_strtof_use=yes
32286 else
32287 glibcxx_cv_func_strtof_use=no
32288 fi
32289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32290 ac_ext=c
32291 ac_cpp='$CPP $CPPFLAGS'
32292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32295
32296
32297 fi
32298
32299 fi
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32301 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32302 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32303 for ac_func in strtof
32304 do :
32305 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32306 if test "x$ac_cv_func_strtof" = x""yes; then :
32307 cat >>confdefs.h <<_ACEOF
32308 #define HAVE_STRTOF 1
32309 _ACEOF
32310
32311 fi
32312 done
32313
32314 fi
32315
32316
32317
32318
32319 CXXFLAGS="$ac_save_CXXFLAGS"
32320
32321
32322 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32323
32324 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32325
32326 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32327
32328 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32329
32330
32331 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32332
32333 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32334
32335 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32336
32337 ;;
32338
32339 *-aix*)
32340
32341 # If we're not using GNU ld, then there's no point in even trying these
32342 # tests. Check for that first. We should have already tested for gld
32343 # by now (in libtool), but require it now just to be safe...
32344 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32345 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32346
32347
32348
32349 # The name set by libtool depends on the version of libtool. Shame on us
32350 # for depending on an impl detail, but c'est la vie. Older versions used
32351 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32352 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32353 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32354 # set (hence we're using an older libtool), then set it.
32355 if test x${with_gnu_ld+set} != xset; then
32356 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32357 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32358 with_gnu_ld=no
32359 else
32360 with_gnu_ld=$ac_cv_prog_gnu_ld
32361 fi
32362 fi
32363
32364 # Start by getting the version number. I think the libtool test already
32365 # does some of this, but throws away the result.
32366 glibcxx_ld_is_gold=no
32367 if test x"$with_gnu_ld" = x"yes"; then
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32369 $as_echo_n "checking for ld version... " >&6; }
32370
32371 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32372 glibcxx_ld_is_gold=yes
32373 fi
32374 ldver=`$LD --version 2>/dev/null |
32375 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'`
32376
32377 glibcxx_gnu_ld_version=`echo $ldver | \
32378 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32380 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32381 fi
32382
32383 # Set --gc-sections.
32384 glibcxx_have_gc_sections=no
32385 if test "$glibcxx_ld_is_gold" = "yes"; then
32386 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32387 glibcxx_have_gc_sections=yes
32388 fi
32389 else
32390 glibcxx_gcsections_min_ld=21602
32391 if test x"$with_gnu_ld" = x"yes" &&
32392 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32393 glibcxx_have_gc_sections=yes
32394 fi
32395 fi
32396 if test "$glibcxx_have_gc_sections" = "yes"; then
32397 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32398 # NB: This flag only works reliably after 2.16.1. Configure tests
32399 # for this are difficult, so hard wire a value that should work.
32400
32401 ac_test_CFLAGS="${CFLAGS+set}"
32402 ac_save_CFLAGS="$CFLAGS"
32403 CFLAGS='-Wl,--gc-sections'
32404
32405 # Check for -Wl,--gc-sections
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32407 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32408 if test x$gcc_no_link = xyes; then
32409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32410 fi
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 int one(void) { return 1; }
32414 int two(void) { return 2; }
32415
32416 int
32417 main ()
32418 {
32419 two();
32420 ;
32421 return 0;
32422 }
32423 _ACEOF
32424 if ac_fn_c_try_link "$LINENO"; then :
32425 ac_gcsections=yes
32426 else
32427 ac_gcsections=no
32428 fi
32429 rm -f core conftest.err conftest.$ac_objext \
32430 conftest$ac_exeext conftest.$ac_ext
32431 if test "$ac_gcsections" = "yes"; then
32432 rm -f conftest.c
32433 touch conftest.c
32434 if $CC -c conftest.c; then
32435 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32436 grep "Warning: gc-sections option ignored" > /dev/null; then
32437 ac_gcsections=no
32438 fi
32439 fi
32440 rm -f conftest.c conftest.o conftest
32441 fi
32442 if test "$ac_gcsections" = "yes"; then
32443 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32444 fi
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32446 $as_echo "$ac_gcsections" >&6; }
32447
32448 if test "$ac_test_CFLAGS" = set; then
32449 CFLAGS="$ac_save_CFLAGS"
32450 else
32451 # this is the suspicious part
32452 CFLAGS=''
32453 fi
32454 fi
32455
32456 # Set -z,relro.
32457 # Note this is only for shared objects.
32458 ac_ld_relro=no
32459 if test x"$with_gnu_ld" = x"yes"; then
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32461 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32462 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32463 if test -n "$cxx_z_relo"; then
32464 OPT_LDFLAGS="-Wl,-z,relro"
32465 ac_ld_relro=yes
32466 fi
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32468 $as_echo "$ac_ld_relro" >&6; }
32469 fi
32470
32471 # Set linker optimization flags.
32472 if test x"$with_gnu_ld" = x"yes"; then
32473 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32474 fi
32475
32476
32477
32478
32479
32480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32481 ac_save_CXXFLAGS="$CXXFLAGS"
32482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32483
32484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32485 $as_echo_n "checking for sin in -lm... " >&6; }
32486 if test "${ac_cv_lib_m_sin+set}" = set; then :
32487 $as_echo_n "(cached) " >&6
32488 else
32489 ac_check_lib_save_LIBS=$LIBS
32490 LIBS="-lm $LIBS"
32491 if test x$gcc_no_link = xyes; then
32492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32493 fi
32494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32495 /* end confdefs.h. */
32496
32497 /* Override any GCC internal prototype to avoid an error.
32498 Use char because int might match the return type of a GCC
32499 builtin and then its argument prototype would still apply. */
32500 #ifdef __cplusplus
32501 extern "C"
32502 #endif
32503 char sin ();
32504 int
32505 main ()
32506 {
32507 return sin ();
32508 ;
32509 return 0;
32510 }
32511 _ACEOF
32512 if ac_fn_c_try_link "$LINENO"; then :
32513 ac_cv_lib_m_sin=yes
32514 else
32515 ac_cv_lib_m_sin=no
32516 fi
32517 rm -f core conftest.err conftest.$ac_objext \
32518 conftest$ac_exeext conftest.$ac_ext
32519 LIBS=$ac_check_lib_save_LIBS
32520 fi
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32522 $as_echo "$ac_cv_lib_m_sin" >&6; }
32523 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32524 libm="-lm"
32525 fi
32526
32527 ac_save_LIBS="$LIBS"
32528 LIBS="$LIBS $libm"
32529
32530
32531
32532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32533 $as_echo_n "checking for isinf declaration... " >&6; }
32534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32535 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32536 $as_echo_n "(cached) " >&6
32537 else
32538
32539
32540 ac_ext=cpp
32541 ac_cpp='$CXXCPP $CPPFLAGS'
32542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32545
32546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32547 /* end confdefs.h. */
32548 #include <math.h>
32549 #ifdef HAVE_IEEEFP_H
32550 #include <ieeefp.h>
32551 #endif
32552
32553 int
32554 main ()
32555 {
32556 isinf(0);
32557 ;
32558 return 0;
32559 }
32560 _ACEOF
32561 if ac_fn_cxx_try_compile "$LINENO"; then :
32562 glibcxx_cv_func_isinf_use=yes
32563 else
32564 glibcxx_cv_func_isinf_use=no
32565 fi
32566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32567 ac_ext=c
32568 ac_cpp='$CPP $CPPFLAGS'
32569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32572
32573
32574 fi
32575
32576 fi
32577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32578 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32579
32580 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32581 for ac_func in isinf
32582 do :
32583 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32584 if test "x$ac_cv_func_isinf" = x""yes; then :
32585 cat >>confdefs.h <<_ACEOF
32586 #define HAVE_ISINF 1
32587 _ACEOF
32588
32589 fi
32590 done
32591
32592 else
32593
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32595 $as_echo_n "checking for _isinf declaration... " >&6; }
32596 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32597 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32598 $as_echo_n "(cached) " >&6
32599 else
32600
32601
32602 ac_ext=cpp
32603 ac_cpp='$CXXCPP $CPPFLAGS'
32604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32607
32608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32609 /* end confdefs.h. */
32610 #include <math.h>
32611 #ifdef HAVE_IEEEFP_H
32612 #include <ieeefp.h>
32613 #endif
32614
32615 int
32616 main ()
32617 {
32618 _isinf(0);
32619 ;
32620 return 0;
32621 }
32622 _ACEOF
32623 if ac_fn_cxx_try_compile "$LINENO"; then :
32624 glibcxx_cv_func__isinf_use=yes
32625 else
32626 glibcxx_cv_func__isinf_use=no
32627 fi
32628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32629 ac_ext=c
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32634
32635
32636 fi
32637
32638 fi
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32640 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32641
32642 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32643 for ac_func in _isinf
32644 do :
32645 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32646 if test "x$ac_cv_func__isinf" = x""yes; then :
32647 cat >>confdefs.h <<_ACEOF
32648 #define HAVE__ISINF 1
32649 _ACEOF
32650
32651 fi
32652 done
32653
32654 fi
32655 fi
32656
32657
32658
32659
32660
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32662 $as_echo_n "checking for isnan declaration... " >&6; }
32663 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32664 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32665 $as_echo_n "(cached) " >&6
32666 else
32667
32668
32669 ac_ext=cpp
32670 ac_cpp='$CXXCPP $CPPFLAGS'
32671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32674
32675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32676 /* end confdefs.h. */
32677 #include <math.h>
32678 #ifdef HAVE_IEEEFP_H
32679 #include <ieeefp.h>
32680 #endif
32681
32682 int
32683 main ()
32684 {
32685 isnan(0);
32686 ;
32687 return 0;
32688 }
32689 _ACEOF
32690 if ac_fn_cxx_try_compile "$LINENO"; then :
32691 glibcxx_cv_func_isnan_use=yes
32692 else
32693 glibcxx_cv_func_isnan_use=no
32694 fi
32695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32696 ac_ext=c
32697 ac_cpp='$CPP $CPPFLAGS'
32698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32701
32702
32703 fi
32704
32705 fi
32706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32707 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32708
32709 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32710 for ac_func in isnan
32711 do :
32712 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32713 if test "x$ac_cv_func_isnan" = x""yes; then :
32714 cat >>confdefs.h <<_ACEOF
32715 #define HAVE_ISNAN 1
32716 _ACEOF
32717
32718 fi
32719 done
32720
32721 else
32722
32723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32724 $as_echo_n "checking for _isnan declaration... " >&6; }
32725 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32726 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32727 $as_echo_n "(cached) " >&6
32728 else
32729
32730
32731 ac_ext=cpp
32732 ac_cpp='$CXXCPP $CPPFLAGS'
32733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32736
32737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32738 /* end confdefs.h. */
32739 #include <math.h>
32740 #ifdef HAVE_IEEEFP_H
32741 #include <ieeefp.h>
32742 #endif
32743
32744 int
32745 main ()
32746 {
32747 _isnan(0);
32748 ;
32749 return 0;
32750 }
32751 _ACEOF
32752 if ac_fn_cxx_try_compile "$LINENO"; then :
32753 glibcxx_cv_func__isnan_use=yes
32754 else
32755 glibcxx_cv_func__isnan_use=no
32756 fi
32757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758 ac_ext=c
32759 ac_cpp='$CPP $CPPFLAGS'
32760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32763
32764
32765 fi
32766
32767 fi
32768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32769 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32770
32771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32772 for ac_func in _isnan
32773 do :
32774 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32775 if test "x$ac_cv_func__isnan" = x""yes; then :
32776 cat >>confdefs.h <<_ACEOF
32777 #define HAVE__ISNAN 1
32778 _ACEOF
32779
32780 fi
32781 done
32782
32783 fi
32784 fi
32785
32786
32787
32788
32789
32790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32791 $as_echo_n "checking for finite declaration... " >&6; }
32792 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32793 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32794 $as_echo_n "(cached) " >&6
32795 else
32796
32797
32798 ac_ext=cpp
32799 ac_cpp='$CXXCPP $CPPFLAGS'
32800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32803
32804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32805 /* end confdefs.h. */
32806 #include <math.h>
32807 #ifdef HAVE_IEEEFP_H
32808 #include <ieeefp.h>
32809 #endif
32810
32811 int
32812 main ()
32813 {
32814 finite(0);
32815 ;
32816 return 0;
32817 }
32818 _ACEOF
32819 if ac_fn_cxx_try_compile "$LINENO"; then :
32820 glibcxx_cv_func_finite_use=yes
32821 else
32822 glibcxx_cv_func_finite_use=no
32823 fi
32824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32825 ac_ext=c
32826 ac_cpp='$CPP $CPPFLAGS'
32827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32830
32831
32832 fi
32833
32834 fi
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32836 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32837
32838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32839 for ac_func in finite
32840 do :
32841 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32842 if test "x$ac_cv_func_finite" = x""yes; then :
32843 cat >>confdefs.h <<_ACEOF
32844 #define HAVE_FINITE 1
32845 _ACEOF
32846
32847 fi
32848 done
32849
32850 else
32851
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32853 $as_echo_n "checking for _finite declaration... " >&6; }
32854 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32855 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32856 $as_echo_n "(cached) " >&6
32857 else
32858
32859
32860 ac_ext=cpp
32861 ac_cpp='$CXXCPP $CPPFLAGS'
32862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32865
32866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32867 /* end confdefs.h. */
32868 #include <math.h>
32869 #ifdef HAVE_IEEEFP_H
32870 #include <ieeefp.h>
32871 #endif
32872
32873 int
32874 main ()
32875 {
32876 _finite(0);
32877 ;
32878 return 0;
32879 }
32880 _ACEOF
32881 if ac_fn_cxx_try_compile "$LINENO"; then :
32882 glibcxx_cv_func__finite_use=yes
32883 else
32884 glibcxx_cv_func__finite_use=no
32885 fi
32886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32887 ac_ext=c
32888 ac_cpp='$CPP $CPPFLAGS'
32889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32892
32893
32894 fi
32895
32896 fi
32897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32898 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32899
32900 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32901 for ac_func in _finite
32902 do :
32903 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32904 if test "x$ac_cv_func__finite" = x""yes; then :
32905 cat >>confdefs.h <<_ACEOF
32906 #define HAVE__FINITE 1
32907 _ACEOF
32908
32909 fi
32910 done
32911
32912 fi
32913 fi
32914
32915
32916
32917
32918
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32920 $as_echo_n "checking for sincos declaration... " >&6; }
32921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32922 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32923 $as_echo_n "(cached) " >&6
32924 else
32925
32926
32927 ac_ext=cpp
32928 ac_cpp='$CXXCPP $CPPFLAGS'
32929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32932
32933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32934 /* end confdefs.h. */
32935 #include <math.h>
32936 int
32937 main ()
32938 {
32939 sincos(0, 0, 0);
32940 ;
32941 return 0;
32942 }
32943 _ACEOF
32944 if ac_fn_cxx_try_compile "$LINENO"; then :
32945 glibcxx_cv_func_sincos_use=yes
32946 else
32947 glibcxx_cv_func_sincos_use=no
32948 fi
32949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32950 ac_ext=c
32951 ac_cpp='$CPP $CPPFLAGS'
32952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32955
32956
32957 fi
32958
32959 fi
32960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32961 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32962
32963 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32964 for ac_func in sincos
32965 do :
32966 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32967 if test "x$ac_cv_func_sincos" = x""yes; then :
32968 cat >>confdefs.h <<_ACEOF
32969 #define HAVE_SINCOS 1
32970 _ACEOF
32971
32972 fi
32973 done
32974
32975 else
32976
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32978 $as_echo_n "checking for _sincos declaration... " >&6; }
32979 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32980 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32981 $as_echo_n "(cached) " >&6
32982 else
32983
32984
32985 ac_ext=cpp
32986 ac_cpp='$CXXCPP $CPPFLAGS'
32987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32990
32991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32992 /* end confdefs.h. */
32993 #include <math.h>
32994 int
32995 main ()
32996 {
32997 _sincos(0, 0, 0);
32998 ;
32999 return 0;
33000 }
33001 _ACEOF
33002 if ac_fn_cxx_try_compile "$LINENO"; then :
33003 glibcxx_cv_func__sincos_use=yes
33004 else
33005 glibcxx_cv_func__sincos_use=no
33006 fi
33007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33008 ac_ext=c
33009 ac_cpp='$CPP $CPPFLAGS'
33010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33013
33014
33015 fi
33016
33017 fi
33018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33019 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33020
33021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33022 for ac_func in _sincos
33023 do :
33024 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33025 if test "x$ac_cv_func__sincos" = x""yes; then :
33026 cat >>confdefs.h <<_ACEOF
33027 #define HAVE__SINCOS 1
33028 _ACEOF
33029
33030 fi
33031 done
33032
33033 fi
33034 fi
33035
33036
33037
33038
33039
33040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33041 $as_echo_n "checking for fpclass declaration... " >&6; }
33042 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33043 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33044 $as_echo_n "(cached) " >&6
33045 else
33046
33047
33048 ac_ext=cpp
33049 ac_cpp='$CXXCPP $CPPFLAGS'
33050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33053
33054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33055 /* end confdefs.h. */
33056 #include <math.h>
33057 #ifdef HAVE_IEEEFP_H
33058 #include <ieeefp.h>
33059 #endif
33060
33061 int
33062 main ()
33063 {
33064 fpclass(0);
33065 ;
33066 return 0;
33067 }
33068 _ACEOF
33069 if ac_fn_cxx_try_compile "$LINENO"; then :
33070 glibcxx_cv_func_fpclass_use=yes
33071 else
33072 glibcxx_cv_func_fpclass_use=no
33073 fi
33074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33075 ac_ext=c
33076 ac_cpp='$CPP $CPPFLAGS'
33077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33080
33081
33082 fi
33083
33084 fi
33085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33086 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33087
33088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33089 for ac_func in fpclass
33090 do :
33091 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33092 if test "x$ac_cv_func_fpclass" = x""yes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE_FPCLASS 1
33095 _ACEOF
33096
33097 fi
33098 done
33099
33100 else
33101
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33103 $as_echo_n "checking for _fpclass declaration... " >&6; }
33104 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33105 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33106 $as_echo_n "(cached) " >&6
33107 else
33108
33109
33110 ac_ext=cpp
33111 ac_cpp='$CXXCPP $CPPFLAGS'
33112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33115
33116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33117 /* end confdefs.h. */
33118 #include <math.h>
33119 #ifdef HAVE_IEEEFP_H
33120 #include <ieeefp.h>
33121 #endif
33122
33123 int
33124 main ()
33125 {
33126 _fpclass(0);
33127 ;
33128 return 0;
33129 }
33130 _ACEOF
33131 if ac_fn_cxx_try_compile "$LINENO"; then :
33132 glibcxx_cv_func__fpclass_use=yes
33133 else
33134 glibcxx_cv_func__fpclass_use=no
33135 fi
33136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33137 ac_ext=c
33138 ac_cpp='$CPP $CPPFLAGS'
33139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33142
33143
33144 fi
33145
33146 fi
33147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33148 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33149
33150 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33151 for ac_func in _fpclass
33152 do :
33153 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33154 if test "x$ac_cv_func__fpclass" = x""yes; then :
33155 cat >>confdefs.h <<_ACEOF
33156 #define HAVE__FPCLASS 1
33157 _ACEOF
33158
33159 fi
33160 done
33161
33162 fi
33163 fi
33164
33165
33166
33167
33168
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33170 $as_echo_n "checking for qfpclass declaration... " >&6; }
33171 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33172 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33173 $as_echo_n "(cached) " >&6
33174 else
33175
33176
33177 ac_ext=cpp
33178 ac_cpp='$CXXCPP $CPPFLAGS'
33179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33182
33183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33184 /* end confdefs.h. */
33185 #include <math.h>
33186 #ifdef HAVE_IEEEFP_H
33187 #include <ieeefp.h>
33188 #endif
33189
33190 int
33191 main ()
33192 {
33193 qfpclass(0);
33194 ;
33195 return 0;
33196 }
33197 _ACEOF
33198 if ac_fn_cxx_try_compile "$LINENO"; then :
33199 glibcxx_cv_func_qfpclass_use=yes
33200 else
33201 glibcxx_cv_func_qfpclass_use=no
33202 fi
33203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33204 ac_ext=c
33205 ac_cpp='$CPP $CPPFLAGS'
33206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33209
33210
33211 fi
33212
33213 fi
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33215 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33216
33217 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33218 for ac_func in qfpclass
33219 do :
33220 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33221 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33222 cat >>confdefs.h <<_ACEOF
33223 #define HAVE_QFPCLASS 1
33224 _ACEOF
33225
33226 fi
33227 done
33228
33229 else
33230
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33232 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33233 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33234 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33235 $as_echo_n "(cached) " >&6
33236 else
33237
33238
33239 ac_ext=cpp
33240 ac_cpp='$CXXCPP $CPPFLAGS'
33241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33244
33245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33246 /* end confdefs.h. */
33247 #include <math.h>
33248 #ifdef HAVE_IEEEFP_H
33249 #include <ieeefp.h>
33250 #endif
33251
33252 int
33253 main ()
33254 {
33255 _qfpclass(0);
33256 ;
33257 return 0;
33258 }
33259 _ACEOF
33260 if ac_fn_cxx_try_compile "$LINENO"; then :
33261 glibcxx_cv_func__qfpclass_use=yes
33262 else
33263 glibcxx_cv_func__qfpclass_use=no
33264 fi
33265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33266 ac_ext=c
33267 ac_cpp='$CPP $CPPFLAGS'
33268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33271
33272
33273 fi
33274
33275 fi
33276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33277 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33278
33279 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33280 for ac_func in _qfpclass
33281 do :
33282 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33283 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33284 cat >>confdefs.h <<_ACEOF
33285 #define HAVE__QFPCLASS 1
33286 _ACEOF
33287
33288 fi
33289 done
33290
33291 fi
33292 fi
33293
33294
33295
33296
33297
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33299 $as_echo_n "checking for hypot declaration... " >&6; }
33300 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33301 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33302 $as_echo_n "(cached) " >&6
33303 else
33304
33305
33306 ac_ext=cpp
33307 ac_cpp='$CXXCPP $CPPFLAGS'
33308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33311
33312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33313 /* end confdefs.h. */
33314 #include <math.h>
33315 int
33316 main ()
33317 {
33318 hypot(0, 0);
33319 ;
33320 return 0;
33321 }
33322 _ACEOF
33323 if ac_fn_cxx_try_compile "$LINENO"; then :
33324 glibcxx_cv_func_hypot_use=yes
33325 else
33326 glibcxx_cv_func_hypot_use=no
33327 fi
33328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33329 ac_ext=c
33330 ac_cpp='$CPP $CPPFLAGS'
33331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33334
33335
33336 fi
33337
33338 fi
33339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33340 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33341
33342 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33343 for ac_func in hypot
33344 do :
33345 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33346 if test "x$ac_cv_func_hypot" = x""yes; then :
33347 cat >>confdefs.h <<_ACEOF
33348 #define HAVE_HYPOT 1
33349 _ACEOF
33350
33351 fi
33352 done
33353
33354 else
33355
33356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33357 $as_echo_n "checking for _hypot declaration... " >&6; }
33358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33359 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33360 $as_echo_n "(cached) " >&6
33361 else
33362
33363
33364 ac_ext=cpp
33365 ac_cpp='$CXXCPP $CPPFLAGS'
33366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33369
33370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33371 /* end confdefs.h. */
33372 #include <math.h>
33373 int
33374 main ()
33375 {
33376 _hypot(0, 0);
33377 ;
33378 return 0;
33379 }
33380 _ACEOF
33381 if ac_fn_cxx_try_compile "$LINENO"; then :
33382 glibcxx_cv_func__hypot_use=yes
33383 else
33384 glibcxx_cv_func__hypot_use=no
33385 fi
33386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33387 ac_ext=c
33388 ac_cpp='$CPP $CPPFLAGS'
33389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33392
33393
33394 fi
33395
33396 fi
33397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33398 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33399
33400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33401 for ac_func in _hypot
33402 do :
33403 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33404 if test "x$ac_cv_func__hypot" = x""yes; then :
33405 cat >>confdefs.h <<_ACEOF
33406 #define HAVE__HYPOT 1
33407 _ACEOF
33408
33409 fi
33410 done
33411
33412 fi
33413 fi
33414
33415
33416
33417
33418
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33420 $as_echo_n "checking for float trig functions... " >&6; }
33421 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33423 else
33424
33425
33426 ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33431
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33434 #include <math.h>
33435 int
33436 main ()
33437 {
33438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33439 ;
33440 return 0;
33441 }
33442 _ACEOF
33443 if ac_fn_cxx_try_compile "$LINENO"; then :
33444 glibcxx_cv_func_float_trig_use=yes
33445 else
33446 glibcxx_cv_func_float_trig_use=no
33447 fi
33448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33449 ac_ext=c
33450 ac_cpp='$CPP $CPPFLAGS'
33451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33454
33455 fi
33456
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33458 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33459 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33460 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33461 do :
33462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33464 eval as_val=\$$as_ac_var
33465 if test "x$as_val" = x""yes; then :
33466 cat >>confdefs.h <<_ACEOF
33467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33468 _ACEOF
33469
33470 fi
33471 done
33472
33473 else
33474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33475 $as_echo_n "checking for _float trig functions... " >&6; }
33476 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33477 $as_echo_n "(cached) " >&6
33478 else
33479
33480
33481 ac_ext=cpp
33482 ac_cpp='$CXXCPP $CPPFLAGS'
33483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33486
33487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33488 /* end confdefs.h. */
33489 #include <math.h>
33490 int
33491 main ()
33492 {
33493 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33494 ;
33495 return 0;
33496 }
33497 _ACEOF
33498 if ac_fn_cxx_try_compile "$LINENO"; then :
33499 glibcxx_cv_func__float_trig_use=yes
33500 else
33501 glibcxx_cv_func__float_trig_use=no
33502 fi
33503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 ac_ext=c
33505 ac_cpp='$CPP $CPPFLAGS'
33506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509
33510 fi
33511
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33513 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33514 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33515 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33516 do :
33517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33519 eval as_val=\$$as_ac_var
33520 if test "x$as_val" = x""yes; then :
33521 cat >>confdefs.h <<_ACEOF
33522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33523 _ACEOF
33524
33525 fi
33526 done
33527
33528 fi
33529 fi
33530
33531
33532
33533
33534
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33536 $as_echo_n "checking for float round functions... " >&6; }
33537 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33540
33541
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33547
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <math.h>
33551 int
33552 main ()
33553 {
33554 ceilf (0); floorf (0);
33555 ;
33556 return 0;
33557 }
33558 _ACEOF
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560 glibcxx_cv_func_float_round_use=yes
33561 else
33562 glibcxx_cv_func_float_round_use=no
33563 fi
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 ac_ext=c
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33570
33571 fi
33572
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33574 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33575 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33576 for ac_func in ceilf floorf
33577 do :
33578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33580 eval as_val=\$$as_ac_var
33581 if test "x$as_val" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33584 _ACEOF
33585
33586 fi
33587 done
33588
33589 else
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33591 $as_echo_n "checking for _float round functions... " >&6; }
33592 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33593 $as_echo_n "(cached) " >&6
33594 else
33595
33596
33597 ac_ext=cpp
33598 ac_cpp='$CXXCPP $CPPFLAGS'
33599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33602
33603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33604 /* end confdefs.h. */
33605 #include <math.h>
33606 int
33607 main ()
33608 {
33609 _ceilf (0); _floorf (0);
33610 ;
33611 return 0;
33612 }
33613 _ACEOF
33614 if ac_fn_cxx_try_compile "$LINENO"; then :
33615 glibcxx_cv_func__float_round_use=yes
33616 else
33617 glibcxx_cv_func__float_round_use=no
33618 fi
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33620 ac_ext=c
33621 ac_cpp='$CPP $CPPFLAGS'
33622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33625
33626 fi
33627
33628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33629 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33630 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33631 for ac_func in _ceilf _floorf
33632 do :
33633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33635 eval as_val=\$$as_ac_var
33636 if test "x$as_val" = x""yes; then :
33637 cat >>confdefs.h <<_ACEOF
33638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33639 _ACEOF
33640
33641 fi
33642 done
33643
33644 fi
33645 fi
33646
33647
33648
33649
33650
33651
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33653 $as_echo_n "checking for expf declaration... " >&6; }
33654 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33655 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33656 $as_echo_n "(cached) " >&6
33657 else
33658
33659
33660 ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33665
33666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h. */
33668 #include <math.h>
33669 #ifdef HAVE_IEEEFP_H
33670 #include <ieeefp.h>
33671 #endif
33672
33673 int
33674 main ()
33675 {
33676 expf(0);
33677 ;
33678 return 0;
33679 }
33680 _ACEOF
33681 if ac_fn_cxx_try_compile "$LINENO"; then :
33682 glibcxx_cv_func_expf_use=yes
33683 else
33684 glibcxx_cv_func_expf_use=no
33685 fi
33686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33687 ac_ext=c
33688 ac_cpp='$CPP $CPPFLAGS'
33689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33692
33693
33694 fi
33695
33696 fi
33697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33698 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33699
33700 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33701 for ac_func in expf
33702 do :
33703 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33704 if test "x$ac_cv_func_expf" = x""yes; then :
33705 cat >>confdefs.h <<_ACEOF
33706 #define HAVE_EXPF 1
33707 _ACEOF
33708
33709 fi
33710 done
33711
33712 else
33713
33714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33715 $as_echo_n "checking for _expf declaration... " >&6; }
33716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33717 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33718 $as_echo_n "(cached) " >&6
33719 else
33720
33721
33722 ac_ext=cpp
33723 ac_cpp='$CXXCPP $CPPFLAGS'
33724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33727
33728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33729 /* end confdefs.h. */
33730 #include <math.h>
33731 #ifdef HAVE_IEEEFP_H
33732 #include <ieeefp.h>
33733 #endif
33734
33735 int
33736 main ()
33737 {
33738 _expf(0);
33739 ;
33740 return 0;
33741 }
33742 _ACEOF
33743 if ac_fn_cxx_try_compile "$LINENO"; then :
33744 glibcxx_cv_func__expf_use=yes
33745 else
33746 glibcxx_cv_func__expf_use=no
33747 fi
33748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33749 ac_ext=c
33750 ac_cpp='$CPP $CPPFLAGS'
33751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33754
33755
33756 fi
33757
33758 fi
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33760 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33761
33762 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33763 for ac_func in _expf
33764 do :
33765 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33766 if test "x$ac_cv_func__expf" = x""yes; then :
33767 cat >>confdefs.h <<_ACEOF
33768 #define HAVE__EXPF 1
33769 _ACEOF
33770
33771 fi
33772 done
33773
33774 fi
33775 fi
33776
33777
33778
33779
33780
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33782 $as_echo_n "checking for isnanf declaration... " >&6; }
33783 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33784 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33785 $as_echo_n "(cached) " >&6
33786 else
33787
33788
33789 ac_ext=cpp
33790 ac_cpp='$CXXCPP $CPPFLAGS'
33791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33794
33795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h. */
33797 #include <math.h>
33798 #ifdef HAVE_IEEEFP_H
33799 #include <ieeefp.h>
33800 #endif
33801
33802 int
33803 main ()
33804 {
33805 isnanf(0);
33806 ;
33807 return 0;
33808 }
33809 _ACEOF
33810 if ac_fn_cxx_try_compile "$LINENO"; then :
33811 glibcxx_cv_func_isnanf_use=yes
33812 else
33813 glibcxx_cv_func_isnanf_use=no
33814 fi
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33816 ac_ext=c
33817 ac_cpp='$CPP $CPPFLAGS'
33818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33821
33822
33823 fi
33824
33825 fi
33826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33827 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33828
33829 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33830 for ac_func in isnanf
33831 do :
33832 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33833 if test "x$ac_cv_func_isnanf" = x""yes; then :
33834 cat >>confdefs.h <<_ACEOF
33835 #define HAVE_ISNANF 1
33836 _ACEOF
33837
33838 fi
33839 done
33840
33841 else
33842
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33844 $as_echo_n "checking for _isnanf declaration... " >&6; }
33845 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33846 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33847 $as_echo_n "(cached) " >&6
33848 else
33849
33850
33851 ac_ext=cpp
33852 ac_cpp='$CXXCPP $CPPFLAGS'
33853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33856
33857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33858 /* end confdefs.h. */
33859 #include <math.h>
33860 #ifdef HAVE_IEEEFP_H
33861 #include <ieeefp.h>
33862 #endif
33863
33864 int
33865 main ()
33866 {
33867 _isnanf(0);
33868 ;
33869 return 0;
33870 }
33871 _ACEOF
33872 if ac_fn_cxx_try_compile "$LINENO"; then :
33873 glibcxx_cv_func__isnanf_use=yes
33874 else
33875 glibcxx_cv_func__isnanf_use=no
33876 fi
33877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33878 ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883
33884
33885 fi
33886
33887 fi
33888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33889 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33890
33891 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33892 for ac_func in _isnanf
33893 do :
33894 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33895 if test "x$ac_cv_func__isnanf" = x""yes; then :
33896 cat >>confdefs.h <<_ACEOF
33897 #define HAVE__ISNANF 1
33898 _ACEOF
33899
33900 fi
33901 done
33902
33903 fi
33904 fi
33905
33906
33907
33908
33909
33910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33911 $as_echo_n "checking for isinff declaration... " >&6; }
33912 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33913 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33914 $as_echo_n "(cached) " >&6
33915 else
33916
33917
33918 ac_ext=cpp
33919 ac_cpp='$CXXCPP $CPPFLAGS'
33920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33923
33924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33925 /* end confdefs.h. */
33926 #include <math.h>
33927 #ifdef HAVE_IEEEFP_H
33928 #include <ieeefp.h>
33929 #endif
33930
33931 int
33932 main ()
33933 {
33934 isinff(0);
33935 ;
33936 return 0;
33937 }
33938 _ACEOF
33939 if ac_fn_cxx_try_compile "$LINENO"; then :
33940 glibcxx_cv_func_isinff_use=yes
33941 else
33942 glibcxx_cv_func_isinff_use=no
33943 fi
33944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33945 ac_ext=c
33946 ac_cpp='$CPP $CPPFLAGS'
33947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33950
33951
33952 fi
33953
33954 fi
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33956 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33957
33958 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33959 for ac_func in isinff
33960 do :
33961 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33962 if test "x$ac_cv_func_isinff" = x""yes; then :
33963 cat >>confdefs.h <<_ACEOF
33964 #define HAVE_ISINFF 1
33965 _ACEOF
33966
33967 fi
33968 done
33969
33970 else
33971
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33973 $as_echo_n "checking for _isinff declaration... " >&6; }
33974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33976 $as_echo_n "(cached) " >&6
33977 else
33978
33979
33980 ac_ext=cpp
33981 ac_cpp='$CXXCPP $CPPFLAGS'
33982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33985
33986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33987 /* end confdefs.h. */
33988 #include <math.h>
33989 #ifdef HAVE_IEEEFP_H
33990 #include <ieeefp.h>
33991 #endif
33992
33993 int
33994 main ()
33995 {
33996 _isinff(0);
33997 ;
33998 return 0;
33999 }
34000 _ACEOF
34001 if ac_fn_cxx_try_compile "$LINENO"; then :
34002 glibcxx_cv_func__isinff_use=yes
34003 else
34004 glibcxx_cv_func__isinff_use=no
34005 fi
34006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34007 ac_ext=c
34008 ac_cpp='$CPP $CPPFLAGS'
34009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34012
34013
34014 fi
34015
34016 fi
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34018 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34019
34020 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34021 for ac_func in _isinff
34022 do :
34023 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34024 if test "x$ac_cv_func__isinff" = x""yes; then :
34025 cat >>confdefs.h <<_ACEOF
34026 #define HAVE__ISINFF 1
34027 _ACEOF
34028
34029 fi
34030 done
34031
34032 fi
34033 fi
34034
34035
34036
34037
34038
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34040 $as_echo_n "checking for atan2f declaration... " >&6; }
34041 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34042 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34043 $as_echo_n "(cached) " >&6
34044 else
34045
34046
34047 ac_ext=cpp
34048 ac_cpp='$CXXCPP $CPPFLAGS'
34049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34052
34053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34054 /* end confdefs.h. */
34055 #include <math.h>
34056 int
34057 main ()
34058 {
34059 atan2f(0, 0);
34060 ;
34061 return 0;
34062 }
34063 _ACEOF
34064 if ac_fn_cxx_try_compile "$LINENO"; then :
34065 glibcxx_cv_func_atan2f_use=yes
34066 else
34067 glibcxx_cv_func_atan2f_use=no
34068 fi
34069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34070 ac_ext=c
34071 ac_cpp='$CPP $CPPFLAGS'
34072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34075
34076
34077 fi
34078
34079 fi
34080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34081 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34082
34083 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34084 for ac_func in atan2f
34085 do :
34086 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34087 if test "x$ac_cv_func_atan2f" = x""yes; then :
34088 cat >>confdefs.h <<_ACEOF
34089 #define HAVE_ATAN2F 1
34090 _ACEOF
34091
34092 fi
34093 done
34094
34095 else
34096
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34098 $as_echo_n "checking for _atan2f declaration... " >&6; }
34099 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34100 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34101 $as_echo_n "(cached) " >&6
34102 else
34103
34104
34105 ac_ext=cpp
34106 ac_cpp='$CXXCPP $CPPFLAGS'
34107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34110
34111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34112 /* end confdefs.h. */
34113 #include <math.h>
34114 int
34115 main ()
34116 {
34117 _atan2f(0, 0);
34118 ;
34119 return 0;
34120 }
34121 _ACEOF
34122 if ac_fn_cxx_try_compile "$LINENO"; then :
34123 glibcxx_cv_func__atan2f_use=yes
34124 else
34125 glibcxx_cv_func__atan2f_use=no
34126 fi
34127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34128 ac_ext=c
34129 ac_cpp='$CPP $CPPFLAGS'
34130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34133
34134
34135 fi
34136
34137 fi
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34139 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34140
34141 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34142 for ac_func in _atan2f
34143 do :
34144 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34145 if test "x$ac_cv_func__atan2f" = x""yes; then :
34146 cat >>confdefs.h <<_ACEOF
34147 #define HAVE__ATAN2F 1
34148 _ACEOF
34149
34150 fi
34151 done
34152
34153 fi
34154 fi
34155
34156
34157
34158
34159
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34161 $as_echo_n "checking for fabsf declaration... " >&6; }
34162 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34163 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34164 $as_echo_n "(cached) " >&6
34165 else
34166
34167
34168 ac_ext=cpp
34169 ac_cpp='$CXXCPP $CPPFLAGS'
34170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34173
34174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34175 /* end confdefs.h. */
34176 #include <math.h>
34177 #ifdef HAVE_IEEEFP_H
34178 #include <ieeefp.h>
34179 #endif
34180
34181 int
34182 main ()
34183 {
34184 fabsf(0);
34185 ;
34186 return 0;
34187 }
34188 _ACEOF
34189 if ac_fn_cxx_try_compile "$LINENO"; then :
34190 glibcxx_cv_func_fabsf_use=yes
34191 else
34192 glibcxx_cv_func_fabsf_use=no
34193 fi
34194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34195 ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34200
34201
34202 fi
34203
34204 fi
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34206 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34207
34208 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34209 for ac_func in fabsf
34210 do :
34211 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34212 if test "x$ac_cv_func_fabsf" = x""yes; then :
34213 cat >>confdefs.h <<_ACEOF
34214 #define HAVE_FABSF 1
34215 _ACEOF
34216
34217 fi
34218 done
34219
34220 else
34221
34222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34223 $as_echo_n "checking for _fabsf declaration... " >&6; }
34224 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34225 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34226 $as_echo_n "(cached) " >&6
34227 else
34228
34229
34230 ac_ext=cpp
34231 ac_cpp='$CXXCPP $CPPFLAGS'
34232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34235
34236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34237 /* end confdefs.h. */
34238 #include <math.h>
34239 #ifdef HAVE_IEEEFP_H
34240 #include <ieeefp.h>
34241 #endif
34242
34243 int
34244 main ()
34245 {
34246 _fabsf(0);
34247 ;
34248 return 0;
34249 }
34250 _ACEOF
34251 if ac_fn_cxx_try_compile "$LINENO"; then :
34252 glibcxx_cv_func__fabsf_use=yes
34253 else
34254 glibcxx_cv_func__fabsf_use=no
34255 fi
34256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34257 ac_ext=c
34258 ac_cpp='$CPP $CPPFLAGS'
34259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34262
34263
34264 fi
34265
34266 fi
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34268 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34269
34270 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34271 for ac_func in _fabsf
34272 do :
34273 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34274 if test "x$ac_cv_func__fabsf" = x""yes; then :
34275 cat >>confdefs.h <<_ACEOF
34276 #define HAVE__FABSF 1
34277 _ACEOF
34278
34279 fi
34280 done
34281
34282 fi
34283 fi
34284
34285
34286
34287
34288
34289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34290 $as_echo_n "checking for fmodf declaration... " >&6; }
34291 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34292 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34293 $as_echo_n "(cached) " >&6
34294 else
34295
34296
34297 ac_ext=cpp
34298 ac_cpp='$CXXCPP $CPPFLAGS'
34299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34302
34303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34304 /* end confdefs.h. */
34305 #include <math.h>
34306 int
34307 main ()
34308 {
34309 fmodf(0, 0);
34310 ;
34311 return 0;
34312 }
34313 _ACEOF
34314 if ac_fn_cxx_try_compile "$LINENO"; then :
34315 glibcxx_cv_func_fmodf_use=yes
34316 else
34317 glibcxx_cv_func_fmodf_use=no
34318 fi
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34320 ac_ext=c
34321 ac_cpp='$CPP $CPPFLAGS'
34322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34325
34326
34327 fi
34328
34329 fi
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34331 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34332
34333 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34334 for ac_func in fmodf
34335 do :
34336 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34337 if test "x$ac_cv_func_fmodf" = x""yes; then :
34338 cat >>confdefs.h <<_ACEOF
34339 #define HAVE_FMODF 1
34340 _ACEOF
34341
34342 fi
34343 done
34344
34345 else
34346
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34348 $as_echo_n "checking for _fmodf declaration... " >&6; }
34349 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34350 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34351 $as_echo_n "(cached) " >&6
34352 else
34353
34354
34355 ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360
34361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h. */
34363 #include <math.h>
34364 int
34365 main ()
34366 {
34367 _fmodf(0, 0);
34368 ;
34369 return 0;
34370 }
34371 _ACEOF
34372 if ac_fn_cxx_try_compile "$LINENO"; then :
34373 glibcxx_cv_func__fmodf_use=yes
34374 else
34375 glibcxx_cv_func__fmodf_use=no
34376 fi
34377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34378 ac_ext=c
34379 ac_cpp='$CPP $CPPFLAGS'
34380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34383
34384
34385 fi
34386
34387 fi
34388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34389 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34390
34391 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34392 for ac_func in _fmodf
34393 do :
34394 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34395 if test "x$ac_cv_func__fmodf" = x""yes; then :
34396 cat >>confdefs.h <<_ACEOF
34397 #define HAVE__FMODF 1
34398 _ACEOF
34399
34400 fi
34401 done
34402
34403 fi
34404 fi
34405
34406
34407
34408
34409
34410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34411 $as_echo_n "checking for frexpf declaration... " >&6; }
34412 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34413 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34414 $as_echo_n "(cached) " >&6
34415 else
34416
34417
34418 ac_ext=cpp
34419 ac_cpp='$CXXCPP $CPPFLAGS'
34420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34423
34424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34425 /* end confdefs.h. */
34426 #include <math.h>
34427 int
34428 main ()
34429 {
34430 frexpf(0, 0);
34431 ;
34432 return 0;
34433 }
34434 _ACEOF
34435 if ac_fn_cxx_try_compile "$LINENO"; then :
34436 glibcxx_cv_func_frexpf_use=yes
34437 else
34438 glibcxx_cv_func_frexpf_use=no
34439 fi
34440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34441 ac_ext=c
34442 ac_cpp='$CPP $CPPFLAGS'
34443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34446
34447
34448 fi
34449
34450 fi
34451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34452 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34453
34454 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34455 for ac_func in frexpf
34456 do :
34457 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34458 if test "x$ac_cv_func_frexpf" = x""yes; then :
34459 cat >>confdefs.h <<_ACEOF
34460 #define HAVE_FREXPF 1
34461 _ACEOF
34462
34463 fi
34464 done
34465
34466 else
34467
34468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34469 $as_echo_n "checking for _frexpf declaration... " >&6; }
34470 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34471 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34472 $as_echo_n "(cached) " >&6
34473 else
34474
34475
34476 ac_ext=cpp
34477 ac_cpp='$CXXCPP $CPPFLAGS'
34478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34481
34482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34483 /* end confdefs.h. */
34484 #include <math.h>
34485 int
34486 main ()
34487 {
34488 _frexpf(0, 0);
34489 ;
34490 return 0;
34491 }
34492 _ACEOF
34493 if ac_fn_cxx_try_compile "$LINENO"; then :
34494 glibcxx_cv_func__frexpf_use=yes
34495 else
34496 glibcxx_cv_func__frexpf_use=no
34497 fi
34498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34499 ac_ext=c
34500 ac_cpp='$CPP $CPPFLAGS'
34501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34504
34505
34506 fi
34507
34508 fi
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34510 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34511
34512 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34513 for ac_func in _frexpf
34514 do :
34515 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34516 if test "x$ac_cv_func__frexpf" = x""yes; then :
34517 cat >>confdefs.h <<_ACEOF
34518 #define HAVE__FREXPF 1
34519 _ACEOF
34520
34521 fi
34522 done
34523
34524 fi
34525 fi
34526
34527
34528
34529
34530
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34532 $as_echo_n "checking for hypotf declaration... " >&6; }
34533 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34534 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34535 $as_echo_n "(cached) " >&6
34536 else
34537
34538
34539 ac_ext=cpp
34540 ac_cpp='$CXXCPP $CPPFLAGS'
34541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34544
34545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34546 /* end confdefs.h. */
34547 #include <math.h>
34548 int
34549 main ()
34550 {
34551 hypotf(0, 0);
34552 ;
34553 return 0;
34554 }
34555 _ACEOF
34556 if ac_fn_cxx_try_compile "$LINENO"; then :
34557 glibcxx_cv_func_hypotf_use=yes
34558 else
34559 glibcxx_cv_func_hypotf_use=no
34560 fi
34561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34562 ac_ext=c
34563 ac_cpp='$CPP $CPPFLAGS'
34564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34567
34568
34569 fi
34570
34571 fi
34572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34573 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34574
34575 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34576 for ac_func in hypotf
34577 do :
34578 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34579 if test "x$ac_cv_func_hypotf" = x""yes; then :
34580 cat >>confdefs.h <<_ACEOF
34581 #define HAVE_HYPOTF 1
34582 _ACEOF
34583
34584 fi
34585 done
34586
34587 else
34588
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34590 $as_echo_n "checking for _hypotf declaration... " >&6; }
34591 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34592 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34593 $as_echo_n "(cached) " >&6
34594 else
34595
34596
34597 ac_ext=cpp
34598 ac_cpp='$CXXCPP $CPPFLAGS'
34599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34602
34603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34604 /* end confdefs.h. */
34605 #include <math.h>
34606 int
34607 main ()
34608 {
34609 _hypotf(0, 0);
34610 ;
34611 return 0;
34612 }
34613 _ACEOF
34614 if ac_fn_cxx_try_compile "$LINENO"; then :
34615 glibcxx_cv_func__hypotf_use=yes
34616 else
34617 glibcxx_cv_func__hypotf_use=no
34618 fi
34619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34620 ac_ext=c
34621 ac_cpp='$CPP $CPPFLAGS'
34622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34625
34626
34627 fi
34628
34629 fi
34630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34631 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34632
34633 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34634 for ac_func in _hypotf
34635 do :
34636 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34637 if test "x$ac_cv_func__hypotf" = x""yes; then :
34638 cat >>confdefs.h <<_ACEOF
34639 #define HAVE__HYPOTF 1
34640 _ACEOF
34641
34642 fi
34643 done
34644
34645 fi
34646 fi
34647
34648
34649
34650
34651
34652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34653 $as_echo_n "checking for ldexpf declaration... " >&6; }
34654 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34655 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34656 $as_echo_n "(cached) " >&6
34657 else
34658
34659
34660 ac_ext=cpp
34661 ac_cpp='$CXXCPP $CPPFLAGS'
34662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34665
34666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34667 /* end confdefs.h. */
34668 #include <math.h>
34669 int
34670 main ()
34671 {
34672 ldexpf(0, 0);
34673 ;
34674 return 0;
34675 }
34676 _ACEOF
34677 if ac_fn_cxx_try_compile "$LINENO"; then :
34678 glibcxx_cv_func_ldexpf_use=yes
34679 else
34680 glibcxx_cv_func_ldexpf_use=no
34681 fi
34682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34683 ac_ext=c
34684 ac_cpp='$CPP $CPPFLAGS'
34685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34688
34689
34690 fi
34691
34692 fi
34693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34694 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34695
34696 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34697 for ac_func in ldexpf
34698 do :
34699 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34700 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34701 cat >>confdefs.h <<_ACEOF
34702 #define HAVE_LDEXPF 1
34703 _ACEOF
34704
34705 fi
34706 done
34707
34708 else
34709
34710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34711 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34712 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34713 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34714 $as_echo_n "(cached) " >&6
34715 else
34716
34717
34718 ac_ext=cpp
34719 ac_cpp='$CXXCPP $CPPFLAGS'
34720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34723
34724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34725 /* end confdefs.h. */
34726 #include <math.h>
34727 int
34728 main ()
34729 {
34730 _ldexpf(0, 0);
34731 ;
34732 return 0;
34733 }
34734 _ACEOF
34735 if ac_fn_cxx_try_compile "$LINENO"; then :
34736 glibcxx_cv_func__ldexpf_use=yes
34737 else
34738 glibcxx_cv_func__ldexpf_use=no
34739 fi
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 ac_ext=c
34742 ac_cpp='$CPP $CPPFLAGS'
34743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34746
34747
34748 fi
34749
34750 fi
34751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34752 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34753
34754 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34755 for ac_func in _ldexpf
34756 do :
34757 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34758 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34759 cat >>confdefs.h <<_ACEOF
34760 #define HAVE__LDEXPF 1
34761 _ACEOF
34762
34763 fi
34764 done
34765
34766 fi
34767 fi
34768
34769
34770
34771
34772
34773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34774 $as_echo_n "checking for logf declaration... " >&6; }
34775 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34776 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34777 $as_echo_n "(cached) " >&6
34778 else
34779
34780
34781 ac_ext=cpp
34782 ac_cpp='$CXXCPP $CPPFLAGS'
34783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34786
34787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34788 /* end confdefs.h. */
34789 #include <math.h>
34790 #ifdef HAVE_IEEEFP_H
34791 #include <ieeefp.h>
34792 #endif
34793
34794 int
34795 main ()
34796 {
34797 logf(0);
34798 ;
34799 return 0;
34800 }
34801 _ACEOF
34802 if ac_fn_cxx_try_compile "$LINENO"; then :
34803 glibcxx_cv_func_logf_use=yes
34804 else
34805 glibcxx_cv_func_logf_use=no
34806 fi
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34808 ac_ext=c
34809 ac_cpp='$CPP $CPPFLAGS'
34810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34813
34814
34815 fi
34816
34817 fi
34818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34819 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34820
34821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34822 for ac_func in logf
34823 do :
34824 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34825 if test "x$ac_cv_func_logf" = x""yes; then :
34826 cat >>confdefs.h <<_ACEOF
34827 #define HAVE_LOGF 1
34828 _ACEOF
34829
34830 fi
34831 done
34832
34833 else
34834
34835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34836 $as_echo_n "checking for _logf declaration... " >&6; }
34837 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34838 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34839 $as_echo_n "(cached) " >&6
34840 else
34841
34842
34843 ac_ext=cpp
34844 ac_cpp='$CXXCPP $CPPFLAGS'
34845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34848
34849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34850 /* end confdefs.h. */
34851 #include <math.h>
34852 #ifdef HAVE_IEEEFP_H
34853 #include <ieeefp.h>
34854 #endif
34855
34856 int
34857 main ()
34858 {
34859 _logf(0);
34860 ;
34861 return 0;
34862 }
34863 _ACEOF
34864 if ac_fn_cxx_try_compile "$LINENO"; then :
34865 glibcxx_cv_func__logf_use=yes
34866 else
34867 glibcxx_cv_func__logf_use=no
34868 fi
34869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34870 ac_ext=c
34871 ac_cpp='$CPP $CPPFLAGS'
34872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34875
34876
34877 fi
34878
34879 fi
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34881 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34882
34883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34884 for ac_func in _logf
34885 do :
34886 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34887 if test "x$ac_cv_func__logf" = x""yes; then :
34888 cat >>confdefs.h <<_ACEOF
34889 #define HAVE__LOGF 1
34890 _ACEOF
34891
34892 fi
34893 done
34894
34895 fi
34896 fi
34897
34898
34899
34900
34901
34902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34903 $as_echo_n "checking for log10f declaration... " >&6; }
34904 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34905 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34906 $as_echo_n "(cached) " >&6
34907 else
34908
34909
34910 ac_ext=cpp
34911 ac_cpp='$CXXCPP $CPPFLAGS'
34912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34915
34916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34917 /* end confdefs.h. */
34918 #include <math.h>
34919 #ifdef HAVE_IEEEFP_H
34920 #include <ieeefp.h>
34921 #endif
34922
34923 int
34924 main ()
34925 {
34926 log10f(0);
34927 ;
34928 return 0;
34929 }
34930 _ACEOF
34931 if ac_fn_cxx_try_compile "$LINENO"; then :
34932 glibcxx_cv_func_log10f_use=yes
34933 else
34934 glibcxx_cv_func_log10f_use=no
34935 fi
34936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34937 ac_ext=c
34938 ac_cpp='$CPP $CPPFLAGS'
34939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34942
34943
34944 fi
34945
34946 fi
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34948 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34949
34950 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34951 for ac_func in log10f
34952 do :
34953 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34954 if test "x$ac_cv_func_log10f" = x""yes; then :
34955 cat >>confdefs.h <<_ACEOF
34956 #define HAVE_LOG10F 1
34957 _ACEOF
34958
34959 fi
34960 done
34961
34962 else
34963
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34965 $as_echo_n "checking for _log10f declaration... " >&6; }
34966 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34967 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34968 $as_echo_n "(cached) " >&6
34969 else
34970
34971
34972 ac_ext=cpp
34973 ac_cpp='$CXXCPP $CPPFLAGS'
34974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34977
34978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34979 /* end confdefs.h. */
34980 #include <math.h>
34981 #ifdef HAVE_IEEEFP_H
34982 #include <ieeefp.h>
34983 #endif
34984
34985 int
34986 main ()
34987 {
34988 _log10f(0);
34989 ;
34990 return 0;
34991 }
34992 _ACEOF
34993 if ac_fn_cxx_try_compile "$LINENO"; then :
34994 glibcxx_cv_func__log10f_use=yes
34995 else
34996 glibcxx_cv_func__log10f_use=no
34997 fi
34998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34999 ac_ext=c
35000 ac_cpp='$CPP $CPPFLAGS'
35001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35004
35005
35006 fi
35007
35008 fi
35009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35010 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35011
35012 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35013 for ac_func in _log10f
35014 do :
35015 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35016 if test "x$ac_cv_func__log10f" = x""yes; then :
35017 cat >>confdefs.h <<_ACEOF
35018 #define HAVE__LOG10F 1
35019 _ACEOF
35020
35021 fi
35022 done
35023
35024 fi
35025 fi
35026
35027
35028
35029
35030
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35032 $as_echo_n "checking for modff declaration... " >&6; }
35033 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35034 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35035 $as_echo_n "(cached) " >&6
35036 else
35037
35038
35039 ac_ext=cpp
35040 ac_cpp='$CXXCPP $CPPFLAGS'
35041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35044
35045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35046 /* end confdefs.h. */
35047 #include <math.h>
35048 int
35049 main ()
35050 {
35051 modff(0, 0);
35052 ;
35053 return 0;
35054 }
35055 _ACEOF
35056 if ac_fn_cxx_try_compile "$LINENO"; then :
35057 glibcxx_cv_func_modff_use=yes
35058 else
35059 glibcxx_cv_func_modff_use=no
35060 fi
35061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35062 ac_ext=c
35063 ac_cpp='$CPP $CPPFLAGS'
35064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35067
35068
35069 fi
35070
35071 fi
35072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35073 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35074
35075 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35076 for ac_func in modff
35077 do :
35078 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35079 if test "x$ac_cv_func_modff" = x""yes; then :
35080 cat >>confdefs.h <<_ACEOF
35081 #define HAVE_MODFF 1
35082 _ACEOF
35083
35084 fi
35085 done
35086
35087 else
35088
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35090 $as_echo_n "checking for _modff declaration... " >&6; }
35091 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35092 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35093 $as_echo_n "(cached) " >&6
35094 else
35095
35096
35097 ac_ext=cpp
35098 ac_cpp='$CXXCPP $CPPFLAGS'
35099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35102
35103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35104 /* end confdefs.h. */
35105 #include <math.h>
35106 int
35107 main ()
35108 {
35109 _modff(0, 0);
35110 ;
35111 return 0;
35112 }
35113 _ACEOF
35114 if ac_fn_cxx_try_compile "$LINENO"; then :
35115 glibcxx_cv_func__modff_use=yes
35116 else
35117 glibcxx_cv_func__modff_use=no
35118 fi
35119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35120 ac_ext=c
35121 ac_cpp='$CPP $CPPFLAGS'
35122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35125
35126
35127 fi
35128
35129 fi
35130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35131 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35132
35133 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35134 for ac_func in _modff
35135 do :
35136 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35137 if test "x$ac_cv_func__modff" = x""yes; then :
35138 cat >>confdefs.h <<_ACEOF
35139 #define HAVE__MODFF 1
35140 _ACEOF
35141
35142 fi
35143 done
35144
35145 fi
35146 fi
35147
35148
35149
35150
35151
35152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35153 $as_echo_n "checking for modf declaration... " >&6; }
35154 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35155 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35156 $as_echo_n "(cached) " >&6
35157 else
35158
35159
35160 ac_ext=cpp
35161 ac_cpp='$CXXCPP $CPPFLAGS'
35162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35165
35166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35167 /* end confdefs.h. */
35168 #include <math.h>
35169 int
35170 main ()
35171 {
35172 modf(0, 0);
35173 ;
35174 return 0;
35175 }
35176 _ACEOF
35177 if ac_fn_cxx_try_compile "$LINENO"; then :
35178 glibcxx_cv_func_modf_use=yes
35179 else
35180 glibcxx_cv_func_modf_use=no
35181 fi
35182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35183 ac_ext=c
35184 ac_cpp='$CPP $CPPFLAGS'
35185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35188
35189
35190 fi
35191
35192 fi
35193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35194 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35195
35196 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35197 for ac_func in modf
35198 do :
35199 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35200 if test "x$ac_cv_func_modf" = x""yes; then :
35201 cat >>confdefs.h <<_ACEOF
35202 #define HAVE_MODF 1
35203 _ACEOF
35204
35205 fi
35206 done
35207
35208 else
35209
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35211 $as_echo_n "checking for _modf declaration... " >&6; }
35212 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35213 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35214 $as_echo_n "(cached) " >&6
35215 else
35216
35217
35218 ac_ext=cpp
35219 ac_cpp='$CXXCPP $CPPFLAGS'
35220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35223
35224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35225 /* end confdefs.h. */
35226 #include <math.h>
35227 int
35228 main ()
35229 {
35230 _modf(0, 0);
35231 ;
35232 return 0;
35233 }
35234 _ACEOF
35235 if ac_fn_cxx_try_compile "$LINENO"; then :
35236 glibcxx_cv_func__modf_use=yes
35237 else
35238 glibcxx_cv_func__modf_use=no
35239 fi
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 ac_ext=c
35242 ac_cpp='$CPP $CPPFLAGS'
35243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35246
35247
35248 fi
35249
35250 fi
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35252 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35253
35254 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35255 for ac_func in _modf
35256 do :
35257 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35258 if test "x$ac_cv_func__modf" = x""yes; then :
35259 cat >>confdefs.h <<_ACEOF
35260 #define HAVE__MODF 1
35261 _ACEOF
35262
35263 fi
35264 done
35265
35266 fi
35267 fi
35268
35269
35270
35271
35272
35273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35274 $as_echo_n "checking for powf declaration... " >&6; }
35275 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35276 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35277 $as_echo_n "(cached) " >&6
35278 else
35279
35280
35281 ac_ext=cpp
35282 ac_cpp='$CXXCPP $CPPFLAGS'
35283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35286
35287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35288 /* end confdefs.h. */
35289 #include <math.h>
35290 int
35291 main ()
35292 {
35293 powf(0, 0);
35294 ;
35295 return 0;
35296 }
35297 _ACEOF
35298 if ac_fn_cxx_try_compile "$LINENO"; then :
35299 glibcxx_cv_func_powf_use=yes
35300 else
35301 glibcxx_cv_func_powf_use=no
35302 fi
35303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35304 ac_ext=c
35305 ac_cpp='$CPP $CPPFLAGS'
35306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35309
35310
35311 fi
35312
35313 fi
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35315 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35316
35317 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35318 for ac_func in powf
35319 do :
35320 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35321 if test "x$ac_cv_func_powf" = x""yes; then :
35322 cat >>confdefs.h <<_ACEOF
35323 #define HAVE_POWF 1
35324 _ACEOF
35325
35326 fi
35327 done
35328
35329 else
35330
35331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35332 $as_echo_n "checking for _powf declaration... " >&6; }
35333 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35334 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35335 $as_echo_n "(cached) " >&6
35336 else
35337
35338
35339 ac_ext=cpp
35340 ac_cpp='$CXXCPP $CPPFLAGS'
35341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35344
35345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35346 /* end confdefs.h. */
35347 #include <math.h>
35348 int
35349 main ()
35350 {
35351 _powf(0, 0);
35352 ;
35353 return 0;
35354 }
35355 _ACEOF
35356 if ac_fn_cxx_try_compile "$LINENO"; then :
35357 glibcxx_cv_func__powf_use=yes
35358 else
35359 glibcxx_cv_func__powf_use=no
35360 fi
35361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35362 ac_ext=c
35363 ac_cpp='$CPP $CPPFLAGS'
35364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35367
35368
35369 fi
35370
35371 fi
35372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35373 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35374
35375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35376 for ac_func in _powf
35377 do :
35378 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35379 if test "x$ac_cv_func__powf" = x""yes; then :
35380 cat >>confdefs.h <<_ACEOF
35381 #define HAVE__POWF 1
35382 _ACEOF
35383
35384 fi
35385 done
35386
35387 fi
35388 fi
35389
35390
35391
35392
35393
35394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35395 $as_echo_n "checking for sqrtf declaration... " >&6; }
35396 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35397 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35398 $as_echo_n "(cached) " >&6
35399 else
35400
35401
35402 ac_ext=cpp
35403 ac_cpp='$CXXCPP $CPPFLAGS'
35404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35407
35408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35409 /* end confdefs.h. */
35410 #include <math.h>
35411 #ifdef HAVE_IEEEFP_H
35412 #include <ieeefp.h>
35413 #endif
35414
35415 int
35416 main ()
35417 {
35418 sqrtf(0);
35419 ;
35420 return 0;
35421 }
35422 _ACEOF
35423 if ac_fn_cxx_try_compile "$LINENO"; then :
35424 glibcxx_cv_func_sqrtf_use=yes
35425 else
35426 glibcxx_cv_func_sqrtf_use=no
35427 fi
35428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35429 ac_ext=c
35430 ac_cpp='$CPP $CPPFLAGS'
35431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35434
35435
35436 fi
35437
35438 fi
35439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35440 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35441
35442 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35443 for ac_func in sqrtf
35444 do :
35445 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35446 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35447 cat >>confdefs.h <<_ACEOF
35448 #define HAVE_SQRTF 1
35449 _ACEOF
35450
35451 fi
35452 done
35453
35454 else
35455
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35457 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35458 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35459 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35460 $as_echo_n "(cached) " >&6
35461 else
35462
35463
35464 ac_ext=cpp
35465 ac_cpp='$CXXCPP $CPPFLAGS'
35466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35469
35470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35471 /* end confdefs.h. */
35472 #include <math.h>
35473 #ifdef HAVE_IEEEFP_H
35474 #include <ieeefp.h>
35475 #endif
35476
35477 int
35478 main ()
35479 {
35480 _sqrtf(0);
35481 ;
35482 return 0;
35483 }
35484 _ACEOF
35485 if ac_fn_cxx_try_compile "$LINENO"; then :
35486 glibcxx_cv_func__sqrtf_use=yes
35487 else
35488 glibcxx_cv_func__sqrtf_use=no
35489 fi
35490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35491 ac_ext=c
35492 ac_cpp='$CPP $CPPFLAGS'
35493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35496
35497
35498 fi
35499
35500 fi
35501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35502 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35503
35504 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35505 for ac_func in _sqrtf
35506 do :
35507 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35508 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35509 cat >>confdefs.h <<_ACEOF
35510 #define HAVE__SQRTF 1
35511 _ACEOF
35512
35513 fi
35514 done
35515
35516 fi
35517 fi
35518
35519
35520
35521
35522
35523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35524 $as_echo_n "checking for sincosf declaration... " >&6; }
35525 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35526 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35527 $as_echo_n "(cached) " >&6
35528 else
35529
35530
35531 ac_ext=cpp
35532 ac_cpp='$CXXCPP $CPPFLAGS'
35533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35536
35537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35538 /* end confdefs.h. */
35539 #include <math.h>
35540 int
35541 main ()
35542 {
35543 sincosf(0, 0, 0);
35544 ;
35545 return 0;
35546 }
35547 _ACEOF
35548 if ac_fn_cxx_try_compile "$LINENO"; then :
35549 glibcxx_cv_func_sincosf_use=yes
35550 else
35551 glibcxx_cv_func_sincosf_use=no
35552 fi
35553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35554 ac_ext=c
35555 ac_cpp='$CPP $CPPFLAGS'
35556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35559
35560
35561 fi
35562
35563 fi
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35565 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35566
35567 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35568 for ac_func in sincosf
35569 do :
35570 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35571 if test "x$ac_cv_func_sincosf" = x""yes; then :
35572 cat >>confdefs.h <<_ACEOF
35573 #define HAVE_SINCOSF 1
35574 _ACEOF
35575
35576 fi
35577 done
35578
35579 else
35580
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35582 $as_echo_n "checking for _sincosf declaration... " >&6; }
35583 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35584 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35585 $as_echo_n "(cached) " >&6
35586 else
35587
35588
35589 ac_ext=cpp
35590 ac_cpp='$CXXCPP $CPPFLAGS'
35591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35594
35595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35596 /* end confdefs.h. */
35597 #include <math.h>
35598 int
35599 main ()
35600 {
35601 _sincosf(0, 0, 0);
35602 ;
35603 return 0;
35604 }
35605 _ACEOF
35606 if ac_fn_cxx_try_compile "$LINENO"; then :
35607 glibcxx_cv_func__sincosf_use=yes
35608 else
35609 glibcxx_cv_func__sincosf_use=no
35610 fi
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612 ac_ext=c
35613 ac_cpp='$CPP $CPPFLAGS'
35614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35617
35618
35619 fi
35620
35621 fi
35622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35623 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35624
35625 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35626 for ac_func in _sincosf
35627 do :
35628 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35629 if test "x$ac_cv_func__sincosf" = x""yes; then :
35630 cat >>confdefs.h <<_ACEOF
35631 #define HAVE__SINCOSF 1
35632 _ACEOF
35633
35634 fi
35635 done
35636
35637 fi
35638 fi
35639
35640
35641
35642
35643
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35645 $as_echo_n "checking for finitef declaration... " >&6; }
35646 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35647 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35648 $as_echo_n "(cached) " >&6
35649 else
35650
35651
35652 ac_ext=cpp
35653 ac_cpp='$CXXCPP $CPPFLAGS'
35654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35657
35658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35659 /* end confdefs.h. */
35660 #include <math.h>
35661 #ifdef HAVE_IEEEFP_H
35662 #include <ieeefp.h>
35663 #endif
35664
35665 int
35666 main ()
35667 {
35668 finitef(0);
35669 ;
35670 return 0;
35671 }
35672 _ACEOF
35673 if ac_fn_cxx_try_compile "$LINENO"; then :
35674 glibcxx_cv_func_finitef_use=yes
35675 else
35676 glibcxx_cv_func_finitef_use=no
35677 fi
35678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35679 ac_ext=c
35680 ac_cpp='$CPP $CPPFLAGS'
35681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35684
35685
35686 fi
35687
35688 fi
35689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35690 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35691
35692 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35693 for ac_func in finitef
35694 do :
35695 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35696 if test "x$ac_cv_func_finitef" = x""yes; then :
35697 cat >>confdefs.h <<_ACEOF
35698 #define HAVE_FINITEF 1
35699 _ACEOF
35700
35701 fi
35702 done
35703
35704 else
35705
35706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35707 $as_echo_n "checking for _finitef declaration... " >&6; }
35708 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35709 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35710 $as_echo_n "(cached) " >&6
35711 else
35712
35713
35714 ac_ext=cpp
35715 ac_cpp='$CXXCPP $CPPFLAGS'
35716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35719
35720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35721 /* end confdefs.h. */
35722 #include <math.h>
35723 #ifdef HAVE_IEEEFP_H
35724 #include <ieeefp.h>
35725 #endif
35726
35727 int
35728 main ()
35729 {
35730 _finitef(0);
35731 ;
35732 return 0;
35733 }
35734 _ACEOF
35735 if ac_fn_cxx_try_compile "$LINENO"; then :
35736 glibcxx_cv_func__finitef_use=yes
35737 else
35738 glibcxx_cv_func__finitef_use=no
35739 fi
35740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35741 ac_ext=c
35742 ac_cpp='$CPP $CPPFLAGS'
35743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746
35747
35748 fi
35749
35750 fi
35751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35752 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35753
35754 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35755 for ac_func in _finitef
35756 do :
35757 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35758 if test "x$ac_cv_func__finitef" = x""yes; then :
35759 cat >>confdefs.h <<_ACEOF
35760 #define HAVE__FINITEF 1
35761 _ACEOF
35762
35763 fi
35764 done
35765
35766 fi
35767 fi
35768
35769
35770
35771
35772
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35774 $as_echo_n "checking for long double trig functions... " >&6; }
35775 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35778
35779
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35785
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 int
35790 main ()
35791 {
35792 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35793 ;
35794 return 0;
35795 }
35796 _ACEOF
35797 if ac_fn_cxx_try_compile "$LINENO"; then :
35798 glibcxx_cv_func_long_double_trig_use=yes
35799 else
35800 glibcxx_cv_func_long_double_trig_use=no
35801 fi
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35803 ac_ext=c
35804 ac_cpp='$CPP $CPPFLAGS'
35805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35808
35809 fi
35810
35811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35812 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35813 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35814 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35815 do :
35816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35818 eval as_val=\$$as_ac_var
35819 if test "x$as_val" = x""yes; then :
35820 cat >>confdefs.h <<_ACEOF
35821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35822 _ACEOF
35823
35824 fi
35825 done
35826
35827 else
35828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35829 $as_echo_n "checking for _long double trig functions... " >&6; }
35830 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35831 $as_echo_n "(cached) " >&6
35832 else
35833
35834
35835 ac_ext=cpp
35836 ac_cpp='$CXXCPP $CPPFLAGS'
35837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35840
35841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35842 /* end confdefs.h. */
35843 #include <math.h>
35844 int
35845 main ()
35846 {
35847 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35848 ;
35849 return 0;
35850 }
35851 _ACEOF
35852 if ac_fn_cxx_try_compile "$LINENO"; then :
35853 glibcxx_cv_func__long_double_trig_use=yes
35854 else
35855 glibcxx_cv_func__long_double_trig_use=no
35856 fi
35857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35858 ac_ext=c
35859 ac_cpp='$CPP $CPPFLAGS'
35860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35863
35864 fi
35865
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35867 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35869 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35870 do :
35871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35873 eval as_val=\$$as_ac_var
35874 if test "x$as_val" = x""yes; then :
35875 cat >>confdefs.h <<_ACEOF
35876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35877 _ACEOF
35878
35879 fi
35880 done
35881
35882 fi
35883 fi
35884
35885
35886
35887
35888
35889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35890 $as_echo_n "checking for long double round functions... " >&6; }
35891 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35892 $as_echo_n "(cached) " >&6
35893 else
35894
35895
35896 ac_ext=cpp
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35901
35902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35903 /* end confdefs.h. */
35904 #include <math.h>
35905 int
35906 main ()
35907 {
35908 ceill (0); floorl (0);
35909 ;
35910 return 0;
35911 }
35912 _ACEOF
35913 if ac_fn_cxx_try_compile "$LINENO"; then :
35914 glibcxx_cv_func_long_double_round_use=yes
35915 else
35916 glibcxx_cv_func_long_double_round_use=no
35917 fi
35918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35919 ac_ext=c
35920 ac_cpp='$CPP $CPPFLAGS'
35921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35924
35925 fi
35926
35927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35928 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35929 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35930 for ac_func in ceill floorl
35931 do :
35932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35934 eval as_val=\$$as_ac_var
35935 if test "x$as_val" = x""yes; then :
35936 cat >>confdefs.h <<_ACEOF
35937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35938 _ACEOF
35939
35940 fi
35941 done
35942
35943 else
35944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35945 $as_echo_n "checking for _long double round functions... " >&6; }
35946 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35947 $as_echo_n "(cached) " >&6
35948 else
35949
35950
35951 ac_ext=cpp
35952 ac_cpp='$CXXCPP $CPPFLAGS'
35953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35956
35957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35958 /* end confdefs.h. */
35959 #include <math.h>
35960 int
35961 main ()
35962 {
35963 _ceill (0); _floorl (0);
35964 ;
35965 return 0;
35966 }
35967 _ACEOF
35968 if ac_fn_cxx_try_compile "$LINENO"; then :
35969 glibcxx_cv_func__long_double_round_use=yes
35970 else
35971 glibcxx_cv_func__long_double_round_use=no
35972 fi
35973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35974 ac_ext=c
35975 ac_cpp='$CPP $CPPFLAGS'
35976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35979
35980 fi
35981
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35983 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35984 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35985 for ac_func in _ceill _floorl
35986 do :
35987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35989 eval as_val=\$$as_ac_var
35990 if test "x$as_val" = x""yes; then :
35991 cat >>confdefs.h <<_ACEOF
35992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35993 _ACEOF
35994
35995 fi
35996 done
35997
35998 fi
35999 fi
36000
36001
36002
36003
36004
36005
36006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36007 $as_echo_n "checking for isnanl declaration... " >&6; }
36008 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36009 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36010 $as_echo_n "(cached) " >&6
36011 else
36012
36013
36014 ac_ext=cpp
36015 ac_cpp='$CXXCPP $CPPFLAGS'
36016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36019
36020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36021 /* end confdefs.h. */
36022 #include <math.h>
36023 #ifdef HAVE_IEEEFP_H
36024 #include <ieeefp.h>
36025 #endif
36026
36027 int
36028 main ()
36029 {
36030 isnanl(0);
36031 ;
36032 return 0;
36033 }
36034 _ACEOF
36035 if ac_fn_cxx_try_compile "$LINENO"; then :
36036 glibcxx_cv_func_isnanl_use=yes
36037 else
36038 glibcxx_cv_func_isnanl_use=no
36039 fi
36040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36041 ac_ext=c
36042 ac_cpp='$CPP $CPPFLAGS'
36043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36046
36047
36048 fi
36049
36050 fi
36051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36052 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36053
36054 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36055 for ac_func in isnanl
36056 do :
36057 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36058 if test "x$ac_cv_func_isnanl" = x""yes; then :
36059 cat >>confdefs.h <<_ACEOF
36060 #define HAVE_ISNANL 1
36061 _ACEOF
36062
36063 fi
36064 done
36065
36066 else
36067
36068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36069 $as_echo_n "checking for _isnanl declaration... " >&6; }
36070 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36071 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36072 $as_echo_n "(cached) " >&6
36073 else
36074
36075
36076 ac_ext=cpp
36077 ac_cpp='$CXXCPP $CPPFLAGS'
36078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36081
36082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36083 /* end confdefs.h. */
36084 #include <math.h>
36085 #ifdef HAVE_IEEEFP_H
36086 #include <ieeefp.h>
36087 #endif
36088
36089 int
36090 main ()
36091 {
36092 _isnanl(0);
36093 ;
36094 return 0;
36095 }
36096 _ACEOF
36097 if ac_fn_cxx_try_compile "$LINENO"; then :
36098 glibcxx_cv_func__isnanl_use=yes
36099 else
36100 glibcxx_cv_func__isnanl_use=no
36101 fi
36102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36103 ac_ext=c
36104 ac_cpp='$CPP $CPPFLAGS'
36105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36108
36109
36110 fi
36111
36112 fi
36113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36114 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36115
36116 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36117 for ac_func in _isnanl
36118 do :
36119 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36120 if test "x$ac_cv_func__isnanl" = x""yes; then :
36121 cat >>confdefs.h <<_ACEOF
36122 #define HAVE__ISNANL 1
36123 _ACEOF
36124
36125 fi
36126 done
36127
36128 fi
36129 fi
36130
36131
36132
36133
36134
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36136 $as_echo_n "checking for isinfl declaration... " >&6; }
36137 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36138 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36139 $as_echo_n "(cached) " >&6
36140 else
36141
36142
36143 ac_ext=cpp
36144 ac_cpp='$CXXCPP $CPPFLAGS'
36145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36148
36149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36150 /* end confdefs.h. */
36151 #include <math.h>
36152 #ifdef HAVE_IEEEFP_H
36153 #include <ieeefp.h>
36154 #endif
36155
36156 int
36157 main ()
36158 {
36159 isinfl(0);
36160 ;
36161 return 0;
36162 }
36163 _ACEOF
36164 if ac_fn_cxx_try_compile "$LINENO"; then :
36165 glibcxx_cv_func_isinfl_use=yes
36166 else
36167 glibcxx_cv_func_isinfl_use=no
36168 fi
36169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36170 ac_ext=c
36171 ac_cpp='$CPP $CPPFLAGS'
36172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36175
36176
36177 fi
36178
36179 fi
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36181 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36182
36183 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36184 for ac_func in isinfl
36185 do :
36186 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36187 if test "x$ac_cv_func_isinfl" = x""yes; then :
36188 cat >>confdefs.h <<_ACEOF
36189 #define HAVE_ISINFL 1
36190 _ACEOF
36191
36192 fi
36193 done
36194
36195 else
36196
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36198 $as_echo_n "checking for _isinfl declaration... " >&6; }
36199 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36200 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36201 $as_echo_n "(cached) " >&6
36202 else
36203
36204
36205 ac_ext=cpp
36206 ac_cpp='$CXXCPP $CPPFLAGS'
36207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36210
36211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36212 /* end confdefs.h. */
36213 #include <math.h>
36214 #ifdef HAVE_IEEEFP_H
36215 #include <ieeefp.h>
36216 #endif
36217
36218 int
36219 main ()
36220 {
36221 _isinfl(0);
36222 ;
36223 return 0;
36224 }
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func__isinfl_use=yes
36228 else
36229 glibcxx_cv_func__isinfl_use=no
36230 fi
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36237
36238
36239 fi
36240
36241 fi
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36243 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36244
36245 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36246 for ac_func in _isinfl
36247 do :
36248 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36249 if test "x$ac_cv_func__isinfl" = x""yes; then :
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE__ISINFL 1
36252 _ACEOF
36253
36254 fi
36255 done
36256
36257 fi
36258 fi
36259
36260
36261
36262
36263
36264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36265 $as_echo_n "checking for atan2l declaration... " >&6; }
36266 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36267 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36268 $as_echo_n "(cached) " >&6
36269 else
36270
36271
36272 ac_ext=cpp
36273 ac_cpp='$CXXCPP $CPPFLAGS'
36274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36277
36278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36279 /* end confdefs.h. */
36280 #include <math.h>
36281 int
36282 main ()
36283 {
36284 atan2l(0, 0);
36285 ;
36286 return 0;
36287 }
36288 _ACEOF
36289 if ac_fn_cxx_try_compile "$LINENO"; then :
36290 glibcxx_cv_func_atan2l_use=yes
36291 else
36292 glibcxx_cv_func_atan2l_use=no
36293 fi
36294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36295 ac_ext=c
36296 ac_cpp='$CPP $CPPFLAGS'
36297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36300
36301
36302 fi
36303
36304 fi
36305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36306 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36307
36308 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36309 for ac_func in atan2l
36310 do :
36311 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36312 if test "x$ac_cv_func_atan2l" = x""yes; then :
36313 cat >>confdefs.h <<_ACEOF
36314 #define HAVE_ATAN2L 1
36315 _ACEOF
36316
36317 fi
36318 done
36319
36320 else
36321
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36323 $as_echo_n "checking for _atan2l declaration... " >&6; }
36324 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36325 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36326 $as_echo_n "(cached) " >&6
36327 else
36328
36329
36330 ac_ext=cpp
36331 ac_cpp='$CXXCPP $CPPFLAGS'
36332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36335
36336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36337 /* end confdefs.h. */
36338 #include <math.h>
36339 int
36340 main ()
36341 {
36342 _atan2l(0, 0);
36343 ;
36344 return 0;
36345 }
36346 _ACEOF
36347 if ac_fn_cxx_try_compile "$LINENO"; then :
36348 glibcxx_cv_func__atan2l_use=yes
36349 else
36350 glibcxx_cv_func__atan2l_use=no
36351 fi
36352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36353 ac_ext=c
36354 ac_cpp='$CPP $CPPFLAGS'
36355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36358
36359
36360 fi
36361
36362 fi
36363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36364 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36365
36366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36367 for ac_func in _atan2l
36368 do :
36369 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36370 if test "x$ac_cv_func__atan2l" = x""yes; then :
36371 cat >>confdefs.h <<_ACEOF
36372 #define HAVE__ATAN2L 1
36373 _ACEOF
36374
36375 fi
36376 done
36377
36378 fi
36379 fi
36380
36381
36382
36383
36384
36385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36386 $as_echo_n "checking for expl declaration... " >&6; }
36387 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36388 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36389 $as_echo_n "(cached) " >&6
36390 else
36391
36392
36393 ac_ext=cpp
36394 ac_cpp='$CXXCPP $CPPFLAGS'
36395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398
36399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36400 /* end confdefs.h. */
36401 #include <math.h>
36402 #ifdef HAVE_IEEEFP_H
36403 #include <ieeefp.h>
36404 #endif
36405
36406 int
36407 main ()
36408 {
36409 expl(0);
36410 ;
36411 return 0;
36412 }
36413 _ACEOF
36414 if ac_fn_cxx_try_compile "$LINENO"; then :
36415 glibcxx_cv_func_expl_use=yes
36416 else
36417 glibcxx_cv_func_expl_use=no
36418 fi
36419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36420 ac_ext=c
36421 ac_cpp='$CPP $CPPFLAGS'
36422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425
36426
36427 fi
36428
36429 fi
36430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36431 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36432
36433 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36434 for ac_func in expl
36435 do :
36436 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36437 if test "x$ac_cv_func_expl" = x""yes; then :
36438 cat >>confdefs.h <<_ACEOF
36439 #define HAVE_EXPL 1
36440 _ACEOF
36441
36442 fi
36443 done
36444
36445 else
36446
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36448 $as_echo_n "checking for _expl declaration... " >&6; }
36449 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36450 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36451 $as_echo_n "(cached) " >&6
36452 else
36453
36454
36455 ac_ext=cpp
36456 ac_cpp='$CXXCPP $CPPFLAGS'
36457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36460
36461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36462 /* end confdefs.h. */
36463 #include <math.h>
36464 #ifdef HAVE_IEEEFP_H
36465 #include <ieeefp.h>
36466 #endif
36467
36468 int
36469 main ()
36470 {
36471 _expl(0);
36472 ;
36473 return 0;
36474 }
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func__expl_use=yes
36478 else
36479 glibcxx_cv_func__expl_use=no
36480 fi
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36487
36488
36489 fi
36490
36491 fi
36492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36493 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36494
36495 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36496 for ac_func in _expl
36497 do :
36498 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36499 if test "x$ac_cv_func__expl" = x""yes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE__EXPL 1
36502 _ACEOF
36503
36504 fi
36505 done
36506
36507 fi
36508 fi
36509
36510
36511
36512
36513
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36515 $as_echo_n "checking for fabsl declaration... " >&6; }
36516 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36517 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36518 $as_echo_n "(cached) " >&6
36519 else
36520
36521
36522 ac_ext=cpp
36523 ac_cpp='$CXXCPP $CPPFLAGS'
36524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36527
36528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36529 /* end confdefs.h. */
36530 #include <math.h>
36531 #ifdef HAVE_IEEEFP_H
36532 #include <ieeefp.h>
36533 #endif
36534
36535 int
36536 main ()
36537 {
36538 fabsl(0);
36539 ;
36540 return 0;
36541 }
36542 _ACEOF
36543 if ac_fn_cxx_try_compile "$LINENO"; then :
36544 glibcxx_cv_func_fabsl_use=yes
36545 else
36546 glibcxx_cv_func_fabsl_use=no
36547 fi
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554
36555
36556 fi
36557
36558 fi
36559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36560 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36561
36562 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36563 for ac_func in fabsl
36564 do :
36565 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36566 if test "x$ac_cv_func_fabsl" = x""yes; then :
36567 cat >>confdefs.h <<_ACEOF
36568 #define HAVE_FABSL 1
36569 _ACEOF
36570
36571 fi
36572 done
36573
36574 else
36575
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36577 $as_echo_n "checking for _fabsl declaration... " >&6; }
36578 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36579 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36580 $as_echo_n "(cached) " >&6
36581 else
36582
36583
36584 ac_ext=cpp
36585 ac_cpp='$CXXCPP $CPPFLAGS'
36586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589
36590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36591 /* end confdefs.h. */
36592 #include <math.h>
36593 #ifdef HAVE_IEEEFP_H
36594 #include <ieeefp.h>
36595 #endif
36596
36597 int
36598 main ()
36599 {
36600 _fabsl(0);
36601 ;
36602 return 0;
36603 }
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func__fabsl_use=yes
36607 else
36608 glibcxx_cv_func__fabsl_use=no
36609 fi
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616
36617
36618 fi
36619
36620 fi
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36622 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36623
36624 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36625 for ac_func in _fabsl
36626 do :
36627 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36628 if test "x$ac_cv_func__fabsl" = x""yes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE__FABSL 1
36631 _ACEOF
36632
36633 fi
36634 done
36635
36636 fi
36637 fi
36638
36639
36640
36641
36642
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36644 $as_echo_n "checking for fmodl declaration... " >&6; }
36645 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36646 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36647 $as_echo_n "(cached) " >&6
36648 else
36649
36650
36651 ac_ext=cpp
36652 ac_cpp='$CXXCPP $CPPFLAGS'
36653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36656
36657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36658 /* end confdefs.h. */
36659 #include <math.h>
36660 int
36661 main ()
36662 {
36663 fmodl(0, 0);
36664 ;
36665 return 0;
36666 }
36667 _ACEOF
36668 if ac_fn_cxx_try_compile "$LINENO"; then :
36669 glibcxx_cv_func_fmodl_use=yes
36670 else
36671 glibcxx_cv_func_fmodl_use=no
36672 fi
36673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36674 ac_ext=c
36675 ac_cpp='$CPP $CPPFLAGS'
36676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36679
36680
36681 fi
36682
36683 fi
36684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36685 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36686
36687 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36688 for ac_func in fmodl
36689 do :
36690 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36691 if test "x$ac_cv_func_fmodl" = x""yes; then :
36692 cat >>confdefs.h <<_ACEOF
36693 #define HAVE_FMODL 1
36694 _ACEOF
36695
36696 fi
36697 done
36698
36699 else
36700
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36702 $as_echo_n "checking for _fmodl declaration... " >&6; }
36703 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36704 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36707
36708
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36718 int
36719 main ()
36720 {
36721 _fmodl(0, 0);
36722 ;
36723 return 0;
36724 }
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func__fmodl_use=yes
36728 else
36729 glibcxx_cv_func__fmodl_use=no
36730 fi
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36737
36738
36739 fi
36740
36741 fi
36742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36743 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36744
36745 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36746 for ac_func in _fmodl
36747 do :
36748 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36749 if test "x$ac_cv_func__fmodl" = x""yes; then :
36750 cat >>confdefs.h <<_ACEOF
36751 #define HAVE__FMODL 1
36752 _ACEOF
36753
36754 fi
36755 done
36756
36757 fi
36758 fi
36759
36760
36761
36762
36763
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36765 $as_echo_n "checking for frexpl declaration... " >&6; }
36766 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36767 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36768 $as_echo_n "(cached) " >&6
36769 else
36770
36771
36772 ac_ext=cpp
36773 ac_cpp='$CXXCPP $CPPFLAGS'
36774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36777
36778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36779 /* end confdefs.h. */
36780 #include <math.h>
36781 int
36782 main ()
36783 {
36784 frexpl(0, 0);
36785 ;
36786 return 0;
36787 }
36788 _ACEOF
36789 if ac_fn_cxx_try_compile "$LINENO"; then :
36790 glibcxx_cv_func_frexpl_use=yes
36791 else
36792 glibcxx_cv_func_frexpl_use=no
36793 fi
36794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36795 ac_ext=c
36796 ac_cpp='$CPP $CPPFLAGS'
36797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36800
36801
36802 fi
36803
36804 fi
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36806 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36807
36808 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36809 for ac_func in frexpl
36810 do :
36811 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36812 if test "x$ac_cv_func_frexpl" = x""yes; then :
36813 cat >>confdefs.h <<_ACEOF
36814 #define HAVE_FREXPL 1
36815 _ACEOF
36816
36817 fi
36818 done
36819
36820 else
36821
36822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36823 $as_echo_n "checking for _frexpl declaration... " >&6; }
36824 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36825 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36826 $as_echo_n "(cached) " >&6
36827 else
36828
36829
36830 ac_ext=cpp
36831 ac_cpp='$CXXCPP $CPPFLAGS'
36832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36835
36836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36837 /* end confdefs.h. */
36838 #include <math.h>
36839 int
36840 main ()
36841 {
36842 _frexpl(0, 0);
36843 ;
36844 return 0;
36845 }
36846 _ACEOF
36847 if ac_fn_cxx_try_compile "$LINENO"; then :
36848 glibcxx_cv_func__frexpl_use=yes
36849 else
36850 glibcxx_cv_func__frexpl_use=no
36851 fi
36852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36853 ac_ext=c
36854 ac_cpp='$CPP $CPPFLAGS'
36855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36858
36859
36860 fi
36861
36862 fi
36863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36864 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36865
36866 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36867 for ac_func in _frexpl
36868 do :
36869 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36870 if test "x$ac_cv_func__frexpl" = x""yes; then :
36871 cat >>confdefs.h <<_ACEOF
36872 #define HAVE__FREXPL 1
36873 _ACEOF
36874
36875 fi
36876 done
36877
36878 fi
36879 fi
36880
36881
36882
36883
36884
36885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36886 $as_echo_n "checking for hypotl declaration... " >&6; }
36887 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36888 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36889 $as_echo_n "(cached) " >&6
36890 else
36891
36892
36893 ac_ext=cpp
36894 ac_cpp='$CXXCPP $CPPFLAGS'
36895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36898
36899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36900 /* end confdefs.h. */
36901 #include <math.h>
36902 int
36903 main ()
36904 {
36905 hypotl(0, 0);
36906 ;
36907 return 0;
36908 }
36909 _ACEOF
36910 if ac_fn_cxx_try_compile "$LINENO"; then :
36911 glibcxx_cv_func_hypotl_use=yes
36912 else
36913 glibcxx_cv_func_hypotl_use=no
36914 fi
36915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36916 ac_ext=c
36917 ac_cpp='$CPP $CPPFLAGS'
36918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36921
36922
36923 fi
36924
36925 fi
36926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36927 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36928
36929 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36930 for ac_func in hypotl
36931 do :
36932 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36933 if test "x$ac_cv_func_hypotl" = x""yes; then :
36934 cat >>confdefs.h <<_ACEOF
36935 #define HAVE_HYPOTL 1
36936 _ACEOF
36937
36938 fi
36939 done
36940
36941 else
36942
36943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36944 $as_echo_n "checking for _hypotl declaration... " >&6; }
36945 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36946 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36947 $as_echo_n "(cached) " >&6
36948 else
36949
36950
36951 ac_ext=cpp
36952 ac_cpp='$CXXCPP $CPPFLAGS'
36953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36956
36957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36958 /* end confdefs.h. */
36959 #include <math.h>
36960 int
36961 main ()
36962 {
36963 _hypotl(0, 0);
36964 ;
36965 return 0;
36966 }
36967 _ACEOF
36968 if ac_fn_cxx_try_compile "$LINENO"; then :
36969 glibcxx_cv_func__hypotl_use=yes
36970 else
36971 glibcxx_cv_func__hypotl_use=no
36972 fi
36973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36974 ac_ext=c
36975 ac_cpp='$CPP $CPPFLAGS'
36976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36979
36980
36981 fi
36982
36983 fi
36984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36985 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36986
36987 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36988 for ac_func in _hypotl
36989 do :
36990 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36991 if test "x$ac_cv_func__hypotl" = x""yes; then :
36992 cat >>confdefs.h <<_ACEOF
36993 #define HAVE__HYPOTL 1
36994 _ACEOF
36995
36996 fi
36997 done
36998
36999 fi
37000 fi
37001
37002
37003
37004
37005
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37007 $as_echo_n "checking for ldexpl declaration... " >&6; }
37008 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37009 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37010 $as_echo_n "(cached) " >&6
37011 else
37012
37013
37014 ac_ext=cpp
37015 ac_cpp='$CXXCPP $CPPFLAGS'
37016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37019
37020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37021 /* end confdefs.h. */
37022 #include <math.h>
37023 int
37024 main ()
37025 {
37026 ldexpl(0, 0);
37027 ;
37028 return 0;
37029 }
37030 _ACEOF
37031 if ac_fn_cxx_try_compile "$LINENO"; then :
37032 glibcxx_cv_func_ldexpl_use=yes
37033 else
37034 glibcxx_cv_func_ldexpl_use=no
37035 fi
37036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37037 ac_ext=c
37038 ac_cpp='$CPP $CPPFLAGS'
37039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37042
37043
37044 fi
37045
37046 fi
37047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37048 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37049
37050 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37051 for ac_func in ldexpl
37052 do :
37053 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37054 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37055 cat >>confdefs.h <<_ACEOF
37056 #define HAVE_LDEXPL 1
37057 _ACEOF
37058
37059 fi
37060 done
37061
37062 else
37063
37064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37065 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37066 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37067 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37068 $as_echo_n "(cached) " >&6
37069 else
37070
37071
37072 ac_ext=cpp
37073 ac_cpp='$CXXCPP $CPPFLAGS'
37074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37077
37078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37079 /* end confdefs.h. */
37080 #include <math.h>
37081 int
37082 main ()
37083 {
37084 _ldexpl(0, 0);
37085 ;
37086 return 0;
37087 }
37088 _ACEOF
37089 if ac_fn_cxx_try_compile "$LINENO"; then :
37090 glibcxx_cv_func__ldexpl_use=yes
37091 else
37092 glibcxx_cv_func__ldexpl_use=no
37093 fi
37094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37095 ac_ext=c
37096 ac_cpp='$CPP $CPPFLAGS'
37097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37100
37101
37102 fi
37103
37104 fi
37105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37106 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37107
37108 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37109 for ac_func in _ldexpl
37110 do :
37111 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37112 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37113 cat >>confdefs.h <<_ACEOF
37114 #define HAVE__LDEXPL 1
37115 _ACEOF
37116
37117 fi
37118 done
37119
37120 fi
37121 fi
37122
37123
37124
37125
37126
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37128 $as_echo_n "checking for logl declaration... " >&6; }
37129 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37130 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37131 $as_echo_n "(cached) " >&6
37132 else
37133
37134
37135 ac_ext=cpp
37136 ac_cpp='$CXXCPP $CPPFLAGS'
37137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37140
37141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37142 /* end confdefs.h. */
37143 #include <math.h>
37144 #ifdef HAVE_IEEEFP_H
37145 #include <ieeefp.h>
37146 #endif
37147
37148 int
37149 main ()
37150 {
37151 logl(0);
37152 ;
37153 return 0;
37154 }
37155 _ACEOF
37156 if ac_fn_cxx_try_compile "$LINENO"; then :
37157 glibcxx_cv_func_logl_use=yes
37158 else
37159 glibcxx_cv_func_logl_use=no
37160 fi
37161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37162 ac_ext=c
37163 ac_cpp='$CPP $CPPFLAGS'
37164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37167
37168
37169 fi
37170
37171 fi
37172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37173 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37174
37175 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37176 for ac_func in logl
37177 do :
37178 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37179 if test "x$ac_cv_func_logl" = x""yes; then :
37180 cat >>confdefs.h <<_ACEOF
37181 #define HAVE_LOGL 1
37182 _ACEOF
37183
37184 fi
37185 done
37186
37187 else
37188
37189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37190 $as_echo_n "checking for _logl declaration... " >&6; }
37191 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37192 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37193 $as_echo_n "(cached) " >&6
37194 else
37195
37196
37197 ac_ext=cpp
37198 ac_cpp='$CXXCPP $CPPFLAGS'
37199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37202
37203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37204 /* end confdefs.h. */
37205 #include <math.h>
37206 #ifdef HAVE_IEEEFP_H
37207 #include <ieeefp.h>
37208 #endif
37209
37210 int
37211 main ()
37212 {
37213 _logl(0);
37214 ;
37215 return 0;
37216 }
37217 _ACEOF
37218 if ac_fn_cxx_try_compile "$LINENO"; then :
37219 glibcxx_cv_func__logl_use=yes
37220 else
37221 glibcxx_cv_func__logl_use=no
37222 fi
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37224 ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37229
37230
37231 fi
37232
37233 fi
37234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37235 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37236
37237 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37238 for ac_func in _logl
37239 do :
37240 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37241 if test "x$ac_cv_func__logl" = x""yes; then :
37242 cat >>confdefs.h <<_ACEOF
37243 #define HAVE__LOGL 1
37244 _ACEOF
37245
37246 fi
37247 done
37248
37249 fi
37250 fi
37251
37252
37253
37254
37255
37256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37257 $as_echo_n "checking for log10l declaration... " >&6; }
37258 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37259 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37260 $as_echo_n "(cached) " >&6
37261 else
37262
37263
37264 ac_ext=cpp
37265 ac_cpp='$CXXCPP $CPPFLAGS'
37266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37269
37270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37271 /* end confdefs.h. */
37272 #include <math.h>
37273 #ifdef HAVE_IEEEFP_H
37274 #include <ieeefp.h>
37275 #endif
37276
37277 int
37278 main ()
37279 {
37280 log10l(0);
37281 ;
37282 return 0;
37283 }
37284 _ACEOF
37285 if ac_fn_cxx_try_compile "$LINENO"; then :
37286 glibcxx_cv_func_log10l_use=yes
37287 else
37288 glibcxx_cv_func_log10l_use=no
37289 fi
37290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37291 ac_ext=c
37292 ac_cpp='$CPP $CPPFLAGS'
37293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37296
37297
37298 fi
37299
37300 fi
37301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37302 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37303
37304 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37305 for ac_func in log10l
37306 do :
37307 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37308 if test "x$ac_cv_func_log10l" = x""yes; then :
37309 cat >>confdefs.h <<_ACEOF
37310 #define HAVE_LOG10L 1
37311 _ACEOF
37312
37313 fi
37314 done
37315
37316 else
37317
37318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37319 $as_echo_n "checking for _log10l declaration... " >&6; }
37320 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37321 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37322 $as_echo_n "(cached) " >&6
37323 else
37324
37325
37326 ac_ext=cpp
37327 ac_cpp='$CXXCPP $CPPFLAGS'
37328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37331
37332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37333 /* end confdefs.h. */
37334 #include <math.h>
37335 #ifdef HAVE_IEEEFP_H
37336 #include <ieeefp.h>
37337 #endif
37338
37339 int
37340 main ()
37341 {
37342 _log10l(0);
37343 ;
37344 return 0;
37345 }
37346 _ACEOF
37347 if ac_fn_cxx_try_compile "$LINENO"; then :
37348 glibcxx_cv_func__log10l_use=yes
37349 else
37350 glibcxx_cv_func__log10l_use=no
37351 fi
37352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37353 ac_ext=c
37354 ac_cpp='$CPP $CPPFLAGS'
37355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37358
37359
37360 fi
37361
37362 fi
37363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37364 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37365
37366 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37367 for ac_func in _log10l
37368 do :
37369 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37370 if test "x$ac_cv_func__log10l" = x""yes; then :
37371 cat >>confdefs.h <<_ACEOF
37372 #define HAVE__LOG10L 1
37373 _ACEOF
37374
37375 fi
37376 done
37377
37378 fi
37379 fi
37380
37381
37382
37383
37384
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37386 $as_echo_n "checking for modfl declaration... " >&6; }
37387 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37388 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37389 $as_echo_n "(cached) " >&6
37390 else
37391
37392
37393 ac_ext=cpp
37394 ac_cpp='$CXXCPP $CPPFLAGS'
37395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37398
37399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37400 /* end confdefs.h. */
37401 #include <math.h>
37402 int
37403 main ()
37404 {
37405 modfl(0, 0);
37406 ;
37407 return 0;
37408 }
37409 _ACEOF
37410 if ac_fn_cxx_try_compile "$LINENO"; then :
37411 glibcxx_cv_func_modfl_use=yes
37412 else
37413 glibcxx_cv_func_modfl_use=no
37414 fi
37415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37416 ac_ext=c
37417 ac_cpp='$CPP $CPPFLAGS'
37418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37421
37422
37423 fi
37424
37425 fi
37426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37427 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37428
37429 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37430 for ac_func in modfl
37431 do :
37432 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37433 if test "x$ac_cv_func_modfl" = x""yes; then :
37434 cat >>confdefs.h <<_ACEOF
37435 #define HAVE_MODFL 1
37436 _ACEOF
37437
37438 fi
37439 done
37440
37441 else
37442
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37444 $as_echo_n "checking for _modfl declaration... " >&6; }
37445 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37446 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37447 $as_echo_n "(cached) " >&6
37448 else
37449
37450
37451 ac_ext=cpp
37452 ac_cpp='$CXXCPP $CPPFLAGS'
37453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456
37457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37458 /* end confdefs.h. */
37459 #include <math.h>
37460 int
37461 main ()
37462 {
37463 _modfl(0, 0);
37464 ;
37465 return 0;
37466 }
37467 _ACEOF
37468 if ac_fn_cxx_try_compile "$LINENO"; then :
37469 glibcxx_cv_func__modfl_use=yes
37470 else
37471 glibcxx_cv_func__modfl_use=no
37472 fi
37473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37474 ac_ext=c
37475 ac_cpp='$CPP $CPPFLAGS'
37476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37479
37480
37481 fi
37482
37483 fi
37484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37485 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37486
37487 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37488 for ac_func in _modfl
37489 do :
37490 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37491 if test "x$ac_cv_func__modfl" = x""yes; then :
37492 cat >>confdefs.h <<_ACEOF
37493 #define HAVE__MODFL 1
37494 _ACEOF
37495
37496 fi
37497 done
37498
37499 fi
37500 fi
37501
37502
37503
37504
37505
37506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37507 $as_echo_n "checking for powl declaration... " >&6; }
37508 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37509 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37510 $as_echo_n "(cached) " >&6
37511 else
37512
37513
37514 ac_ext=cpp
37515 ac_cpp='$CXXCPP $CPPFLAGS'
37516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37519
37520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37521 /* end confdefs.h. */
37522 #include <math.h>
37523 int
37524 main ()
37525 {
37526 powl(0, 0);
37527 ;
37528 return 0;
37529 }
37530 _ACEOF
37531 if ac_fn_cxx_try_compile "$LINENO"; then :
37532 glibcxx_cv_func_powl_use=yes
37533 else
37534 glibcxx_cv_func_powl_use=no
37535 fi
37536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37537 ac_ext=c
37538 ac_cpp='$CPP $CPPFLAGS'
37539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37542
37543
37544 fi
37545
37546 fi
37547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37548 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37549
37550 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37551 for ac_func in powl
37552 do :
37553 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37554 if test "x$ac_cv_func_powl" = x""yes; then :
37555 cat >>confdefs.h <<_ACEOF
37556 #define HAVE_POWL 1
37557 _ACEOF
37558
37559 fi
37560 done
37561
37562 else
37563
37564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37565 $as_echo_n "checking for _powl declaration... " >&6; }
37566 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37567 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37568 $as_echo_n "(cached) " >&6
37569 else
37570
37571
37572 ac_ext=cpp
37573 ac_cpp='$CXXCPP $CPPFLAGS'
37574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37577
37578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37579 /* end confdefs.h. */
37580 #include <math.h>
37581 int
37582 main ()
37583 {
37584 _powl(0, 0);
37585 ;
37586 return 0;
37587 }
37588 _ACEOF
37589 if ac_fn_cxx_try_compile "$LINENO"; then :
37590 glibcxx_cv_func__powl_use=yes
37591 else
37592 glibcxx_cv_func__powl_use=no
37593 fi
37594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37595 ac_ext=c
37596 ac_cpp='$CPP $CPPFLAGS'
37597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37600
37601
37602 fi
37603
37604 fi
37605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37606 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37607
37608 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37609 for ac_func in _powl
37610 do :
37611 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37612 if test "x$ac_cv_func__powl" = x""yes; then :
37613 cat >>confdefs.h <<_ACEOF
37614 #define HAVE__POWL 1
37615 _ACEOF
37616
37617 fi
37618 done
37619
37620 fi
37621 fi
37622
37623
37624
37625
37626
37627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37628 $as_echo_n "checking for sqrtl declaration... " >&6; }
37629 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37630 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37631 $as_echo_n "(cached) " >&6
37632 else
37633
37634
37635 ac_ext=cpp
37636 ac_cpp='$CXXCPP $CPPFLAGS'
37637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37640
37641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37642 /* end confdefs.h. */
37643 #include <math.h>
37644 #ifdef HAVE_IEEEFP_H
37645 #include <ieeefp.h>
37646 #endif
37647
37648 int
37649 main ()
37650 {
37651 sqrtl(0);
37652 ;
37653 return 0;
37654 }
37655 _ACEOF
37656 if ac_fn_cxx_try_compile "$LINENO"; then :
37657 glibcxx_cv_func_sqrtl_use=yes
37658 else
37659 glibcxx_cv_func_sqrtl_use=no
37660 fi
37661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37662 ac_ext=c
37663 ac_cpp='$CPP $CPPFLAGS'
37664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37667
37668
37669 fi
37670
37671 fi
37672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37673 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37674
37675 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37676 for ac_func in sqrtl
37677 do :
37678 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37679 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37680 cat >>confdefs.h <<_ACEOF
37681 #define HAVE_SQRTL 1
37682 _ACEOF
37683
37684 fi
37685 done
37686
37687 else
37688
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37690 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37691 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37692 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37693 $as_echo_n "(cached) " >&6
37694 else
37695
37696
37697 ac_ext=cpp
37698 ac_cpp='$CXXCPP $CPPFLAGS'
37699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37702
37703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37704 /* end confdefs.h. */
37705 #include <math.h>
37706 #ifdef HAVE_IEEEFP_H
37707 #include <ieeefp.h>
37708 #endif
37709
37710 int
37711 main ()
37712 {
37713 _sqrtl(0);
37714 ;
37715 return 0;
37716 }
37717 _ACEOF
37718 if ac_fn_cxx_try_compile "$LINENO"; then :
37719 glibcxx_cv_func__sqrtl_use=yes
37720 else
37721 glibcxx_cv_func__sqrtl_use=no
37722 fi
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37724 ac_ext=c
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37729
37730
37731 fi
37732
37733 fi
37734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37735 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37736
37737 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37738 for ac_func in _sqrtl
37739 do :
37740 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37741 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37742 cat >>confdefs.h <<_ACEOF
37743 #define HAVE__SQRTL 1
37744 _ACEOF
37745
37746 fi
37747 done
37748
37749 fi
37750 fi
37751
37752
37753
37754
37755
37756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37757 $as_echo_n "checking for sincosl declaration... " >&6; }
37758 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37759 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37760 $as_echo_n "(cached) " >&6
37761 else
37762
37763
37764 ac_ext=cpp
37765 ac_cpp='$CXXCPP $CPPFLAGS'
37766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37769
37770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37771 /* end confdefs.h. */
37772 #include <math.h>
37773 int
37774 main ()
37775 {
37776 sincosl(0, 0, 0);
37777 ;
37778 return 0;
37779 }
37780 _ACEOF
37781 if ac_fn_cxx_try_compile "$LINENO"; then :
37782 glibcxx_cv_func_sincosl_use=yes
37783 else
37784 glibcxx_cv_func_sincosl_use=no
37785 fi
37786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37787 ac_ext=c
37788 ac_cpp='$CPP $CPPFLAGS'
37789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792
37793
37794 fi
37795
37796 fi
37797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37798 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37799
37800 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37801 for ac_func in sincosl
37802 do :
37803 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37804 if test "x$ac_cv_func_sincosl" = x""yes; then :
37805 cat >>confdefs.h <<_ACEOF
37806 #define HAVE_SINCOSL 1
37807 _ACEOF
37808
37809 fi
37810 done
37811
37812 else
37813
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37815 $as_echo_n "checking for _sincosl declaration... " >&6; }
37816 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37817 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37818 $as_echo_n "(cached) " >&6
37819 else
37820
37821
37822 ac_ext=cpp
37823 ac_cpp='$CXXCPP $CPPFLAGS'
37824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827
37828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37829 /* end confdefs.h. */
37830 #include <math.h>
37831 int
37832 main ()
37833 {
37834 _sincosl(0, 0, 0);
37835 ;
37836 return 0;
37837 }
37838 _ACEOF
37839 if ac_fn_cxx_try_compile "$LINENO"; then :
37840 glibcxx_cv_func__sincosl_use=yes
37841 else
37842 glibcxx_cv_func__sincosl_use=no
37843 fi
37844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37850
37851
37852 fi
37853
37854 fi
37855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37856 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37857
37858 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37859 for ac_func in _sincosl
37860 do :
37861 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37862 if test "x$ac_cv_func__sincosl" = x""yes; then :
37863 cat >>confdefs.h <<_ACEOF
37864 #define HAVE__SINCOSL 1
37865 _ACEOF
37866
37867 fi
37868 done
37869
37870 fi
37871 fi
37872
37873
37874
37875
37876
37877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37878 $as_echo_n "checking for finitel declaration... " >&6; }
37879 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37880 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37881 $as_echo_n "(cached) " >&6
37882 else
37883
37884
37885 ac_ext=cpp
37886 ac_cpp='$CXXCPP $CPPFLAGS'
37887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37890
37891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37892 /* end confdefs.h. */
37893 #include <math.h>
37894 #ifdef HAVE_IEEEFP_H
37895 #include <ieeefp.h>
37896 #endif
37897
37898 int
37899 main ()
37900 {
37901 finitel(0);
37902 ;
37903 return 0;
37904 }
37905 _ACEOF
37906 if ac_fn_cxx_try_compile "$LINENO"; then :
37907 glibcxx_cv_func_finitel_use=yes
37908 else
37909 glibcxx_cv_func_finitel_use=no
37910 fi
37911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37912 ac_ext=c
37913 ac_cpp='$CPP $CPPFLAGS'
37914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37917
37918
37919 fi
37920
37921 fi
37922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37923 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37924
37925 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37926 for ac_func in finitel
37927 do :
37928 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37929 if test "x$ac_cv_func_finitel" = x""yes; then :
37930 cat >>confdefs.h <<_ACEOF
37931 #define HAVE_FINITEL 1
37932 _ACEOF
37933
37934 fi
37935 done
37936
37937 else
37938
37939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37940 $as_echo_n "checking for _finitel declaration... " >&6; }
37941 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37942 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37943 $as_echo_n "(cached) " >&6
37944 else
37945
37946
37947 ac_ext=cpp
37948 ac_cpp='$CXXCPP $CPPFLAGS'
37949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37952
37953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37954 /* end confdefs.h. */
37955 #include <math.h>
37956 #ifdef HAVE_IEEEFP_H
37957 #include <ieeefp.h>
37958 #endif
37959
37960 int
37961 main ()
37962 {
37963 _finitel(0);
37964 ;
37965 return 0;
37966 }
37967 _ACEOF
37968 if ac_fn_cxx_try_compile "$LINENO"; then :
37969 glibcxx_cv_func__finitel_use=yes
37970 else
37971 glibcxx_cv_func__finitel_use=no
37972 fi
37973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37974 ac_ext=c
37975 ac_cpp='$CPP $CPPFLAGS'
37976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979
37980
37981 fi
37982
37983 fi
37984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37985 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37986
37987 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37988 for ac_func in _finitel
37989 do :
37990 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37991 if test "x$ac_cv_func__finitel" = x""yes; then :
37992 cat >>confdefs.h <<_ACEOF
37993 #define HAVE__FINITEL 1
37994 _ACEOF
37995
37996 fi
37997 done
37998
37999 fi
38000 fi
38001
38002
38003
38004
38005 LIBS="$ac_save_LIBS"
38006 CXXFLAGS="$ac_save_CXXFLAGS"
38007
38008
38009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38010 ac_save_CXXFLAGS="$CXXFLAGS"
38011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38012
38013
38014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38015 $as_echo_n "checking for strtold declaration... " >&6; }
38016 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38017 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38018 $as_echo_n "(cached) " >&6
38019 else
38020
38021
38022 ac_ext=cpp
38023 ac_cpp='$CXXCPP $CPPFLAGS'
38024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38027
38028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38029 /* end confdefs.h. */
38030 #include <stdlib.h>
38031 int
38032 main ()
38033 {
38034 strtold(0, 0);
38035 ;
38036 return 0;
38037 }
38038 _ACEOF
38039 if ac_fn_cxx_try_compile "$LINENO"; then :
38040 glibcxx_cv_func_strtold_use=yes
38041 else
38042 glibcxx_cv_func_strtold_use=no
38043 fi
38044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38045 ac_ext=c
38046 ac_cpp='$CPP $CPPFLAGS'
38047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38050
38051
38052 fi
38053
38054 fi
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38056 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38057 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38058 for ac_func in strtold
38059 do :
38060 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38061 if test "x$ac_cv_func_strtold" = x""yes; then :
38062 cat >>confdefs.h <<_ACEOF
38063 #define HAVE_STRTOLD 1
38064 _ACEOF
38065
38066 fi
38067 done
38068
38069 fi
38070
38071
38072
38073
38074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38075 $as_echo_n "checking for strtof declaration... " >&6; }
38076 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38077 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38078 $as_echo_n "(cached) " >&6
38079 else
38080
38081
38082 ac_ext=cpp
38083 ac_cpp='$CXXCPP $CPPFLAGS'
38084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38087
38088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38089 /* end confdefs.h. */
38090 #include <stdlib.h>
38091 int
38092 main ()
38093 {
38094 strtof(0, 0);
38095 ;
38096 return 0;
38097 }
38098 _ACEOF
38099 if ac_fn_cxx_try_compile "$LINENO"; then :
38100 glibcxx_cv_func_strtof_use=yes
38101 else
38102 glibcxx_cv_func_strtof_use=no
38103 fi
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105 ac_ext=c
38106 ac_cpp='$CPP $CPPFLAGS'
38107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38110
38111
38112 fi
38113
38114 fi
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38116 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38117 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38118 for ac_func in strtof
38119 do :
38120 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38121 if test "x$ac_cv_func_strtof" = x""yes; then :
38122 cat >>confdefs.h <<_ACEOF
38123 #define HAVE_STRTOF 1
38124 _ACEOF
38125
38126 fi
38127 done
38128
38129 fi
38130
38131
38132
38133
38134 CXXFLAGS="$ac_save_CXXFLAGS"
38135
38136 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38137
38138 # We don't yet support AIX's TLS ABI.
38139 #GCC_CHECK_TLS
38140
38141
38142
38143
38144
38145 am_save_CPPFLAGS="$CPPFLAGS"
38146
38147 for element in $INCICONV; do
38148 haveit=
38149 for x in $CPPFLAGS; do
38150
38151 acl_save_prefix="$prefix"
38152 prefix="$acl_final_prefix"
38153 acl_save_exec_prefix="$exec_prefix"
38154 exec_prefix="$acl_final_exec_prefix"
38155 eval x=\"$x\"
38156 exec_prefix="$acl_save_exec_prefix"
38157 prefix="$acl_save_prefix"
38158
38159 if test "X$x" = "X$element"; then
38160 haveit=yes
38161 break
38162 fi
38163 done
38164 if test -z "$haveit"; then
38165 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38166 fi
38167 done
38168
38169
38170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38171 $as_echo_n "checking for iconv... " >&6; }
38172 if test "${am_cv_func_iconv+set}" = set; then :
38173 $as_echo_n "(cached) " >&6
38174 else
38175
38176 am_cv_func_iconv="no, consider installing GNU libiconv"
38177 am_cv_lib_iconv=no
38178 if test x$gcc_no_link = xyes; then
38179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38180 fi
38181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38182 /* end confdefs.h. */
38183 #include <stdlib.h>
38184 #include <iconv.h>
38185 int
38186 main ()
38187 {
38188 iconv_t cd = iconv_open("","");
38189 iconv(cd,NULL,NULL,NULL,NULL);
38190 iconv_close(cd);
38191 ;
38192 return 0;
38193 }
38194 _ACEOF
38195 if ac_fn_c_try_link "$LINENO"; then :
38196 am_cv_func_iconv=yes
38197 fi
38198 rm -f core conftest.err conftest.$ac_objext \
38199 conftest$ac_exeext conftest.$ac_ext
38200 if test "$am_cv_func_iconv" != yes; then
38201 am_save_LIBS="$LIBS"
38202 LIBS="$LIBS $LIBICONV"
38203 if test x$gcc_no_link = xyes; then
38204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38205 fi
38206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h. */
38208 #include <stdlib.h>
38209 #include <iconv.h>
38210 int
38211 main ()
38212 {
38213 iconv_t cd = iconv_open("","");
38214 iconv(cd,NULL,NULL,NULL,NULL);
38215 iconv_close(cd);
38216 ;
38217 return 0;
38218 }
38219 _ACEOF
38220 if ac_fn_c_try_link "$LINENO"; then :
38221 am_cv_lib_iconv=yes
38222 am_cv_func_iconv=yes
38223 fi
38224 rm -f core conftest.err conftest.$ac_objext \
38225 conftest$ac_exeext conftest.$ac_ext
38226 LIBS="$am_save_LIBS"
38227 fi
38228
38229 fi
38230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38231 $as_echo "$am_cv_func_iconv" >&6; }
38232 if test "$am_cv_func_iconv" = yes; then
38233
38234 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38235
38236 fi
38237 if test "$am_cv_lib_iconv" = yes; then
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38239 $as_echo_n "checking how to link with libiconv... " >&6; }
38240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38241 $as_echo "$LIBICONV" >&6; }
38242 else
38243 CPPFLAGS="$am_save_CPPFLAGS"
38244 LIBICONV=
38245 LTLIBICONV=
38246 fi
38247
38248
38249
38250 if test "$am_cv_func_iconv" = yes; then
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38252 $as_echo_n "checking for iconv declaration... " >&6; }
38253 if test "${am_cv_proto_iconv+set}" = set; then :
38254 $as_echo_n "(cached) " >&6
38255 else
38256
38257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38258 /* end confdefs.h. */
38259
38260 #include <stdlib.h>
38261 #include <iconv.h>
38262 extern
38263 #ifdef __cplusplus
38264 "C"
38265 #endif
38266 #if defined(__STDC__) || defined(__cplusplus)
38267 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38268 #else
38269 size_t iconv();
38270 #endif
38271
38272 int
38273 main ()
38274 {
38275
38276 ;
38277 return 0;
38278 }
38279 _ACEOF
38280 if ac_fn_c_try_compile "$LINENO"; then :
38281 am_cv_proto_iconv_arg1=""
38282 else
38283 am_cv_proto_iconv_arg1="const"
38284 fi
38285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38286 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);"
38287 fi
38288
38289 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38291 }$am_cv_proto_iconv" >&5
38292 $as_echo "${ac_t:-
38293 }$am_cv_proto_iconv" >&6; }
38294
38295 cat >>confdefs.h <<_ACEOF
38296 #define ICONV_CONST $am_cv_proto_iconv_arg1
38297 _ACEOF
38298
38299 fi
38300
38301 ;;
38302
38303 *-darwin*)
38304 # Darwin versions vary, but the linker should work in a cross environment,
38305 # so we just check for all the features here.
38306 # Check for available headers.
38307
38308 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38309
38310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38311 ac_save_CXXFLAGS="$CXXFLAGS"
38312 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38313
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38315 $as_echo_n "checking for sin in -lm... " >&6; }
38316 if test "${ac_cv_lib_m_sin+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38319 ac_check_lib_save_LIBS=$LIBS
38320 LIBS="-lm $LIBS"
38321 if test x$gcc_no_link = xyes; then
38322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38323 fi
38324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38325 /* end confdefs.h. */
38326
38327 /* Override any GCC internal prototype to avoid an error.
38328 Use char because int might match the return type of a GCC
38329 builtin and then its argument prototype would still apply. */
38330 #ifdef __cplusplus
38331 extern "C"
38332 #endif
38333 char sin ();
38334 int
38335 main ()
38336 {
38337 return sin ();
38338 ;
38339 return 0;
38340 }
38341 _ACEOF
38342 if ac_fn_c_try_link "$LINENO"; then :
38343 ac_cv_lib_m_sin=yes
38344 else
38345 ac_cv_lib_m_sin=no
38346 fi
38347 rm -f core conftest.err conftest.$ac_objext \
38348 conftest$ac_exeext conftest.$ac_ext
38349 LIBS=$ac_check_lib_save_LIBS
38350 fi
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38352 $as_echo "$ac_cv_lib_m_sin" >&6; }
38353 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38354 libm="-lm"
38355 fi
38356
38357 ac_save_LIBS="$LIBS"
38358 LIBS="$LIBS $libm"
38359
38360
38361
38362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38363 $as_echo_n "checking for isinf declaration... " >&6; }
38364 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38365 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38366 $as_echo_n "(cached) " >&6
38367 else
38368
38369
38370 ac_ext=cpp
38371 ac_cpp='$CXXCPP $CPPFLAGS'
38372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38375
38376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38377 /* end confdefs.h. */
38378 #include <math.h>
38379 #ifdef HAVE_IEEEFP_H
38380 #include <ieeefp.h>
38381 #endif
38382
38383 int
38384 main ()
38385 {
38386 isinf(0);
38387 ;
38388 return 0;
38389 }
38390 _ACEOF
38391 if ac_fn_cxx_try_compile "$LINENO"; then :
38392 glibcxx_cv_func_isinf_use=yes
38393 else
38394 glibcxx_cv_func_isinf_use=no
38395 fi
38396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38397 ac_ext=c
38398 ac_cpp='$CPP $CPPFLAGS'
38399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38402
38403
38404 fi
38405
38406 fi
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38408 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38409
38410 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38411 for ac_func in isinf
38412 do :
38413 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38414 if test "x$ac_cv_func_isinf" = x""yes; then :
38415 cat >>confdefs.h <<_ACEOF
38416 #define HAVE_ISINF 1
38417 _ACEOF
38418
38419 fi
38420 done
38421
38422 else
38423
38424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38425 $as_echo_n "checking for _isinf declaration... " >&6; }
38426 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38427 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38428 $as_echo_n "(cached) " >&6
38429 else
38430
38431
38432 ac_ext=cpp
38433 ac_cpp='$CXXCPP $CPPFLAGS'
38434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38437
38438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38439 /* end confdefs.h. */
38440 #include <math.h>
38441 #ifdef HAVE_IEEEFP_H
38442 #include <ieeefp.h>
38443 #endif
38444
38445 int
38446 main ()
38447 {
38448 _isinf(0);
38449 ;
38450 return 0;
38451 }
38452 _ACEOF
38453 if ac_fn_cxx_try_compile "$LINENO"; then :
38454 glibcxx_cv_func__isinf_use=yes
38455 else
38456 glibcxx_cv_func__isinf_use=no
38457 fi
38458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38459 ac_ext=c
38460 ac_cpp='$CPP $CPPFLAGS'
38461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38464
38465
38466 fi
38467
38468 fi
38469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38470 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38471
38472 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38473 for ac_func in _isinf
38474 do :
38475 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38476 if test "x$ac_cv_func__isinf" = x""yes; then :
38477 cat >>confdefs.h <<_ACEOF
38478 #define HAVE__ISINF 1
38479 _ACEOF
38480
38481 fi
38482 done
38483
38484 fi
38485 fi
38486
38487
38488
38489
38490
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38492 $as_echo_n "checking for isnan declaration... " >&6; }
38493 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38494 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38495 $as_echo_n "(cached) " >&6
38496 else
38497
38498
38499 ac_ext=cpp
38500 ac_cpp='$CXXCPP $CPPFLAGS'
38501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38504
38505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38506 /* end confdefs.h. */
38507 #include <math.h>
38508 #ifdef HAVE_IEEEFP_H
38509 #include <ieeefp.h>
38510 #endif
38511
38512 int
38513 main ()
38514 {
38515 isnan(0);
38516 ;
38517 return 0;
38518 }
38519 _ACEOF
38520 if ac_fn_cxx_try_compile "$LINENO"; then :
38521 glibcxx_cv_func_isnan_use=yes
38522 else
38523 glibcxx_cv_func_isnan_use=no
38524 fi
38525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38526 ac_ext=c
38527 ac_cpp='$CPP $CPPFLAGS'
38528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38531
38532
38533 fi
38534
38535 fi
38536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38537 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38538
38539 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38540 for ac_func in isnan
38541 do :
38542 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38543 if test "x$ac_cv_func_isnan" = x""yes; then :
38544 cat >>confdefs.h <<_ACEOF
38545 #define HAVE_ISNAN 1
38546 _ACEOF
38547
38548 fi
38549 done
38550
38551 else
38552
38553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38554 $as_echo_n "checking for _isnan declaration... " >&6; }
38555 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38556 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38557 $as_echo_n "(cached) " >&6
38558 else
38559
38560
38561 ac_ext=cpp
38562 ac_cpp='$CXXCPP $CPPFLAGS'
38563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38566
38567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38568 /* end confdefs.h. */
38569 #include <math.h>
38570 #ifdef HAVE_IEEEFP_H
38571 #include <ieeefp.h>
38572 #endif
38573
38574 int
38575 main ()
38576 {
38577 _isnan(0);
38578 ;
38579 return 0;
38580 }
38581 _ACEOF
38582 if ac_fn_cxx_try_compile "$LINENO"; then :
38583 glibcxx_cv_func__isnan_use=yes
38584 else
38585 glibcxx_cv_func__isnan_use=no
38586 fi
38587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38588 ac_ext=c
38589 ac_cpp='$CPP $CPPFLAGS'
38590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38593
38594
38595 fi
38596
38597 fi
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38599 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38600
38601 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38602 for ac_func in _isnan
38603 do :
38604 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38605 if test "x$ac_cv_func__isnan" = x""yes; then :
38606 cat >>confdefs.h <<_ACEOF
38607 #define HAVE__ISNAN 1
38608 _ACEOF
38609
38610 fi
38611 done
38612
38613 fi
38614 fi
38615
38616
38617
38618
38619
38620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38621 $as_echo_n "checking for finite declaration... " >&6; }
38622 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38623 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38624 $as_echo_n "(cached) " >&6
38625 else
38626
38627
38628 ac_ext=cpp
38629 ac_cpp='$CXXCPP $CPPFLAGS'
38630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38633
38634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38635 /* end confdefs.h. */
38636 #include <math.h>
38637 #ifdef HAVE_IEEEFP_H
38638 #include <ieeefp.h>
38639 #endif
38640
38641 int
38642 main ()
38643 {
38644 finite(0);
38645 ;
38646 return 0;
38647 }
38648 _ACEOF
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_finite_use=yes
38651 else
38652 glibcxx_cv_func_finite_use=no
38653 fi
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38655 ac_ext=c
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38660
38661
38662 fi
38663
38664 fi
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38666 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38667
38668 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38669 for ac_func in finite
38670 do :
38671 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38672 if test "x$ac_cv_func_finite" = x""yes; then :
38673 cat >>confdefs.h <<_ACEOF
38674 #define HAVE_FINITE 1
38675 _ACEOF
38676
38677 fi
38678 done
38679
38680 else
38681
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38683 $as_echo_n "checking for _finite declaration... " >&6; }
38684 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38685 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38686 $as_echo_n "(cached) " >&6
38687 else
38688
38689
38690 ac_ext=cpp
38691 ac_cpp='$CXXCPP $CPPFLAGS'
38692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38695
38696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 /* end confdefs.h. */
38698 #include <math.h>
38699 #ifdef HAVE_IEEEFP_H
38700 #include <ieeefp.h>
38701 #endif
38702
38703 int
38704 main ()
38705 {
38706 _finite(0);
38707 ;
38708 return 0;
38709 }
38710 _ACEOF
38711 if ac_fn_cxx_try_compile "$LINENO"; then :
38712 glibcxx_cv_func__finite_use=yes
38713 else
38714 glibcxx_cv_func__finite_use=no
38715 fi
38716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38717 ac_ext=c
38718 ac_cpp='$CPP $CPPFLAGS'
38719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38722
38723
38724 fi
38725
38726 fi
38727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38728 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38729
38730 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38731 for ac_func in _finite
38732 do :
38733 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38734 if test "x$ac_cv_func__finite" = x""yes; then :
38735 cat >>confdefs.h <<_ACEOF
38736 #define HAVE__FINITE 1
38737 _ACEOF
38738
38739 fi
38740 done
38741
38742 fi
38743 fi
38744
38745
38746
38747
38748
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38750 $as_echo_n "checking for sincos declaration... " >&6; }
38751 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38752 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38753 $as_echo_n "(cached) " >&6
38754 else
38755
38756
38757 ac_ext=cpp
38758 ac_cpp='$CXXCPP $CPPFLAGS'
38759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38762
38763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38764 /* end confdefs.h. */
38765 #include <math.h>
38766 int
38767 main ()
38768 {
38769 sincos(0, 0, 0);
38770 ;
38771 return 0;
38772 }
38773 _ACEOF
38774 if ac_fn_cxx_try_compile "$LINENO"; then :
38775 glibcxx_cv_func_sincos_use=yes
38776 else
38777 glibcxx_cv_func_sincos_use=no
38778 fi
38779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38780 ac_ext=c
38781 ac_cpp='$CPP $CPPFLAGS'
38782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38785
38786
38787 fi
38788
38789 fi
38790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38791 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38792
38793 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38794 for ac_func in sincos
38795 do :
38796 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38797 if test "x$ac_cv_func_sincos" = x""yes; then :
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_SINCOS 1
38800 _ACEOF
38801
38802 fi
38803 done
38804
38805 else
38806
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38808 $as_echo_n "checking for _sincos declaration... " >&6; }
38809 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38810 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38812 else
38813
38814
38815 ac_ext=cpp
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38820
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38823 #include <math.h>
38824 int
38825 main ()
38826 {
38827 _sincos(0, 0, 0);
38828 ;
38829 return 0;
38830 }
38831 _ACEOF
38832 if ac_fn_cxx_try_compile "$LINENO"; then :
38833 glibcxx_cv_func__sincos_use=yes
38834 else
38835 glibcxx_cv_func__sincos_use=no
38836 fi
38837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38838 ac_ext=c
38839 ac_cpp='$CPP $CPPFLAGS'
38840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38843
38844
38845 fi
38846
38847 fi
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38849 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38850
38851 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38852 for ac_func in _sincos
38853 do :
38854 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38855 if test "x$ac_cv_func__sincos" = x""yes; then :
38856 cat >>confdefs.h <<_ACEOF
38857 #define HAVE__SINCOS 1
38858 _ACEOF
38859
38860 fi
38861 done
38862
38863 fi
38864 fi
38865
38866
38867
38868
38869
38870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38871 $as_echo_n "checking for fpclass declaration... " >&6; }
38872 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38873 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38874 $as_echo_n "(cached) " >&6
38875 else
38876
38877
38878 ac_ext=cpp
38879 ac_cpp='$CXXCPP $CPPFLAGS'
38880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38883
38884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38885 /* end confdefs.h. */
38886 #include <math.h>
38887 #ifdef HAVE_IEEEFP_H
38888 #include <ieeefp.h>
38889 #endif
38890
38891 int
38892 main ()
38893 {
38894 fpclass(0);
38895 ;
38896 return 0;
38897 }
38898 _ACEOF
38899 if ac_fn_cxx_try_compile "$LINENO"; then :
38900 glibcxx_cv_func_fpclass_use=yes
38901 else
38902 glibcxx_cv_func_fpclass_use=no
38903 fi
38904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38905 ac_ext=c
38906 ac_cpp='$CPP $CPPFLAGS'
38907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38910
38911
38912 fi
38913
38914 fi
38915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38916 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38917
38918 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38919 for ac_func in fpclass
38920 do :
38921 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38922 if test "x$ac_cv_func_fpclass" = x""yes; then :
38923 cat >>confdefs.h <<_ACEOF
38924 #define HAVE_FPCLASS 1
38925 _ACEOF
38926
38927 fi
38928 done
38929
38930 else
38931
38932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38933 $as_echo_n "checking for _fpclass declaration... " >&6; }
38934 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38935 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38936 $as_echo_n "(cached) " >&6
38937 else
38938
38939
38940 ac_ext=cpp
38941 ac_cpp='$CXXCPP $CPPFLAGS'
38942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38945
38946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38947 /* end confdefs.h. */
38948 #include <math.h>
38949 #ifdef HAVE_IEEEFP_H
38950 #include <ieeefp.h>
38951 #endif
38952
38953 int
38954 main ()
38955 {
38956 _fpclass(0);
38957 ;
38958 return 0;
38959 }
38960 _ACEOF
38961 if ac_fn_cxx_try_compile "$LINENO"; then :
38962 glibcxx_cv_func__fpclass_use=yes
38963 else
38964 glibcxx_cv_func__fpclass_use=no
38965 fi
38966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38967 ac_ext=c
38968 ac_cpp='$CPP $CPPFLAGS'
38969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38972
38973
38974 fi
38975
38976 fi
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38978 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38979
38980 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38981 for ac_func in _fpclass
38982 do :
38983 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38984 if test "x$ac_cv_func__fpclass" = x""yes; then :
38985 cat >>confdefs.h <<_ACEOF
38986 #define HAVE__FPCLASS 1
38987 _ACEOF
38988
38989 fi
38990 done
38991
38992 fi
38993 fi
38994
38995
38996
38997
38998
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39000 $as_echo_n "checking for qfpclass declaration... " >&6; }
39001 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39002 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39003 $as_echo_n "(cached) " >&6
39004 else
39005
39006
39007 ac_ext=cpp
39008 ac_cpp='$CXXCPP $CPPFLAGS'
39009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39012
39013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39014 /* end confdefs.h. */
39015 #include <math.h>
39016 #ifdef HAVE_IEEEFP_H
39017 #include <ieeefp.h>
39018 #endif
39019
39020 int
39021 main ()
39022 {
39023 qfpclass(0);
39024 ;
39025 return 0;
39026 }
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func_qfpclass_use=yes
39030 else
39031 glibcxx_cv_func_qfpclass_use=no
39032 fi
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39039
39040
39041 fi
39042
39043 fi
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39045 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39046
39047 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39048 for ac_func in qfpclass
39049 do :
39050 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39051 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39052 cat >>confdefs.h <<_ACEOF
39053 #define HAVE_QFPCLASS 1
39054 _ACEOF
39055
39056 fi
39057 done
39058
39059 else
39060
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39062 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39063 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39064 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39065 $as_echo_n "(cached) " >&6
39066 else
39067
39068
39069 ac_ext=cpp
39070 ac_cpp='$CXXCPP $CPPFLAGS'
39071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39074
39075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39076 /* end confdefs.h. */
39077 #include <math.h>
39078 #ifdef HAVE_IEEEFP_H
39079 #include <ieeefp.h>
39080 #endif
39081
39082 int
39083 main ()
39084 {
39085 _qfpclass(0);
39086 ;
39087 return 0;
39088 }
39089 _ACEOF
39090 if ac_fn_cxx_try_compile "$LINENO"; then :
39091 glibcxx_cv_func__qfpclass_use=yes
39092 else
39093 glibcxx_cv_func__qfpclass_use=no
39094 fi
39095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39096 ac_ext=c
39097 ac_cpp='$CPP $CPPFLAGS'
39098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39101
39102
39103 fi
39104
39105 fi
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39107 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39108
39109 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39110 for ac_func in _qfpclass
39111 do :
39112 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39113 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39114 cat >>confdefs.h <<_ACEOF
39115 #define HAVE__QFPCLASS 1
39116 _ACEOF
39117
39118 fi
39119 done
39120
39121 fi
39122 fi
39123
39124
39125
39126
39127
39128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39129 $as_echo_n "checking for hypot declaration... " >&6; }
39130 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39131 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39132 $as_echo_n "(cached) " >&6
39133 else
39134
39135
39136 ac_ext=cpp
39137 ac_cpp='$CXXCPP $CPPFLAGS'
39138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39141
39142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39143 /* end confdefs.h. */
39144 #include <math.h>
39145 int
39146 main ()
39147 {
39148 hypot(0, 0);
39149 ;
39150 return 0;
39151 }
39152 _ACEOF
39153 if ac_fn_cxx_try_compile "$LINENO"; then :
39154 glibcxx_cv_func_hypot_use=yes
39155 else
39156 glibcxx_cv_func_hypot_use=no
39157 fi
39158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39159 ac_ext=c
39160 ac_cpp='$CPP $CPPFLAGS'
39161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39164
39165
39166 fi
39167
39168 fi
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39170 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39171
39172 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39173 for ac_func in hypot
39174 do :
39175 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39176 if test "x$ac_cv_func_hypot" = x""yes; then :
39177 cat >>confdefs.h <<_ACEOF
39178 #define HAVE_HYPOT 1
39179 _ACEOF
39180
39181 fi
39182 done
39183
39184 else
39185
39186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39187 $as_echo_n "checking for _hypot declaration... " >&6; }
39188 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39189 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39190 $as_echo_n "(cached) " >&6
39191 else
39192
39193
39194 ac_ext=cpp
39195 ac_cpp='$CXXCPP $CPPFLAGS'
39196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199
39200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39201 /* end confdefs.h. */
39202 #include <math.h>
39203 int
39204 main ()
39205 {
39206 _hypot(0, 0);
39207 ;
39208 return 0;
39209 }
39210 _ACEOF
39211 if ac_fn_cxx_try_compile "$LINENO"; then :
39212 glibcxx_cv_func__hypot_use=yes
39213 else
39214 glibcxx_cv_func__hypot_use=no
39215 fi
39216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39217 ac_ext=c
39218 ac_cpp='$CPP $CPPFLAGS'
39219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39222
39223
39224 fi
39225
39226 fi
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39228 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39229
39230 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39231 for ac_func in _hypot
39232 do :
39233 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39234 if test "x$ac_cv_func__hypot" = x""yes; then :
39235 cat >>confdefs.h <<_ACEOF
39236 #define HAVE__HYPOT 1
39237 _ACEOF
39238
39239 fi
39240 done
39241
39242 fi
39243 fi
39244
39245
39246
39247
39248
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39250 $as_echo_n "checking for float trig functions... " >&6; }
39251 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39252 $as_echo_n "(cached) " >&6
39253 else
39254
39255
39256 ac_ext=cpp
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39261
39262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39263 /* end confdefs.h. */
39264 #include <math.h>
39265 int
39266 main ()
39267 {
39268 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39269 ;
39270 return 0;
39271 }
39272 _ACEOF
39273 if ac_fn_cxx_try_compile "$LINENO"; then :
39274 glibcxx_cv_func_float_trig_use=yes
39275 else
39276 glibcxx_cv_func_float_trig_use=no
39277 fi
39278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39279 ac_ext=c
39280 ac_cpp='$CPP $CPPFLAGS'
39281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39284
39285 fi
39286
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39288 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39289 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39290 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39291 do :
39292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39294 eval as_val=\$$as_ac_var
39295 if test "x$as_val" = x""yes; then :
39296 cat >>confdefs.h <<_ACEOF
39297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39298 _ACEOF
39299
39300 fi
39301 done
39302
39303 else
39304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39305 $as_echo_n "checking for _float trig functions... " >&6; }
39306 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39307 $as_echo_n "(cached) " >&6
39308 else
39309
39310
39311 ac_ext=cpp
39312 ac_cpp='$CXXCPP $CPPFLAGS'
39313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39316
39317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39318 /* end confdefs.h. */
39319 #include <math.h>
39320 int
39321 main ()
39322 {
39323 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39324 ;
39325 return 0;
39326 }
39327 _ACEOF
39328 if ac_fn_cxx_try_compile "$LINENO"; then :
39329 glibcxx_cv_func__float_trig_use=yes
39330 else
39331 glibcxx_cv_func__float_trig_use=no
39332 fi
39333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39334 ac_ext=c
39335 ac_cpp='$CPP $CPPFLAGS'
39336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39339
39340 fi
39341
39342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39343 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39344 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39345 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39346 do :
39347 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39348 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39349 eval as_val=\$$as_ac_var
39350 if test "x$as_val" = x""yes; then :
39351 cat >>confdefs.h <<_ACEOF
39352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39353 _ACEOF
39354
39355 fi
39356 done
39357
39358 fi
39359 fi
39360
39361
39362
39363
39364
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39366 $as_echo_n "checking for float round functions... " >&6; }
39367 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39368 $as_echo_n "(cached) " >&6
39369 else
39370
39371
39372 ac_ext=cpp
39373 ac_cpp='$CXXCPP $CPPFLAGS'
39374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39377
39378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39379 /* end confdefs.h. */
39380 #include <math.h>
39381 int
39382 main ()
39383 {
39384 ceilf (0); floorf (0);
39385 ;
39386 return 0;
39387 }
39388 _ACEOF
39389 if ac_fn_cxx_try_compile "$LINENO"; then :
39390 glibcxx_cv_func_float_round_use=yes
39391 else
39392 glibcxx_cv_func_float_round_use=no
39393 fi
39394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39395 ac_ext=c
39396 ac_cpp='$CPP $CPPFLAGS'
39397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39400
39401 fi
39402
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39404 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39405 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39406 for ac_func in ceilf floorf
39407 do :
39408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39410 eval as_val=\$$as_ac_var
39411 if test "x$as_val" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39414 _ACEOF
39415
39416 fi
39417 done
39418
39419 else
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39421 $as_echo_n "checking for _float round functions... " >&6; }
39422 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39423 $as_echo_n "(cached) " >&6
39424 else
39425
39426
39427 ac_ext=cpp
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39432
39433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39434 /* end confdefs.h. */
39435 #include <math.h>
39436 int
39437 main ()
39438 {
39439 _ceilf (0); _floorf (0);
39440 ;
39441 return 0;
39442 }
39443 _ACEOF
39444 if ac_fn_cxx_try_compile "$LINENO"; then :
39445 glibcxx_cv_func__float_round_use=yes
39446 else
39447 glibcxx_cv_func__float_round_use=no
39448 fi
39449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39450 ac_ext=c
39451 ac_cpp='$CPP $CPPFLAGS'
39452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39455
39456 fi
39457
39458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39459 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39460 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39461 for ac_func in _ceilf _floorf
39462 do :
39463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39465 eval as_val=\$$as_ac_var
39466 if test "x$as_val" = x""yes; then :
39467 cat >>confdefs.h <<_ACEOF
39468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39469 _ACEOF
39470
39471 fi
39472 done
39473
39474 fi
39475 fi
39476
39477
39478
39479
39480
39481
39482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39483 $as_echo_n "checking for expf declaration... " >&6; }
39484 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39485 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39486 $as_echo_n "(cached) " >&6
39487 else
39488
39489
39490 ac_ext=cpp
39491 ac_cpp='$CXXCPP $CPPFLAGS'
39492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39495
39496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39497 /* end confdefs.h. */
39498 #include <math.h>
39499 #ifdef HAVE_IEEEFP_H
39500 #include <ieeefp.h>
39501 #endif
39502
39503 int
39504 main ()
39505 {
39506 expf(0);
39507 ;
39508 return 0;
39509 }
39510 _ACEOF
39511 if ac_fn_cxx_try_compile "$LINENO"; then :
39512 glibcxx_cv_func_expf_use=yes
39513 else
39514 glibcxx_cv_func_expf_use=no
39515 fi
39516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39517 ac_ext=c
39518 ac_cpp='$CPP $CPPFLAGS'
39519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39522
39523
39524 fi
39525
39526 fi
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39528 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39529
39530 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39531 for ac_func in expf
39532 do :
39533 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39534 if test "x$ac_cv_func_expf" = x""yes; then :
39535 cat >>confdefs.h <<_ACEOF
39536 #define HAVE_EXPF 1
39537 _ACEOF
39538
39539 fi
39540 done
39541
39542 else
39543
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39545 $as_echo_n "checking for _expf declaration... " >&6; }
39546 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39547 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39548 $as_echo_n "(cached) " >&6
39549 else
39550
39551
39552 ac_ext=cpp
39553 ac_cpp='$CXXCPP $CPPFLAGS'
39554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39557
39558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39559 /* end confdefs.h. */
39560 #include <math.h>
39561 #ifdef HAVE_IEEEFP_H
39562 #include <ieeefp.h>
39563 #endif
39564
39565 int
39566 main ()
39567 {
39568 _expf(0);
39569 ;
39570 return 0;
39571 }
39572 _ACEOF
39573 if ac_fn_cxx_try_compile "$LINENO"; then :
39574 glibcxx_cv_func__expf_use=yes
39575 else
39576 glibcxx_cv_func__expf_use=no
39577 fi
39578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39579 ac_ext=c
39580 ac_cpp='$CPP $CPPFLAGS'
39581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39584
39585
39586 fi
39587
39588 fi
39589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39590 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39591
39592 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39593 for ac_func in _expf
39594 do :
39595 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39596 if test "x$ac_cv_func__expf" = x""yes; then :
39597 cat >>confdefs.h <<_ACEOF
39598 #define HAVE__EXPF 1
39599 _ACEOF
39600
39601 fi
39602 done
39603
39604 fi
39605 fi
39606
39607
39608
39609
39610
39611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39612 $as_echo_n "checking for isnanf declaration... " >&6; }
39613 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39614 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39615 $as_echo_n "(cached) " >&6
39616 else
39617
39618
39619 ac_ext=cpp
39620 ac_cpp='$CXXCPP $CPPFLAGS'
39621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39624
39625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39626 /* end confdefs.h. */
39627 #include <math.h>
39628 #ifdef HAVE_IEEEFP_H
39629 #include <ieeefp.h>
39630 #endif
39631
39632 int
39633 main ()
39634 {
39635 isnanf(0);
39636 ;
39637 return 0;
39638 }
39639 _ACEOF
39640 if ac_fn_cxx_try_compile "$LINENO"; then :
39641 glibcxx_cv_func_isnanf_use=yes
39642 else
39643 glibcxx_cv_func_isnanf_use=no
39644 fi
39645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39646 ac_ext=c
39647 ac_cpp='$CPP $CPPFLAGS'
39648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39651
39652
39653 fi
39654
39655 fi
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39657 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39658
39659 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39660 for ac_func in isnanf
39661 do :
39662 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39663 if test "x$ac_cv_func_isnanf" = x""yes; then :
39664 cat >>confdefs.h <<_ACEOF
39665 #define HAVE_ISNANF 1
39666 _ACEOF
39667
39668 fi
39669 done
39670
39671 else
39672
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39674 $as_echo_n "checking for _isnanf declaration... " >&6; }
39675 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39676 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39677 $as_echo_n "(cached) " >&6
39678 else
39679
39680
39681 ac_ext=cpp
39682 ac_cpp='$CXXCPP $CPPFLAGS'
39683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39686
39687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39688 /* end confdefs.h. */
39689 #include <math.h>
39690 #ifdef HAVE_IEEEFP_H
39691 #include <ieeefp.h>
39692 #endif
39693
39694 int
39695 main ()
39696 {
39697 _isnanf(0);
39698 ;
39699 return 0;
39700 }
39701 _ACEOF
39702 if ac_fn_cxx_try_compile "$LINENO"; then :
39703 glibcxx_cv_func__isnanf_use=yes
39704 else
39705 glibcxx_cv_func__isnanf_use=no
39706 fi
39707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39713
39714
39715 fi
39716
39717 fi
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39719 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39720
39721 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39722 for ac_func in _isnanf
39723 do :
39724 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39725 if test "x$ac_cv_func__isnanf" = x""yes; then :
39726 cat >>confdefs.h <<_ACEOF
39727 #define HAVE__ISNANF 1
39728 _ACEOF
39729
39730 fi
39731 done
39732
39733 fi
39734 fi
39735
39736
39737
39738
39739
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39741 $as_echo_n "checking for isinff declaration... " >&6; }
39742 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39743 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39744 $as_echo_n "(cached) " >&6
39745 else
39746
39747
39748 ac_ext=cpp
39749 ac_cpp='$CXXCPP $CPPFLAGS'
39750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39753
39754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39755 /* end confdefs.h. */
39756 #include <math.h>
39757 #ifdef HAVE_IEEEFP_H
39758 #include <ieeefp.h>
39759 #endif
39760
39761 int
39762 main ()
39763 {
39764 isinff(0);
39765 ;
39766 return 0;
39767 }
39768 _ACEOF
39769 if ac_fn_cxx_try_compile "$LINENO"; then :
39770 glibcxx_cv_func_isinff_use=yes
39771 else
39772 glibcxx_cv_func_isinff_use=no
39773 fi
39774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39775 ac_ext=c
39776 ac_cpp='$CPP $CPPFLAGS'
39777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39780
39781
39782 fi
39783
39784 fi
39785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39786 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39787
39788 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39789 for ac_func in isinff
39790 do :
39791 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39792 if test "x$ac_cv_func_isinff" = x""yes; then :
39793 cat >>confdefs.h <<_ACEOF
39794 #define HAVE_ISINFF 1
39795 _ACEOF
39796
39797 fi
39798 done
39799
39800 else
39801
39802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39803 $as_echo_n "checking for _isinff declaration... " >&6; }
39804 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39805 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39806 $as_echo_n "(cached) " >&6
39807 else
39808
39809
39810 ac_ext=cpp
39811 ac_cpp='$CXXCPP $CPPFLAGS'
39812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39815
39816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39817 /* end confdefs.h. */
39818 #include <math.h>
39819 #ifdef HAVE_IEEEFP_H
39820 #include <ieeefp.h>
39821 #endif
39822
39823 int
39824 main ()
39825 {
39826 _isinff(0);
39827 ;
39828 return 0;
39829 }
39830 _ACEOF
39831 if ac_fn_cxx_try_compile "$LINENO"; then :
39832 glibcxx_cv_func__isinff_use=yes
39833 else
39834 glibcxx_cv_func__isinff_use=no
39835 fi
39836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39837 ac_ext=c
39838 ac_cpp='$CPP $CPPFLAGS'
39839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39842
39843
39844 fi
39845
39846 fi
39847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39848 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39849
39850 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39851 for ac_func in _isinff
39852 do :
39853 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39854 if test "x$ac_cv_func__isinff" = x""yes; then :
39855 cat >>confdefs.h <<_ACEOF
39856 #define HAVE__ISINFF 1
39857 _ACEOF
39858
39859 fi
39860 done
39861
39862 fi
39863 fi
39864
39865
39866
39867
39868
39869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39870 $as_echo_n "checking for atan2f declaration... " >&6; }
39871 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39872 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39873 $as_echo_n "(cached) " >&6
39874 else
39875
39876
39877 ac_ext=cpp
39878 ac_cpp='$CXXCPP $CPPFLAGS'
39879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39882
39883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39884 /* end confdefs.h. */
39885 #include <math.h>
39886 int
39887 main ()
39888 {
39889 atan2f(0, 0);
39890 ;
39891 return 0;
39892 }
39893 _ACEOF
39894 if ac_fn_cxx_try_compile "$LINENO"; then :
39895 glibcxx_cv_func_atan2f_use=yes
39896 else
39897 glibcxx_cv_func_atan2f_use=no
39898 fi
39899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39900 ac_ext=c
39901 ac_cpp='$CPP $CPPFLAGS'
39902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39905
39906
39907 fi
39908
39909 fi
39910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39911 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39912
39913 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39914 for ac_func in atan2f
39915 do :
39916 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39917 if test "x$ac_cv_func_atan2f" = x""yes; then :
39918 cat >>confdefs.h <<_ACEOF
39919 #define HAVE_ATAN2F 1
39920 _ACEOF
39921
39922 fi
39923 done
39924
39925 else
39926
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39928 $as_echo_n "checking for _atan2f declaration... " >&6; }
39929 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39930 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39931 $as_echo_n "(cached) " >&6
39932 else
39933
39934
39935 ac_ext=cpp
39936 ac_cpp='$CXXCPP $CPPFLAGS'
39937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39940
39941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39942 /* end confdefs.h. */
39943 #include <math.h>
39944 int
39945 main ()
39946 {
39947 _atan2f(0, 0);
39948 ;
39949 return 0;
39950 }
39951 _ACEOF
39952 if ac_fn_cxx_try_compile "$LINENO"; then :
39953 glibcxx_cv_func__atan2f_use=yes
39954 else
39955 glibcxx_cv_func__atan2f_use=no
39956 fi
39957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39958 ac_ext=c
39959 ac_cpp='$CPP $CPPFLAGS'
39960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39963
39964
39965 fi
39966
39967 fi
39968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39969 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39970
39971 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39972 for ac_func in _atan2f
39973 do :
39974 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39975 if test "x$ac_cv_func__atan2f" = x""yes; then :
39976 cat >>confdefs.h <<_ACEOF
39977 #define HAVE__ATAN2F 1
39978 _ACEOF
39979
39980 fi
39981 done
39982
39983 fi
39984 fi
39985
39986
39987
39988
39989
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39991 $as_echo_n "checking for fabsf declaration... " >&6; }
39992 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39993 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39994 $as_echo_n "(cached) " >&6
39995 else
39996
39997
39998 ac_ext=cpp
39999 ac_cpp='$CXXCPP $CPPFLAGS'
40000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40003
40004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40005 /* end confdefs.h. */
40006 #include <math.h>
40007 #ifdef HAVE_IEEEFP_H
40008 #include <ieeefp.h>
40009 #endif
40010
40011 int
40012 main ()
40013 {
40014 fabsf(0);
40015 ;
40016 return 0;
40017 }
40018 _ACEOF
40019 if ac_fn_cxx_try_compile "$LINENO"; then :
40020 glibcxx_cv_func_fabsf_use=yes
40021 else
40022 glibcxx_cv_func_fabsf_use=no
40023 fi
40024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40025 ac_ext=c
40026 ac_cpp='$CPP $CPPFLAGS'
40027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40030
40031
40032 fi
40033
40034 fi
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40036 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40037
40038 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40039 for ac_func in fabsf
40040 do :
40041 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40042 if test "x$ac_cv_func_fabsf" = x""yes; then :
40043 cat >>confdefs.h <<_ACEOF
40044 #define HAVE_FABSF 1
40045 _ACEOF
40046
40047 fi
40048 done
40049
40050 else
40051
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40053 $as_echo_n "checking for _fabsf declaration... " >&6; }
40054 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40055 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40056 $as_echo_n "(cached) " >&6
40057 else
40058
40059
40060 ac_ext=cpp
40061 ac_cpp='$CXXCPP $CPPFLAGS'
40062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40065
40066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 /* end confdefs.h. */
40068 #include <math.h>
40069 #ifdef HAVE_IEEEFP_H
40070 #include <ieeefp.h>
40071 #endif
40072
40073 int
40074 main ()
40075 {
40076 _fabsf(0);
40077 ;
40078 return 0;
40079 }
40080 _ACEOF
40081 if ac_fn_cxx_try_compile "$LINENO"; then :
40082 glibcxx_cv_func__fabsf_use=yes
40083 else
40084 glibcxx_cv_func__fabsf_use=no
40085 fi
40086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40087 ac_ext=c
40088 ac_cpp='$CPP $CPPFLAGS'
40089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40092
40093
40094 fi
40095
40096 fi
40097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40098 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40099
40100 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40101 for ac_func in _fabsf
40102 do :
40103 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40104 if test "x$ac_cv_func__fabsf" = x""yes; then :
40105 cat >>confdefs.h <<_ACEOF
40106 #define HAVE__FABSF 1
40107 _ACEOF
40108
40109 fi
40110 done
40111
40112 fi
40113 fi
40114
40115
40116
40117
40118
40119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40120 $as_echo_n "checking for fmodf declaration... " >&6; }
40121 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40122 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40123 $as_echo_n "(cached) " >&6
40124 else
40125
40126
40127 ac_ext=cpp
40128 ac_cpp='$CXXCPP $CPPFLAGS'
40129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40132
40133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40134 /* end confdefs.h. */
40135 #include <math.h>
40136 int
40137 main ()
40138 {
40139 fmodf(0, 0);
40140 ;
40141 return 0;
40142 }
40143 _ACEOF
40144 if ac_fn_cxx_try_compile "$LINENO"; then :
40145 glibcxx_cv_func_fmodf_use=yes
40146 else
40147 glibcxx_cv_func_fmodf_use=no
40148 fi
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40150 ac_ext=c
40151 ac_cpp='$CPP $CPPFLAGS'
40152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40155
40156
40157 fi
40158
40159 fi
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40161 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40162
40163 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40164 for ac_func in fmodf
40165 do :
40166 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40167 if test "x$ac_cv_func_fmodf" = x""yes; then :
40168 cat >>confdefs.h <<_ACEOF
40169 #define HAVE_FMODF 1
40170 _ACEOF
40171
40172 fi
40173 done
40174
40175 else
40176
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40178 $as_echo_n "checking for _fmodf declaration... " >&6; }
40179 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40180 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40181 $as_echo_n "(cached) " >&6
40182 else
40183
40184
40185 ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40190
40191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h. */
40193 #include <math.h>
40194 int
40195 main ()
40196 {
40197 _fmodf(0, 0);
40198 ;
40199 return 0;
40200 }
40201 _ACEOF
40202 if ac_fn_cxx_try_compile "$LINENO"; then :
40203 glibcxx_cv_func__fmodf_use=yes
40204 else
40205 glibcxx_cv_func__fmodf_use=no
40206 fi
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208 ac_ext=c
40209 ac_cpp='$CPP $CPPFLAGS'
40210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40213
40214
40215 fi
40216
40217 fi
40218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40219 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40220
40221 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40222 for ac_func in _fmodf
40223 do :
40224 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40225 if test "x$ac_cv_func__fmodf" = x""yes; then :
40226 cat >>confdefs.h <<_ACEOF
40227 #define HAVE__FMODF 1
40228 _ACEOF
40229
40230 fi
40231 done
40232
40233 fi
40234 fi
40235
40236
40237
40238
40239
40240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40241 $as_echo_n "checking for frexpf declaration... " >&6; }
40242 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40243 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40244 $as_echo_n "(cached) " >&6
40245 else
40246
40247
40248 ac_ext=cpp
40249 ac_cpp='$CXXCPP $CPPFLAGS'
40250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40253
40254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40255 /* end confdefs.h. */
40256 #include <math.h>
40257 int
40258 main ()
40259 {
40260 frexpf(0, 0);
40261 ;
40262 return 0;
40263 }
40264 _ACEOF
40265 if ac_fn_cxx_try_compile "$LINENO"; then :
40266 glibcxx_cv_func_frexpf_use=yes
40267 else
40268 glibcxx_cv_func_frexpf_use=no
40269 fi
40270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40271 ac_ext=c
40272 ac_cpp='$CPP $CPPFLAGS'
40273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40276
40277
40278 fi
40279
40280 fi
40281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40282 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40283
40284 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40285 for ac_func in frexpf
40286 do :
40287 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40288 if test "x$ac_cv_func_frexpf" = x""yes; then :
40289 cat >>confdefs.h <<_ACEOF
40290 #define HAVE_FREXPF 1
40291 _ACEOF
40292
40293 fi
40294 done
40295
40296 else
40297
40298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40299 $as_echo_n "checking for _frexpf declaration... " >&6; }
40300 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40301 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40302 $as_echo_n "(cached) " >&6
40303 else
40304
40305
40306 ac_ext=cpp
40307 ac_cpp='$CXXCPP $CPPFLAGS'
40308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40311
40312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40313 /* end confdefs.h. */
40314 #include <math.h>
40315 int
40316 main ()
40317 {
40318 _frexpf(0, 0);
40319 ;
40320 return 0;
40321 }
40322 _ACEOF
40323 if ac_fn_cxx_try_compile "$LINENO"; then :
40324 glibcxx_cv_func__frexpf_use=yes
40325 else
40326 glibcxx_cv_func__frexpf_use=no
40327 fi
40328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40329 ac_ext=c
40330 ac_cpp='$CPP $CPPFLAGS'
40331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40334
40335
40336 fi
40337
40338 fi
40339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40340 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40341
40342 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40343 for ac_func in _frexpf
40344 do :
40345 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40346 if test "x$ac_cv_func__frexpf" = x""yes; then :
40347 cat >>confdefs.h <<_ACEOF
40348 #define HAVE__FREXPF 1
40349 _ACEOF
40350
40351 fi
40352 done
40353
40354 fi
40355 fi
40356
40357
40358
40359
40360
40361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40362 $as_echo_n "checking for hypotf declaration... " >&6; }
40363 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40364 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40365 $as_echo_n "(cached) " >&6
40366 else
40367
40368
40369 ac_ext=cpp
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40374
40375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40376 /* end confdefs.h. */
40377 #include <math.h>
40378 int
40379 main ()
40380 {
40381 hypotf(0, 0);
40382 ;
40383 return 0;
40384 }
40385 _ACEOF
40386 if ac_fn_cxx_try_compile "$LINENO"; then :
40387 glibcxx_cv_func_hypotf_use=yes
40388 else
40389 glibcxx_cv_func_hypotf_use=no
40390 fi
40391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40392 ac_ext=c
40393 ac_cpp='$CPP $CPPFLAGS'
40394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40397
40398
40399 fi
40400
40401 fi
40402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40403 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40404
40405 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40406 for ac_func in hypotf
40407 do :
40408 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40409 if test "x$ac_cv_func_hypotf" = x""yes; then :
40410 cat >>confdefs.h <<_ACEOF
40411 #define HAVE_HYPOTF 1
40412 _ACEOF
40413
40414 fi
40415 done
40416
40417 else
40418
40419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40420 $as_echo_n "checking for _hypotf declaration... " >&6; }
40421 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40422 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40423 $as_echo_n "(cached) " >&6
40424 else
40425
40426
40427 ac_ext=cpp
40428 ac_cpp='$CXXCPP $CPPFLAGS'
40429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40432
40433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40434 /* end confdefs.h. */
40435 #include <math.h>
40436 int
40437 main ()
40438 {
40439 _hypotf(0, 0);
40440 ;
40441 return 0;
40442 }
40443 _ACEOF
40444 if ac_fn_cxx_try_compile "$LINENO"; then :
40445 glibcxx_cv_func__hypotf_use=yes
40446 else
40447 glibcxx_cv_func__hypotf_use=no
40448 fi
40449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40450 ac_ext=c
40451 ac_cpp='$CPP $CPPFLAGS'
40452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40455
40456
40457 fi
40458
40459 fi
40460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40461 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40462
40463 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40464 for ac_func in _hypotf
40465 do :
40466 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40467 if test "x$ac_cv_func__hypotf" = x""yes; then :
40468 cat >>confdefs.h <<_ACEOF
40469 #define HAVE__HYPOTF 1
40470 _ACEOF
40471
40472 fi
40473 done
40474
40475 fi
40476 fi
40477
40478
40479
40480
40481
40482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40483 $as_echo_n "checking for ldexpf declaration... " >&6; }
40484 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40485 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40486 $as_echo_n "(cached) " >&6
40487 else
40488
40489
40490 ac_ext=cpp
40491 ac_cpp='$CXXCPP $CPPFLAGS'
40492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40495
40496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40497 /* end confdefs.h. */
40498 #include <math.h>
40499 int
40500 main ()
40501 {
40502 ldexpf(0, 0);
40503 ;
40504 return 0;
40505 }
40506 _ACEOF
40507 if ac_fn_cxx_try_compile "$LINENO"; then :
40508 glibcxx_cv_func_ldexpf_use=yes
40509 else
40510 glibcxx_cv_func_ldexpf_use=no
40511 fi
40512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40513 ac_ext=c
40514 ac_cpp='$CPP $CPPFLAGS'
40515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40518
40519
40520 fi
40521
40522 fi
40523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40524 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40525
40526 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40527 for ac_func in ldexpf
40528 do :
40529 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40530 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40531 cat >>confdefs.h <<_ACEOF
40532 #define HAVE_LDEXPF 1
40533 _ACEOF
40534
40535 fi
40536 done
40537
40538 else
40539
40540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40541 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40542 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40543 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40544 $as_echo_n "(cached) " >&6
40545 else
40546
40547
40548 ac_ext=cpp
40549 ac_cpp='$CXXCPP $CPPFLAGS'
40550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40553
40554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40555 /* end confdefs.h. */
40556 #include <math.h>
40557 int
40558 main ()
40559 {
40560 _ldexpf(0, 0);
40561 ;
40562 return 0;
40563 }
40564 _ACEOF
40565 if ac_fn_cxx_try_compile "$LINENO"; then :
40566 glibcxx_cv_func__ldexpf_use=yes
40567 else
40568 glibcxx_cv_func__ldexpf_use=no
40569 fi
40570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40571 ac_ext=c
40572 ac_cpp='$CPP $CPPFLAGS'
40573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40576
40577
40578 fi
40579
40580 fi
40581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40582 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40583
40584 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40585 for ac_func in _ldexpf
40586 do :
40587 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40588 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40589 cat >>confdefs.h <<_ACEOF
40590 #define HAVE__LDEXPF 1
40591 _ACEOF
40592
40593 fi
40594 done
40595
40596 fi
40597 fi
40598
40599
40600
40601
40602
40603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40604 $as_echo_n "checking for logf declaration... " >&6; }
40605 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40606 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40607 $as_echo_n "(cached) " >&6
40608 else
40609
40610
40611 ac_ext=cpp
40612 ac_cpp='$CXXCPP $CPPFLAGS'
40613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40616
40617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40618 /* end confdefs.h. */
40619 #include <math.h>
40620 #ifdef HAVE_IEEEFP_H
40621 #include <ieeefp.h>
40622 #endif
40623
40624 int
40625 main ()
40626 {
40627 logf(0);
40628 ;
40629 return 0;
40630 }
40631 _ACEOF
40632 if ac_fn_cxx_try_compile "$LINENO"; then :
40633 glibcxx_cv_func_logf_use=yes
40634 else
40635 glibcxx_cv_func_logf_use=no
40636 fi
40637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40638 ac_ext=c
40639 ac_cpp='$CPP $CPPFLAGS'
40640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40643
40644
40645 fi
40646
40647 fi
40648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40649 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40650
40651 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40652 for ac_func in logf
40653 do :
40654 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40655 if test "x$ac_cv_func_logf" = x""yes; then :
40656 cat >>confdefs.h <<_ACEOF
40657 #define HAVE_LOGF 1
40658 _ACEOF
40659
40660 fi
40661 done
40662
40663 else
40664
40665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40666 $as_echo_n "checking for _logf declaration... " >&6; }
40667 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40668 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40669 $as_echo_n "(cached) " >&6
40670 else
40671
40672
40673 ac_ext=cpp
40674 ac_cpp='$CXXCPP $CPPFLAGS'
40675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40678
40679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40680 /* end confdefs.h. */
40681 #include <math.h>
40682 #ifdef HAVE_IEEEFP_H
40683 #include <ieeefp.h>
40684 #endif
40685
40686 int
40687 main ()
40688 {
40689 _logf(0);
40690 ;
40691 return 0;
40692 }
40693 _ACEOF
40694 if ac_fn_cxx_try_compile "$LINENO"; then :
40695 glibcxx_cv_func__logf_use=yes
40696 else
40697 glibcxx_cv_func__logf_use=no
40698 fi
40699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40700 ac_ext=c
40701 ac_cpp='$CPP $CPPFLAGS'
40702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40705
40706
40707 fi
40708
40709 fi
40710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40711 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40712
40713 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40714 for ac_func in _logf
40715 do :
40716 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40717 if test "x$ac_cv_func__logf" = x""yes; then :
40718 cat >>confdefs.h <<_ACEOF
40719 #define HAVE__LOGF 1
40720 _ACEOF
40721
40722 fi
40723 done
40724
40725 fi
40726 fi
40727
40728
40729
40730
40731
40732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40733 $as_echo_n "checking for log10f declaration... " >&6; }
40734 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40735 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40736 $as_echo_n "(cached) " >&6
40737 else
40738
40739
40740 ac_ext=cpp
40741 ac_cpp='$CXXCPP $CPPFLAGS'
40742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40745
40746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40747 /* end confdefs.h. */
40748 #include <math.h>
40749 #ifdef HAVE_IEEEFP_H
40750 #include <ieeefp.h>
40751 #endif
40752
40753 int
40754 main ()
40755 {
40756 log10f(0);
40757 ;
40758 return 0;
40759 }
40760 _ACEOF
40761 if ac_fn_cxx_try_compile "$LINENO"; then :
40762 glibcxx_cv_func_log10f_use=yes
40763 else
40764 glibcxx_cv_func_log10f_use=no
40765 fi
40766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40767 ac_ext=c
40768 ac_cpp='$CPP $CPPFLAGS'
40769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40772
40773
40774 fi
40775
40776 fi
40777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40778 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40779
40780 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40781 for ac_func in log10f
40782 do :
40783 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40784 if test "x$ac_cv_func_log10f" = x""yes; then :
40785 cat >>confdefs.h <<_ACEOF
40786 #define HAVE_LOG10F 1
40787 _ACEOF
40788
40789 fi
40790 done
40791
40792 else
40793
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40795 $as_echo_n "checking for _log10f declaration... " >&6; }
40796 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40797 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40798 $as_echo_n "(cached) " >&6
40799 else
40800
40801
40802 ac_ext=cpp
40803 ac_cpp='$CXXCPP $CPPFLAGS'
40804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40807
40808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40809 /* end confdefs.h. */
40810 #include <math.h>
40811 #ifdef HAVE_IEEEFP_H
40812 #include <ieeefp.h>
40813 #endif
40814
40815 int
40816 main ()
40817 {
40818 _log10f(0);
40819 ;
40820 return 0;
40821 }
40822 _ACEOF
40823 if ac_fn_cxx_try_compile "$LINENO"; then :
40824 glibcxx_cv_func__log10f_use=yes
40825 else
40826 glibcxx_cv_func__log10f_use=no
40827 fi
40828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40829 ac_ext=c
40830 ac_cpp='$CPP $CPPFLAGS'
40831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40834
40835
40836 fi
40837
40838 fi
40839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40840 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40841
40842 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40843 for ac_func in _log10f
40844 do :
40845 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40846 if test "x$ac_cv_func__log10f" = x""yes; then :
40847 cat >>confdefs.h <<_ACEOF
40848 #define HAVE__LOG10F 1
40849 _ACEOF
40850
40851 fi
40852 done
40853
40854 fi
40855 fi
40856
40857
40858
40859
40860
40861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40862 $as_echo_n "checking for modff declaration... " >&6; }
40863 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40864 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40865 $as_echo_n "(cached) " >&6
40866 else
40867
40868
40869 ac_ext=cpp
40870 ac_cpp='$CXXCPP $CPPFLAGS'
40871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40874
40875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40876 /* end confdefs.h. */
40877 #include <math.h>
40878 int
40879 main ()
40880 {
40881 modff(0, 0);
40882 ;
40883 return 0;
40884 }
40885 _ACEOF
40886 if ac_fn_cxx_try_compile "$LINENO"; then :
40887 glibcxx_cv_func_modff_use=yes
40888 else
40889 glibcxx_cv_func_modff_use=no
40890 fi
40891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40892 ac_ext=c
40893 ac_cpp='$CPP $CPPFLAGS'
40894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40897
40898
40899 fi
40900
40901 fi
40902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40903 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40904
40905 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40906 for ac_func in modff
40907 do :
40908 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40909 if test "x$ac_cv_func_modff" = x""yes; then :
40910 cat >>confdefs.h <<_ACEOF
40911 #define HAVE_MODFF 1
40912 _ACEOF
40913
40914 fi
40915 done
40916
40917 else
40918
40919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40920 $as_echo_n "checking for _modff declaration... " >&6; }
40921 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40922 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40923 $as_echo_n "(cached) " >&6
40924 else
40925
40926
40927 ac_ext=cpp
40928 ac_cpp='$CXXCPP $CPPFLAGS'
40929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40932
40933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40934 /* end confdefs.h. */
40935 #include <math.h>
40936 int
40937 main ()
40938 {
40939 _modff(0, 0);
40940 ;
40941 return 0;
40942 }
40943 _ACEOF
40944 if ac_fn_cxx_try_compile "$LINENO"; then :
40945 glibcxx_cv_func__modff_use=yes
40946 else
40947 glibcxx_cv_func__modff_use=no
40948 fi
40949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40950 ac_ext=c
40951 ac_cpp='$CPP $CPPFLAGS'
40952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40955
40956
40957 fi
40958
40959 fi
40960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40961 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40962
40963 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40964 for ac_func in _modff
40965 do :
40966 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40967 if test "x$ac_cv_func__modff" = x""yes; then :
40968 cat >>confdefs.h <<_ACEOF
40969 #define HAVE__MODFF 1
40970 _ACEOF
40971
40972 fi
40973 done
40974
40975 fi
40976 fi
40977
40978
40979
40980
40981
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40983 $as_echo_n "checking for modf declaration... " >&6; }
40984 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40985 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40986 $as_echo_n "(cached) " >&6
40987 else
40988
40989
40990 ac_ext=cpp
40991 ac_cpp='$CXXCPP $CPPFLAGS'
40992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40995
40996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40997 /* end confdefs.h. */
40998 #include <math.h>
40999 int
41000 main ()
41001 {
41002 modf(0, 0);
41003 ;
41004 return 0;
41005 }
41006 _ACEOF
41007 if ac_fn_cxx_try_compile "$LINENO"; then :
41008 glibcxx_cv_func_modf_use=yes
41009 else
41010 glibcxx_cv_func_modf_use=no
41011 fi
41012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41013 ac_ext=c
41014 ac_cpp='$CPP $CPPFLAGS'
41015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41018
41019
41020 fi
41021
41022 fi
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41024 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41025
41026 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41027 for ac_func in modf
41028 do :
41029 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41030 if test "x$ac_cv_func_modf" = x""yes; then :
41031 cat >>confdefs.h <<_ACEOF
41032 #define HAVE_MODF 1
41033 _ACEOF
41034
41035 fi
41036 done
41037
41038 else
41039
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41041 $as_echo_n "checking for _modf declaration... " >&6; }
41042 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41043 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41044 $as_echo_n "(cached) " >&6
41045 else
41046
41047
41048 ac_ext=cpp
41049 ac_cpp='$CXXCPP $CPPFLAGS'
41050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41053
41054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41055 /* end confdefs.h. */
41056 #include <math.h>
41057 int
41058 main ()
41059 {
41060 _modf(0, 0);
41061 ;
41062 return 0;
41063 }
41064 _ACEOF
41065 if ac_fn_cxx_try_compile "$LINENO"; then :
41066 glibcxx_cv_func__modf_use=yes
41067 else
41068 glibcxx_cv_func__modf_use=no
41069 fi
41070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41071 ac_ext=c
41072 ac_cpp='$CPP $CPPFLAGS'
41073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41076
41077
41078 fi
41079
41080 fi
41081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41082 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41083
41084 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41085 for ac_func in _modf
41086 do :
41087 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41088 if test "x$ac_cv_func__modf" = x""yes; then :
41089 cat >>confdefs.h <<_ACEOF
41090 #define HAVE__MODF 1
41091 _ACEOF
41092
41093 fi
41094 done
41095
41096 fi
41097 fi
41098
41099
41100
41101
41102
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41104 $as_echo_n "checking for powf declaration... " >&6; }
41105 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41106 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41107 $as_echo_n "(cached) " >&6
41108 else
41109
41110
41111 ac_ext=cpp
41112 ac_cpp='$CXXCPP $CPPFLAGS'
41113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41116
41117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118 /* end confdefs.h. */
41119 #include <math.h>
41120 int
41121 main ()
41122 {
41123 powf(0, 0);
41124 ;
41125 return 0;
41126 }
41127 _ACEOF
41128 if ac_fn_cxx_try_compile "$LINENO"; then :
41129 glibcxx_cv_func_powf_use=yes
41130 else
41131 glibcxx_cv_func_powf_use=no
41132 fi
41133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41134 ac_ext=c
41135 ac_cpp='$CPP $CPPFLAGS'
41136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41139
41140
41141 fi
41142
41143 fi
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41145 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41146
41147 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41148 for ac_func in powf
41149 do :
41150 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41151 if test "x$ac_cv_func_powf" = x""yes; then :
41152 cat >>confdefs.h <<_ACEOF
41153 #define HAVE_POWF 1
41154 _ACEOF
41155
41156 fi
41157 done
41158
41159 else
41160
41161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41162 $as_echo_n "checking for _powf declaration... " >&6; }
41163 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41164 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41165 $as_echo_n "(cached) " >&6
41166 else
41167
41168
41169 ac_ext=cpp
41170 ac_cpp='$CXXCPP $CPPFLAGS'
41171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41174
41175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41176 /* end confdefs.h. */
41177 #include <math.h>
41178 int
41179 main ()
41180 {
41181 _powf(0, 0);
41182 ;
41183 return 0;
41184 }
41185 _ACEOF
41186 if ac_fn_cxx_try_compile "$LINENO"; then :
41187 glibcxx_cv_func__powf_use=yes
41188 else
41189 glibcxx_cv_func__powf_use=no
41190 fi
41191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41192 ac_ext=c
41193 ac_cpp='$CPP $CPPFLAGS'
41194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41197
41198
41199 fi
41200
41201 fi
41202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41203 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41204
41205 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41206 for ac_func in _powf
41207 do :
41208 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41209 if test "x$ac_cv_func__powf" = x""yes; then :
41210 cat >>confdefs.h <<_ACEOF
41211 #define HAVE__POWF 1
41212 _ACEOF
41213
41214 fi
41215 done
41216
41217 fi
41218 fi
41219
41220
41221
41222
41223
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41225 $as_echo_n "checking for sqrtf declaration... " >&6; }
41226 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41227 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41228 $as_echo_n "(cached) " >&6
41229 else
41230
41231
41232 ac_ext=cpp
41233 ac_cpp='$CXXCPP $CPPFLAGS'
41234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41237
41238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41239 /* end confdefs.h. */
41240 #include <math.h>
41241 #ifdef HAVE_IEEEFP_H
41242 #include <ieeefp.h>
41243 #endif
41244
41245 int
41246 main ()
41247 {
41248 sqrtf(0);
41249 ;
41250 return 0;
41251 }
41252 _ACEOF
41253 if ac_fn_cxx_try_compile "$LINENO"; then :
41254 glibcxx_cv_func_sqrtf_use=yes
41255 else
41256 glibcxx_cv_func_sqrtf_use=no
41257 fi
41258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41259 ac_ext=c
41260 ac_cpp='$CPP $CPPFLAGS'
41261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41264
41265
41266 fi
41267
41268 fi
41269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41270 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41271
41272 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41273 for ac_func in sqrtf
41274 do :
41275 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41276 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41277 cat >>confdefs.h <<_ACEOF
41278 #define HAVE_SQRTF 1
41279 _ACEOF
41280
41281 fi
41282 done
41283
41284 else
41285
41286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41287 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41288 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41289 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41290 $as_echo_n "(cached) " >&6
41291 else
41292
41293
41294 ac_ext=cpp
41295 ac_cpp='$CXXCPP $CPPFLAGS'
41296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41299
41300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41301 /* end confdefs.h. */
41302 #include <math.h>
41303 #ifdef HAVE_IEEEFP_H
41304 #include <ieeefp.h>
41305 #endif
41306
41307 int
41308 main ()
41309 {
41310 _sqrtf(0);
41311 ;
41312 return 0;
41313 }
41314 _ACEOF
41315 if ac_fn_cxx_try_compile "$LINENO"; then :
41316 glibcxx_cv_func__sqrtf_use=yes
41317 else
41318 glibcxx_cv_func__sqrtf_use=no
41319 fi
41320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41321 ac_ext=c
41322 ac_cpp='$CPP $CPPFLAGS'
41323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41326
41327
41328 fi
41329
41330 fi
41331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41332 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41333
41334 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41335 for ac_func in _sqrtf
41336 do :
41337 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41338 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41339 cat >>confdefs.h <<_ACEOF
41340 #define HAVE__SQRTF 1
41341 _ACEOF
41342
41343 fi
41344 done
41345
41346 fi
41347 fi
41348
41349
41350
41351
41352
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41354 $as_echo_n "checking for sincosf declaration... " >&6; }
41355 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41356 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41357 $as_echo_n "(cached) " >&6
41358 else
41359
41360
41361 ac_ext=cpp
41362 ac_cpp='$CXXCPP $CPPFLAGS'
41363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41366
41367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41368 /* end confdefs.h. */
41369 #include <math.h>
41370 int
41371 main ()
41372 {
41373 sincosf(0, 0, 0);
41374 ;
41375 return 0;
41376 }
41377 _ACEOF
41378 if ac_fn_cxx_try_compile "$LINENO"; then :
41379 glibcxx_cv_func_sincosf_use=yes
41380 else
41381 glibcxx_cv_func_sincosf_use=no
41382 fi
41383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41384 ac_ext=c
41385 ac_cpp='$CPP $CPPFLAGS'
41386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41389
41390
41391 fi
41392
41393 fi
41394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41395 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41396
41397 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41398 for ac_func in sincosf
41399 do :
41400 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41401 if test "x$ac_cv_func_sincosf" = x""yes; then :
41402 cat >>confdefs.h <<_ACEOF
41403 #define HAVE_SINCOSF 1
41404 _ACEOF
41405
41406 fi
41407 done
41408
41409 else
41410
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41412 $as_echo_n "checking for _sincosf declaration... " >&6; }
41413 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41414 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41415 $as_echo_n "(cached) " >&6
41416 else
41417
41418
41419 ac_ext=cpp
41420 ac_cpp='$CXXCPP $CPPFLAGS'
41421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41424
41425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41426 /* end confdefs.h. */
41427 #include <math.h>
41428 int
41429 main ()
41430 {
41431 _sincosf(0, 0, 0);
41432 ;
41433 return 0;
41434 }
41435 _ACEOF
41436 if ac_fn_cxx_try_compile "$LINENO"; then :
41437 glibcxx_cv_func__sincosf_use=yes
41438 else
41439 glibcxx_cv_func__sincosf_use=no
41440 fi
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442 ac_ext=c
41443 ac_cpp='$CPP $CPPFLAGS'
41444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41447
41448
41449 fi
41450
41451 fi
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41453 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41454
41455 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41456 for ac_func in _sincosf
41457 do :
41458 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41459 if test "x$ac_cv_func__sincosf" = x""yes; then :
41460 cat >>confdefs.h <<_ACEOF
41461 #define HAVE__SINCOSF 1
41462 _ACEOF
41463
41464 fi
41465 done
41466
41467 fi
41468 fi
41469
41470
41471
41472
41473
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41475 $as_echo_n "checking for finitef declaration... " >&6; }
41476 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41477 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41478 $as_echo_n "(cached) " >&6
41479 else
41480
41481
41482 ac_ext=cpp
41483 ac_cpp='$CXXCPP $CPPFLAGS'
41484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41487
41488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41489 /* end confdefs.h. */
41490 #include <math.h>
41491 #ifdef HAVE_IEEEFP_H
41492 #include <ieeefp.h>
41493 #endif
41494
41495 int
41496 main ()
41497 {
41498 finitef(0);
41499 ;
41500 return 0;
41501 }
41502 _ACEOF
41503 if ac_fn_cxx_try_compile "$LINENO"; then :
41504 glibcxx_cv_func_finitef_use=yes
41505 else
41506 glibcxx_cv_func_finitef_use=no
41507 fi
41508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41509 ac_ext=c
41510 ac_cpp='$CPP $CPPFLAGS'
41511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41514
41515
41516 fi
41517
41518 fi
41519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41520 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41521
41522 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41523 for ac_func in finitef
41524 do :
41525 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41526 if test "x$ac_cv_func_finitef" = x""yes; then :
41527 cat >>confdefs.h <<_ACEOF
41528 #define HAVE_FINITEF 1
41529 _ACEOF
41530
41531 fi
41532 done
41533
41534 else
41535
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41537 $as_echo_n "checking for _finitef declaration... " >&6; }
41538 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41539 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41540 $as_echo_n "(cached) " >&6
41541 else
41542
41543
41544 ac_ext=cpp
41545 ac_cpp='$CXXCPP $CPPFLAGS'
41546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41549
41550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41551 /* end confdefs.h. */
41552 #include <math.h>
41553 #ifdef HAVE_IEEEFP_H
41554 #include <ieeefp.h>
41555 #endif
41556
41557 int
41558 main ()
41559 {
41560 _finitef(0);
41561 ;
41562 return 0;
41563 }
41564 _ACEOF
41565 if ac_fn_cxx_try_compile "$LINENO"; then :
41566 glibcxx_cv_func__finitef_use=yes
41567 else
41568 glibcxx_cv_func__finitef_use=no
41569 fi
41570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41571 ac_ext=c
41572 ac_cpp='$CPP $CPPFLAGS'
41573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41576
41577
41578 fi
41579
41580 fi
41581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41582 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41583
41584 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41585 for ac_func in _finitef
41586 do :
41587 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41588 if test "x$ac_cv_func__finitef" = x""yes; then :
41589 cat >>confdefs.h <<_ACEOF
41590 #define HAVE__FINITEF 1
41591 _ACEOF
41592
41593 fi
41594 done
41595
41596 fi
41597 fi
41598
41599
41600
41601
41602
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41604 $as_echo_n "checking for long double trig functions... " >&6; }
41605 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41606 $as_echo_n "(cached) " >&6
41607 else
41608
41609
41610 ac_ext=cpp
41611 ac_cpp='$CXXCPP $CPPFLAGS'
41612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41615
41616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41617 /* end confdefs.h. */
41618 #include <math.h>
41619 int
41620 main ()
41621 {
41622 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41623 ;
41624 return 0;
41625 }
41626 _ACEOF
41627 if ac_fn_cxx_try_compile "$LINENO"; then :
41628 glibcxx_cv_func_long_double_trig_use=yes
41629 else
41630 glibcxx_cv_func_long_double_trig_use=no
41631 fi
41632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41633 ac_ext=c
41634 ac_cpp='$CPP $CPPFLAGS'
41635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41638
41639 fi
41640
41641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41642 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41643 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41644 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41645 do :
41646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41648 eval as_val=\$$as_ac_var
41649 if test "x$as_val" = x""yes; then :
41650 cat >>confdefs.h <<_ACEOF
41651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41652 _ACEOF
41653
41654 fi
41655 done
41656
41657 else
41658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41659 $as_echo_n "checking for _long double trig functions... " >&6; }
41660 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41661 $as_echo_n "(cached) " >&6
41662 else
41663
41664
41665 ac_ext=cpp
41666 ac_cpp='$CXXCPP $CPPFLAGS'
41667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41670
41671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41672 /* end confdefs.h. */
41673 #include <math.h>
41674 int
41675 main ()
41676 {
41677 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41678 ;
41679 return 0;
41680 }
41681 _ACEOF
41682 if ac_fn_cxx_try_compile "$LINENO"; then :
41683 glibcxx_cv_func__long_double_trig_use=yes
41684 else
41685 glibcxx_cv_func__long_double_trig_use=no
41686 fi
41687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41688 ac_ext=c
41689 ac_cpp='$CPP $CPPFLAGS'
41690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41693
41694 fi
41695
41696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41697 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41698 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41699 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41700 do :
41701 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41703 eval as_val=\$$as_ac_var
41704 if test "x$as_val" = x""yes; then :
41705 cat >>confdefs.h <<_ACEOF
41706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41707 _ACEOF
41708
41709 fi
41710 done
41711
41712 fi
41713 fi
41714
41715
41716
41717
41718
41719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41720 $as_echo_n "checking for long double round functions... " >&6; }
41721 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41722 $as_echo_n "(cached) " >&6
41723 else
41724
41725
41726 ac_ext=cpp
41727 ac_cpp='$CXXCPP $CPPFLAGS'
41728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41731
41732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41733 /* end confdefs.h. */
41734 #include <math.h>
41735 int
41736 main ()
41737 {
41738 ceill (0); floorl (0);
41739 ;
41740 return 0;
41741 }
41742 _ACEOF
41743 if ac_fn_cxx_try_compile "$LINENO"; then :
41744 glibcxx_cv_func_long_double_round_use=yes
41745 else
41746 glibcxx_cv_func_long_double_round_use=no
41747 fi
41748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41749 ac_ext=c
41750 ac_cpp='$CPP $CPPFLAGS'
41751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41754
41755 fi
41756
41757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41758 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41759 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41760 for ac_func in ceill floorl
41761 do :
41762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41764 eval as_val=\$$as_ac_var
41765 if test "x$as_val" = x""yes; then :
41766 cat >>confdefs.h <<_ACEOF
41767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41768 _ACEOF
41769
41770 fi
41771 done
41772
41773 else
41774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41775 $as_echo_n "checking for _long double round functions... " >&6; }
41776 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41777 $as_echo_n "(cached) " >&6
41778 else
41779
41780
41781 ac_ext=cpp
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41786
41787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41788 /* end confdefs.h. */
41789 #include <math.h>
41790 int
41791 main ()
41792 {
41793 _ceill (0); _floorl (0);
41794 ;
41795 return 0;
41796 }
41797 _ACEOF
41798 if ac_fn_cxx_try_compile "$LINENO"; then :
41799 glibcxx_cv_func__long_double_round_use=yes
41800 else
41801 glibcxx_cv_func__long_double_round_use=no
41802 fi
41803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41804 ac_ext=c
41805 ac_cpp='$CPP $CPPFLAGS'
41806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41809
41810 fi
41811
41812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41813 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41814 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41815 for ac_func in _ceill _floorl
41816 do :
41817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41819 eval as_val=\$$as_ac_var
41820 if test "x$as_val" = x""yes; then :
41821 cat >>confdefs.h <<_ACEOF
41822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41823 _ACEOF
41824
41825 fi
41826 done
41827
41828 fi
41829 fi
41830
41831
41832
41833
41834
41835
41836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41837 $as_echo_n "checking for isnanl declaration... " >&6; }
41838 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41839 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41840 $as_echo_n "(cached) " >&6
41841 else
41842
41843
41844 ac_ext=cpp
41845 ac_cpp='$CXXCPP $CPPFLAGS'
41846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41849
41850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41851 /* end confdefs.h. */
41852 #include <math.h>
41853 #ifdef HAVE_IEEEFP_H
41854 #include <ieeefp.h>
41855 #endif
41856
41857 int
41858 main ()
41859 {
41860 isnanl(0);
41861 ;
41862 return 0;
41863 }
41864 _ACEOF
41865 if ac_fn_cxx_try_compile "$LINENO"; then :
41866 glibcxx_cv_func_isnanl_use=yes
41867 else
41868 glibcxx_cv_func_isnanl_use=no
41869 fi
41870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41871 ac_ext=c
41872 ac_cpp='$CPP $CPPFLAGS'
41873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41876
41877
41878 fi
41879
41880 fi
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41882 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41883
41884 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41885 for ac_func in isnanl
41886 do :
41887 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41888 if test "x$ac_cv_func_isnanl" = x""yes; then :
41889 cat >>confdefs.h <<_ACEOF
41890 #define HAVE_ISNANL 1
41891 _ACEOF
41892
41893 fi
41894 done
41895
41896 else
41897
41898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41899 $as_echo_n "checking for _isnanl declaration... " >&6; }
41900 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41901 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41902 $as_echo_n "(cached) " >&6
41903 else
41904
41905
41906 ac_ext=cpp
41907 ac_cpp='$CXXCPP $CPPFLAGS'
41908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41911
41912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41913 /* end confdefs.h. */
41914 #include <math.h>
41915 #ifdef HAVE_IEEEFP_H
41916 #include <ieeefp.h>
41917 #endif
41918
41919 int
41920 main ()
41921 {
41922 _isnanl(0);
41923 ;
41924 return 0;
41925 }
41926 _ACEOF
41927 if ac_fn_cxx_try_compile "$LINENO"; then :
41928 glibcxx_cv_func__isnanl_use=yes
41929 else
41930 glibcxx_cv_func__isnanl_use=no
41931 fi
41932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41933 ac_ext=c
41934 ac_cpp='$CPP $CPPFLAGS'
41935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41938
41939
41940 fi
41941
41942 fi
41943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41944 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41945
41946 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41947 for ac_func in _isnanl
41948 do :
41949 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41950 if test "x$ac_cv_func__isnanl" = x""yes; then :
41951 cat >>confdefs.h <<_ACEOF
41952 #define HAVE__ISNANL 1
41953 _ACEOF
41954
41955 fi
41956 done
41957
41958 fi
41959 fi
41960
41961
41962
41963
41964
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41966 $as_echo_n "checking for isinfl declaration... " >&6; }
41967 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41968 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41969 $as_echo_n "(cached) " >&6
41970 else
41971
41972
41973 ac_ext=cpp
41974 ac_cpp='$CXXCPP $CPPFLAGS'
41975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41978
41979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41980 /* end confdefs.h. */
41981 #include <math.h>
41982 #ifdef HAVE_IEEEFP_H
41983 #include <ieeefp.h>
41984 #endif
41985
41986 int
41987 main ()
41988 {
41989 isinfl(0);
41990 ;
41991 return 0;
41992 }
41993 _ACEOF
41994 if ac_fn_cxx_try_compile "$LINENO"; then :
41995 glibcxx_cv_func_isinfl_use=yes
41996 else
41997 glibcxx_cv_func_isinfl_use=no
41998 fi
41999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42000 ac_ext=c
42001 ac_cpp='$CPP $CPPFLAGS'
42002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42005
42006
42007 fi
42008
42009 fi
42010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42011 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42012
42013 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42014 for ac_func in isinfl
42015 do :
42016 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42017 if test "x$ac_cv_func_isinfl" = x""yes; then :
42018 cat >>confdefs.h <<_ACEOF
42019 #define HAVE_ISINFL 1
42020 _ACEOF
42021
42022 fi
42023 done
42024
42025 else
42026
42027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42028 $as_echo_n "checking for _isinfl declaration... " >&6; }
42029 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42030 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42031 $as_echo_n "(cached) " >&6
42032 else
42033
42034
42035 ac_ext=cpp
42036 ac_cpp='$CXXCPP $CPPFLAGS'
42037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42040
42041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42042 /* end confdefs.h. */
42043 #include <math.h>
42044 #ifdef HAVE_IEEEFP_H
42045 #include <ieeefp.h>
42046 #endif
42047
42048 int
42049 main ()
42050 {
42051 _isinfl(0);
42052 ;
42053 return 0;
42054 }
42055 _ACEOF
42056 if ac_fn_cxx_try_compile "$LINENO"; then :
42057 glibcxx_cv_func__isinfl_use=yes
42058 else
42059 glibcxx_cv_func__isinfl_use=no
42060 fi
42061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42062 ac_ext=c
42063 ac_cpp='$CPP $CPPFLAGS'
42064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42067
42068
42069 fi
42070
42071 fi
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42073 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42074
42075 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42076 for ac_func in _isinfl
42077 do :
42078 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42079 if test "x$ac_cv_func__isinfl" = x""yes; then :
42080 cat >>confdefs.h <<_ACEOF
42081 #define HAVE__ISINFL 1
42082 _ACEOF
42083
42084 fi
42085 done
42086
42087 fi
42088 fi
42089
42090
42091
42092
42093
42094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42095 $as_echo_n "checking for atan2l declaration... " >&6; }
42096 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42097 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42098 $as_echo_n "(cached) " >&6
42099 else
42100
42101
42102 ac_ext=cpp
42103 ac_cpp='$CXXCPP $CPPFLAGS'
42104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42107
42108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42109 /* end confdefs.h. */
42110 #include <math.h>
42111 int
42112 main ()
42113 {
42114 atan2l(0, 0);
42115 ;
42116 return 0;
42117 }
42118 _ACEOF
42119 if ac_fn_cxx_try_compile "$LINENO"; then :
42120 glibcxx_cv_func_atan2l_use=yes
42121 else
42122 glibcxx_cv_func_atan2l_use=no
42123 fi
42124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42125 ac_ext=c
42126 ac_cpp='$CPP $CPPFLAGS'
42127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42130
42131
42132 fi
42133
42134 fi
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42136 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42137
42138 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42139 for ac_func in atan2l
42140 do :
42141 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42142 if test "x$ac_cv_func_atan2l" = x""yes; then :
42143 cat >>confdefs.h <<_ACEOF
42144 #define HAVE_ATAN2L 1
42145 _ACEOF
42146
42147 fi
42148 done
42149
42150 else
42151
42152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42153 $as_echo_n "checking for _atan2l declaration... " >&6; }
42154 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42155 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42156 $as_echo_n "(cached) " >&6
42157 else
42158
42159
42160 ac_ext=cpp
42161 ac_cpp='$CXXCPP $CPPFLAGS'
42162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42165
42166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42167 /* end confdefs.h. */
42168 #include <math.h>
42169 int
42170 main ()
42171 {
42172 _atan2l(0, 0);
42173 ;
42174 return 0;
42175 }
42176 _ACEOF
42177 if ac_fn_cxx_try_compile "$LINENO"; then :
42178 glibcxx_cv_func__atan2l_use=yes
42179 else
42180 glibcxx_cv_func__atan2l_use=no
42181 fi
42182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42183 ac_ext=c
42184 ac_cpp='$CPP $CPPFLAGS'
42185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42188
42189
42190 fi
42191
42192 fi
42193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42194 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42195
42196 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42197 for ac_func in _atan2l
42198 do :
42199 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42200 if test "x$ac_cv_func__atan2l" = x""yes; then :
42201 cat >>confdefs.h <<_ACEOF
42202 #define HAVE__ATAN2L 1
42203 _ACEOF
42204
42205 fi
42206 done
42207
42208 fi
42209 fi
42210
42211
42212
42213
42214
42215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42216 $as_echo_n "checking for expl declaration... " >&6; }
42217 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42218 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42219 $as_echo_n "(cached) " >&6
42220 else
42221
42222
42223 ac_ext=cpp
42224 ac_cpp='$CXXCPP $CPPFLAGS'
42225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42228
42229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42230 /* end confdefs.h. */
42231 #include <math.h>
42232 #ifdef HAVE_IEEEFP_H
42233 #include <ieeefp.h>
42234 #endif
42235
42236 int
42237 main ()
42238 {
42239 expl(0);
42240 ;
42241 return 0;
42242 }
42243 _ACEOF
42244 if ac_fn_cxx_try_compile "$LINENO"; then :
42245 glibcxx_cv_func_expl_use=yes
42246 else
42247 glibcxx_cv_func_expl_use=no
42248 fi
42249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42250 ac_ext=c
42251 ac_cpp='$CPP $CPPFLAGS'
42252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42255
42256
42257 fi
42258
42259 fi
42260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42261 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42262
42263 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42264 for ac_func in expl
42265 do :
42266 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42267 if test "x$ac_cv_func_expl" = x""yes; then :
42268 cat >>confdefs.h <<_ACEOF
42269 #define HAVE_EXPL 1
42270 _ACEOF
42271
42272 fi
42273 done
42274
42275 else
42276
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42278 $as_echo_n "checking for _expl declaration... " >&6; }
42279 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42280 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42281 $as_echo_n "(cached) " >&6
42282 else
42283
42284
42285 ac_ext=cpp
42286 ac_cpp='$CXXCPP $CPPFLAGS'
42287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42290
42291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42292 /* end confdefs.h. */
42293 #include <math.h>
42294 #ifdef HAVE_IEEEFP_H
42295 #include <ieeefp.h>
42296 #endif
42297
42298 int
42299 main ()
42300 {
42301 _expl(0);
42302 ;
42303 return 0;
42304 }
42305 _ACEOF
42306 if ac_fn_cxx_try_compile "$LINENO"; then :
42307 glibcxx_cv_func__expl_use=yes
42308 else
42309 glibcxx_cv_func__expl_use=no
42310 fi
42311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42312 ac_ext=c
42313 ac_cpp='$CPP $CPPFLAGS'
42314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42317
42318
42319 fi
42320
42321 fi
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42323 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42324
42325 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42326 for ac_func in _expl
42327 do :
42328 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42329 if test "x$ac_cv_func__expl" = x""yes; then :
42330 cat >>confdefs.h <<_ACEOF
42331 #define HAVE__EXPL 1
42332 _ACEOF
42333
42334 fi
42335 done
42336
42337 fi
42338 fi
42339
42340
42341
42342
42343
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42345 $as_echo_n "checking for fabsl declaration... " >&6; }
42346 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42347 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42348 $as_echo_n "(cached) " >&6
42349 else
42350
42351
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42357
42358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h. */
42360 #include <math.h>
42361 #ifdef HAVE_IEEEFP_H
42362 #include <ieeefp.h>
42363 #endif
42364
42365 int
42366 main ()
42367 {
42368 fabsl(0);
42369 ;
42370 return 0;
42371 }
42372 _ACEOF
42373 if ac_fn_cxx_try_compile "$LINENO"; then :
42374 glibcxx_cv_func_fabsl_use=yes
42375 else
42376 glibcxx_cv_func_fabsl_use=no
42377 fi
42378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42379 ac_ext=c
42380 ac_cpp='$CPP $CPPFLAGS'
42381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42384
42385
42386 fi
42387
42388 fi
42389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42390 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42391
42392 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42393 for ac_func in fabsl
42394 do :
42395 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42396 if test "x$ac_cv_func_fabsl" = x""yes; then :
42397 cat >>confdefs.h <<_ACEOF
42398 #define HAVE_FABSL 1
42399 _ACEOF
42400
42401 fi
42402 done
42403
42404 else
42405
42406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42407 $as_echo_n "checking for _fabsl declaration... " >&6; }
42408 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42409 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42410 $as_echo_n "(cached) " >&6
42411 else
42412
42413
42414 ac_ext=cpp
42415 ac_cpp='$CXXCPP $CPPFLAGS'
42416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42419
42420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42421 /* end confdefs.h. */
42422 #include <math.h>
42423 #ifdef HAVE_IEEEFP_H
42424 #include <ieeefp.h>
42425 #endif
42426
42427 int
42428 main ()
42429 {
42430 _fabsl(0);
42431 ;
42432 return 0;
42433 }
42434 _ACEOF
42435 if ac_fn_cxx_try_compile "$LINENO"; then :
42436 glibcxx_cv_func__fabsl_use=yes
42437 else
42438 glibcxx_cv_func__fabsl_use=no
42439 fi
42440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42441 ac_ext=c
42442 ac_cpp='$CPP $CPPFLAGS'
42443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42446
42447
42448 fi
42449
42450 fi
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42452 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42453
42454 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42455 for ac_func in _fabsl
42456 do :
42457 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42458 if test "x$ac_cv_func__fabsl" = x""yes; then :
42459 cat >>confdefs.h <<_ACEOF
42460 #define HAVE__FABSL 1
42461 _ACEOF
42462
42463 fi
42464 done
42465
42466 fi
42467 fi
42468
42469
42470
42471
42472
42473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42474 $as_echo_n "checking for fmodl declaration... " >&6; }
42475 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42476 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42477 $as_echo_n "(cached) " >&6
42478 else
42479
42480
42481 ac_ext=cpp
42482 ac_cpp='$CXXCPP $CPPFLAGS'
42483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42486
42487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42488 /* end confdefs.h. */
42489 #include <math.h>
42490 int
42491 main ()
42492 {
42493 fmodl(0, 0);
42494 ;
42495 return 0;
42496 }
42497 _ACEOF
42498 if ac_fn_cxx_try_compile "$LINENO"; then :
42499 glibcxx_cv_func_fmodl_use=yes
42500 else
42501 glibcxx_cv_func_fmodl_use=no
42502 fi
42503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42504 ac_ext=c
42505 ac_cpp='$CPP $CPPFLAGS'
42506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42509
42510
42511 fi
42512
42513 fi
42514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42515 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42516
42517 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42518 for ac_func in fmodl
42519 do :
42520 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42521 if test "x$ac_cv_func_fmodl" = x""yes; then :
42522 cat >>confdefs.h <<_ACEOF
42523 #define HAVE_FMODL 1
42524 _ACEOF
42525
42526 fi
42527 done
42528
42529 else
42530
42531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42532 $as_echo_n "checking for _fmodl declaration... " >&6; }
42533 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42534 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42535 $as_echo_n "(cached) " >&6
42536 else
42537
42538
42539 ac_ext=cpp
42540 ac_cpp='$CXXCPP $CPPFLAGS'
42541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42544
42545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42546 /* end confdefs.h. */
42547 #include <math.h>
42548 int
42549 main ()
42550 {
42551 _fmodl(0, 0);
42552 ;
42553 return 0;
42554 }
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557 glibcxx_cv_func__fmodl_use=yes
42558 else
42559 glibcxx_cv_func__fmodl_use=no
42560 fi
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42567
42568
42569 fi
42570
42571 fi
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42573 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42574
42575 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42576 for ac_func in _fmodl
42577 do :
42578 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42579 if test "x$ac_cv_func__fmodl" = x""yes; then :
42580 cat >>confdefs.h <<_ACEOF
42581 #define HAVE__FMODL 1
42582 _ACEOF
42583
42584 fi
42585 done
42586
42587 fi
42588 fi
42589
42590
42591
42592
42593
42594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42595 $as_echo_n "checking for frexpl declaration... " >&6; }
42596 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42597 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42598 $as_echo_n "(cached) " >&6
42599 else
42600
42601
42602 ac_ext=cpp
42603 ac_cpp='$CXXCPP $CPPFLAGS'
42604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42607
42608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42609 /* end confdefs.h. */
42610 #include <math.h>
42611 int
42612 main ()
42613 {
42614 frexpl(0, 0);
42615 ;
42616 return 0;
42617 }
42618 _ACEOF
42619 if ac_fn_cxx_try_compile "$LINENO"; then :
42620 glibcxx_cv_func_frexpl_use=yes
42621 else
42622 glibcxx_cv_func_frexpl_use=no
42623 fi
42624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42625 ac_ext=c
42626 ac_cpp='$CPP $CPPFLAGS'
42627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42630
42631
42632 fi
42633
42634 fi
42635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42636 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42637
42638 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42639 for ac_func in frexpl
42640 do :
42641 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42642 if test "x$ac_cv_func_frexpl" = x""yes; then :
42643 cat >>confdefs.h <<_ACEOF
42644 #define HAVE_FREXPL 1
42645 _ACEOF
42646
42647 fi
42648 done
42649
42650 else
42651
42652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42653 $as_echo_n "checking for _frexpl declaration... " >&6; }
42654 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42655 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42656 $as_echo_n "(cached) " >&6
42657 else
42658
42659
42660 ac_ext=cpp
42661 ac_cpp='$CXXCPP $CPPFLAGS'
42662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42665
42666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667 /* end confdefs.h. */
42668 #include <math.h>
42669 int
42670 main ()
42671 {
42672 _frexpl(0, 0);
42673 ;
42674 return 0;
42675 }
42676 _ACEOF
42677 if ac_fn_cxx_try_compile "$LINENO"; then :
42678 glibcxx_cv_func__frexpl_use=yes
42679 else
42680 glibcxx_cv_func__frexpl_use=no
42681 fi
42682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42683 ac_ext=c
42684 ac_cpp='$CPP $CPPFLAGS'
42685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42688
42689
42690 fi
42691
42692 fi
42693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42694 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42695
42696 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42697 for ac_func in _frexpl
42698 do :
42699 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42700 if test "x$ac_cv_func__frexpl" = x""yes; then :
42701 cat >>confdefs.h <<_ACEOF
42702 #define HAVE__FREXPL 1
42703 _ACEOF
42704
42705 fi
42706 done
42707
42708 fi
42709 fi
42710
42711
42712
42713
42714
42715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42716 $as_echo_n "checking for hypotl declaration... " >&6; }
42717 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42718 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42719 $as_echo_n "(cached) " >&6
42720 else
42721
42722
42723 ac_ext=cpp
42724 ac_cpp='$CXXCPP $CPPFLAGS'
42725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42728
42729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42730 /* end confdefs.h. */
42731 #include <math.h>
42732 int
42733 main ()
42734 {
42735 hypotl(0, 0);
42736 ;
42737 return 0;
42738 }
42739 _ACEOF
42740 if ac_fn_cxx_try_compile "$LINENO"; then :
42741 glibcxx_cv_func_hypotl_use=yes
42742 else
42743 glibcxx_cv_func_hypotl_use=no
42744 fi
42745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42746 ac_ext=c
42747 ac_cpp='$CPP $CPPFLAGS'
42748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42751
42752
42753 fi
42754
42755 fi
42756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42757 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42758
42759 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42760 for ac_func in hypotl
42761 do :
42762 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42763 if test "x$ac_cv_func_hypotl" = x""yes; then :
42764 cat >>confdefs.h <<_ACEOF
42765 #define HAVE_HYPOTL 1
42766 _ACEOF
42767
42768 fi
42769 done
42770
42771 else
42772
42773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42774 $as_echo_n "checking for _hypotl declaration... " >&6; }
42775 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42776 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42777 $as_echo_n "(cached) " >&6
42778 else
42779
42780
42781 ac_ext=cpp
42782 ac_cpp='$CXXCPP $CPPFLAGS'
42783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42786
42787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42788 /* end confdefs.h. */
42789 #include <math.h>
42790 int
42791 main ()
42792 {
42793 _hypotl(0, 0);
42794 ;
42795 return 0;
42796 }
42797 _ACEOF
42798 if ac_fn_cxx_try_compile "$LINENO"; then :
42799 glibcxx_cv_func__hypotl_use=yes
42800 else
42801 glibcxx_cv_func__hypotl_use=no
42802 fi
42803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42804 ac_ext=c
42805 ac_cpp='$CPP $CPPFLAGS'
42806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42809
42810
42811 fi
42812
42813 fi
42814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42815 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42816
42817 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42818 for ac_func in _hypotl
42819 do :
42820 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42821 if test "x$ac_cv_func__hypotl" = x""yes; then :
42822 cat >>confdefs.h <<_ACEOF
42823 #define HAVE__HYPOTL 1
42824 _ACEOF
42825
42826 fi
42827 done
42828
42829 fi
42830 fi
42831
42832
42833
42834
42835
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42837 $as_echo_n "checking for ldexpl declaration... " >&6; }
42838 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42839 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42840 $as_echo_n "(cached) " >&6
42841 else
42842
42843
42844 ac_ext=cpp
42845 ac_cpp='$CXXCPP $CPPFLAGS'
42846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42849
42850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42851 /* end confdefs.h. */
42852 #include <math.h>
42853 int
42854 main ()
42855 {
42856 ldexpl(0, 0);
42857 ;
42858 return 0;
42859 }
42860 _ACEOF
42861 if ac_fn_cxx_try_compile "$LINENO"; then :
42862 glibcxx_cv_func_ldexpl_use=yes
42863 else
42864 glibcxx_cv_func_ldexpl_use=no
42865 fi
42866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42867 ac_ext=c
42868 ac_cpp='$CPP $CPPFLAGS'
42869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42872
42873
42874 fi
42875
42876 fi
42877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42878 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42879
42880 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42881 for ac_func in ldexpl
42882 do :
42883 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42884 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42885 cat >>confdefs.h <<_ACEOF
42886 #define HAVE_LDEXPL 1
42887 _ACEOF
42888
42889 fi
42890 done
42891
42892 else
42893
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42895 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42896 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42897 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42898 $as_echo_n "(cached) " >&6
42899 else
42900
42901
42902 ac_ext=cpp
42903 ac_cpp='$CXXCPP $CPPFLAGS'
42904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42907
42908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42909 /* end confdefs.h. */
42910 #include <math.h>
42911 int
42912 main ()
42913 {
42914 _ldexpl(0, 0);
42915 ;
42916 return 0;
42917 }
42918 _ACEOF
42919 if ac_fn_cxx_try_compile "$LINENO"; then :
42920 glibcxx_cv_func__ldexpl_use=yes
42921 else
42922 glibcxx_cv_func__ldexpl_use=no
42923 fi
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925 ac_ext=c
42926 ac_cpp='$CPP $CPPFLAGS'
42927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42930
42931
42932 fi
42933
42934 fi
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42936 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42937
42938 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42939 for ac_func in _ldexpl
42940 do :
42941 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42942 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42943 cat >>confdefs.h <<_ACEOF
42944 #define HAVE__LDEXPL 1
42945 _ACEOF
42946
42947 fi
42948 done
42949
42950 fi
42951 fi
42952
42953
42954
42955
42956
42957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42958 $as_echo_n "checking for logl declaration... " >&6; }
42959 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42960 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42961 $as_echo_n "(cached) " >&6
42962 else
42963
42964
42965 ac_ext=cpp
42966 ac_cpp='$CXXCPP $CPPFLAGS'
42967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42970
42971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42972 /* end confdefs.h. */
42973 #include <math.h>
42974 #ifdef HAVE_IEEEFP_H
42975 #include <ieeefp.h>
42976 #endif
42977
42978 int
42979 main ()
42980 {
42981 logl(0);
42982 ;
42983 return 0;
42984 }
42985 _ACEOF
42986 if ac_fn_cxx_try_compile "$LINENO"; then :
42987 glibcxx_cv_func_logl_use=yes
42988 else
42989 glibcxx_cv_func_logl_use=no
42990 fi
42991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42992 ac_ext=c
42993 ac_cpp='$CPP $CPPFLAGS'
42994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42997
42998
42999 fi
43000
43001 fi
43002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43003 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43004
43005 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43006 for ac_func in logl
43007 do :
43008 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43009 if test "x$ac_cv_func_logl" = x""yes; then :
43010 cat >>confdefs.h <<_ACEOF
43011 #define HAVE_LOGL 1
43012 _ACEOF
43013
43014 fi
43015 done
43016
43017 else
43018
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43020 $as_echo_n "checking for _logl declaration... " >&6; }
43021 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43022 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43023 $as_echo_n "(cached) " >&6
43024 else
43025
43026
43027 ac_ext=cpp
43028 ac_cpp='$CXXCPP $CPPFLAGS'
43029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43032
43033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43034 /* end confdefs.h. */
43035 #include <math.h>
43036 #ifdef HAVE_IEEEFP_H
43037 #include <ieeefp.h>
43038 #endif
43039
43040 int
43041 main ()
43042 {
43043 _logl(0);
43044 ;
43045 return 0;
43046 }
43047 _ACEOF
43048 if ac_fn_cxx_try_compile "$LINENO"; then :
43049 glibcxx_cv_func__logl_use=yes
43050 else
43051 glibcxx_cv_func__logl_use=no
43052 fi
43053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054 ac_ext=c
43055 ac_cpp='$CPP $CPPFLAGS'
43056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43059
43060
43061 fi
43062
43063 fi
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43065 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43066
43067 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43068 for ac_func in _logl
43069 do :
43070 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43071 if test "x$ac_cv_func__logl" = x""yes; then :
43072 cat >>confdefs.h <<_ACEOF
43073 #define HAVE__LOGL 1
43074 _ACEOF
43075
43076 fi
43077 done
43078
43079 fi
43080 fi
43081
43082
43083
43084
43085
43086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43087 $as_echo_n "checking for log10l declaration... " >&6; }
43088 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43089 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43090 $as_echo_n "(cached) " >&6
43091 else
43092
43093
43094 ac_ext=cpp
43095 ac_cpp='$CXXCPP $CPPFLAGS'
43096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43099
43100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43101 /* end confdefs.h. */
43102 #include <math.h>
43103 #ifdef HAVE_IEEEFP_H
43104 #include <ieeefp.h>
43105 #endif
43106
43107 int
43108 main ()
43109 {
43110 log10l(0);
43111 ;
43112 return 0;
43113 }
43114 _ACEOF
43115 if ac_fn_cxx_try_compile "$LINENO"; then :
43116 glibcxx_cv_func_log10l_use=yes
43117 else
43118 glibcxx_cv_func_log10l_use=no
43119 fi
43120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43121 ac_ext=c
43122 ac_cpp='$CPP $CPPFLAGS'
43123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43126
43127
43128 fi
43129
43130 fi
43131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43132 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43133
43134 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43135 for ac_func in log10l
43136 do :
43137 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43138 if test "x$ac_cv_func_log10l" = x""yes; then :
43139 cat >>confdefs.h <<_ACEOF
43140 #define HAVE_LOG10L 1
43141 _ACEOF
43142
43143 fi
43144 done
43145
43146 else
43147
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43149 $as_echo_n "checking for _log10l declaration... " >&6; }
43150 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43151 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43152 $as_echo_n "(cached) " >&6
43153 else
43154
43155
43156 ac_ext=cpp
43157 ac_cpp='$CXXCPP $CPPFLAGS'
43158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43161
43162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43163 /* end confdefs.h. */
43164 #include <math.h>
43165 #ifdef HAVE_IEEEFP_H
43166 #include <ieeefp.h>
43167 #endif
43168
43169 int
43170 main ()
43171 {
43172 _log10l(0);
43173 ;
43174 return 0;
43175 }
43176 _ACEOF
43177 if ac_fn_cxx_try_compile "$LINENO"; then :
43178 glibcxx_cv_func__log10l_use=yes
43179 else
43180 glibcxx_cv_func__log10l_use=no
43181 fi
43182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43183 ac_ext=c
43184 ac_cpp='$CPP $CPPFLAGS'
43185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43188
43189
43190 fi
43191
43192 fi
43193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43194 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43195
43196 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43197 for ac_func in _log10l
43198 do :
43199 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43200 if test "x$ac_cv_func__log10l" = x""yes; then :
43201 cat >>confdefs.h <<_ACEOF
43202 #define HAVE__LOG10L 1
43203 _ACEOF
43204
43205 fi
43206 done
43207
43208 fi
43209 fi
43210
43211
43212
43213
43214
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43216 $as_echo_n "checking for modfl declaration... " >&6; }
43217 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43218 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43219 $as_echo_n "(cached) " >&6
43220 else
43221
43222
43223 ac_ext=cpp
43224 ac_cpp='$CXXCPP $CPPFLAGS'
43225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43228
43229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43230 /* end confdefs.h. */
43231 #include <math.h>
43232 int
43233 main ()
43234 {
43235 modfl(0, 0);
43236 ;
43237 return 0;
43238 }
43239 _ACEOF
43240 if ac_fn_cxx_try_compile "$LINENO"; then :
43241 glibcxx_cv_func_modfl_use=yes
43242 else
43243 glibcxx_cv_func_modfl_use=no
43244 fi
43245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43246 ac_ext=c
43247 ac_cpp='$CPP $CPPFLAGS'
43248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43251
43252
43253 fi
43254
43255 fi
43256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43257 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43258
43259 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43260 for ac_func in modfl
43261 do :
43262 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43263 if test "x$ac_cv_func_modfl" = x""yes; then :
43264 cat >>confdefs.h <<_ACEOF
43265 #define HAVE_MODFL 1
43266 _ACEOF
43267
43268 fi
43269 done
43270
43271 else
43272
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43274 $as_echo_n "checking for _modfl declaration... " >&6; }
43275 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43276 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43277 $as_echo_n "(cached) " >&6
43278 else
43279
43280
43281 ac_ext=cpp
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43286
43287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43288 /* end confdefs.h. */
43289 #include <math.h>
43290 int
43291 main ()
43292 {
43293 _modfl(0, 0);
43294 ;
43295 return 0;
43296 }
43297 _ACEOF
43298 if ac_fn_cxx_try_compile "$LINENO"; then :
43299 glibcxx_cv_func__modfl_use=yes
43300 else
43301 glibcxx_cv_func__modfl_use=no
43302 fi
43303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43304 ac_ext=c
43305 ac_cpp='$CPP $CPPFLAGS'
43306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43309
43310
43311 fi
43312
43313 fi
43314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43315 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43316
43317 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43318 for ac_func in _modfl
43319 do :
43320 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43321 if test "x$ac_cv_func__modfl" = x""yes; then :
43322 cat >>confdefs.h <<_ACEOF
43323 #define HAVE__MODFL 1
43324 _ACEOF
43325
43326 fi
43327 done
43328
43329 fi
43330 fi
43331
43332
43333
43334
43335
43336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43337 $as_echo_n "checking for powl declaration... " >&6; }
43338 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43339 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43340 $as_echo_n "(cached) " >&6
43341 else
43342
43343
43344 ac_ext=cpp
43345 ac_cpp='$CXXCPP $CPPFLAGS'
43346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43349
43350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43351 /* end confdefs.h. */
43352 #include <math.h>
43353 int
43354 main ()
43355 {
43356 powl(0, 0);
43357 ;
43358 return 0;
43359 }
43360 _ACEOF
43361 if ac_fn_cxx_try_compile "$LINENO"; then :
43362 glibcxx_cv_func_powl_use=yes
43363 else
43364 glibcxx_cv_func_powl_use=no
43365 fi
43366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43367 ac_ext=c
43368 ac_cpp='$CPP $CPPFLAGS'
43369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43372
43373
43374 fi
43375
43376 fi
43377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43378 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43379
43380 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43381 for ac_func in powl
43382 do :
43383 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43384 if test "x$ac_cv_func_powl" = x""yes; then :
43385 cat >>confdefs.h <<_ACEOF
43386 #define HAVE_POWL 1
43387 _ACEOF
43388
43389 fi
43390 done
43391
43392 else
43393
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43395 $as_echo_n "checking for _powl declaration... " >&6; }
43396 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43397 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43398 $as_echo_n "(cached) " >&6
43399 else
43400
43401
43402 ac_ext=cpp
43403 ac_cpp='$CXXCPP $CPPFLAGS'
43404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43407
43408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43409 /* end confdefs.h. */
43410 #include <math.h>
43411 int
43412 main ()
43413 {
43414 _powl(0, 0);
43415 ;
43416 return 0;
43417 }
43418 _ACEOF
43419 if ac_fn_cxx_try_compile "$LINENO"; then :
43420 glibcxx_cv_func__powl_use=yes
43421 else
43422 glibcxx_cv_func__powl_use=no
43423 fi
43424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43425 ac_ext=c
43426 ac_cpp='$CPP $CPPFLAGS'
43427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43430
43431
43432 fi
43433
43434 fi
43435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43436 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43437
43438 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43439 for ac_func in _powl
43440 do :
43441 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43442 if test "x$ac_cv_func__powl" = x""yes; then :
43443 cat >>confdefs.h <<_ACEOF
43444 #define HAVE__POWL 1
43445 _ACEOF
43446
43447 fi
43448 done
43449
43450 fi
43451 fi
43452
43453
43454
43455
43456
43457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43458 $as_echo_n "checking for sqrtl declaration... " >&6; }
43459 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43460 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43461 $as_echo_n "(cached) " >&6
43462 else
43463
43464
43465 ac_ext=cpp
43466 ac_cpp='$CXXCPP $CPPFLAGS'
43467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43470
43471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43472 /* end confdefs.h. */
43473 #include <math.h>
43474 #ifdef HAVE_IEEEFP_H
43475 #include <ieeefp.h>
43476 #endif
43477
43478 int
43479 main ()
43480 {
43481 sqrtl(0);
43482 ;
43483 return 0;
43484 }
43485 _ACEOF
43486 if ac_fn_cxx_try_compile "$LINENO"; then :
43487 glibcxx_cv_func_sqrtl_use=yes
43488 else
43489 glibcxx_cv_func_sqrtl_use=no
43490 fi
43491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43492 ac_ext=c
43493 ac_cpp='$CPP $CPPFLAGS'
43494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43497
43498
43499 fi
43500
43501 fi
43502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43503 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43504
43505 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43506 for ac_func in sqrtl
43507 do :
43508 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43509 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43510 cat >>confdefs.h <<_ACEOF
43511 #define HAVE_SQRTL 1
43512 _ACEOF
43513
43514 fi
43515 done
43516
43517 else
43518
43519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43520 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43521 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43522 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43523 $as_echo_n "(cached) " >&6
43524 else
43525
43526
43527 ac_ext=cpp
43528 ac_cpp='$CXXCPP $CPPFLAGS'
43529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43532
43533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43534 /* end confdefs.h. */
43535 #include <math.h>
43536 #ifdef HAVE_IEEEFP_H
43537 #include <ieeefp.h>
43538 #endif
43539
43540 int
43541 main ()
43542 {
43543 _sqrtl(0);
43544 ;
43545 return 0;
43546 }
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func__sqrtl_use=yes
43550 else
43551 glibcxx_cv_func__sqrtl_use=no
43552 fi
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43559
43560
43561 fi
43562
43563 fi
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43565 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43566
43567 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43568 for ac_func in _sqrtl
43569 do :
43570 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43571 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE__SQRTL 1
43574 _ACEOF
43575
43576 fi
43577 done
43578
43579 fi
43580 fi
43581
43582
43583
43584
43585
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43587 $as_echo_n "checking for sincosl declaration... " >&6; }
43588 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43589 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43590 $as_echo_n "(cached) " >&6
43591 else
43592
43593
43594 ac_ext=cpp
43595 ac_cpp='$CXXCPP $CPPFLAGS'
43596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43599
43600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43601 /* end confdefs.h. */
43602 #include <math.h>
43603 int
43604 main ()
43605 {
43606 sincosl(0, 0, 0);
43607 ;
43608 return 0;
43609 }
43610 _ACEOF
43611 if ac_fn_cxx_try_compile "$LINENO"; then :
43612 glibcxx_cv_func_sincosl_use=yes
43613 else
43614 glibcxx_cv_func_sincosl_use=no
43615 fi
43616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43617 ac_ext=c
43618 ac_cpp='$CPP $CPPFLAGS'
43619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43622
43623
43624 fi
43625
43626 fi
43627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43628 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43629
43630 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43631 for ac_func in sincosl
43632 do :
43633 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43634 if test "x$ac_cv_func_sincosl" = x""yes; then :
43635 cat >>confdefs.h <<_ACEOF
43636 #define HAVE_SINCOSL 1
43637 _ACEOF
43638
43639 fi
43640 done
43641
43642 else
43643
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43645 $as_echo_n "checking for _sincosl declaration... " >&6; }
43646 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43647 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43648 $as_echo_n "(cached) " >&6
43649 else
43650
43651
43652 ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43657
43658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h. */
43660 #include <math.h>
43661 int
43662 main ()
43663 {
43664 _sincosl(0, 0, 0);
43665 ;
43666 return 0;
43667 }
43668 _ACEOF
43669 if ac_fn_cxx_try_compile "$LINENO"; then :
43670 glibcxx_cv_func__sincosl_use=yes
43671 else
43672 glibcxx_cv_func__sincosl_use=no
43673 fi
43674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43675 ac_ext=c
43676 ac_cpp='$CPP $CPPFLAGS'
43677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43680
43681
43682 fi
43683
43684 fi
43685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43686 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43687
43688 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43689 for ac_func in _sincosl
43690 do :
43691 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43692 if test "x$ac_cv_func__sincosl" = x""yes; then :
43693 cat >>confdefs.h <<_ACEOF
43694 #define HAVE__SINCOSL 1
43695 _ACEOF
43696
43697 fi
43698 done
43699
43700 fi
43701 fi
43702
43703
43704
43705
43706
43707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43708 $as_echo_n "checking for finitel declaration... " >&6; }
43709 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43710 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43711 $as_echo_n "(cached) " >&6
43712 else
43713
43714
43715 ac_ext=cpp
43716 ac_cpp='$CXXCPP $CPPFLAGS'
43717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43720
43721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43722 /* end confdefs.h. */
43723 #include <math.h>
43724 #ifdef HAVE_IEEEFP_H
43725 #include <ieeefp.h>
43726 #endif
43727
43728 int
43729 main ()
43730 {
43731 finitel(0);
43732 ;
43733 return 0;
43734 }
43735 _ACEOF
43736 if ac_fn_cxx_try_compile "$LINENO"; then :
43737 glibcxx_cv_func_finitel_use=yes
43738 else
43739 glibcxx_cv_func_finitel_use=no
43740 fi
43741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43742 ac_ext=c
43743 ac_cpp='$CPP $CPPFLAGS'
43744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43747
43748
43749 fi
43750
43751 fi
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43753 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43754
43755 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43756 for ac_func in finitel
43757 do :
43758 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43759 if test "x$ac_cv_func_finitel" = x""yes; then :
43760 cat >>confdefs.h <<_ACEOF
43761 #define HAVE_FINITEL 1
43762 _ACEOF
43763
43764 fi
43765 done
43766
43767 else
43768
43769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43770 $as_echo_n "checking for _finitel declaration... " >&6; }
43771 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43772 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43773 $as_echo_n "(cached) " >&6
43774 else
43775
43776
43777 ac_ext=cpp
43778 ac_cpp='$CXXCPP $CPPFLAGS'
43779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43782
43783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43784 /* end confdefs.h. */
43785 #include <math.h>
43786 #ifdef HAVE_IEEEFP_H
43787 #include <ieeefp.h>
43788 #endif
43789
43790 int
43791 main ()
43792 {
43793 _finitel(0);
43794 ;
43795 return 0;
43796 }
43797 _ACEOF
43798 if ac_fn_cxx_try_compile "$LINENO"; then :
43799 glibcxx_cv_func__finitel_use=yes
43800 else
43801 glibcxx_cv_func__finitel_use=no
43802 fi
43803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43804 ac_ext=c
43805 ac_cpp='$CPP $CPPFLAGS'
43806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43809
43810
43811 fi
43812
43813 fi
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43815 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43816
43817 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43818 for ac_func in _finitel
43819 do :
43820 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43821 if test "x$ac_cv_func__finitel" = x""yes; then :
43822 cat >>confdefs.h <<_ACEOF
43823 #define HAVE__FINITEL 1
43824 _ACEOF
43825
43826 fi
43827 done
43828
43829 fi
43830 fi
43831
43832
43833
43834
43835 LIBS="$ac_save_LIBS"
43836 CXXFLAGS="$ac_save_CXXFLAGS"
43837
43838
43839 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43840 ac_save_CXXFLAGS="$CXXFLAGS"
43841 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43842
43843
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43845 $as_echo_n "checking for strtold declaration... " >&6; }
43846 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43847 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43848 $as_echo_n "(cached) " >&6
43849 else
43850
43851
43852 ac_ext=cpp
43853 ac_cpp='$CXXCPP $CPPFLAGS'
43854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43857
43858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43859 /* end confdefs.h. */
43860 #include <stdlib.h>
43861 int
43862 main ()
43863 {
43864 strtold(0, 0);
43865 ;
43866 return 0;
43867 }
43868 _ACEOF
43869 if ac_fn_cxx_try_compile "$LINENO"; then :
43870 glibcxx_cv_func_strtold_use=yes
43871 else
43872 glibcxx_cv_func_strtold_use=no
43873 fi
43874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43875 ac_ext=c
43876 ac_cpp='$CPP $CPPFLAGS'
43877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43880
43881
43882 fi
43883
43884 fi
43885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43886 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43887 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43888 for ac_func in strtold
43889 do :
43890 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43891 if test "x$ac_cv_func_strtold" = x""yes; then :
43892 cat >>confdefs.h <<_ACEOF
43893 #define HAVE_STRTOLD 1
43894 _ACEOF
43895
43896 fi
43897 done
43898
43899 fi
43900
43901
43902
43903
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43905 $as_echo_n "checking for strtof declaration... " >&6; }
43906 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43907 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43908 $as_echo_n "(cached) " >&6
43909 else
43910
43911
43912 ac_ext=cpp
43913 ac_cpp='$CXXCPP $CPPFLAGS'
43914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43917
43918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43919 /* end confdefs.h. */
43920 #include <stdlib.h>
43921 int
43922 main ()
43923 {
43924 strtof(0, 0);
43925 ;
43926 return 0;
43927 }
43928 _ACEOF
43929 if ac_fn_cxx_try_compile "$LINENO"; then :
43930 glibcxx_cv_func_strtof_use=yes
43931 else
43932 glibcxx_cv_func_strtof_use=no
43933 fi
43934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43935 ac_ext=c
43936 ac_cpp='$CPP $CPPFLAGS'
43937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43940
43941
43942 fi
43943
43944 fi
43945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43946 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43947 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43948 for ac_func in strtof
43949 do :
43950 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43951 if test "x$ac_cv_func_strtof" = x""yes; then :
43952 cat >>confdefs.h <<_ACEOF
43953 #define HAVE_STRTOF 1
43954 _ACEOF
43955
43956 fi
43957 done
43958
43959 fi
43960
43961
43962
43963
43964 CXXFLAGS="$ac_save_CXXFLAGS"
43965
43966 ;;
43967
43968 *djgpp)
43969 # GLIBCXX_CHECK_MATH_SUPPORT
43970 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43971
43972 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43973
43974 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43975
43976 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43977
43978 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43979
43980 ;;
43981
43982 *-freebsd*)
43983 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43984
43985
43986 # If we're not using GNU ld, then there's no point in even trying these
43987 # tests. Check for that first. We should have already tested for gld
43988 # by now (in libtool), but require it now just to be safe...
43989 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43990 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43991
43992
43993
43994 # The name set by libtool depends on the version of libtool. Shame on us
43995 # for depending on an impl detail, but c'est la vie. Older versions used
43996 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43997 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43998 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43999 # set (hence we're using an older libtool), then set it.
44000 if test x${with_gnu_ld+set} != xset; then
44001 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44002 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44003 with_gnu_ld=no
44004 else
44005 with_gnu_ld=$ac_cv_prog_gnu_ld
44006 fi
44007 fi
44008
44009 # Start by getting the version number. I think the libtool test already
44010 # does some of this, but throws away the result.
44011 glibcxx_ld_is_gold=no
44012 if test x"$with_gnu_ld" = x"yes"; then
44013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44014 $as_echo_n "checking for ld version... " >&6; }
44015
44016 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44017 glibcxx_ld_is_gold=yes
44018 fi
44019 ldver=`$LD --version 2>/dev/null |
44020 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'`
44021
44022 glibcxx_gnu_ld_version=`echo $ldver | \
44023 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44025 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44026 fi
44027
44028 # Set --gc-sections.
44029 glibcxx_have_gc_sections=no
44030 if test "$glibcxx_ld_is_gold" = "yes"; then
44031 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44032 glibcxx_have_gc_sections=yes
44033 fi
44034 else
44035 glibcxx_gcsections_min_ld=21602
44036 if test x"$with_gnu_ld" = x"yes" &&
44037 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44038 glibcxx_have_gc_sections=yes
44039 fi
44040 fi
44041 if test "$glibcxx_have_gc_sections" = "yes"; then
44042 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44043 # NB: This flag only works reliably after 2.16.1. Configure tests
44044 # for this are difficult, so hard wire a value that should work.
44045
44046 ac_test_CFLAGS="${CFLAGS+set}"
44047 ac_save_CFLAGS="$CFLAGS"
44048 CFLAGS='-Wl,--gc-sections'
44049
44050 # Check for -Wl,--gc-sections
44051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44052 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44053 if test x$gcc_no_link = xyes; then
44054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44055 fi
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 int one(void) { return 1; }
44059 int two(void) { return 2; }
44060
44061 int
44062 main ()
44063 {
44064 two();
44065 ;
44066 return 0;
44067 }
44068 _ACEOF
44069 if ac_fn_c_try_link "$LINENO"; then :
44070 ac_gcsections=yes
44071 else
44072 ac_gcsections=no
44073 fi
44074 rm -f core conftest.err conftest.$ac_objext \
44075 conftest$ac_exeext conftest.$ac_ext
44076 if test "$ac_gcsections" = "yes"; then
44077 rm -f conftest.c
44078 touch conftest.c
44079 if $CC -c conftest.c; then
44080 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44081 grep "Warning: gc-sections option ignored" > /dev/null; then
44082 ac_gcsections=no
44083 fi
44084 fi
44085 rm -f conftest.c conftest.o conftest
44086 fi
44087 if test "$ac_gcsections" = "yes"; then
44088 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44089 fi
44090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44091 $as_echo "$ac_gcsections" >&6; }
44092
44093 if test "$ac_test_CFLAGS" = set; then
44094 CFLAGS="$ac_save_CFLAGS"
44095 else
44096 # this is the suspicious part
44097 CFLAGS=''
44098 fi
44099 fi
44100
44101 # Set -z,relro.
44102 # Note this is only for shared objects.
44103 ac_ld_relro=no
44104 if test x"$with_gnu_ld" = x"yes"; then
44105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44106 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44107 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44108 if test -n "$cxx_z_relo"; then
44109 OPT_LDFLAGS="-Wl,-z,relro"
44110 ac_ld_relro=yes
44111 fi
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44113 $as_echo "$ac_ld_relro" >&6; }
44114 fi
44115
44116 # Set linker optimization flags.
44117 if test x"$with_gnu_ld" = x"yes"; then
44118 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44119 fi
44120
44121
44122
44123
44124 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44125
44126 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44127
44128 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44129
44130 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44131
44132 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44133
44134 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44135
44136 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44137
44138 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44139
44140 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44141
44142
44143 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44144
44145 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44146
44147 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44148
44149 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44150
44151 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44152
44153 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44154
44155 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44156
44157 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44158
44159 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44160
44161 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44162
44163 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44164
44165 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44166
44167 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44168
44169 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44170
44171 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44172
44173 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44174
44175 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44176
44177 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44178
44179 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44180
44181 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44182
44183 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44184
44185 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44186
44187 if test x"long_double_math_on_this_cpu" = x"yes"; then
44188 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44189
44190 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44191
44192 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44193
44194 fi
44195 ;;
44196 *-hpux*)
44197 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44198
44199
44200 # If we're not using GNU ld, then there's no point in even trying these
44201 # tests. Check for that first. We should have already tested for gld
44202 # by now (in libtool), but require it now just to be safe...
44203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44205
44206
44207
44208 # The name set by libtool depends on the version of libtool. Shame on us
44209 # for depending on an impl detail, but c'est la vie. Older versions used
44210 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44211 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44212 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44213 # set (hence we're using an older libtool), then set it.
44214 if test x${with_gnu_ld+set} != xset; then
44215 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44216 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44217 with_gnu_ld=no
44218 else
44219 with_gnu_ld=$ac_cv_prog_gnu_ld
44220 fi
44221 fi
44222
44223 # Start by getting the version number. I think the libtool test already
44224 # does some of this, but throws away the result.
44225 glibcxx_ld_is_gold=no
44226 if test x"$with_gnu_ld" = x"yes"; then
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44228 $as_echo_n "checking for ld version... " >&6; }
44229
44230 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44231 glibcxx_ld_is_gold=yes
44232 fi
44233 ldver=`$LD --version 2>/dev/null |
44234 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'`
44235
44236 glibcxx_gnu_ld_version=`echo $ldver | \
44237 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44239 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44240 fi
44241
44242 # Set --gc-sections.
44243 glibcxx_have_gc_sections=no
44244 if test "$glibcxx_ld_is_gold" = "yes"; then
44245 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44246 glibcxx_have_gc_sections=yes
44247 fi
44248 else
44249 glibcxx_gcsections_min_ld=21602
44250 if test x"$with_gnu_ld" = x"yes" &&
44251 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44252 glibcxx_have_gc_sections=yes
44253 fi
44254 fi
44255 if test "$glibcxx_have_gc_sections" = "yes"; then
44256 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44257 # NB: This flag only works reliably after 2.16.1. Configure tests
44258 # for this are difficult, so hard wire a value that should work.
44259
44260 ac_test_CFLAGS="${CFLAGS+set}"
44261 ac_save_CFLAGS="$CFLAGS"
44262 CFLAGS='-Wl,--gc-sections'
44263
44264 # Check for -Wl,--gc-sections
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44266 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44267 if test x$gcc_no_link = xyes; then
44268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44269 fi
44270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44271 /* end confdefs.h. */
44272 int one(void) { return 1; }
44273 int two(void) { return 2; }
44274
44275 int
44276 main ()
44277 {
44278 two();
44279 ;
44280 return 0;
44281 }
44282 _ACEOF
44283 if ac_fn_c_try_link "$LINENO"; then :
44284 ac_gcsections=yes
44285 else
44286 ac_gcsections=no
44287 fi
44288 rm -f core conftest.err conftest.$ac_objext \
44289 conftest$ac_exeext conftest.$ac_ext
44290 if test "$ac_gcsections" = "yes"; then
44291 rm -f conftest.c
44292 touch conftest.c
44293 if $CC -c conftest.c; then
44294 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44295 grep "Warning: gc-sections option ignored" > /dev/null; then
44296 ac_gcsections=no
44297 fi
44298 fi
44299 rm -f conftest.c conftest.o conftest
44300 fi
44301 if test "$ac_gcsections" = "yes"; then
44302 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44303 fi
44304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44305 $as_echo "$ac_gcsections" >&6; }
44306
44307 if test "$ac_test_CFLAGS" = set; then
44308 CFLAGS="$ac_save_CFLAGS"
44309 else
44310 # this is the suspicious part
44311 CFLAGS=''
44312 fi
44313 fi
44314
44315 # Set -z,relro.
44316 # Note this is only for shared objects.
44317 ac_ld_relro=no
44318 if test x"$with_gnu_ld" = x"yes"; then
44319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44322 if test -n "$cxx_z_relo"; then
44323 OPT_LDFLAGS="-Wl,-z,relro"
44324 ac_ld_relro=yes
44325 fi
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44327 $as_echo "$ac_ld_relro" >&6; }
44328 fi
44329
44330 # Set linker optimization flags.
44331 if test x"$with_gnu_ld" = x"yes"; then
44332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44333 fi
44334
44335
44336
44337
44338
44339 # GLIBCXX_CHECK_MATH_SUPPORT
44340 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44341
44342 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44343
44344 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44345
44346 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44347
44348 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44349
44350 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44351
44352 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44353
44354 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44355
44356 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44357
44358 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44359
44360 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44361
44362 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44363
44364 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44365
44366 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44367
44368 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44369
44370 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44371
44372 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44373
44374 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44375
44376 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44377
44378 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44379
44380 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44381
44382
44383 # GLIBCXX_CHECK_STDLIB_SUPPORT
44384 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44385
44386
44387
44388
44389 # Check whether --enable-tls was given.
44390 if test "${enable_tls+set}" = set; then :
44391 enableval=$enable_tls;
44392 case "$enableval" in
44393 yes|no) ;;
44394 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44395 esac
44396
44397 else
44398 enable_tls=yes
44399 fi
44400
44401
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44403 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44404 if test "${gcc_cv_have_tls+set}" = set; then :
44405 $as_echo_n "(cached) " >&6
44406 else
44407
44408 if test "$cross_compiling" = yes; then :
44409 if test x$gcc_no_link = xyes; then
44410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44411 fi
44412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44413 /* end confdefs.h. */
44414 __thread int a; int b; int main() { return a = b; }
44415 _ACEOF
44416 if ac_fn_c_try_link "$LINENO"; then :
44417 chktls_save_LDFLAGS="$LDFLAGS"
44418 case $host in
44419 *-*-linux*)
44420 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44421 ;;
44422 esac
44423 chktls_save_CFLAGS="$CFLAGS"
44424 CFLAGS="-fPIC $CFLAGS"
44425 if test x$gcc_no_link = xyes; then
44426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44427 fi
44428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44429 /* end confdefs.h. */
44430 int f() { return 0; }
44431 _ACEOF
44432 if ac_fn_c_try_link "$LINENO"; then :
44433 if test x$gcc_no_link = xyes; then
44434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44435 fi
44436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44437 /* end confdefs.h. */
44438 __thread int a; int b; int f() { return a = b; }
44439 _ACEOF
44440 if ac_fn_c_try_link "$LINENO"; then :
44441 gcc_cv_have_tls=yes
44442 else
44443 gcc_cv_have_tls=no
44444 fi
44445 rm -f core conftest.err conftest.$ac_objext \
44446 conftest$ac_exeext conftest.$ac_ext
44447 else
44448 gcc_cv_have_tls=yes
44449 fi
44450 rm -f core conftest.err conftest.$ac_objext \
44451 conftest$ac_exeext conftest.$ac_ext
44452 CFLAGS="$chktls_save_CFLAGS"
44453 LDFLAGS="$chktls_save_LDFLAGS"
44454 else
44455 gcc_cv_have_tls=no
44456 fi
44457 rm -f core conftest.err conftest.$ac_objext \
44458 conftest$ac_exeext conftest.$ac_ext
44459
44460
44461 else
44462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44463 /* end confdefs.h. */
44464 __thread int a; int b; int main() { return a = b; }
44465 _ACEOF
44466 if ac_fn_c_try_run "$LINENO"; then :
44467 chktls_save_LDFLAGS="$LDFLAGS"
44468 LDFLAGS="-static $LDFLAGS"
44469 if test x$gcc_no_link = xyes; then
44470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44471 fi
44472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44473 /* end confdefs.h. */
44474 int main() { return 0; }
44475 _ACEOF
44476 if ac_fn_c_try_link "$LINENO"; then :
44477 if test "$cross_compiling" = yes; then :
44478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44480 as_fn_error "cannot run test program while cross compiling
44481 See \`config.log' for more details." "$LINENO" 5; }
44482 else
44483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44484 /* end confdefs.h. */
44485 __thread int a; int b; int main() { return a = b; }
44486 _ACEOF
44487 if ac_fn_c_try_run "$LINENO"; then :
44488 gcc_cv_have_tls=yes
44489 else
44490 gcc_cv_have_tls=no
44491 fi
44492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44493 conftest.$ac_objext conftest.beam conftest.$ac_ext
44494 fi
44495
44496 else
44497 gcc_cv_have_tls=yes
44498 fi
44499 rm -f core conftest.err conftest.$ac_objext \
44500 conftest$ac_exeext conftest.$ac_ext
44501 LDFLAGS="$chktls_save_LDFLAGS"
44502 if test $gcc_cv_have_tls = yes; then
44503 chktls_save_CFLAGS="$CFLAGS"
44504 thread_CFLAGS=failed
44505 for flag in '' '-pthread' '-lpthread'; do
44506 CFLAGS="$flag $chktls_save_CFLAGS"
44507 if test x$gcc_no_link = xyes; then
44508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44509 fi
44510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511 /* end confdefs.h. */
44512 #include <pthread.h>
44513 void *g(void *d) { return NULL; }
44514 int
44515 main ()
44516 {
44517 pthread_t t; pthread_create(&t,NULL,g,NULL);
44518 ;
44519 return 0;
44520 }
44521 _ACEOF
44522 if ac_fn_c_try_link "$LINENO"; then :
44523 thread_CFLAGS="$flag"
44524 fi
44525 rm -f core conftest.err conftest.$ac_objext \
44526 conftest$ac_exeext conftest.$ac_ext
44527 if test "X$thread_CFLAGS" != Xfailed; then
44528 break
44529 fi
44530 done
44531 CFLAGS="$chktls_save_CFLAGS"
44532 if test "X$thread_CFLAGS" != Xfailed; then
44533 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44534 if test "$cross_compiling" = yes; then :
44535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44537 as_fn_error "cannot run test program while cross compiling
44538 See \`config.log' for more details." "$LINENO" 5; }
44539 else
44540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44541 /* end confdefs.h. */
44542 #include <pthread.h>
44543 __thread int a;
44544 static int *volatile a_in_other_thread;
44545 static void *
44546 thread_func (void *arg)
44547 {
44548 a_in_other_thread = &a;
44549 return (void *)0;
44550 }
44551 int
44552 main ()
44553 {
44554 pthread_t thread;
44555 void *thread_retval;
44556 int *volatile a_in_main_thread;
44557 a_in_main_thread = &a;
44558 if (pthread_create (&thread, (pthread_attr_t *)0,
44559 thread_func, (void *)0))
44560 return 0;
44561 if (pthread_join (thread, &thread_retval))
44562 return 0;
44563 return (a_in_other_thread == a_in_main_thread);
44564 ;
44565 return 0;
44566 }
44567 _ACEOF
44568 if ac_fn_c_try_run "$LINENO"; then :
44569 gcc_cv_have_tls=yes
44570 else
44571 gcc_cv_have_tls=no
44572 fi
44573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44574 conftest.$ac_objext conftest.beam conftest.$ac_ext
44575 fi
44576
44577 CFLAGS="$chktls_save_CFLAGS"
44578 fi
44579 fi
44580 else
44581 gcc_cv_have_tls=no
44582 fi
44583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44584 conftest.$ac_objext conftest.beam conftest.$ac_ext
44585 fi
44586
44587 fi
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44589 $as_echo "$gcc_cv_have_tls" >&6; }
44590 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44591
44592 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44593
44594 fi
44595 case "$target" in
44596 *-hpux10*)
44597 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44598
44599 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44600
44601 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44602
44603 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44604
44605 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44606
44607 ;;
44608 esac
44609 ;;
44610 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44611
44612 # All these tests are for C++; save the language and the compiler flags.
44613 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44614 # found in GLIBCXX_CONFIGURE.
44615
44616 ac_ext=cpp
44617 ac_cpp='$CXXCPP $CPPFLAGS'
44618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44621
44622 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44623 ac_save_CXXFLAGS="$CXXFLAGS"
44624
44625 # Check for maintainer-mode bits.
44626 if test x"$USE_MAINTAINER_MODE" = xno; then
44627 WERROR=''
44628 else
44629 WERROR='-Werror'
44630 fi
44631
44632 # Check for -ffunction-sections -fdata-sections
44633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44634 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44635 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44637 /* end confdefs.h. */
44638 int foo; void bar() { };
44639 int
44640 main ()
44641 {
44642
44643 ;
44644 return 0;
44645 }
44646 _ACEOF
44647 if ac_fn_cxx_try_compile "$LINENO"; then :
44648 ac_fdsections=yes
44649 else
44650 ac_fdsections=no
44651 fi
44652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44653 if test "$ac_test_CXXFLAGS" = set; then
44654 CXXFLAGS="$ac_save_CXXFLAGS"
44655 else
44656 # this is the suspicious part
44657 CXXFLAGS=''
44658 fi
44659 if test x"$ac_fdsections" = x"yes"; then
44660 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44661 fi
44662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44663 $as_echo "$ac_fdsections" >&6; }
44664
44665 ac_ext=c
44666 ac_cpp='$CPP $CPPFLAGS'
44667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44670
44671
44672
44673
44674
44675 # If we're not using GNU ld, then there's no point in even trying these
44676 # tests. Check for that first. We should have already tested for gld
44677 # by now (in libtool), but require it now just to be safe...
44678 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44679 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44680
44681
44682
44683 # The name set by libtool depends on the version of libtool. Shame on us
44684 # for depending on an impl detail, but c'est la vie. Older versions used
44685 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44686 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44687 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44688 # set (hence we're using an older libtool), then set it.
44689 if test x${with_gnu_ld+set} != xset; then
44690 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44691 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44692 with_gnu_ld=no
44693 else
44694 with_gnu_ld=$ac_cv_prog_gnu_ld
44695 fi
44696 fi
44697
44698 # Start by getting the version number. I think the libtool test already
44699 # does some of this, but throws away the result.
44700 glibcxx_ld_is_gold=no
44701 if test x"$with_gnu_ld" = x"yes"; then
44702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44703 $as_echo_n "checking for ld version... " >&6; }
44704
44705 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44706 glibcxx_ld_is_gold=yes
44707 fi
44708 ldver=`$LD --version 2>/dev/null |
44709 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'`
44710
44711 glibcxx_gnu_ld_version=`echo $ldver | \
44712 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44714 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44715 fi
44716
44717 # Set --gc-sections.
44718 glibcxx_have_gc_sections=no
44719 if test "$glibcxx_ld_is_gold" = "yes"; then
44720 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44721 glibcxx_have_gc_sections=yes
44722 fi
44723 else
44724 glibcxx_gcsections_min_ld=21602
44725 if test x"$with_gnu_ld" = x"yes" &&
44726 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44727 glibcxx_have_gc_sections=yes
44728 fi
44729 fi
44730 if test "$glibcxx_have_gc_sections" = "yes"; then
44731 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44732 # NB: This flag only works reliably after 2.16.1. Configure tests
44733 # for this are difficult, so hard wire a value that should work.
44734
44735 ac_test_CFLAGS="${CFLAGS+set}"
44736 ac_save_CFLAGS="$CFLAGS"
44737 CFLAGS='-Wl,--gc-sections'
44738
44739 # Check for -Wl,--gc-sections
44740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44741 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44742 if test x$gcc_no_link = xyes; then
44743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44744 fi
44745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44746 /* end confdefs.h. */
44747 int one(void) { return 1; }
44748 int two(void) { return 2; }
44749
44750 int
44751 main ()
44752 {
44753 two();
44754 ;
44755 return 0;
44756 }
44757 _ACEOF
44758 if ac_fn_c_try_link "$LINENO"; then :
44759 ac_gcsections=yes
44760 else
44761 ac_gcsections=no
44762 fi
44763 rm -f core conftest.err conftest.$ac_objext \
44764 conftest$ac_exeext conftest.$ac_ext
44765 if test "$ac_gcsections" = "yes"; then
44766 rm -f conftest.c
44767 touch conftest.c
44768 if $CC -c conftest.c; then
44769 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44770 grep "Warning: gc-sections option ignored" > /dev/null; then
44771 ac_gcsections=no
44772 fi
44773 fi
44774 rm -f conftest.c conftest.o conftest
44775 fi
44776 if test "$ac_gcsections" = "yes"; then
44777 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44778 fi
44779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44780 $as_echo "$ac_gcsections" >&6; }
44781
44782 if test "$ac_test_CFLAGS" = set; then
44783 CFLAGS="$ac_save_CFLAGS"
44784 else
44785 # this is the suspicious part
44786 CFLAGS=''
44787 fi
44788 fi
44789
44790 # Set -z,relro.
44791 # Note this is only for shared objects.
44792 ac_ld_relro=no
44793 if test x"$with_gnu_ld" = x"yes"; then
44794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44795 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44796 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44797 if test -n "$cxx_z_relo"; then
44798 OPT_LDFLAGS="-Wl,-z,relro"
44799 ac_ld_relro=yes
44800 fi
44801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44802 $as_echo "$ac_ld_relro" >&6; }
44803 fi
44804
44805 # Set linker optimization flags.
44806 if test x"$with_gnu_ld" = x"yes"; then
44807 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44808 fi
44809
44810
44811
44812
44813
44814 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44815 ac_save_CXXFLAGS="$CXXFLAGS"
44816 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44817
44818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44819 $as_echo_n "checking for sin in -lm... " >&6; }
44820 if test "${ac_cv_lib_m_sin+set}" = set; then :
44821 $as_echo_n "(cached) " >&6
44822 else
44823 ac_check_lib_save_LIBS=$LIBS
44824 LIBS="-lm $LIBS"
44825 if test x$gcc_no_link = xyes; then
44826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44827 fi
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44830
44831 /* Override any GCC internal prototype to avoid an error.
44832 Use char because int might match the return type of a GCC
44833 builtin and then its argument prototype would still apply. */
44834 #ifdef __cplusplus
44835 extern "C"
44836 #endif
44837 char sin ();
44838 int
44839 main ()
44840 {
44841 return sin ();
44842 ;
44843 return 0;
44844 }
44845 _ACEOF
44846 if ac_fn_c_try_link "$LINENO"; then :
44847 ac_cv_lib_m_sin=yes
44848 else
44849 ac_cv_lib_m_sin=no
44850 fi
44851 rm -f core conftest.err conftest.$ac_objext \
44852 conftest$ac_exeext conftest.$ac_ext
44853 LIBS=$ac_check_lib_save_LIBS
44854 fi
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44856 $as_echo "$ac_cv_lib_m_sin" >&6; }
44857 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44858 libm="-lm"
44859 fi
44860
44861 ac_save_LIBS="$LIBS"
44862 LIBS="$LIBS $libm"
44863
44864
44865
44866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44867 $as_echo_n "checking for isinf declaration... " >&6; }
44868 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44869 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44870 $as_echo_n "(cached) " >&6
44871 else
44872
44873
44874 ac_ext=cpp
44875 ac_cpp='$CXXCPP $CPPFLAGS'
44876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44879
44880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44881 /* end confdefs.h. */
44882 #include <math.h>
44883 #ifdef HAVE_IEEEFP_H
44884 #include <ieeefp.h>
44885 #endif
44886
44887 int
44888 main ()
44889 {
44890 isinf(0);
44891 ;
44892 return 0;
44893 }
44894 _ACEOF
44895 if ac_fn_cxx_try_compile "$LINENO"; then :
44896 glibcxx_cv_func_isinf_use=yes
44897 else
44898 glibcxx_cv_func_isinf_use=no
44899 fi
44900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44901 ac_ext=c
44902 ac_cpp='$CPP $CPPFLAGS'
44903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44906
44907
44908 fi
44909
44910 fi
44911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44912 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44913
44914 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44915 for ac_func in isinf
44916 do :
44917 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44918 if test "x$ac_cv_func_isinf" = x""yes; then :
44919 cat >>confdefs.h <<_ACEOF
44920 #define HAVE_ISINF 1
44921 _ACEOF
44922
44923 fi
44924 done
44925
44926 else
44927
44928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44929 $as_echo_n "checking for _isinf declaration... " >&6; }
44930 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44931 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44932 $as_echo_n "(cached) " >&6
44933 else
44934
44935
44936 ac_ext=cpp
44937 ac_cpp='$CXXCPP $CPPFLAGS'
44938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44941
44942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44943 /* end confdefs.h. */
44944 #include <math.h>
44945 #ifdef HAVE_IEEEFP_H
44946 #include <ieeefp.h>
44947 #endif
44948
44949 int
44950 main ()
44951 {
44952 _isinf(0);
44953 ;
44954 return 0;
44955 }
44956 _ACEOF
44957 if ac_fn_cxx_try_compile "$LINENO"; then :
44958 glibcxx_cv_func__isinf_use=yes
44959 else
44960 glibcxx_cv_func__isinf_use=no
44961 fi
44962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44963 ac_ext=c
44964 ac_cpp='$CPP $CPPFLAGS'
44965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44968
44969
44970 fi
44971
44972 fi
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44974 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44975
44976 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44977 for ac_func in _isinf
44978 do :
44979 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44980 if test "x$ac_cv_func__isinf" = x""yes; then :
44981 cat >>confdefs.h <<_ACEOF
44982 #define HAVE__ISINF 1
44983 _ACEOF
44984
44985 fi
44986 done
44987
44988 fi
44989 fi
44990
44991
44992
44993
44994
44995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44996 $as_echo_n "checking for isnan declaration... " >&6; }
44997 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44998 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44999 $as_echo_n "(cached) " >&6
45000 else
45001
45002
45003 ac_ext=cpp
45004 ac_cpp='$CXXCPP $CPPFLAGS'
45005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45008
45009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45010 /* end confdefs.h. */
45011 #include <math.h>
45012 #ifdef HAVE_IEEEFP_H
45013 #include <ieeefp.h>
45014 #endif
45015
45016 int
45017 main ()
45018 {
45019 isnan(0);
45020 ;
45021 return 0;
45022 }
45023 _ACEOF
45024 if ac_fn_cxx_try_compile "$LINENO"; then :
45025 glibcxx_cv_func_isnan_use=yes
45026 else
45027 glibcxx_cv_func_isnan_use=no
45028 fi
45029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45030 ac_ext=c
45031 ac_cpp='$CPP $CPPFLAGS'
45032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45035
45036
45037 fi
45038
45039 fi
45040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45041 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45042
45043 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45044 for ac_func in isnan
45045 do :
45046 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45047 if test "x$ac_cv_func_isnan" = x""yes; then :
45048 cat >>confdefs.h <<_ACEOF
45049 #define HAVE_ISNAN 1
45050 _ACEOF
45051
45052 fi
45053 done
45054
45055 else
45056
45057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45058 $as_echo_n "checking for _isnan declaration... " >&6; }
45059 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45060 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45061 $as_echo_n "(cached) " >&6
45062 else
45063
45064
45065 ac_ext=cpp
45066 ac_cpp='$CXXCPP $CPPFLAGS'
45067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45070
45071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45072 /* end confdefs.h. */
45073 #include <math.h>
45074 #ifdef HAVE_IEEEFP_H
45075 #include <ieeefp.h>
45076 #endif
45077
45078 int
45079 main ()
45080 {
45081 _isnan(0);
45082 ;
45083 return 0;
45084 }
45085 _ACEOF
45086 if ac_fn_cxx_try_compile "$LINENO"; then :
45087 glibcxx_cv_func__isnan_use=yes
45088 else
45089 glibcxx_cv_func__isnan_use=no
45090 fi
45091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45092 ac_ext=c
45093 ac_cpp='$CPP $CPPFLAGS'
45094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45097
45098
45099 fi
45100
45101 fi
45102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45103 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45104
45105 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45106 for ac_func in _isnan
45107 do :
45108 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45109 if test "x$ac_cv_func__isnan" = x""yes; then :
45110 cat >>confdefs.h <<_ACEOF
45111 #define HAVE__ISNAN 1
45112 _ACEOF
45113
45114 fi
45115 done
45116
45117 fi
45118 fi
45119
45120
45121
45122
45123
45124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45125 $as_echo_n "checking for finite declaration... " >&6; }
45126 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45127 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45128 $as_echo_n "(cached) " >&6
45129 else
45130
45131
45132 ac_ext=cpp
45133 ac_cpp='$CXXCPP $CPPFLAGS'
45134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45137
45138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45139 /* end confdefs.h. */
45140 #include <math.h>
45141 #ifdef HAVE_IEEEFP_H
45142 #include <ieeefp.h>
45143 #endif
45144
45145 int
45146 main ()
45147 {
45148 finite(0);
45149 ;
45150 return 0;
45151 }
45152 _ACEOF
45153 if ac_fn_cxx_try_compile "$LINENO"; then :
45154 glibcxx_cv_func_finite_use=yes
45155 else
45156 glibcxx_cv_func_finite_use=no
45157 fi
45158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45159 ac_ext=c
45160 ac_cpp='$CPP $CPPFLAGS'
45161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45164
45165
45166 fi
45167
45168 fi
45169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45170 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45171
45172 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45173 for ac_func in finite
45174 do :
45175 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45176 if test "x$ac_cv_func_finite" = x""yes; then :
45177 cat >>confdefs.h <<_ACEOF
45178 #define HAVE_FINITE 1
45179 _ACEOF
45180
45181 fi
45182 done
45183
45184 else
45185
45186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45187 $as_echo_n "checking for _finite declaration... " >&6; }
45188 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45189 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45190 $as_echo_n "(cached) " >&6
45191 else
45192
45193
45194 ac_ext=cpp
45195 ac_cpp='$CXXCPP $CPPFLAGS'
45196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45199
45200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45201 /* end confdefs.h. */
45202 #include <math.h>
45203 #ifdef HAVE_IEEEFP_H
45204 #include <ieeefp.h>
45205 #endif
45206
45207 int
45208 main ()
45209 {
45210 _finite(0);
45211 ;
45212 return 0;
45213 }
45214 _ACEOF
45215 if ac_fn_cxx_try_compile "$LINENO"; then :
45216 glibcxx_cv_func__finite_use=yes
45217 else
45218 glibcxx_cv_func__finite_use=no
45219 fi
45220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45221 ac_ext=c
45222 ac_cpp='$CPP $CPPFLAGS'
45223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45226
45227
45228 fi
45229
45230 fi
45231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45232 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45233
45234 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45235 for ac_func in _finite
45236 do :
45237 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45238 if test "x$ac_cv_func__finite" = x""yes; then :
45239 cat >>confdefs.h <<_ACEOF
45240 #define HAVE__FINITE 1
45241 _ACEOF
45242
45243 fi
45244 done
45245
45246 fi
45247 fi
45248
45249
45250
45251
45252
45253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45254 $as_echo_n "checking for sincos declaration... " >&6; }
45255 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45256 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45257 $as_echo_n "(cached) " >&6
45258 else
45259
45260
45261 ac_ext=cpp
45262 ac_cpp='$CXXCPP $CPPFLAGS'
45263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45266
45267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h. */
45269 #include <math.h>
45270 int
45271 main ()
45272 {
45273 sincos(0, 0, 0);
45274 ;
45275 return 0;
45276 }
45277 _ACEOF
45278 if ac_fn_cxx_try_compile "$LINENO"; then :
45279 glibcxx_cv_func_sincos_use=yes
45280 else
45281 glibcxx_cv_func_sincos_use=no
45282 fi
45283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45284 ac_ext=c
45285 ac_cpp='$CPP $CPPFLAGS'
45286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45289
45290
45291 fi
45292
45293 fi
45294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45295 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45296
45297 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45298 for ac_func in sincos
45299 do :
45300 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45301 if test "x$ac_cv_func_sincos" = x""yes; then :
45302 cat >>confdefs.h <<_ACEOF
45303 #define HAVE_SINCOS 1
45304 _ACEOF
45305
45306 fi
45307 done
45308
45309 else
45310
45311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45312 $as_echo_n "checking for _sincos declaration... " >&6; }
45313 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45314 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45315 $as_echo_n "(cached) " >&6
45316 else
45317
45318
45319 ac_ext=cpp
45320 ac_cpp='$CXXCPP $CPPFLAGS'
45321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45324
45325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45326 /* end confdefs.h. */
45327 #include <math.h>
45328 int
45329 main ()
45330 {
45331 _sincos(0, 0, 0);
45332 ;
45333 return 0;
45334 }
45335 _ACEOF
45336 if ac_fn_cxx_try_compile "$LINENO"; then :
45337 glibcxx_cv_func__sincos_use=yes
45338 else
45339 glibcxx_cv_func__sincos_use=no
45340 fi
45341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45342 ac_ext=c
45343 ac_cpp='$CPP $CPPFLAGS'
45344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45347
45348
45349 fi
45350
45351 fi
45352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45353 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45354
45355 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45356 for ac_func in _sincos
45357 do :
45358 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45359 if test "x$ac_cv_func__sincos" = x""yes; then :
45360 cat >>confdefs.h <<_ACEOF
45361 #define HAVE__SINCOS 1
45362 _ACEOF
45363
45364 fi
45365 done
45366
45367 fi
45368 fi
45369
45370
45371
45372
45373
45374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45375 $as_echo_n "checking for fpclass declaration... " >&6; }
45376 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45377 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45378 $as_echo_n "(cached) " >&6
45379 else
45380
45381
45382 ac_ext=cpp
45383 ac_cpp='$CXXCPP $CPPFLAGS'
45384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45387
45388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45389 /* end confdefs.h. */
45390 #include <math.h>
45391 #ifdef HAVE_IEEEFP_H
45392 #include <ieeefp.h>
45393 #endif
45394
45395 int
45396 main ()
45397 {
45398 fpclass(0);
45399 ;
45400 return 0;
45401 }
45402 _ACEOF
45403 if ac_fn_cxx_try_compile "$LINENO"; then :
45404 glibcxx_cv_func_fpclass_use=yes
45405 else
45406 glibcxx_cv_func_fpclass_use=no
45407 fi
45408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45409 ac_ext=c
45410 ac_cpp='$CPP $CPPFLAGS'
45411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45414
45415
45416 fi
45417
45418 fi
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45420 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45421
45422 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45423 for ac_func in fpclass
45424 do :
45425 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45426 if test "x$ac_cv_func_fpclass" = x""yes; then :
45427 cat >>confdefs.h <<_ACEOF
45428 #define HAVE_FPCLASS 1
45429 _ACEOF
45430
45431 fi
45432 done
45433
45434 else
45435
45436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45437 $as_echo_n "checking for _fpclass declaration... " >&6; }
45438 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45439 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45440 $as_echo_n "(cached) " >&6
45441 else
45442
45443
45444 ac_ext=cpp
45445 ac_cpp='$CXXCPP $CPPFLAGS'
45446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45449
45450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45451 /* end confdefs.h. */
45452 #include <math.h>
45453 #ifdef HAVE_IEEEFP_H
45454 #include <ieeefp.h>
45455 #endif
45456
45457 int
45458 main ()
45459 {
45460 _fpclass(0);
45461 ;
45462 return 0;
45463 }
45464 _ACEOF
45465 if ac_fn_cxx_try_compile "$LINENO"; then :
45466 glibcxx_cv_func__fpclass_use=yes
45467 else
45468 glibcxx_cv_func__fpclass_use=no
45469 fi
45470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45471 ac_ext=c
45472 ac_cpp='$CPP $CPPFLAGS'
45473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45476
45477
45478 fi
45479
45480 fi
45481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45482 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45483
45484 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45485 for ac_func in _fpclass
45486 do :
45487 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45488 if test "x$ac_cv_func__fpclass" = x""yes; then :
45489 cat >>confdefs.h <<_ACEOF
45490 #define HAVE__FPCLASS 1
45491 _ACEOF
45492
45493 fi
45494 done
45495
45496 fi
45497 fi
45498
45499
45500
45501
45502
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45504 $as_echo_n "checking for qfpclass declaration... " >&6; }
45505 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45506 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45507 $as_echo_n "(cached) " >&6
45508 else
45509
45510
45511 ac_ext=cpp
45512 ac_cpp='$CXXCPP $CPPFLAGS'
45513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45516
45517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45518 /* end confdefs.h. */
45519 #include <math.h>
45520 #ifdef HAVE_IEEEFP_H
45521 #include <ieeefp.h>
45522 #endif
45523
45524 int
45525 main ()
45526 {
45527 qfpclass(0);
45528 ;
45529 return 0;
45530 }
45531 _ACEOF
45532 if ac_fn_cxx_try_compile "$LINENO"; then :
45533 glibcxx_cv_func_qfpclass_use=yes
45534 else
45535 glibcxx_cv_func_qfpclass_use=no
45536 fi
45537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45538 ac_ext=c
45539 ac_cpp='$CPP $CPPFLAGS'
45540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45543
45544
45545 fi
45546
45547 fi
45548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45549 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45550
45551 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45552 for ac_func in qfpclass
45553 do :
45554 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45555 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45556 cat >>confdefs.h <<_ACEOF
45557 #define HAVE_QFPCLASS 1
45558 _ACEOF
45559
45560 fi
45561 done
45562
45563 else
45564
45565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45566 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45567 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45568 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45569 $as_echo_n "(cached) " >&6
45570 else
45571
45572
45573 ac_ext=cpp
45574 ac_cpp='$CXXCPP $CPPFLAGS'
45575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45578
45579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45580 /* end confdefs.h. */
45581 #include <math.h>
45582 #ifdef HAVE_IEEEFP_H
45583 #include <ieeefp.h>
45584 #endif
45585
45586 int
45587 main ()
45588 {
45589 _qfpclass(0);
45590 ;
45591 return 0;
45592 }
45593 _ACEOF
45594 if ac_fn_cxx_try_compile "$LINENO"; then :
45595 glibcxx_cv_func__qfpclass_use=yes
45596 else
45597 glibcxx_cv_func__qfpclass_use=no
45598 fi
45599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45600 ac_ext=c
45601 ac_cpp='$CPP $CPPFLAGS'
45602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45605
45606
45607 fi
45608
45609 fi
45610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45611 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45612
45613 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45614 for ac_func in _qfpclass
45615 do :
45616 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45617 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45618 cat >>confdefs.h <<_ACEOF
45619 #define HAVE__QFPCLASS 1
45620 _ACEOF
45621
45622 fi
45623 done
45624
45625 fi
45626 fi
45627
45628
45629
45630
45631
45632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45633 $as_echo_n "checking for hypot declaration... " >&6; }
45634 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45635 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45636 $as_echo_n "(cached) " >&6
45637 else
45638
45639
45640 ac_ext=cpp
45641 ac_cpp='$CXXCPP $CPPFLAGS'
45642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45645
45646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45647 /* end confdefs.h. */
45648 #include <math.h>
45649 int
45650 main ()
45651 {
45652 hypot(0, 0);
45653 ;
45654 return 0;
45655 }
45656 _ACEOF
45657 if ac_fn_cxx_try_compile "$LINENO"; then :
45658 glibcxx_cv_func_hypot_use=yes
45659 else
45660 glibcxx_cv_func_hypot_use=no
45661 fi
45662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45663 ac_ext=c
45664 ac_cpp='$CPP $CPPFLAGS'
45665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45668
45669
45670 fi
45671
45672 fi
45673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45674 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45675
45676 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45677 for ac_func in hypot
45678 do :
45679 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45680 if test "x$ac_cv_func_hypot" = x""yes; then :
45681 cat >>confdefs.h <<_ACEOF
45682 #define HAVE_HYPOT 1
45683 _ACEOF
45684
45685 fi
45686 done
45687
45688 else
45689
45690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45691 $as_echo_n "checking for _hypot declaration... " >&6; }
45692 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45693 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45694 $as_echo_n "(cached) " >&6
45695 else
45696
45697
45698 ac_ext=cpp
45699 ac_cpp='$CXXCPP $CPPFLAGS'
45700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45703
45704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45705 /* end confdefs.h. */
45706 #include <math.h>
45707 int
45708 main ()
45709 {
45710 _hypot(0, 0);
45711 ;
45712 return 0;
45713 }
45714 _ACEOF
45715 if ac_fn_cxx_try_compile "$LINENO"; then :
45716 glibcxx_cv_func__hypot_use=yes
45717 else
45718 glibcxx_cv_func__hypot_use=no
45719 fi
45720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45721 ac_ext=c
45722 ac_cpp='$CPP $CPPFLAGS'
45723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45726
45727
45728 fi
45729
45730 fi
45731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45732 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45733
45734 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45735 for ac_func in _hypot
45736 do :
45737 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45738 if test "x$ac_cv_func__hypot" = x""yes; then :
45739 cat >>confdefs.h <<_ACEOF
45740 #define HAVE__HYPOT 1
45741 _ACEOF
45742
45743 fi
45744 done
45745
45746 fi
45747 fi
45748
45749
45750
45751
45752
45753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45754 $as_echo_n "checking for float trig functions... " >&6; }
45755 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45756 $as_echo_n "(cached) " >&6
45757 else
45758
45759
45760 ac_ext=cpp
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45765
45766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h. */
45768 #include <math.h>
45769 int
45770 main ()
45771 {
45772 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45773 ;
45774 return 0;
45775 }
45776 _ACEOF
45777 if ac_fn_cxx_try_compile "$LINENO"; then :
45778 glibcxx_cv_func_float_trig_use=yes
45779 else
45780 glibcxx_cv_func_float_trig_use=no
45781 fi
45782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45783 ac_ext=c
45784 ac_cpp='$CPP $CPPFLAGS'
45785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45788
45789 fi
45790
45791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45792 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45793 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45794 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45795 do :
45796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45798 eval as_val=\$$as_ac_var
45799 if test "x$as_val" = x""yes; then :
45800 cat >>confdefs.h <<_ACEOF
45801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45802 _ACEOF
45803
45804 fi
45805 done
45806
45807 else
45808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45809 $as_echo_n "checking for _float trig functions... " >&6; }
45810 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45811 $as_echo_n "(cached) " >&6
45812 else
45813
45814
45815 ac_ext=cpp
45816 ac_cpp='$CXXCPP $CPPFLAGS'
45817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45820
45821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45822 /* end confdefs.h. */
45823 #include <math.h>
45824 int
45825 main ()
45826 {
45827 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45828 ;
45829 return 0;
45830 }
45831 _ACEOF
45832 if ac_fn_cxx_try_compile "$LINENO"; then :
45833 glibcxx_cv_func__float_trig_use=yes
45834 else
45835 glibcxx_cv_func__float_trig_use=no
45836 fi
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45838 ac_ext=c
45839 ac_cpp='$CPP $CPPFLAGS'
45840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843
45844 fi
45845
45846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45847 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45848 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45849 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45850 do :
45851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45853 eval as_val=\$$as_ac_var
45854 if test "x$as_val" = x""yes; then :
45855 cat >>confdefs.h <<_ACEOF
45856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45857 _ACEOF
45858
45859 fi
45860 done
45861
45862 fi
45863 fi
45864
45865
45866
45867
45868
45869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45870 $as_echo_n "checking for float round functions... " >&6; }
45871 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45872 $as_echo_n "(cached) " >&6
45873 else
45874
45875
45876 ac_ext=cpp
45877 ac_cpp='$CXXCPP $CPPFLAGS'
45878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45881
45882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45883 /* end confdefs.h. */
45884 #include <math.h>
45885 int
45886 main ()
45887 {
45888 ceilf (0); floorf (0);
45889 ;
45890 return 0;
45891 }
45892 _ACEOF
45893 if ac_fn_cxx_try_compile "$LINENO"; then :
45894 glibcxx_cv_func_float_round_use=yes
45895 else
45896 glibcxx_cv_func_float_round_use=no
45897 fi
45898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45899 ac_ext=c
45900 ac_cpp='$CPP $CPPFLAGS'
45901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45904
45905 fi
45906
45907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45908 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45909 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45910 for ac_func in ceilf floorf
45911 do :
45912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45914 eval as_val=\$$as_ac_var
45915 if test "x$as_val" = x""yes; then :
45916 cat >>confdefs.h <<_ACEOF
45917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45918 _ACEOF
45919
45920 fi
45921 done
45922
45923 else
45924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45925 $as_echo_n "checking for _float round functions... " >&6; }
45926 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45927 $as_echo_n "(cached) " >&6
45928 else
45929
45930
45931 ac_ext=cpp
45932 ac_cpp='$CXXCPP $CPPFLAGS'
45933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45936
45937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45938 /* end confdefs.h. */
45939 #include <math.h>
45940 int
45941 main ()
45942 {
45943 _ceilf (0); _floorf (0);
45944 ;
45945 return 0;
45946 }
45947 _ACEOF
45948 if ac_fn_cxx_try_compile "$LINENO"; then :
45949 glibcxx_cv_func__float_round_use=yes
45950 else
45951 glibcxx_cv_func__float_round_use=no
45952 fi
45953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45954 ac_ext=c
45955 ac_cpp='$CPP $CPPFLAGS'
45956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45959
45960 fi
45961
45962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45963 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45964 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45965 for ac_func in _ceilf _floorf
45966 do :
45967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45969 eval as_val=\$$as_ac_var
45970 if test "x$as_val" = x""yes; then :
45971 cat >>confdefs.h <<_ACEOF
45972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45973 _ACEOF
45974
45975 fi
45976 done
45977
45978 fi
45979 fi
45980
45981
45982
45983
45984
45985
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45987 $as_echo_n "checking for expf declaration... " >&6; }
45988 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45989 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45990 $as_echo_n "(cached) " >&6
45991 else
45992
45993
45994 ac_ext=cpp
45995 ac_cpp='$CXXCPP $CPPFLAGS'
45996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45999
46000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46001 /* end confdefs.h. */
46002 #include <math.h>
46003 #ifdef HAVE_IEEEFP_H
46004 #include <ieeefp.h>
46005 #endif
46006
46007 int
46008 main ()
46009 {
46010 expf(0);
46011 ;
46012 return 0;
46013 }
46014 _ACEOF
46015 if ac_fn_cxx_try_compile "$LINENO"; then :
46016 glibcxx_cv_func_expf_use=yes
46017 else
46018 glibcxx_cv_func_expf_use=no
46019 fi
46020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46026
46027
46028 fi
46029
46030 fi
46031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46032 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46033
46034 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46035 for ac_func in expf
46036 do :
46037 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46038 if test "x$ac_cv_func_expf" = x""yes; then :
46039 cat >>confdefs.h <<_ACEOF
46040 #define HAVE_EXPF 1
46041 _ACEOF
46042
46043 fi
46044 done
46045
46046 else
46047
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46049 $as_echo_n "checking for _expf declaration... " >&6; }
46050 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46051 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46052 $as_echo_n "(cached) " >&6
46053 else
46054
46055
46056 ac_ext=cpp
46057 ac_cpp='$CXXCPP $CPPFLAGS'
46058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46061
46062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46063 /* end confdefs.h. */
46064 #include <math.h>
46065 #ifdef HAVE_IEEEFP_H
46066 #include <ieeefp.h>
46067 #endif
46068
46069 int
46070 main ()
46071 {
46072 _expf(0);
46073 ;
46074 return 0;
46075 }
46076 _ACEOF
46077 if ac_fn_cxx_try_compile "$LINENO"; then :
46078 glibcxx_cv_func__expf_use=yes
46079 else
46080 glibcxx_cv_func__expf_use=no
46081 fi
46082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46083 ac_ext=c
46084 ac_cpp='$CPP $CPPFLAGS'
46085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46088
46089
46090 fi
46091
46092 fi
46093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46094 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46095
46096 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46097 for ac_func in _expf
46098 do :
46099 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46100 if test "x$ac_cv_func__expf" = x""yes; then :
46101 cat >>confdefs.h <<_ACEOF
46102 #define HAVE__EXPF 1
46103 _ACEOF
46104
46105 fi
46106 done
46107
46108 fi
46109 fi
46110
46111
46112
46113
46114
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46116 $as_echo_n "checking for isnanf declaration... " >&6; }
46117 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46118 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46119 $as_echo_n "(cached) " >&6
46120 else
46121
46122
46123 ac_ext=cpp
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46128
46129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46130 /* end confdefs.h. */
46131 #include <math.h>
46132 #ifdef HAVE_IEEEFP_H
46133 #include <ieeefp.h>
46134 #endif
46135
46136 int
46137 main ()
46138 {
46139 isnanf(0);
46140 ;
46141 return 0;
46142 }
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145 glibcxx_cv_func_isnanf_use=yes
46146 else
46147 glibcxx_cv_func_isnanf_use=no
46148 fi
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150 ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46155
46156
46157 fi
46158
46159 fi
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46161 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46162
46163 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46164 for ac_func in isnanf
46165 do :
46166 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46167 if test "x$ac_cv_func_isnanf" = x""yes; then :
46168 cat >>confdefs.h <<_ACEOF
46169 #define HAVE_ISNANF 1
46170 _ACEOF
46171
46172 fi
46173 done
46174
46175 else
46176
46177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46178 $as_echo_n "checking for _isnanf declaration... " >&6; }
46179 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46180 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46181 $as_echo_n "(cached) " >&6
46182 else
46183
46184
46185 ac_ext=cpp
46186 ac_cpp='$CXXCPP $CPPFLAGS'
46187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46190
46191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46192 /* end confdefs.h. */
46193 #include <math.h>
46194 #ifdef HAVE_IEEEFP_H
46195 #include <ieeefp.h>
46196 #endif
46197
46198 int
46199 main ()
46200 {
46201 _isnanf(0);
46202 ;
46203 return 0;
46204 }
46205 _ACEOF
46206 if ac_fn_cxx_try_compile "$LINENO"; then :
46207 glibcxx_cv_func__isnanf_use=yes
46208 else
46209 glibcxx_cv_func__isnanf_use=no
46210 fi
46211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46217
46218
46219 fi
46220
46221 fi
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46223 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46224
46225 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46226 for ac_func in _isnanf
46227 do :
46228 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46229 if test "x$ac_cv_func__isnanf" = x""yes; then :
46230 cat >>confdefs.h <<_ACEOF
46231 #define HAVE__ISNANF 1
46232 _ACEOF
46233
46234 fi
46235 done
46236
46237 fi
46238 fi
46239
46240
46241
46242
46243
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46245 $as_echo_n "checking for isinff declaration... " >&6; }
46246 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46247 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46250
46251
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46257
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46261 #ifdef HAVE_IEEEFP_H
46262 #include <ieeefp.h>
46263 #endif
46264
46265 int
46266 main ()
46267 {
46268 isinff(0);
46269 ;
46270 return 0;
46271 }
46272 _ACEOF
46273 if ac_fn_cxx_try_compile "$LINENO"; then :
46274 glibcxx_cv_func_isinff_use=yes
46275 else
46276 glibcxx_cv_func_isinff_use=no
46277 fi
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46284
46285
46286 fi
46287
46288 fi
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46290 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46291
46292 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46293 for ac_func in isinff
46294 do :
46295 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46296 if test "x$ac_cv_func_isinff" = x""yes; then :
46297 cat >>confdefs.h <<_ACEOF
46298 #define HAVE_ISINFF 1
46299 _ACEOF
46300
46301 fi
46302 done
46303
46304 else
46305
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46307 $as_echo_n "checking for _isinff declaration... " >&6; }
46308 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46309 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46310 $as_echo_n "(cached) " >&6
46311 else
46312
46313
46314 ac_ext=cpp
46315 ac_cpp='$CXXCPP $CPPFLAGS'
46316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46319
46320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46321 /* end confdefs.h. */
46322 #include <math.h>
46323 #ifdef HAVE_IEEEFP_H
46324 #include <ieeefp.h>
46325 #endif
46326
46327 int
46328 main ()
46329 {
46330 _isinff(0);
46331 ;
46332 return 0;
46333 }
46334 _ACEOF
46335 if ac_fn_cxx_try_compile "$LINENO"; then :
46336 glibcxx_cv_func__isinff_use=yes
46337 else
46338 glibcxx_cv_func__isinff_use=no
46339 fi
46340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46341 ac_ext=c
46342 ac_cpp='$CPP $CPPFLAGS'
46343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46346
46347
46348 fi
46349
46350 fi
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46352 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46353
46354 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46355 for ac_func in _isinff
46356 do :
46357 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46358 if test "x$ac_cv_func__isinff" = x""yes; then :
46359 cat >>confdefs.h <<_ACEOF
46360 #define HAVE__ISINFF 1
46361 _ACEOF
46362
46363 fi
46364 done
46365
46366 fi
46367 fi
46368
46369
46370
46371
46372
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46374 $as_echo_n "checking for atan2f declaration... " >&6; }
46375 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46376 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46379
46380
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46386
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46390 int
46391 main ()
46392 {
46393 atan2f(0, 0);
46394 ;
46395 return 0;
46396 }
46397 _ACEOF
46398 if ac_fn_cxx_try_compile "$LINENO"; then :
46399 glibcxx_cv_func_atan2f_use=yes
46400 else
46401 glibcxx_cv_func_atan2f_use=no
46402 fi
46403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46404 ac_ext=c
46405 ac_cpp='$CPP $CPPFLAGS'
46406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46409
46410
46411 fi
46412
46413 fi
46414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46415 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46416
46417 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46418 for ac_func in atan2f
46419 do :
46420 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46421 if test "x$ac_cv_func_atan2f" = x""yes; then :
46422 cat >>confdefs.h <<_ACEOF
46423 #define HAVE_ATAN2F 1
46424 _ACEOF
46425
46426 fi
46427 done
46428
46429 else
46430
46431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46432 $as_echo_n "checking for _atan2f declaration... " >&6; }
46433 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46434 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46435 $as_echo_n "(cached) " >&6
46436 else
46437
46438
46439 ac_ext=cpp
46440 ac_cpp='$CXXCPP $CPPFLAGS'
46441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46444
46445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46446 /* end confdefs.h. */
46447 #include <math.h>
46448 int
46449 main ()
46450 {
46451 _atan2f(0, 0);
46452 ;
46453 return 0;
46454 }
46455 _ACEOF
46456 if ac_fn_cxx_try_compile "$LINENO"; then :
46457 glibcxx_cv_func__atan2f_use=yes
46458 else
46459 glibcxx_cv_func__atan2f_use=no
46460 fi
46461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46462 ac_ext=c
46463 ac_cpp='$CPP $CPPFLAGS'
46464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46467
46468
46469 fi
46470
46471 fi
46472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46473 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46474
46475 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46476 for ac_func in _atan2f
46477 do :
46478 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46479 if test "x$ac_cv_func__atan2f" = x""yes; then :
46480 cat >>confdefs.h <<_ACEOF
46481 #define HAVE__ATAN2F 1
46482 _ACEOF
46483
46484 fi
46485 done
46486
46487 fi
46488 fi
46489
46490
46491
46492
46493
46494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46495 $as_echo_n "checking for fabsf declaration... " >&6; }
46496 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46497 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46498 $as_echo_n "(cached) " >&6
46499 else
46500
46501
46502 ac_ext=cpp
46503 ac_cpp='$CXXCPP $CPPFLAGS'
46504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46507
46508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46509 /* end confdefs.h. */
46510 #include <math.h>
46511 #ifdef HAVE_IEEEFP_H
46512 #include <ieeefp.h>
46513 #endif
46514
46515 int
46516 main ()
46517 {
46518 fabsf(0);
46519 ;
46520 return 0;
46521 }
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524 glibcxx_cv_func_fabsf_use=yes
46525 else
46526 glibcxx_cv_func_fabsf_use=no
46527 fi
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529 ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46534
46535
46536 fi
46537
46538 fi
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46540 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46541
46542 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46543 for ac_func in fabsf
46544 do :
46545 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46546 if test "x$ac_cv_func_fabsf" = x""yes; then :
46547 cat >>confdefs.h <<_ACEOF
46548 #define HAVE_FABSF 1
46549 _ACEOF
46550
46551 fi
46552 done
46553
46554 else
46555
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46557 $as_echo_n "checking for _fabsf declaration... " >&6; }
46558 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46559 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46560 $as_echo_n "(cached) " >&6
46561 else
46562
46563
46564 ac_ext=cpp
46565 ac_cpp='$CXXCPP $CPPFLAGS'
46566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46569
46570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46571 /* end confdefs.h. */
46572 #include <math.h>
46573 #ifdef HAVE_IEEEFP_H
46574 #include <ieeefp.h>
46575 #endif
46576
46577 int
46578 main ()
46579 {
46580 _fabsf(0);
46581 ;
46582 return 0;
46583 }
46584 _ACEOF
46585 if ac_fn_cxx_try_compile "$LINENO"; then :
46586 glibcxx_cv_func__fabsf_use=yes
46587 else
46588 glibcxx_cv_func__fabsf_use=no
46589 fi
46590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46591 ac_ext=c
46592 ac_cpp='$CPP $CPPFLAGS'
46593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46596
46597
46598 fi
46599
46600 fi
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46602 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46603
46604 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46605 for ac_func in _fabsf
46606 do :
46607 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46608 if test "x$ac_cv_func__fabsf" = x""yes; then :
46609 cat >>confdefs.h <<_ACEOF
46610 #define HAVE__FABSF 1
46611 _ACEOF
46612
46613 fi
46614 done
46615
46616 fi
46617 fi
46618
46619
46620
46621
46622
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46624 $as_echo_n "checking for fmodf declaration... " >&6; }
46625 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46626 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46627 $as_echo_n "(cached) " >&6
46628 else
46629
46630
46631 ac_ext=cpp
46632 ac_cpp='$CXXCPP $CPPFLAGS'
46633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46636
46637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46638 /* end confdefs.h. */
46639 #include <math.h>
46640 int
46641 main ()
46642 {
46643 fmodf(0, 0);
46644 ;
46645 return 0;
46646 }
46647 _ACEOF
46648 if ac_fn_cxx_try_compile "$LINENO"; then :
46649 glibcxx_cv_func_fmodf_use=yes
46650 else
46651 glibcxx_cv_func_fmodf_use=no
46652 fi
46653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46654 ac_ext=c
46655 ac_cpp='$CPP $CPPFLAGS'
46656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46659
46660
46661 fi
46662
46663 fi
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46665 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46666
46667 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46668 for ac_func in fmodf
46669 do :
46670 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46671 if test "x$ac_cv_func_fmodf" = x""yes; then :
46672 cat >>confdefs.h <<_ACEOF
46673 #define HAVE_FMODF 1
46674 _ACEOF
46675
46676 fi
46677 done
46678
46679 else
46680
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46682 $as_echo_n "checking for _fmodf declaration... " >&6; }
46683 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46684 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46685 $as_echo_n "(cached) " >&6
46686 else
46687
46688
46689 ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46694
46695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h. */
46697 #include <math.h>
46698 int
46699 main ()
46700 {
46701 _fmodf(0, 0);
46702 ;
46703 return 0;
46704 }
46705 _ACEOF
46706 if ac_fn_cxx_try_compile "$LINENO"; then :
46707 glibcxx_cv_func__fmodf_use=yes
46708 else
46709 glibcxx_cv_func__fmodf_use=no
46710 fi
46711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46712 ac_ext=c
46713 ac_cpp='$CPP $CPPFLAGS'
46714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46717
46718
46719 fi
46720
46721 fi
46722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46723 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46724
46725 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46726 for ac_func in _fmodf
46727 do :
46728 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46729 if test "x$ac_cv_func__fmodf" = x""yes; then :
46730 cat >>confdefs.h <<_ACEOF
46731 #define HAVE__FMODF 1
46732 _ACEOF
46733
46734 fi
46735 done
46736
46737 fi
46738 fi
46739
46740
46741
46742
46743
46744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46745 $as_echo_n "checking for frexpf declaration... " >&6; }
46746 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46747 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46748 $as_echo_n "(cached) " >&6
46749 else
46750
46751
46752 ac_ext=cpp
46753 ac_cpp='$CXXCPP $CPPFLAGS'
46754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46757
46758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46759 /* end confdefs.h. */
46760 #include <math.h>
46761 int
46762 main ()
46763 {
46764 frexpf(0, 0);
46765 ;
46766 return 0;
46767 }
46768 _ACEOF
46769 if ac_fn_cxx_try_compile "$LINENO"; then :
46770 glibcxx_cv_func_frexpf_use=yes
46771 else
46772 glibcxx_cv_func_frexpf_use=no
46773 fi
46774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775 ac_ext=c
46776 ac_cpp='$CPP $CPPFLAGS'
46777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46780
46781
46782 fi
46783
46784 fi
46785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46786 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46787
46788 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46789 for ac_func in frexpf
46790 do :
46791 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46792 if test "x$ac_cv_func_frexpf" = x""yes; then :
46793 cat >>confdefs.h <<_ACEOF
46794 #define HAVE_FREXPF 1
46795 _ACEOF
46796
46797 fi
46798 done
46799
46800 else
46801
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46803 $as_echo_n "checking for _frexpf declaration... " >&6; }
46804 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46805 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46806 $as_echo_n "(cached) " >&6
46807 else
46808
46809
46810 ac_ext=cpp
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46815
46816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h. */
46818 #include <math.h>
46819 int
46820 main ()
46821 {
46822 _frexpf(0, 0);
46823 ;
46824 return 0;
46825 }
46826 _ACEOF
46827 if ac_fn_cxx_try_compile "$LINENO"; then :
46828 glibcxx_cv_func__frexpf_use=yes
46829 else
46830 glibcxx_cv_func__frexpf_use=no
46831 fi
46832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833 ac_ext=c
46834 ac_cpp='$CPP $CPPFLAGS'
46835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46838
46839
46840 fi
46841
46842 fi
46843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46844 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46845
46846 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46847 for ac_func in _frexpf
46848 do :
46849 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46850 if test "x$ac_cv_func__frexpf" = x""yes; then :
46851 cat >>confdefs.h <<_ACEOF
46852 #define HAVE__FREXPF 1
46853 _ACEOF
46854
46855 fi
46856 done
46857
46858 fi
46859 fi
46860
46861
46862
46863
46864
46865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46866 $as_echo_n "checking for hypotf declaration... " >&6; }
46867 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46868 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46869 $as_echo_n "(cached) " >&6
46870 else
46871
46872
46873 ac_ext=cpp
46874 ac_cpp='$CXXCPP $CPPFLAGS'
46875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46878
46879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46880 /* end confdefs.h. */
46881 #include <math.h>
46882 int
46883 main ()
46884 {
46885 hypotf(0, 0);
46886 ;
46887 return 0;
46888 }
46889 _ACEOF
46890 if ac_fn_cxx_try_compile "$LINENO"; then :
46891 glibcxx_cv_func_hypotf_use=yes
46892 else
46893 glibcxx_cv_func_hypotf_use=no
46894 fi
46895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46896 ac_ext=c
46897 ac_cpp='$CPP $CPPFLAGS'
46898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46901
46902
46903 fi
46904
46905 fi
46906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46907 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46908
46909 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46910 for ac_func in hypotf
46911 do :
46912 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46913 if test "x$ac_cv_func_hypotf" = x""yes; then :
46914 cat >>confdefs.h <<_ACEOF
46915 #define HAVE_HYPOTF 1
46916 _ACEOF
46917
46918 fi
46919 done
46920
46921 else
46922
46923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46924 $as_echo_n "checking for _hypotf declaration... " >&6; }
46925 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46926 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46927 $as_echo_n "(cached) " >&6
46928 else
46929
46930
46931 ac_ext=cpp
46932 ac_cpp='$CXXCPP $CPPFLAGS'
46933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46936
46937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46938 /* end confdefs.h. */
46939 #include <math.h>
46940 int
46941 main ()
46942 {
46943 _hypotf(0, 0);
46944 ;
46945 return 0;
46946 }
46947 _ACEOF
46948 if ac_fn_cxx_try_compile "$LINENO"; then :
46949 glibcxx_cv_func__hypotf_use=yes
46950 else
46951 glibcxx_cv_func__hypotf_use=no
46952 fi
46953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46954 ac_ext=c
46955 ac_cpp='$CPP $CPPFLAGS'
46956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46959
46960
46961 fi
46962
46963 fi
46964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46965 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46966
46967 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46968 for ac_func in _hypotf
46969 do :
46970 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46971 if test "x$ac_cv_func__hypotf" = x""yes; then :
46972 cat >>confdefs.h <<_ACEOF
46973 #define HAVE__HYPOTF 1
46974 _ACEOF
46975
46976 fi
46977 done
46978
46979 fi
46980 fi
46981
46982
46983
46984
46985
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46987 $as_echo_n "checking for ldexpf declaration... " >&6; }
46988 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46989 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46990 $as_echo_n "(cached) " >&6
46991 else
46992
46993
46994 ac_ext=cpp
46995 ac_cpp='$CXXCPP $CPPFLAGS'
46996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46999
47000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47001 /* end confdefs.h. */
47002 #include <math.h>
47003 int
47004 main ()
47005 {
47006 ldexpf(0, 0);
47007 ;
47008 return 0;
47009 }
47010 _ACEOF
47011 if ac_fn_cxx_try_compile "$LINENO"; then :
47012 glibcxx_cv_func_ldexpf_use=yes
47013 else
47014 glibcxx_cv_func_ldexpf_use=no
47015 fi
47016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47017 ac_ext=c
47018 ac_cpp='$CPP $CPPFLAGS'
47019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47022
47023
47024 fi
47025
47026 fi
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47028 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47029
47030 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47031 for ac_func in ldexpf
47032 do :
47033 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47034 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47035 cat >>confdefs.h <<_ACEOF
47036 #define HAVE_LDEXPF 1
47037 _ACEOF
47038
47039 fi
47040 done
47041
47042 else
47043
47044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47045 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47046 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47047 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47048 $as_echo_n "(cached) " >&6
47049 else
47050
47051
47052 ac_ext=cpp
47053 ac_cpp='$CXXCPP $CPPFLAGS'
47054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47057
47058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47059 /* end confdefs.h. */
47060 #include <math.h>
47061 int
47062 main ()
47063 {
47064 _ldexpf(0, 0);
47065 ;
47066 return 0;
47067 }
47068 _ACEOF
47069 if ac_fn_cxx_try_compile "$LINENO"; then :
47070 glibcxx_cv_func__ldexpf_use=yes
47071 else
47072 glibcxx_cv_func__ldexpf_use=no
47073 fi
47074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47075 ac_ext=c
47076 ac_cpp='$CPP $CPPFLAGS'
47077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47080
47081
47082 fi
47083
47084 fi
47085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47086 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47087
47088 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47089 for ac_func in _ldexpf
47090 do :
47091 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47092 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47093 cat >>confdefs.h <<_ACEOF
47094 #define HAVE__LDEXPF 1
47095 _ACEOF
47096
47097 fi
47098 done
47099
47100 fi
47101 fi
47102
47103
47104
47105
47106
47107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47108 $as_echo_n "checking for logf declaration... " >&6; }
47109 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47110 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47111 $as_echo_n "(cached) " >&6
47112 else
47113
47114
47115 ac_ext=cpp
47116 ac_cpp='$CXXCPP $CPPFLAGS'
47117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47120
47121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47122 /* end confdefs.h. */
47123 #include <math.h>
47124 #ifdef HAVE_IEEEFP_H
47125 #include <ieeefp.h>
47126 #endif
47127
47128 int
47129 main ()
47130 {
47131 logf(0);
47132 ;
47133 return 0;
47134 }
47135 _ACEOF
47136 if ac_fn_cxx_try_compile "$LINENO"; then :
47137 glibcxx_cv_func_logf_use=yes
47138 else
47139 glibcxx_cv_func_logf_use=no
47140 fi
47141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47142 ac_ext=c
47143 ac_cpp='$CPP $CPPFLAGS'
47144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47147
47148
47149 fi
47150
47151 fi
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47153 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47154
47155 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47156 for ac_func in logf
47157 do :
47158 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47159 if test "x$ac_cv_func_logf" = x""yes; then :
47160 cat >>confdefs.h <<_ACEOF
47161 #define HAVE_LOGF 1
47162 _ACEOF
47163
47164 fi
47165 done
47166
47167 else
47168
47169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47170 $as_echo_n "checking for _logf declaration... " >&6; }
47171 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47172 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47173 $as_echo_n "(cached) " >&6
47174 else
47175
47176
47177 ac_ext=cpp
47178 ac_cpp='$CXXCPP $CPPFLAGS'
47179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47182
47183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47184 /* end confdefs.h. */
47185 #include <math.h>
47186 #ifdef HAVE_IEEEFP_H
47187 #include <ieeefp.h>
47188 #endif
47189
47190 int
47191 main ()
47192 {
47193 _logf(0);
47194 ;
47195 return 0;
47196 }
47197 _ACEOF
47198 if ac_fn_cxx_try_compile "$LINENO"; then :
47199 glibcxx_cv_func__logf_use=yes
47200 else
47201 glibcxx_cv_func__logf_use=no
47202 fi
47203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47204 ac_ext=c
47205 ac_cpp='$CPP $CPPFLAGS'
47206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47209
47210
47211 fi
47212
47213 fi
47214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47215 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47216
47217 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47218 for ac_func in _logf
47219 do :
47220 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47221 if test "x$ac_cv_func__logf" = x""yes; then :
47222 cat >>confdefs.h <<_ACEOF
47223 #define HAVE__LOGF 1
47224 _ACEOF
47225
47226 fi
47227 done
47228
47229 fi
47230 fi
47231
47232
47233
47234
47235
47236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47237 $as_echo_n "checking for log10f declaration... " >&6; }
47238 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47239 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47240 $as_echo_n "(cached) " >&6
47241 else
47242
47243
47244 ac_ext=cpp
47245 ac_cpp='$CXXCPP $CPPFLAGS'
47246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47249
47250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47251 /* end confdefs.h. */
47252 #include <math.h>
47253 #ifdef HAVE_IEEEFP_H
47254 #include <ieeefp.h>
47255 #endif
47256
47257 int
47258 main ()
47259 {
47260 log10f(0);
47261 ;
47262 return 0;
47263 }
47264 _ACEOF
47265 if ac_fn_cxx_try_compile "$LINENO"; then :
47266 glibcxx_cv_func_log10f_use=yes
47267 else
47268 glibcxx_cv_func_log10f_use=no
47269 fi
47270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47271 ac_ext=c
47272 ac_cpp='$CPP $CPPFLAGS'
47273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47276
47277
47278 fi
47279
47280 fi
47281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47282 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47283
47284 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47285 for ac_func in log10f
47286 do :
47287 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47288 if test "x$ac_cv_func_log10f" = x""yes; then :
47289 cat >>confdefs.h <<_ACEOF
47290 #define HAVE_LOG10F 1
47291 _ACEOF
47292
47293 fi
47294 done
47295
47296 else
47297
47298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47299 $as_echo_n "checking for _log10f declaration... " >&6; }
47300 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47301 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47302 $as_echo_n "(cached) " >&6
47303 else
47304
47305
47306 ac_ext=cpp
47307 ac_cpp='$CXXCPP $CPPFLAGS'
47308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47311
47312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47313 /* end confdefs.h. */
47314 #include <math.h>
47315 #ifdef HAVE_IEEEFP_H
47316 #include <ieeefp.h>
47317 #endif
47318
47319 int
47320 main ()
47321 {
47322 _log10f(0);
47323 ;
47324 return 0;
47325 }
47326 _ACEOF
47327 if ac_fn_cxx_try_compile "$LINENO"; then :
47328 glibcxx_cv_func__log10f_use=yes
47329 else
47330 glibcxx_cv_func__log10f_use=no
47331 fi
47332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47333 ac_ext=c
47334 ac_cpp='$CPP $CPPFLAGS'
47335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47338
47339
47340 fi
47341
47342 fi
47343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47344 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47345
47346 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47347 for ac_func in _log10f
47348 do :
47349 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47350 if test "x$ac_cv_func__log10f" = x""yes; then :
47351 cat >>confdefs.h <<_ACEOF
47352 #define HAVE__LOG10F 1
47353 _ACEOF
47354
47355 fi
47356 done
47357
47358 fi
47359 fi
47360
47361
47362
47363
47364
47365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47366 $as_echo_n "checking for modff declaration... " >&6; }
47367 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47368 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47369 $as_echo_n "(cached) " >&6
47370 else
47371
47372
47373 ac_ext=cpp
47374 ac_cpp='$CXXCPP $CPPFLAGS'
47375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47378
47379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47380 /* end confdefs.h. */
47381 #include <math.h>
47382 int
47383 main ()
47384 {
47385 modff(0, 0);
47386 ;
47387 return 0;
47388 }
47389 _ACEOF
47390 if ac_fn_cxx_try_compile "$LINENO"; then :
47391 glibcxx_cv_func_modff_use=yes
47392 else
47393 glibcxx_cv_func_modff_use=no
47394 fi
47395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47396 ac_ext=c
47397 ac_cpp='$CPP $CPPFLAGS'
47398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47401
47402
47403 fi
47404
47405 fi
47406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47407 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47408
47409 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47410 for ac_func in modff
47411 do :
47412 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47413 if test "x$ac_cv_func_modff" = x""yes; then :
47414 cat >>confdefs.h <<_ACEOF
47415 #define HAVE_MODFF 1
47416 _ACEOF
47417
47418 fi
47419 done
47420
47421 else
47422
47423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47424 $as_echo_n "checking for _modff declaration... " >&6; }
47425 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47426 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47427 $as_echo_n "(cached) " >&6
47428 else
47429
47430
47431 ac_ext=cpp
47432 ac_cpp='$CXXCPP $CPPFLAGS'
47433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47436
47437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47438 /* end confdefs.h. */
47439 #include <math.h>
47440 int
47441 main ()
47442 {
47443 _modff(0, 0);
47444 ;
47445 return 0;
47446 }
47447 _ACEOF
47448 if ac_fn_cxx_try_compile "$LINENO"; then :
47449 glibcxx_cv_func__modff_use=yes
47450 else
47451 glibcxx_cv_func__modff_use=no
47452 fi
47453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47454 ac_ext=c
47455 ac_cpp='$CPP $CPPFLAGS'
47456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47459
47460
47461 fi
47462
47463 fi
47464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47465 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47466
47467 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47468 for ac_func in _modff
47469 do :
47470 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47471 if test "x$ac_cv_func__modff" = x""yes; then :
47472 cat >>confdefs.h <<_ACEOF
47473 #define HAVE__MODFF 1
47474 _ACEOF
47475
47476 fi
47477 done
47478
47479 fi
47480 fi
47481
47482
47483
47484
47485
47486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47487 $as_echo_n "checking for modf declaration... " >&6; }
47488 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47489 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47490 $as_echo_n "(cached) " >&6
47491 else
47492
47493
47494 ac_ext=cpp
47495 ac_cpp='$CXXCPP $CPPFLAGS'
47496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47499
47500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47501 /* end confdefs.h. */
47502 #include <math.h>
47503 int
47504 main ()
47505 {
47506 modf(0, 0);
47507 ;
47508 return 0;
47509 }
47510 _ACEOF
47511 if ac_fn_cxx_try_compile "$LINENO"; then :
47512 glibcxx_cv_func_modf_use=yes
47513 else
47514 glibcxx_cv_func_modf_use=no
47515 fi
47516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47517 ac_ext=c
47518 ac_cpp='$CPP $CPPFLAGS'
47519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47522
47523
47524 fi
47525
47526 fi
47527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47528 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47529
47530 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47531 for ac_func in modf
47532 do :
47533 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47534 if test "x$ac_cv_func_modf" = x""yes; then :
47535 cat >>confdefs.h <<_ACEOF
47536 #define HAVE_MODF 1
47537 _ACEOF
47538
47539 fi
47540 done
47541
47542 else
47543
47544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47545 $as_echo_n "checking for _modf declaration... " >&6; }
47546 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47547 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47548 $as_echo_n "(cached) " >&6
47549 else
47550
47551
47552 ac_ext=cpp
47553 ac_cpp='$CXXCPP $CPPFLAGS'
47554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47557
47558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47559 /* end confdefs.h. */
47560 #include <math.h>
47561 int
47562 main ()
47563 {
47564 _modf(0, 0);
47565 ;
47566 return 0;
47567 }
47568 _ACEOF
47569 if ac_fn_cxx_try_compile "$LINENO"; then :
47570 glibcxx_cv_func__modf_use=yes
47571 else
47572 glibcxx_cv_func__modf_use=no
47573 fi
47574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47575 ac_ext=c
47576 ac_cpp='$CPP $CPPFLAGS'
47577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47580
47581
47582 fi
47583
47584 fi
47585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47586 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47587
47588 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47589 for ac_func in _modf
47590 do :
47591 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47592 if test "x$ac_cv_func__modf" = x""yes; then :
47593 cat >>confdefs.h <<_ACEOF
47594 #define HAVE__MODF 1
47595 _ACEOF
47596
47597 fi
47598 done
47599
47600 fi
47601 fi
47602
47603
47604
47605
47606
47607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47608 $as_echo_n "checking for powf declaration... " >&6; }
47609 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47610 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47611 $as_echo_n "(cached) " >&6
47612 else
47613
47614
47615 ac_ext=cpp
47616 ac_cpp='$CXXCPP $CPPFLAGS'
47617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47620
47621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47622 /* end confdefs.h. */
47623 #include <math.h>
47624 int
47625 main ()
47626 {
47627 powf(0, 0);
47628 ;
47629 return 0;
47630 }
47631 _ACEOF
47632 if ac_fn_cxx_try_compile "$LINENO"; then :
47633 glibcxx_cv_func_powf_use=yes
47634 else
47635 glibcxx_cv_func_powf_use=no
47636 fi
47637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47638 ac_ext=c
47639 ac_cpp='$CPP $CPPFLAGS'
47640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47643
47644
47645 fi
47646
47647 fi
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47649 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47650
47651 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47652 for ac_func in powf
47653 do :
47654 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47655 if test "x$ac_cv_func_powf" = x""yes; then :
47656 cat >>confdefs.h <<_ACEOF
47657 #define HAVE_POWF 1
47658 _ACEOF
47659
47660 fi
47661 done
47662
47663 else
47664
47665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47666 $as_echo_n "checking for _powf declaration... " >&6; }
47667 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47668 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47669 $as_echo_n "(cached) " >&6
47670 else
47671
47672
47673 ac_ext=cpp
47674 ac_cpp='$CXXCPP $CPPFLAGS'
47675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47678
47679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47680 /* end confdefs.h. */
47681 #include <math.h>
47682 int
47683 main ()
47684 {
47685 _powf(0, 0);
47686 ;
47687 return 0;
47688 }
47689 _ACEOF
47690 if ac_fn_cxx_try_compile "$LINENO"; then :
47691 glibcxx_cv_func__powf_use=yes
47692 else
47693 glibcxx_cv_func__powf_use=no
47694 fi
47695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47696 ac_ext=c
47697 ac_cpp='$CPP $CPPFLAGS'
47698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47701
47702
47703 fi
47704
47705 fi
47706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47707 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47708
47709 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47710 for ac_func in _powf
47711 do :
47712 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47713 if test "x$ac_cv_func__powf" = x""yes; then :
47714 cat >>confdefs.h <<_ACEOF
47715 #define HAVE__POWF 1
47716 _ACEOF
47717
47718 fi
47719 done
47720
47721 fi
47722 fi
47723
47724
47725
47726
47727
47728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47729 $as_echo_n "checking for sqrtf declaration... " >&6; }
47730 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47731 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47732 $as_echo_n "(cached) " >&6
47733 else
47734
47735
47736 ac_ext=cpp
47737 ac_cpp='$CXXCPP $CPPFLAGS'
47738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47741
47742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47743 /* end confdefs.h. */
47744 #include <math.h>
47745 #ifdef HAVE_IEEEFP_H
47746 #include <ieeefp.h>
47747 #endif
47748
47749 int
47750 main ()
47751 {
47752 sqrtf(0);
47753 ;
47754 return 0;
47755 }
47756 _ACEOF
47757 if ac_fn_cxx_try_compile "$LINENO"; then :
47758 glibcxx_cv_func_sqrtf_use=yes
47759 else
47760 glibcxx_cv_func_sqrtf_use=no
47761 fi
47762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47763 ac_ext=c
47764 ac_cpp='$CPP $CPPFLAGS'
47765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47768
47769
47770 fi
47771
47772 fi
47773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47774 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47775
47776 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47777 for ac_func in sqrtf
47778 do :
47779 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47780 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47781 cat >>confdefs.h <<_ACEOF
47782 #define HAVE_SQRTF 1
47783 _ACEOF
47784
47785 fi
47786 done
47787
47788 else
47789
47790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47791 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47792 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47793 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47794 $as_echo_n "(cached) " >&6
47795 else
47796
47797
47798 ac_ext=cpp
47799 ac_cpp='$CXXCPP $CPPFLAGS'
47800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47803
47804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47805 /* end confdefs.h. */
47806 #include <math.h>
47807 #ifdef HAVE_IEEEFP_H
47808 #include <ieeefp.h>
47809 #endif
47810
47811 int
47812 main ()
47813 {
47814 _sqrtf(0);
47815 ;
47816 return 0;
47817 }
47818 _ACEOF
47819 if ac_fn_cxx_try_compile "$LINENO"; then :
47820 glibcxx_cv_func__sqrtf_use=yes
47821 else
47822 glibcxx_cv_func__sqrtf_use=no
47823 fi
47824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47825 ac_ext=c
47826 ac_cpp='$CPP $CPPFLAGS'
47827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47830
47831
47832 fi
47833
47834 fi
47835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47836 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47837
47838 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47839 for ac_func in _sqrtf
47840 do :
47841 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47842 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47843 cat >>confdefs.h <<_ACEOF
47844 #define HAVE__SQRTF 1
47845 _ACEOF
47846
47847 fi
47848 done
47849
47850 fi
47851 fi
47852
47853
47854
47855
47856
47857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47858 $as_echo_n "checking for sincosf declaration... " >&6; }
47859 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47860 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47861 $as_echo_n "(cached) " >&6
47862 else
47863
47864
47865 ac_ext=cpp
47866 ac_cpp='$CXXCPP $CPPFLAGS'
47867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47870
47871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47872 /* end confdefs.h. */
47873 #include <math.h>
47874 int
47875 main ()
47876 {
47877 sincosf(0, 0, 0);
47878 ;
47879 return 0;
47880 }
47881 _ACEOF
47882 if ac_fn_cxx_try_compile "$LINENO"; then :
47883 glibcxx_cv_func_sincosf_use=yes
47884 else
47885 glibcxx_cv_func_sincosf_use=no
47886 fi
47887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47888 ac_ext=c
47889 ac_cpp='$CPP $CPPFLAGS'
47890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47893
47894
47895 fi
47896
47897 fi
47898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47899 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47900
47901 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47902 for ac_func in sincosf
47903 do :
47904 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47905 if test "x$ac_cv_func_sincosf" = x""yes; then :
47906 cat >>confdefs.h <<_ACEOF
47907 #define HAVE_SINCOSF 1
47908 _ACEOF
47909
47910 fi
47911 done
47912
47913 else
47914
47915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47916 $as_echo_n "checking for _sincosf declaration... " >&6; }
47917 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47918 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47919 $as_echo_n "(cached) " >&6
47920 else
47921
47922
47923 ac_ext=cpp
47924 ac_cpp='$CXXCPP $CPPFLAGS'
47925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47928
47929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47930 /* end confdefs.h. */
47931 #include <math.h>
47932 int
47933 main ()
47934 {
47935 _sincosf(0, 0, 0);
47936 ;
47937 return 0;
47938 }
47939 _ACEOF
47940 if ac_fn_cxx_try_compile "$LINENO"; then :
47941 glibcxx_cv_func__sincosf_use=yes
47942 else
47943 glibcxx_cv_func__sincosf_use=no
47944 fi
47945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47946 ac_ext=c
47947 ac_cpp='$CPP $CPPFLAGS'
47948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47951
47952
47953 fi
47954
47955 fi
47956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47957 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47958
47959 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47960 for ac_func in _sincosf
47961 do :
47962 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47963 if test "x$ac_cv_func__sincosf" = x""yes; then :
47964 cat >>confdefs.h <<_ACEOF
47965 #define HAVE__SINCOSF 1
47966 _ACEOF
47967
47968 fi
47969 done
47970
47971 fi
47972 fi
47973
47974
47975
47976
47977
47978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47979 $as_echo_n "checking for finitef declaration... " >&6; }
47980 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47981 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47982 $as_echo_n "(cached) " >&6
47983 else
47984
47985
47986 ac_ext=cpp
47987 ac_cpp='$CXXCPP $CPPFLAGS'
47988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47991
47992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47993 /* end confdefs.h. */
47994 #include <math.h>
47995 #ifdef HAVE_IEEEFP_H
47996 #include <ieeefp.h>
47997 #endif
47998
47999 int
48000 main ()
48001 {
48002 finitef(0);
48003 ;
48004 return 0;
48005 }
48006 _ACEOF
48007 if ac_fn_cxx_try_compile "$LINENO"; then :
48008 glibcxx_cv_func_finitef_use=yes
48009 else
48010 glibcxx_cv_func_finitef_use=no
48011 fi
48012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48013 ac_ext=c
48014 ac_cpp='$CPP $CPPFLAGS'
48015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48018
48019
48020 fi
48021
48022 fi
48023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48024 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48025
48026 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48027 for ac_func in finitef
48028 do :
48029 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48030 if test "x$ac_cv_func_finitef" = x""yes; then :
48031 cat >>confdefs.h <<_ACEOF
48032 #define HAVE_FINITEF 1
48033 _ACEOF
48034
48035 fi
48036 done
48037
48038 else
48039
48040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48041 $as_echo_n "checking for _finitef declaration... " >&6; }
48042 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48043 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48044 $as_echo_n "(cached) " >&6
48045 else
48046
48047
48048 ac_ext=cpp
48049 ac_cpp='$CXXCPP $CPPFLAGS'
48050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48053
48054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48055 /* end confdefs.h. */
48056 #include <math.h>
48057 #ifdef HAVE_IEEEFP_H
48058 #include <ieeefp.h>
48059 #endif
48060
48061 int
48062 main ()
48063 {
48064 _finitef(0);
48065 ;
48066 return 0;
48067 }
48068 _ACEOF
48069 if ac_fn_cxx_try_compile "$LINENO"; then :
48070 glibcxx_cv_func__finitef_use=yes
48071 else
48072 glibcxx_cv_func__finitef_use=no
48073 fi
48074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48075 ac_ext=c
48076 ac_cpp='$CPP $CPPFLAGS'
48077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48080
48081
48082 fi
48083
48084 fi
48085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48086 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48087
48088 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48089 for ac_func in _finitef
48090 do :
48091 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48092 if test "x$ac_cv_func__finitef" = x""yes; then :
48093 cat >>confdefs.h <<_ACEOF
48094 #define HAVE__FINITEF 1
48095 _ACEOF
48096
48097 fi
48098 done
48099
48100 fi
48101 fi
48102
48103
48104
48105
48106
48107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48108 $as_echo_n "checking for long double trig functions... " >&6; }
48109 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48110 $as_echo_n "(cached) " >&6
48111 else
48112
48113
48114 ac_ext=cpp
48115 ac_cpp='$CXXCPP $CPPFLAGS'
48116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48119
48120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48121 /* end confdefs.h. */
48122 #include <math.h>
48123 int
48124 main ()
48125 {
48126 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48127 ;
48128 return 0;
48129 }
48130 _ACEOF
48131 if ac_fn_cxx_try_compile "$LINENO"; then :
48132 glibcxx_cv_func_long_double_trig_use=yes
48133 else
48134 glibcxx_cv_func_long_double_trig_use=no
48135 fi
48136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48137 ac_ext=c
48138 ac_cpp='$CPP $CPPFLAGS'
48139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48142
48143 fi
48144
48145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48146 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48147 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48148 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48149 do :
48150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48152 eval as_val=\$$as_ac_var
48153 if test "x$as_val" = x""yes; then :
48154 cat >>confdefs.h <<_ACEOF
48155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48156 _ACEOF
48157
48158 fi
48159 done
48160
48161 else
48162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48163 $as_echo_n "checking for _long double trig functions... " >&6; }
48164 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48165 $as_echo_n "(cached) " >&6
48166 else
48167
48168
48169 ac_ext=cpp
48170 ac_cpp='$CXXCPP $CPPFLAGS'
48171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48174
48175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48176 /* end confdefs.h. */
48177 #include <math.h>
48178 int
48179 main ()
48180 {
48181 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48182 ;
48183 return 0;
48184 }
48185 _ACEOF
48186 if ac_fn_cxx_try_compile "$LINENO"; then :
48187 glibcxx_cv_func__long_double_trig_use=yes
48188 else
48189 glibcxx_cv_func__long_double_trig_use=no
48190 fi
48191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48192 ac_ext=c
48193 ac_cpp='$CPP $CPPFLAGS'
48194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48197
48198 fi
48199
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48201 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48202 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48203 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48204 do :
48205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48207 eval as_val=\$$as_ac_var
48208 if test "x$as_val" = x""yes; then :
48209 cat >>confdefs.h <<_ACEOF
48210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48211 _ACEOF
48212
48213 fi
48214 done
48215
48216 fi
48217 fi
48218
48219
48220
48221
48222
48223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48224 $as_echo_n "checking for long double round functions... " >&6; }
48225 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48226 $as_echo_n "(cached) " >&6
48227 else
48228
48229
48230 ac_ext=cpp
48231 ac_cpp='$CXXCPP $CPPFLAGS'
48232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48235
48236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48237 /* end confdefs.h. */
48238 #include <math.h>
48239 int
48240 main ()
48241 {
48242 ceill (0); floorl (0);
48243 ;
48244 return 0;
48245 }
48246 _ACEOF
48247 if ac_fn_cxx_try_compile "$LINENO"; then :
48248 glibcxx_cv_func_long_double_round_use=yes
48249 else
48250 glibcxx_cv_func_long_double_round_use=no
48251 fi
48252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48253 ac_ext=c
48254 ac_cpp='$CPP $CPPFLAGS'
48255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48258
48259 fi
48260
48261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48262 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48263 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48264 for ac_func in ceill floorl
48265 do :
48266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48268 eval as_val=\$$as_ac_var
48269 if test "x$as_val" = x""yes; then :
48270 cat >>confdefs.h <<_ACEOF
48271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48272 _ACEOF
48273
48274 fi
48275 done
48276
48277 else
48278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48279 $as_echo_n "checking for _long double round functions... " >&6; }
48280 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48281 $as_echo_n "(cached) " >&6
48282 else
48283
48284
48285 ac_ext=cpp
48286 ac_cpp='$CXXCPP $CPPFLAGS'
48287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48290
48291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48292 /* end confdefs.h. */
48293 #include <math.h>
48294 int
48295 main ()
48296 {
48297 _ceill (0); _floorl (0);
48298 ;
48299 return 0;
48300 }
48301 _ACEOF
48302 if ac_fn_cxx_try_compile "$LINENO"; then :
48303 glibcxx_cv_func__long_double_round_use=yes
48304 else
48305 glibcxx_cv_func__long_double_round_use=no
48306 fi
48307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48308 ac_ext=c
48309 ac_cpp='$CPP $CPPFLAGS'
48310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48313
48314 fi
48315
48316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48317 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48318 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48319 for ac_func in _ceill _floorl
48320 do :
48321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48323 eval as_val=\$$as_ac_var
48324 if test "x$as_val" = x""yes; then :
48325 cat >>confdefs.h <<_ACEOF
48326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48327 _ACEOF
48328
48329 fi
48330 done
48331
48332 fi
48333 fi
48334
48335
48336
48337
48338
48339
48340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48341 $as_echo_n "checking for isnanl declaration... " >&6; }
48342 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48343 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48344 $as_echo_n "(cached) " >&6
48345 else
48346
48347
48348 ac_ext=cpp
48349 ac_cpp='$CXXCPP $CPPFLAGS'
48350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48353
48354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48355 /* end confdefs.h. */
48356 #include <math.h>
48357 #ifdef HAVE_IEEEFP_H
48358 #include <ieeefp.h>
48359 #endif
48360
48361 int
48362 main ()
48363 {
48364 isnanl(0);
48365 ;
48366 return 0;
48367 }
48368 _ACEOF
48369 if ac_fn_cxx_try_compile "$LINENO"; then :
48370 glibcxx_cv_func_isnanl_use=yes
48371 else
48372 glibcxx_cv_func_isnanl_use=no
48373 fi
48374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48375 ac_ext=c
48376 ac_cpp='$CPP $CPPFLAGS'
48377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48380
48381
48382 fi
48383
48384 fi
48385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48386 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48387
48388 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48389 for ac_func in isnanl
48390 do :
48391 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48392 if test "x$ac_cv_func_isnanl" = x""yes; then :
48393 cat >>confdefs.h <<_ACEOF
48394 #define HAVE_ISNANL 1
48395 _ACEOF
48396
48397 fi
48398 done
48399
48400 else
48401
48402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48403 $as_echo_n "checking for _isnanl declaration... " >&6; }
48404 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48405 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48406 $as_echo_n "(cached) " >&6
48407 else
48408
48409
48410 ac_ext=cpp
48411 ac_cpp='$CXXCPP $CPPFLAGS'
48412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48415
48416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48417 /* end confdefs.h. */
48418 #include <math.h>
48419 #ifdef HAVE_IEEEFP_H
48420 #include <ieeefp.h>
48421 #endif
48422
48423 int
48424 main ()
48425 {
48426 _isnanl(0);
48427 ;
48428 return 0;
48429 }
48430 _ACEOF
48431 if ac_fn_cxx_try_compile "$LINENO"; then :
48432 glibcxx_cv_func__isnanl_use=yes
48433 else
48434 glibcxx_cv_func__isnanl_use=no
48435 fi
48436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48437 ac_ext=c
48438 ac_cpp='$CPP $CPPFLAGS'
48439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48442
48443
48444 fi
48445
48446 fi
48447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48448 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48449
48450 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48451 for ac_func in _isnanl
48452 do :
48453 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48454 if test "x$ac_cv_func__isnanl" = x""yes; then :
48455 cat >>confdefs.h <<_ACEOF
48456 #define HAVE__ISNANL 1
48457 _ACEOF
48458
48459 fi
48460 done
48461
48462 fi
48463 fi
48464
48465
48466
48467
48468
48469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48470 $as_echo_n "checking for isinfl declaration... " >&6; }
48471 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48472 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48473 $as_echo_n "(cached) " >&6
48474 else
48475
48476
48477 ac_ext=cpp
48478 ac_cpp='$CXXCPP $CPPFLAGS'
48479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48482
48483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48484 /* end confdefs.h. */
48485 #include <math.h>
48486 #ifdef HAVE_IEEEFP_H
48487 #include <ieeefp.h>
48488 #endif
48489
48490 int
48491 main ()
48492 {
48493 isinfl(0);
48494 ;
48495 return 0;
48496 }
48497 _ACEOF
48498 if ac_fn_cxx_try_compile "$LINENO"; then :
48499 glibcxx_cv_func_isinfl_use=yes
48500 else
48501 glibcxx_cv_func_isinfl_use=no
48502 fi
48503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48504 ac_ext=c
48505 ac_cpp='$CPP $CPPFLAGS'
48506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48509
48510
48511 fi
48512
48513 fi
48514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48515 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48516
48517 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48518 for ac_func in isinfl
48519 do :
48520 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48521 if test "x$ac_cv_func_isinfl" = x""yes; then :
48522 cat >>confdefs.h <<_ACEOF
48523 #define HAVE_ISINFL 1
48524 _ACEOF
48525
48526 fi
48527 done
48528
48529 else
48530
48531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48532 $as_echo_n "checking for _isinfl declaration... " >&6; }
48533 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48534 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48535 $as_echo_n "(cached) " >&6
48536 else
48537
48538
48539 ac_ext=cpp
48540 ac_cpp='$CXXCPP $CPPFLAGS'
48541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48544
48545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48546 /* end confdefs.h. */
48547 #include <math.h>
48548 #ifdef HAVE_IEEEFP_H
48549 #include <ieeefp.h>
48550 #endif
48551
48552 int
48553 main ()
48554 {
48555 _isinfl(0);
48556 ;
48557 return 0;
48558 }
48559 _ACEOF
48560 if ac_fn_cxx_try_compile "$LINENO"; then :
48561 glibcxx_cv_func__isinfl_use=yes
48562 else
48563 glibcxx_cv_func__isinfl_use=no
48564 fi
48565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48566 ac_ext=c
48567 ac_cpp='$CPP $CPPFLAGS'
48568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48571
48572
48573 fi
48574
48575 fi
48576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48577 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48578
48579 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48580 for ac_func in _isinfl
48581 do :
48582 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48583 if test "x$ac_cv_func__isinfl" = x""yes; then :
48584 cat >>confdefs.h <<_ACEOF
48585 #define HAVE__ISINFL 1
48586 _ACEOF
48587
48588 fi
48589 done
48590
48591 fi
48592 fi
48593
48594
48595
48596
48597
48598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48599 $as_echo_n "checking for atan2l declaration... " >&6; }
48600 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48601 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48602 $as_echo_n "(cached) " >&6
48603 else
48604
48605
48606 ac_ext=cpp
48607 ac_cpp='$CXXCPP $CPPFLAGS'
48608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48611
48612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48613 /* end confdefs.h. */
48614 #include <math.h>
48615 int
48616 main ()
48617 {
48618 atan2l(0, 0);
48619 ;
48620 return 0;
48621 }
48622 _ACEOF
48623 if ac_fn_cxx_try_compile "$LINENO"; then :
48624 glibcxx_cv_func_atan2l_use=yes
48625 else
48626 glibcxx_cv_func_atan2l_use=no
48627 fi
48628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48629 ac_ext=c
48630 ac_cpp='$CPP $CPPFLAGS'
48631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48634
48635
48636 fi
48637
48638 fi
48639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48640 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48641
48642 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48643 for ac_func in atan2l
48644 do :
48645 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48646 if test "x$ac_cv_func_atan2l" = x""yes; then :
48647 cat >>confdefs.h <<_ACEOF
48648 #define HAVE_ATAN2L 1
48649 _ACEOF
48650
48651 fi
48652 done
48653
48654 else
48655
48656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48657 $as_echo_n "checking for _atan2l declaration... " >&6; }
48658 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48659 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48660 $as_echo_n "(cached) " >&6
48661 else
48662
48663
48664 ac_ext=cpp
48665 ac_cpp='$CXXCPP $CPPFLAGS'
48666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48669
48670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48671 /* end confdefs.h. */
48672 #include <math.h>
48673 int
48674 main ()
48675 {
48676 _atan2l(0, 0);
48677 ;
48678 return 0;
48679 }
48680 _ACEOF
48681 if ac_fn_cxx_try_compile "$LINENO"; then :
48682 glibcxx_cv_func__atan2l_use=yes
48683 else
48684 glibcxx_cv_func__atan2l_use=no
48685 fi
48686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48687 ac_ext=c
48688 ac_cpp='$CPP $CPPFLAGS'
48689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48692
48693
48694 fi
48695
48696 fi
48697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48698 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48699
48700 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48701 for ac_func in _atan2l
48702 do :
48703 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48704 if test "x$ac_cv_func__atan2l" = x""yes; then :
48705 cat >>confdefs.h <<_ACEOF
48706 #define HAVE__ATAN2L 1
48707 _ACEOF
48708
48709 fi
48710 done
48711
48712 fi
48713 fi
48714
48715
48716
48717
48718
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48720 $as_echo_n "checking for expl declaration... " >&6; }
48721 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48722 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48723 $as_echo_n "(cached) " >&6
48724 else
48725
48726
48727 ac_ext=cpp
48728 ac_cpp='$CXXCPP $CPPFLAGS'
48729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48732
48733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48734 /* end confdefs.h. */
48735 #include <math.h>
48736 #ifdef HAVE_IEEEFP_H
48737 #include <ieeefp.h>
48738 #endif
48739
48740 int
48741 main ()
48742 {
48743 expl(0);
48744 ;
48745 return 0;
48746 }
48747 _ACEOF
48748 if ac_fn_cxx_try_compile "$LINENO"; then :
48749 glibcxx_cv_func_expl_use=yes
48750 else
48751 glibcxx_cv_func_expl_use=no
48752 fi
48753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48754 ac_ext=c
48755 ac_cpp='$CPP $CPPFLAGS'
48756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48759
48760
48761 fi
48762
48763 fi
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48765 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48766
48767 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48768 for ac_func in expl
48769 do :
48770 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48771 if test "x$ac_cv_func_expl" = x""yes; then :
48772 cat >>confdefs.h <<_ACEOF
48773 #define HAVE_EXPL 1
48774 _ACEOF
48775
48776 fi
48777 done
48778
48779 else
48780
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48782 $as_echo_n "checking for _expl declaration... " >&6; }
48783 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48784 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48785 $as_echo_n "(cached) " >&6
48786 else
48787
48788
48789 ac_ext=cpp
48790 ac_cpp='$CXXCPP $CPPFLAGS'
48791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48794
48795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48796 /* end confdefs.h. */
48797 #include <math.h>
48798 #ifdef HAVE_IEEEFP_H
48799 #include <ieeefp.h>
48800 #endif
48801
48802 int
48803 main ()
48804 {
48805 _expl(0);
48806 ;
48807 return 0;
48808 }
48809 _ACEOF
48810 if ac_fn_cxx_try_compile "$LINENO"; then :
48811 glibcxx_cv_func__expl_use=yes
48812 else
48813 glibcxx_cv_func__expl_use=no
48814 fi
48815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48816 ac_ext=c
48817 ac_cpp='$CPP $CPPFLAGS'
48818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48821
48822
48823 fi
48824
48825 fi
48826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48827 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48828
48829 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48830 for ac_func in _expl
48831 do :
48832 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48833 if test "x$ac_cv_func__expl" = x""yes; then :
48834 cat >>confdefs.h <<_ACEOF
48835 #define HAVE__EXPL 1
48836 _ACEOF
48837
48838 fi
48839 done
48840
48841 fi
48842 fi
48843
48844
48845
48846
48847
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48849 $as_echo_n "checking for fabsl declaration... " >&6; }
48850 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48851 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48852 $as_echo_n "(cached) " >&6
48853 else
48854
48855
48856 ac_ext=cpp
48857 ac_cpp='$CXXCPP $CPPFLAGS'
48858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48861
48862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48863 /* end confdefs.h. */
48864 #include <math.h>
48865 #ifdef HAVE_IEEEFP_H
48866 #include <ieeefp.h>
48867 #endif
48868
48869 int
48870 main ()
48871 {
48872 fabsl(0);
48873 ;
48874 return 0;
48875 }
48876 _ACEOF
48877 if ac_fn_cxx_try_compile "$LINENO"; then :
48878 glibcxx_cv_func_fabsl_use=yes
48879 else
48880 glibcxx_cv_func_fabsl_use=no
48881 fi
48882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48883 ac_ext=c
48884 ac_cpp='$CPP $CPPFLAGS'
48885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48888
48889
48890 fi
48891
48892 fi
48893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48894 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48895
48896 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48897 for ac_func in fabsl
48898 do :
48899 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48900 if test "x$ac_cv_func_fabsl" = x""yes; then :
48901 cat >>confdefs.h <<_ACEOF
48902 #define HAVE_FABSL 1
48903 _ACEOF
48904
48905 fi
48906 done
48907
48908 else
48909
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48911 $as_echo_n "checking for _fabsl declaration... " >&6; }
48912 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48913 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48914 $as_echo_n "(cached) " >&6
48915 else
48916
48917
48918 ac_ext=cpp
48919 ac_cpp='$CXXCPP $CPPFLAGS'
48920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48923
48924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48925 /* end confdefs.h. */
48926 #include <math.h>
48927 #ifdef HAVE_IEEEFP_H
48928 #include <ieeefp.h>
48929 #endif
48930
48931 int
48932 main ()
48933 {
48934 _fabsl(0);
48935 ;
48936 return 0;
48937 }
48938 _ACEOF
48939 if ac_fn_cxx_try_compile "$LINENO"; then :
48940 glibcxx_cv_func__fabsl_use=yes
48941 else
48942 glibcxx_cv_func__fabsl_use=no
48943 fi
48944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48945 ac_ext=c
48946 ac_cpp='$CPP $CPPFLAGS'
48947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48950
48951
48952 fi
48953
48954 fi
48955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48956 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48957
48958 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48959 for ac_func in _fabsl
48960 do :
48961 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48962 if test "x$ac_cv_func__fabsl" = x""yes; then :
48963 cat >>confdefs.h <<_ACEOF
48964 #define HAVE__FABSL 1
48965 _ACEOF
48966
48967 fi
48968 done
48969
48970 fi
48971 fi
48972
48973
48974
48975
48976
48977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48978 $as_echo_n "checking for fmodl declaration... " >&6; }
48979 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48980 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48981 $as_echo_n "(cached) " >&6
48982 else
48983
48984
48985 ac_ext=cpp
48986 ac_cpp='$CXXCPP $CPPFLAGS'
48987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48990
48991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48992 /* end confdefs.h. */
48993 #include <math.h>
48994 int
48995 main ()
48996 {
48997 fmodl(0, 0);
48998 ;
48999 return 0;
49000 }
49001 _ACEOF
49002 if ac_fn_cxx_try_compile "$LINENO"; then :
49003 glibcxx_cv_func_fmodl_use=yes
49004 else
49005 glibcxx_cv_func_fmodl_use=no
49006 fi
49007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49008 ac_ext=c
49009 ac_cpp='$CPP $CPPFLAGS'
49010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49013
49014
49015 fi
49016
49017 fi
49018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49019 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49020
49021 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49022 for ac_func in fmodl
49023 do :
49024 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49025 if test "x$ac_cv_func_fmodl" = x""yes; then :
49026 cat >>confdefs.h <<_ACEOF
49027 #define HAVE_FMODL 1
49028 _ACEOF
49029
49030 fi
49031 done
49032
49033 else
49034
49035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49036 $as_echo_n "checking for _fmodl declaration... " >&6; }
49037 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49038 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49039 $as_echo_n "(cached) " >&6
49040 else
49041
49042
49043 ac_ext=cpp
49044 ac_cpp='$CXXCPP $CPPFLAGS'
49045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49048
49049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050 /* end confdefs.h. */
49051 #include <math.h>
49052 int
49053 main ()
49054 {
49055 _fmodl(0, 0);
49056 ;
49057 return 0;
49058 }
49059 _ACEOF
49060 if ac_fn_cxx_try_compile "$LINENO"; then :
49061 glibcxx_cv_func__fmodl_use=yes
49062 else
49063 glibcxx_cv_func__fmodl_use=no
49064 fi
49065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066 ac_ext=c
49067 ac_cpp='$CPP $CPPFLAGS'
49068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49071
49072
49073 fi
49074
49075 fi
49076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49077 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49078
49079 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49080 for ac_func in _fmodl
49081 do :
49082 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49083 if test "x$ac_cv_func__fmodl" = x""yes; then :
49084 cat >>confdefs.h <<_ACEOF
49085 #define HAVE__FMODL 1
49086 _ACEOF
49087
49088 fi
49089 done
49090
49091 fi
49092 fi
49093
49094
49095
49096
49097
49098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49099 $as_echo_n "checking for frexpl declaration... " >&6; }
49100 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49101 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49102 $as_echo_n "(cached) " >&6
49103 else
49104
49105
49106 ac_ext=cpp
49107 ac_cpp='$CXXCPP $CPPFLAGS'
49108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49111
49112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49113 /* end confdefs.h. */
49114 #include <math.h>
49115 int
49116 main ()
49117 {
49118 frexpl(0, 0);
49119 ;
49120 return 0;
49121 }
49122 _ACEOF
49123 if ac_fn_cxx_try_compile "$LINENO"; then :
49124 glibcxx_cv_func_frexpl_use=yes
49125 else
49126 glibcxx_cv_func_frexpl_use=no
49127 fi
49128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49129 ac_ext=c
49130 ac_cpp='$CPP $CPPFLAGS'
49131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49134
49135
49136 fi
49137
49138 fi
49139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49140 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49141
49142 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49143 for ac_func in frexpl
49144 do :
49145 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49146 if test "x$ac_cv_func_frexpl" = x""yes; then :
49147 cat >>confdefs.h <<_ACEOF
49148 #define HAVE_FREXPL 1
49149 _ACEOF
49150
49151 fi
49152 done
49153
49154 else
49155
49156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49157 $as_echo_n "checking for _frexpl declaration... " >&6; }
49158 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49159 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49160 $as_echo_n "(cached) " >&6
49161 else
49162
49163
49164 ac_ext=cpp
49165 ac_cpp='$CXXCPP $CPPFLAGS'
49166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49169
49170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49171 /* end confdefs.h. */
49172 #include <math.h>
49173 int
49174 main ()
49175 {
49176 _frexpl(0, 0);
49177 ;
49178 return 0;
49179 }
49180 _ACEOF
49181 if ac_fn_cxx_try_compile "$LINENO"; then :
49182 glibcxx_cv_func__frexpl_use=yes
49183 else
49184 glibcxx_cv_func__frexpl_use=no
49185 fi
49186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49187 ac_ext=c
49188 ac_cpp='$CPP $CPPFLAGS'
49189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49192
49193
49194 fi
49195
49196 fi
49197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49198 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49199
49200 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49201 for ac_func in _frexpl
49202 do :
49203 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49204 if test "x$ac_cv_func__frexpl" = x""yes; then :
49205 cat >>confdefs.h <<_ACEOF
49206 #define HAVE__FREXPL 1
49207 _ACEOF
49208
49209 fi
49210 done
49211
49212 fi
49213 fi
49214
49215
49216
49217
49218
49219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49220 $as_echo_n "checking for hypotl declaration... " >&6; }
49221 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49222 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49223 $as_echo_n "(cached) " >&6
49224 else
49225
49226
49227 ac_ext=cpp
49228 ac_cpp='$CXXCPP $CPPFLAGS'
49229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49232
49233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49234 /* end confdefs.h. */
49235 #include <math.h>
49236 int
49237 main ()
49238 {
49239 hypotl(0, 0);
49240 ;
49241 return 0;
49242 }
49243 _ACEOF
49244 if ac_fn_cxx_try_compile "$LINENO"; then :
49245 glibcxx_cv_func_hypotl_use=yes
49246 else
49247 glibcxx_cv_func_hypotl_use=no
49248 fi
49249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49250 ac_ext=c
49251 ac_cpp='$CPP $CPPFLAGS'
49252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49255
49256
49257 fi
49258
49259 fi
49260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49261 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49262
49263 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49264 for ac_func in hypotl
49265 do :
49266 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49267 if test "x$ac_cv_func_hypotl" = x""yes; then :
49268 cat >>confdefs.h <<_ACEOF
49269 #define HAVE_HYPOTL 1
49270 _ACEOF
49271
49272 fi
49273 done
49274
49275 else
49276
49277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49278 $as_echo_n "checking for _hypotl declaration... " >&6; }
49279 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49280 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49281 $as_echo_n "(cached) " >&6
49282 else
49283
49284
49285 ac_ext=cpp
49286 ac_cpp='$CXXCPP $CPPFLAGS'
49287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49290
49291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49292 /* end confdefs.h. */
49293 #include <math.h>
49294 int
49295 main ()
49296 {
49297 _hypotl(0, 0);
49298 ;
49299 return 0;
49300 }
49301 _ACEOF
49302 if ac_fn_cxx_try_compile "$LINENO"; then :
49303 glibcxx_cv_func__hypotl_use=yes
49304 else
49305 glibcxx_cv_func__hypotl_use=no
49306 fi
49307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49308 ac_ext=c
49309 ac_cpp='$CPP $CPPFLAGS'
49310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49313
49314
49315 fi
49316
49317 fi
49318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49319 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49320
49321 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49322 for ac_func in _hypotl
49323 do :
49324 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49325 if test "x$ac_cv_func__hypotl" = x""yes; then :
49326 cat >>confdefs.h <<_ACEOF
49327 #define HAVE__HYPOTL 1
49328 _ACEOF
49329
49330 fi
49331 done
49332
49333 fi
49334 fi
49335
49336
49337
49338
49339
49340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49341 $as_echo_n "checking for ldexpl declaration... " >&6; }
49342 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49343 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49344 $as_echo_n "(cached) " >&6
49345 else
49346
49347
49348 ac_ext=cpp
49349 ac_cpp='$CXXCPP $CPPFLAGS'
49350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49353
49354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49355 /* end confdefs.h. */
49356 #include <math.h>
49357 int
49358 main ()
49359 {
49360 ldexpl(0, 0);
49361 ;
49362 return 0;
49363 }
49364 _ACEOF
49365 if ac_fn_cxx_try_compile "$LINENO"; then :
49366 glibcxx_cv_func_ldexpl_use=yes
49367 else
49368 glibcxx_cv_func_ldexpl_use=no
49369 fi
49370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49371 ac_ext=c
49372 ac_cpp='$CPP $CPPFLAGS'
49373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49376
49377
49378 fi
49379
49380 fi
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49382 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49383
49384 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49385 for ac_func in ldexpl
49386 do :
49387 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49388 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49389 cat >>confdefs.h <<_ACEOF
49390 #define HAVE_LDEXPL 1
49391 _ACEOF
49392
49393 fi
49394 done
49395
49396 else
49397
49398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49399 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49400 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49401 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49402 $as_echo_n "(cached) " >&6
49403 else
49404
49405
49406 ac_ext=cpp
49407 ac_cpp='$CXXCPP $CPPFLAGS'
49408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49411
49412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49413 /* end confdefs.h. */
49414 #include <math.h>
49415 int
49416 main ()
49417 {
49418 _ldexpl(0, 0);
49419 ;
49420 return 0;
49421 }
49422 _ACEOF
49423 if ac_fn_cxx_try_compile "$LINENO"; then :
49424 glibcxx_cv_func__ldexpl_use=yes
49425 else
49426 glibcxx_cv_func__ldexpl_use=no
49427 fi
49428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49429 ac_ext=c
49430 ac_cpp='$CPP $CPPFLAGS'
49431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49434
49435
49436 fi
49437
49438 fi
49439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49440 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49441
49442 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49443 for ac_func in _ldexpl
49444 do :
49445 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49446 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49447 cat >>confdefs.h <<_ACEOF
49448 #define HAVE__LDEXPL 1
49449 _ACEOF
49450
49451 fi
49452 done
49453
49454 fi
49455 fi
49456
49457
49458
49459
49460
49461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49462 $as_echo_n "checking for logl declaration... " >&6; }
49463 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49464 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49465 $as_echo_n "(cached) " >&6
49466 else
49467
49468
49469 ac_ext=cpp
49470 ac_cpp='$CXXCPP $CPPFLAGS'
49471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49474
49475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49476 /* end confdefs.h. */
49477 #include <math.h>
49478 #ifdef HAVE_IEEEFP_H
49479 #include <ieeefp.h>
49480 #endif
49481
49482 int
49483 main ()
49484 {
49485 logl(0);
49486 ;
49487 return 0;
49488 }
49489 _ACEOF
49490 if ac_fn_cxx_try_compile "$LINENO"; then :
49491 glibcxx_cv_func_logl_use=yes
49492 else
49493 glibcxx_cv_func_logl_use=no
49494 fi
49495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49496 ac_ext=c
49497 ac_cpp='$CPP $CPPFLAGS'
49498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49501
49502
49503 fi
49504
49505 fi
49506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49507 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49508
49509 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49510 for ac_func in logl
49511 do :
49512 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49513 if test "x$ac_cv_func_logl" = x""yes; then :
49514 cat >>confdefs.h <<_ACEOF
49515 #define HAVE_LOGL 1
49516 _ACEOF
49517
49518 fi
49519 done
49520
49521 else
49522
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49524 $as_echo_n "checking for _logl declaration... " >&6; }
49525 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49526 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49527 $as_echo_n "(cached) " >&6
49528 else
49529
49530
49531 ac_ext=cpp
49532 ac_cpp='$CXXCPP $CPPFLAGS'
49533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49536
49537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49538 /* end confdefs.h. */
49539 #include <math.h>
49540 #ifdef HAVE_IEEEFP_H
49541 #include <ieeefp.h>
49542 #endif
49543
49544 int
49545 main ()
49546 {
49547 _logl(0);
49548 ;
49549 return 0;
49550 }
49551 _ACEOF
49552 if ac_fn_cxx_try_compile "$LINENO"; then :
49553 glibcxx_cv_func__logl_use=yes
49554 else
49555 glibcxx_cv_func__logl_use=no
49556 fi
49557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49558 ac_ext=c
49559 ac_cpp='$CPP $CPPFLAGS'
49560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49563
49564
49565 fi
49566
49567 fi
49568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49569 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49570
49571 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49572 for ac_func in _logl
49573 do :
49574 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49575 if test "x$ac_cv_func__logl" = x""yes; then :
49576 cat >>confdefs.h <<_ACEOF
49577 #define HAVE__LOGL 1
49578 _ACEOF
49579
49580 fi
49581 done
49582
49583 fi
49584 fi
49585
49586
49587
49588
49589
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49591 $as_echo_n "checking for log10l declaration... " >&6; }
49592 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49593 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49594 $as_echo_n "(cached) " >&6
49595 else
49596
49597
49598 ac_ext=cpp
49599 ac_cpp='$CXXCPP $CPPFLAGS'
49600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49603
49604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49605 /* end confdefs.h. */
49606 #include <math.h>
49607 #ifdef HAVE_IEEEFP_H
49608 #include <ieeefp.h>
49609 #endif
49610
49611 int
49612 main ()
49613 {
49614 log10l(0);
49615 ;
49616 return 0;
49617 }
49618 _ACEOF
49619 if ac_fn_cxx_try_compile "$LINENO"; then :
49620 glibcxx_cv_func_log10l_use=yes
49621 else
49622 glibcxx_cv_func_log10l_use=no
49623 fi
49624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49625 ac_ext=c
49626 ac_cpp='$CPP $CPPFLAGS'
49627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49630
49631
49632 fi
49633
49634 fi
49635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49636 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49637
49638 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49639 for ac_func in log10l
49640 do :
49641 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49642 if test "x$ac_cv_func_log10l" = x""yes; then :
49643 cat >>confdefs.h <<_ACEOF
49644 #define HAVE_LOG10L 1
49645 _ACEOF
49646
49647 fi
49648 done
49649
49650 else
49651
49652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49653 $as_echo_n "checking for _log10l declaration... " >&6; }
49654 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49655 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49656 $as_echo_n "(cached) " >&6
49657 else
49658
49659
49660 ac_ext=cpp
49661 ac_cpp='$CXXCPP $CPPFLAGS'
49662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49665
49666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49667 /* end confdefs.h. */
49668 #include <math.h>
49669 #ifdef HAVE_IEEEFP_H
49670 #include <ieeefp.h>
49671 #endif
49672
49673 int
49674 main ()
49675 {
49676 _log10l(0);
49677 ;
49678 return 0;
49679 }
49680 _ACEOF
49681 if ac_fn_cxx_try_compile "$LINENO"; then :
49682 glibcxx_cv_func__log10l_use=yes
49683 else
49684 glibcxx_cv_func__log10l_use=no
49685 fi
49686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49687 ac_ext=c
49688 ac_cpp='$CPP $CPPFLAGS'
49689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49692
49693
49694 fi
49695
49696 fi
49697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49698 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49699
49700 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49701 for ac_func in _log10l
49702 do :
49703 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49704 if test "x$ac_cv_func__log10l" = x""yes; then :
49705 cat >>confdefs.h <<_ACEOF
49706 #define HAVE__LOG10L 1
49707 _ACEOF
49708
49709 fi
49710 done
49711
49712 fi
49713 fi
49714
49715
49716
49717
49718
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49720 $as_echo_n "checking for modfl declaration... " >&6; }
49721 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49722 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49723 $as_echo_n "(cached) " >&6
49724 else
49725
49726
49727 ac_ext=cpp
49728 ac_cpp='$CXXCPP $CPPFLAGS'
49729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49732
49733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49734 /* end confdefs.h. */
49735 #include <math.h>
49736 int
49737 main ()
49738 {
49739 modfl(0, 0);
49740 ;
49741 return 0;
49742 }
49743 _ACEOF
49744 if ac_fn_cxx_try_compile "$LINENO"; then :
49745 glibcxx_cv_func_modfl_use=yes
49746 else
49747 glibcxx_cv_func_modfl_use=no
49748 fi
49749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49750 ac_ext=c
49751 ac_cpp='$CPP $CPPFLAGS'
49752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49755
49756
49757 fi
49758
49759 fi
49760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49761 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49762
49763 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49764 for ac_func in modfl
49765 do :
49766 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49767 if test "x$ac_cv_func_modfl" = x""yes; then :
49768 cat >>confdefs.h <<_ACEOF
49769 #define HAVE_MODFL 1
49770 _ACEOF
49771
49772 fi
49773 done
49774
49775 else
49776
49777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49778 $as_echo_n "checking for _modfl declaration... " >&6; }
49779 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49780 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49781 $as_echo_n "(cached) " >&6
49782 else
49783
49784
49785 ac_ext=cpp
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49790
49791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49792 /* end confdefs.h. */
49793 #include <math.h>
49794 int
49795 main ()
49796 {
49797 _modfl(0, 0);
49798 ;
49799 return 0;
49800 }
49801 _ACEOF
49802 if ac_fn_cxx_try_compile "$LINENO"; then :
49803 glibcxx_cv_func__modfl_use=yes
49804 else
49805 glibcxx_cv_func__modfl_use=no
49806 fi
49807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49808 ac_ext=c
49809 ac_cpp='$CPP $CPPFLAGS'
49810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49813
49814
49815 fi
49816
49817 fi
49818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49819 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49820
49821 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49822 for ac_func in _modfl
49823 do :
49824 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49825 if test "x$ac_cv_func__modfl" = x""yes; then :
49826 cat >>confdefs.h <<_ACEOF
49827 #define HAVE__MODFL 1
49828 _ACEOF
49829
49830 fi
49831 done
49832
49833 fi
49834 fi
49835
49836
49837
49838
49839
49840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49841 $as_echo_n "checking for powl declaration... " >&6; }
49842 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49843 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49844 $as_echo_n "(cached) " >&6
49845 else
49846
49847
49848 ac_ext=cpp
49849 ac_cpp='$CXXCPP $CPPFLAGS'
49850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49853
49854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49855 /* end confdefs.h. */
49856 #include <math.h>
49857 int
49858 main ()
49859 {
49860 powl(0, 0);
49861 ;
49862 return 0;
49863 }
49864 _ACEOF
49865 if ac_fn_cxx_try_compile "$LINENO"; then :
49866 glibcxx_cv_func_powl_use=yes
49867 else
49868 glibcxx_cv_func_powl_use=no
49869 fi
49870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49871 ac_ext=c
49872 ac_cpp='$CPP $CPPFLAGS'
49873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49876
49877
49878 fi
49879
49880 fi
49881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49882 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49883
49884 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49885 for ac_func in powl
49886 do :
49887 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49888 if test "x$ac_cv_func_powl" = x""yes; then :
49889 cat >>confdefs.h <<_ACEOF
49890 #define HAVE_POWL 1
49891 _ACEOF
49892
49893 fi
49894 done
49895
49896 else
49897
49898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49899 $as_echo_n "checking for _powl declaration... " >&6; }
49900 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49901 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49902 $as_echo_n "(cached) " >&6
49903 else
49904
49905
49906 ac_ext=cpp
49907 ac_cpp='$CXXCPP $CPPFLAGS'
49908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49911
49912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49913 /* end confdefs.h. */
49914 #include <math.h>
49915 int
49916 main ()
49917 {
49918 _powl(0, 0);
49919 ;
49920 return 0;
49921 }
49922 _ACEOF
49923 if ac_fn_cxx_try_compile "$LINENO"; then :
49924 glibcxx_cv_func__powl_use=yes
49925 else
49926 glibcxx_cv_func__powl_use=no
49927 fi
49928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49929 ac_ext=c
49930 ac_cpp='$CPP $CPPFLAGS'
49931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49934
49935
49936 fi
49937
49938 fi
49939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49940 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49941
49942 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49943 for ac_func in _powl
49944 do :
49945 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49946 if test "x$ac_cv_func__powl" = x""yes; then :
49947 cat >>confdefs.h <<_ACEOF
49948 #define HAVE__POWL 1
49949 _ACEOF
49950
49951 fi
49952 done
49953
49954 fi
49955 fi
49956
49957
49958
49959
49960
49961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49962 $as_echo_n "checking for sqrtl declaration... " >&6; }
49963 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49964 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49965 $as_echo_n "(cached) " >&6
49966 else
49967
49968
49969 ac_ext=cpp
49970 ac_cpp='$CXXCPP $CPPFLAGS'
49971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49974
49975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49976 /* end confdefs.h. */
49977 #include <math.h>
49978 #ifdef HAVE_IEEEFP_H
49979 #include <ieeefp.h>
49980 #endif
49981
49982 int
49983 main ()
49984 {
49985 sqrtl(0);
49986 ;
49987 return 0;
49988 }
49989 _ACEOF
49990 if ac_fn_cxx_try_compile "$LINENO"; then :
49991 glibcxx_cv_func_sqrtl_use=yes
49992 else
49993 glibcxx_cv_func_sqrtl_use=no
49994 fi
49995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49996 ac_ext=c
49997 ac_cpp='$CPP $CPPFLAGS'
49998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50001
50002
50003 fi
50004
50005 fi
50006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50007 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50008
50009 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50010 for ac_func in sqrtl
50011 do :
50012 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50013 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50014 cat >>confdefs.h <<_ACEOF
50015 #define HAVE_SQRTL 1
50016 _ACEOF
50017
50018 fi
50019 done
50020
50021 else
50022
50023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50024 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50025 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50026 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50027 $as_echo_n "(cached) " >&6
50028 else
50029
50030
50031 ac_ext=cpp
50032 ac_cpp='$CXXCPP $CPPFLAGS'
50033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50036
50037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50038 /* end confdefs.h. */
50039 #include <math.h>
50040 #ifdef HAVE_IEEEFP_H
50041 #include <ieeefp.h>
50042 #endif
50043
50044 int
50045 main ()
50046 {
50047 _sqrtl(0);
50048 ;
50049 return 0;
50050 }
50051 _ACEOF
50052 if ac_fn_cxx_try_compile "$LINENO"; then :
50053 glibcxx_cv_func__sqrtl_use=yes
50054 else
50055 glibcxx_cv_func__sqrtl_use=no
50056 fi
50057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50058 ac_ext=c
50059 ac_cpp='$CPP $CPPFLAGS'
50060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50063
50064
50065 fi
50066
50067 fi
50068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50069 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50070
50071 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50072 for ac_func in _sqrtl
50073 do :
50074 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50075 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50076 cat >>confdefs.h <<_ACEOF
50077 #define HAVE__SQRTL 1
50078 _ACEOF
50079
50080 fi
50081 done
50082
50083 fi
50084 fi
50085
50086
50087
50088
50089
50090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50091 $as_echo_n "checking for sincosl declaration... " >&6; }
50092 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50093 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50094 $as_echo_n "(cached) " >&6
50095 else
50096
50097
50098 ac_ext=cpp
50099 ac_cpp='$CXXCPP $CPPFLAGS'
50100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50103
50104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50105 /* end confdefs.h. */
50106 #include <math.h>
50107 int
50108 main ()
50109 {
50110 sincosl(0, 0, 0);
50111 ;
50112 return 0;
50113 }
50114 _ACEOF
50115 if ac_fn_cxx_try_compile "$LINENO"; then :
50116 glibcxx_cv_func_sincosl_use=yes
50117 else
50118 glibcxx_cv_func_sincosl_use=no
50119 fi
50120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50121 ac_ext=c
50122 ac_cpp='$CPP $CPPFLAGS'
50123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50126
50127
50128 fi
50129
50130 fi
50131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50132 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50133
50134 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50135 for ac_func in sincosl
50136 do :
50137 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50138 if test "x$ac_cv_func_sincosl" = x""yes; then :
50139 cat >>confdefs.h <<_ACEOF
50140 #define HAVE_SINCOSL 1
50141 _ACEOF
50142
50143 fi
50144 done
50145
50146 else
50147
50148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50149 $as_echo_n "checking for _sincosl declaration... " >&6; }
50150 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50151 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50152 $as_echo_n "(cached) " >&6
50153 else
50154
50155
50156 ac_ext=cpp
50157 ac_cpp='$CXXCPP $CPPFLAGS'
50158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50161
50162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50163 /* end confdefs.h. */
50164 #include <math.h>
50165 int
50166 main ()
50167 {
50168 _sincosl(0, 0, 0);
50169 ;
50170 return 0;
50171 }
50172 _ACEOF
50173 if ac_fn_cxx_try_compile "$LINENO"; then :
50174 glibcxx_cv_func__sincosl_use=yes
50175 else
50176 glibcxx_cv_func__sincosl_use=no
50177 fi
50178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50179 ac_ext=c
50180 ac_cpp='$CPP $CPPFLAGS'
50181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50184
50185
50186 fi
50187
50188 fi
50189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50190 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50191
50192 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50193 for ac_func in _sincosl
50194 do :
50195 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50196 if test "x$ac_cv_func__sincosl" = x""yes; then :
50197 cat >>confdefs.h <<_ACEOF
50198 #define HAVE__SINCOSL 1
50199 _ACEOF
50200
50201 fi
50202 done
50203
50204 fi
50205 fi
50206
50207
50208
50209
50210
50211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50212 $as_echo_n "checking for finitel declaration... " >&6; }
50213 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50214 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50215 $as_echo_n "(cached) " >&6
50216 else
50217
50218
50219 ac_ext=cpp
50220 ac_cpp='$CXXCPP $CPPFLAGS'
50221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50224
50225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50226 /* end confdefs.h. */
50227 #include <math.h>
50228 #ifdef HAVE_IEEEFP_H
50229 #include <ieeefp.h>
50230 #endif
50231
50232 int
50233 main ()
50234 {
50235 finitel(0);
50236 ;
50237 return 0;
50238 }
50239 _ACEOF
50240 if ac_fn_cxx_try_compile "$LINENO"; then :
50241 glibcxx_cv_func_finitel_use=yes
50242 else
50243 glibcxx_cv_func_finitel_use=no
50244 fi
50245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50246 ac_ext=c
50247 ac_cpp='$CPP $CPPFLAGS'
50248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50251
50252
50253 fi
50254
50255 fi
50256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50257 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50258
50259 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50260 for ac_func in finitel
50261 do :
50262 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50263 if test "x$ac_cv_func_finitel" = x""yes; then :
50264 cat >>confdefs.h <<_ACEOF
50265 #define HAVE_FINITEL 1
50266 _ACEOF
50267
50268 fi
50269 done
50270
50271 else
50272
50273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50274 $as_echo_n "checking for _finitel declaration... " >&6; }
50275 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50276 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50277 $as_echo_n "(cached) " >&6
50278 else
50279
50280
50281 ac_ext=cpp
50282 ac_cpp='$CXXCPP $CPPFLAGS'
50283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50286
50287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50288 /* end confdefs.h. */
50289 #include <math.h>
50290 #ifdef HAVE_IEEEFP_H
50291 #include <ieeefp.h>
50292 #endif
50293
50294 int
50295 main ()
50296 {
50297 _finitel(0);
50298 ;
50299 return 0;
50300 }
50301 _ACEOF
50302 if ac_fn_cxx_try_compile "$LINENO"; then :
50303 glibcxx_cv_func__finitel_use=yes
50304 else
50305 glibcxx_cv_func__finitel_use=no
50306 fi
50307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50308 ac_ext=c
50309 ac_cpp='$CPP $CPPFLAGS'
50310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50313
50314
50315 fi
50316
50317 fi
50318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50319 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50320
50321 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50322 for ac_func in _finitel
50323 do :
50324 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50325 if test "x$ac_cv_func__finitel" = x""yes; then :
50326 cat >>confdefs.h <<_ACEOF
50327 #define HAVE__FINITEL 1
50328 _ACEOF
50329
50330 fi
50331 done
50332
50333 fi
50334 fi
50335
50336
50337
50338
50339 LIBS="$ac_save_LIBS"
50340 CXXFLAGS="$ac_save_CXXFLAGS"
50341
50342
50343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50344 ac_save_CXXFLAGS="$CXXFLAGS"
50345 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50346
50347
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50349 $as_echo_n "checking for strtold declaration... " >&6; }
50350 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50351 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50352 $as_echo_n "(cached) " >&6
50353 else
50354
50355
50356 ac_ext=cpp
50357 ac_cpp='$CXXCPP $CPPFLAGS'
50358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50361
50362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50363 /* end confdefs.h. */
50364 #include <stdlib.h>
50365 int
50366 main ()
50367 {
50368 strtold(0, 0);
50369 ;
50370 return 0;
50371 }
50372 _ACEOF
50373 if ac_fn_cxx_try_compile "$LINENO"; then :
50374 glibcxx_cv_func_strtold_use=yes
50375 else
50376 glibcxx_cv_func_strtold_use=no
50377 fi
50378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50379 ac_ext=c
50380 ac_cpp='$CPP $CPPFLAGS'
50381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50384
50385
50386 fi
50387
50388 fi
50389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50390 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50391 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50392 for ac_func in strtold
50393 do :
50394 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50395 if test "x$ac_cv_func_strtold" = x""yes; then :
50396 cat >>confdefs.h <<_ACEOF
50397 #define HAVE_STRTOLD 1
50398 _ACEOF
50399
50400 fi
50401 done
50402
50403 fi
50404
50405
50406
50407
50408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50409 $as_echo_n "checking for strtof declaration... " >&6; }
50410 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50411 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50412 $as_echo_n "(cached) " >&6
50413 else
50414
50415
50416 ac_ext=cpp
50417 ac_cpp='$CXXCPP $CPPFLAGS'
50418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50421
50422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50423 /* end confdefs.h. */
50424 #include <stdlib.h>
50425 int
50426 main ()
50427 {
50428 strtof(0, 0);
50429 ;
50430 return 0;
50431 }
50432 _ACEOF
50433 if ac_fn_cxx_try_compile "$LINENO"; then :
50434 glibcxx_cv_func_strtof_use=yes
50435 else
50436 glibcxx_cv_func_strtof_use=no
50437 fi
50438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50439 ac_ext=c
50440 ac_cpp='$CPP $CPPFLAGS'
50441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50444
50445
50446 fi
50447
50448 fi
50449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50450 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50451 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50452 for ac_func in strtof
50453 do :
50454 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50455 if test "x$ac_cv_func_strtof" = x""yes; then :
50456 cat >>confdefs.h <<_ACEOF
50457 #define HAVE_STRTOF 1
50458 _ACEOF
50459
50460 fi
50461 done
50462
50463 fi
50464
50465
50466
50467
50468 CXXFLAGS="$ac_save_CXXFLAGS"
50469
50470 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50471
50472
50473
50474 # Check whether --enable-tls was given.
50475 if test "${enable_tls+set}" = set; then :
50476 enableval=$enable_tls;
50477 case "$enableval" in
50478 yes|no) ;;
50479 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50480 esac
50481
50482 else
50483 enable_tls=yes
50484 fi
50485
50486
50487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50488 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50489 if test "${gcc_cv_have_tls+set}" = set; then :
50490 $as_echo_n "(cached) " >&6
50491 else
50492
50493 if test "$cross_compiling" = yes; then :
50494 if test x$gcc_no_link = xyes; then
50495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50496 fi
50497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50498 /* end confdefs.h. */
50499 __thread int a; int b; int main() { return a = b; }
50500 _ACEOF
50501 if ac_fn_c_try_link "$LINENO"; then :
50502 chktls_save_LDFLAGS="$LDFLAGS"
50503 case $host in
50504 *-*-linux*)
50505 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50506 ;;
50507 esac
50508 chktls_save_CFLAGS="$CFLAGS"
50509 CFLAGS="-fPIC $CFLAGS"
50510 if test x$gcc_no_link = xyes; then
50511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50512 fi
50513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h. */
50515 int f() { return 0; }
50516 _ACEOF
50517 if ac_fn_c_try_link "$LINENO"; then :
50518 if test x$gcc_no_link = xyes; then
50519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50520 fi
50521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50522 /* end confdefs.h. */
50523 __thread int a; int b; int f() { return a = b; }
50524 _ACEOF
50525 if ac_fn_c_try_link "$LINENO"; then :
50526 gcc_cv_have_tls=yes
50527 else
50528 gcc_cv_have_tls=no
50529 fi
50530 rm -f core conftest.err conftest.$ac_objext \
50531 conftest$ac_exeext conftest.$ac_ext
50532 else
50533 gcc_cv_have_tls=yes
50534 fi
50535 rm -f core conftest.err conftest.$ac_objext \
50536 conftest$ac_exeext conftest.$ac_ext
50537 CFLAGS="$chktls_save_CFLAGS"
50538 LDFLAGS="$chktls_save_LDFLAGS"
50539 else
50540 gcc_cv_have_tls=no
50541 fi
50542 rm -f core conftest.err conftest.$ac_objext \
50543 conftest$ac_exeext conftest.$ac_ext
50544
50545
50546 else
50547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50548 /* end confdefs.h. */
50549 __thread int a; int b; int main() { return a = b; }
50550 _ACEOF
50551 if ac_fn_c_try_run "$LINENO"; then :
50552 chktls_save_LDFLAGS="$LDFLAGS"
50553 LDFLAGS="-static $LDFLAGS"
50554 if test x$gcc_no_link = xyes; then
50555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50556 fi
50557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50558 /* end confdefs.h. */
50559 int main() { return 0; }
50560 _ACEOF
50561 if ac_fn_c_try_link "$LINENO"; then :
50562 if test "$cross_compiling" = yes; then :
50563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50565 as_fn_error "cannot run test program while cross compiling
50566 See \`config.log' for more details." "$LINENO" 5; }
50567 else
50568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50569 /* end confdefs.h. */
50570 __thread int a; int b; int main() { return a = b; }
50571 _ACEOF
50572 if ac_fn_c_try_run "$LINENO"; then :
50573 gcc_cv_have_tls=yes
50574 else
50575 gcc_cv_have_tls=no
50576 fi
50577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50578 conftest.$ac_objext conftest.beam conftest.$ac_ext
50579 fi
50580
50581 else
50582 gcc_cv_have_tls=yes
50583 fi
50584 rm -f core conftest.err conftest.$ac_objext \
50585 conftest$ac_exeext conftest.$ac_ext
50586 LDFLAGS="$chktls_save_LDFLAGS"
50587 if test $gcc_cv_have_tls = yes; then
50588 chktls_save_CFLAGS="$CFLAGS"
50589 thread_CFLAGS=failed
50590 for flag in '' '-pthread' '-lpthread'; do
50591 CFLAGS="$flag $chktls_save_CFLAGS"
50592 if test x$gcc_no_link = xyes; then
50593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50594 fi
50595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50596 /* end confdefs.h. */
50597 #include <pthread.h>
50598 void *g(void *d) { return NULL; }
50599 int
50600 main ()
50601 {
50602 pthread_t t; pthread_create(&t,NULL,g,NULL);
50603 ;
50604 return 0;
50605 }
50606 _ACEOF
50607 if ac_fn_c_try_link "$LINENO"; then :
50608 thread_CFLAGS="$flag"
50609 fi
50610 rm -f core conftest.err conftest.$ac_objext \
50611 conftest$ac_exeext conftest.$ac_ext
50612 if test "X$thread_CFLAGS" != Xfailed; then
50613 break
50614 fi
50615 done
50616 CFLAGS="$chktls_save_CFLAGS"
50617 if test "X$thread_CFLAGS" != Xfailed; then
50618 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50619 if test "$cross_compiling" = yes; then :
50620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50622 as_fn_error "cannot run test program while cross compiling
50623 See \`config.log' for more details." "$LINENO" 5; }
50624 else
50625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50626 /* end confdefs.h. */
50627 #include <pthread.h>
50628 __thread int a;
50629 static int *volatile a_in_other_thread;
50630 static void *
50631 thread_func (void *arg)
50632 {
50633 a_in_other_thread = &a;
50634 return (void *)0;
50635 }
50636 int
50637 main ()
50638 {
50639 pthread_t thread;
50640 void *thread_retval;
50641 int *volatile a_in_main_thread;
50642 a_in_main_thread = &a;
50643 if (pthread_create (&thread, (pthread_attr_t *)0,
50644 thread_func, (void *)0))
50645 return 0;
50646 if (pthread_join (thread, &thread_retval))
50647 return 0;
50648 return (a_in_other_thread == a_in_main_thread);
50649 ;
50650 return 0;
50651 }
50652 _ACEOF
50653 if ac_fn_c_try_run "$LINENO"; then :
50654 gcc_cv_have_tls=yes
50655 else
50656 gcc_cv_have_tls=no
50657 fi
50658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50659 conftest.$ac_objext conftest.beam conftest.$ac_ext
50660 fi
50661
50662 CFLAGS="$chktls_save_CFLAGS"
50663 fi
50664 fi
50665 else
50666 gcc_cv_have_tls=no
50667 fi
50668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50669 conftest.$ac_objext conftest.beam conftest.$ac_ext
50670 fi
50671
50672 fi
50673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50674 $as_echo "$gcc_cv_have_tls" >&6; }
50675 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50676
50677 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50678
50679 fi
50680
50681
50682
50683
50684
50685 am_save_CPPFLAGS="$CPPFLAGS"
50686
50687 for element in $INCICONV; do
50688 haveit=
50689 for x in $CPPFLAGS; do
50690
50691 acl_save_prefix="$prefix"
50692 prefix="$acl_final_prefix"
50693 acl_save_exec_prefix="$exec_prefix"
50694 exec_prefix="$acl_final_exec_prefix"
50695 eval x=\"$x\"
50696 exec_prefix="$acl_save_exec_prefix"
50697 prefix="$acl_save_prefix"
50698
50699 if test "X$x" = "X$element"; then
50700 haveit=yes
50701 break
50702 fi
50703 done
50704 if test -z "$haveit"; then
50705 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50706 fi
50707 done
50708
50709
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50711 $as_echo_n "checking for iconv... " >&6; }
50712 if test "${am_cv_func_iconv+set}" = set; then :
50713 $as_echo_n "(cached) " >&6
50714 else
50715
50716 am_cv_func_iconv="no, consider installing GNU libiconv"
50717 am_cv_lib_iconv=no
50718 if test x$gcc_no_link = xyes; then
50719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50720 fi
50721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50722 /* end confdefs.h. */
50723 #include <stdlib.h>
50724 #include <iconv.h>
50725 int
50726 main ()
50727 {
50728 iconv_t cd = iconv_open("","");
50729 iconv(cd,NULL,NULL,NULL,NULL);
50730 iconv_close(cd);
50731 ;
50732 return 0;
50733 }
50734 _ACEOF
50735 if ac_fn_c_try_link "$LINENO"; then :
50736 am_cv_func_iconv=yes
50737 fi
50738 rm -f core conftest.err conftest.$ac_objext \
50739 conftest$ac_exeext conftest.$ac_ext
50740 if test "$am_cv_func_iconv" != yes; then
50741 am_save_LIBS="$LIBS"
50742 LIBS="$LIBS $LIBICONV"
50743 if test x$gcc_no_link = xyes; then
50744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50745 fi
50746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50747 /* end confdefs.h. */
50748 #include <stdlib.h>
50749 #include <iconv.h>
50750 int
50751 main ()
50752 {
50753 iconv_t cd = iconv_open("","");
50754 iconv(cd,NULL,NULL,NULL,NULL);
50755 iconv_close(cd);
50756 ;
50757 return 0;
50758 }
50759 _ACEOF
50760 if ac_fn_c_try_link "$LINENO"; then :
50761 am_cv_lib_iconv=yes
50762 am_cv_func_iconv=yes
50763 fi
50764 rm -f core conftest.err conftest.$ac_objext \
50765 conftest$ac_exeext conftest.$ac_ext
50766 LIBS="$am_save_LIBS"
50767 fi
50768
50769 fi
50770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50771 $as_echo "$am_cv_func_iconv" >&6; }
50772 if test "$am_cv_func_iconv" = yes; then
50773
50774 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50775
50776 fi
50777 if test "$am_cv_lib_iconv" = yes; then
50778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50779 $as_echo_n "checking how to link with libiconv... " >&6; }
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50781 $as_echo "$LIBICONV" >&6; }
50782 else
50783 CPPFLAGS="$am_save_CPPFLAGS"
50784 LIBICONV=
50785 LTLIBICONV=
50786 fi
50787
50788
50789
50790 if test "$am_cv_func_iconv" = yes; then
50791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50792 $as_echo_n "checking for iconv declaration... " >&6; }
50793 if test "${am_cv_proto_iconv+set}" = set; then :
50794 $as_echo_n "(cached) " >&6
50795 else
50796
50797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50798 /* end confdefs.h. */
50799
50800 #include <stdlib.h>
50801 #include <iconv.h>
50802 extern
50803 #ifdef __cplusplus
50804 "C"
50805 #endif
50806 #if defined(__STDC__) || defined(__cplusplus)
50807 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50808 #else
50809 size_t iconv();
50810 #endif
50811
50812 int
50813 main ()
50814 {
50815
50816 ;
50817 return 0;
50818 }
50819 _ACEOF
50820 if ac_fn_c_try_compile "$LINENO"; then :
50821 am_cv_proto_iconv_arg1=""
50822 else
50823 am_cv_proto_iconv_arg1="const"
50824 fi
50825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50826 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);"
50827 fi
50828
50829 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50831 }$am_cv_proto_iconv" >&5
50832 $as_echo "${ac_t:-
50833 }$am_cv_proto_iconv" >&6; }
50834
50835 cat >>confdefs.h <<_ACEOF
50836 #define ICONV_CONST $am_cv_proto_iconv_arg1
50837 _ACEOF
50838
50839 fi
50840
50841 ;;
50842 *-mingw32*)
50843
50844 # If we're not using GNU ld, then there's no point in even trying these
50845 # tests. Check for that first. We should have already tested for gld
50846 # by now (in libtool), but require it now just to be safe...
50847 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50848 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50849
50850
50851
50852 # The name set by libtool depends on the version of libtool. Shame on us
50853 # for depending on an impl detail, but c'est la vie. Older versions used
50854 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50855 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50856 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50857 # set (hence we're using an older libtool), then set it.
50858 if test x${with_gnu_ld+set} != xset; then
50859 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50860 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50861 with_gnu_ld=no
50862 else
50863 with_gnu_ld=$ac_cv_prog_gnu_ld
50864 fi
50865 fi
50866
50867 # Start by getting the version number. I think the libtool test already
50868 # does some of this, but throws away the result.
50869 glibcxx_ld_is_gold=no
50870 if test x"$with_gnu_ld" = x"yes"; then
50871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50872 $as_echo_n "checking for ld version... " >&6; }
50873
50874 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50875 glibcxx_ld_is_gold=yes
50876 fi
50877 ldver=`$LD --version 2>/dev/null |
50878 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'`
50879
50880 glibcxx_gnu_ld_version=`echo $ldver | \
50881 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50883 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50884 fi
50885
50886 # Set --gc-sections.
50887 glibcxx_have_gc_sections=no
50888 if test "$glibcxx_ld_is_gold" = "yes"; then
50889 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50890 glibcxx_have_gc_sections=yes
50891 fi
50892 else
50893 glibcxx_gcsections_min_ld=21602
50894 if test x"$with_gnu_ld" = x"yes" &&
50895 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50896 glibcxx_have_gc_sections=yes
50897 fi
50898 fi
50899 if test "$glibcxx_have_gc_sections" = "yes"; then
50900 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50901 # NB: This flag only works reliably after 2.16.1. Configure tests
50902 # for this are difficult, so hard wire a value that should work.
50903
50904 ac_test_CFLAGS="${CFLAGS+set}"
50905 ac_save_CFLAGS="$CFLAGS"
50906 CFLAGS='-Wl,--gc-sections'
50907
50908 # Check for -Wl,--gc-sections
50909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50910 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50911 if test x$gcc_no_link = xyes; then
50912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50913 fi
50914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50915 /* end confdefs.h. */
50916 int one(void) { return 1; }
50917 int two(void) { return 2; }
50918
50919 int
50920 main ()
50921 {
50922 two();
50923 ;
50924 return 0;
50925 }
50926 _ACEOF
50927 if ac_fn_c_try_link "$LINENO"; then :
50928 ac_gcsections=yes
50929 else
50930 ac_gcsections=no
50931 fi
50932 rm -f core conftest.err conftest.$ac_objext \
50933 conftest$ac_exeext conftest.$ac_ext
50934 if test "$ac_gcsections" = "yes"; then
50935 rm -f conftest.c
50936 touch conftest.c
50937 if $CC -c conftest.c; then
50938 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50939 grep "Warning: gc-sections option ignored" > /dev/null; then
50940 ac_gcsections=no
50941 fi
50942 fi
50943 rm -f conftest.c conftest.o conftest
50944 fi
50945 if test "$ac_gcsections" = "yes"; then
50946 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50947 fi
50948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50949 $as_echo "$ac_gcsections" >&6; }
50950
50951 if test "$ac_test_CFLAGS" = set; then
50952 CFLAGS="$ac_save_CFLAGS"
50953 else
50954 # this is the suspicious part
50955 CFLAGS=''
50956 fi
50957 fi
50958
50959 # Set -z,relro.
50960 # Note this is only for shared objects.
50961 ac_ld_relro=no
50962 if test x"$with_gnu_ld" = x"yes"; then
50963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50964 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50965 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50966 if test -n "$cxx_z_relo"; then
50967 OPT_LDFLAGS="-Wl,-z,relro"
50968 ac_ld_relro=yes
50969 fi
50970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50971 $as_echo "$ac_ld_relro" >&6; }
50972 fi
50973
50974 # Set linker optimization flags.
50975 if test x"$with_gnu_ld" = x"yes"; then
50976 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50977 fi
50978
50979
50980
50981
50982
50983 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50984 ac_save_CXXFLAGS="$CXXFLAGS"
50985 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50986
50987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50988 $as_echo_n "checking for sin in -lm... " >&6; }
50989 if test "${ac_cv_lib_m_sin+set}" = set; then :
50990 $as_echo_n "(cached) " >&6
50991 else
50992 ac_check_lib_save_LIBS=$LIBS
50993 LIBS="-lm $LIBS"
50994 if test x$gcc_no_link = xyes; then
50995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50996 fi
50997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50998 /* end confdefs.h. */
50999
51000 /* Override any GCC internal prototype to avoid an error.
51001 Use char because int might match the return type of a GCC
51002 builtin and then its argument prototype would still apply. */
51003 #ifdef __cplusplus
51004 extern "C"
51005 #endif
51006 char sin ();
51007 int
51008 main ()
51009 {
51010 return sin ();
51011 ;
51012 return 0;
51013 }
51014 _ACEOF
51015 if ac_fn_c_try_link "$LINENO"; then :
51016 ac_cv_lib_m_sin=yes
51017 else
51018 ac_cv_lib_m_sin=no
51019 fi
51020 rm -f core conftest.err conftest.$ac_objext \
51021 conftest$ac_exeext conftest.$ac_ext
51022 LIBS=$ac_check_lib_save_LIBS
51023 fi
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51025 $as_echo "$ac_cv_lib_m_sin" >&6; }
51026 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51027 libm="-lm"
51028 fi
51029
51030 ac_save_LIBS="$LIBS"
51031 LIBS="$LIBS $libm"
51032
51033
51034
51035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51036 $as_echo_n "checking for isinf declaration... " >&6; }
51037 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51038 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51039 $as_echo_n "(cached) " >&6
51040 else
51041
51042
51043 ac_ext=cpp
51044 ac_cpp='$CXXCPP $CPPFLAGS'
51045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51048
51049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51050 /* end confdefs.h. */
51051 #include <math.h>
51052 #ifdef HAVE_IEEEFP_H
51053 #include <ieeefp.h>
51054 #endif
51055
51056 int
51057 main ()
51058 {
51059 isinf(0);
51060 ;
51061 return 0;
51062 }
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065 glibcxx_cv_func_isinf_use=yes
51066 else
51067 glibcxx_cv_func_isinf_use=no
51068 fi
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070 ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51075
51076
51077 fi
51078
51079 fi
51080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51081 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51082
51083 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51084 for ac_func in isinf
51085 do :
51086 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51087 if test "x$ac_cv_func_isinf" = x""yes; then :
51088 cat >>confdefs.h <<_ACEOF
51089 #define HAVE_ISINF 1
51090 _ACEOF
51091
51092 fi
51093 done
51094
51095 else
51096
51097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51098 $as_echo_n "checking for _isinf declaration... " >&6; }
51099 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51100 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51101 $as_echo_n "(cached) " >&6
51102 else
51103
51104
51105 ac_ext=cpp
51106 ac_cpp='$CXXCPP $CPPFLAGS'
51107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51110
51111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51112 /* end confdefs.h. */
51113 #include <math.h>
51114 #ifdef HAVE_IEEEFP_H
51115 #include <ieeefp.h>
51116 #endif
51117
51118 int
51119 main ()
51120 {
51121 _isinf(0);
51122 ;
51123 return 0;
51124 }
51125 _ACEOF
51126 if ac_fn_cxx_try_compile "$LINENO"; then :
51127 glibcxx_cv_func__isinf_use=yes
51128 else
51129 glibcxx_cv_func__isinf_use=no
51130 fi
51131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51132 ac_ext=c
51133 ac_cpp='$CPP $CPPFLAGS'
51134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51137
51138
51139 fi
51140
51141 fi
51142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51143 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51144
51145 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51146 for ac_func in _isinf
51147 do :
51148 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51149 if test "x$ac_cv_func__isinf" = x""yes; then :
51150 cat >>confdefs.h <<_ACEOF
51151 #define HAVE__ISINF 1
51152 _ACEOF
51153
51154 fi
51155 done
51156
51157 fi
51158 fi
51159
51160
51161
51162
51163
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51165 $as_echo_n "checking for isnan declaration... " >&6; }
51166 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51167 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51168 $as_echo_n "(cached) " >&6
51169 else
51170
51171
51172 ac_ext=cpp
51173 ac_cpp='$CXXCPP $CPPFLAGS'
51174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51177
51178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51179 /* end confdefs.h. */
51180 #include <math.h>
51181 #ifdef HAVE_IEEEFP_H
51182 #include <ieeefp.h>
51183 #endif
51184
51185 int
51186 main ()
51187 {
51188 isnan(0);
51189 ;
51190 return 0;
51191 }
51192 _ACEOF
51193 if ac_fn_cxx_try_compile "$LINENO"; then :
51194 glibcxx_cv_func_isnan_use=yes
51195 else
51196 glibcxx_cv_func_isnan_use=no
51197 fi
51198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51199 ac_ext=c
51200 ac_cpp='$CPP $CPPFLAGS'
51201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51204
51205
51206 fi
51207
51208 fi
51209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51210 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51211
51212 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51213 for ac_func in isnan
51214 do :
51215 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51216 if test "x$ac_cv_func_isnan" = x""yes; then :
51217 cat >>confdefs.h <<_ACEOF
51218 #define HAVE_ISNAN 1
51219 _ACEOF
51220
51221 fi
51222 done
51223
51224 else
51225
51226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51227 $as_echo_n "checking for _isnan declaration... " >&6; }
51228 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51229 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51230 $as_echo_n "(cached) " >&6
51231 else
51232
51233
51234 ac_ext=cpp
51235 ac_cpp='$CXXCPP $CPPFLAGS'
51236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51239
51240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51241 /* end confdefs.h. */
51242 #include <math.h>
51243 #ifdef HAVE_IEEEFP_H
51244 #include <ieeefp.h>
51245 #endif
51246
51247 int
51248 main ()
51249 {
51250 _isnan(0);
51251 ;
51252 return 0;
51253 }
51254 _ACEOF
51255 if ac_fn_cxx_try_compile "$LINENO"; then :
51256 glibcxx_cv_func__isnan_use=yes
51257 else
51258 glibcxx_cv_func__isnan_use=no
51259 fi
51260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51261 ac_ext=c
51262 ac_cpp='$CPP $CPPFLAGS'
51263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51266
51267
51268 fi
51269
51270 fi
51271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51272 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51273
51274 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51275 for ac_func in _isnan
51276 do :
51277 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51278 if test "x$ac_cv_func__isnan" = x""yes; then :
51279 cat >>confdefs.h <<_ACEOF
51280 #define HAVE__ISNAN 1
51281 _ACEOF
51282
51283 fi
51284 done
51285
51286 fi
51287 fi
51288
51289
51290
51291
51292
51293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51294 $as_echo_n "checking for finite declaration... " >&6; }
51295 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51296 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51297 $as_echo_n "(cached) " >&6
51298 else
51299
51300
51301 ac_ext=cpp
51302 ac_cpp='$CXXCPP $CPPFLAGS'
51303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51306
51307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51308 /* end confdefs.h. */
51309 #include <math.h>
51310 #ifdef HAVE_IEEEFP_H
51311 #include <ieeefp.h>
51312 #endif
51313
51314 int
51315 main ()
51316 {
51317 finite(0);
51318 ;
51319 return 0;
51320 }
51321 _ACEOF
51322 if ac_fn_cxx_try_compile "$LINENO"; then :
51323 glibcxx_cv_func_finite_use=yes
51324 else
51325 glibcxx_cv_func_finite_use=no
51326 fi
51327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51328 ac_ext=c
51329 ac_cpp='$CPP $CPPFLAGS'
51330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333
51334
51335 fi
51336
51337 fi
51338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51339 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51340
51341 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51342 for ac_func in finite
51343 do :
51344 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51345 if test "x$ac_cv_func_finite" = x""yes; then :
51346 cat >>confdefs.h <<_ACEOF
51347 #define HAVE_FINITE 1
51348 _ACEOF
51349
51350 fi
51351 done
51352
51353 else
51354
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51356 $as_echo_n "checking for _finite declaration... " >&6; }
51357 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51358 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51359 $as_echo_n "(cached) " >&6
51360 else
51361
51362
51363 ac_ext=cpp
51364 ac_cpp='$CXXCPP $CPPFLAGS'
51365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51368
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <math.h>
51372 #ifdef HAVE_IEEEFP_H
51373 #include <ieeefp.h>
51374 #endif
51375
51376 int
51377 main ()
51378 {
51379 _finite(0);
51380 ;
51381 return 0;
51382 }
51383 _ACEOF
51384 if ac_fn_cxx_try_compile "$LINENO"; then :
51385 glibcxx_cv_func__finite_use=yes
51386 else
51387 glibcxx_cv_func__finite_use=no
51388 fi
51389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51390 ac_ext=c
51391 ac_cpp='$CPP $CPPFLAGS'
51392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51395
51396
51397 fi
51398
51399 fi
51400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51401 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51402
51403 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51404 for ac_func in _finite
51405 do :
51406 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51407 if test "x$ac_cv_func__finite" = x""yes; then :
51408 cat >>confdefs.h <<_ACEOF
51409 #define HAVE__FINITE 1
51410 _ACEOF
51411
51412 fi
51413 done
51414
51415 fi
51416 fi
51417
51418
51419
51420
51421
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51423 $as_echo_n "checking for sincos declaration... " >&6; }
51424 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51425 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51428
51429
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51435
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51439 int
51440 main ()
51441 {
51442 sincos(0, 0, 0);
51443 ;
51444 return 0;
51445 }
51446 _ACEOF
51447 if ac_fn_cxx_try_compile "$LINENO"; then :
51448 glibcxx_cv_func_sincos_use=yes
51449 else
51450 glibcxx_cv_func_sincos_use=no
51451 fi
51452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51453 ac_ext=c
51454 ac_cpp='$CPP $CPPFLAGS'
51455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51458
51459
51460 fi
51461
51462 fi
51463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51464 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51465
51466 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51467 for ac_func in sincos
51468 do :
51469 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51470 if test "x$ac_cv_func_sincos" = x""yes; then :
51471 cat >>confdefs.h <<_ACEOF
51472 #define HAVE_SINCOS 1
51473 _ACEOF
51474
51475 fi
51476 done
51477
51478 else
51479
51480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51481 $as_echo_n "checking for _sincos declaration... " >&6; }
51482 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51483 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51484 $as_echo_n "(cached) " >&6
51485 else
51486
51487
51488 ac_ext=cpp
51489 ac_cpp='$CXXCPP $CPPFLAGS'
51490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51493
51494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51495 /* end confdefs.h. */
51496 #include <math.h>
51497 int
51498 main ()
51499 {
51500 _sincos(0, 0, 0);
51501 ;
51502 return 0;
51503 }
51504 _ACEOF
51505 if ac_fn_cxx_try_compile "$LINENO"; then :
51506 glibcxx_cv_func__sincos_use=yes
51507 else
51508 glibcxx_cv_func__sincos_use=no
51509 fi
51510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51511 ac_ext=c
51512 ac_cpp='$CPP $CPPFLAGS'
51513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51516
51517
51518 fi
51519
51520 fi
51521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51522 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51523
51524 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51525 for ac_func in _sincos
51526 do :
51527 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51528 if test "x$ac_cv_func__sincos" = x""yes; then :
51529 cat >>confdefs.h <<_ACEOF
51530 #define HAVE__SINCOS 1
51531 _ACEOF
51532
51533 fi
51534 done
51535
51536 fi
51537 fi
51538
51539
51540
51541
51542
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51544 $as_echo_n "checking for fpclass declaration... " >&6; }
51545 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51546 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51547 $as_echo_n "(cached) " >&6
51548 else
51549
51550
51551 ac_ext=cpp
51552 ac_cpp='$CXXCPP $CPPFLAGS'
51553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51556
51557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51558 /* end confdefs.h. */
51559 #include <math.h>
51560 #ifdef HAVE_IEEEFP_H
51561 #include <ieeefp.h>
51562 #endif
51563
51564 int
51565 main ()
51566 {
51567 fpclass(0);
51568 ;
51569 return 0;
51570 }
51571 _ACEOF
51572 if ac_fn_cxx_try_compile "$LINENO"; then :
51573 glibcxx_cv_func_fpclass_use=yes
51574 else
51575 glibcxx_cv_func_fpclass_use=no
51576 fi
51577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_ext=c
51579 ac_cpp='$CPP $CPPFLAGS'
51580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51583
51584
51585 fi
51586
51587 fi
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51589 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51590
51591 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51592 for ac_func in fpclass
51593 do :
51594 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51595 if test "x$ac_cv_func_fpclass" = x""yes; then :
51596 cat >>confdefs.h <<_ACEOF
51597 #define HAVE_FPCLASS 1
51598 _ACEOF
51599
51600 fi
51601 done
51602
51603 else
51604
51605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51606 $as_echo_n "checking for _fpclass declaration... " >&6; }
51607 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51608 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51609 $as_echo_n "(cached) " >&6
51610 else
51611
51612
51613 ac_ext=cpp
51614 ac_cpp='$CXXCPP $CPPFLAGS'
51615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51618
51619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51620 /* end confdefs.h. */
51621 #include <math.h>
51622 #ifdef HAVE_IEEEFP_H
51623 #include <ieeefp.h>
51624 #endif
51625
51626 int
51627 main ()
51628 {
51629 _fpclass(0);
51630 ;
51631 return 0;
51632 }
51633 _ACEOF
51634 if ac_fn_cxx_try_compile "$LINENO"; then :
51635 glibcxx_cv_func__fpclass_use=yes
51636 else
51637 glibcxx_cv_func__fpclass_use=no
51638 fi
51639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51640 ac_ext=c
51641 ac_cpp='$CPP $CPPFLAGS'
51642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51645
51646
51647 fi
51648
51649 fi
51650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51651 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51652
51653 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51654 for ac_func in _fpclass
51655 do :
51656 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51657 if test "x$ac_cv_func__fpclass" = x""yes; then :
51658 cat >>confdefs.h <<_ACEOF
51659 #define HAVE__FPCLASS 1
51660 _ACEOF
51661
51662 fi
51663 done
51664
51665 fi
51666 fi
51667
51668
51669
51670
51671
51672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51673 $as_echo_n "checking for qfpclass declaration... " >&6; }
51674 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51675 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51676 $as_echo_n "(cached) " >&6
51677 else
51678
51679
51680 ac_ext=cpp
51681 ac_cpp='$CXXCPP $CPPFLAGS'
51682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51685
51686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51687 /* end confdefs.h. */
51688 #include <math.h>
51689 #ifdef HAVE_IEEEFP_H
51690 #include <ieeefp.h>
51691 #endif
51692
51693 int
51694 main ()
51695 {
51696 qfpclass(0);
51697 ;
51698 return 0;
51699 }
51700 _ACEOF
51701 if ac_fn_cxx_try_compile "$LINENO"; then :
51702 glibcxx_cv_func_qfpclass_use=yes
51703 else
51704 glibcxx_cv_func_qfpclass_use=no
51705 fi
51706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51707 ac_ext=c
51708 ac_cpp='$CPP $CPPFLAGS'
51709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51712
51713
51714 fi
51715
51716 fi
51717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51718 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51719
51720 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51721 for ac_func in qfpclass
51722 do :
51723 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51724 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51725 cat >>confdefs.h <<_ACEOF
51726 #define HAVE_QFPCLASS 1
51727 _ACEOF
51728
51729 fi
51730 done
51731
51732 else
51733
51734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51735 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51736 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51737 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51738 $as_echo_n "(cached) " >&6
51739 else
51740
51741
51742 ac_ext=cpp
51743 ac_cpp='$CXXCPP $CPPFLAGS'
51744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51747
51748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51749 /* end confdefs.h. */
51750 #include <math.h>
51751 #ifdef HAVE_IEEEFP_H
51752 #include <ieeefp.h>
51753 #endif
51754
51755 int
51756 main ()
51757 {
51758 _qfpclass(0);
51759 ;
51760 return 0;
51761 }
51762 _ACEOF
51763 if ac_fn_cxx_try_compile "$LINENO"; then :
51764 glibcxx_cv_func__qfpclass_use=yes
51765 else
51766 glibcxx_cv_func__qfpclass_use=no
51767 fi
51768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51769 ac_ext=c
51770 ac_cpp='$CPP $CPPFLAGS'
51771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51774
51775
51776 fi
51777
51778 fi
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51780 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51781
51782 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51783 for ac_func in _qfpclass
51784 do :
51785 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51786 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51787 cat >>confdefs.h <<_ACEOF
51788 #define HAVE__QFPCLASS 1
51789 _ACEOF
51790
51791 fi
51792 done
51793
51794 fi
51795 fi
51796
51797
51798
51799
51800
51801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51802 $as_echo_n "checking for hypot declaration... " >&6; }
51803 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51804 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51805 $as_echo_n "(cached) " >&6
51806 else
51807
51808
51809 ac_ext=cpp
51810 ac_cpp='$CXXCPP $CPPFLAGS'
51811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51814
51815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51816 /* end confdefs.h. */
51817 #include <math.h>
51818 int
51819 main ()
51820 {
51821 hypot(0, 0);
51822 ;
51823 return 0;
51824 }
51825 _ACEOF
51826 if ac_fn_cxx_try_compile "$LINENO"; then :
51827 glibcxx_cv_func_hypot_use=yes
51828 else
51829 glibcxx_cv_func_hypot_use=no
51830 fi
51831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51832 ac_ext=c
51833 ac_cpp='$CPP $CPPFLAGS'
51834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51837
51838
51839 fi
51840
51841 fi
51842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51843 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51844
51845 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51846 for ac_func in hypot
51847 do :
51848 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51849 if test "x$ac_cv_func_hypot" = x""yes; then :
51850 cat >>confdefs.h <<_ACEOF
51851 #define HAVE_HYPOT 1
51852 _ACEOF
51853
51854 fi
51855 done
51856
51857 else
51858
51859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51860 $as_echo_n "checking for _hypot declaration... " >&6; }
51861 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51862 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51863 $as_echo_n "(cached) " >&6
51864 else
51865
51866
51867 ac_ext=cpp
51868 ac_cpp='$CXXCPP $CPPFLAGS'
51869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51872
51873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51874 /* end confdefs.h. */
51875 #include <math.h>
51876 int
51877 main ()
51878 {
51879 _hypot(0, 0);
51880 ;
51881 return 0;
51882 }
51883 _ACEOF
51884 if ac_fn_cxx_try_compile "$LINENO"; then :
51885 glibcxx_cv_func__hypot_use=yes
51886 else
51887 glibcxx_cv_func__hypot_use=no
51888 fi
51889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51890 ac_ext=c
51891 ac_cpp='$CPP $CPPFLAGS'
51892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51895
51896
51897 fi
51898
51899 fi
51900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51901 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51902
51903 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51904 for ac_func in _hypot
51905 do :
51906 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51907 if test "x$ac_cv_func__hypot" = x""yes; then :
51908 cat >>confdefs.h <<_ACEOF
51909 #define HAVE__HYPOT 1
51910 _ACEOF
51911
51912 fi
51913 done
51914
51915 fi
51916 fi
51917
51918
51919
51920
51921
51922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51923 $as_echo_n "checking for float trig functions... " >&6; }
51924 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51925 $as_echo_n "(cached) " >&6
51926 else
51927
51928
51929 ac_ext=cpp
51930 ac_cpp='$CXXCPP $CPPFLAGS'
51931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51934
51935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936 /* end confdefs.h. */
51937 #include <math.h>
51938 int
51939 main ()
51940 {
51941 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51942 ;
51943 return 0;
51944 }
51945 _ACEOF
51946 if ac_fn_cxx_try_compile "$LINENO"; then :
51947 glibcxx_cv_func_float_trig_use=yes
51948 else
51949 glibcxx_cv_func_float_trig_use=no
51950 fi
51951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51952 ac_ext=c
51953 ac_cpp='$CPP $CPPFLAGS'
51954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51957
51958 fi
51959
51960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51961 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51962 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51963 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51964 do :
51965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51967 eval as_val=\$$as_ac_var
51968 if test "x$as_val" = x""yes; then :
51969 cat >>confdefs.h <<_ACEOF
51970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51971 _ACEOF
51972
51973 fi
51974 done
51975
51976 else
51977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51978 $as_echo_n "checking for _float trig functions... " >&6; }
51979 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51980 $as_echo_n "(cached) " >&6
51981 else
51982
51983
51984 ac_ext=cpp
51985 ac_cpp='$CXXCPP $CPPFLAGS'
51986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51989
51990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51991 /* end confdefs.h. */
51992 #include <math.h>
51993 int
51994 main ()
51995 {
51996 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51997 ;
51998 return 0;
51999 }
52000 _ACEOF
52001 if ac_fn_cxx_try_compile "$LINENO"; then :
52002 glibcxx_cv_func__float_trig_use=yes
52003 else
52004 glibcxx_cv_func__float_trig_use=no
52005 fi
52006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52007 ac_ext=c
52008 ac_cpp='$CPP $CPPFLAGS'
52009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52012
52013 fi
52014
52015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52016 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52017 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52018 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52019 do :
52020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52022 eval as_val=\$$as_ac_var
52023 if test "x$as_val" = x""yes; then :
52024 cat >>confdefs.h <<_ACEOF
52025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52026 _ACEOF
52027
52028 fi
52029 done
52030
52031 fi
52032 fi
52033
52034
52035
52036
52037
52038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52039 $as_echo_n "checking for float round functions... " >&6; }
52040 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52041 $as_echo_n "(cached) " >&6
52042 else
52043
52044
52045 ac_ext=cpp
52046 ac_cpp='$CXXCPP $CPPFLAGS'
52047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52050
52051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52052 /* end confdefs.h. */
52053 #include <math.h>
52054 int
52055 main ()
52056 {
52057 ceilf (0); floorf (0);
52058 ;
52059 return 0;
52060 }
52061 _ACEOF
52062 if ac_fn_cxx_try_compile "$LINENO"; then :
52063 glibcxx_cv_func_float_round_use=yes
52064 else
52065 glibcxx_cv_func_float_round_use=no
52066 fi
52067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52068 ac_ext=c
52069 ac_cpp='$CPP $CPPFLAGS'
52070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52073
52074 fi
52075
52076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52077 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52078 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52079 for ac_func in ceilf floorf
52080 do :
52081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52083 eval as_val=\$$as_ac_var
52084 if test "x$as_val" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52087 _ACEOF
52088
52089 fi
52090 done
52091
52092 else
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52094 $as_echo_n "checking for _float round functions... " >&6; }
52095 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52096 $as_echo_n "(cached) " >&6
52097 else
52098
52099
52100 ac_ext=cpp
52101 ac_cpp='$CXXCPP $CPPFLAGS'
52102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52105
52106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52107 /* end confdefs.h. */
52108 #include <math.h>
52109 int
52110 main ()
52111 {
52112 _ceilf (0); _floorf (0);
52113 ;
52114 return 0;
52115 }
52116 _ACEOF
52117 if ac_fn_cxx_try_compile "$LINENO"; then :
52118 glibcxx_cv_func__float_round_use=yes
52119 else
52120 glibcxx_cv_func__float_round_use=no
52121 fi
52122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52123 ac_ext=c
52124 ac_cpp='$CPP $CPPFLAGS'
52125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52128
52129 fi
52130
52131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52132 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52133 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52134 for ac_func in _ceilf _floorf
52135 do :
52136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52138 eval as_val=\$$as_ac_var
52139 if test "x$as_val" = x""yes; then :
52140 cat >>confdefs.h <<_ACEOF
52141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52142 _ACEOF
52143
52144 fi
52145 done
52146
52147 fi
52148 fi
52149
52150
52151
52152
52153
52154
52155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52156 $as_echo_n "checking for expf declaration... " >&6; }
52157 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52158 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52159 $as_echo_n "(cached) " >&6
52160 else
52161
52162
52163 ac_ext=cpp
52164 ac_cpp='$CXXCPP $CPPFLAGS'
52165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52168
52169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52170 /* end confdefs.h. */
52171 #include <math.h>
52172 #ifdef HAVE_IEEEFP_H
52173 #include <ieeefp.h>
52174 #endif
52175
52176 int
52177 main ()
52178 {
52179 expf(0);
52180 ;
52181 return 0;
52182 }
52183 _ACEOF
52184 if ac_fn_cxx_try_compile "$LINENO"; then :
52185 glibcxx_cv_func_expf_use=yes
52186 else
52187 glibcxx_cv_func_expf_use=no
52188 fi
52189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52190 ac_ext=c
52191 ac_cpp='$CPP $CPPFLAGS'
52192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52195
52196
52197 fi
52198
52199 fi
52200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52201 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52202
52203 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52204 for ac_func in expf
52205 do :
52206 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52207 if test "x$ac_cv_func_expf" = x""yes; then :
52208 cat >>confdefs.h <<_ACEOF
52209 #define HAVE_EXPF 1
52210 _ACEOF
52211
52212 fi
52213 done
52214
52215 else
52216
52217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52218 $as_echo_n "checking for _expf declaration... " >&6; }
52219 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52220 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52221 $as_echo_n "(cached) " >&6
52222 else
52223
52224
52225 ac_ext=cpp
52226 ac_cpp='$CXXCPP $CPPFLAGS'
52227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52230
52231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52232 /* end confdefs.h. */
52233 #include <math.h>
52234 #ifdef HAVE_IEEEFP_H
52235 #include <ieeefp.h>
52236 #endif
52237
52238 int
52239 main ()
52240 {
52241 _expf(0);
52242 ;
52243 return 0;
52244 }
52245 _ACEOF
52246 if ac_fn_cxx_try_compile "$LINENO"; then :
52247 glibcxx_cv_func__expf_use=yes
52248 else
52249 glibcxx_cv_func__expf_use=no
52250 fi
52251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52252 ac_ext=c
52253 ac_cpp='$CPP $CPPFLAGS'
52254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52257
52258
52259 fi
52260
52261 fi
52262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52263 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52264
52265 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52266 for ac_func in _expf
52267 do :
52268 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52269 if test "x$ac_cv_func__expf" = x""yes; then :
52270 cat >>confdefs.h <<_ACEOF
52271 #define HAVE__EXPF 1
52272 _ACEOF
52273
52274 fi
52275 done
52276
52277 fi
52278 fi
52279
52280
52281
52282
52283
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52285 $as_echo_n "checking for isnanf declaration... " >&6; }
52286 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52287 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52288 $as_echo_n "(cached) " >&6
52289 else
52290
52291
52292 ac_ext=cpp
52293 ac_cpp='$CXXCPP $CPPFLAGS'
52294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52297
52298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52299 /* end confdefs.h. */
52300 #include <math.h>
52301 #ifdef HAVE_IEEEFP_H
52302 #include <ieeefp.h>
52303 #endif
52304
52305 int
52306 main ()
52307 {
52308 isnanf(0);
52309 ;
52310 return 0;
52311 }
52312 _ACEOF
52313 if ac_fn_cxx_try_compile "$LINENO"; then :
52314 glibcxx_cv_func_isnanf_use=yes
52315 else
52316 glibcxx_cv_func_isnanf_use=no
52317 fi
52318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52319 ac_ext=c
52320 ac_cpp='$CPP $CPPFLAGS'
52321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52324
52325
52326 fi
52327
52328 fi
52329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52330 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52331
52332 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52333 for ac_func in isnanf
52334 do :
52335 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52336 if test "x$ac_cv_func_isnanf" = x""yes; then :
52337 cat >>confdefs.h <<_ACEOF
52338 #define HAVE_ISNANF 1
52339 _ACEOF
52340
52341 fi
52342 done
52343
52344 else
52345
52346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52347 $as_echo_n "checking for _isnanf declaration... " >&6; }
52348 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52349 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52350 $as_echo_n "(cached) " >&6
52351 else
52352
52353
52354 ac_ext=cpp
52355 ac_cpp='$CXXCPP $CPPFLAGS'
52356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52359
52360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52361 /* end confdefs.h. */
52362 #include <math.h>
52363 #ifdef HAVE_IEEEFP_H
52364 #include <ieeefp.h>
52365 #endif
52366
52367 int
52368 main ()
52369 {
52370 _isnanf(0);
52371 ;
52372 return 0;
52373 }
52374 _ACEOF
52375 if ac_fn_cxx_try_compile "$LINENO"; then :
52376 glibcxx_cv_func__isnanf_use=yes
52377 else
52378 glibcxx_cv_func__isnanf_use=no
52379 fi
52380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52381 ac_ext=c
52382 ac_cpp='$CPP $CPPFLAGS'
52383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52386
52387
52388 fi
52389
52390 fi
52391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52392 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52393
52394 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52395 for ac_func in _isnanf
52396 do :
52397 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52398 if test "x$ac_cv_func__isnanf" = x""yes; then :
52399 cat >>confdefs.h <<_ACEOF
52400 #define HAVE__ISNANF 1
52401 _ACEOF
52402
52403 fi
52404 done
52405
52406 fi
52407 fi
52408
52409
52410
52411
52412
52413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52414 $as_echo_n "checking for isinff declaration... " >&6; }
52415 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52416 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52417 $as_echo_n "(cached) " >&6
52418 else
52419
52420
52421 ac_ext=cpp
52422 ac_cpp='$CXXCPP $CPPFLAGS'
52423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52426
52427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52428 /* end confdefs.h. */
52429 #include <math.h>
52430 #ifdef HAVE_IEEEFP_H
52431 #include <ieeefp.h>
52432 #endif
52433
52434 int
52435 main ()
52436 {
52437 isinff(0);
52438 ;
52439 return 0;
52440 }
52441 _ACEOF
52442 if ac_fn_cxx_try_compile "$LINENO"; then :
52443 glibcxx_cv_func_isinff_use=yes
52444 else
52445 glibcxx_cv_func_isinff_use=no
52446 fi
52447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52448 ac_ext=c
52449 ac_cpp='$CPP $CPPFLAGS'
52450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52453
52454
52455 fi
52456
52457 fi
52458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52459 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52460
52461 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52462 for ac_func in isinff
52463 do :
52464 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52465 if test "x$ac_cv_func_isinff" = x""yes; then :
52466 cat >>confdefs.h <<_ACEOF
52467 #define HAVE_ISINFF 1
52468 _ACEOF
52469
52470 fi
52471 done
52472
52473 else
52474
52475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52476 $as_echo_n "checking for _isinff declaration... " >&6; }
52477 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52478 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52479 $as_echo_n "(cached) " >&6
52480 else
52481
52482
52483 ac_ext=cpp
52484 ac_cpp='$CXXCPP $CPPFLAGS'
52485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52488
52489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52490 /* end confdefs.h. */
52491 #include <math.h>
52492 #ifdef HAVE_IEEEFP_H
52493 #include <ieeefp.h>
52494 #endif
52495
52496 int
52497 main ()
52498 {
52499 _isinff(0);
52500 ;
52501 return 0;
52502 }
52503 _ACEOF
52504 if ac_fn_cxx_try_compile "$LINENO"; then :
52505 glibcxx_cv_func__isinff_use=yes
52506 else
52507 glibcxx_cv_func__isinff_use=no
52508 fi
52509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52510 ac_ext=c
52511 ac_cpp='$CPP $CPPFLAGS'
52512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52515
52516
52517 fi
52518
52519 fi
52520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52521 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52522
52523 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52524 for ac_func in _isinff
52525 do :
52526 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52527 if test "x$ac_cv_func__isinff" = x""yes; then :
52528 cat >>confdefs.h <<_ACEOF
52529 #define HAVE__ISINFF 1
52530 _ACEOF
52531
52532 fi
52533 done
52534
52535 fi
52536 fi
52537
52538
52539
52540
52541
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52543 $as_echo_n "checking for atan2f declaration... " >&6; }
52544 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52545 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52546 $as_echo_n "(cached) " >&6
52547 else
52548
52549
52550 ac_ext=cpp
52551 ac_cpp='$CXXCPP $CPPFLAGS'
52552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52555
52556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52557 /* end confdefs.h. */
52558 #include <math.h>
52559 int
52560 main ()
52561 {
52562 atan2f(0, 0);
52563 ;
52564 return 0;
52565 }
52566 _ACEOF
52567 if ac_fn_cxx_try_compile "$LINENO"; then :
52568 glibcxx_cv_func_atan2f_use=yes
52569 else
52570 glibcxx_cv_func_atan2f_use=no
52571 fi
52572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52573 ac_ext=c
52574 ac_cpp='$CPP $CPPFLAGS'
52575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52578
52579
52580 fi
52581
52582 fi
52583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52584 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52585
52586 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52587 for ac_func in atan2f
52588 do :
52589 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52590 if test "x$ac_cv_func_atan2f" = x""yes; then :
52591 cat >>confdefs.h <<_ACEOF
52592 #define HAVE_ATAN2F 1
52593 _ACEOF
52594
52595 fi
52596 done
52597
52598 else
52599
52600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52601 $as_echo_n "checking for _atan2f declaration... " >&6; }
52602 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52603 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52604 $as_echo_n "(cached) " >&6
52605 else
52606
52607
52608 ac_ext=cpp
52609 ac_cpp='$CXXCPP $CPPFLAGS'
52610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52613
52614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52615 /* end confdefs.h. */
52616 #include <math.h>
52617 int
52618 main ()
52619 {
52620 _atan2f(0, 0);
52621 ;
52622 return 0;
52623 }
52624 _ACEOF
52625 if ac_fn_cxx_try_compile "$LINENO"; then :
52626 glibcxx_cv_func__atan2f_use=yes
52627 else
52628 glibcxx_cv_func__atan2f_use=no
52629 fi
52630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52631 ac_ext=c
52632 ac_cpp='$CPP $CPPFLAGS'
52633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52636
52637
52638 fi
52639
52640 fi
52641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52642 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52643
52644 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52645 for ac_func in _atan2f
52646 do :
52647 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52648 if test "x$ac_cv_func__atan2f" = x""yes; then :
52649 cat >>confdefs.h <<_ACEOF
52650 #define HAVE__ATAN2F 1
52651 _ACEOF
52652
52653 fi
52654 done
52655
52656 fi
52657 fi
52658
52659
52660
52661
52662
52663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52664 $as_echo_n "checking for fabsf declaration... " >&6; }
52665 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52666 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52667 $as_echo_n "(cached) " >&6
52668 else
52669
52670
52671 ac_ext=cpp
52672 ac_cpp='$CXXCPP $CPPFLAGS'
52673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52676
52677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52678 /* end confdefs.h. */
52679 #include <math.h>
52680 #ifdef HAVE_IEEEFP_H
52681 #include <ieeefp.h>
52682 #endif
52683
52684 int
52685 main ()
52686 {
52687 fabsf(0);
52688 ;
52689 return 0;
52690 }
52691 _ACEOF
52692 if ac_fn_cxx_try_compile "$LINENO"; then :
52693 glibcxx_cv_func_fabsf_use=yes
52694 else
52695 glibcxx_cv_func_fabsf_use=no
52696 fi
52697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52698 ac_ext=c
52699 ac_cpp='$CPP $CPPFLAGS'
52700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52703
52704
52705 fi
52706
52707 fi
52708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52709 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52710
52711 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52712 for ac_func in fabsf
52713 do :
52714 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52715 if test "x$ac_cv_func_fabsf" = x""yes; then :
52716 cat >>confdefs.h <<_ACEOF
52717 #define HAVE_FABSF 1
52718 _ACEOF
52719
52720 fi
52721 done
52722
52723 else
52724
52725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52726 $as_echo_n "checking for _fabsf declaration... " >&6; }
52727 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52728 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52729 $as_echo_n "(cached) " >&6
52730 else
52731
52732
52733 ac_ext=cpp
52734 ac_cpp='$CXXCPP $CPPFLAGS'
52735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52738
52739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52740 /* end confdefs.h. */
52741 #include <math.h>
52742 #ifdef HAVE_IEEEFP_H
52743 #include <ieeefp.h>
52744 #endif
52745
52746 int
52747 main ()
52748 {
52749 _fabsf(0);
52750 ;
52751 return 0;
52752 }
52753 _ACEOF
52754 if ac_fn_cxx_try_compile "$LINENO"; then :
52755 glibcxx_cv_func__fabsf_use=yes
52756 else
52757 glibcxx_cv_func__fabsf_use=no
52758 fi
52759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52760 ac_ext=c
52761 ac_cpp='$CPP $CPPFLAGS'
52762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52765
52766
52767 fi
52768
52769 fi
52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52771 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52772
52773 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52774 for ac_func in _fabsf
52775 do :
52776 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52777 if test "x$ac_cv_func__fabsf" = x""yes; then :
52778 cat >>confdefs.h <<_ACEOF
52779 #define HAVE__FABSF 1
52780 _ACEOF
52781
52782 fi
52783 done
52784
52785 fi
52786 fi
52787
52788
52789
52790
52791
52792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52793 $as_echo_n "checking for fmodf declaration... " >&6; }
52794 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52795 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52796 $as_echo_n "(cached) " >&6
52797 else
52798
52799
52800 ac_ext=cpp
52801 ac_cpp='$CXXCPP $CPPFLAGS'
52802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52805
52806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52807 /* end confdefs.h. */
52808 #include <math.h>
52809 int
52810 main ()
52811 {
52812 fmodf(0, 0);
52813 ;
52814 return 0;
52815 }
52816 _ACEOF
52817 if ac_fn_cxx_try_compile "$LINENO"; then :
52818 glibcxx_cv_func_fmodf_use=yes
52819 else
52820 glibcxx_cv_func_fmodf_use=no
52821 fi
52822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52823 ac_ext=c
52824 ac_cpp='$CPP $CPPFLAGS'
52825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52828
52829
52830 fi
52831
52832 fi
52833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52834 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52835
52836 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52837 for ac_func in fmodf
52838 do :
52839 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52840 if test "x$ac_cv_func_fmodf" = x""yes; then :
52841 cat >>confdefs.h <<_ACEOF
52842 #define HAVE_FMODF 1
52843 _ACEOF
52844
52845 fi
52846 done
52847
52848 else
52849
52850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52851 $as_echo_n "checking for _fmodf declaration... " >&6; }
52852 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52853 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52854 $as_echo_n "(cached) " >&6
52855 else
52856
52857
52858 ac_ext=cpp
52859 ac_cpp='$CXXCPP $CPPFLAGS'
52860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52863
52864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52865 /* end confdefs.h. */
52866 #include <math.h>
52867 int
52868 main ()
52869 {
52870 _fmodf(0, 0);
52871 ;
52872 return 0;
52873 }
52874 _ACEOF
52875 if ac_fn_cxx_try_compile "$LINENO"; then :
52876 glibcxx_cv_func__fmodf_use=yes
52877 else
52878 glibcxx_cv_func__fmodf_use=no
52879 fi
52880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52881 ac_ext=c
52882 ac_cpp='$CPP $CPPFLAGS'
52883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52886
52887
52888 fi
52889
52890 fi
52891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52892 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52893
52894 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52895 for ac_func in _fmodf
52896 do :
52897 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52898 if test "x$ac_cv_func__fmodf" = x""yes; then :
52899 cat >>confdefs.h <<_ACEOF
52900 #define HAVE__FMODF 1
52901 _ACEOF
52902
52903 fi
52904 done
52905
52906 fi
52907 fi
52908
52909
52910
52911
52912
52913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52914 $as_echo_n "checking for frexpf declaration... " >&6; }
52915 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52916 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52917 $as_echo_n "(cached) " >&6
52918 else
52919
52920
52921 ac_ext=cpp
52922 ac_cpp='$CXXCPP $CPPFLAGS'
52923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52926
52927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52928 /* end confdefs.h. */
52929 #include <math.h>
52930 int
52931 main ()
52932 {
52933 frexpf(0, 0);
52934 ;
52935 return 0;
52936 }
52937 _ACEOF
52938 if ac_fn_cxx_try_compile "$LINENO"; then :
52939 glibcxx_cv_func_frexpf_use=yes
52940 else
52941 glibcxx_cv_func_frexpf_use=no
52942 fi
52943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52944 ac_ext=c
52945 ac_cpp='$CPP $CPPFLAGS'
52946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52949
52950
52951 fi
52952
52953 fi
52954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52955 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52956
52957 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52958 for ac_func in frexpf
52959 do :
52960 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52961 if test "x$ac_cv_func_frexpf" = x""yes; then :
52962 cat >>confdefs.h <<_ACEOF
52963 #define HAVE_FREXPF 1
52964 _ACEOF
52965
52966 fi
52967 done
52968
52969 else
52970
52971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52972 $as_echo_n "checking for _frexpf declaration... " >&6; }
52973 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52974 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52975 $as_echo_n "(cached) " >&6
52976 else
52977
52978
52979 ac_ext=cpp
52980 ac_cpp='$CXXCPP $CPPFLAGS'
52981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52984
52985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52986 /* end confdefs.h. */
52987 #include <math.h>
52988 int
52989 main ()
52990 {
52991 _frexpf(0, 0);
52992 ;
52993 return 0;
52994 }
52995 _ACEOF
52996 if ac_fn_cxx_try_compile "$LINENO"; then :
52997 glibcxx_cv_func__frexpf_use=yes
52998 else
52999 glibcxx_cv_func__frexpf_use=no
53000 fi
53001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53002 ac_ext=c
53003 ac_cpp='$CPP $CPPFLAGS'
53004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53007
53008
53009 fi
53010
53011 fi
53012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53013 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53014
53015 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53016 for ac_func in _frexpf
53017 do :
53018 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53019 if test "x$ac_cv_func__frexpf" = x""yes; then :
53020 cat >>confdefs.h <<_ACEOF
53021 #define HAVE__FREXPF 1
53022 _ACEOF
53023
53024 fi
53025 done
53026
53027 fi
53028 fi
53029
53030
53031
53032
53033
53034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53035 $as_echo_n "checking for hypotf declaration... " >&6; }
53036 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53037 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53038 $as_echo_n "(cached) " >&6
53039 else
53040
53041
53042 ac_ext=cpp
53043 ac_cpp='$CXXCPP $CPPFLAGS'
53044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53047
53048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53049 /* end confdefs.h. */
53050 #include <math.h>
53051 int
53052 main ()
53053 {
53054 hypotf(0, 0);
53055 ;
53056 return 0;
53057 }
53058 _ACEOF
53059 if ac_fn_cxx_try_compile "$LINENO"; then :
53060 glibcxx_cv_func_hypotf_use=yes
53061 else
53062 glibcxx_cv_func_hypotf_use=no
53063 fi
53064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53065 ac_ext=c
53066 ac_cpp='$CPP $CPPFLAGS'
53067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53070
53071
53072 fi
53073
53074 fi
53075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53076 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53077
53078 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53079 for ac_func in hypotf
53080 do :
53081 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53082 if test "x$ac_cv_func_hypotf" = x""yes; then :
53083 cat >>confdefs.h <<_ACEOF
53084 #define HAVE_HYPOTF 1
53085 _ACEOF
53086
53087 fi
53088 done
53089
53090 else
53091
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53093 $as_echo_n "checking for _hypotf declaration... " >&6; }
53094 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53095 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53096 $as_echo_n "(cached) " >&6
53097 else
53098
53099
53100 ac_ext=cpp
53101 ac_cpp='$CXXCPP $CPPFLAGS'
53102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53105
53106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53107 /* end confdefs.h. */
53108 #include <math.h>
53109 int
53110 main ()
53111 {
53112 _hypotf(0, 0);
53113 ;
53114 return 0;
53115 }
53116 _ACEOF
53117 if ac_fn_cxx_try_compile "$LINENO"; then :
53118 glibcxx_cv_func__hypotf_use=yes
53119 else
53120 glibcxx_cv_func__hypotf_use=no
53121 fi
53122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53123 ac_ext=c
53124 ac_cpp='$CPP $CPPFLAGS'
53125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53128
53129
53130 fi
53131
53132 fi
53133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53134 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53135
53136 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53137 for ac_func in _hypotf
53138 do :
53139 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53140 if test "x$ac_cv_func__hypotf" = x""yes; then :
53141 cat >>confdefs.h <<_ACEOF
53142 #define HAVE__HYPOTF 1
53143 _ACEOF
53144
53145 fi
53146 done
53147
53148 fi
53149 fi
53150
53151
53152
53153
53154
53155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53156 $as_echo_n "checking for ldexpf declaration... " >&6; }
53157 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53158 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53159 $as_echo_n "(cached) " >&6
53160 else
53161
53162
53163 ac_ext=cpp
53164 ac_cpp='$CXXCPP $CPPFLAGS'
53165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53168
53169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53170 /* end confdefs.h. */
53171 #include <math.h>
53172 int
53173 main ()
53174 {
53175 ldexpf(0, 0);
53176 ;
53177 return 0;
53178 }
53179 _ACEOF
53180 if ac_fn_cxx_try_compile "$LINENO"; then :
53181 glibcxx_cv_func_ldexpf_use=yes
53182 else
53183 glibcxx_cv_func_ldexpf_use=no
53184 fi
53185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53186 ac_ext=c
53187 ac_cpp='$CPP $CPPFLAGS'
53188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53191
53192
53193 fi
53194
53195 fi
53196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53197 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53198
53199 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53200 for ac_func in ldexpf
53201 do :
53202 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53203 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53204 cat >>confdefs.h <<_ACEOF
53205 #define HAVE_LDEXPF 1
53206 _ACEOF
53207
53208 fi
53209 done
53210
53211 else
53212
53213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53214 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53215 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53216 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53217 $as_echo_n "(cached) " >&6
53218 else
53219
53220
53221 ac_ext=cpp
53222 ac_cpp='$CXXCPP $CPPFLAGS'
53223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53226
53227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53228 /* end confdefs.h. */
53229 #include <math.h>
53230 int
53231 main ()
53232 {
53233 _ldexpf(0, 0);
53234 ;
53235 return 0;
53236 }
53237 _ACEOF
53238 if ac_fn_cxx_try_compile "$LINENO"; then :
53239 glibcxx_cv_func__ldexpf_use=yes
53240 else
53241 glibcxx_cv_func__ldexpf_use=no
53242 fi
53243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53244 ac_ext=c
53245 ac_cpp='$CPP $CPPFLAGS'
53246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53249
53250
53251 fi
53252
53253 fi
53254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53255 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53256
53257 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53258 for ac_func in _ldexpf
53259 do :
53260 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53261 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53262 cat >>confdefs.h <<_ACEOF
53263 #define HAVE__LDEXPF 1
53264 _ACEOF
53265
53266 fi
53267 done
53268
53269 fi
53270 fi
53271
53272
53273
53274
53275
53276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53277 $as_echo_n "checking for logf declaration... " >&6; }
53278 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53279 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53280 $as_echo_n "(cached) " >&6
53281 else
53282
53283
53284 ac_ext=cpp
53285 ac_cpp='$CXXCPP $CPPFLAGS'
53286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53289
53290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53291 /* end confdefs.h. */
53292 #include <math.h>
53293 #ifdef HAVE_IEEEFP_H
53294 #include <ieeefp.h>
53295 #endif
53296
53297 int
53298 main ()
53299 {
53300 logf(0);
53301 ;
53302 return 0;
53303 }
53304 _ACEOF
53305 if ac_fn_cxx_try_compile "$LINENO"; then :
53306 glibcxx_cv_func_logf_use=yes
53307 else
53308 glibcxx_cv_func_logf_use=no
53309 fi
53310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53311 ac_ext=c
53312 ac_cpp='$CPP $CPPFLAGS'
53313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53316
53317
53318 fi
53319
53320 fi
53321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53322 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53323
53324 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53325 for ac_func in logf
53326 do :
53327 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53328 if test "x$ac_cv_func_logf" = x""yes; then :
53329 cat >>confdefs.h <<_ACEOF
53330 #define HAVE_LOGF 1
53331 _ACEOF
53332
53333 fi
53334 done
53335
53336 else
53337
53338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53339 $as_echo_n "checking for _logf declaration... " >&6; }
53340 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53341 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53342 $as_echo_n "(cached) " >&6
53343 else
53344
53345
53346 ac_ext=cpp
53347 ac_cpp='$CXXCPP $CPPFLAGS'
53348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53351
53352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53353 /* end confdefs.h. */
53354 #include <math.h>
53355 #ifdef HAVE_IEEEFP_H
53356 #include <ieeefp.h>
53357 #endif
53358
53359 int
53360 main ()
53361 {
53362 _logf(0);
53363 ;
53364 return 0;
53365 }
53366 _ACEOF
53367 if ac_fn_cxx_try_compile "$LINENO"; then :
53368 glibcxx_cv_func__logf_use=yes
53369 else
53370 glibcxx_cv_func__logf_use=no
53371 fi
53372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53373 ac_ext=c
53374 ac_cpp='$CPP $CPPFLAGS'
53375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53378
53379
53380 fi
53381
53382 fi
53383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53384 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53385
53386 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53387 for ac_func in _logf
53388 do :
53389 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53390 if test "x$ac_cv_func__logf" = x""yes; then :
53391 cat >>confdefs.h <<_ACEOF
53392 #define HAVE__LOGF 1
53393 _ACEOF
53394
53395 fi
53396 done
53397
53398 fi
53399 fi
53400
53401
53402
53403
53404
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53406 $as_echo_n "checking for log10f declaration... " >&6; }
53407 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53408 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53409 $as_echo_n "(cached) " >&6
53410 else
53411
53412
53413 ac_ext=cpp
53414 ac_cpp='$CXXCPP $CPPFLAGS'
53415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53418
53419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53420 /* end confdefs.h. */
53421 #include <math.h>
53422 #ifdef HAVE_IEEEFP_H
53423 #include <ieeefp.h>
53424 #endif
53425
53426 int
53427 main ()
53428 {
53429 log10f(0);
53430 ;
53431 return 0;
53432 }
53433 _ACEOF
53434 if ac_fn_cxx_try_compile "$LINENO"; then :
53435 glibcxx_cv_func_log10f_use=yes
53436 else
53437 glibcxx_cv_func_log10f_use=no
53438 fi
53439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53440 ac_ext=c
53441 ac_cpp='$CPP $CPPFLAGS'
53442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53445
53446
53447 fi
53448
53449 fi
53450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53451 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53452
53453 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53454 for ac_func in log10f
53455 do :
53456 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53457 if test "x$ac_cv_func_log10f" = x""yes; then :
53458 cat >>confdefs.h <<_ACEOF
53459 #define HAVE_LOG10F 1
53460 _ACEOF
53461
53462 fi
53463 done
53464
53465 else
53466
53467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53468 $as_echo_n "checking for _log10f declaration... " >&6; }
53469 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53470 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53471 $as_echo_n "(cached) " >&6
53472 else
53473
53474
53475 ac_ext=cpp
53476 ac_cpp='$CXXCPP $CPPFLAGS'
53477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53480
53481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53482 /* end confdefs.h. */
53483 #include <math.h>
53484 #ifdef HAVE_IEEEFP_H
53485 #include <ieeefp.h>
53486 #endif
53487
53488 int
53489 main ()
53490 {
53491 _log10f(0);
53492 ;
53493 return 0;
53494 }
53495 _ACEOF
53496 if ac_fn_cxx_try_compile "$LINENO"; then :
53497 glibcxx_cv_func__log10f_use=yes
53498 else
53499 glibcxx_cv_func__log10f_use=no
53500 fi
53501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53502 ac_ext=c
53503 ac_cpp='$CPP $CPPFLAGS'
53504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53507
53508
53509 fi
53510
53511 fi
53512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53513 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53514
53515 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53516 for ac_func in _log10f
53517 do :
53518 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53519 if test "x$ac_cv_func__log10f" = x""yes; then :
53520 cat >>confdefs.h <<_ACEOF
53521 #define HAVE__LOG10F 1
53522 _ACEOF
53523
53524 fi
53525 done
53526
53527 fi
53528 fi
53529
53530
53531
53532
53533
53534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53535 $as_echo_n "checking for modff declaration... " >&6; }
53536 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53537 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53538 $as_echo_n "(cached) " >&6
53539 else
53540
53541
53542 ac_ext=cpp
53543 ac_cpp='$CXXCPP $CPPFLAGS'
53544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53547
53548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53549 /* end confdefs.h. */
53550 #include <math.h>
53551 int
53552 main ()
53553 {
53554 modff(0, 0);
53555 ;
53556 return 0;
53557 }
53558 _ACEOF
53559 if ac_fn_cxx_try_compile "$LINENO"; then :
53560 glibcxx_cv_func_modff_use=yes
53561 else
53562 glibcxx_cv_func_modff_use=no
53563 fi
53564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53565 ac_ext=c
53566 ac_cpp='$CPP $CPPFLAGS'
53567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53570
53571
53572 fi
53573
53574 fi
53575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53576 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53577
53578 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53579 for ac_func in modff
53580 do :
53581 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53582 if test "x$ac_cv_func_modff" = x""yes; then :
53583 cat >>confdefs.h <<_ACEOF
53584 #define HAVE_MODFF 1
53585 _ACEOF
53586
53587 fi
53588 done
53589
53590 else
53591
53592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53593 $as_echo_n "checking for _modff declaration... " >&6; }
53594 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53595 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53596 $as_echo_n "(cached) " >&6
53597 else
53598
53599
53600 ac_ext=cpp
53601 ac_cpp='$CXXCPP $CPPFLAGS'
53602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53605
53606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53607 /* end confdefs.h. */
53608 #include <math.h>
53609 int
53610 main ()
53611 {
53612 _modff(0, 0);
53613 ;
53614 return 0;
53615 }
53616 _ACEOF
53617 if ac_fn_cxx_try_compile "$LINENO"; then :
53618 glibcxx_cv_func__modff_use=yes
53619 else
53620 glibcxx_cv_func__modff_use=no
53621 fi
53622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53623 ac_ext=c
53624 ac_cpp='$CPP $CPPFLAGS'
53625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53628
53629
53630 fi
53631
53632 fi
53633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53634 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53635
53636 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53637 for ac_func in _modff
53638 do :
53639 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53640 if test "x$ac_cv_func__modff" = x""yes; then :
53641 cat >>confdefs.h <<_ACEOF
53642 #define HAVE__MODFF 1
53643 _ACEOF
53644
53645 fi
53646 done
53647
53648 fi
53649 fi
53650
53651
53652
53653
53654
53655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53656 $as_echo_n "checking for modf declaration... " >&6; }
53657 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53658 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53659 $as_echo_n "(cached) " >&6
53660 else
53661
53662
53663 ac_ext=cpp
53664 ac_cpp='$CXXCPP $CPPFLAGS'
53665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53668
53669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53670 /* end confdefs.h. */
53671 #include <math.h>
53672 int
53673 main ()
53674 {
53675 modf(0, 0);
53676 ;
53677 return 0;
53678 }
53679 _ACEOF
53680 if ac_fn_cxx_try_compile "$LINENO"; then :
53681 glibcxx_cv_func_modf_use=yes
53682 else
53683 glibcxx_cv_func_modf_use=no
53684 fi
53685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53686 ac_ext=c
53687 ac_cpp='$CPP $CPPFLAGS'
53688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53691
53692
53693 fi
53694
53695 fi
53696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53697 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53698
53699 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53700 for ac_func in modf
53701 do :
53702 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53703 if test "x$ac_cv_func_modf" = x""yes; then :
53704 cat >>confdefs.h <<_ACEOF
53705 #define HAVE_MODF 1
53706 _ACEOF
53707
53708 fi
53709 done
53710
53711 else
53712
53713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53714 $as_echo_n "checking for _modf declaration... " >&6; }
53715 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53716 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53717 $as_echo_n "(cached) " >&6
53718 else
53719
53720
53721 ac_ext=cpp
53722 ac_cpp='$CXXCPP $CPPFLAGS'
53723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53726
53727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53728 /* end confdefs.h. */
53729 #include <math.h>
53730 int
53731 main ()
53732 {
53733 _modf(0, 0);
53734 ;
53735 return 0;
53736 }
53737 _ACEOF
53738 if ac_fn_cxx_try_compile "$LINENO"; then :
53739 glibcxx_cv_func__modf_use=yes
53740 else
53741 glibcxx_cv_func__modf_use=no
53742 fi
53743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53744 ac_ext=c
53745 ac_cpp='$CPP $CPPFLAGS'
53746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53749
53750
53751 fi
53752
53753 fi
53754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53755 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53756
53757 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53758 for ac_func in _modf
53759 do :
53760 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53761 if test "x$ac_cv_func__modf" = x""yes; then :
53762 cat >>confdefs.h <<_ACEOF
53763 #define HAVE__MODF 1
53764 _ACEOF
53765
53766 fi
53767 done
53768
53769 fi
53770 fi
53771
53772
53773
53774
53775
53776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53777 $as_echo_n "checking for powf declaration... " >&6; }
53778 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53779 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53780 $as_echo_n "(cached) " >&6
53781 else
53782
53783
53784 ac_ext=cpp
53785 ac_cpp='$CXXCPP $CPPFLAGS'
53786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53789
53790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53791 /* end confdefs.h. */
53792 #include <math.h>
53793 int
53794 main ()
53795 {
53796 powf(0, 0);
53797 ;
53798 return 0;
53799 }
53800 _ACEOF
53801 if ac_fn_cxx_try_compile "$LINENO"; then :
53802 glibcxx_cv_func_powf_use=yes
53803 else
53804 glibcxx_cv_func_powf_use=no
53805 fi
53806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53807 ac_ext=c
53808 ac_cpp='$CPP $CPPFLAGS'
53809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53812
53813
53814 fi
53815
53816 fi
53817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53818 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53819
53820 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53821 for ac_func in powf
53822 do :
53823 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53824 if test "x$ac_cv_func_powf" = x""yes; then :
53825 cat >>confdefs.h <<_ACEOF
53826 #define HAVE_POWF 1
53827 _ACEOF
53828
53829 fi
53830 done
53831
53832 else
53833
53834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53835 $as_echo_n "checking for _powf declaration... " >&6; }
53836 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53837 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53838 $as_echo_n "(cached) " >&6
53839 else
53840
53841
53842 ac_ext=cpp
53843 ac_cpp='$CXXCPP $CPPFLAGS'
53844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53847
53848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53849 /* end confdefs.h. */
53850 #include <math.h>
53851 int
53852 main ()
53853 {
53854 _powf(0, 0);
53855 ;
53856 return 0;
53857 }
53858 _ACEOF
53859 if ac_fn_cxx_try_compile "$LINENO"; then :
53860 glibcxx_cv_func__powf_use=yes
53861 else
53862 glibcxx_cv_func__powf_use=no
53863 fi
53864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53865 ac_ext=c
53866 ac_cpp='$CPP $CPPFLAGS'
53867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53870
53871
53872 fi
53873
53874 fi
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53876 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53877
53878 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53879 for ac_func in _powf
53880 do :
53881 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53882 if test "x$ac_cv_func__powf" = x""yes; then :
53883 cat >>confdefs.h <<_ACEOF
53884 #define HAVE__POWF 1
53885 _ACEOF
53886
53887 fi
53888 done
53889
53890 fi
53891 fi
53892
53893
53894
53895
53896
53897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53898 $as_echo_n "checking for sqrtf declaration... " >&6; }
53899 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53900 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53901 $as_echo_n "(cached) " >&6
53902 else
53903
53904
53905 ac_ext=cpp
53906 ac_cpp='$CXXCPP $CPPFLAGS'
53907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53910
53911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53912 /* end confdefs.h. */
53913 #include <math.h>
53914 #ifdef HAVE_IEEEFP_H
53915 #include <ieeefp.h>
53916 #endif
53917
53918 int
53919 main ()
53920 {
53921 sqrtf(0);
53922 ;
53923 return 0;
53924 }
53925 _ACEOF
53926 if ac_fn_cxx_try_compile "$LINENO"; then :
53927 glibcxx_cv_func_sqrtf_use=yes
53928 else
53929 glibcxx_cv_func_sqrtf_use=no
53930 fi
53931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53932 ac_ext=c
53933 ac_cpp='$CPP $CPPFLAGS'
53934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53937
53938
53939 fi
53940
53941 fi
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53943 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53944
53945 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53946 for ac_func in sqrtf
53947 do :
53948 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53949 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53950 cat >>confdefs.h <<_ACEOF
53951 #define HAVE_SQRTF 1
53952 _ACEOF
53953
53954 fi
53955 done
53956
53957 else
53958
53959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53960 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53961 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53962 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53963 $as_echo_n "(cached) " >&6
53964 else
53965
53966
53967 ac_ext=cpp
53968 ac_cpp='$CXXCPP $CPPFLAGS'
53969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53972
53973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53974 /* end confdefs.h. */
53975 #include <math.h>
53976 #ifdef HAVE_IEEEFP_H
53977 #include <ieeefp.h>
53978 #endif
53979
53980 int
53981 main ()
53982 {
53983 _sqrtf(0);
53984 ;
53985 return 0;
53986 }
53987 _ACEOF
53988 if ac_fn_cxx_try_compile "$LINENO"; then :
53989 glibcxx_cv_func__sqrtf_use=yes
53990 else
53991 glibcxx_cv_func__sqrtf_use=no
53992 fi
53993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53994 ac_ext=c
53995 ac_cpp='$CPP $CPPFLAGS'
53996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53999
54000
54001 fi
54002
54003 fi
54004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54005 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54006
54007 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54008 for ac_func in _sqrtf
54009 do :
54010 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54011 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54012 cat >>confdefs.h <<_ACEOF
54013 #define HAVE__SQRTF 1
54014 _ACEOF
54015
54016 fi
54017 done
54018
54019 fi
54020 fi
54021
54022
54023
54024
54025
54026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54027 $as_echo_n "checking for sincosf declaration... " >&6; }
54028 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54029 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54030 $as_echo_n "(cached) " >&6
54031 else
54032
54033
54034 ac_ext=cpp
54035 ac_cpp='$CXXCPP $CPPFLAGS'
54036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54039
54040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54041 /* end confdefs.h. */
54042 #include <math.h>
54043 int
54044 main ()
54045 {
54046 sincosf(0, 0, 0);
54047 ;
54048 return 0;
54049 }
54050 _ACEOF
54051 if ac_fn_cxx_try_compile "$LINENO"; then :
54052 glibcxx_cv_func_sincosf_use=yes
54053 else
54054 glibcxx_cv_func_sincosf_use=no
54055 fi
54056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54057 ac_ext=c
54058 ac_cpp='$CPP $CPPFLAGS'
54059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54062
54063
54064 fi
54065
54066 fi
54067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54068 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54069
54070 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54071 for ac_func in sincosf
54072 do :
54073 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54074 if test "x$ac_cv_func_sincosf" = x""yes; then :
54075 cat >>confdefs.h <<_ACEOF
54076 #define HAVE_SINCOSF 1
54077 _ACEOF
54078
54079 fi
54080 done
54081
54082 else
54083
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54085 $as_echo_n "checking for _sincosf declaration... " >&6; }
54086 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54087 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54088 $as_echo_n "(cached) " >&6
54089 else
54090
54091
54092 ac_ext=cpp
54093 ac_cpp='$CXXCPP $CPPFLAGS'
54094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54097
54098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54099 /* end confdefs.h. */
54100 #include <math.h>
54101 int
54102 main ()
54103 {
54104 _sincosf(0, 0, 0);
54105 ;
54106 return 0;
54107 }
54108 _ACEOF
54109 if ac_fn_cxx_try_compile "$LINENO"; then :
54110 glibcxx_cv_func__sincosf_use=yes
54111 else
54112 glibcxx_cv_func__sincosf_use=no
54113 fi
54114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54115 ac_ext=c
54116 ac_cpp='$CPP $CPPFLAGS'
54117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54120
54121
54122 fi
54123
54124 fi
54125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54126 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54127
54128 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54129 for ac_func in _sincosf
54130 do :
54131 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54132 if test "x$ac_cv_func__sincosf" = x""yes; then :
54133 cat >>confdefs.h <<_ACEOF
54134 #define HAVE__SINCOSF 1
54135 _ACEOF
54136
54137 fi
54138 done
54139
54140 fi
54141 fi
54142
54143
54144
54145
54146
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54148 $as_echo_n "checking for finitef declaration... " >&6; }
54149 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54150 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54151 $as_echo_n "(cached) " >&6
54152 else
54153
54154
54155 ac_ext=cpp
54156 ac_cpp='$CXXCPP $CPPFLAGS'
54157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54160
54161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54162 /* end confdefs.h. */
54163 #include <math.h>
54164 #ifdef HAVE_IEEEFP_H
54165 #include <ieeefp.h>
54166 #endif
54167
54168 int
54169 main ()
54170 {
54171 finitef(0);
54172 ;
54173 return 0;
54174 }
54175 _ACEOF
54176 if ac_fn_cxx_try_compile "$LINENO"; then :
54177 glibcxx_cv_func_finitef_use=yes
54178 else
54179 glibcxx_cv_func_finitef_use=no
54180 fi
54181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54182 ac_ext=c
54183 ac_cpp='$CPP $CPPFLAGS'
54184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54187
54188
54189 fi
54190
54191 fi
54192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54193 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54194
54195 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54196 for ac_func in finitef
54197 do :
54198 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54199 if test "x$ac_cv_func_finitef" = x""yes; then :
54200 cat >>confdefs.h <<_ACEOF
54201 #define HAVE_FINITEF 1
54202 _ACEOF
54203
54204 fi
54205 done
54206
54207 else
54208
54209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54210 $as_echo_n "checking for _finitef declaration... " >&6; }
54211 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54212 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54213 $as_echo_n "(cached) " >&6
54214 else
54215
54216
54217 ac_ext=cpp
54218 ac_cpp='$CXXCPP $CPPFLAGS'
54219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54222
54223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54224 /* end confdefs.h. */
54225 #include <math.h>
54226 #ifdef HAVE_IEEEFP_H
54227 #include <ieeefp.h>
54228 #endif
54229
54230 int
54231 main ()
54232 {
54233 _finitef(0);
54234 ;
54235 return 0;
54236 }
54237 _ACEOF
54238 if ac_fn_cxx_try_compile "$LINENO"; then :
54239 glibcxx_cv_func__finitef_use=yes
54240 else
54241 glibcxx_cv_func__finitef_use=no
54242 fi
54243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54244 ac_ext=c
54245 ac_cpp='$CPP $CPPFLAGS'
54246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54249
54250
54251 fi
54252
54253 fi
54254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54255 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54256
54257 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54258 for ac_func in _finitef
54259 do :
54260 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54261 if test "x$ac_cv_func__finitef" = x""yes; then :
54262 cat >>confdefs.h <<_ACEOF
54263 #define HAVE__FINITEF 1
54264 _ACEOF
54265
54266 fi
54267 done
54268
54269 fi
54270 fi
54271
54272
54273
54274
54275
54276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54277 $as_echo_n "checking for long double trig functions... " >&6; }
54278 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54279 $as_echo_n "(cached) " >&6
54280 else
54281
54282
54283 ac_ext=cpp
54284 ac_cpp='$CXXCPP $CPPFLAGS'
54285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54288
54289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54290 /* end confdefs.h. */
54291 #include <math.h>
54292 int
54293 main ()
54294 {
54295 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54296 ;
54297 return 0;
54298 }
54299 _ACEOF
54300 if ac_fn_cxx_try_compile "$LINENO"; then :
54301 glibcxx_cv_func_long_double_trig_use=yes
54302 else
54303 glibcxx_cv_func_long_double_trig_use=no
54304 fi
54305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54306 ac_ext=c
54307 ac_cpp='$CPP $CPPFLAGS'
54308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54311
54312 fi
54313
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54315 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54316 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54317 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54318 do :
54319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54321 eval as_val=\$$as_ac_var
54322 if test "x$as_val" = x""yes; then :
54323 cat >>confdefs.h <<_ACEOF
54324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54325 _ACEOF
54326
54327 fi
54328 done
54329
54330 else
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54332 $as_echo_n "checking for _long double trig functions... " >&6; }
54333 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54334 $as_echo_n "(cached) " >&6
54335 else
54336
54337
54338 ac_ext=cpp
54339 ac_cpp='$CXXCPP $CPPFLAGS'
54340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54343
54344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54345 /* end confdefs.h. */
54346 #include <math.h>
54347 int
54348 main ()
54349 {
54350 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54351 ;
54352 return 0;
54353 }
54354 _ACEOF
54355 if ac_fn_cxx_try_compile "$LINENO"; then :
54356 glibcxx_cv_func__long_double_trig_use=yes
54357 else
54358 glibcxx_cv_func__long_double_trig_use=no
54359 fi
54360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54361 ac_ext=c
54362 ac_cpp='$CPP $CPPFLAGS'
54363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54366
54367 fi
54368
54369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54370 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54371 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54372 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54373 do :
54374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54376 eval as_val=\$$as_ac_var
54377 if test "x$as_val" = x""yes; then :
54378 cat >>confdefs.h <<_ACEOF
54379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54380 _ACEOF
54381
54382 fi
54383 done
54384
54385 fi
54386 fi
54387
54388
54389
54390
54391
54392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54393 $as_echo_n "checking for long double round functions... " >&6; }
54394 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54395 $as_echo_n "(cached) " >&6
54396 else
54397
54398
54399 ac_ext=cpp
54400 ac_cpp='$CXXCPP $CPPFLAGS'
54401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54404
54405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54406 /* end confdefs.h. */
54407 #include <math.h>
54408 int
54409 main ()
54410 {
54411 ceill (0); floorl (0);
54412 ;
54413 return 0;
54414 }
54415 _ACEOF
54416 if ac_fn_cxx_try_compile "$LINENO"; then :
54417 glibcxx_cv_func_long_double_round_use=yes
54418 else
54419 glibcxx_cv_func_long_double_round_use=no
54420 fi
54421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54422 ac_ext=c
54423 ac_cpp='$CPP $CPPFLAGS'
54424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54427
54428 fi
54429
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54431 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54432 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54433 for ac_func in ceill floorl
54434 do :
54435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54437 eval as_val=\$$as_ac_var
54438 if test "x$as_val" = x""yes; then :
54439 cat >>confdefs.h <<_ACEOF
54440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54441 _ACEOF
54442
54443 fi
54444 done
54445
54446 else
54447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54448 $as_echo_n "checking for _long double round functions... " >&6; }
54449 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54450 $as_echo_n "(cached) " >&6
54451 else
54452
54453
54454 ac_ext=cpp
54455 ac_cpp='$CXXCPP $CPPFLAGS'
54456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54459
54460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54461 /* end confdefs.h. */
54462 #include <math.h>
54463 int
54464 main ()
54465 {
54466 _ceill (0); _floorl (0);
54467 ;
54468 return 0;
54469 }
54470 _ACEOF
54471 if ac_fn_cxx_try_compile "$LINENO"; then :
54472 glibcxx_cv_func__long_double_round_use=yes
54473 else
54474 glibcxx_cv_func__long_double_round_use=no
54475 fi
54476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54477 ac_ext=c
54478 ac_cpp='$CPP $CPPFLAGS'
54479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54482
54483 fi
54484
54485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54486 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54487 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54488 for ac_func in _ceill _floorl
54489 do :
54490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54492 eval as_val=\$$as_ac_var
54493 if test "x$as_val" = x""yes; then :
54494 cat >>confdefs.h <<_ACEOF
54495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54496 _ACEOF
54497
54498 fi
54499 done
54500
54501 fi
54502 fi
54503
54504
54505
54506
54507
54508
54509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54510 $as_echo_n "checking for isnanl declaration... " >&6; }
54511 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54512 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54513 $as_echo_n "(cached) " >&6
54514 else
54515
54516
54517 ac_ext=cpp
54518 ac_cpp='$CXXCPP $CPPFLAGS'
54519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54522
54523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54524 /* end confdefs.h. */
54525 #include <math.h>
54526 #ifdef HAVE_IEEEFP_H
54527 #include <ieeefp.h>
54528 #endif
54529
54530 int
54531 main ()
54532 {
54533 isnanl(0);
54534 ;
54535 return 0;
54536 }
54537 _ACEOF
54538 if ac_fn_cxx_try_compile "$LINENO"; then :
54539 glibcxx_cv_func_isnanl_use=yes
54540 else
54541 glibcxx_cv_func_isnanl_use=no
54542 fi
54543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54544 ac_ext=c
54545 ac_cpp='$CPP $CPPFLAGS'
54546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54549
54550
54551 fi
54552
54553 fi
54554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54555 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54556
54557 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54558 for ac_func in isnanl
54559 do :
54560 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54561 if test "x$ac_cv_func_isnanl" = x""yes; then :
54562 cat >>confdefs.h <<_ACEOF
54563 #define HAVE_ISNANL 1
54564 _ACEOF
54565
54566 fi
54567 done
54568
54569 else
54570
54571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54572 $as_echo_n "checking for _isnanl declaration... " >&6; }
54573 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54574 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54575 $as_echo_n "(cached) " >&6
54576 else
54577
54578
54579 ac_ext=cpp
54580 ac_cpp='$CXXCPP $CPPFLAGS'
54581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54584
54585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54586 /* end confdefs.h. */
54587 #include <math.h>
54588 #ifdef HAVE_IEEEFP_H
54589 #include <ieeefp.h>
54590 #endif
54591
54592 int
54593 main ()
54594 {
54595 _isnanl(0);
54596 ;
54597 return 0;
54598 }
54599 _ACEOF
54600 if ac_fn_cxx_try_compile "$LINENO"; then :
54601 glibcxx_cv_func__isnanl_use=yes
54602 else
54603 glibcxx_cv_func__isnanl_use=no
54604 fi
54605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54606 ac_ext=c
54607 ac_cpp='$CPP $CPPFLAGS'
54608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54611
54612
54613 fi
54614
54615 fi
54616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54617 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54618
54619 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54620 for ac_func in _isnanl
54621 do :
54622 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54623 if test "x$ac_cv_func__isnanl" = x""yes; then :
54624 cat >>confdefs.h <<_ACEOF
54625 #define HAVE__ISNANL 1
54626 _ACEOF
54627
54628 fi
54629 done
54630
54631 fi
54632 fi
54633
54634
54635
54636
54637
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54639 $as_echo_n "checking for isinfl declaration... " >&6; }
54640 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54641 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54642 $as_echo_n "(cached) " >&6
54643 else
54644
54645
54646 ac_ext=cpp
54647 ac_cpp='$CXXCPP $CPPFLAGS'
54648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54651
54652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54653 /* end confdefs.h. */
54654 #include <math.h>
54655 #ifdef HAVE_IEEEFP_H
54656 #include <ieeefp.h>
54657 #endif
54658
54659 int
54660 main ()
54661 {
54662 isinfl(0);
54663 ;
54664 return 0;
54665 }
54666 _ACEOF
54667 if ac_fn_cxx_try_compile "$LINENO"; then :
54668 glibcxx_cv_func_isinfl_use=yes
54669 else
54670 glibcxx_cv_func_isinfl_use=no
54671 fi
54672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54673 ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54678
54679
54680 fi
54681
54682 fi
54683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54684 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54685
54686 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54687 for ac_func in isinfl
54688 do :
54689 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54690 if test "x$ac_cv_func_isinfl" = x""yes; then :
54691 cat >>confdefs.h <<_ACEOF
54692 #define HAVE_ISINFL 1
54693 _ACEOF
54694
54695 fi
54696 done
54697
54698 else
54699
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54701 $as_echo_n "checking for _isinfl declaration... " >&6; }
54702 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54703 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54704 $as_echo_n "(cached) " >&6
54705 else
54706
54707
54708 ac_ext=cpp
54709 ac_cpp='$CXXCPP $CPPFLAGS'
54710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54713
54714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54715 /* end confdefs.h. */
54716 #include <math.h>
54717 #ifdef HAVE_IEEEFP_H
54718 #include <ieeefp.h>
54719 #endif
54720
54721 int
54722 main ()
54723 {
54724 _isinfl(0);
54725 ;
54726 return 0;
54727 }
54728 _ACEOF
54729 if ac_fn_cxx_try_compile "$LINENO"; then :
54730 glibcxx_cv_func__isinfl_use=yes
54731 else
54732 glibcxx_cv_func__isinfl_use=no
54733 fi
54734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54735 ac_ext=c
54736 ac_cpp='$CPP $CPPFLAGS'
54737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54740
54741
54742 fi
54743
54744 fi
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54746 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54747
54748 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54749 for ac_func in _isinfl
54750 do :
54751 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54752 if test "x$ac_cv_func__isinfl" = x""yes; then :
54753 cat >>confdefs.h <<_ACEOF
54754 #define HAVE__ISINFL 1
54755 _ACEOF
54756
54757 fi
54758 done
54759
54760 fi
54761 fi
54762
54763
54764
54765
54766
54767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54768 $as_echo_n "checking for atan2l declaration... " >&6; }
54769 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54770 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54771 $as_echo_n "(cached) " >&6
54772 else
54773
54774
54775 ac_ext=cpp
54776 ac_cpp='$CXXCPP $CPPFLAGS'
54777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54780
54781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54782 /* end confdefs.h. */
54783 #include <math.h>
54784 int
54785 main ()
54786 {
54787 atan2l(0, 0);
54788 ;
54789 return 0;
54790 }
54791 _ACEOF
54792 if ac_fn_cxx_try_compile "$LINENO"; then :
54793 glibcxx_cv_func_atan2l_use=yes
54794 else
54795 glibcxx_cv_func_atan2l_use=no
54796 fi
54797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54798 ac_ext=c
54799 ac_cpp='$CPP $CPPFLAGS'
54800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54803
54804
54805 fi
54806
54807 fi
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54809 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54810
54811 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54812 for ac_func in atan2l
54813 do :
54814 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54815 if test "x$ac_cv_func_atan2l" = x""yes; then :
54816 cat >>confdefs.h <<_ACEOF
54817 #define HAVE_ATAN2L 1
54818 _ACEOF
54819
54820 fi
54821 done
54822
54823 else
54824
54825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54826 $as_echo_n "checking for _atan2l declaration... " >&6; }
54827 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54828 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54829 $as_echo_n "(cached) " >&6
54830 else
54831
54832
54833 ac_ext=cpp
54834 ac_cpp='$CXXCPP $CPPFLAGS'
54835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54838
54839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54840 /* end confdefs.h. */
54841 #include <math.h>
54842 int
54843 main ()
54844 {
54845 _atan2l(0, 0);
54846 ;
54847 return 0;
54848 }
54849 _ACEOF
54850 if ac_fn_cxx_try_compile "$LINENO"; then :
54851 glibcxx_cv_func__atan2l_use=yes
54852 else
54853 glibcxx_cv_func__atan2l_use=no
54854 fi
54855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54856 ac_ext=c
54857 ac_cpp='$CPP $CPPFLAGS'
54858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54861
54862
54863 fi
54864
54865 fi
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54867 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54868
54869 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54870 for ac_func in _atan2l
54871 do :
54872 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54873 if test "x$ac_cv_func__atan2l" = x""yes; then :
54874 cat >>confdefs.h <<_ACEOF
54875 #define HAVE__ATAN2L 1
54876 _ACEOF
54877
54878 fi
54879 done
54880
54881 fi
54882 fi
54883
54884
54885
54886
54887
54888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54889 $as_echo_n "checking for expl declaration... " >&6; }
54890 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54891 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54892 $as_echo_n "(cached) " >&6
54893 else
54894
54895
54896 ac_ext=cpp
54897 ac_cpp='$CXXCPP $CPPFLAGS'
54898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54901
54902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54903 /* end confdefs.h. */
54904 #include <math.h>
54905 #ifdef HAVE_IEEEFP_H
54906 #include <ieeefp.h>
54907 #endif
54908
54909 int
54910 main ()
54911 {
54912 expl(0);
54913 ;
54914 return 0;
54915 }
54916 _ACEOF
54917 if ac_fn_cxx_try_compile "$LINENO"; then :
54918 glibcxx_cv_func_expl_use=yes
54919 else
54920 glibcxx_cv_func_expl_use=no
54921 fi
54922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54923 ac_ext=c
54924 ac_cpp='$CPP $CPPFLAGS'
54925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54928
54929
54930 fi
54931
54932 fi
54933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54934 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54935
54936 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54937 for ac_func in expl
54938 do :
54939 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54940 if test "x$ac_cv_func_expl" = x""yes; then :
54941 cat >>confdefs.h <<_ACEOF
54942 #define HAVE_EXPL 1
54943 _ACEOF
54944
54945 fi
54946 done
54947
54948 else
54949
54950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54951 $as_echo_n "checking for _expl declaration... " >&6; }
54952 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54953 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54954 $as_echo_n "(cached) " >&6
54955 else
54956
54957
54958 ac_ext=cpp
54959 ac_cpp='$CXXCPP $CPPFLAGS'
54960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54963
54964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54965 /* end confdefs.h. */
54966 #include <math.h>
54967 #ifdef HAVE_IEEEFP_H
54968 #include <ieeefp.h>
54969 #endif
54970
54971 int
54972 main ()
54973 {
54974 _expl(0);
54975 ;
54976 return 0;
54977 }
54978 _ACEOF
54979 if ac_fn_cxx_try_compile "$LINENO"; then :
54980 glibcxx_cv_func__expl_use=yes
54981 else
54982 glibcxx_cv_func__expl_use=no
54983 fi
54984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54985 ac_ext=c
54986 ac_cpp='$CPP $CPPFLAGS'
54987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54990
54991
54992 fi
54993
54994 fi
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54996 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54997
54998 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54999 for ac_func in _expl
55000 do :
55001 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55002 if test "x$ac_cv_func__expl" = x""yes; then :
55003 cat >>confdefs.h <<_ACEOF
55004 #define HAVE__EXPL 1
55005 _ACEOF
55006
55007 fi
55008 done
55009
55010 fi
55011 fi
55012
55013
55014
55015
55016
55017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55018 $as_echo_n "checking for fabsl declaration... " >&6; }
55019 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55020 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55021 $as_echo_n "(cached) " >&6
55022 else
55023
55024
55025 ac_ext=cpp
55026 ac_cpp='$CXXCPP $CPPFLAGS'
55027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55030
55031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55032 /* end confdefs.h. */
55033 #include <math.h>
55034 #ifdef HAVE_IEEEFP_H
55035 #include <ieeefp.h>
55036 #endif
55037
55038 int
55039 main ()
55040 {
55041 fabsl(0);
55042 ;
55043 return 0;
55044 }
55045 _ACEOF
55046 if ac_fn_cxx_try_compile "$LINENO"; then :
55047 glibcxx_cv_func_fabsl_use=yes
55048 else
55049 glibcxx_cv_func_fabsl_use=no
55050 fi
55051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55052 ac_ext=c
55053 ac_cpp='$CPP $CPPFLAGS'
55054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55057
55058
55059 fi
55060
55061 fi
55062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55063 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55064
55065 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55066 for ac_func in fabsl
55067 do :
55068 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55069 if test "x$ac_cv_func_fabsl" = x""yes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define HAVE_FABSL 1
55072 _ACEOF
55073
55074 fi
55075 done
55076
55077 else
55078
55079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55080 $as_echo_n "checking for _fabsl declaration... " >&6; }
55081 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55082 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55083 $as_echo_n "(cached) " >&6
55084 else
55085
55086
55087 ac_ext=cpp
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55092
55093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55094 /* end confdefs.h. */
55095 #include <math.h>
55096 #ifdef HAVE_IEEEFP_H
55097 #include <ieeefp.h>
55098 #endif
55099
55100 int
55101 main ()
55102 {
55103 _fabsl(0);
55104 ;
55105 return 0;
55106 }
55107 _ACEOF
55108 if ac_fn_cxx_try_compile "$LINENO"; then :
55109 glibcxx_cv_func__fabsl_use=yes
55110 else
55111 glibcxx_cv_func__fabsl_use=no
55112 fi
55113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55114 ac_ext=c
55115 ac_cpp='$CPP $CPPFLAGS'
55116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55119
55120
55121 fi
55122
55123 fi
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55125 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55126
55127 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55128 for ac_func in _fabsl
55129 do :
55130 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55131 if test "x$ac_cv_func__fabsl" = x""yes; then :
55132 cat >>confdefs.h <<_ACEOF
55133 #define HAVE__FABSL 1
55134 _ACEOF
55135
55136 fi
55137 done
55138
55139 fi
55140 fi
55141
55142
55143
55144
55145
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55147 $as_echo_n "checking for fmodl declaration... " >&6; }
55148 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55149 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55150 $as_echo_n "(cached) " >&6
55151 else
55152
55153
55154 ac_ext=cpp
55155 ac_cpp='$CXXCPP $CPPFLAGS'
55156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55159
55160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55161 /* end confdefs.h. */
55162 #include <math.h>
55163 int
55164 main ()
55165 {
55166 fmodl(0, 0);
55167 ;
55168 return 0;
55169 }
55170 _ACEOF
55171 if ac_fn_cxx_try_compile "$LINENO"; then :
55172 glibcxx_cv_func_fmodl_use=yes
55173 else
55174 glibcxx_cv_func_fmodl_use=no
55175 fi
55176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55177 ac_ext=c
55178 ac_cpp='$CPP $CPPFLAGS'
55179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55182
55183
55184 fi
55185
55186 fi
55187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55188 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55189
55190 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55191 for ac_func in fmodl
55192 do :
55193 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55194 if test "x$ac_cv_func_fmodl" = x""yes; then :
55195 cat >>confdefs.h <<_ACEOF
55196 #define HAVE_FMODL 1
55197 _ACEOF
55198
55199 fi
55200 done
55201
55202 else
55203
55204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55205 $as_echo_n "checking for _fmodl declaration... " >&6; }
55206 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55207 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55208 $as_echo_n "(cached) " >&6
55209 else
55210
55211
55212 ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55217
55218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h. */
55220 #include <math.h>
55221 int
55222 main ()
55223 {
55224 _fmodl(0, 0);
55225 ;
55226 return 0;
55227 }
55228 _ACEOF
55229 if ac_fn_cxx_try_compile "$LINENO"; then :
55230 glibcxx_cv_func__fmodl_use=yes
55231 else
55232 glibcxx_cv_func__fmodl_use=no
55233 fi
55234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55235 ac_ext=c
55236 ac_cpp='$CPP $CPPFLAGS'
55237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55240
55241
55242 fi
55243
55244 fi
55245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55246 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55247
55248 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55249 for ac_func in _fmodl
55250 do :
55251 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55252 if test "x$ac_cv_func__fmodl" = x""yes; then :
55253 cat >>confdefs.h <<_ACEOF
55254 #define HAVE__FMODL 1
55255 _ACEOF
55256
55257 fi
55258 done
55259
55260 fi
55261 fi
55262
55263
55264
55265
55266
55267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55268 $as_echo_n "checking for frexpl declaration... " >&6; }
55269 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55270 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55271 $as_echo_n "(cached) " >&6
55272 else
55273
55274
55275 ac_ext=cpp
55276 ac_cpp='$CXXCPP $CPPFLAGS'
55277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55280
55281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55282 /* end confdefs.h. */
55283 #include <math.h>
55284 int
55285 main ()
55286 {
55287 frexpl(0, 0);
55288 ;
55289 return 0;
55290 }
55291 _ACEOF
55292 if ac_fn_cxx_try_compile "$LINENO"; then :
55293 glibcxx_cv_func_frexpl_use=yes
55294 else
55295 glibcxx_cv_func_frexpl_use=no
55296 fi
55297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55298 ac_ext=c
55299 ac_cpp='$CPP $CPPFLAGS'
55300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55303
55304
55305 fi
55306
55307 fi
55308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55309 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55310
55311 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55312 for ac_func in frexpl
55313 do :
55314 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55315 if test "x$ac_cv_func_frexpl" = x""yes; then :
55316 cat >>confdefs.h <<_ACEOF
55317 #define HAVE_FREXPL 1
55318 _ACEOF
55319
55320 fi
55321 done
55322
55323 else
55324
55325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55326 $as_echo_n "checking for _frexpl declaration... " >&6; }
55327 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55328 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55329 $as_echo_n "(cached) " >&6
55330 else
55331
55332
55333 ac_ext=cpp
55334 ac_cpp='$CXXCPP $CPPFLAGS'
55335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55338
55339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55340 /* end confdefs.h. */
55341 #include <math.h>
55342 int
55343 main ()
55344 {
55345 _frexpl(0, 0);
55346 ;
55347 return 0;
55348 }
55349 _ACEOF
55350 if ac_fn_cxx_try_compile "$LINENO"; then :
55351 glibcxx_cv_func__frexpl_use=yes
55352 else
55353 glibcxx_cv_func__frexpl_use=no
55354 fi
55355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55356 ac_ext=c
55357 ac_cpp='$CPP $CPPFLAGS'
55358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55361
55362
55363 fi
55364
55365 fi
55366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55367 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55368
55369 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55370 for ac_func in _frexpl
55371 do :
55372 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55373 if test "x$ac_cv_func__frexpl" = x""yes; then :
55374 cat >>confdefs.h <<_ACEOF
55375 #define HAVE__FREXPL 1
55376 _ACEOF
55377
55378 fi
55379 done
55380
55381 fi
55382 fi
55383
55384
55385
55386
55387
55388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55389 $as_echo_n "checking for hypotl declaration... " >&6; }
55390 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55391 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55392 $as_echo_n "(cached) " >&6
55393 else
55394
55395
55396 ac_ext=cpp
55397 ac_cpp='$CXXCPP $CPPFLAGS'
55398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55401
55402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55403 /* end confdefs.h. */
55404 #include <math.h>
55405 int
55406 main ()
55407 {
55408 hypotl(0, 0);
55409 ;
55410 return 0;
55411 }
55412 _ACEOF
55413 if ac_fn_cxx_try_compile "$LINENO"; then :
55414 glibcxx_cv_func_hypotl_use=yes
55415 else
55416 glibcxx_cv_func_hypotl_use=no
55417 fi
55418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55419 ac_ext=c
55420 ac_cpp='$CPP $CPPFLAGS'
55421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55424
55425
55426 fi
55427
55428 fi
55429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55430 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55431
55432 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55433 for ac_func in hypotl
55434 do :
55435 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55436 if test "x$ac_cv_func_hypotl" = x""yes; then :
55437 cat >>confdefs.h <<_ACEOF
55438 #define HAVE_HYPOTL 1
55439 _ACEOF
55440
55441 fi
55442 done
55443
55444 else
55445
55446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55447 $as_echo_n "checking for _hypotl declaration... " >&6; }
55448 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55449 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55450 $as_echo_n "(cached) " >&6
55451 else
55452
55453
55454 ac_ext=cpp
55455 ac_cpp='$CXXCPP $CPPFLAGS'
55456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55459
55460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55461 /* end confdefs.h. */
55462 #include <math.h>
55463 int
55464 main ()
55465 {
55466 _hypotl(0, 0);
55467 ;
55468 return 0;
55469 }
55470 _ACEOF
55471 if ac_fn_cxx_try_compile "$LINENO"; then :
55472 glibcxx_cv_func__hypotl_use=yes
55473 else
55474 glibcxx_cv_func__hypotl_use=no
55475 fi
55476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55477 ac_ext=c
55478 ac_cpp='$CPP $CPPFLAGS'
55479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55482
55483
55484 fi
55485
55486 fi
55487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55488 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55489
55490 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55491 for ac_func in _hypotl
55492 do :
55493 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55494 if test "x$ac_cv_func__hypotl" = x""yes; then :
55495 cat >>confdefs.h <<_ACEOF
55496 #define HAVE__HYPOTL 1
55497 _ACEOF
55498
55499 fi
55500 done
55501
55502 fi
55503 fi
55504
55505
55506
55507
55508
55509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55510 $as_echo_n "checking for ldexpl declaration... " >&6; }
55511 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55512 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55513 $as_echo_n "(cached) " >&6
55514 else
55515
55516
55517 ac_ext=cpp
55518 ac_cpp='$CXXCPP $CPPFLAGS'
55519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55522
55523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55524 /* end confdefs.h. */
55525 #include <math.h>
55526 int
55527 main ()
55528 {
55529 ldexpl(0, 0);
55530 ;
55531 return 0;
55532 }
55533 _ACEOF
55534 if ac_fn_cxx_try_compile "$LINENO"; then :
55535 glibcxx_cv_func_ldexpl_use=yes
55536 else
55537 glibcxx_cv_func_ldexpl_use=no
55538 fi
55539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55540 ac_ext=c
55541 ac_cpp='$CPP $CPPFLAGS'
55542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55545
55546
55547 fi
55548
55549 fi
55550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55551 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55552
55553 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55554 for ac_func in ldexpl
55555 do :
55556 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55557 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55558 cat >>confdefs.h <<_ACEOF
55559 #define HAVE_LDEXPL 1
55560 _ACEOF
55561
55562 fi
55563 done
55564
55565 else
55566
55567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55568 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55569 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55570 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55571 $as_echo_n "(cached) " >&6
55572 else
55573
55574
55575 ac_ext=cpp
55576 ac_cpp='$CXXCPP $CPPFLAGS'
55577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55580
55581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55582 /* end confdefs.h. */
55583 #include <math.h>
55584 int
55585 main ()
55586 {
55587 _ldexpl(0, 0);
55588 ;
55589 return 0;
55590 }
55591 _ACEOF
55592 if ac_fn_cxx_try_compile "$LINENO"; then :
55593 glibcxx_cv_func__ldexpl_use=yes
55594 else
55595 glibcxx_cv_func__ldexpl_use=no
55596 fi
55597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55598 ac_ext=c
55599 ac_cpp='$CPP $CPPFLAGS'
55600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55603
55604
55605 fi
55606
55607 fi
55608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55609 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55610
55611 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55612 for ac_func in _ldexpl
55613 do :
55614 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55615 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55616 cat >>confdefs.h <<_ACEOF
55617 #define HAVE__LDEXPL 1
55618 _ACEOF
55619
55620 fi
55621 done
55622
55623 fi
55624 fi
55625
55626
55627
55628
55629
55630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55631 $as_echo_n "checking for logl declaration... " >&6; }
55632 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55633 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55634 $as_echo_n "(cached) " >&6
55635 else
55636
55637
55638 ac_ext=cpp
55639 ac_cpp='$CXXCPP $CPPFLAGS'
55640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55643
55644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55645 /* end confdefs.h. */
55646 #include <math.h>
55647 #ifdef HAVE_IEEEFP_H
55648 #include <ieeefp.h>
55649 #endif
55650
55651 int
55652 main ()
55653 {
55654 logl(0);
55655 ;
55656 return 0;
55657 }
55658 _ACEOF
55659 if ac_fn_cxx_try_compile "$LINENO"; then :
55660 glibcxx_cv_func_logl_use=yes
55661 else
55662 glibcxx_cv_func_logl_use=no
55663 fi
55664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55665 ac_ext=c
55666 ac_cpp='$CPP $CPPFLAGS'
55667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55670
55671
55672 fi
55673
55674 fi
55675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55676 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55677
55678 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55679 for ac_func in logl
55680 do :
55681 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55682 if test "x$ac_cv_func_logl" = x""yes; then :
55683 cat >>confdefs.h <<_ACEOF
55684 #define HAVE_LOGL 1
55685 _ACEOF
55686
55687 fi
55688 done
55689
55690 else
55691
55692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55693 $as_echo_n "checking for _logl declaration... " >&6; }
55694 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55695 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55696 $as_echo_n "(cached) " >&6
55697 else
55698
55699
55700 ac_ext=cpp
55701 ac_cpp='$CXXCPP $CPPFLAGS'
55702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55705
55706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55707 /* end confdefs.h. */
55708 #include <math.h>
55709 #ifdef HAVE_IEEEFP_H
55710 #include <ieeefp.h>
55711 #endif
55712
55713 int
55714 main ()
55715 {
55716 _logl(0);
55717 ;
55718 return 0;
55719 }
55720 _ACEOF
55721 if ac_fn_cxx_try_compile "$LINENO"; then :
55722 glibcxx_cv_func__logl_use=yes
55723 else
55724 glibcxx_cv_func__logl_use=no
55725 fi
55726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55727 ac_ext=c
55728 ac_cpp='$CPP $CPPFLAGS'
55729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55732
55733
55734 fi
55735
55736 fi
55737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55738 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55739
55740 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55741 for ac_func in _logl
55742 do :
55743 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55744 if test "x$ac_cv_func__logl" = x""yes; then :
55745 cat >>confdefs.h <<_ACEOF
55746 #define HAVE__LOGL 1
55747 _ACEOF
55748
55749 fi
55750 done
55751
55752 fi
55753 fi
55754
55755
55756
55757
55758
55759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55760 $as_echo_n "checking for log10l declaration... " >&6; }
55761 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55762 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55763 $as_echo_n "(cached) " >&6
55764 else
55765
55766
55767 ac_ext=cpp
55768 ac_cpp='$CXXCPP $CPPFLAGS'
55769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55772
55773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55774 /* end confdefs.h. */
55775 #include <math.h>
55776 #ifdef HAVE_IEEEFP_H
55777 #include <ieeefp.h>
55778 #endif
55779
55780 int
55781 main ()
55782 {
55783 log10l(0);
55784 ;
55785 return 0;
55786 }
55787 _ACEOF
55788 if ac_fn_cxx_try_compile "$LINENO"; then :
55789 glibcxx_cv_func_log10l_use=yes
55790 else
55791 glibcxx_cv_func_log10l_use=no
55792 fi
55793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55794 ac_ext=c
55795 ac_cpp='$CPP $CPPFLAGS'
55796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55799
55800
55801 fi
55802
55803 fi
55804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55805 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55806
55807 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55808 for ac_func in log10l
55809 do :
55810 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55811 if test "x$ac_cv_func_log10l" = x""yes; then :
55812 cat >>confdefs.h <<_ACEOF
55813 #define HAVE_LOG10L 1
55814 _ACEOF
55815
55816 fi
55817 done
55818
55819 else
55820
55821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55822 $as_echo_n "checking for _log10l declaration... " >&6; }
55823 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55824 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55825 $as_echo_n "(cached) " >&6
55826 else
55827
55828
55829 ac_ext=cpp
55830 ac_cpp='$CXXCPP $CPPFLAGS'
55831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55834
55835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55836 /* end confdefs.h. */
55837 #include <math.h>
55838 #ifdef HAVE_IEEEFP_H
55839 #include <ieeefp.h>
55840 #endif
55841
55842 int
55843 main ()
55844 {
55845 _log10l(0);
55846 ;
55847 return 0;
55848 }
55849 _ACEOF
55850 if ac_fn_cxx_try_compile "$LINENO"; then :
55851 glibcxx_cv_func__log10l_use=yes
55852 else
55853 glibcxx_cv_func__log10l_use=no
55854 fi
55855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55856 ac_ext=c
55857 ac_cpp='$CPP $CPPFLAGS'
55858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55861
55862
55863 fi
55864
55865 fi
55866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55867 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55868
55869 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55870 for ac_func in _log10l
55871 do :
55872 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55873 if test "x$ac_cv_func__log10l" = x""yes; then :
55874 cat >>confdefs.h <<_ACEOF
55875 #define HAVE__LOG10L 1
55876 _ACEOF
55877
55878 fi
55879 done
55880
55881 fi
55882 fi
55883
55884
55885
55886
55887
55888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55889 $as_echo_n "checking for modfl declaration... " >&6; }
55890 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55891 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55892 $as_echo_n "(cached) " >&6
55893 else
55894
55895
55896 ac_ext=cpp
55897 ac_cpp='$CXXCPP $CPPFLAGS'
55898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55901
55902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55903 /* end confdefs.h. */
55904 #include <math.h>
55905 int
55906 main ()
55907 {
55908 modfl(0, 0);
55909 ;
55910 return 0;
55911 }
55912 _ACEOF
55913 if ac_fn_cxx_try_compile "$LINENO"; then :
55914 glibcxx_cv_func_modfl_use=yes
55915 else
55916 glibcxx_cv_func_modfl_use=no
55917 fi
55918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55919 ac_ext=c
55920 ac_cpp='$CPP $CPPFLAGS'
55921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55924
55925
55926 fi
55927
55928 fi
55929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55930 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55931
55932 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55933 for ac_func in modfl
55934 do :
55935 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55936 if test "x$ac_cv_func_modfl" = x""yes; then :
55937 cat >>confdefs.h <<_ACEOF
55938 #define HAVE_MODFL 1
55939 _ACEOF
55940
55941 fi
55942 done
55943
55944 else
55945
55946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55947 $as_echo_n "checking for _modfl declaration... " >&6; }
55948 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55949 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55950 $as_echo_n "(cached) " >&6
55951 else
55952
55953
55954 ac_ext=cpp
55955 ac_cpp='$CXXCPP $CPPFLAGS'
55956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55959
55960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55961 /* end confdefs.h. */
55962 #include <math.h>
55963 int
55964 main ()
55965 {
55966 _modfl(0, 0);
55967 ;
55968 return 0;
55969 }
55970 _ACEOF
55971 if ac_fn_cxx_try_compile "$LINENO"; then :
55972 glibcxx_cv_func__modfl_use=yes
55973 else
55974 glibcxx_cv_func__modfl_use=no
55975 fi
55976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55977 ac_ext=c
55978 ac_cpp='$CPP $CPPFLAGS'
55979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55982
55983
55984 fi
55985
55986 fi
55987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55988 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55989
55990 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55991 for ac_func in _modfl
55992 do :
55993 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55994 if test "x$ac_cv_func__modfl" = x""yes; then :
55995 cat >>confdefs.h <<_ACEOF
55996 #define HAVE__MODFL 1
55997 _ACEOF
55998
55999 fi
56000 done
56001
56002 fi
56003 fi
56004
56005
56006
56007
56008
56009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56010 $as_echo_n "checking for powl declaration... " >&6; }
56011 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56012 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56013 $as_echo_n "(cached) " >&6
56014 else
56015
56016
56017 ac_ext=cpp
56018 ac_cpp='$CXXCPP $CPPFLAGS'
56019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56022
56023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56024 /* end confdefs.h. */
56025 #include <math.h>
56026 int
56027 main ()
56028 {
56029 powl(0, 0);
56030 ;
56031 return 0;
56032 }
56033 _ACEOF
56034 if ac_fn_cxx_try_compile "$LINENO"; then :
56035 glibcxx_cv_func_powl_use=yes
56036 else
56037 glibcxx_cv_func_powl_use=no
56038 fi
56039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56040 ac_ext=c
56041 ac_cpp='$CPP $CPPFLAGS'
56042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56045
56046
56047 fi
56048
56049 fi
56050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56051 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56052
56053 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56054 for ac_func in powl
56055 do :
56056 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56057 if test "x$ac_cv_func_powl" = x""yes; then :
56058 cat >>confdefs.h <<_ACEOF
56059 #define HAVE_POWL 1
56060 _ACEOF
56061
56062 fi
56063 done
56064
56065 else
56066
56067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56068 $as_echo_n "checking for _powl declaration... " >&6; }
56069 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56070 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56071 $as_echo_n "(cached) " >&6
56072 else
56073
56074
56075 ac_ext=cpp
56076 ac_cpp='$CXXCPP $CPPFLAGS'
56077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56080
56081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56082 /* end confdefs.h. */
56083 #include <math.h>
56084 int
56085 main ()
56086 {
56087 _powl(0, 0);
56088 ;
56089 return 0;
56090 }
56091 _ACEOF
56092 if ac_fn_cxx_try_compile "$LINENO"; then :
56093 glibcxx_cv_func__powl_use=yes
56094 else
56095 glibcxx_cv_func__powl_use=no
56096 fi
56097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56098 ac_ext=c
56099 ac_cpp='$CPP $CPPFLAGS'
56100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56103
56104
56105 fi
56106
56107 fi
56108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56109 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56110
56111 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56112 for ac_func in _powl
56113 do :
56114 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56115 if test "x$ac_cv_func__powl" = x""yes; then :
56116 cat >>confdefs.h <<_ACEOF
56117 #define HAVE__POWL 1
56118 _ACEOF
56119
56120 fi
56121 done
56122
56123 fi
56124 fi
56125
56126
56127
56128
56129
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56131 $as_echo_n "checking for sqrtl declaration... " >&6; }
56132 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56133 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56134 $as_echo_n "(cached) " >&6
56135 else
56136
56137
56138 ac_ext=cpp
56139 ac_cpp='$CXXCPP $CPPFLAGS'
56140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56143
56144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56145 /* end confdefs.h. */
56146 #include <math.h>
56147 #ifdef HAVE_IEEEFP_H
56148 #include <ieeefp.h>
56149 #endif
56150
56151 int
56152 main ()
56153 {
56154 sqrtl(0);
56155 ;
56156 return 0;
56157 }
56158 _ACEOF
56159 if ac_fn_cxx_try_compile "$LINENO"; then :
56160 glibcxx_cv_func_sqrtl_use=yes
56161 else
56162 glibcxx_cv_func_sqrtl_use=no
56163 fi
56164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56165 ac_ext=c
56166 ac_cpp='$CPP $CPPFLAGS'
56167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56170
56171
56172 fi
56173
56174 fi
56175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56176 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56177
56178 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56179 for ac_func in sqrtl
56180 do :
56181 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56182 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56183 cat >>confdefs.h <<_ACEOF
56184 #define HAVE_SQRTL 1
56185 _ACEOF
56186
56187 fi
56188 done
56189
56190 else
56191
56192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56193 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56194 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56195 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56196 $as_echo_n "(cached) " >&6
56197 else
56198
56199
56200 ac_ext=cpp
56201 ac_cpp='$CXXCPP $CPPFLAGS'
56202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56205
56206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56207 /* end confdefs.h. */
56208 #include <math.h>
56209 #ifdef HAVE_IEEEFP_H
56210 #include <ieeefp.h>
56211 #endif
56212
56213 int
56214 main ()
56215 {
56216 _sqrtl(0);
56217 ;
56218 return 0;
56219 }
56220 _ACEOF
56221 if ac_fn_cxx_try_compile "$LINENO"; then :
56222 glibcxx_cv_func__sqrtl_use=yes
56223 else
56224 glibcxx_cv_func__sqrtl_use=no
56225 fi
56226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56227 ac_ext=c
56228 ac_cpp='$CPP $CPPFLAGS'
56229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56232
56233
56234 fi
56235
56236 fi
56237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56238 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56239
56240 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56241 for ac_func in _sqrtl
56242 do :
56243 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56244 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56245 cat >>confdefs.h <<_ACEOF
56246 #define HAVE__SQRTL 1
56247 _ACEOF
56248
56249 fi
56250 done
56251
56252 fi
56253 fi
56254
56255
56256
56257
56258
56259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56260 $as_echo_n "checking for sincosl declaration... " >&6; }
56261 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56262 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56263 $as_echo_n "(cached) " >&6
56264 else
56265
56266
56267 ac_ext=cpp
56268 ac_cpp='$CXXCPP $CPPFLAGS'
56269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56272
56273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56274 /* end confdefs.h. */
56275 #include <math.h>
56276 int
56277 main ()
56278 {
56279 sincosl(0, 0, 0);
56280 ;
56281 return 0;
56282 }
56283 _ACEOF
56284 if ac_fn_cxx_try_compile "$LINENO"; then :
56285 glibcxx_cv_func_sincosl_use=yes
56286 else
56287 glibcxx_cv_func_sincosl_use=no
56288 fi
56289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56290 ac_ext=c
56291 ac_cpp='$CPP $CPPFLAGS'
56292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56295
56296
56297 fi
56298
56299 fi
56300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56301 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56302
56303 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56304 for ac_func in sincosl
56305 do :
56306 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56307 if test "x$ac_cv_func_sincosl" = x""yes; then :
56308 cat >>confdefs.h <<_ACEOF
56309 #define HAVE_SINCOSL 1
56310 _ACEOF
56311
56312 fi
56313 done
56314
56315 else
56316
56317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56318 $as_echo_n "checking for _sincosl declaration... " >&6; }
56319 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56320 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56321 $as_echo_n "(cached) " >&6
56322 else
56323
56324
56325 ac_ext=cpp
56326 ac_cpp='$CXXCPP $CPPFLAGS'
56327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56330
56331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56332 /* end confdefs.h. */
56333 #include <math.h>
56334 int
56335 main ()
56336 {
56337 _sincosl(0, 0, 0);
56338 ;
56339 return 0;
56340 }
56341 _ACEOF
56342 if ac_fn_cxx_try_compile "$LINENO"; then :
56343 glibcxx_cv_func__sincosl_use=yes
56344 else
56345 glibcxx_cv_func__sincosl_use=no
56346 fi
56347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56348 ac_ext=c
56349 ac_cpp='$CPP $CPPFLAGS'
56350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56353
56354
56355 fi
56356
56357 fi
56358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56359 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56360
56361 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56362 for ac_func in _sincosl
56363 do :
56364 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56365 if test "x$ac_cv_func__sincosl" = x""yes; then :
56366 cat >>confdefs.h <<_ACEOF
56367 #define HAVE__SINCOSL 1
56368 _ACEOF
56369
56370 fi
56371 done
56372
56373 fi
56374 fi
56375
56376
56377
56378
56379
56380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56381 $as_echo_n "checking for finitel declaration... " >&6; }
56382 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56383 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56384 $as_echo_n "(cached) " >&6
56385 else
56386
56387
56388 ac_ext=cpp
56389 ac_cpp='$CXXCPP $CPPFLAGS'
56390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56393
56394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56395 /* end confdefs.h. */
56396 #include <math.h>
56397 #ifdef HAVE_IEEEFP_H
56398 #include <ieeefp.h>
56399 #endif
56400
56401 int
56402 main ()
56403 {
56404 finitel(0);
56405 ;
56406 return 0;
56407 }
56408 _ACEOF
56409 if ac_fn_cxx_try_compile "$LINENO"; then :
56410 glibcxx_cv_func_finitel_use=yes
56411 else
56412 glibcxx_cv_func_finitel_use=no
56413 fi
56414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56415 ac_ext=c
56416 ac_cpp='$CPP $CPPFLAGS'
56417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56420
56421
56422 fi
56423
56424 fi
56425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56426 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56427
56428 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56429 for ac_func in finitel
56430 do :
56431 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56432 if test "x$ac_cv_func_finitel" = x""yes; then :
56433 cat >>confdefs.h <<_ACEOF
56434 #define HAVE_FINITEL 1
56435 _ACEOF
56436
56437 fi
56438 done
56439
56440 else
56441
56442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56443 $as_echo_n "checking for _finitel declaration... " >&6; }
56444 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56445 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56446 $as_echo_n "(cached) " >&6
56447 else
56448
56449
56450 ac_ext=cpp
56451 ac_cpp='$CXXCPP $CPPFLAGS'
56452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56455
56456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56457 /* end confdefs.h. */
56458 #include <math.h>
56459 #ifdef HAVE_IEEEFP_H
56460 #include <ieeefp.h>
56461 #endif
56462
56463 int
56464 main ()
56465 {
56466 _finitel(0);
56467 ;
56468 return 0;
56469 }
56470 _ACEOF
56471 if ac_fn_cxx_try_compile "$LINENO"; then :
56472 glibcxx_cv_func__finitel_use=yes
56473 else
56474 glibcxx_cv_func__finitel_use=no
56475 fi
56476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56477 ac_ext=c
56478 ac_cpp='$CPP $CPPFLAGS'
56479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56482
56483
56484 fi
56485
56486 fi
56487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56488 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56489
56490 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56491 for ac_func in _finitel
56492 do :
56493 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56494 if test "x$ac_cv_func__finitel" = x""yes; then :
56495 cat >>confdefs.h <<_ACEOF
56496 #define HAVE__FINITEL 1
56497 _ACEOF
56498
56499 fi
56500 done
56501
56502 fi
56503 fi
56504
56505
56506
56507
56508 LIBS="$ac_save_LIBS"
56509 CXXFLAGS="$ac_save_CXXFLAGS"
56510
56511
56512 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56513 ac_save_CXXFLAGS="$CXXFLAGS"
56514 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56515
56516
56517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56518 $as_echo_n "checking for strtold declaration... " >&6; }
56519 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56520 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56521 $as_echo_n "(cached) " >&6
56522 else
56523
56524
56525 ac_ext=cpp
56526 ac_cpp='$CXXCPP $CPPFLAGS'
56527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56530
56531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56532 /* end confdefs.h. */
56533 #include <stdlib.h>
56534 int
56535 main ()
56536 {
56537 strtold(0, 0);
56538 ;
56539 return 0;
56540 }
56541 _ACEOF
56542 if ac_fn_cxx_try_compile "$LINENO"; then :
56543 glibcxx_cv_func_strtold_use=yes
56544 else
56545 glibcxx_cv_func_strtold_use=no
56546 fi
56547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56548 ac_ext=c
56549 ac_cpp='$CPP $CPPFLAGS'
56550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56553
56554
56555 fi
56556
56557 fi
56558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56559 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56560 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56561 for ac_func in strtold
56562 do :
56563 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56564 if test "x$ac_cv_func_strtold" = x""yes; then :
56565 cat >>confdefs.h <<_ACEOF
56566 #define HAVE_STRTOLD 1
56567 _ACEOF
56568
56569 fi
56570 done
56571
56572 fi
56573
56574
56575
56576
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56578 $as_echo_n "checking for strtof declaration... " >&6; }
56579 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56580 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56581 $as_echo_n "(cached) " >&6
56582 else
56583
56584
56585 ac_ext=cpp
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56590
56591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56592 /* end confdefs.h. */
56593 #include <stdlib.h>
56594 int
56595 main ()
56596 {
56597 strtof(0, 0);
56598 ;
56599 return 0;
56600 }
56601 _ACEOF
56602 if ac_fn_cxx_try_compile "$LINENO"; then :
56603 glibcxx_cv_func_strtof_use=yes
56604 else
56605 glibcxx_cv_func_strtof_use=no
56606 fi
56607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56608 ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56613
56614
56615 fi
56616
56617 fi
56618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56619 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56620 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56621 for ac_func in strtof
56622 do :
56623 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56624 if test "x$ac_cv_func_strtof" = x""yes; then :
56625 cat >>confdefs.h <<_ACEOF
56626 #define HAVE_STRTOF 1
56627 _ACEOF
56628
56629 fi
56630 done
56631
56632 fi
56633
56634
56635
56636
56637 CXXFLAGS="$ac_save_CXXFLAGS"
56638
56639 ;;
56640 *-netbsd*)
56641 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56642
56643
56644 # If we're not using GNU ld, then there's no point in even trying these
56645 # tests. Check for that first. We should have already tested for gld
56646 # by now (in libtool), but require it now just to be safe...
56647 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56648 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56649
56650
56651
56652 # The name set by libtool depends on the version of libtool. Shame on us
56653 # for depending on an impl detail, but c'est la vie. Older versions used
56654 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56655 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56656 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56657 # set (hence we're using an older libtool), then set it.
56658 if test x${with_gnu_ld+set} != xset; then
56659 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56660 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56661 with_gnu_ld=no
56662 else
56663 with_gnu_ld=$ac_cv_prog_gnu_ld
56664 fi
56665 fi
56666
56667 # Start by getting the version number. I think the libtool test already
56668 # does some of this, but throws away the result.
56669 glibcxx_ld_is_gold=no
56670 if test x"$with_gnu_ld" = x"yes"; then
56671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56672 $as_echo_n "checking for ld version... " >&6; }
56673
56674 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56675 glibcxx_ld_is_gold=yes
56676 fi
56677 ldver=`$LD --version 2>/dev/null |
56678 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'`
56679
56680 glibcxx_gnu_ld_version=`echo $ldver | \
56681 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56683 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56684 fi
56685
56686 # Set --gc-sections.
56687 glibcxx_have_gc_sections=no
56688 if test "$glibcxx_ld_is_gold" = "yes"; then
56689 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56690 glibcxx_have_gc_sections=yes
56691 fi
56692 else
56693 glibcxx_gcsections_min_ld=21602
56694 if test x"$with_gnu_ld" = x"yes" &&
56695 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56696 glibcxx_have_gc_sections=yes
56697 fi
56698 fi
56699 if test "$glibcxx_have_gc_sections" = "yes"; then
56700 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56701 # NB: This flag only works reliably after 2.16.1. Configure tests
56702 # for this are difficult, so hard wire a value that should work.
56703
56704 ac_test_CFLAGS="${CFLAGS+set}"
56705 ac_save_CFLAGS="$CFLAGS"
56706 CFLAGS='-Wl,--gc-sections'
56707
56708 # Check for -Wl,--gc-sections
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56710 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56711 if test x$gcc_no_link = xyes; then
56712 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56713 fi
56714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56715 /* end confdefs.h. */
56716 int one(void) { return 1; }
56717 int two(void) { return 2; }
56718
56719 int
56720 main ()
56721 {
56722 two();
56723 ;
56724 return 0;
56725 }
56726 _ACEOF
56727 if ac_fn_c_try_link "$LINENO"; then :
56728 ac_gcsections=yes
56729 else
56730 ac_gcsections=no
56731 fi
56732 rm -f core conftest.err conftest.$ac_objext \
56733 conftest$ac_exeext conftest.$ac_ext
56734 if test "$ac_gcsections" = "yes"; then
56735 rm -f conftest.c
56736 touch conftest.c
56737 if $CC -c conftest.c; then
56738 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56739 grep "Warning: gc-sections option ignored" > /dev/null; then
56740 ac_gcsections=no
56741 fi
56742 fi
56743 rm -f conftest.c conftest.o conftest
56744 fi
56745 if test "$ac_gcsections" = "yes"; then
56746 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56747 fi
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56749 $as_echo "$ac_gcsections" >&6; }
56750
56751 if test "$ac_test_CFLAGS" = set; then
56752 CFLAGS="$ac_save_CFLAGS"
56753 else
56754 # this is the suspicious part
56755 CFLAGS=''
56756 fi
56757 fi
56758
56759 # Set -z,relro.
56760 # Note this is only for shared objects.
56761 ac_ld_relro=no
56762 if test x"$with_gnu_ld" = x"yes"; then
56763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56764 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56765 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56766 if test -n "$cxx_z_relo"; then
56767 OPT_LDFLAGS="-Wl,-z,relro"
56768 ac_ld_relro=yes
56769 fi
56770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56771 $as_echo "$ac_ld_relro" >&6; }
56772 fi
56773
56774 # Set linker optimization flags.
56775 if test x"$with_gnu_ld" = x"yes"; then
56776 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56777 fi
56778
56779
56780
56781
56782 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56783
56784 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56785
56786 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56787
56788 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56789
56790 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56791
56792 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56793
56794 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56795
56796 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56797
56798 if test x"long_double_math_on_this_cpu" = x"yes"; then
56799 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56800
56801 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56802
56803 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56804
56805 fi
56806 ;;
56807 *-netware)
56808 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56809
56810
56811 # If we're not using GNU ld, then there's no point in even trying these
56812 # tests. Check for that first. We should have already tested for gld
56813 # by now (in libtool), but require it now just to be safe...
56814 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56815 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56816
56817
56818
56819 # The name set by libtool depends on the version of libtool. Shame on us
56820 # for depending on an impl detail, but c'est la vie. Older versions used
56821 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56822 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56823 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56824 # set (hence we're using an older libtool), then set it.
56825 if test x${with_gnu_ld+set} != xset; then
56826 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56827 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56828 with_gnu_ld=no
56829 else
56830 with_gnu_ld=$ac_cv_prog_gnu_ld
56831 fi
56832 fi
56833
56834 # Start by getting the version number. I think the libtool test already
56835 # does some of this, but throws away the result.
56836 glibcxx_ld_is_gold=no
56837 if test x"$with_gnu_ld" = x"yes"; then
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56839 $as_echo_n "checking for ld version... " >&6; }
56840
56841 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56842 glibcxx_ld_is_gold=yes
56843 fi
56844 ldver=`$LD --version 2>/dev/null |
56845 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'`
56846
56847 glibcxx_gnu_ld_version=`echo $ldver | \
56848 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56850 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56851 fi
56852
56853 # Set --gc-sections.
56854 glibcxx_have_gc_sections=no
56855 if test "$glibcxx_ld_is_gold" = "yes"; then
56856 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56857 glibcxx_have_gc_sections=yes
56858 fi
56859 else
56860 glibcxx_gcsections_min_ld=21602
56861 if test x"$with_gnu_ld" = x"yes" &&
56862 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56863 glibcxx_have_gc_sections=yes
56864 fi
56865 fi
56866 if test "$glibcxx_have_gc_sections" = "yes"; then
56867 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56868 # NB: This flag only works reliably after 2.16.1. Configure tests
56869 # for this are difficult, so hard wire a value that should work.
56870
56871 ac_test_CFLAGS="${CFLAGS+set}"
56872 ac_save_CFLAGS="$CFLAGS"
56873 CFLAGS='-Wl,--gc-sections'
56874
56875 # Check for -Wl,--gc-sections
56876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56877 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56878 if test x$gcc_no_link = xyes; then
56879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56880 fi
56881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56882 /* end confdefs.h. */
56883 int one(void) { return 1; }
56884 int two(void) { return 2; }
56885
56886 int
56887 main ()
56888 {
56889 two();
56890 ;
56891 return 0;
56892 }
56893 _ACEOF
56894 if ac_fn_c_try_link "$LINENO"; then :
56895 ac_gcsections=yes
56896 else
56897 ac_gcsections=no
56898 fi
56899 rm -f core conftest.err conftest.$ac_objext \
56900 conftest$ac_exeext conftest.$ac_ext
56901 if test "$ac_gcsections" = "yes"; then
56902 rm -f conftest.c
56903 touch conftest.c
56904 if $CC -c conftest.c; then
56905 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56906 grep "Warning: gc-sections option ignored" > /dev/null; then
56907 ac_gcsections=no
56908 fi
56909 fi
56910 rm -f conftest.c conftest.o conftest
56911 fi
56912 if test "$ac_gcsections" = "yes"; then
56913 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56914 fi
56915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56916 $as_echo "$ac_gcsections" >&6; }
56917
56918 if test "$ac_test_CFLAGS" = set; then
56919 CFLAGS="$ac_save_CFLAGS"
56920 else
56921 # this is the suspicious part
56922 CFLAGS=''
56923 fi
56924 fi
56925
56926 # Set -z,relro.
56927 # Note this is only for shared objects.
56928 ac_ld_relro=no
56929 if test x"$with_gnu_ld" = x"yes"; then
56930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56931 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56932 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56933 if test -n "$cxx_z_relo"; then
56934 OPT_LDFLAGS="-Wl,-z,relro"
56935 ac_ld_relro=yes
56936 fi
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56938 $as_echo "$ac_ld_relro" >&6; }
56939 fi
56940
56941 # Set linker optimization flags.
56942 if test x"$with_gnu_ld" = x"yes"; then
56943 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56944 fi
56945
56946
56947
56948
56949 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56950
56951 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56952
56953 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56954
56955 ;;
56956 *-qnx6.1* | *-qnx6.2*)
56957 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56958
56959
56960 # If we're not using GNU ld, then there's no point in even trying these
56961 # tests. Check for that first. We should have already tested for gld
56962 # by now (in libtool), but require it now just to be safe...
56963 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56964 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56965
56966
56967
56968 # The name set by libtool depends on the version of libtool. Shame on us
56969 # for depending on an impl detail, but c'est la vie. Older versions used
56970 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56971 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56972 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56973 # set (hence we're using an older libtool), then set it.
56974 if test x${with_gnu_ld+set} != xset; then
56975 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56976 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56977 with_gnu_ld=no
56978 else
56979 with_gnu_ld=$ac_cv_prog_gnu_ld
56980 fi
56981 fi
56982
56983 # Start by getting the version number. I think the libtool test already
56984 # does some of this, but throws away the result.
56985 glibcxx_ld_is_gold=no
56986 if test x"$with_gnu_ld" = x"yes"; then
56987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56988 $as_echo_n "checking for ld version... " >&6; }
56989
56990 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56991 glibcxx_ld_is_gold=yes
56992 fi
56993 ldver=`$LD --version 2>/dev/null |
56994 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'`
56995
56996 glibcxx_gnu_ld_version=`echo $ldver | \
56997 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56999 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57000 fi
57001
57002 # Set --gc-sections.
57003 glibcxx_have_gc_sections=no
57004 if test "$glibcxx_ld_is_gold" = "yes"; then
57005 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57006 glibcxx_have_gc_sections=yes
57007 fi
57008 else
57009 glibcxx_gcsections_min_ld=21602
57010 if test x"$with_gnu_ld" = x"yes" &&
57011 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57012 glibcxx_have_gc_sections=yes
57013 fi
57014 fi
57015 if test "$glibcxx_have_gc_sections" = "yes"; then
57016 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57017 # NB: This flag only works reliably after 2.16.1. Configure tests
57018 # for this are difficult, so hard wire a value that should work.
57019
57020 ac_test_CFLAGS="${CFLAGS+set}"
57021 ac_save_CFLAGS="$CFLAGS"
57022 CFLAGS='-Wl,--gc-sections'
57023
57024 # Check for -Wl,--gc-sections
57025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57026 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57027 if test x$gcc_no_link = xyes; then
57028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57029 fi
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 int one(void) { return 1; }
57033 int two(void) { return 2; }
57034
57035 int
57036 main ()
57037 {
57038 two();
57039 ;
57040 return 0;
57041 }
57042 _ACEOF
57043 if ac_fn_c_try_link "$LINENO"; then :
57044 ac_gcsections=yes
57045 else
57046 ac_gcsections=no
57047 fi
57048 rm -f core conftest.err conftest.$ac_objext \
57049 conftest$ac_exeext conftest.$ac_ext
57050 if test "$ac_gcsections" = "yes"; then
57051 rm -f conftest.c
57052 touch conftest.c
57053 if $CC -c conftest.c; then
57054 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57055 grep "Warning: gc-sections option ignored" > /dev/null; then
57056 ac_gcsections=no
57057 fi
57058 fi
57059 rm -f conftest.c conftest.o conftest
57060 fi
57061 if test "$ac_gcsections" = "yes"; then
57062 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57063 fi
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57065 $as_echo "$ac_gcsections" >&6; }
57066
57067 if test "$ac_test_CFLAGS" = set; then
57068 CFLAGS="$ac_save_CFLAGS"
57069 else
57070 # this is the suspicious part
57071 CFLAGS=''
57072 fi
57073 fi
57074
57075 # Set -z,relro.
57076 # Note this is only for shared objects.
57077 ac_ld_relro=no
57078 if test x"$with_gnu_ld" = x"yes"; then
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57080 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57081 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57082 if test -n "$cxx_z_relo"; then
57083 OPT_LDFLAGS="-Wl,-z,relro"
57084 ac_ld_relro=yes
57085 fi
57086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57087 $as_echo "$ac_ld_relro" >&6; }
57088 fi
57089
57090 # Set linker optimization flags.
57091 if test x"$with_gnu_ld" = x"yes"; then
57092 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57093 fi
57094
57095
57096
57097
57098 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57099
57100 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57101
57102 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57103
57104 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57105
57106 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57107
57108 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57109
57110 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57111
57112 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57113
57114 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57115
57116 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57117
57118 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57119
57120 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57121
57122 ;;
57123 *-solaris*)
57124 case "$target" in
57125 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57126
57127 # If we're not using GNU ld, then there's no point in even trying these
57128 # tests. Check for that first. We should have already tested for gld
57129 # by now (in libtool), but require it now just to be safe...
57130 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57131 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57132
57133
57134
57135 # The name set by libtool depends on the version of libtool. Shame on us
57136 # for depending on an impl detail, but c'est la vie. Older versions used
57137 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57138 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57139 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57140 # set (hence we're using an older libtool), then set it.
57141 if test x${with_gnu_ld+set} != xset; then
57142 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57143 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57144 with_gnu_ld=no
57145 else
57146 with_gnu_ld=$ac_cv_prog_gnu_ld
57147 fi
57148 fi
57149
57150 # Start by getting the version number. I think the libtool test already
57151 # does some of this, but throws away the result.
57152 glibcxx_ld_is_gold=no
57153 if test x"$with_gnu_ld" = x"yes"; then
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57155 $as_echo_n "checking for ld version... " >&6; }
57156
57157 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57158 glibcxx_ld_is_gold=yes
57159 fi
57160 ldver=`$LD --version 2>/dev/null |
57161 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'`
57162
57163 glibcxx_gnu_ld_version=`echo $ldver | \
57164 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57166 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57167 fi
57168
57169 # Set --gc-sections.
57170 glibcxx_have_gc_sections=no
57171 if test "$glibcxx_ld_is_gold" = "yes"; then
57172 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57173 glibcxx_have_gc_sections=yes
57174 fi
57175 else
57176 glibcxx_gcsections_min_ld=21602
57177 if test x"$with_gnu_ld" = x"yes" &&
57178 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57179 glibcxx_have_gc_sections=yes
57180 fi
57181 fi
57182 if test "$glibcxx_have_gc_sections" = "yes"; then
57183 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57184 # NB: This flag only works reliably after 2.16.1. Configure tests
57185 # for this are difficult, so hard wire a value that should work.
57186
57187 ac_test_CFLAGS="${CFLAGS+set}"
57188 ac_save_CFLAGS="$CFLAGS"
57189 CFLAGS='-Wl,--gc-sections'
57190
57191 # Check for -Wl,--gc-sections
57192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57193 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57194 if test x$gcc_no_link = xyes; then
57195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57196 fi
57197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57198 /* end confdefs.h. */
57199 int one(void) { return 1; }
57200 int two(void) { return 2; }
57201
57202 int
57203 main ()
57204 {
57205 two();
57206 ;
57207 return 0;
57208 }
57209 _ACEOF
57210 if ac_fn_c_try_link "$LINENO"; then :
57211 ac_gcsections=yes
57212 else
57213 ac_gcsections=no
57214 fi
57215 rm -f core conftest.err conftest.$ac_objext \
57216 conftest$ac_exeext conftest.$ac_ext
57217 if test "$ac_gcsections" = "yes"; then
57218 rm -f conftest.c
57219 touch conftest.c
57220 if $CC -c conftest.c; then
57221 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57222 grep "Warning: gc-sections option ignored" > /dev/null; then
57223 ac_gcsections=no
57224 fi
57225 fi
57226 rm -f conftest.c conftest.o conftest
57227 fi
57228 if test "$ac_gcsections" = "yes"; then
57229 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57230 fi
57231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57232 $as_echo "$ac_gcsections" >&6; }
57233
57234 if test "$ac_test_CFLAGS" = set; then
57235 CFLAGS="$ac_save_CFLAGS"
57236 else
57237 # this is the suspicious part
57238 CFLAGS=''
57239 fi
57240 fi
57241
57242 # Set -z,relro.
57243 # Note this is only for shared objects.
57244 ac_ld_relro=no
57245 if test x"$with_gnu_ld" = x"yes"; then
57246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57247 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57248 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57249 if test -n "$cxx_z_relo"; then
57250 OPT_LDFLAGS="-Wl,-z,relro"
57251 ac_ld_relro=yes
57252 fi
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57254 $as_echo "$ac_ld_relro" >&6; }
57255 fi
57256
57257 # Set linker optimization flags.
57258 if test x"$with_gnu_ld" = x"yes"; then
57259 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57260 fi
57261
57262
57263
57264
57265 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57266
57267 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57268
57269 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57270
57271 # All of the dependencies for wide character support are here, so
57272 # turn it on.
57273 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57274
57275 ;;
57276 esac
57277 case "$target" in
57278 *-*-solaris2.10)
57279 # These two C99 functions are present only in Solaris >= 10
57280 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57281
57282 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57283
57284 ;;
57285 esac
57286 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57287
57288 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57289
57290 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57291
57292 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57293
57294 ;;
57295 *-tpf)
57296 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57297
57298
57299 # If we're not using GNU ld, then there's no point in even trying these
57300 # tests. Check for that first. We should have already tested for gld
57301 # by now (in libtool), but require it now just to be safe...
57302 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57303 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57304
57305
57306
57307 # The name set by libtool depends on the version of libtool. Shame on us
57308 # for depending on an impl detail, but c'est la vie. Older versions used
57309 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57310 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57311 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57312 # set (hence we're using an older libtool), then set it.
57313 if test x${with_gnu_ld+set} != xset; then
57314 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57315 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57316 with_gnu_ld=no
57317 else
57318 with_gnu_ld=$ac_cv_prog_gnu_ld
57319 fi
57320 fi
57321
57322 # Start by getting the version number. I think the libtool test already
57323 # does some of this, but throws away the result.
57324 glibcxx_ld_is_gold=no
57325 if test x"$with_gnu_ld" = x"yes"; then
57326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57327 $as_echo_n "checking for ld version... " >&6; }
57328
57329 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57330 glibcxx_ld_is_gold=yes
57331 fi
57332 ldver=`$LD --version 2>/dev/null |
57333 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'`
57334
57335 glibcxx_gnu_ld_version=`echo $ldver | \
57336 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57338 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57339 fi
57340
57341 # Set --gc-sections.
57342 glibcxx_have_gc_sections=no
57343 if test "$glibcxx_ld_is_gold" = "yes"; then
57344 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57345 glibcxx_have_gc_sections=yes
57346 fi
57347 else
57348 glibcxx_gcsections_min_ld=21602
57349 if test x"$with_gnu_ld" = x"yes" &&
57350 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57351 glibcxx_have_gc_sections=yes
57352 fi
57353 fi
57354 if test "$glibcxx_have_gc_sections" = "yes"; then
57355 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57356 # NB: This flag only works reliably after 2.16.1. Configure tests
57357 # for this are difficult, so hard wire a value that should work.
57358
57359 ac_test_CFLAGS="${CFLAGS+set}"
57360 ac_save_CFLAGS="$CFLAGS"
57361 CFLAGS='-Wl,--gc-sections'
57362
57363 # Check for -Wl,--gc-sections
57364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57365 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57366 if test x$gcc_no_link = xyes; then
57367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57368 fi
57369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57370 /* end confdefs.h. */
57371 int one(void) { return 1; }
57372 int two(void) { return 2; }
57373
57374 int
57375 main ()
57376 {
57377 two();
57378 ;
57379 return 0;
57380 }
57381 _ACEOF
57382 if ac_fn_c_try_link "$LINENO"; then :
57383 ac_gcsections=yes
57384 else
57385 ac_gcsections=no
57386 fi
57387 rm -f core conftest.err conftest.$ac_objext \
57388 conftest$ac_exeext conftest.$ac_ext
57389 if test "$ac_gcsections" = "yes"; then
57390 rm -f conftest.c
57391 touch conftest.c
57392 if $CC -c conftest.c; then
57393 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57394 grep "Warning: gc-sections option ignored" > /dev/null; then
57395 ac_gcsections=no
57396 fi
57397 fi
57398 rm -f conftest.c conftest.o conftest
57399 fi
57400 if test "$ac_gcsections" = "yes"; then
57401 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57402 fi
57403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57404 $as_echo "$ac_gcsections" >&6; }
57405
57406 if test "$ac_test_CFLAGS" = set; then
57407 CFLAGS="$ac_save_CFLAGS"
57408 else
57409 # this is the suspicious part
57410 CFLAGS=''
57411 fi
57412 fi
57413
57414 # Set -z,relro.
57415 # Note this is only for shared objects.
57416 ac_ld_relro=no
57417 if test x"$with_gnu_ld" = x"yes"; then
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57419 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57420 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57421 if test -n "$cxx_z_relo"; then
57422 OPT_LDFLAGS="-Wl,-z,relro"
57423 ac_ld_relro=yes
57424 fi
57425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57426 $as_echo "$ac_ld_relro" >&6; }
57427 fi
57428
57429 # Set linker optimization flags.
57430 if test x"$with_gnu_ld" = x"yes"; then
57431 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57432 fi
57433
57434
57435
57436
57437 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57438
57439 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57440
57441 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57442
57443 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57444
57445 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57446
57447 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57448
57449 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57450
57451 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57452
57453 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57454
57455 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57456
57457 if test x"long_double_math_on_this_cpu" = x"yes"; then
57458 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57459
57460 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57461
57462 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57463
57464 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57465
57466 fi
57467 ;;
57468 *-vxworks)
57469 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57470
57471 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57472
57473 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57474
57475 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57476
57477 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57478
57479 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57480
57481 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57482
57483 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57484
57485 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57486
57487 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57488
57489 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57490
57491 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57492
57493 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57494
57495 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57496
57497 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57498
57499 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57500
57501 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57502
57503 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57504
57505 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57506
57507 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57508
57509 ;;
57510 *)
57511 as_fn_error "No support for this host/target combination." "$LINENO" 5
57512 ;;
57513 esac
57514
57515 fi
57516
57517 # At some point, we should differentiate between architectures
57518 # like x86, which have long double versions, and alpha/powerpc/etc.,
57519 # which don't. For the time being, punt.
57520 if test x"long_double_math_on_this_cpu" = x"yes"; then
57521 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57522
57523 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57524
57525 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57526
57527 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57528
57529 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57530
57531 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57532
57533 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57534
57535 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57536
57537 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57538
57539 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57540
57541 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57542
57543 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57544
57545 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57546
57547 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57548
57549 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57550
57551 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57552
57553 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57554
57555 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57556
57557 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57558
57559 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57560
57561 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57562
57563 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57564
57565 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57566
57567 fi
57568 fi
57569
57570 # Check for _Unwind_GetIPInfo.
57571
57572
57573 # Check whether --with-system-libunwind was given.
57574 if test "${with_system_libunwind+set}" = set; then :
57575 withval=$with_system_libunwind;
57576 fi
57577
57578 # If system-libunwind was not specifically set, pick a default setting.
57579 if test x$with_system_libunwind = x; then
57580 case ${target} in
57581 ia64-*-hpux*) with_system_libunwind=yes ;;
57582 *) with_system_libunwind=no ;;
57583 esac
57584 fi
57585 # Based on system-libunwind and target, do we have ipinfo?
57586 if test x$with_system_libunwind = xyes; then
57587 case ${target} in
57588 ia64-*-*) have_unwind_getipinfo=no ;;
57589 *) have_unwind_getipinfo=yes ;;
57590 esac
57591 else
57592 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57593
57594 case ${target} in
57595 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57596 *) have_unwind_getipinfo=yes ;;
57597 esac
57598
57599 fi
57600
57601 if test x$have_unwind_getipinfo = xyes; then
57602
57603 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57604
57605 fi
57606
57607
57608
57609 # Check whether --enable-linux-futex was given.
57610 if test "${enable_linux_futex+set}" = set; then :
57611 enableval=$enable_linux_futex;
57612 case "$enableval" in
57613 yes|no|default) ;;
57614 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57615 esac
57616
57617 else
57618 enable_linux_futex=default
57619 fi
57620
57621
57622 case "$target" in
57623 *-linux*)
57624 case "$enable_linux_futex" in
57625 default)
57626 # If headers don't have gettid/futex syscalls definition, then
57627 # default to no, otherwise there will be compile time failures.
57628 # Otherwise, default to yes. If we don't detect we are
57629 # compiled/linked against NPTL and not cross-compiling, check
57630 # if programs are run by default against NPTL and if not, issue
57631 # a warning.
57632 enable_linux_futex=no
57633 if test x$gcc_no_link = xyes; then
57634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57635 fi
57636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57637 /* end confdefs.h. */
57638 #include <sys/syscall.h>
57639 int lk;
57640 int
57641 main ()
57642 {
57643 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57644 ;
57645 return 0;
57646 }
57647 _ACEOF
57648 if ac_fn_c_try_link "$LINENO"; then :
57649 save_LIBS="$LIBS"
57650 LIBS="-lpthread $LIBS"
57651 if test x$gcc_no_link = xyes; then
57652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57653 fi
57654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57655 /* end confdefs.h. */
57656 #ifndef _GNU_SOURCE
57657 #define _GNU_SOURCE 1
57658 #endif
57659 #include <pthread.h>
57660 pthread_t th; void *status;
57661 int
57662 main ()
57663 {
57664 pthread_tryjoin_np (th, &status);
57665 ;
57666 return 0;
57667 }
57668 _ACEOF
57669 if ac_fn_c_try_link "$LINENO"; then :
57670 enable_linux_futex=yes
57671 else
57672 if test x$cross_compiling = xno; then
57673 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57674 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57676 If so, please configure with --disable-linux-futex" >&5
57677 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57678 If so, please configure with --disable-linux-futex" >&2;}
57679 fi
57680 fi
57681 enable_linux_futex=yes
57682 fi
57683 rm -f core conftest.err conftest.$ac_objext \
57684 conftest$ac_exeext conftest.$ac_ext
57685 LIBS="$save_LIBS"
57686 fi
57687 rm -f core conftest.err conftest.$ac_objext \
57688 conftest$ac_exeext conftest.$ac_ext
57689 ;;
57690 yes)
57691 if test x$gcc_no_link = xyes; then
57692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57693 fi
57694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57695 /* end confdefs.h. */
57696 #include <sys/syscall.h>
57697 int lk;
57698 int
57699 main ()
57700 {
57701 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57702 ;
57703 return 0;
57704 }
57705 _ACEOF
57706 if ac_fn_c_try_link "$LINENO"; then :
57707
57708 else
57709 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57710 fi
57711 rm -f core conftest.err conftest.$ac_objext \
57712 conftest$ac_exeext conftest.$ac_ext
57713 ;;
57714 esac
57715 ;;
57716 *)
57717 enable_linux_futex=no
57718 ;;
57719 esac
57720 if test x$enable_linux_futex = xyes; then
57721
57722 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57723
57724 fi
57725
57726
57727
57728
57729 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57730
57731 acx_cv_header_stdint=stddef.h
57732 acx_cv_header_stdint_kind="(already complete)"
57733 for i in stdint.h $inttype_headers; do
57734 unset ac_cv_type_uintptr_t
57735 unset ac_cv_type_uintmax_t
57736 unset ac_cv_type_int_least32_t
57737 unset ac_cv_type_int_fast32_t
57738 unset ac_cv_type_uint64_t
57739 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57740 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57741 #include <$i>
57742 "
57743 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57744 acx_cv_header_stdint=$i
57745 else
57746 continue
57747 fi
57748
57749 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57750 #include <$i>
57751 "
57752 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57753
57754 else
57755 acx_cv_header_stdint_kind="(mostly complete)"
57756 fi
57757
57758 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57759 #include <$i>
57760 "
57761 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57762
57763 else
57764 acx_cv_header_stdint_kind="(mostly complete)"
57765 fi
57766
57767 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57768 #include <$i>
57769 "
57770 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57771
57772 else
57773 acx_cv_header_stdint_kind="(mostly complete)"
57774 fi
57775
57776 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57777 #include <$i>
57778 "
57779 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57780
57781 else
57782 acx_cv_header_stdint_kind="(lacks uint64_t)"
57783 fi
57784
57785 break
57786 done
57787 if test "$acx_cv_header_stdint" = stddef.h; then
57788 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57789 for i in stdint.h $inttype_headers; do
57790 unset ac_cv_type_uintptr_t
57791 unset ac_cv_type_uint32_t
57792 unset ac_cv_type_uint64_t
57793 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57794 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57795 #include <$i>
57796 "
57797 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57798 acx_cv_header_stdint=$i
57799 else
57800 continue
57801 fi
57802
57803 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57804 #include <$i>
57805 "
57806 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57807
57808 fi
57809
57810 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57811 #include <$i>
57812 "
57813 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57814
57815 fi
57816
57817 break
57818 done
57819 fi
57820 if test "$acx_cv_header_stdint" = stddef.h; then
57821 acx_cv_header_stdint_kind="(u_intXX_t style)"
57822 for i in sys/types.h $inttype_headers; do
57823 unset ac_cv_type_u_int32_t
57824 unset ac_cv_type_u_int64_t
57825 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57826 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57827 #include <$i>
57828 "
57829 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57830 acx_cv_header_stdint=$i
57831 else
57832 continue
57833 fi
57834
57835 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57836 #include <$i>
57837 "
57838 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57839
57840 fi
57841
57842 break
57843 done
57844 fi
57845 if test "$acx_cv_header_stdint" = stddef.h; then
57846 acx_cv_header_stdint_kind="(using manual detection)"
57847 fi
57848
57849 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57850 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57851 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57852 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57853 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57854
57855 # ----------------- Summarize what we found so far
57856
57857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57858 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57859
57860 case `$as_basename -- include/gstdint.h ||
57861 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57862 Xinclude/gstdint.h : 'X\(//\)$' \| \
57863 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57864 $as_echo X/include/gstdint.h |
57865 sed '/^.*\/\([^/][^/]*\)\/*$/{
57866 s//\1/
57867 q
57868 }
57869 /^X\/\(\/\/\)$/{
57870 s//\1/
57871 q
57872 }
57873 /^X\/\(\/\).*/{
57874 s//\1/
57875 q
57876 }
57877 s/.*/./; q'` in
57878 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57879 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57880 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57881 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57882 *) ;;
57883 esac
57884
57885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57886 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57887
57888 # ----------------- done included file, check C basic types --------
57889
57890 # Lacking an uintptr_t? Test size of void *
57891 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57892 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57895 # This bug is HP SR number 8606223364.
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57897 $as_echo_n "checking size of void *... " >&6; }
57898 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57899 $as_echo_n "(cached) " >&6
57900 else
57901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57902
57903 else
57904 if test "$ac_cv_type_void_p" = yes; then
57905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57907 { as_fn_set_status 77
57908 as_fn_error "cannot compute sizeof (void *)
57909 See \`config.log' for more details." "$LINENO" 5; }; }
57910 else
57911 ac_cv_sizeof_void_p=0
57912 fi
57913 fi
57914
57915 fi
57916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57917 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57918
57919
57920
57921 cat >>confdefs.h <<_ACEOF
57922 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57923 _ACEOF
57924
57925 ;;
57926 esac
57927
57928 # Lacking an uint64_t? Test size of long
57929 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57930 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57933 # This bug is HP SR number 8606223364.
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57935 $as_echo_n "checking size of long... " >&6; }
57936 if test "${ac_cv_sizeof_long+set}" = set; then :
57937 $as_echo_n "(cached) " >&6
57938 else
57939 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57940
57941 else
57942 if test "$ac_cv_type_long" = yes; then
57943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57945 { as_fn_set_status 77
57946 as_fn_error "cannot compute sizeof (long)
57947 See \`config.log' for more details." "$LINENO" 5; }; }
57948 else
57949 ac_cv_sizeof_long=0
57950 fi
57951 fi
57952
57953 fi
57954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57955 $as_echo "$ac_cv_sizeof_long" >&6; }
57956
57957
57958
57959 cat >>confdefs.h <<_ACEOF
57960 #define SIZEOF_LONG $ac_cv_sizeof_long
57961 _ACEOF
57962
57963 ;;
57964 esac
57965
57966 if test $acx_cv_header_stdint = stddef.h; then
57967 # Lacking a good header? Test size of everything and deduce all types.
57968 # The cast to long int works around a bug in the HP C Compiler
57969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57971 # This bug is HP SR number 8606223364.
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57973 $as_echo_n "checking size of int... " >&6; }
57974 if test "${ac_cv_sizeof_int+set}" = set; then :
57975 $as_echo_n "(cached) " >&6
57976 else
57977 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57978
57979 else
57980 if test "$ac_cv_type_int" = yes; then
57981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57983 { as_fn_set_status 77
57984 as_fn_error "cannot compute sizeof (int)
57985 See \`config.log' for more details." "$LINENO" 5; }; }
57986 else
57987 ac_cv_sizeof_int=0
57988 fi
57989 fi
57990
57991 fi
57992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57993 $as_echo "$ac_cv_sizeof_int" >&6; }
57994
57995
57996
57997 cat >>confdefs.h <<_ACEOF
57998 #define SIZEOF_INT $ac_cv_sizeof_int
57999 _ACEOF
58000
58001
58002 # The cast to long int works around a bug in the HP C Compiler
58003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58005 # This bug is HP SR number 8606223364.
58006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
58007 $as_echo_n "checking size of short... " >&6; }
58008 if test "${ac_cv_sizeof_short+set}" = set; then :
58009 $as_echo_n "(cached) " >&6
58010 else
58011 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
58012
58013 else
58014 if test "$ac_cv_type_short" = yes; then
58015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58017 { as_fn_set_status 77
58018 as_fn_error "cannot compute sizeof (short)
58019 See \`config.log' for more details." "$LINENO" 5; }; }
58020 else
58021 ac_cv_sizeof_short=0
58022 fi
58023 fi
58024
58025 fi
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
58027 $as_echo "$ac_cv_sizeof_short" >&6; }
58028
58029
58030
58031 cat >>confdefs.h <<_ACEOF
58032 #define SIZEOF_SHORT $ac_cv_sizeof_short
58033 _ACEOF
58034
58035
58036 # The cast to long int works around a bug in the HP C Compiler
58037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58039 # This bug is HP SR number 8606223364.
58040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58041 $as_echo_n "checking size of char... " >&6; }
58042 if test "${ac_cv_sizeof_char+set}" = set; then :
58043 $as_echo_n "(cached) " >&6
58044 else
58045 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
58046
58047 else
58048 if test "$ac_cv_type_char" = yes; then
58049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58051 { as_fn_set_status 77
58052 as_fn_error "cannot compute sizeof (char)
58053 See \`config.log' for more details." "$LINENO" 5; }; }
58054 else
58055 ac_cv_sizeof_char=0
58056 fi
58057 fi
58058
58059 fi
58060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58061 $as_echo "$ac_cv_sizeof_char" >&6; }
58062
58063
58064
58065 cat >>confdefs.h <<_ACEOF
58066 #define SIZEOF_CHAR $ac_cv_sizeof_char
58067 _ACEOF
58068
58069
58070
58071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58072 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58073 case "$ac_cv_sizeof_char" in
58074 1) acx_cv_type_int8_t=char ;;
58075 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
58076 esac
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58078 $as_echo "$acx_cv_type_int8_t" >&6; }
58079
58080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58081 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58082 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58083 2:*) acx_cv_type_int16_t=int ;;
58084 *:2) acx_cv_type_int16_t=short ;;
58085 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
58086 esac
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58088 $as_echo "$acx_cv_type_int16_t" >&6; }
58089
58090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58091 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58092 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58093 4:*) acx_cv_type_int32_t=int ;;
58094 *:4) acx_cv_type_int32_t=long ;;
58095 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
58096 esac
58097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58098 $as_echo "$acx_cv_type_int32_t" >&6; }
58099 fi
58100
58101 # These tests are here to make the output prettier
58102
58103 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58104 case "$ac_cv_sizeof_long" in
58105 8) acx_cv_type_int64_t=long ;;
58106 esac
58107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58108 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58110 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58111 fi
58112
58113 # Now we can use the above types
58114
58115 if test "$ac_cv_type_uintptr_t" != yes; then
58116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58117 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58118 case $ac_cv_sizeof_void_p in
58119 2) acx_cv_type_intptr_t=int16_t ;;
58120 4) acx_cv_type_intptr_t=int32_t ;;
58121 8) acx_cv_type_intptr_t=int64_t ;;
58122 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
58123 esac
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58125 $as_echo "$acx_cv_type_intptr_t" >&6; }
58126 fi
58127
58128 # ----------------- done all checks, emit header -------------
58129 ac_config_commands="$ac_config_commands include/gstdint.h"
58130
58131
58132
58133
58134 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58135
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
58137 $as_echo_n "checking for GNU c++filt... " >&6; }
58138 if test "${ac_cv_path_CXXFILT+set}" = set; then :
58139 $as_echo_n "(cached) " >&6
58140 else
58141 if test -z "$CXXFILT"; then
58142 ac_path_CXXFILT_found=false
58143 # Loop through the user's path and test for each of PROGNAME-LIST
58144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58145 for as_dir in $PATH
58146 do
58147 IFS=$as_save_IFS
58148 test -z "$as_dir" && as_dir=.
58149 for ac_prog in c++filt gc++filt; do
58150 for ac_exec_ext in '' $ac_executable_extensions; do
58151 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
58152 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
58153 # Check for GNU $ac_path_CXXFILT
58154 case `"$ac_path_CXXFILT" --version 2>&1` in
58155 *GNU*)
58156 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
58157 esac
58158
58159 $ac_path_CXXFILT_found && break 3
58160 done
58161 done
58162 done
58163 IFS=$as_save_IFS
58164 if test -z "$ac_cv_path_CXXFILT"; then
58165 :
58166 fi
58167 else
58168 ac_cv_path_CXXFILT=$CXXFILT
58169 fi
58170
58171 fi
58172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
58173 $as_echo "$ac_cv_path_CXXFILT" >&6; }
58174 CXXFILT=$ac_cv_path_CXXFILT
58175
58176
58177
58178 # Check whether --enable-symvers was given.
58179 if test "${enable_symvers+set}" = set; then :
58180 enableval=$enable_symvers;
58181 case "$enableval" in
58182 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
58183 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58184 esac
58185
58186 else
58187 enable_symvers=yes
58188 fi
58189
58190
58191
58192 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58193 # don't know enough about $LD to do tricks...
58194
58195 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
58196 # with extern "C++" in version scripts.
58197
58198
58199 # Turn a 'yes' into a suitable default.
58200 if test x$enable_symvers = xyes ; then
58201 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58202 enable_symvers=no
58203 else
58204 if test $with_gnu_ld = yes ; then
58205 case ${target_os} in
58206 hpux*)
58207 enable_symvers=no ;;
58208 *)
58209 enable_symvers=gnu ;;
58210 esac
58211 else
58212 case ${target_os} in
58213 darwin*)
58214 enable_symvers=darwin ;;
58215 # Sun symbol versioning exists since Solaris 2.5.
58216 solaris2.[5-9]* | solaris2.1[0-9]*)
58217 # make_sunver.pl needs GNU c++filt to support extern "C++" in
58218 # version scripts, so disable symbol versioning if none can be
58219 # found.
58220 if test -z "$ac_cv_path_CXXFILT"; then
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58222 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
58224 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
58225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58226 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58227 enable_symvers=no
58228 else
58229 enable_symvers=sun
58230 fi
58231 ;;
58232 *)
58233 enable_symvers=no ;;
58234 esac
58235 fi
58236 fi
58237 fi
58238
58239 # Check to see if 'darwin' or 'darwin-export' can win.
58240 if test x$enable_symvers = xdarwin-export ; then
58241 enable_symvers=darwin
58242 fi
58243
58244 # Check if 'sun' was requested on non-Solaris 2 platforms.
58245 if test x$enable_symvers = xsun ; then
58246 case ${target_os} in
58247 solaris2*)
58248 # All fine.
58249 ;;
58250 *)
58251 # Unlikely to work.
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58253 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
58255 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
58256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58257 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58258 enable_symvers=no
58259 ;;
58260 esac
58261 fi
58262
58263 # Check to see if 'gnu' can win.
58264 if test $enable_symvers = gnu ||
58265 test $enable_symvers = gnu-versioned-namespace ||
58266 test $enable_symvers = sun; then
58267 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58269 $as_echo_n "checking for shared libgcc... " >&6; }
58270 ac_save_CFLAGS="$CFLAGS"
58271 CFLAGS=' -lgcc_s'
58272 if test x$gcc_no_link = xyes; then
58273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58274 fi
58275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58276 /* end confdefs.h. */
58277
58278 int
58279 main ()
58280 {
58281 return 0;
58282 ;
58283 return 0;
58284 }
58285 _ACEOF
58286 if ac_fn_c_try_link "$LINENO"; then :
58287 glibcxx_shared_libgcc=yes
58288 else
58289 glibcxx_shared_libgcc=no
58290 fi
58291 rm -f core conftest.err conftest.$ac_objext \
58292 conftest$ac_exeext conftest.$ac_ext
58293 CFLAGS="$ac_save_CFLAGS"
58294 if test $glibcxx_shared_libgcc = no; then
58295 cat > conftest.c <<EOF
58296 int main (void) { return 0; }
58297 EOF
58298 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58299 -shared -shared-libgcc -o conftest.so \
58300 conftest.c -v 2>&1 >/dev/null \
58301 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58302 rm -f conftest.c conftest.so
58303 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58304 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58305 if test x$gcc_no_link = xyes; then
58306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58307 fi
58308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58309 /* end confdefs.h. */
58310
58311 int
58312 main ()
58313 {
58314 return 0;
58315 ;
58316 return 0;
58317 }
58318 _ACEOF
58319 if ac_fn_c_try_link "$LINENO"; then :
58320 glibcxx_shared_libgcc=yes
58321 fi
58322 rm -f core conftest.err conftest.$ac_objext \
58323 conftest$ac_exeext conftest.$ac_ext
58324 CFLAGS="$ac_save_CFLAGS"
58325 fi
58326 fi
58327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58328 $as_echo "$glibcxx_shared_libgcc" >&6; }
58329
58330 # For GNU ld, we need at least this version. The format is described in
58331 # GLIBCXX_CHECK_LINKER_FEATURES above.
58332 glibcxx_min_gnu_ld_version=21400
58333
58334 # If no shared libgcc, can't win.
58335 if test $glibcxx_shared_libgcc != yes; then
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58337 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58339 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58341 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58342 enable_symvers=no
58343 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
58344 : All interesting versions of Sun ld support sun style symbol versioning.
58345 elif test $with_gnu_ld != yes ; then
58346 # just fail for now
58347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58348 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58350 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58352 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58353 enable_symvers=no
58354 elif test $glibcxx_ld_is_gold = yes ; then
58355 : All versions of gold support symbol versioning.
58356 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58357 # The right tools, the right setup, but too old. Fallbacks?
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58359 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58361 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58363 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58365 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58367 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58368 enable_symvers=no
58369 fi
58370 fi
58371
58372 # Everything parsed; figure out what file to use.
58373 case $enable_symvers in
58374 no)
58375 SYMVER_FILE=config/abi/pre/none.ver
58376 ;;
58377 gnu)
58378 SYMVER_FILE=config/abi/pre/gnu.ver
58379
58380 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58381
58382 ;;
58383 gnu-versioned-namespace)
58384 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58385
58386 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58387
58388 ;;
58389 darwin)
58390 SYMVER_FILE=config/abi/pre/gnu.ver
58391
58392 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58393
58394 ;;
58395 sun)
58396 SYMVER_FILE=config/abi/pre/gnu.ver
58397
58398 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
58399
58400 ;;
58401 esac
58402
58403 if test x$enable_symvers != xno ; then
58404
58405 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58406
58407 fi
58408
58409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58410 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58411 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58412 $as_echo_n "(cached) " >&6
58413 else
58414
58415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58416 /* end confdefs.h. */
58417 void foo (void); __asm (".symver foo, bar@SYMVER");
58418 int
58419 main ()
58420 {
58421
58422 ;
58423 return 0;
58424 }
58425 _ACEOF
58426 if ac_fn_c_try_compile "$LINENO"; then :
58427 glibcxx_cv_have_as_symver_directive=yes
58428 else
58429 glibcxx_cv_have_as_symver_directive=no
58430 fi
58431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58432 fi
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58434 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58435 if test $glibcxx_cv_have_as_symver_directive = yes; then
58436
58437 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58438
58439 fi
58440
58441
58442
58443
58444
58445
58446
58447
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58449 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58450
58451 if test $enable_symvers != no ; then
58452 case ${target_os} in
58453 # The Solaris 2 runtime linker doesn't support the GNU extension of
58454 # binding the same symbol to different versions
58455 solaris2*)
58456 symvers_renaming=no ;;
58457 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
58458 *)
58459
58460 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
58461
58462 symvers_renaming=yes ;;
58463 esac
58464 else
58465 symvers_renaming=no
58466 fi
58467
58468
58469 # Now, set up compatibility support, if any.
58470 # In addition, need this to deal with std::size_t mangling in
58471 # src/compatibility.cc. In a perfect world, could use
58472 # typeid(std::size_t).name()[0] to do direct substitution.
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58474 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58475 ac_save_CFLAGS="$CFLAGS"
58476 CFLAGS="-Werror"
58477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58478 /* end confdefs.h. */
58479
58480 int
58481 main ()
58482 {
58483 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58484 ;
58485 return 0;
58486 }
58487 _ACEOF
58488 if ac_fn_c_try_compile "$LINENO"; then :
58489 glibcxx_size_t_is_i=yes
58490 else
58491 glibcxx_size_t_is_i=no
58492 fi
58493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 CFLAGS=$ac_save_CFLAGS
58495 if test "$glibcxx_size_t_is_i" = yes; then
58496
58497 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58498
58499 fi
58500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58501 $as_echo "$glibcxx_size_t_is_i" >&6; }
58502
58503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58504 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58505 ac_save_CFLAGS="$CFLAGS"
58506 CFLAGS="-Werror"
58507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58508 /* end confdefs.h. */
58509
58510 int
58511 main ()
58512 {
58513 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58514 ;
58515 return 0;
58516 }
58517 _ACEOF
58518 if ac_fn_c_try_compile "$LINENO"; then :
58519 glibcxx_ptrdiff_t_is_i=yes
58520 else
58521 glibcxx_ptrdiff_t_is_i=no
58522 fi
58523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58524 CFLAGS=$ac_save_CFLAGS
58525 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58526
58527 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58528
58529 fi
58530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58531 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58532
58533
58534 # Check whether --enable-visibility was given.
58535 if test "${enable_visibility+set}" = set; then :
58536 enableval=$enable_visibility;
58537 case "$enableval" in
58538 yes|no) ;;
58539 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58540 esac
58541
58542 else
58543 enable_visibility=yes
58544 fi
58545
58546
58547
58548 if test x$enable_visibility = xyes ; then
58549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58550 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58551 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58552 $as_echo_n "(cached) " >&6
58553 else
58554
58555 save_CFLAGS="$CFLAGS"
58556 CFLAGS="$CFLAGS -Werror"
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 void __attribute__((visibility("hidden"))) foo(void) { }
58560 int
58561 main ()
58562 {
58563
58564 ;
58565 return 0;
58566 }
58567 _ACEOF
58568 if ac_fn_c_try_compile "$LINENO"; then :
58569 glibcxx_cv_have_attribute_visibility=yes
58570 else
58571 glibcxx_cv_have_attribute_visibility=no
58572 fi
58573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58574 CFLAGS="$save_CFLAGS"
58575 fi
58576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58577 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58578 if test $glibcxx_cv_have_attribute_visibility = no; then
58579 enable_visibility=no
58580 fi
58581 fi
58582
58583
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58585 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58586
58587
58588 ac_ldbl_compat=no
58589 case "$target" in
58590 powerpc*-*-linux* | \
58591 powerpc*-*-gnu* | \
58592 sparc*-*-linux* | \
58593 s390*-*-linux* | \
58594 alpha*-*-linux*)
58595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58596 /* end confdefs.h. */
58597
58598 int
58599 main ()
58600 {
58601
58602 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58603 #error no need for long double compatibility
58604 #endif
58605
58606 ;
58607 return 0;
58608 }
58609 _ACEOF
58610 if ac_fn_c_try_compile "$LINENO"; then :
58611 ac_ldbl_compat=yes
58612 else
58613 ac_ldbl_compat=no
58614 fi
58615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58616 if test "$ac_ldbl_compat" = yes; then
58617
58618 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58619
58620 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58621 fi
58622 esac
58623
58624
58625 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58626
58627 if $GLIBCXX_IS_NATIVE ; then
58628 # Do checks for resource limit functions.
58629
58630 setrlimit_have_headers=yes
58631 for ac_header in unistd.h sys/time.h sys/resource.h
58632 do :
58633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58634 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58635 eval as_val=\$$as_ac_Header
58636 if test "x$as_val" = x""yes; then :
58637 cat >>confdefs.h <<_ACEOF
58638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58639 _ACEOF
58640
58641 else
58642 setrlimit_have_headers=no
58643 fi
58644
58645 done
58646
58647 # If don't have the headers, then we can't run the tests now, and we
58648 # won't be seeing any of these during testsuite compilation.
58649 if test $setrlimit_have_headers = yes; then
58650 # Can't do these in a loop, else the resulting syntax is wrong.
58651
58652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58653 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58655 /* end confdefs.h. */
58656 #include <unistd.h>
58657 #include <sys/time.h>
58658 #include <sys/resource.h>
58659
58660 int
58661 main ()
58662 {
58663 int f = RLIMIT_DATA ;
58664 ;
58665 return 0;
58666 }
58667 _ACEOF
58668 if ac_fn_c_try_compile "$LINENO"; then :
58669 glibcxx_mresult=1
58670 else
58671 glibcxx_mresult=0
58672 fi
58673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58674
58675 cat >>confdefs.h <<_ACEOF
58676 #define HAVE_LIMIT_DATA $glibcxx_mresult
58677 _ACEOF
58678
58679 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58681 $as_echo "$res" >&6; }
58682
58683
58684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58685 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58687 /* end confdefs.h. */
58688 #include <unistd.h>
58689 #include <sys/time.h>
58690 #include <sys/resource.h>
58691
58692 int
58693 main ()
58694 {
58695 int f = RLIMIT_RSS ;
58696 ;
58697 return 0;
58698 }
58699 _ACEOF
58700 if ac_fn_c_try_compile "$LINENO"; then :
58701 glibcxx_mresult=1
58702 else
58703 glibcxx_mresult=0
58704 fi
58705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58706
58707 cat >>confdefs.h <<_ACEOF
58708 #define HAVE_LIMIT_RSS $glibcxx_mresult
58709 _ACEOF
58710
58711 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58713 $as_echo "$res" >&6; }
58714
58715
58716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58717 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58719 /* end confdefs.h. */
58720 #include <unistd.h>
58721 #include <sys/time.h>
58722 #include <sys/resource.h>
58723
58724 int
58725 main ()
58726 {
58727 int f = RLIMIT_VMEM ;
58728 ;
58729 return 0;
58730 }
58731 _ACEOF
58732 if ac_fn_c_try_compile "$LINENO"; then :
58733 glibcxx_mresult=1
58734 else
58735 glibcxx_mresult=0
58736 fi
58737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58738
58739 cat >>confdefs.h <<_ACEOF
58740 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58741 _ACEOF
58742
58743 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58745 $as_echo "$res" >&6; }
58746
58747
58748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58749 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <unistd.h>
58753 #include <sys/time.h>
58754 #include <sys/resource.h>
58755
58756 int
58757 main ()
58758 {
58759 int f = RLIMIT_AS ;
58760 ;
58761 return 0;
58762 }
58763 _ACEOF
58764 if ac_fn_c_try_compile "$LINENO"; then :
58765 glibcxx_mresult=1
58766 else
58767 glibcxx_mresult=0
58768 fi
58769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58770
58771 cat >>confdefs.h <<_ACEOF
58772 #define HAVE_LIMIT_AS $glibcxx_mresult
58773 _ACEOF
58774
58775 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58777 $as_echo "$res" >&6; }
58778
58779
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58781 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58783 /* end confdefs.h. */
58784 #include <unistd.h>
58785 #include <sys/time.h>
58786 #include <sys/resource.h>
58787
58788 int
58789 main ()
58790 {
58791 int f = RLIMIT_FSIZE ;
58792 ;
58793 return 0;
58794 }
58795 _ACEOF
58796 if ac_fn_c_try_compile "$LINENO"; then :
58797 glibcxx_mresult=1
58798 else
58799 glibcxx_mresult=0
58800 fi
58801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58802
58803 cat >>confdefs.h <<_ACEOF
58804 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58805 _ACEOF
58806
58807 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58809 $as_echo "$res" >&6; }
58810
58811
58812 # Check for rlimit, setrlimit.
58813 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58814 $as_echo_n "(cached) " >&6
58815 else
58816
58817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58818 /* end confdefs.h. */
58819 #include <unistd.h>
58820 #include <sys/time.h>
58821 #include <sys/resource.h>
58822
58823 int
58824 main ()
58825 {
58826 struct rlimit r;
58827 setrlimit(0, &r);
58828 ;
58829 return 0;
58830 }
58831 _ACEOF
58832 if ac_fn_c_try_compile "$LINENO"; then :
58833 glibcxx_cv_setrlimit=yes
58834 else
58835 glibcxx_cv_setrlimit=no
58836 fi
58837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58838
58839 fi
58840
58841 fi
58842
58843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58844 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58845 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58846 ac_res_limits=yes
58847
58848 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58849
58850 else
58851 ac_res_limits=no
58852 fi
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58854 $as_echo "$ac_res_limits" >&6; }
58855
58856
58857 # Look for setenv, so that extended locale tests can be performed.
58858
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58860 $as_echo_n "checking for setenv declaration... " >&6; }
58861 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58862 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58863 $as_echo_n "(cached) " >&6
58864 else
58865
58866
58867 ac_ext=cpp
58868 ac_cpp='$CXXCPP $CPPFLAGS'
58869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58872
58873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58874 /* end confdefs.h. */
58875 #include <stdlib.h>
58876 int
58877 main ()
58878 {
58879 setenv(0, 0, 0);
58880 ;
58881 return 0;
58882 }
58883 _ACEOF
58884 if ac_fn_cxx_try_compile "$LINENO"; then :
58885 glibcxx_cv_func_setenv_use=yes
58886 else
58887 glibcxx_cv_func_setenv_use=no
58888 fi
58889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58890 ac_ext=c
58891 ac_cpp='$CPP $CPPFLAGS'
58892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58895
58896
58897 fi
58898
58899 fi
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58901 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58902 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58903 for ac_func in setenv
58904 do :
58905 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58906 if test "x$ac_cv_func_setenv" = x""yes; then :
58907 cat >>confdefs.h <<_ACEOF
58908 #define HAVE_SETENV 1
58909 _ACEOF
58910
58911 fi
58912 done
58913
58914 fi
58915
58916 fi
58917
58918 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58919 test $enable_symvers != no; then
58920 case "$host" in
58921 *-*-cygwin*)
58922 enable_abi_check=no ;;
58923 *)
58924 enable_abi_check=yes ;;
58925 esac
58926 else
58927 # Only build this as native, since automake does not understand
58928 # CXX_FOR_BUILD.
58929 enable_abi_check=no
58930 fi
58931
58932 # Export file names for ABI checking.
58933 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58934
58935
58936
58937 # Propagate the target-specific source directories through the build chain.
58938 ATOMICITY_SRCDIR=config/${atomicity_dir}
58939 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58940 ATOMIC_FLAGS=${atomic_flags}
58941 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58942 OS_INC_SRCDIR=config/${os_include_dir}
58943 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58944 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58945
58946
58947
58948
58949
58950
58951
58952
58953
58954 # Determine cross-compile flags and AM_CONDITIONALs.
58955 #AC_SUBST(GLIBCXX_IS_NATIVE)
58956 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58957 if test $is_hosted = yes; then
58958 GLIBCXX_HOSTED_TRUE=
58959 GLIBCXX_HOSTED_FALSE='#'
58960 else
58961 GLIBCXX_HOSTED_TRUE='#'
58962 GLIBCXX_HOSTED_FALSE=
58963 fi
58964
58965
58966 if test $enable_libstdcxx_pch = yes; then
58967 GLIBCXX_BUILD_PCH_TRUE=
58968 GLIBCXX_BUILD_PCH_FALSE='#'
58969 else
58970 GLIBCXX_BUILD_PCH_TRUE='#'
58971 GLIBCXX_BUILD_PCH_FALSE=
58972 fi
58973
58974
58975 if test $enable_cheaders = c; then
58976 GLIBCXX_C_HEADERS_C_TRUE=
58977 GLIBCXX_C_HEADERS_C_FALSE='#'
58978 else
58979 GLIBCXX_C_HEADERS_C_TRUE='#'
58980 GLIBCXX_C_HEADERS_C_FALSE=
58981 fi
58982
58983
58984 if test $enable_cheaders = c_std; then
58985 GLIBCXX_C_HEADERS_C_STD_TRUE=
58986 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58987 else
58988 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58989 GLIBCXX_C_HEADERS_C_STD_FALSE=
58990 fi
58991
58992
58993 if test $enable_cheaders = c_global; then
58994 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58995 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58996 else
58997 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58998 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58999 fi
59000
59001
59002 if test $c_compatibility = yes; then
59003 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
59004 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
59005 else
59006 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
59007 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
59008 fi
59009
59010
59011 if test $enable_libstdcxx_debug = yes; then
59012 GLIBCXX_BUILD_DEBUG_TRUE=
59013 GLIBCXX_BUILD_DEBUG_FALSE='#'
59014 else
59015 GLIBCXX_BUILD_DEBUG_TRUE='#'
59016 GLIBCXX_BUILD_DEBUG_FALSE=
59017 fi
59018
59019
59020 if test $enable_parallel = yes; then
59021 ENABLE_PARALLEL_TRUE=
59022 ENABLE_PARALLEL_FALSE='#'
59023 else
59024 ENABLE_PARALLEL_TRUE='#'
59025 ENABLE_PARALLEL_FALSE=
59026 fi
59027
59028
59029 if test $enable_symvers != no; then
59030 ENABLE_SYMVERS_TRUE=
59031 ENABLE_SYMVERS_FALSE='#'
59032 else
59033 ENABLE_SYMVERS_TRUE='#'
59034 ENABLE_SYMVERS_FALSE=
59035 fi
59036
59037
59038 if test $enable_symvers = gnu; then
59039 ENABLE_SYMVERS_GNU_TRUE=
59040 ENABLE_SYMVERS_GNU_FALSE='#'
59041 else
59042 ENABLE_SYMVERS_GNU_TRUE='#'
59043 ENABLE_SYMVERS_GNU_FALSE=
59044 fi
59045
59046
59047 if test $enable_symvers = gnu-versioned-namespace; then
59048 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
59049 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
59050 else
59051 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
59052 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
59053 fi
59054
59055
59056 if test $enable_symvers = darwin; then
59057 ENABLE_SYMVERS_DARWIN_TRUE=
59058 ENABLE_SYMVERS_DARWIN_FALSE='#'
59059 else
59060 ENABLE_SYMVERS_DARWIN_TRUE='#'
59061 ENABLE_SYMVERS_DARWIN_FALSE=
59062 fi
59063
59064
59065 if test $enable_symvers = sun; then
59066 ENABLE_SYMVERS_SUN_TRUE=
59067 ENABLE_SYMVERS_SUN_FALSE='#'
59068 else
59069 ENABLE_SYMVERS_SUN_TRUE='#'
59070 ENABLE_SYMVERS_SUN_FALSE=
59071 fi
59072
59073
59074 if test $symvers_renaming = no; then
59075 ENABLE_SYMVERS_SOL2_TRUE=
59076 ENABLE_SYMVERS_SOL2_FALSE='#'
59077 else
59078 ENABLE_SYMVERS_SOL2_TRUE='#'
59079 ENABLE_SYMVERS_SOL2_FALSE=
59080 fi
59081
59082
59083 if test $enable_visibility = yes; then
59084 ENABLE_VISIBILITY_TRUE=
59085 ENABLE_VISIBILITY_FALSE='#'
59086 else
59087 ENABLE_VISIBILITY_TRUE='#'
59088 ENABLE_VISIBILITY_FALSE=
59089 fi
59090
59091
59092 if test $ac_ldbl_compat = yes; then
59093 GLIBCXX_LDBL_COMPAT_TRUE=
59094 GLIBCXX_LDBL_COMPAT_FALSE='#'
59095 else
59096 GLIBCXX_LDBL_COMPAT_TRUE='#'
59097 GLIBCXX_LDBL_COMPAT_FALSE=
59098 fi
59099
59100
59101
59102
59103 cat >confcache <<\_ACEOF
59104 # This file is a shell script that caches the results of configure
59105 # tests run on this system so they can be shared between configure
59106 # scripts and configure runs, see configure's option --config-cache.
59107 # It is not useful on other systems. If it contains results you don't
59108 # want to keep, you may remove or edit it.
59109 #
59110 # config.status only pays attention to the cache file if you give it
59111 # the --recheck option to rerun configure.
59112 #
59113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59115 # following values.
59116
59117 _ACEOF
59118
59119 # The following way of writing the cache mishandles newlines in values,
59120 # but we know of no workaround that is simple, portable, and efficient.
59121 # So, we kill variables containing newlines.
59122 # Ultrix sh set writes to stderr and can't be redirected directly,
59123 # and sets the high bit in the cache file unless we assign to the vars.
59124 (
59125 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59126 eval ac_val=\$$ac_var
59127 case $ac_val in #(
59128 *${as_nl}*)
59129 case $ac_var in #(
59130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59132 esac
59133 case $ac_var in #(
59134 _ | IFS | as_nl) ;; #(
59135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59136 *) { eval $ac_var=; unset $ac_var;} ;;
59137 esac ;;
59138 esac
59139 done
59140
59141 (set) 2>&1 |
59142 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59143 *${as_nl}ac_space=\ *)
59144 # `set' does not quote correctly, so add quotes: double-quote
59145 # substitution turns \\\\ into \\, and sed turns \\ into \.
59146 sed -n \
59147 "s/'/'\\\\''/g;
59148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59149 ;; #(
59150 *)
59151 # `set' quotes correctly as required by POSIX, so do not add quotes.
59152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59153 ;;
59154 esac |
59155 sort
59156 ) |
59157 sed '
59158 /^ac_cv_env_/b end
59159 t clear
59160 :clear
59161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59162 t end
59163 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59164 :end' >>confcache
59165 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59166 if test -w "$cache_file"; then
59167 test "x$cache_file" != "x/dev/null" &&
59168 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59169 $as_echo "$as_me: updating cache $cache_file" >&6;}
59170 cat confcache >$cache_file
59171 else
59172 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59173 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59174 fi
59175 fi
59176 rm -f confcache
59177
59178 if test ${multilib} = yes; then
59179 multilib_arg="--enable-multilib"
59180 else
59181 multilib_arg=
59182 fi
59183
59184 # Export all the install information.
59185
59186 glibcxx_toolexecdir=no
59187 glibcxx_toolexeclibdir=no
59188 glibcxx_prefixdir=$prefix
59189
59190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59191 $as_echo_n "checking for gxx-include-dir... " >&6; }
59192
59193 # Check whether --with-gxx-include-dir was given.
59194 if test "${with_gxx_include_dir+set}" = set; then :
59195 withval=$with_gxx_include_dir; case "$withval" in
59196 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59197 no) gxx_include_dir=no ;;
59198 *) gxx_include_dir=$withval ;;
59199 esac
59200 else
59201 gxx_include_dir=no
59202 fi
59203
59204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59205 $as_echo "$gxx_include_dir" >&6; }
59206
59207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59208 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59209 # Check whether --enable-version-specific-runtime-libs was given.
59210 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59211 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59212 yes) version_specific_libs=yes ;;
59213 no) version_specific_libs=no ;;
59214 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59215 esac
59216 else
59217 version_specific_libs=no
59218 fi
59219
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59221 $as_echo "$version_specific_libs" >&6; }
59222
59223 # Default case for install directory for include files.
59224 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59225 gxx_include_dir='include/c++/${gcc_version}'
59226 if test -n "$with_cross_host" &&
59227 test x"$with_cross_host" != x"no"; then
59228 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59229 else
59230 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59231 fi
59232 fi
59233
59234 # Version-specific runtime libs processing.
59235 if test $version_specific_libs = yes; then
59236 # Need the gcc compiler version to know where to install libraries
59237 # and header files if --enable-version-specific-runtime-libs option
59238 # is selected. FIXME: these variables are misnamed, there are
59239 # no executables installed in _toolexecdir or _toolexeclibdir.
59240 if test x"$gxx_include_dir" = x"no"; then
59241 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59242 fi
59243 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59244 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59245 fi
59246
59247 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59248 # Install a library built with a cross compiler in tooldir, not libdir.
59249 if test x"$glibcxx_toolexecdir" = x"no"; then
59250 if test -n "$with_cross_host" &&
59251 test x"$with_cross_host" != x"no"; then
59252 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59253 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59254 else
59255 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59256 glibcxx_toolexeclibdir='${libdir}'
59257 fi
59258 multi_os_directory=`$CXX -print-multi-os-directory`
59259 case $multi_os_directory in
59260 .) ;; # Avoid trailing /.
59261 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59262 esac
59263 fi
59264
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59266 $as_echo_n "checking for install location... " >&6; }
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59268 $as_echo "$gxx_include_dir" >&6; }
59269
59270
59271
59272
59273
59274
59275
59276 # Export all the include and flag information to Makefiles.
59277
59278 # Used for every C++ compile we perform.
59279 GLIBCXX_INCLUDES="\
59280 -I$glibcxx_builddir/include/$host_alias \
59281 -I$glibcxx_builddir/include \
59282 -I$glibcxx_srcdir/libsupc++"
59283
59284 # For Canadian crosses, pick this up too.
59285 if test $CANADIAN = yes; then
59286 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59287 fi
59288
59289 # Stuff in the actual top level. Currently only used by libsupc++ to
59290 # get unwind* headers from the gcc dir.
59291 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59292 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59293
59294 # Now, export this to all the little Makefiles....
59295
59296
59297
59298
59299 # Optimization flags that are probably a good idea for thrill-seekers. Just
59300 # uncomment the lines below and make, everything else is ready to go...
59301 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59302 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59303
59304
59305 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59306
59307
59308
59309 if test "$enable_shared" = yes; then
59310 LIBSUPCXX_PICFLAGS="-prefer-pic"
59311 else
59312 LIBSUPCXX_PICFLAGS=
59313 fi
59314
59315
59316 ac_config_files="$ac_config_files Makefile"
59317
59318 ac_config_files="$ac_config_files scripts/testsuite_flags"
59319
59320 ac_config_files="$ac_config_files scripts/extract_symvers"
59321
59322
59323 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59324 # that multilib installs will end up installed in the correct place.
59325 # The testsuite needs it for multilib-aware ABI baseline files.
59326 # To work around this not being passed down from config-ml.in ->
59327 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59328 # append it here. Only modify Makefiles that have just been created.
59329 #
59330 # Also, get rid of this simulated-VPATH thing that automake does.
59331 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59332
59333
59334 ac_config_commands="$ac_config_commands generate-headers"
59335
59336
59337 cat >confcache <<\_ACEOF
59338 # This file is a shell script that caches the results of configure
59339 # tests run on this system so they can be shared between configure
59340 # scripts and configure runs, see configure's option --config-cache.
59341 # It is not useful on other systems. If it contains results you don't
59342 # want to keep, you may remove or edit it.
59343 #
59344 # config.status only pays attention to the cache file if you give it
59345 # the --recheck option to rerun configure.
59346 #
59347 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59348 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59349 # following values.
59350
59351 _ACEOF
59352
59353 # The following way of writing the cache mishandles newlines in values,
59354 # but we know of no workaround that is simple, portable, and efficient.
59355 # So, we kill variables containing newlines.
59356 # Ultrix sh set writes to stderr and can't be redirected directly,
59357 # and sets the high bit in the cache file unless we assign to the vars.
59358 (
59359 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59360 eval ac_val=\$$ac_var
59361 case $ac_val in #(
59362 *${as_nl}*)
59363 case $ac_var in #(
59364 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59365 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59366 esac
59367 case $ac_var in #(
59368 _ | IFS | as_nl) ;; #(
59369 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59370 *) { eval $ac_var=; unset $ac_var;} ;;
59371 esac ;;
59372 esac
59373 done
59374
59375 (set) 2>&1 |
59376 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59377 *${as_nl}ac_space=\ *)
59378 # `set' does not quote correctly, so add quotes: double-quote
59379 # substitution turns \\\\ into \\, and sed turns \\ into \.
59380 sed -n \
59381 "s/'/'\\\\''/g;
59382 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59383 ;; #(
59384 *)
59385 # `set' quotes correctly as required by POSIX, so do not add quotes.
59386 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59387 ;;
59388 esac |
59389 sort
59390 ) |
59391 sed '
59392 /^ac_cv_env_/b end
59393 t clear
59394 :clear
59395 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59396 t end
59397 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59398 :end' >>confcache
59399 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59400 if test -w "$cache_file"; then
59401 test "x$cache_file" != "x/dev/null" &&
59402 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59403 $as_echo "$as_me: updating cache $cache_file" >&6;}
59404 cat confcache >$cache_file
59405 else
59406 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59407 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59408 fi
59409 fi
59410 rm -f confcache
59411
59412 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59413 # Let make expand exec_prefix.
59414 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59415
59416 DEFS=-DHAVE_CONFIG_H
59417
59418 ac_libobjs=
59419 ac_ltlibobjs=
59420 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59421 # 1. Remove the extension, and $U if already installed.
59422 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59423 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59424 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59425 # will be set to the directory where LIBOBJS objects are built.
59426 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59427 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59428 done
59429 LIBOBJS=$ac_libobjs
59430
59431 LTLIBOBJS=$ac_ltlibobjs
59432
59433
59434 if test -n "$EXEEXT"; then
59435 am__EXEEXT_TRUE=
59436 am__EXEEXT_FALSE='#'
59437 else
59438 am__EXEEXT_TRUE='#'
59439 am__EXEEXT_FALSE=
59440 fi
59441
59442 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59443 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59445 fi
59446 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59447 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59449 fi
59450 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59451 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59453 fi
59454 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59455 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59457 fi
59458 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59459 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59461 fi
59462 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59463 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59465 fi
59466 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59467 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59469 fi
59470 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59471 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59473 fi
59474 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59475 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59477 fi
59478 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59479 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59481 fi
59482 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59483 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59485 fi
59486 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59487 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59489 fi
59490 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59491 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59493 fi
59494 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
59495 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
59496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59497 fi
59498 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
59499 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
59500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59501 fi
59502 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59503 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59505 fi
59506 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59507 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59509 fi
59510
59511 : ${CONFIG_STATUS=./config.status}
59512 ac_write_fail=0
59513 ac_clean_files_save=$ac_clean_files
59514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59517 as_write_fail=0
59518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59519 #! $SHELL
59520 # Generated by $as_me.
59521 # Run this file to recreate the current configuration.
59522 # Compiler output produced by configure, useful for debugging
59523 # configure, is in config.log if it exists.
59524
59525 debug=false
59526 ac_cs_recheck=false
59527 ac_cs_silent=false
59528
59529 SHELL=\${CONFIG_SHELL-$SHELL}
59530 export SHELL
59531 _ASEOF
59532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59533 ## -------------------- ##
59534 ## M4sh Initialization. ##
59535 ## -------------------- ##
59536
59537 # Be more Bourne compatible
59538 DUALCASE=1; export DUALCASE # for MKS sh
59539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59540 emulate sh
59541 NULLCMD=:
59542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59543 # is contrary to our usage. Disable this feature.
59544 alias -g '${1+"$@"}'='"$@"'
59545 setopt NO_GLOB_SUBST
59546 else
59547 case `(set -o) 2>/dev/null` in #(
59548 *posix*) :
59549 set -o posix ;; #(
59550 *) :
59551 ;;
59552 esac
59553 fi
59554
59555
59556 as_nl='
59557 '
59558 export as_nl
59559 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59560 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59563 # Prefer a ksh shell builtin over an external printf program on Solaris,
59564 # but without wasting forks for bash or zsh.
59565 if test -z "$BASH_VERSION$ZSH_VERSION" \
59566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59567 as_echo='print -r --'
59568 as_echo_n='print -rn --'
59569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59570 as_echo='printf %s\n'
59571 as_echo_n='printf %s'
59572 else
59573 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59574 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59575 as_echo_n='/usr/ucb/echo -n'
59576 else
59577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59578 as_echo_n_body='eval
59579 arg=$1;
59580 case $arg in #(
59581 *"$as_nl"*)
59582 expr "X$arg" : "X\\(.*\\)$as_nl";
59583 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59584 esac;
59585 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59586 '
59587 export as_echo_n_body
59588 as_echo_n='sh -c $as_echo_n_body as_echo'
59589 fi
59590 export as_echo_body
59591 as_echo='sh -c $as_echo_body as_echo'
59592 fi
59593
59594 # The user is always right.
59595 if test "${PATH_SEPARATOR+set}" != set; then
59596 PATH_SEPARATOR=:
59597 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59598 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59599 PATH_SEPARATOR=';'
59600 }
59601 fi
59602
59603
59604 # IFS
59605 # We need space, tab and new line, in precisely that order. Quoting is
59606 # there to prevent editors from complaining about space-tab.
59607 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59608 # splitting by setting IFS to empty value.)
59609 IFS=" "" $as_nl"
59610
59611 # Find who we are. Look in the path if we contain no directory separator.
59612 case $0 in #((
59613 *[\\/]* ) as_myself=$0 ;;
59614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59615 for as_dir in $PATH
59616 do
59617 IFS=$as_save_IFS
59618 test -z "$as_dir" && as_dir=.
59619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59620 done
59621 IFS=$as_save_IFS
59622
59623 ;;
59624 esac
59625 # We did not find ourselves, most probably we were run as `sh COMMAND'
59626 # in which case we are not to be found in the path.
59627 if test "x$as_myself" = x; then
59628 as_myself=$0
59629 fi
59630 if test ! -f "$as_myself"; then
59631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59632 exit 1
59633 fi
59634
59635 # Unset variables that we do not need and which cause bugs (e.g. in
59636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59637 # suppresses any "Segmentation fault" message there. '((' could
59638 # trigger a bug in pdksh 5.2.14.
59639 for as_var in BASH_ENV ENV MAIL MAILPATH
59640 do eval test x\${$as_var+set} = xset \
59641 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59642 done
59643 PS1='$ '
59644 PS2='> '
59645 PS4='+ '
59646
59647 # NLS nuisances.
59648 LC_ALL=C
59649 export LC_ALL
59650 LANGUAGE=C
59651 export LANGUAGE
59652
59653 # CDPATH.
59654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59655
59656
59657 # as_fn_error ERROR [LINENO LOG_FD]
59658 # ---------------------------------
59659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59661 # script with status $?, using 1 if that was 0.
59662 as_fn_error ()
59663 {
59664 as_status=$?; test $as_status -eq 0 && as_status=1
59665 if test "$3"; then
59666 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59668 fi
59669 $as_echo "$as_me: error: $1" >&2
59670 as_fn_exit $as_status
59671 } # as_fn_error
59672
59673
59674 # as_fn_set_status STATUS
59675 # -----------------------
59676 # Set $? to STATUS, without forking.
59677 as_fn_set_status ()
59678 {
59679 return $1
59680 } # as_fn_set_status
59681
59682 # as_fn_exit STATUS
59683 # -----------------
59684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59685 as_fn_exit ()
59686 {
59687 set +e
59688 as_fn_set_status $1
59689 exit $1
59690 } # as_fn_exit
59691
59692 # as_fn_unset VAR
59693 # ---------------
59694 # Portably unset VAR.
59695 as_fn_unset ()
59696 {
59697 { eval $1=; unset $1;}
59698 }
59699 as_unset=as_fn_unset
59700 # as_fn_append VAR VALUE
59701 # ----------------------
59702 # Append the text in VALUE to the end of the definition contained in VAR. Take
59703 # advantage of any shell optimizations that allow amortized linear growth over
59704 # repeated appends, instead of the typical quadratic growth present in naive
59705 # implementations.
59706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59707 eval 'as_fn_append ()
59708 {
59709 eval $1+=\$2
59710 }'
59711 else
59712 as_fn_append ()
59713 {
59714 eval $1=\$$1\$2
59715 }
59716 fi # as_fn_append
59717
59718 # as_fn_arith ARG...
59719 # ------------------
59720 # Perform arithmetic evaluation on the ARGs, and store the result in the
59721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59722 # must be portable across $(()) and expr.
59723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59724 eval 'as_fn_arith ()
59725 {
59726 as_val=$(( $* ))
59727 }'
59728 else
59729 as_fn_arith ()
59730 {
59731 as_val=`expr "$@" || test $? -eq 1`
59732 }
59733 fi # as_fn_arith
59734
59735
59736 if expr a : '\(a\)' >/dev/null 2>&1 &&
59737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59738 as_expr=expr
59739 else
59740 as_expr=false
59741 fi
59742
59743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59744 as_basename=basename
59745 else
59746 as_basename=false
59747 fi
59748
59749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59750 as_dirname=dirname
59751 else
59752 as_dirname=false
59753 fi
59754
59755 as_me=`$as_basename -- "$0" ||
59756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59757 X"$0" : 'X\(//\)$' \| \
59758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59759 $as_echo X/"$0" |
59760 sed '/^.*\/\([^/][^/]*\)\/*$/{
59761 s//\1/
59762 q
59763 }
59764 /^X\/\(\/\/\)$/{
59765 s//\1/
59766 q
59767 }
59768 /^X\/\(\/\).*/{
59769 s//\1/
59770 q
59771 }
59772 s/.*/./; q'`
59773
59774 # Avoid depending upon Character Ranges.
59775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59778 as_cr_digits='0123456789'
59779 as_cr_alnum=$as_cr_Letters$as_cr_digits
59780
59781 ECHO_C= ECHO_N= ECHO_T=
59782 case `echo -n x` in #(((((
59783 -n*)
59784 case `echo 'xy\c'` in
59785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59786 xy) ECHO_C='\c';;
59787 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59788 ECHO_T=' ';;
59789 esac;;
59790 *)
59791 ECHO_N='-n';;
59792 esac
59793
59794 rm -f conf$$ conf$$.exe conf$$.file
59795 if test -d conf$$.dir; then
59796 rm -f conf$$.dir/conf$$.file
59797 else
59798 rm -f conf$$.dir
59799 mkdir conf$$.dir 2>/dev/null
59800 fi
59801 if (echo >conf$$.file) 2>/dev/null; then
59802 if ln -s conf$$.file conf$$ 2>/dev/null; then
59803 as_ln_s='ln -s'
59804 # ... but there are two gotchas:
59805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59807 # In both cases, we have to default to `cp -p'.
59808 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59809 as_ln_s='cp -p'
59810 elif ln conf$$.file conf$$ 2>/dev/null; then
59811 as_ln_s=ln
59812 else
59813 as_ln_s='cp -p'
59814 fi
59815 else
59816 as_ln_s='cp -p'
59817 fi
59818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59819 rmdir conf$$.dir 2>/dev/null
59820
59821
59822 # as_fn_mkdir_p
59823 # -------------
59824 # Create "$as_dir" as a directory, including parents if necessary.
59825 as_fn_mkdir_p ()
59826 {
59827
59828 case $as_dir in #(
59829 -*) as_dir=./$as_dir;;
59830 esac
59831 test -d "$as_dir" || eval $as_mkdir_p || {
59832 as_dirs=
59833 while :; do
59834 case $as_dir in #(
59835 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59836 *) as_qdir=$as_dir;;
59837 esac
59838 as_dirs="'$as_qdir' $as_dirs"
59839 as_dir=`$as_dirname -- "$as_dir" ||
59840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59841 X"$as_dir" : 'X\(//\)[^/]' \| \
59842 X"$as_dir" : 'X\(//\)$' \| \
59843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59844 $as_echo X"$as_dir" |
59845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59846 s//\1/
59847 q
59848 }
59849 /^X\(\/\/\)[^/].*/{
59850 s//\1/
59851 q
59852 }
59853 /^X\(\/\/\)$/{
59854 s//\1/
59855 q
59856 }
59857 /^X\(\/\).*/{
59858 s//\1/
59859 q
59860 }
59861 s/.*/./; q'`
59862 test -d "$as_dir" && break
59863 done
59864 test -z "$as_dirs" || eval "mkdir $as_dirs"
59865 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59866
59867
59868 } # as_fn_mkdir_p
59869 if mkdir -p . 2>/dev/null; then
59870 as_mkdir_p='mkdir -p "$as_dir"'
59871 else
59872 test -d ./-p && rmdir ./-p
59873 as_mkdir_p=false
59874 fi
59875
59876 if test -x / >/dev/null 2>&1; then
59877 as_test_x='test -x'
59878 else
59879 if ls -dL / >/dev/null 2>&1; then
59880 as_ls_L_option=L
59881 else
59882 as_ls_L_option=
59883 fi
59884 as_test_x='
59885 eval sh -c '\''
59886 if test -d "$1"; then
59887 test -d "$1/.";
59888 else
59889 case $1 in #(
59890 -*)set "./$1";;
59891 esac;
59892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59893 ???[sx]*):;;*)false;;esac;fi
59894 '\'' sh
59895 '
59896 fi
59897 as_executable_p=$as_test_x
59898
59899 # Sed expression to map a string onto a valid CPP name.
59900 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59901
59902 # Sed expression to map a string onto a valid variable name.
59903 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59904
59905
59906 exec 6>&1
59907 ## ----------------------------------- ##
59908 ## Main body of $CONFIG_STATUS script. ##
59909 ## ----------------------------------- ##
59910 _ASEOF
59911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59912
59913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59914 # Save the log message, to keep $0 and so on meaningful, and to
59915 # report actual input values of CONFIG_FILES etc. instead of their
59916 # values after options handling.
59917 ac_log="
59918 This file was extended by package-unused $as_me version-unused, which was
59919 generated by GNU Autoconf 2.64. Invocation command line was
59920
59921 CONFIG_FILES = $CONFIG_FILES
59922 CONFIG_HEADERS = $CONFIG_HEADERS
59923 CONFIG_LINKS = $CONFIG_LINKS
59924 CONFIG_COMMANDS = $CONFIG_COMMANDS
59925 $ $0 $@
59926
59927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59928 "
59929
59930 _ACEOF
59931
59932 case $ac_config_files in *"
59933 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59934 esac
59935
59936 case $ac_config_headers in *"
59937 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59938 esac
59939
59940
59941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59942 # Files that config.status was made for.
59943 config_files="$ac_config_files"
59944 config_headers="$ac_config_headers"
59945 config_commands="$ac_config_commands"
59946
59947 _ACEOF
59948
59949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59950 ac_cs_usage="\
59951 \`$as_me' instantiates files and other configuration actions
59952 from templates according to the current configuration. Unless the files
59953 and actions are specified as TAGs, all are instantiated by default.
59954
59955 Usage: $0 [OPTION]... [TAG]...
59956
59957 -h, --help print this help, then exit
59958 -V, --version print version number and configuration settings, then exit
59959 -q, --quiet, --silent
59960 do not print progress messages
59961 -d, --debug don't remove temporary files
59962 --recheck update $as_me by reconfiguring in the same conditions
59963 --file=FILE[:TEMPLATE]
59964 instantiate the configuration file FILE
59965 --header=FILE[:TEMPLATE]
59966 instantiate the configuration header FILE
59967
59968 Configuration files:
59969 $config_files
59970
59971 Configuration headers:
59972 $config_headers
59973
59974 Configuration commands:
59975 $config_commands
59976
59977 Report bugs to the package provider."
59978
59979 _ACEOF
59980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59981 ac_cs_version="\\
59982 package-unused config.status version-unused
59983 configured by $0, generated by GNU Autoconf 2.64,
59984 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59985
59986 Copyright (C) 2009 Free Software Foundation, Inc.
59987 This config.status script is free software; the Free Software Foundation
59988 gives unlimited permission to copy, distribute and modify it."
59989
59990 ac_pwd='$ac_pwd'
59991 srcdir='$srcdir'
59992 INSTALL='$INSTALL'
59993 MKDIR_P='$MKDIR_P'
59994 AWK='$AWK'
59995 test -n "\$AWK" || AWK=awk
59996 _ACEOF
59997
59998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59999 # The default lists apply if the user does not specify any file.
60000 ac_need_defaults=:
60001 while test $# != 0
60002 do
60003 case $1 in
60004 --*=*)
60005 ac_option=`expr "X$1" : 'X\([^=]*\)='`
60006 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
60007 ac_shift=:
60008 ;;
60009 *)
60010 ac_option=$1
60011 ac_optarg=$2
60012 ac_shift=shift
60013 ;;
60014 esac
60015
60016 case $ac_option in
60017 # Handling of the options.
60018 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
60019 ac_cs_recheck=: ;;
60020 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60021 $as_echo "$ac_cs_version"; exit ;;
60022 --debug | --debu | --deb | --de | --d | -d )
60023 debug=: ;;
60024 --file | --fil | --fi | --f )
60025 $ac_shift
60026 case $ac_optarg in
60027 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60028 esac
60029 as_fn_append CONFIG_FILES " '$ac_optarg'"
60030 ac_need_defaults=false;;
60031 --header | --heade | --head | --hea )
60032 $ac_shift
60033 case $ac_optarg in
60034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60035 esac
60036 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60037 ac_need_defaults=false;;
60038 --he | --h)
60039 # Conflict between --help and --header
60040 as_fn_error "ambiguous option: \`$1'
60041 Try \`$0 --help' for more information.";;
60042 --help | --hel | -h )
60043 $as_echo "$ac_cs_usage"; exit ;;
60044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60045 | -silent | --silent | --silen | --sile | --sil | --si | --s)
60046 ac_cs_silent=: ;;
60047
60048 # This is an error.
60049 -*) as_fn_error "unrecognized option: \`$1'
60050 Try \`$0 --help' for more information." ;;
60051
60052 *) as_fn_append ac_config_targets " $1"
60053 ac_need_defaults=false ;;
60054
60055 esac
60056 shift
60057 done
60058
60059 ac_configure_extra_args=
60060
60061 if $ac_cs_silent; then
60062 exec 6>/dev/null
60063 ac_configure_extra_args="$ac_configure_extra_args --silent"
60064 fi
60065
60066 _ACEOF
60067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60068 if \$ac_cs_recheck; then
60069 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60070 shift
60071 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60072 CONFIG_SHELL='$SHELL'
60073 export CONFIG_SHELL
60074 exec "\$@"
60075 fi
60076
60077 _ACEOF
60078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60079 exec 5>>config.log
60080 {
60081 echo
60082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
60083 ## Running $as_me. ##
60084 _ASBOX
60085 $as_echo "$ac_log"
60086 } >&5
60087
60088 _ACEOF
60089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60090 #
60091 # INIT-COMMANDS
60092 #
60093
60094 srcdir="$srcdir"
60095 host="$host"
60096 target="$target"
60097 with_multisubdir="$with_multisubdir"
60098 with_multisrctop="$with_multisrctop"
60099 with_target_subdir="$with_target_subdir"
60100 ac_configure_args="${multilib_arg} ${ac_configure_args}"
60101 multi_basedir="$multi_basedir"
60102 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
60103 CC="$CC"
60104 CXX="$CXX"
60105 GFORTRAN="$GFORTRAN"
60106 GCJ="$GCJ"
60107
60108
60109 # The HP-UX ksh and POSIX shell print the target directory to stdout
60110 # if CDPATH is set.
60111 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60112
60113 sed_quote_subst='$sed_quote_subst'
60114 double_quote_subst='$double_quote_subst'
60115 delay_variable_subst='$delay_variable_subst'
60116 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
60117 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
60118 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
60119 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
60120 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
60121 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
60122 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
60123 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
60124 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
60125 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
60126 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
60127 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
60128 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
60129 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
60130 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
60131 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
60132 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
60133 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
60134 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
60135 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
60136 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
60137 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
60138 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
60139 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
60140 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
60141 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
60142 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60143 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60144 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60145 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60146 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60147 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60148 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60149 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60150 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60151 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60152 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60153 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60154 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60155 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60156 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60157 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60158 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60159 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60160 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60161 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60162 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60163 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60164 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"`'
60165 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60166 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60167 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60168 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60169 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60170 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60171 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60172 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60173 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60174 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60175 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60176 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60177 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60178 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60179 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60180 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60181 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60182 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60183 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60184 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60185 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60186 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60187 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60188 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60189 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60190 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60191 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60192 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60193 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60194 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60195 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60196 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60197 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60198 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60199 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60200 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60201 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60202 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60203 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60204 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60205 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60206 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60207 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60208 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60209 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60210 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60211 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60212 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60213 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60214 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60215 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60216 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60217 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60218 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60219 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60220 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60221 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60222 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60223 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60224 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60225 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60226 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60227 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60228 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60229 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60230 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60231 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60232 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60233 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60234 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60235 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60236 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60237 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60238 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60239 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60240 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60241 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60242 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60243 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60244 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60245 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60246 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60247 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60248 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60249 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60250 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60251 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60252 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60253 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60254 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60255 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60256 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60257 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60258 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60259 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60260 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60261 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60262 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60263 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60264 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60265 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60266 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60267 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60268 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60269 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60270 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60271 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60272 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60273 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60274 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60275 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60276 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60277 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60278 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60279 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60280 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60281 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60282 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60283 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60284 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60285 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60286 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60287 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60288 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60289 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60290 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60291
60292 LTCC='$LTCC'
60293 LTCFLAGS='$LTCFLAGS'
60294 compiler='$compiler_DEFAULT'
60295
60296 # A function that is used when there is no print builtin or printf.
60297 func_fallback_echo ()
60298 {
60299 eval 'cat <<_LTECHO_EOF
60300 \$1
60301 _LTECHO_EOF'
60302 }
60303
60304 # Quote evaled strings.
60305 for var in SHELL \
60306 ECHO \
60307 SED \
60308 GREP \
60309 EGREP \
60310 FGREP \
60311 LD \
60312 NM \
60313 LN_S \
60314 lt_SP2NL \
60315 lt_NL2SP \
60316 reload_flag \
60317 OBJDUMP \
60318 deplibs_check_method \
60319 file_magic_cmd \
60320 AR \
60321 AR_FLAGS \
60322 STRIP \
60323 RANLIB \
60324 CC \
60325 CFLAGS \
60326 compiler \
60327 lt_cv_sys_global_symbol_pipe \
60328 lt_cv_sys_global_symbol_to_cdecl \
60329 lt_cv_sys_global_symbol_to_c_name_address \
60330 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60331 lt_prog_compiler_no_builtin_flag \
60332 lt_prog_compiler_wl \
60333 lt_prog_compiler_pic \
60334 lt_prog_compiler_static \
60335 lt_cv_prog_compiler_c_o \
60336 need_locks \
60337 DSYMUTIL \
60338 NMEDIT \
60339 LIPO \
60340 OTOOL \
60341 OTOOL64 \
60342 shrext_cmds \
60343 export_dynamic_flag_spec \
60344 whole_archive_flag_spec \
60345 compiler_needs_object \
60346 with_gnu_ld \
60347 allow_undefined_flag \
60348 no_undefined_flag \
60349 hardcode_libdir_flag_spec \
60350 hardcode_libdir_flag_spec_ld \
60351 hardcode_libdir_separator \
60352 fix_srcfile_path \
60353 exclude_expsyms \
60354 include_expsyms \
60355 file_list_spec \
60356 variables_saved_for_relink \
60357 libname_spec \
60358 library_names_spec \
60359 soname_spec \
60360 install_override_mode \
60361 finish_eval \
60362 old_striplib \
60363 striplib \
60364 compiler_lib_search_dirs \
60365 predep_objects \
60366 postdep_objects \
60367 predeps \
60368 postdeps \
60369 compiler_lib_search_path \
60370 LD_CXX \
60371 reload_flag_CXX \
60372 compiler_CXX \
60373 lt_prog_compiler_no_builtin_flag_CXX \
60374 lt_prog_compiler_wl_CXX \
60375 lt_prog_compiler_pic_CXX \
60376 lt_prog_compiler_static_CXX \
60377 lt_cv_prog_compiler_c_o_CXX \
60378 export_dynamic_flag_spec_CXX \
60379 whole_archive_flag_spec_CXX \
60380 compiler_needs_object_CXX \
60381 with_gnu_ld_CXX \
60382 allow_undefined_flag_CXX \
60383 no_undefined_flag_CXX \
60384 hardcode_libdir_flag_spec_CXX \
60385 hardcode_libdir_flag_spec_ld_CXX \
60386 hardcode_libdir_separator_CXX \
60387 fix_srcfile_path_CXX \
60388 exclude_expsyms_CXX \
60389 include_expsyms_CXX \
60390 file_list_spec_CXX \
60391 compiler_lib_search_dirs_CXX \
60392 predep_objects_CXX \
60393 postdep_objects_CXX \
60394 predeps_CXX \
60395 postdeps_CXX \
60396 compiler_lib_search_path_CXX; do
60397 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60398 *[\\\\\\\`\\"\\\$]*)
60399 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60400 ;;
60401 *)
60402 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60403 ;;
60404 esac
60405 done
60406
60407 # Double-quote double-evaled strings.
60408 for var in reload_cmds \
60409 old_postinstall_cmds \
60410 old_postuninstall_cmds \
60411 old_archive_cmds \
60412 extract_expsyms_cmds \
60413 old_archive_from_new_cmds \
60414 old_archive_from_expsyms_cmds \
60415 archive_cmds \
60416 archive_expsym_cmds \
60417 module_cmds \
60418 module_expsym_cmds \
60419 export_symbols_cmds \
60420 prelink_cmds \
60421 postinstall_cmds \
60422 postuninstall_cmds \
60423 finish_cmds \
60424 sys_lib_search_path_spec \
60425 sys_lib_dlsearch_path_spec \
60426 reload_cmds_CXX \
60427 old_archive_cmds_CXX \
60428 old_archive_from_new_cmds_CXX \
60429 old_archive_from_expsyms_cmds_CXX \
60430 archive_cmds_CXX \
60431 archive_expsym_cmds_CXX \
60432 module_cmds_CXX \
60433 module_expsym_cmds_CXX \
60434 export_symbols_cmds_CXX \
60435 prelink_cmds_CXX; do
60436 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60437 *[\\\\\\\`\\"\\\$]*)
60438 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60439 ;;
60440 *)
60441 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60442 ;;
60443 esac
60444 done
60445
60446 ac_aux_dir='$ac_aux_dir'
60447 xsi_shell='$xsi_shell'
60448 lt_shell_append='$lt_shell_append'
60449
60450 # See if we are running on zsh, and set the options which allow our
60451 # commands through without removal of \ escapes INIT.
60452 if test -n "\${ZSH_VERSION+set}" ; then
60453 setopt NO_GLOB_SUBST
60454 fi
60455
60456
60457 PACKAGE='$PACKAGE'
60458 VERSION='$VERSION'
60459 TIMESTAMP='$TIMESTAMP'
60460 RM='$RM'
60461 ofile='$ofile'
60462
60463
60464
60465
60466
60467
60468 GCC="$GCC"
60469 CC="$CC"
60470 acx_cv_header_stdint="$acx_cv_header_stdint"
60471 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60472 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60473 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60474 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60475 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60476 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60477 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60478 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60479 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60480 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60481 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60482 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60483 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60484
60485
60486 _ACEOF
60487
60488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60489
60490 # Handling of arguments.
60491 for ac_config_target in $ac_config_targets
60492 do
60493 case $ac_config_target in
60494 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60495 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60496 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60497 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60498 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60499 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60500 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
60501 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60502 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60503 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60504 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60505 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60506 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60507 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60508 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60509
60510 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60511 esac
60512 done
60513
60514
60515 # If the user did not use the arguments to specify the items to instantiate,
60516 # then the envvar interface is used. Set only those that are not.
60517 # We use the long form for the default assignment because of an extremely
60518 # bizarre bug on SunOS 4.1.3.
60519 if $ac_need_defaults; then
60520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60523 fi
60524
60525 # Have a temporary directory for convenience. Make it in the build tree
60526 # simply because there is no reason against having it here, and in addition,
60527 # creating and moving files from /tmp can sometimes cause problems.
60528 # Hook for its removal unless debugging.
60529 # Note that there is a small window in which the directory will not be cleaned:
60530 # after its creation but before its name has been assigned to `$tmp'.
60531 $debug ||
60532 {
60533 tmp=
60534 trap 'exit_status=$?
60535 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60536 ' 0
60537 trap 'as_fn_exit 1' 1 2 13 15
60538 }
60539 # Create a (secure) tmp directory for tmp files.
60540
60541 {
60542 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60543 test -n "$tmp" && test -d "$tmp"
60544 } ||
60545 {
60546 tmp=./conf$$-$RANDOM
60547 (umask 077 && mkdir "$tmp")
60548 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60549
60550 # Set up the scripts for CONFIG_FILES section.
60551 # No need to generate them if there are no CONFIG_FILES.
60552 # This happens for instance with `./config.status config.h'.
60553 if test -n "$CONFIG_FILES"; then
60554
60555
60556 ac_cr=`echo X | tr X '\015'`
60557 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60558 # But we know of no other shell where ac_cr would be empty at this
60559 # point, so we can use a bashism as a fallback.
60560 if test "x$ac_cr" = x; then
60561 eval ac_cr=\$\'\\r\'
60562 fi
60563 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60564 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60565 ac_cs_awk_cr='\r'
60566 else
60567 ac_cs_awk_cr=$ac_cr
60568 fi
60569
60570 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60571 _ACEOF
60572
60573
60574 {
60575 echo "cat >conf$$subs.awk <<_ACEOF" &&
60576 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60577 echo "_ACEOF"
60578 } >conf$$subs.sh ||
60579 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60581 ac_delim='%!_!# '
60582 for ac_last_try in false false false false false :; do
60583 . ./conf$$subs.sh ||
60584 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60585
60586 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60587 if test $ac_delim_n = $ac_delim_num; then
60588 break
60589 elif $ac_last_try; then
60590 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60591 else
60592 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60593 fi
60594 done
60595 rm -f conf$$subs.sh
60596
60597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60598 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60599 _ACEOF
60600 sed -n '
60601 h
60602 s/^/S["/; s/!.*/"]=/
60603 p
60604 g
60605 s/^[^!]*!//
60606 :repl
60607 t repl
60608 s/'"$ac_delim"'$//
60609 t delim
60610 :nl
60611 h
60612 s/\(.\{148\}\).*/\1/
60613 t more1
60614 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60615 p
60616 n
60617 b repl
60618 :more1
60619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60620 p
60621 g
60622 s/.\{148\}//
60623 t nl
60624 :delim
60625 h
60626 s/\(.\{148\}\).*/\1/
60627 t more2
60628 s/["\\]/\\&/g; s/^/"/; s/$/"/
60629 p
60630 b
60631 :more2
60632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60633 p
60634 g
60635 s/.\{148\}//
60636 t delim
60637 ' <conf$$subs.awk | sed '
60638 /^[^""]/{
60639 N
60640 s/\n//
60641 }
60642 ' >>$CONFIG_STATUS || ac_write_fail=1
60643 rm -f conf$$subs.awk
60644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60645 _ACAWK
60646 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60647 for (key in S) S_is_set[key] = 1
60648 FS = "\a"
60649
60650 }
60651 {
60652 line = $ 0
60653 nfields = split(line, field, "@")
60654 substed = 0
60655 len = length(field[1])
60656 for (i = 2; i < nfields; i++) {
60657 key = field[i]
60658 keylen = length(key)
60659 if (S_is_set[key]) {
60660 value = S[key]
60661 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60662 len += length(value) + length(field[++i])
60663 substed = 1
60664 } else
60665 len += 1 + keylen
60666 }
60667
60668 print line
60669 }
60670
60671 _ACAWK
60672 _ACEOF
60673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60674 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60675 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60676 else
60677 cat
60678 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60679 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60680 _ACEOF
60681
60682 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60683 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60684 # trailing colons and then remove the whole line if VPATH becomes empty
60685 # (actually we leave an empty line to preserve line numbers).
60686 if test "x$srcdir" = x.; then
60687 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60688 s/:*\$(srcdir):*/:/
60689 s/:*\${srcdir}:*/:/
60690 s/:*@srcdir@:*/:/
60691 s/^\([^=]*=[ ]*\):*/\1/
60692 s/:*$//
60693 s/^[^=]*=[ ]*$//
60694 }'
60695 fi
60696
60697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60698 fi # test -n "$CONFIG_FILES"
60699
60700 # Set up the scripts for CONFIG_HEADERS section.
60701 # No need to generate them if there are no CONFIG_HEADERS.
60702 # This happens for instance with `./config.status Makefile'.
60703 if test -n "$CONFIG_HEADERS"; then
60704 cat >"$tmp/defines.awk" <<\_ACAWK ||
60705 BEGIN {
60706 _ACEOF
60707
60708 # Transform confdefs.h into an awk script `defines.awk', embedded as
60709 # here-document in config.status, that substitutes the proper values into
60710 # config.h.in to produce config.h.
60711
60712 # Create a delimiter string that does not exist in confdefs.h, to ease
60713 # handling of long lines.
60714 ac_delim='%!_!# '
60715 for ac_last_try in false false :; do
60716 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60717 if test -z "$ac_t"; then
60718 break
60719 elif $ac_last_try; then
60720 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60721 else
60722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60723 fi
60724 done
60725
60726 # For the awk script, D is an array of macro values keyed by name,
60727 # likewise P contains macro parameters if any. Preserve backslash
60728 # newline sequences.
60729
60730 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60731 sed -n '
60732 s/.\{148\}/&'"$ac_delim"'/g
60733 t rset
60734 :rset
60735 s/^[ ]*#[ ]*define[ ][ ]*/ /
60736 t def
60737 d
60738 :def
60739 s/\\$//
60740 t bsnl
60741 s/["\\]/\\&/g
60742 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60743 D["\1"]=" \3"/p
60744 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60745 d
60746 :bsnl
60747 s/["\\]/\\&/g
60748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60749 D["\1"]=" \3\\\\\\n"\\/p
60750 t cont
60751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60752 t cont
60753 d
60754 :cont
60755 n
60756 s/.\{148\}/&'"$ac_delim"'/g
60757 t clear
60758 :clear
60759 s/\\$//
60760 t bsnlc
60761 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60762 d
60763 :bsnlc
60764 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60765 b cont
60766 ' <confdefs.h | sed '
60767 s/'"$ac_delim"'/"\\\
60768 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60769
60770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60771 for (key in D) D_is_set[key] = 1
60772 FS = "\a"
60773 }
60774 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60775 line = \$ 0
60776 split(line, arg, " ")
60777 if (arg[1] == "#") {
60778 defundef = arg[2]
60779 mac1 = arg[3]
60780 } else {
60781 defundef = substr(arg[1], 2)
60782 mac1 = arg[2]
60783 }
60784 split(mac1, mac2, "(") #)
60785 macro = mac2[1]
60786 prefix = substr(line, 1, index(line, defundef) - 1)
60787 if (D_is_set[macro]) {
60788 # Preserve the white space surrounding the "#".
60789 print prefix "define", macro P[macro] D[macro]
60790 next
60791 } else {
60792 # Replace #undef with comments. This is necessary, for example,
60793 # in the case of _POSIX_SOURCE, which is predefined and required
60794 # on some systems where configure will not decide to define it.
60795 if (defundef == "undef") {
60796 print "/*", prefix defundef, macro, "*/"
60797 next
60798 }
60799 }
60800 }
60801 { print }
60802 _ACAWK
60803 _ACEOF
60804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60805 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60806 fi # test -n "$CONFIG_HEADERS"
60807
60808
60809 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60810 shift
60811 for ac_tag
60812 do
60813 case $ac_tag in
60814 :[FHLC]) ac_mode=$ac_tag; continue;;
60815 esac
60816 case $ac_mode$ac_tag in
60817 :[FHL]*:*);;
60818 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60819 :[FH]-) ac_tag=-:-;;
60820 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60821 esac
60822 ac_save_IFS=$IFS
60823 IFS=:
60824 set x $ac_tag
60825 IFS=$ac_save_IFS
60826 shift
60827 ac_file=$1
60828 shift
60829
60830 case $ac_mode in
60831 :L) ac_source=$1;;
60832 :[FH])
60833 ac_file_inputs=
60834 for ac_f
60835 do
60836 case $ac_f in
60837 -) ac_f="$tmp/stdin";;
60838 *) # Look for the file first in the build tree, then in the source tree
60839 # (if the path is not absolute). The absolute path cannot be DOS-style,
60840 # because $ac_f cannot contain `:'.
60841 test -f "$ac_f" ||
60842 case $ac_f in
60843 [\\/$]*) false;;
60844 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60845 esac ||
60846 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60847 esac
60848 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60849 as_fn_append ac_file_inputs " '$ac_f'"
60850 done
60851
60852 # Let's still pretend it is `configure' which instantiates (i.e., don't
60853 # use $as_me), people would be surprised to read:
60854 # /* config.h. Generated by config.status. */
60855 configure_input='Generated from '`
60856 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60857 `' by configure.'
60858 if test x"$ac_file" != x-; then
60859 configure_input="$ac_file. $configure_input"
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60861 $as_echo "$as_me: creating $ac_file" >&6;}
60862 fi
60863 # Neutralize special characters interpreted by sed in replacement strings.
60864 case $configure_input in #(
60865 *\&* | *\|* | *\\* )
60866 ac_sed_conf_input=`$as_echo "$configure_input" |
60867 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60868 *) ac_sed_conf_input=$configure_input;;
60869 esac
60870
60871 case $ac_tag in
60872 *:-:* | *:-) cat >"$tmp/stdin" \
60873 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60874 esac
60875 ;;
60876 esac
60877
60878 ac_dir=`$as_dirname -- "$ac_file" ||
60879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60880 X"$ac_file" : 'X\(//\)[^/]' \| \
60881 X"$ac_file" : 'X\(//\)$' \| \
60882 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60883 $as_echo X"$ac_file" |
60884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60885 s//\1/
60886 q
60887 }
60888 /^X\(\/\/\)[^/].*/{
60889 s//\1/
60890 q
60891 }
60892 /^X\(\/\/\)$/{
60893 s//\1/
60894 q
60895 }
60896 /^X\(\/\).*/{
60897 s//\1/
60898 q
60899 }
60900 s/.*/./; q'`
60901 as_dir="$ac_dir"; as_fn_mkdir_p
60902 ac_builddir=.
60903
60904 case "$ac_dir" in
60905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60906 *)
60907 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60908 # A ".." for each directory in $ac_dir_suffix.
60909 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60910 case $ac_top_builddir_sub in
60911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60913 esac ;;
60914 esac
60915 ac_abs_top_builddir=$ac_pwd
60916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60917 # for backward compatibility:
60918 ac_top_builddir=$ac_top_build_prefix
60919
60920 case $srcdir in
60921 .) # We are building in place.
60922 ac_srcdir=.
60923 ac_top_srcdir=$ac_top_builddir_sub
60924 ac_abs_top_srcdir=$ac_pwd ;;
60925 [\\/]* | ?:[\\/]* ) # Absolute name.
60926 ac_srcdir=$srcdir$ac_dir_suffix;
60927 ac_top_srcdir=$srcdir
60928 ac_abs_top_srcdir=$srcdir ;;
60929 *) # Relative name.
60930 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60931 ac_top_srcdir=$ac_top_build_prefix$srcdir
60932 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60933 esac
60934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60935
60936
60937 case $ac_mode in
60938 :F)
60939 #
60940 # CONFIG_FILE
60941 #
60942
60943 case $INSTALL in
60944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60945 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60946 esac
60947 ac_MKDIR_P=$MKDIR_P
60948 case $MKDIR_P in
60949 [\\/$]* | ?:[\\/]* ) ;;
60950 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60951 esac
60952 _ACEOF
60953
60954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60955 # If the template does not know about datarootdir, expand it.
60956 # FIXME: This hack should be removed a few years after 2.60.
60957 ac_datarootdir_hack=; ac_datarootdir_seen=
60958 ac_sed_dataroot='
60959 /datarootdir/ {
60960 p
60961 q
60962 }
60963 /@datadir@/p
60964 /@docdir@/p
60965 /@infodir@/p
60966 /@localedir@/p
60967 /@mandir@/p'
60968 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60969 *datarootdir*) ac_datarootdir_seen=yes;;
60970 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60972 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60973 _ACEOF
60974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60975 ac_datarootdir_hack='
60976 s&@datadir@&$datadir&g
60977 s&@docdir@&$docdir&g
60978 s&@infodir@&$infodir&g
60979 s&@localedir@&$localedir&g
60980 s&@mandir@&$mandir&g
60981 s&\\\${datarootdir}&$datarootdir&g' ;;
60982 esac
60983 _ACEOF
60984
60985 # Neutralize VPATH when `$srcdir' = `.'.
60986 # Shell code in configure.ac might set extrasub.
60987 # FIXME: do we really want to maintain this feature?
60988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60989 ac_sed_extra="$ac_vpsub
60990 $extrasub
60991 _ACEOF
60992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60993 :t
60994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60995 s|@configure_input@|$ac_sed_conf_input|;t t
60996 s&@top_builddir@&$ac_top_builddir_sub&;t t
60997 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60998 s&@srcdir@&$ac_srcdir&;t t
60999 s&@abs_srcdir@&$ac_abs_srcdir&;t t
61000 s&@top_srcdir@&$ac_top_srcdir&;t t
61001 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
61002 s&@builddir@&$ac_builddir&;t t
61003 s&@abs_builddir@&$ac_abs_builddir&;t t
61004 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
61005 s&@INSTALL@&$ac_INSTALL&;t t
61006 s&@MKDIR_P@&$ac_MKDIR_P&;t t
61007 $ac_datarootdir_hack
61008 "
61009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
61010 || as_fn_error "could not create $ac_file" "$LINENO" 5
61011
61012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
61013 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
61014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
61015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61016 which seems to be undefined. Please make sure it is defined." >&5
61017 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61018 which seems to be undefined. Please make sure it is defined." >&2;}
61019
61020 rm -f "$tmp/stdin"
61021 case $ac_file in
61022 -) cat "$tmp/out" && rm -f "$tmp/out";;
61023 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
61024 esac \
61025 || as_fn_error "could not create $ac_file" "$LINENO" 5
61026 ;;
61027 :H)
61028 #
61029 # CONFIG_HEADER
61030 #
61031 if test x"$ac_file" != x-; then
61032 {
61033 $as_echo "/* $configure_input */" \
61034 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
61035 } >"$tmp/config.h" \
61036 || as_fn_error "could not create $ac_file" "$LINENO" 5
61037 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61039 $as_echo "$as_me: $ac_file is unchanged" >&6;}
61040 else
61041 rm -f "$ac_file"
61042 mv "$tmp/config.h" "$ac_file" \
61043 || as_fn_error "could not create $ac_file" "$LINENO" 5
61044 fi
61045 else
61046 $as_echo "/* $configure_input */" \
61047 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
61048 || as_fn_error "could not create -" "$LINENO" 5
61049 fi
61050 # Compute "$ac_file"'s index in $config_headers.
61051 _am_arg="$ac_file"
61052 _am_stamp_count=1
61053 for _am_header in $config_headers :; do
61054 case $_am_header in
61055 $_am_arg | $_am_arg:* )
61056 break ;;
61057 * )
61058 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61059 esac
61060 done
61061 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61062 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61063 X"$_am_arg" : 'X\(//\)[^/]' \| \
61064 X"$_am_arg" : 'X\(//\)$' \| \
61065 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61066 $as_echo X"$_am_arg" |
61067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61068 s//\1/
61069 q
61070 }
61071 /^X\(\/\/\)[^/].*/{
61072 s//\1/
61073 q
61074 }
61075 /^X\(\/\/\)$/{
61076 s//\1/
61077 q
61078 }
61079 /^X\(\/\).*/{
61080 s//\1/
61081 q
61082 }
61083 s/.*/./; q'`/stamp-h$_am_stamp_count
61084 ;;
61085
61086 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61087 $as_echo "$as_me: executing $ac_file commands" >&6;}
61088 ;;
61089 esac
61090
61091
61092 case $ac_file$ac_mode in
61093 "default-1":C)
61094 # Only add multilib support code if we just rebuilt the top-level
61095 # Makefile.
61096 case " $CONFIG_FILES " in
61097 *" Makefile "*)
61098 ac_file=Makefile . ${multi_basedir}/config-ml.in
61099 ;;
61100 esac ;;
61101 "libtool":C)
61102
61103 # See if we are running on zsh, and set the options which allow our
61104 # commands through without removal of \ escapes.
61105 if test -n "${ZSH_VERSION+set}" ; then
61106 setopt NO_GLOB_SUBST
61107 fi
61108
61109 cfgfile="${ofile}T"
61110 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
61111 $RM "$cfgfile"
61112
61113 cat <<_LT_EOF >> "$cfgfile"
61114 #! $SHELL
61115
61116 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
61117 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
61118 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
61119 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
61120 #
61121 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
61122 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
61123 # Written by Gordon Matzigkeit, 1996
61124 #
61125 # This file is part of GNU Libtool.
61126 #
61127 # GNU Libtool is free software; you can redistribute it and/or
61128 # modify it under the terms of the GNU General Public License as
61129 # published by the Free Software Foundation; either version 2 of
61130 # the License, or (at your option) any later version.
61131 #
61132 # As a special exception to the GNU General Public License,
61133 # if you distribute this file as part of a program or library that
61134 # is built using GNU Libtool, you may include this file under the
61135 # same distribution terms that you use for the rest of that program.
61136 #
61137 # GNU Libtool is distributed in the hope that it will be useful,
61138 # but WITHOUT ANY WARRANTY; without even the implied warranty of
61139 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61140 # GNU General Public License for more details.
61141 #
61142 # You should have received a copy of the GNU General Public License
61143 # along with GNU Libtool; see the file COPYING. If not, a copy
61144 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61145 # obtained by writing to the Free Software Foundation, Inc.,
61146 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61147
61148
61149 # The names of the tagged configurations supported by this script.
61150 available_tags="CXX "
61151
61152 # ### BEGIN LIBTOOL CONFIG
61153
61154 # Which release of libtool.m4 was used?
61155 macro_version=$macro_version
61156 macro_revision=$macro_revision
61157
61158 # Whether or not to build shared libraries.
61159 build_libtool_libs=$enable_shared
61160
61161 # Whether or not to build static libraries.
61162 build_old_libs=$enable_static
61163
61164 # What type of objects to build.
61165 pic_mode=$pic_mode
61166
61167 # Whether or not to optimize for fast installation.
61168 fast_install=$enable_fast_install
61169
61170 # Shell to use when invoking shell scripts.
61171 SHELL=$lt_SHELL
61172
61173 # An echo program that protects backslashes.
61174 ECHO=$lt_ECHO
61175
61176 # The host system.
61177 host_alias=$host_alias
61178 host=$host
61179 host_os=$host_os
61180
61181 # The build system.
61182 build_alias=$build_alias
61183 build=$build
61184 build_os=$build_os
61185
61186 # A sed program that does not truncate output.
61187 SED=$lt_SED
61188
61189 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61190 Xsed="\$SED -e 1s/^X//"
61191
61192 # A grep program that handles long lines.
61193 GREP=$lt_GREP
61194
61195 # An ERE matcher.
61196 EGREP=$lt_EGREP
61197
61198 # A literal string matcher.
61199 FGREP=$lt_FGREP
61200
61201 # A BSD- or MS-compatible name lister.
61202 NM=$lt_NM
61203
61204 # Whether we need soft or hard links.
61205 LN_S=$lt_LN_S
61206
61207 # What is the maximum length of a command?
61208 max_cmd_len=$max_cmd_len
61209
61210 # Object file suffix (normally "o").
61211 objext=$ac_objext
61212
61213 # Executable file suffix (normally "").
61214 exeext=$exeext
61215
61216 # whether the shell understands "unset".
61217 lt_unset=$lt_unset
61218
61219 # turn spaces into newlines.
61220 SP2NL=$lt_lt_SP2NL
61221
61222 # turn newlines into spaces.
61223 NL2SP=$lt_lt_NL2SP
61224
61225 # An object symbol dumper.
61226 OBJDUMP=$lt_OBJDUMP
61227
61228 # Method to check whether dependent libraries are shared objects.
61229 deplibs_check_method=$lt_deplibs_check_method
61230
61231 # Command to use when deplibs_check_method == "file_magic".
61232 file_magic_cmd=$lt_file_magic_cmd
61233
61234 # The archiver.
61235 AR=$lt_AR
61236 AR_FLAGS=$lt_AR_FLAGS
61237
61238 # A symbol stripping program.
61239 STRIP=$lt_STRIP
61240
61241 # Commands used to install an old-style archive.
61242 RANLIB=$lt_RANLIB
61243 old_postinstall_cmds=$lt_old_postinstall_cmds
61244 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61245
61246 # Whether to use a lock for old archive extraction.
61247 lock_old_archive_extraction=$lock_old_archive_extraction
61248
61249 # A C compiler.
61250 LTCC=$lt_CC
61251
61252 # LTCC compiler flags.
61253 LTCFLAGS=$lt_CFLAGS
61254
61255 # Take the output of nm and produce a listing of raw symbols and C names.
61256 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61257
61258 # Transform the output of nm in a proper C declaration.
61259 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61260
61261 # Transform the output of nm in a C name address pair.
61262 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61263
61264 # Transform the output of nm in a C name address pair when lib prefix is needed.
61265 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61266
61267 # The name of the directory that contains temporary libtool files.
61268 objdir=$objdir
61269
61270 # Used to examine libraries when file_magic_cmd begins with "file".
61271 MAGIC_CMD=$MAGIC_CMD
61272
61273 # Must we lock files when doing compilation?
61274 need_locks=$lt_need_locks
61275
61276 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61277 DSYMUTIL=$lt_DSYMUTIL
61278
61279 # Tool to change global to local symbols on Mac OS X.
61280 NMEDIT=$lt_NMEDIT
61281
61282 # Tool to manipulate fat objects and archives on Mac OS X.
61283 LIPO=$lt_LIPO
61284
61285 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61286 OTOOL=$lt_OTOOL
61287
61288 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61289 OTOOL64=$lt_OTOOL64
61290
61291 # Old archive suffix (normally "a").
61292 libext=$libext
61293
61294 # Shared library suffix (normally ".so").
61295 shrext_cmds=$lt_shrext_cmds
61296
61297 # The commands to extract the exported symbol list from a shared archive.
61298 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61299
61300 # Variables whose values should be saved in libtool wrapper scripts and
61301 # restored at link time.
61302 variables_saved_for_relink=$lt_variables_saved_for_relink
61303
61304 # Do we need the "lib" prefix for modules?
61305 need_lib_prefix=$need_lib_prefix
61306
61307 # Do we need a version for libraries?
61308 need_version=$need_version
61309
61310 # Library versioning type.
61311 version_type=$version_type
61312
61313 # Shared library runtime path variable.
61314 runpath_var=$runpath_var
61315
61316 # Shared library path variable.
61317 shlibpath_var=$shlibpath_var
61318
61319 # Is shlibpath searched before the hard-coded library search path?
61320 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61321
61322 # Format of library name prefix.
61323 libname_spec=$lt_libname_spec
61324
61325 # List of archive names. First name is the real one, the rest are links.
61326 # The last name is the one that the linker finds with -lNAME
61327 library_names_spec=$lt_library_names_spec
61328
61329 # The coded name of the library, if different from the real name.
61330 soname_spec=$lt_soname_spec
61331
61332 # Permission mode override for installation of shared libraries.
61333 install_override_mode=$lt_install_override_mode
61334
61335 # Command to use after installation of a shared archive.
61336 postinstall_cmds=$lt_postinstall_cmds
61337
61338 # Command to use after uninstallation of a shared archive.
61339 postuninstall_cmds=$lt_postuninstall_cmds
61340
61341 # Commands used to finish a libtool library installation in a directory.
61342 finish_cmds=$lt_finish_cmds
61343
61344 # As "finish_cmds", except a single script fragment to be evaled but
61345 # not shown.
61346 finish_eval=$lt_finish_eval
61347
61348 # Whether we should hardcode library paths into libraries.
61349 hardcode_into_libs=$hardcode_into_libs
61350
61351 # Compile-time system search path for libraries.
61352 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61353
61354 # Run-time system search path for libraries.
61355 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61356
61357 # Whether dlopen is supported.
61358 dlopen_support=$enable_dlopen
61359
61360 # Whether dlopen of programs is supported.
61361 dlopen_self=$enable_dlopen_self
61362
61363 # Whether dlopen of statically linked programs is supported.
61364 dlopen_self_static=$enable_dlopen_self_static
61365
61366 # Commands to strip libraries.
61367 old_striplib=$lt_old_striplib
61368 striplib=$lt_striplib
61369
61370
61371 # The linker used to build libraries.
61372 LD=$lt_LD
61373
61374 # How to create reloadable object files.
61375 reload_flag=$lt_reload_flag
61376 reload_cmds=$lt_reload_cmds
61377
61378 # Commands used to build an old-style archive.
61379 old_archive_cmds=$lt_old_archive_cmds
61380
61381 # A language specific compiler.
61382 CC=$lt_compiler
61383
61384 # Is the compiler the GNU compiler?
61385 with_gcc=$GCC
61386
61387 # Compiler flag to turn off builtin functions.
61388 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61389
61390 # How to pass a linker flag through the compiler.
61391 wl=$lt_lt_prog_compiler_wl
61392
61393 # Additional compiler flags for building library objects.
61394 pic_flag=$lt_lt_prog_compiler_pic
61395
61396 # Compiler flag to prevent dynamic linking.
61397 link_static_flag=$lt_lt_prog_compiler_static
61398
61399 # Does compiler simultaneously support -c and -o options?
61400 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61401
61402 # Whether or not to add -lc for building shared libraries.
61403 build_libtool_need_lc=$archive_cmds_need_lc
61404
61405 # Whether or not to disallow shared libs when runtime libs are static.
61406 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61407
61408 # Compiler flag to allow reflexive dlopens.
61409 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61410
61411 # Compiler flag to generate shared objects directly from archives.
61412 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61413
61414 # Whether the compiler copes with passing no objects directly.
61415 compiler_needs_object=$lt_compiler_needs_object
61416
61417 # Create an old-style archive from a shared archive.
61418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61419
61420 # Create a temporary old-style archive to link instead of a shared archive.
61421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61422
61423 # Commands used to build a shared archive.
61424 archive_cmds=$lt_archive_cmds
61425 archive_expsym_cmds=$lt_archive_expsym_cmds
61426
61427 # Commands used to build a loadable module if different from building
61428 # a shared archive.
61429 module_cmds=$lt_module_cmds
61430 module_expsym_cmds=$lt_module_expsym_cmds
61431
61432 # Whether we are building with GNU ld or not.
61433 with_gnu_ld=$lt_with_gnu_ld
61434
61435 # Flag that allows shared libraries with undefined symbols to be built.
61436 allow_undefined_flag=$lt_allow_undefined_flag
61437
61438 # Flag that enforces no undefined symbols.
61439 no_undefined_flag=$lt_no_undefined_flag
61440
61441 # Flag to hardcode \$libdir into a binary during linking.
61442 # This must work even if \$libdir does not exist
61443 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61444
61445 # If ld is used when linking, flag to hardcode \$libdir into a binary
61446 # during linking. This must work even if \$libdir does not exist.
61447 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61448
61449 # Whether we need a single "-rpath" flag with a separated argument.
61450 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61451
61452 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61453 # DIR into the resulting binary.
61454 hardcode_direct=$hardcode_direct
61455
61456 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61457 # DIR into the resulting binary and the resulting library dependency is
61458 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61459 # library is relocated.
61460 hardcode_direct_absolute=$hardcode_direct_absolute
61461
61462 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61463 # into the resulting binary.
61464 hardcode_minus_L=$hardcode_minus_L
61465
61466 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61467 # into the resulting binary.
61468 hardcode_shlibpath_var=$hardcode_shlibpath_var
61469
61470 # Set to "yes" if building a shared library automatically hardcodes DIR
61471 # into the library and all subsequent libraries and executables linked
61472 # against it.
61473 hardcode_automatic=$hardcode_automatic
61474
61475 # Set to yes if linker adds runtime paths of dependent libraries
61476 # to runtime path list.
61477 inherit_rpath=$inherit_rpath
61478
61479 # Whether libtool must link a program against all its dependency libraries.
61480 link_all_deplibs=$link_all_deplibs
61481
61482 # Fix the shell variable \$srcfile for the compiler.
61483 fix_srcfile_path=$lt_fix_srcfile_path
61484
61485 # Set to "yes" if exported symbols are required.
61486 always_export_symbols=$always_export_symbols
61487
61488 # The commands to list exported symbols.
61489 export_symbols_cmds=$lt_export_symbols_cmds
61490
61491 # Symbols that should not be listed in the preloaded symbols.
61492 exclude_expsyms=$lt_exclude_expsyms
61493
61494 # Symbols that must always be exported.
61495 include_expsyms=$lt_include_expsyms
61496
61497 # Commands necessary for linking programs (against libraries) with templates.
61498 prelink_cmds=$lt_prelink_cmds
61499
61500 # Specify filename containing input files.
61501 file_list_spec=$lt_file_list_spec
61502
61503 # How to hardcode a shared library path into an executable.
61504 hardcode_action=$hardcode_action
61505
61506 # The directories searched by this compiler when creating a shared library.
61507 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61508
61509 # Dependencies to place before and after the objects being linked to
61510 # create a shared library.
61511 predep_objects=$lt_predep_objects
61512 postdep_objects=$lt_postdep_objects
61513 predeps=$lt_predeps
61514 postdeps=$lt_postdeps
61515
61516 # The library search path used internally by the compiler when linking
61517 # a shared library.
61518 compiler_lib_search_path=$lt_compiler_lib_search_path
61519
61520 # ### END LIBTOOL CONFIG
61521
61522 _LT_EOF
61523
61524 case $host_os in
61525 aix3*)
61526 cat <<\_LT_EOF >> "$cfgfile"
61527 # AIX sometimes has problems with the GCC collect2 program. For some
61528 # reason, if we set the COLLECT_NAMES environment variable, the problems
61529 # vanish in a puff of smoke.
61530 if test "X${COLLECT_NAMES+set}" != Xset; then
61531 COLLECT_NAMES=
61532 export COLLECT_NAMES
61533 fi
61534 _LT_EOF
61535 ;;
61536 esac
61537
61538
61539 ltmain="$ac_aux_dir/ltmain.sh"
61540
61541
61542 # We use sed instead of cat because bash on DJGPP gets confused if
61543 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61544 # text mode, it properly converts lines to CR/LF. This bash problem
61545 # is reportedly fixed, but why not run on old versions too?
61546 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61547 || (rm -f "$cfgfile"; exit 1)
61548
61549 case $xsi_shell in
61550 yes)
61551 cat << \_LT_EOF >> "$cfgfile"
61552
61553 # func_dirname file append nondir_replacement
61554 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61555 # otherwise set result to NONDIR_REPLACEMENT.
61556 func_dirname ()
61557 {
61558 case ${1} in
61559 */*) func_dirname_result="${1%/*}${2}" ;;
61560 * ) func_dirname_result="${3}" ;;
61561 esac
61562 }
61563
61564 # func_basename file
61565 func_basename ()
61566 {
61567 func_basename_result="${1##*/}"
61568 }
61569
61570 # func_dirname_and_basename file append nondir_replacement
61571 # perform func_basename and func_dirname in a single function
61572 # call:
61573 # dirname: Compute the dirname of FILE. If nonempty,
61574 # add APPEND to the result, otherwise set result
61575 # to NONDIR_REPLACEMENT.
61576 # value returned in "$func_dirname_result"
61577 # basename: Compute filename of FILE.
61578 # value retuned in "$func_basename_result"
61579 # Implementation must be kept synchronized with func_dirname
61580 # and func_basename. For efficiency, we do not delegate to
61581 # those functions but instead duplicate the functionality here.
61582 func_dirname_and_basename ()
61583 {
61584 case ${1} in
61585 */*) func_dirname_result="${1%/*}${2}" ;;
61586 * ) func_dirname_result="${3}" ;;
61587 esac
61588 func_basename_result="${1##*/}"
61589 }
61590
61591 # func_stripname prefix suffix name
61592 # strip PREFIX and SUFFIX off of NAME.
61593 # PREFIX and SUFFIX must not contain globbing or regex special
61594 # characters, hashes, percent signs, but SUFFIX may contain a leading
61595 # dot (in which case that matches only a dot).
61596 func_stripname ()
61597 {
61598 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61599 # positional parameters, so assign one to ordinary parameter first.
61600 func_stripname_result=${3}
61601 func_stripname_result=${func_stripname_result#"${1}"}
61602 func_stripname_result=${func_stripname_result%"${2}"}
61603 }
61604
61605 # func_opt_split
61606 func_opt_split ()
61607 {
61608 func_opt_split_opt=${1%%=*}
61609 func_opt_split_arg=${1#*=}
61610 }
61611
61612 # func_lo2o object
61613 func_lo2o ()
61614 {
61615 case ${1} in
61616 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61617 *) func_lo2o_result=${1} ;;
61618 esac
61619 }
61620
61621 # func_xform libobj-or-source
61622 func_xform ()
61623 {
61624 func_xform_result=${1%.*}.lo
61625 }
61626
61627 # func_arith arithmetic-term...
61628 func_arith ()
61629 {
61630 func_arith_result=$(( $* ))
61631 }
61632
61633 # func_len string
61634 # STRING may not start with a hyphen.
61635 func_len ()
61636 {
61637 func_len_result=${#1}
61638 }
61639
61640 _LT_EOF
61641 ;;
61642 *) # Bourne compatible functions.
61643 cat << \_LT_EOF >> "$cfgfile"
61644
61645 # func_dirname file append nondir_replacement
61646 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61647 # otherwise set result to NONDIR_REPLACEMENT.
61648 func_dirname ()
61649 {
61650 # Extract subdirectory from the argument.
61651 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61652 if test "X$func_dirname_result" = "X${1}"; then
61653 func_dirname_result="${3}"
61654 else
61655 func_dirname_result="$func_dirname_result${2}"
61656 fi
61657 }
61658
61659 # func_basename file
61660 func_basename ()
61661 {
61662 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61663 }
61664
61665
61666 # func_stripname prefix suffix name
61667 # strip PREFIX and SUFFIX off of NAME.
61668 # PREFIX and SUFFIX must not contain globbing or regex special
61669 # characters, hashes, percent signs, but SUFFIX may contain a leading
61670 # dot (in which case that matches only a dot).
61671 # func_strip_suffix prefix name
61672 func_stripname ()
61673 {
61674 case ${2} in
61675 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61676 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61677 esac
61678 }
61679
61680 # sed scripts:
61681 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61682 my_sed_long_arg='1s/^-[^=]*=//'
61683
61684 # func_opt_split
61685 func_opt_split ()
61686 {
61687 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61688 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61689 }
61690
61691 # func_lo2o object
61692 func_lo2o ()
61693 {
61694 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61695 }
61696
61697 # func_xform libobj-or-source
61698 func_xform ()
61699 {
61700 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61701 }
61702
61703 # func_arith arithmetic-term...
61704 func_arith ()
61705 {
61706 func_arith_result=`expr "$@"`
61707 }
61708
61709 # func_len string
61710 # STRING may not start with a hyphen.
61711 func_len ()
61712 {
61713 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61714 }
61715
61716 _LT_EOF
61717 esac
61718
61719 case $lt_shell_append in
61720 yes)
61721 cat << \_LT_EOF >> "$cfgfile"
61722
61723 # func_append var value
61724 # Append VALUE to the end of shell variable VAR.
61725 func_append ()
61726 {
61727 eval "$1+=\$2"
61728 }
61729 _LT_EOF
61730 ;;
61731 *)
61732 cat << \_LT_EOF >> "$cfgfile"
61733
61734 # func_append var value
61735 # Append VALUE to the end of shell variable VAR.
61736 func_append ()
61737 {
61738 eval "$1=\$$1\$2"
61739 }
61740
61741 _LT_EOF
61742 ;;
61743 esac
61744
61745
61746 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61747 || (rm -f "$cfgfile"; exit 1)
61748
61749 mv -f "$cfgfile" "$ofile" ||
61750 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61751 chmod +x "$ofile"
61752
61753
61754 cat <<_LT_EOF >> "$ofile"
61755
61756 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61757
61758 # The linker used to build libraries.
61759 LD=$lt_LD_CXX
61760
61761 # How to create reloadable object files.
61762 reload_flag=$lt_reload_flag_CXX
61763 reload_cmds=$lt_reload_cmds_CXX
61764
61765 # Commands used to build an old-style archive.
61766 old_archive_cmds=$lt_old_archive_cmds_CXX
61767
61768 # A language specific compiler.
61769 CC=$lt_compiler_CXX
61770
61771 # Is the compiler the GNU compiler?
61772 with_gcc=$GCC_CXX
61773
61774 # Compiler flag to turn off builtin functions.
61775 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61776
61777 # How to pass a linker flag through the compiler.
61778 wl=$lt_lt_prog_compiler_wl_CXX
61779
61780 # Additional compiler flags for building library objects.
61781 pic_flag=$lt_lt_prog_compiler_pic_CXX
61782
61783 # Compiler flag to prevent dynamic linking.
61784 link_static_flag=$lt_lt_prog_compiler_static_CXX
61785
61786 # Does compiler simultaneously support -c and -o options?
61787 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61788
61789 # Whether or not to add -lc for building shared libraries.
61790 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61791
61792 # Whether or not to disallow shared libs when runtime libs are static.
61793 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61794
61795 # Compiler flag to allow reflexive dlopens.
61796 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61797
61798 # Compiler flag to generate shared objects directly from archives.
61799 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61800
61801 # Whether the compiler copes with passing no objects directly.
61802 compiler_needs_object=$lt_compiler_needs_object_CXX
61803
61804 # Create an old-style archive from a shared archive.
61805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61806
61807 # Create a temporary old-style archive to link instead of a shared archive.
61808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61809
61810 # Commands used to build a shared archive.
61811 archive_cmds=$lt_archive_cmds_CXX
61812 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61813
61814 # Commands used to build a loadable module if different from building
61815 # a shared archive.
61816 module_cmds=$lt_module_cmds_CXX
61817 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61818
61819 # Whether we are building with GNU ld or not.
61820 with_gnu_ld=$lt_with_gnu_ld_CXX
61821
61822 # Flag that allows shared libraries with undefined symbols to be built.
61823 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61824
61825 # Flag that enforces no undefined symbols.
61826 no_undefined_flag=$lt_no_undefined_flag_CXX
61827
61828 # Flag to hardcode \$libdir into a binary during linking.
61829 # This must work even if \$libdir does not exist
61830 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61831
61832 # If ld is used when linking, flag to hardcode \$libdir into a binary
61833 # during linking. This must work even if \$libdir does not exist.
61834 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61835
61836 # Whether we need a single "-rpath" flag with a separated argument.
61837 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61838
61839 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61840 # DIR into the resulting binary.
61841 hardcode_direct=$hardcode_direct_CXX
61842
61843 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61844 # DIR into the resulting binary and the resulting library dependency is
61845 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61846 # library is relocated.
61847 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61848
61849 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61850 # into the resulting binary.
61851 hardcode_minus_L=$hardcode_minus_L_CXX
61852
61853 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61854 # into the resulting binary.
61855 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61856
61857 # Set to "yes" if building a shared library automatically hardcodes DIR
61858 # into the library and all subsequent libraries and executables linked
61859 # against it.
61860 hardcode_automatic=$hardcode_automatic_CXX
61861
61862 # Set to yes if linker adds runtime paths of dependent libraries
61863 # to runtime path list.
61864 inherit_rpath=$inherit_rpath_CXX
61865
61866 # Whether libtool must link a program against all its dependency libraries.
61867 link_all_deplibs=$link_all_deplibs_CXX
61868
61869 # Fix the shell variable \$srcfile for the compiler.
61870 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61871
61872 # Set to "yes" if exported symbols are required.
61873 always_export_symbols=$always_export_symbols_CXX
61874
61875 # The commands to list exported symbols.
61876 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61877
61878 # Symbols that should not be listed in the preloaded symbols.
61879 exclude_expsyms=$lt_exclude_expsyms_CXX
61880
61881 # Symbols that must always be exported.
61882 include_expsyms=$lt_include_expsyms_CXX
61883
61884 # Commands necessary for linking programs (against libraries) with templates.
61885 prelink_cmds=$lt_prelink_cmds_CXX
61886
61887 # Specify filename containing input files.
61888 file_list_spec=$lt_file_list_spec_CXX
61889
61890 # How to hardcode a shared library path into an executable.
61891 hardcode_action=$hardcode_action_CXX
61892
61893 # The directories searched by this compiler when creating a shared library.
61894 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61895
61896 # Dependencies to place before and after the objects being linked to
61897 # create a shared library.
61898 predep_objects=$lt_predep_objects_CXX
61899 postdep_objects=$lt_postdep_objects_CXX
61900 predeps=$lt_predeps_CXX
61901 postdeps=$lt_postdeps_CXX
61902
61903 # The library search path used internally by the compiler when linking
61904 # a shared library.
61905 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61906
61907 # ### END LIBTOOL TAG CONFIG: CXX
61908 _LT_EOF
61909
61910 ;;
61911 "include/gstdint.h":C)
61912 if test "$GCC" = yes; then
61913 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61914 else
61915 echo "/* generated for $CC */" > tmp-stdint.h
61916 fi
61917
61918 sed 's/^ *//' >> tmp-stdint.h <<EOF
61919
61920 #ifndef GCC_GENERATED_STDINT_H
61921 #define GCC_GENERATED_STDINT_H 1
61922
61923 #include <sys/types.h>
61924 EOF
61925
61926 if test "$acx_cv_header_stdint" != stdint.h; then
61927 echo "#include <stddef.h>" >> tmp-stdint.h
61928 fi
61929 if test "$acx_cv_header_stdint" != stddef.h; then
61930 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61931 fi
61932
61933 sed 's/^ *//' >> tmp-stdint.h <<EOF
61934 /* glibc uses these symbols as guards to prevent redefinitions. */
61935 #ifdef __int8_t_defined
61936 #define _INT8_T
61937 #define _INT16_T
61938 #define _INT32_T
61939 #endif
61940 #ifdef __uint32_t_defined
61941 #define _UINT32_T
61942 #endif
61943
61944 EOF
61945
61946 # ----------------- done header, emit basic int types -------------
61947 if test "$acx_cv_header_stdint" = stddef.h; then
61948 sed 's/^ *//' >> tmp-stdint.h <<EOF
61949
61950 #ifndef _UINT8_T
61951 #define _UINT8_T
61952 #ifndef __uint8_t_defined
61953 #define __uint8_t_defined
61954 #ifndef uint8_t
61955 typedef unsigned $acx_cv_type_int8_t uint8_t;
61956 #endif
61957 #endif
61958 #endif
61959
61960 #ifndef _UINT16_T
61961 #define _UINT16_T
61962 #ifndef __uint16_t_defined
61963 #define __uint16_t_defined
61964 #ifndef uint16_t
61965 typedef unsigned $acx_cv_type_int16_t uint16_t;
61966 #endif
61967 #endif
61968 #endif
61969
61970 #ifndef _UINT32_T
61971 #define _UINT32_T
61972 #ifndef __uint32_t_defined
61973 #define __uint32_t_defined
61974 #ifndef uint32_t
61975 typedef unsigned $acx_cv_type_int32_t uint32_t;
61976 #endif
61977 #endif
61978 #endif
61979
61980 #ifndef _INT8_T
61981 #define _INT8_T
61982 #ifndef __int8_t_defined
61983 #define __int8_t_defined
61984 #ifndef int8_t
61985 typedef $acx_cv_type_int8_t int8_t;
61986 #endif
61987 #endif
61988 #endif
61989
61990 #ifndef _INT16_T
61991 #define _INT16_T
61992 #ifndef __int16_t_defined
61993 #define __int16_t_defined
61994 #ifndef int16_t
61995 typedef $acx_cv_type_int16_t int16_t;
61996 #endif
61997 #endif
61998 #endif
61999
62000 #ifndef _INT32_T
62001 #define _INT32_T
62002 #ifndef __int32_t_defined
62003 #define __int32_t_defined
62004 #ifndef int32_t
62005 typedef $acx_cv_type_int32_t int32_t;
62006 #endif
62007 #endif
62008 #endif
62009 EOF
62010 elif test "$ac_cv_type_u_int32_t" = yes; then
62011 sed 's/^ *//' >> tmp-stdint.h <<EOF
62012
62013 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
62014 #ifndef _INT8_T
62015 #define _INT8_T
62016 #endif
62017 #ifndef _INT16_T
62018 #define _INT16_T
62019 #endif
62020 #ifndef _INT32_T
62021 #define _INT32_T
62022 #endif
62023
62024 #ifndef _UINT8_T
62025 #define _UINT8_T
62026 #ifndef __uint8_t_defined
62027 #define __uint8_t_defined
62028 #ifndef uint8_t
62029 typedef u_int8_t uint8_t;
62030 #endif
62031 #endif
62032 #endif
62033
62034 #ifndef _UINT16_T
62035 #define _UINT16_T
62036 #ifndef __uint16_t_defined
62037 #define __uint16_t_defined
62038 #ifndef uint16_t
62039 typedef u_int16_t uint16_t;
62040 #endif
62041 #endif
62042 #endif
62043
62044 #ifndef _UINT32_T
62045 #define _UINT32_T
62046 #ifndef __uint32_t_defined
62047 #define __uint32_t_defined
62048 #ifndef uint32_t
62049 typedef u_int32_t uint32_t;
62050 #endif
62051 #endif
62052 #endif
62053 EOF
62054 else
62055 sed 's/^ *//' >> tmp-stdint.h <<EOF
62056
62057 /* Some systems have guard macros to prevent redefinitions, define them. */
62058 #ifndef _INT8_T
62059 #define _INT8_T
62060 #endif
62061 #ifndef _INT16_T
62062 #define _INT16_T
62063 #endif
62064 #ifndef _INT32_T
62065 #define _INT32_T
62066 #endif
62067 #ifndef _UINT8_T
62068 #define _UINT8_T
62069 #endif
62070 #ifndef _UINT16_T
62071 #define _UINT16_T
62072 #endif
62073 #ifndef _UINT32_T
62074 #define _UINT32_T
62075 #endif
62076 EOF
62077 fi
62078
62079 # ------------- done basic int types, emit int64_t types ------------
62080 if test "$ac_cv_type_uint64_t" = yes; then
62081 sed 's/^ *//' >> tmp-stdint.h <<EOF
62082
62083 /* system headers have good uint64_t and int64_t */
62084 #ifndef _INT64_T
62085 #define _INT64_T
62086 #endif
62087 #ifndef _UINT64_T
62088 #define _UINT64_T
62089 #endif
62090 EOF
62091 elif test "$ac_cv_type_u_int64_t" = yes; then
62092 sed 's/^ *//' >> tmp-stdint.h <<EOF
62093
62094 /* system headers have an u_int64_t (and int64_t) */
62095 #ifndef _INT64_T
62096 #define _INT64_T
62097 #endif
62098 #ifndef _UINT64_T
62099 #define _UINT64_T
62100 #ifndef __uint64_t_defined
62101 #define __uint64_t_defined
62102 #ifndef uint64_t
62103 typedef u_int64_t uint64_t;
62104 #endif
62105 #endif
62106 #endif
62107 EOF
62108 elif test -n "$acx_cv_type_int64_t"; then
62109 sed 's/^ *//' >> tmp-stdint.h <<EOF
62110
62111 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
62112 #ifndef _INT64_T
62113 #define _INT64_T
62114 #ifndef int64_t
62115 typedef $acx_cv_type_int64_t int64_t;
62116 #endif
62117 #endif
62118 #ifndef _UINT64_T
62119 #define _UINT64_T
62120 #ifndef __uint64_t_defined
62121 #define __uint64_t_defined
62122 #ifndef uint64_t
62123 typedef unsigned $acx_cv_type_int64_t uint64_t;
62124 #endif
62125 #endif
62126 #endif
62127 EOF
62128 else
62129 sed 's/^ *//' >> tmp-stdint.h <<EOF
62130
62131 /* some common heuristics for int64_t, using compiler-specific tests */
62132 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
62133 #ifndef _INT64_T
62134 #define _INT64_T
62135 #ifndef __int64_t_defined
62136 #ifndef int64_t
62137 typedef long long int64_t;
62138 #endif
62139 #endif
62140 #endif
62141 #ifndef _UINT64_T
62142 #define _UINT64_T
62143 #ifndef uint64_t
62144 typedef unsigned long long uint64_t;
62145 #endif
62146 #endif
62147
62148 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
62149 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
62150 does not implement __extension__. But that compiler doesn't define
62151 __GNUC_MINOR__. */
62152 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62153 # define __extension__
62154 # endif
62155
62156 # ifndef _INT64_T
62157 # define _INT64_T
62158 # ifndef int64_t
62159 __extension__ typedef long long int64_t;
62160 # endif
62161 # endif
62162 # ifndef _UINT64_T
62163 # define _UINT64_T
62164 # ifndef uint64_t
62165 __extension__ typedef unsigned long long uint64_t;
62166 # endif
62167 # endif
62168
62169 #elif !defined __STRICT_ANSI__
62170 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62171
62172 # ifndef _INT64_T
62173 # define _INT64_T
62174 # ifndef int64_t
62175 typedef __int64 int64_t;
62176 # endif
62177 # endif
62178 # ifndef _UINT64_T
62179 # define _UINT64_T
62180 # ifndef uint64_t
62181 typedef unsigned __int64 uint64_t;
62182 # endif
62183 # endif
62184 # endif /* compiler */
62185
62186 #endif /* ANSI version */
62187 EOF
62188 fi
62189
62190 # ------------- done int64_t types, emit intptr types ------------
62191 if test "$ac_cv_type_uintptr_t" != yes; then
62192 sed 's/^ *//' >> tmp-stdint.h <<EOF
62193
62194 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62195 #ifndef __uintptr_t_defined
62196 #ifndef uintptr_t
62197 typedef u$acx_cv_type_intptr_t uintptr_t;
62198 #endif
62199 #endif
62200 #ifndef __intptr_t_defined
62201 #ifndef intptr_t
62202 typedef $acx_cv_type_intptr_t intptr_t;
62203 #endif
62204 #endif
62205 EOF
62206 fi
62207
62208 # ------------- done intptr types, emit int_least types ------------
62209 if test "$ac_cv_type_int_least32_t" != yes; then
62210 sed 's/^ *//' >> tmp-stdint.h <<EOF
62211
62212 /* Define int_least types */
62213 typedef int8_t int_least8_t;
62214 typedef int16_t int_least16_t;
62215 typedef int32_t int_least32_t;
62216 #ifdef _INT64_T
62217 typedef int64_t int_least64_t;
62218 #endif
62219
62220 typedef uint8_t uint_least8_t;
62221 typedef uint16_t uint_least16_t;
62222 typedef uint32_t uint_least32_t;
62223 #ifdef _UINT64_T
62224 typedef uint64_t uint_least64_t;
62225 #endif
62226 EOF
62227 fi
62228
62229 # ------------- done intptr types, emit int_fast types ------------
62230 if test "$ac_cv_type_int_fast32_t" != yes; then
62231 sed 's/^ *//' >> tmp-stdint.h <<EOF
62232
62233 /* Define int_fast types. short is often slow */
62234 typedef int8_t int_fast8_t;
62235 typedef int int_fast16_t;
62236 typedef int32_t int_fast32_t;
62237 #ifdef _INT64_T
62238 typedef int64_t int_fast64_t;
62239 #endif
62240
62241 typedef uint8_t uint_fast8_t;
62242 typedef unsigned int uint_fast16_t;
62243 typedef uint32_t uint_fast32_t;
62244 #ifdef _UINT64_T
62245 typedef uint64_t uint_fast64_t;
62246 #endif
62247 EOF
62248 fi
62249
62250 if test "$ac_cv_type_uintmax_t" != yes; then
62251 sed 's/^ *//' >> tmp-stdint.h <<EOF
62252
62253 /* Define intmax based on what we found */
62254 #ifndef intmax_t
62255 #ifdef _INT64_T
62256 typedef int64_t intmax_t;
62257 #else
62258 typedef long intmax_t;
62259 #endif
62260 #endif
62261 #ifndef uintmax_t
62262 #ifdef _UINT64_T
62263 typedef uint64_t uintmax_t;
62264 #else
62265 typedef unsigned long uintmax_t;
62266 #endif
62267 #endif
62268 EOF
62269 fi
62270
62271 sed 's/^ *//' >> tmp-stdint.h <<EOF
62272
62273 #endif /* GCC_GENERATED_STDINT_H */
62274 EOF
62275
62276 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62277 rm -f tmp-stdint.h
62278 else
62279 mv -f tmp-stdint.h include/gstdint.h
62280 fi
62281
62282 ;;
62283 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62284 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
62285 "include/Makefile":F) cat > vpsed$$ << \_EOF
62286 s!`test -f '$<' || echo '$(srcdir)/'`!!
62287 _EOF
62288 sed -f vpsed$$ $ac_file > tmp$$
62289 mv tmp$$ $ac_file
62290 rm vpsed$$
62291 echo 'MULTISUBDIR =' >> $ac_file
62292 ml_norecursion=yes
62293 . ${multi_basedir}/config-ml.in
62294 { ml_norecursion=; unset ml_norecursion;}
62295 ;;
62296 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62297 s!`test -f '$<' || echo '$(srcdir)/'`!!
62298 _EOF
62299 sed -f vpsed$$ $ac_file > tmp$$
62300 mv tmp$$ $ac_file
62301 rm vpsed$$
62302 echo 'MULTISUBDIR =' >> $ac_file
62303 ml_norecursion=yes
62304 . ${multi_basedir}/config-ml.in
62305 { ml_norecursion=; unset ml_norecursion;}
62306 ;;
62307 "python/Makefile":F) cat > vpsed$$ << \_EOF
62308 s!`test -f '$<' || echo '$(srcdir)/'`!!
62309 _EOF
62310 sed -f vpsed$$ $ac_file > tmp$$
62311 mv tmp$$ $ac_file
62312 rm vpsed$$
62313 echo 'MULTISUBDIR =' >> $ac_file
62314 ml_norecursion=yes
62315 . ${multi_basedir}/config-ml.in
62316 { ml_norecursion=; unset ml_norecursion;}
62317 ;;
62318 "src/Makefile":F) cat > vpsed$$ << \_EOF
62319 s!`test -f '$<' || echo '$(srcdir)/'`!!
62320 _EOF
62321 sed -f vpsed$$ $ac_file > tmp$$
62322 mv tmp$$ $ac_file
62323 rm vpsed$$
62324 echo 'MULTISUBDIR =' >> $ac_file
62325 ml_norecursion=yes
62326 . ${multi_basedir}/config-ml.in
62327 { ml_norecursion=; unset ml_norecursion;}
62328 ;;
62329 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62330 s!`test -f '$<' || echo '$(srcdir)/'`!!
62331 _EOF
62332 sed -f vpsed$$ $ac_file > tmp$$
62333 mv tmp$$ $ac_file
62334 rm vpsed$$
62335 echo 'MULTISUBDIR =' >> $ac_file
62336 ml_norecursion=yes
62337 . ${multi_basedir}/config-ml.in
62338 { ml_norecursion=; unset ml_norecursion;}
62339 ;;
62340 "po/Makefile":F) cat > vpsed$$ << \_EOF
62341 s!`test -f '$<' || echo '$(srcdir)/'`!!
62342 _EOF
62343 sed -f vpsed$$ $ac_file > tmp$$
62344 mv tmp$$ $ac_file
62345 rm vpsed$$
62346 echo 'MULTISUBDIR =' >> $ac_file
62347 ml_norecursion=yes
62348 . ${multi_basedir}/config-ml.in
62349 { ml_norecursion=; unset ml_norecursion;}
62350 ;;
62351 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62352 s!`test -f '$<' || echo '$(srcdir)/'`!!
62353 _EOF
62354 sed -f vpsed$$ $ac_file > tmp$$
62355 mv tmp$$ $ac_file
62356 rm vpsed$$
62357 echo 'MULTISUBDIR =' >> $ac_file
62358 ml_norecursion=yes
62359 . ${multi_basedir}/config-ml.in
62360 { ml_norecursion=; unset ml_norecursion;}
62361 ;;
62362 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62363
62364 esac
62365 done # for ac_tag
62366
62367
62368 as_fn_exit 0
62369 _ACEOF
62370 ac_clean_files=$ac_clean_files_save
62371
62372 test $ac_write_fail = 0 ||
62373 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62374
62375
62376 # configure is writing to config.log, and then calls config.status.
62377 # config.status does its own redirection, appending to config.log.
62378 # Unfortunately, on DOS this fails, as config.log is still kept open
62379 # by configure, so config.status won't be able to write to it; its
62380 # output is simply discarded. So we exec the FD to /dev/null,
62381 # effectively closing config.log, so it can be properly (re)opened and
62382 # appended to by config.status. When coming back to configure, we
62383 # need to make the FD available again.
62384 if test "$no_create" != yes; then
62385 ac_cs_success=:
62386 ac_config_status_args=
62387 test "$silent" = yes &&
62388 ac_config_status_args="$ac_config_status_args --quiet"
62389 exec 5>/dev/null
62390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62391 exec 5>>config.log
62392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62393 # would make configure fail if this is the last instruction.
62394 $ac_cs_success || as_fn_exit $?
62395 fi
62396 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62398 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62399 fi
62400