]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
Sync from git Libtool and regenerate.
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.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_DARWIN_FALSE
627 ENABLE_SYMVERS_DARWIN_TRUE
628 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
629 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
630 ENABLE_SYMVERS_GNU_FALSE
631 ENABLE_SYMVERS_GNU_TRUE
632 ENABLE_SYMVERS_FALSE
633 ENABLE_SYMVERS_TRUE
634 port_specific_symbol_files
635 SYMVER_FILE
636 LTLIBICONV
637 LIBICONV
638 OPT_LDFLAGS
639 SECTION_LDFLAGS
640 GLIBCXX_LIBS
641 EXTRA_CXX_FLAGS
642 ENABLE_PARALLEL_FALSE
643 ENABLE_PARALLEL_TRUE
644 GLIBCXX_BUILD_DEBUG_FALSE
645 GLIBCXX_BUILD_DEBUG_TRUE
646 DEBUG_FLAGS
647 GLIBCXX_C_HEADERS_EXTRA_FALSE
648 GLIBCXX_C_HEADERS_EXTRA_TRUE
649 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
650 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
651 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
652 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
653 GLIBCXX_C_HEADERS_C_STD_FALSE
654 GLIBCXX_C_HEADERS_C_STD_TRUE
655 GLIBCXX_C_HEADERS_C_FALSE
656 GLIBCXX_C_HEADERS_C_TRUE
657 C_INCLUDE_DIR
658 ALLOCATOR_NAME
659 ALLOCATOR_H
660 CLOCALE_INTERNAL_H
661 CLOCALE_CC
662 CTIME_CC
663 CTIME_H
664 CNUMERIC_CC
665 CMONEY_CC
666 CMESSAGES_CC
667 CCTYPE_CC
668 CCOLLATE_CC
669 CCODECVT_CC
670 CMESSAGES_H
671 CLOCALE_H
672 USE_NLS
673 glibcxx_localedir
674 glibcxx_POFILES
675 glibcxx_MOFILES
676 check_msgfmt
677 BASIC_FILE_CC
678 BASIC_FILE_H
679 CSTDIO_H
680 SECTION_FLAGS
681 WERROR
682 glibcxx_thread_h
683 glibcxx_PCHFLAGS
684 GLIBCXX_BUILD_PCH_FALSE
685 GLIBCXX_BUILD_PCH_TRUE
686 GLIBCXX_HOSTED_FALSE
687 GLIBCXX_HOSTED_TRUE
688 enable_static
689 enable_shared
690 CXXCPP
691 OTOOL64
692 OTOOL
693 LIPO
694 NMEDIT
695 DSYMUTIL
696 OBJDUMP
697 NM
698 ac_ct_DUMPBIN
699 DUMPBIN
700 LD
701 FGREP
702 SED
703 LIBTOOL
704 EGREP
705 GREP
706 CPP
707 MAINT
708 MAINTAINER_MODE_FALSE
709 MAINTAINER_MODE_TRUE
710 RANLIB
711 AR
712 AS
713 LN_S
714 toplevel_srcdir
715 glibcxx_srcdir
716 glibcxx_builddir
717 ac_ct_CXX
718 CXXFLAGS
719 CXX
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
726 CC
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 multi_basedir
763 libtool_VERSION
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 enable_multilib
806 with_target_subdir
807 with_cross_host
808 with_newlib
809 enable_maintainer_mode
810 enable_shared
811 enable_static
812 with_pic
813 enable_fast_install
814 with_gnu_ld
815 enable_libtool_lock
816 enable_hosted_libstdcxx
817 enable_sjlj_exceptions
818 enable_libstdcxx_pch
819 enable_cstdio
820 enable_clocale
821 enable_nls
822 enable_libstdcxx_allocator
823 enable_cheaders
824 enable_long_long
825 enable_wchar_t
826 enable_c99
827 enable_concept_checks
828 enable_libstdcxx_debug_flags
829 enable_libstdcxx_debug
830 enable_cxx_flags
831 enable_fully_dynamic_string
832 enable_libstdcxx_time
833 enable_tls
834 enable_rpath
835 with_libiconv_prefix
836 with_system_libunwind
837 enable_linux_futex
838 enable_symvers
839 enable_visibility
840 with_gxx_include_dir
841 enable_version_specific_runtime_libs
842 '
843 ac_precious_vars='build_alias
844 host_alias
845 target_alias
846 CPP
847 CPPFLAGS
848 CXXCPP'
849
850
851 # Initialize some variables set by options.
852 ac_init_help=
853 ac_init_version=false
854 ac_unrecognized_opts=
855 ac_unrecognized_sep=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
858 cache_file=/dev/null
859 exec_prefix=NONE
860 no_create=
861 no_recursion=
862 prefix=NONE
863 program_prefix=NONE
864 program_suffix=NONE
865 program_transform_name=s,x,x,
866 silent=
867 site=
868 srcdir=
869 verbose=
870 x_includes=NONE
871 x_libraries=NONE
872
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir='${exec_prefix}/bin'
880 sbindir='${exec_prefix}/sbin'
881 libexecdir='${exec_prefix}/libexec'
882 datarootdir='${prefix}/share'
883 datadir='${datarootdir}'
884 sysconfdir='${prefix}/etc'
885 sharedstatedir='${prefix}/com'
886 localstatedir='${prefix}/var'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir='${datarootdir}/info'
891 htmldir='${docdir}'
892 dvidir='${docdir}'
893 pdfdir='${docdir}'
894 psdir='${docdir}'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
898
899 ac_prev=
900 ac_dashdash=
901 for ac_option
902 do
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
906 ac_prev=
907 continue
908 fi
909
910 case $ac_option in
911 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 *) ac_optarg=yes ;;
913 esac
914
915 # Accept the important Cygnus configure options, so we can diagnose typos.
916
917 case $ac_dashdash$ac_option in
918 --)
919 ac_dashdash=yes ;;
920
921 -bindir | --bindir | --bindi | --bind | --bin | --bi)
922 ac_prev=bindir ;;
923 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
924 bindir=$ac_optarg ;;
925
926 -build | --build | --buil | --bui | --bu)
927 ac_prev=build_alias ;;
928 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
929 build_alias=$ac_optarg ;;
930
931 -cache-file | --cache-file | --cache-fil | --cache-fi \
932 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
933 ac_prev=cache_file ;;
934 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
935 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
936 cache_file=$ac_optarg ;;
937
938 --config-cache | -C)
939 cache_file=config.cache ;;
940
941 -datadir | --datadir | --datadi | --datad)
942 ac_prev=datadir ;;
943 -datadir=* | --datadir=* | --datadi=* | --datad=*)
944 datadir=$ac_optarg ;;
945
946 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
947 | --dataroo | --dataro | --datar)
948 ac_prev=datarootdir ;;
949 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
950 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
951 datarootdir=$ac_optarg ;;
952
953 -disable-* | --disable-*)
954 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 as_fn_error "invalid feature name: $ac_useropt"
958 ac_useropt_orig=$ac_useropt
959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
961 *"
962 "enable_$ac_useropt"
963 "*) ;;
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
966 esac
967 eval enable_$ac_useropt=no ;;
968
969 -docdir | --docdir | --docdi | --doc | --do)
970 ac_prev=docdir ;;
971 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
972 docdir=$ac_optarg ;;
973
974 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
975 ac_prev=dvidir ;;
976 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
977 dvidir=$ac_optarg ;;
978
979 -enable-* | --enable-*)
980 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
983 as_fn_error "invalid feature name: $ac_useropt"
984 ac_useropt_orig=$ac_useropt
985 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
987 *"
988 "enable_$ac_useropt"
989 "*) ;;
990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep=', ';;
992 esac
993 eval enable_$ac_useropt=\$ac_optarg ;;
994
995 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
996 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
997 | --exec | --exe | --ex)
998 ac_prev=exec_prefix ;;
999 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1000 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1001 | --exec=* | --exe=* | --ex=*)
1002 exec_prefix=$ac_optarg ;;
1003
1004 -gas | --gas | --ga | --g)
1005 # Obsolete; use --with-gas.
1006 with_gas=yes ;;
1007
1008 -help | --help | --hel | --he | -h)
1009 ac_init_help=long ;;
1010 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1011 ac_init_help=recursive ;;
1012 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1013 ac_init_help=short ;;
1014
1015 -host | --host | --hos | --ho)
1016 ac_prev=host_alias ;;
1017 -host=* | --host=* | --hos=* | --ho=*)
1018 host_alias=$ac_optarg ;;
1019
1020 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1021 ac_prev=htmldir ;;
1022 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1023 | --ht=*)
1024 htmldir=$ac_optarg ;;
1025
1026 -includedir | --includedir | --includedi | --included | --include \
1027 | --includ | --inclu | --incl | --inc)
1028 ac_prev=includedir ;;
1029 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1030 | --includ=* | --inclu=* | --incl=* | --inc=*)
1031 includedir=$ac_optarg ;;
1032
1033 -infodir | --infodir | --infodi | --infod | --info | --inf)
1034 ac_prev=infodir ;;
1035 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1036 infodir=$ac_optarg ;;
1037
1038 -libdir | --libdir | --libdi | --libd)
1039 ac_prev=libdir ;;
1040 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1041 libdir=$ac_optarg ;;
1042
1043 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1044 | --libexe | --libex | --libe)
1045 ac_prev=libexecdir ;;
1046 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1047 | --libexe=* | --libex=* | --libe=*)
1048 libexecdir=$ac_optarg ;;
1049
1050 -localedir | --localedir | --localedi | --localed | --locale)
1051 ac_prev=localedir ;;
1052 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1053 localedir=$ac_optarg ;;
1054
1055 -localstatedir | --localstatedir | --localstatedi | --localstated \
1056 | --localstate | --localstat | --localsta | --localst | --locals)
1057 ac_prev=localstatedir ;;
1058 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1059 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1060 localstatedir=$ac_optarg ;;
1061
1062 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1063 ac_prev=mandir ;;
1064 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1065 mandir=$ac_optarg ;;
1066
1067 -nfp | --nfp | --nf)
1068 # Obsolete; use --without-fp.
1069 with_fp=no ;;
1070
1071 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1072 | --no-cr | --no-c | -n)
1073 no_create=yes ;;
1074
1075 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1076 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1077 no_recursion=yes ;;
1078
1079 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1080 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1081 | --oldin | --oldi | --old | --ol | --o)
1082 ac_prev=oldincludedir ;;
1083 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1084 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1085 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1086 oldincludedir=$ac_optarg ;;
1087
1088 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1089 ac_prev=prefix ;;
1090 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1091 prefix=$ac_optarg ;;
1092
1093 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1094 | --program-pre | --program-pr | --program-p)
1095 ac_prev=program_prefix ;;
1096 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1097 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1098 program_prefix=$ac_optarg ;;
1099
1100 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1101 | --program-suf | --program-su | --program-s)
1102 ac_prev=program_suffix ;;
1103 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1104 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1105 program_suffix=$ac_optarg ;;
1106
1107 -program-transform-name | --program-transform-name \
1108 | --program-transform-nam | --program-transform-na \
1109 | --program-transform-n | --program-transform- \
1110 | --program-transform | --program-transfor \
1111 | --program-transfo | --program-transf \
1112 | --program-trans | --program-tran \
1113 | --progr-tra | --program-tr | --program-t)
1114 ac_prev=program_transform_name ;;
1115 -program-transform-name=* | --program-transform-name=* \
1116 | --program-transform-nam=* | --program-transform-na=* \
1117 | --program-transform-n=* | --program-transform-=* \
1118 | --program-transform=* | --program-transfor=* \
1119 | --program-transfo=* | --program-transf=* \
1120 | --program-trans=* | --program-tran=* \
1121 | --progr-tra=* | --program-tr=* | --program-t=*)
1122 program_transform_name=$ac_optarg ;;
1123
1124 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1125 ac_prev=pdfdir ;;
1126 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1127 pdfdir=$ac_optarg ;;
1128
1129 -psdir | --psdir | --psdi | --psd | --ps)
1130 ac_prev=psdir ;;
1131 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1132 psdir=$ac_optarg ;;
1133
1134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135 | -silent | --silent | --silen | --sile | --sil)
1136 silent=yes ;;
1137
1138 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1139 ac_prev=sbindir ;;
1140 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1141 | --sbi=* | --sb=*)
1142 sbindir=$ac_optarg ;;
1143
1144 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1145 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1146 | --sharedst | --shareds | --shared | --share | --shar \
1147 | --sha | --sh)
1148 ac_prev=sharedstatedir ;;
1149 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1150 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1151 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1152 | --sha=* | --sh=*)
1153 sharedstatedir=$ac_optarg ;;
1154
1155 -site | --site | --sit)
1156 ac_prev=site ;;
1157 -site=* | --site=* | --sit=*)
1158 site=$ac_optarg ;;
1159
1160 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1161 ac_prev=srcdir ;;
1162 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1163 srcdir=$ac_optarg ;;
1164
1165 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1166 | --syscon | --sysco | --sysc | --sys | --sy)
1167 ac_prev=sysconfdir ;;
1168 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1169 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1170 sysconfdir=$ac_optarg ;;
1171
1172 -target | --target | --targe | --targ | --tar | --ta | --t)
1173 ac_prev=target_alias ;;
1174 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1175 target_alias=$ac_optarg ;;
1176
1177 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1178 verbose=yes ;;
1179
1180 -version | --version | --versio | --versi | --vers | -V)
1181 ac_init_version=: ;;
1182
1183 -with-* | --with-*)
1184 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187 as_fn_error "invalid package name: $ac_useropt"
1188 ac_useropt_orig=$ac_useropt
1189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1191 *"
1192 "with_$ac_useropt"
1193 "*) ;;
1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1195 ac_unrecognized_sep=', ';;
1196 esac
1197 eval with_$ac_useropt=\$ac_optarg ;;
1198
1199 -without-* | --without-*)
1200 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1203 as_fn_error "invalid package name: $ac_useropt"
1204 ac_useropt_orig=$ac_useropt
1205 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1207 *"
1208 "with_$ac_useropt"
1209 "*) ;;
1210 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211 ac_unrecognized_sep=', ';;
1212 esac
1213 eval with_$ac_useropt=no ;;
1214
1215 --x)
1216 # Obsolete; use --with-x.
1217 with_x=yes ;;
1218
1219 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1220 | --x-incl | --x-inc | --x-in | --x-i)
1221 ac_prev=x_includes ;;
1222 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1223 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1224 x_includes=$ac_optarg ;;
1225
1226 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1227 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1228 ac_prev=x_libraries ;;
1229 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1230 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1231 x_libraries=$ac_optarg ;;
1232
1233 -*) as_fn_error "unrecognized option: \`$ac_option'
1234 Try \`$0 --help' for more information."
1235 ;;
1236
1237 *=*)
1238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 case $ac_envvar in #(
1241 '' | [0-9]* | *[!_$as_cr_alnum]* )
1242 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1243 esac
1244 eval $ac_envvar=\$ac_optarg
1245 export $ac_envvar ;;
1246
1247 *)
1248 # FIXME: should be removed in autoconf 3.0.
1249 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1251 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1253 ;;
1254
1255 esac
1256 done
1257
1258 if test -n "$ac_prev"; then
1259 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1260 as_fn_error "missing argument to $ac_option"
1261 fi
1262
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1265 no) ;;
1266 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1267 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1268 esac
1269 fi
1270
1271 # Check all directory arguments for consistency.
1272 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1273 datadir sysconfdir sharedstatedir localstatedir includedir \
1274 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1275 libdir localedir mandir
1276 do
1277 eval ac_val=\$$ac_var
1278 # Remove trailing slashes.
1279 case $ac_val in
1280 */ )
1281 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1282 eval $ac_var=\$ac_val;;
1283 esac
1284 # Be sure to have absolute directory names.
1285 case $ac_val in
1286 [\\/$]* | ?:[\\/]* ) continue;;
1287 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1288 esac
1289 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1290 done
1291
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1295 build=$build_alias
1296 host=$host_alias
1297 target=$target_alias
1298
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x; then
1301 if test "x$build_alias" = x; then
1302 cross_compiling=maybe
1303 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1304 If a cross compiler is detected then cross compile mode will be used." >&2
1305 elif test "x$build_alias" != "x$host_alias"; then
1306 cross_compiling=yes
1307 fi
1308 fi
1309
1310 ac_tool_prefix=
1311 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1312
1313 test "$silent" = yes && exec 6>/dev/null
1314
1315
1316 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di=`ls -di .` &&
1318 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1319 as_fn_error "working directory cannot be determined"
1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321 as_fn_error "pwd does not report name of working directory"
1322
1323
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir=`$as_dirname -- "$as_myself" ||
1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$as_myself" : 'X\(//\)[^/]' \| \
1331 X"$as_myself" : 'X\(//\)$' \| \
1332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333 $as_echo X"$as_myself" |
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1335 s//\1/
1336 q
1337 }
1338 /^X\(\/\/\)[^/].*/{
1339 s//\1/
1340 q
1341 }
1342 /^X\(\/\/\)$/{
1343 s//\1/
1344 q
1345 }
1346 /^X\(\/\).*/{
1347 s//\1/
1348 q
1349 }
1350 s/.*/./; q'`
1351 srcdir=$ac_confdir
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 srcdir=..
1354 fi
1355 else
1356 ac_srcdir_defaulted=no
1357 fi
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1360 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1361 fi
1362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1363 ac_abs_confdir=`(
1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1365 pwd)`
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1368 srcdir=.
1369 fi
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1373 case $srcdir in
1374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 esac
1376 for ac_var in $ac_precious_vars; do
1377 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_${ac_var}_value=\$${ac_var}
1379 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1381 done
1382
1383 #
1384 # Report the --help message.
1385 #
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1389 cat <<_ACEOF
1390 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1391
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1393
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1396
1397 Defaults for the options are specified in brackets.
1398
1399 Configuration:
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1409
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1414 [PREFIX]
1415
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1420
1421 For better control, use the options below.
1422
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1443 _ACEOF
1444
1445 cat <<\_ACEOF
1446
1447 Program names:
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1451
1452 System types:
1453 --build=BUILD configure for building on BUILD [guessed]
1454 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1455 --target=TARGET configure for building compilers for TARGET [HOST]
1456 _ACEOF
1457 fi
1458
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short | recursive ) echo "Configuration of package-unused version-unused:";;
1462 esac
1463 cat <<\_ACEOF
1464
1465 Optional Features:
1466 --disable-option-checking ignore unrecognized --enable/--with options
1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1469 --enable-multilib build many library versions (default)
1470 --enable-maintainer-mode enable make rules and dependencies not useful
1471 (and sometimes confusing) to the casual installer
1472 --enable-shared[=PKGS] build shared libraries [default=yes]
1473 --enable-static[=PKGS] build static libraries [default=yes]
1474 --enable-fast-install[=PKGS]
1475 optimize for fast installation [default=yes]
1476 --disable-libtool-lock avoid locking (might break parallel builds)
1477 --disable-hosted-libstdcxx
1478 only build freestanding C++ runtime support
1479 --enable-sjlj-exceptions
1480 force use of builtin_setjmp for exceptions
1481 [default=auto]
1482 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1483 [default=$is_hosted]
1484 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1485 --enable-clocale[=MODEL]
1486 use MODEL for target locale package [default=auto]
1487 --enable-nls use Native Language Support (default)
1488 --enable-libstdcxx-allocator=KIND
1489 use KIND for target std::allocator base
1490 [default=auto]
1491 --enable-cheaders=KIND construct "C" headers for g++ [default=$c_model]
1492 --enable-long-long enable template specializations for 'long long'
1493 [default=yes]
1494 --enable-wchar_t enable template specializations for 'wchar_t'
1495 [default=yes]
1496 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1497 --enable-concept-checks use Boost-derived template checks [default=no]
1498 --enable-libstdcxx-debug-flags=FLAGS
1499 pass compiler FLAGS when building debug library
1500 [default="-g3 -O0"]
1501 --enable-libstdcxx-debug
1502 build extra debug library [default=no]
1503 --enable-cxx-flags=FLAGS
1504 pass compiler FLAGS when building library [default=]
1505 --enable-fully-dynamic-string
1506 do not put empty strings in per-process static
1507 memory [default=no]
1508 --enable-libstdcxx-time=KIND
1509 use KIND for check type [default=no]
1510 --enable-tls Use thread-local storage [default=yes]
1511 --disable-rpath do not hardcode runtime library paths
1512 --enable-linux-futex use the Linux futex system call [default=default]
1513 --enable-symvers=STYLE enables symbol versioning of the shared library
1514 [default=yes]
1515 --enable-visibility enables visibility safe usage [default=yes]
1516 --enable-version-specific-runtime-libs
1517 Specify that runtime libraries should be installed
1518 in a compiler-specific directory
1519
1520 Optional Packages:
1521 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1522 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1523 --with-target-subdir=SUBDIR
1524 configuring in a subdirectory
1525 --with-cross-host=HOST configuring with a cross compiler
1526 --with-newlib assume newlib as a system C library
1527 --with-pic try to use only PIC/non-PIC objects [default=use
1528 both]
1529 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1530 --with-gnu-ld assume the C compiler uses GNU ld default=no
1531 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1532 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1533 --with-system-libunwind use installed libunwind
1534 --with-gxx-include-dir=DIR
1535 installation directory for include files
1536
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1545 CXX C++ compiler command
1546 CXXFLAGS C++ compiler flags
1547 CPP C preprocessor
1548 CXXCPP C++ preprocessor
1549
1550 Use these variables to override the choices made by `configure' or to help
1551 it to find libraries and programs with nonstandard names/locations.
1552
1553 Report bugs to the package provider.
1554 _ACEOF
1555 ac_status=$?
1556 fi
1557
1558 if test "$ac_init_help" = "recursive"; then
1559 # If there are subdirs, report their specific --help.
1560 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1561 test -d "$ac_dir" ||
1562 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1563 continue
1564 ac_builddir=.
1565
1566 case "$ac_dir" in
1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1568 *)
1569 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1570 # A ".." for each directory in $ac_dir_suffix.
1571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1572 case $ac_top_builddir_sub in
1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1575 esac ;;
1576 esac
1577 ac_abs_top_builddir=$ac_pwd
1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1579 # for backward compatibility:
1580 ac_top_builddir=$ac_top_build_prefix
1581
1582 case $srcdir in
1583 .) # We are building in place.
1584 ac_srcdir=.
1585 ac_top_srcdir=$ac_top_builddir_sub
1586 ac_abs_top_srcdir=$ac_pwd ;;
1587 [\\/]* | ?:[\\/]* ) # Absolute name.
1588 ac_srcdir=$srcdir$ac_dir_suffix;
1589 ac_top_srcdir=$srcdir
1590 ac_abs_top_srcdir=$srcdir ;;
1591 *) # Relative name.
1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1593 ac_top_srcdir=$ac_top_build_prefix$srcdir
1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1595 esac
1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1597
1598 cd "$ac_dir" || { ac_status=$?; continue; }
1599 # Check for guested configure.
1600 if test -f "$ac_srcdir/configure.gnu"; then
1601 echo &&
1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603 elif test -f "$ac_srcdir/configure"; then
1604 echo &&
1605 $SHELL "$ac_srcdir/configure" --help=recursive
1606 else
1607 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1608 fi || ac_status=$?
1609 cd "$ac_pwd" || { ac_status=$?; break; }
1610 done
1611 fi
1612
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1615 cat <<\_ACEOF
1616 package-unused configure version-unused
1617 generated by GNU Autoconf 2.64
1618
1619 Copyright (C) 2009 Free Software Foundation, Inc.
1620 This configure script is free software; the Free Software Foundation
1621 gives unlimited permission to copy, distribute and modify it.
1622 _ACEOF
1623 exit
1624 fi
1625
1626 ## ------------------------ ##
1627 ## Autoconf initialization. ##
1628 ## ------------------------ ##
1629
1630 # ac_fn_c_try_compile LINENO
1631 # --------------------------
1632 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_compile ()
1634 {
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 rm -f conftest.$ac_objext
1637 if { { ac_try="$ac_compile"
1638 case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_compile") 2>conftest.err
1645 ac_status=$?
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1650 fi
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest.$ac_objext; then :
1656 ac_retval=0
1657 else
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1660
1661 ac_retval=1
1662 fi
1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 return $ac_retval
1665
1666 } # ac_fn_c_try_compile
1667
1668 # ac_fn_cxx_try_compile LINENO
1669 # ----------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_cxx_try_compile ()
1672 {
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 rm -f conftest.$ac_objext
1675 if { { ac_try="$ac_compile"
1676 case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_compile") 2>conftest.err
1683 ac_status=$?
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1688 fi
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_cxx_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest.$ac_objext; then :
1694 ac_retval=0
1695 else
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1698
1699 ac_retval=1
1700 fi
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 return $ac_retval
1703
1704 } # ac_fn_cxx_try_compile
1705
1706 # ac_fn_c_try_cpp LINENO
1707 # ----------------------
1708 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1709 ac_fn_c_try_cpp ()
1710 {
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 if { { ac_try="$ac_cpp conftest.$ac_ext"
1713 case "(($ac_try" in
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1716 esac
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1720 ac_status=$?
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1725 fi
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } >/dev/null && {
1728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 }; then :
1731 ac_retval=0
1732 else
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1735
1736 ac_retval=1
1737 fi
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 return $ac_retval
1740
1741 } # ac_fn_c_try_cpp
1742
1743 # ac_fn_c_try_link LINENO
1744 # -----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded.
1746 ac_fn_c_try_link ()
1747 {
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 rm -f conftest.$ac_objext conftest$ac_exeext
1750 if { { ac_try="$ac_link"
1751 case "(($ac_try" in
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1754 esac
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>conftest.err
1758 ac_status=$?
1759 if test -s conftest.err; then
1760 grep -v '^ *+' conftest.err >conftest.er1
1761 cat conftest.er1 >&5
1762 mv -f conftest.er1 conftest.err
1763 fi
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest$ac_exeext && {
1769 test "$cross_compiling" = yes ||
1770 $as_test_x conftest$ac_exeext
1771 }; then :
1772 ac_retval=0
1773 else
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1776
1777 ac_retval=1
1778 fi
1779 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1780 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1781 # interfere with the next link command; also delete a directory that is
1782 # left behind by Apple's compiler. We do this before executing the actions.
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 return $ac_retval
1786
1787 } # ac_fn_c_try_link
1788
1789 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists and can be compiled using the include files in
1792 # INCLUDES, setting the cache variable VAR accordingly.
1793 ac_fn_c_check_header_compile ()
1794 {
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1799 $as_echo_n "(cached) " >&6
1800 else
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1803 $4
1804 #include <$2>
1805 _ACEOF
1806 if ac_fn_c_try_compile "$LINENO"; then :
1807 eval "$3=yes"
1808 else
1809 eval "$3=no"
1810 fi
1811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 fi
1813 eval ac_res=\$$3
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1817
1818 } # ac_fn_c_check_header_compile
1819
1820 # ac_fn_c_try_run LINENO
1821 # ----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823 # that executables *can* be run.
1824 ac_fn_c_try_run ()
1825 {
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if { { ac_try="$ac_link"
1828 case "(($ac_try" in
1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1831 esac
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>&5
1835 ac_status=$?
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1838 { { case "(($ac_try" in
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1841 esac
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_try") 2>&5
1845 ac_status=$?
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; }; }; then :
1848 ac_retval=0
1849 else
1850 $as_echo "$as_me: program exited with status $ac_status" >&5
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1853
1854 ac_retval=$ac_status
1855 fi
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 return $ac_retval
1859
1860 } # ac_fn_c_try_run
1861
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func ()
1866 {
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1871 $as_echo_n "(cached) " >&6
1872 else
1873 if test x$gcc_no_link = xyes; then
1874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1875 fi
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1878 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1880 #define $2 innocuous_$2
1881
1882 /* System header to define __stub macros and hopefully few prototypes,
1883 which can conflict with char $2 (); below.
1884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1885 <limits.h> exists even on freestanding compilers. */
1886
1887 #ifdef __STDC__
1888 # include <limits.h>
1889 #else
1890 # include <assert.h>
1891 #endif
1892
1893 #undef $2
1894
1895 /* Override any GCC internal prototype to avoid an error.
1896 Use char because int might match the return type of a GCC
1897 builtin and then its argument prototype would still apply. */
1898 #ifdef __cplusplus
1899 extern "C"
1900 #endif
1901 char $2 ();
1902 /* The GNU C library defines this for functions which it implements
1903 to always fail with ENOSYS. Some functions are actually named
1904 something starting with __ and the normal name is an alias. */
1905 #if defined __stub_$2 || defined __stub___$2
1906 choke me
1907 #endif
1908
1909 int
1910 main ()
1911 {
1912 return $2 ();
1913 ;
1914 return 0;
1915 }
1916 _ACEOF
1917 if ac_fn_c_try_link "$LINENO"; then :
1918 eval "$3=yes"
1919 else
1920 eval "$3=no"
1921 fi
1922 rm -f core conftest.err conftest.$ac_objext \
1923 conftest$ac_exeext conftest.$ac_ext
1924 fi
1925 eval ac_res=\$$3
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1929
1930 } # ac_fn_c_check_func
1931
1932 # ac_fn_cxx_try_cpp LINENO
1933 # ------------------------
1934 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1935 ac_fn_cxx_try_cpp ()
1936 {
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 if { { ac_try="$ac_cpp conftest.$ac_ext"
1939 case "(($ac_try" in
1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1941 *) ac_try_echo=$ac_try;;
1942 esac
1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1946 ac_status=$?
1947 if test -s conftest.err; then
1948 grep -v '^ *+' conftest.err >conftest.er1
1949 cat conftest.er1 >&5
1950 mv -f conftest.er1 conftest.err
1951 fi
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; } >/dev/null && {
1954 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1955 test ! -s conftest.err
1956 }; then :
1957 ac_retval=0
1958 else
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1961
1962 ac_retval=1
1963 fi
1964 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1965 return $ac_retval
1966
1967 } # ac_fn_cxx_try_cpp
1968
1969 # ac_fn_cxx_try_link LINENO
1970 # -------------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_cxx_try_link ()
1973 {
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 rm -f conftest.$ac_objext conftest$ac_exeext
1976 if { { ac_try="$ac_link"
1977 case "(($ac_try" in
1978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1980 esac
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_link") 2>conftest.err
1984 ac_status=$?
1985 if test -s conftest.err; then
1986 grep -v '^ *+' conftest.err >conftest.er1
1987 cat conftest.er1 >&5
1988 mv -f conftest.er1 conftest.err
1989 fi
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; } && {
1992 test -z "$ac_cxx_werror_flag" ||
1993 test ! -s conftest.err
1994 } && test -s conftest$ac_exeext && {
1995 test "$cross_compiling" = yes ||
1996 $as_test_x conftest$ac_exeext
1997 }; then :
1998 ac_retval=0
1999 else
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2002
2003 ac_retval=1
2004 fi
2005 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2006 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2007 # interfere with the next link command; also delete a directory that is
2008 # left behind by Apple's compiler. We do this before executing the actions.
2009 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011 return $ac_retval
2012
2013 } # ac_fn_cxx_try_link
2014
2015 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2016 # -------------------------------------------------------
2017 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2018 # the include files in INCLUDES and setting the cache variable VAR
2019 # accordingly.
2020 ac_fn_c_check_header_mongrel ()
2021 {
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2025 $as_echo_n "checking for $2... " >&6; }
2026 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2027 $as_echo_n "(cached) " >&6
2028 fi
2029 eval ac_res=\$$3
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031 $as_echo "$ac_res" >&6; }
2032 else
2033 # Is the header compilable?
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2035 $as_echo_n "checking $2 usability... " >&6; }
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2038 $4
2039 #include <$2>
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042 ac_header_compiler=yes
2043 else
2044 ac_header_compiler=no
2045 fi
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2048 $as_echo "$ac_header_compiler" >&6; }
2049
2050 # Is the header present?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2052 $as_echo_n "checking $2 presence... " >&6; }
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2055 #include <$2>
2056 _ACEOF
2057 if ac_fn_c_try_cpp "$LINENO"; then :
2058 ac_header_preproc=yes
2059 else
2060 ac_header_preproc=no
2061 fi
2062 rm -f conftest.err conftest.$ac_ext
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2064 $as_echo "$ac_header_preproc" >&6; }
2065
2066 # So? What about this header?
2067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2068 yes:no: )
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2070 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 ;;
2074 no:yes:* )
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2076 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2078 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2080 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2082 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2084 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2085 ;;
2086 esac
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2090 $as_echo_n "(cached) " >&6
2091 else
2092 eval "$3=\$ac_header_compiler"
2093 fi
2094 eval ac_res=\$$3
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096 $as_echo "$ac_res" >&6; }
2097 fi
2098 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2099
2100 } # ac_fn_c_check_header_mongrel
2101
2102 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2103 # ---------------------------------------------------------
2104 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2105 # the include files in INCLUDES and setting the cache variable VAR
2106 # accordingly.
2107 ac_fn_cxx_check_header_mongrel ()
2108 {
2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2114 $as_echo_n "(cached) " >&6
2115 fi
2116 eval ac_res=\$$3
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 else
2120 # Is the header compilable?
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2122 $as_echo_n "checking $2 usability... " >&6; }
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2125 $4
2126 #include <$2>
2127 _ACEOF
2128 if ac_fn_cxx_try_compile "$LINENO"; then :
2129 ac_header_compiler=yes
2130 else
2131 ac_header_compiler=no
2132 fi
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2135 $as_echo "$ac_header_compiler" >&6; }
2136
2137 # Is the header present?
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2139 $as_echo_n "checking $2 presence... " >&6; }
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2142 #include <$2>
2143 _ACEOF
2144 if ac_fn_cxx_try_cpp "$LINENO"; then :
2145 ac_header_preproc=yes
2146 else
2147 ac_header_preproc=no
2148 fi
2149 rm -f conftest.err conftest.$ac_ext
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2151 $as_echo "$ac_header_preproc" >&6; }
2152
2153 # So? What about this header?
2154 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2155 yes:no: )
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2157 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2159 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2160 ;;
2161 no:yes:* )
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2163 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2165 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2167 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2169 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2171 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2172 ;;
2173 esac
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2177 $as_echo_n "(cached) " >&6
2178 else
2179 eval "$3=\$ac_header_compiler"
2180 fi
2181 eval ac_res=\$$3
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2184 fi
2185 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2186
2187 } # ac_fn_cxx_check_header_mongrel
2188
2189 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2190 # -------------------------------------------
2191 # Tests whether TYPE exists after having included INCLUDES, setting cache
2192 # variable VAR accordingly.
2193 ac_fn_c_check_type ()
2194 {
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 $as_echo_n "checking for $2... " >&6; }
2198 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2200 else
2201 eval "$3=no"
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2204 $4
2205 int
2206 main ()
2207 {
2208 if (sizeof ($2))
2209 return 0;
2210 ;
2211 return 0;
2212 }
2213 _ACEOF
2214 if ac_fn_c_try_compile "$LINENO"; then :
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2217 $4
2218 int
2219 main ()
2220 {
2221 if (sizeof (($2)))
2222 return 0;
2223 ;
2224 return 0;
2225 }
2226 _ACEOF
2227 if ac_fn_c_try_compile "$LINENO"; then :
2228
2229 else
2230 eval "$3=yes"
2231 fi
2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2233 fi
2234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2235 fi
2236 eval ac_res=\$$3
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2238 $as_echo "$ac_res" >&6; }
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2240
2241 } # ac_fn_c_check_type
2242
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2249 {
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2255 $4
2256 int
2257 main ()
2258 {
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2261
2262 ;
2263 return 0;
2264 }
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 ac_lo=0 ac_mid=0
2268 while :; do
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2271 $4
2272 int
2273 main ()
2274 {
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2277
2278 ;
2279 return 0;
2280 }
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2284 else
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2287 ac_lo= ac_hi=
2288 break
2289 fi
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2291 fi
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 done
2294 else
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 $4
2298 int
2299 main ()
2300 {
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2303
2304 ;
2305 return 0;
2306 }
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_hi=-1 ac_mid=-1
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2313 $4
2314 int
2315 main ()
2316 {
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2319
2320 ;
2321 return 0;
2322 }
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2326 else
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2329 ac_lo= ac_hi=
2330 break
2331 fi
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2333 fi
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 ac_lo= ac_hi=
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2347 $4
2348 int
2349 main ()
2350 {
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2353
2354 ;
2355 return 0;
2356 }
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_hi=$ac_mid
2360 else
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2362 fi
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2372 $4
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2377 int
2378 main ()
2379 {
2380
2381 FILE *f = fopen ("conftest.val", "w");
2382 if (! f)
2383 return 1;
2384 if (($2) < 0)
2385 {
2386 long int i = longval ();
2387 if (i != ($2))
2388 return 1;
2389 fprintf (f, "%ld", i);
2390 }
2391 else
2392 {
2393 unsigned long int i = ulongval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%lu", i);
2397 }
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2401
2402 ;
2403 return 0;
2404 }
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409 ac_retval=1
2410 fi
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2414
2415 fi
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417 return $ac_retval
2418
2419 } # ac_fn_c_compute_int
2420 cat >config.log <<_ACEOF
2421 This file contains any messages produced by compilers while
2422 running configure, to aid debugging if configure makes a mistake.
2423
2424 It was created by package-unused $as_me version-unused, which was
2425 generated by GNU Autoconf 2.64. Invocation command line was
2426
2427 $ $0 $@
2428
2429 _ACEOF
2430 exec 5>>config.log
2431 {
2432 cat <<_ASUNAME
2433 ## --------- ##
2434 ## Platform. ##
2435 ## --------- ##
2436
2437 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2438 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2439 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2440 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2441 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2442
2443 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2444 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2445
2446 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2447 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2448 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2449 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2450 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2451 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2452 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2453
2454 _ASUNAME
2455
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2458 do
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 $as_echo "PATH: $as_dir"
2462 done
2463 IFS=$as_save_IFS
2464
2465 } >&5
2466
2467 cat >&5 <<_ACEOF
2468
2469
2470 ## ----------- ##
2471 ## Core tests. ##
2472 ## ----------- ##
2473
2474 _ACEOF
2475
2476
2477 # Keep a trace of the command line.
2478 # Strip out --no-create and --no-recursion so they do not pile up.
2479 # Strip out --silent because we don't want to record it for future runs.
2480 # Also quote any args containing shell meta-characters.
2481 # Make two passes to allow for proper duplicate-argument suppression.
2482 ac_configure_args=
2483 ac_configure_args0=
2484 ac_configure_args1=
2485 ac_must_keep_next=false
2486 for ac_pass in 1 2
2487 do
2488 for ac_arg
2489 do
2490 case $ac_arg in
2491 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2493 | -silent | --silent | --silen | --sile | --sil)
2494 continue ;;
2495 *\'*)
2496 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2497 esac
2498 case $ac_pass in
2499 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2500 2)
2501 as_fn_append ac_configure_args1 " '$ac_arg'"
2502 if test $ac_must_keep_next = true; then
2503 ac_must_keep_next=false # Got value, back to normal.
2504 else
2505 case $ac_arg in
2506 *=* | --config-cache | -C | -disable-* | --disable-* \
2507 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2508 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2509 | -with-* | --with-* | -without-* | --without-* | --x)
2510 case "$ac_configure_args0 " in
2511 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2512 esac
2513 ;;
2514 -* ) ac_must_keep_next=true ;;
2515 esac
2516 fi
2517 as_fn_append ac_configure_args " '$ac_arg'"
2518 ;;
2519 esac
2520 done
2521 done
2522 { ac_configure_args0=; unset ac_configure_args0;}
2523 { ac_configure_args1=; unset ac_configure_args1;}
2524
2525 # When interrupted or exit'd, cleanup temporary files, and complete
2526 # config.log. We remove comments because anyway the quotes in there
2527 # would cause problems or look ugly.
2528 # WARNING: Use '\'' to represent an apostrophe within the trap.
2529 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2530 trap 'exit_status=$?
2531 # Save into config.log some information that might help in debugging.
2532 {
2533 echo
2534
2535 cat <<\_ASBOX
2536 ## ---------------- ##
2537 ## Cache variables. ##
2538 ## ---------------- ##
2539 _ASBOX
2540 echo
2541 # The following way of writing the cache mishandles newlines in values,
2542 (
2543 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2544 eval ac_val=\$$ac_var
2545 case $ac_val in #(
2546 *${as_nl}*)
2547 case $ac_var in #(
2548 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2550 esac
2551 case $ac_var in #(
2552 _ | IFS | as_nl) ;; #(
2553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2554 *) { eval $ac_var=; unset $ac_var;} ;;
2555 esac ;;
2556 esac
2557 done
2558 (set) 2>&1 |
2559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2560 *${as_nl}ac_space=\ *)
2561 sed -n \
2562 "s/'\''/'\''\\\\'\'''\''/g;
2563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2564 ;; #(
2565 *)
2566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2567 ;;
2568 esac |
2569 sort
2570 )
2571 echo
2572
2573 cat <<\_ASBOX
2574 ## ----------------- ##
2575 ## Output variables. ##
2576 ## ----------------- ##
2577 _ASBOX
2578 echo
2579 for ac_var in $ac_subst_vars
2580 do
2581 eval ac_val=\$$ac_var
2582 case $ac_val in
2583 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2584 esac
2585 $as_echo "$ac_var='\''$ac_val'\''"
2586 done | sort
2587 echo
2588
2589 if test -n "$ac_subst_files"; then
2590 cat <<\_ASBOX
2591 ## ------------------- ##
2592 ## File substitutions. ##
2593 ## ------------------- ##
2594 _ASBOX
2595 echo
2596 for ac_var in $ac_subst_files
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 fi
2606
2607 if test -s confdefs.h; then
2608 cat <<\_ASBOX
2609 ## ----------- ##
2610 ## confdefs.h. ##
2611 ## ----------- ##
2612 _ASBOX
2613 echo
2614 cat confdefs.h
2615 echo
2616 fi
2617 test "$ac_signal" != 0 &&
2618 $as_echo "$as_me: caught signal $ac_signal"
2619 $as_echo "$as_me: exit $exit_status"
2620 } >&5
2621 rm -f core *.core core.conftest.* &&
2622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2623 exit $exit_status
2624 ' 0
2625 for ac_signal in 1 2 13 15; do
2626 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2627 done
2628 ac_signal=0
2629
2630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2631 rm -f -r conftest* confdefs.h
2632
2633 $as_echo "/* confdefs.h */" > confdefs.h
2634
2635 # Predefined preprocessor variables.
2636
2637 cat >>confdefs.h <<_ACEOF
2638 #define PACKAGE_NAME "$PACKAGE_NAME"
2639 _ACEOF
2640
2641 cat >>confdefs.h <<_ACEOF
2642 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2643 _ACEOF
2644
2645 cat >>confdefs.h <<_ACEOF
2646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2647 _ACEOF
2648
2649 cat >>confdefs.h <<_ACEOF
2650 #define PACKAGE_STRING "$PACKAGE_STRING"
2651 _ACEOF
2652
2653 cat >>confdefs.h <<_ACEOF
2654 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2655 _ACEOF
2656
2657 cat >>confdefs.h <<_ACEOF
2658 #define PACKAGE_URL "$PACKAGE_URL"
2659 _ACEOF
2660
2661
2662 # Let the site file select an alternate cache file if it wants to.
2663 # Prefer an explicitly selected file to automatically selected ones.
2664 ac_site_file1=NONE
2665 ac_site_file2=NONE
2666 if test -n "$CONFIG_SITE"; then
2667 ac_site_file1=$CONFIG_SITE
2668 elif test "x$prefix" != xNONE; then
2669 ac_site_file1=$prefix/share/config.site
2670 ac_site_file2=$prefix/etc/config.site
2671 else
2672 ac_site_file1=$ac_default_prefix/share/config.site
2673 ac_site_file2=$ac_default_prefix/etc/config.site
2674 fi
2675 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2676 do
2677 test "x$ac_site_file" = xNONE && continue
2678 if test -r "$ac_site_file"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2680 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2681 sed 's/^/| /' "$ac_site_file" >&5
2682 . "$ac_site_file"
2683 fi
2684 done
2685
2686 if test -r "$cache_file"; then
2687 # Some versions of bash will fail to source /dev/null (special
2688 # files actually), so we avoid doing that.
2689 if test -f "$cache_file"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2691 $as_echo "$as_me: loading cache $cache_file" >&6;}
2692 case $cache_file in
2693 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2694 *) . "./$cache_file";;
2695 esac
2696 fi
2697 else
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2699 $as_echo "$as_me: creating cache $cache_file" >&6;}
2700 >$cache_file
2701 fi
2702
2703 # Check that the precious variables saved in the cache have kept the same
2704 # value.
2705 ac_cache_corrupted=false
2706 for ac_var in $ac_precious_vars; do
2707 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2708 eval ac_new_set=\$ac_env_${ac_var}_set
2709 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2710 eval ac_new_val=\$ac_env_${ac_var}_value
2711 case $ac_old_set,$ac_new_set in
2712 set,)
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2714 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2715 ac_cache_corrupted=: ;;
2716 ,set)
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2718 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2719 ac_cache_corrupted=: ;;
2720 ,);;
2721 *)
2722 if test "x$ac_old_val" != "x$ac_new_val"; then
2723 # differences in whitespace do not lead to failure.
2724 ac_old_val_w=`echo x $ac_old_val`
2725 ac_new_val_w=`echo x $ac_new_val`
2726 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2728 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2729 ac_cache_corrupted=:
2730 else
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2732 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2733 eval $ac_var=\$ac_old_val
2734 fi
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2736 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2738 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2739 fi;;
2740 esac
2741 # Pass precious variables to config.status.
2742 if test "$ac_new_set" = set; then
2743 case $ac_new_val in
2744 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2745 *) ac_arg=$ac_var=$ac_new_val ;;
2746 esac
2747 case " $ac_configure_args " in
2748 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2749 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2750 esac
2751 fi
2752 done
2753 if $ac_cache_corrupted; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2757 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2758 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2759 fi
2760 ## -------------------- ##
2761 ## Main body of script. ##
2762 ## -------------------- ##
2763
2764 ac_ext=c
2765 ac_cpp='$CPP $CPPFLAGS'
2766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2769
2770
2771
2772
2773
2774
2775 ac_config_headers="$ac_config_headers config.h"
2776
2777
2778 # This works around the fact that libtool configuration may change LD
2779 # for this particular configuration, but some shells, instead of
2780 # keeping the changes in LD private, export them just because LD is
2781 # exported. Only used at the end of this file.
2782 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2783
2784 # For libtool versioning info, format is CURRENT:REVISION:AGE
2785 libtool_VERSION=6:14:0
2786
2787
2788 # Find the rest of the source tree framework.
2789 # Default to --enable-multilib
2790 # Check whether --enable-multilib was given.
2791 if test "${enable_multilib+set}" = set; then :
2792 enableval=$enable_multilib; case "$enableval" in
2793 yes) multilib=yes ;;
2794 no) multilib=no ;;
2795 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2796 esac
2797 else
2798 multilib=yes
2799 fi
2800
2801
2802 # We may get other options which we leave undocumented:
2803 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2804 # See config-ml.in if you want the gory details.
2805
2806 if test "$srcdir" = "."; then
2807 if test "$with_target_subdir" != "."; then
2808 multi_basedir="$srcdir/$with_multisrctop../.."
2809 else
2810 multi_basedir="$srcdir/$with_multisrctop.."
2811 fi
2812 else
2813 multi_basedir="$srcdir/.."
2814 fi
2815
2816
2817 # Even if the default multilib is not a cross compilation,
2818 # it may be that some of the other multilibs are.
2819 if test $cross_compiling = no && test $multilib = yes \
2820 && test "x${with_multisubdir}" != x ; then
2821 cross_compiling=maybe
2822 fi
2823
2824 ac_config_commands="$ac_config_commands default-1"
2825
2826
2827 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2828 #
2829 # You will slowly go insane if you do not grok the following fact: when
2830 # building v3 as part of the compiler, the top-level /target/ becomes the
2831 # library's /host/. configure then causes --target to default to --host,
2832 # exactly like any other package using autoconf. Therefore, 'target' and
2833 # 'host' will always be the same. This makes sense both for native and
2834 # cross compilers, just think about it for a little while. :-)
2835 #
2836 # Also, if v3 is being configured as part of a cross compiler, the top-level
2837 # configure script will pass the "real" host as $with_cross_host.
2838 #
2839 # Do not delete or change the following two lines. For why, see
2840 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2841 ac_aux_dir=
2842 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2843 for ac_t in install-sh install.sh shtool; do
2844 if test -f "$ac_dir/$ac_t"; then
2845 ac_aux_dir=$ac_dir
2846 ac_install_sh="$ac_aux_dir/$ac_t -c"
2847 break 2
2848 fi
2849 done
2850 done
2851 if test -z "$ac_aux_dir"; then
2852 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2853 fi
2854
2855 # These three variables are undocumented and unsupported,
2856 # and are intended to be withdrawn in a future Autoconf release.
2857 # They can cause serious problems if a builder's source tree is in a directory
2858 # whose full name contains unusual characters.
2859 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2860 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2861 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2862
2863
2864 # Make sure we can run config.sub.
2865 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2866 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2867
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2869 $as_echo_n "checking build system type... " >&6; }
2870 if test "${ac_cv_build+set}" = set; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 ac_build_alias=$build_alias
2874 test "x$ac_build_alias" = x &&
2875 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2876 test "x$ac_build_alias" = x &&
2877 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2878 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2879 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2880
2881 fi
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2883 $as_echo "$ac_cv_build" >&6; }
2884 case $ac_cv_build in
2885 *-*-*) ;;
2886 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2887 esac
2888 build=$ac_cv_build
2889 ac_save_IFS=$IFS; IFS='-'
2890 set x $ac_cv_build
2891 shift
2892 build_cpu=$1
2893 build_vendor=$2
2894 shift; shift
2895 # Remember, the first character of IFS is used to create $*,
2896 # except with old shells:
2897 build_os=$*
2898 IFS=$ac_save_IFS
2899 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2900
2901
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2903 $as_echo_n "checking host system type... " >&6; }
2904 if test "${ac_cv_host+set}" = set; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 if test "x$host_alias" = x; then
2908 ac_cv_host=$ac_cv_build
2909 else
2910 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2911 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2912 fi
2913
2914 fi
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2916 $as_echo "$ac_cv_host" >&6; }
2917 case $ac_cv_host in
2918 *-*-*) ;;
2919 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2920 esac
2921 host=$ac_cv_host
2922 ac_save_IFS=$IFS; IFS='-'
2923 set x $ac_cv_host
2924 shift
2925 host_cpu=$1
2926 host_vendor=$2
2927 shift; shift
2928 # Remember, the first character of IFS is used to create $*,
2929 # except with old shells:
2930 host_os=$*
2931 IFS=$ac_save_IFS
2932 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2933
2934
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2936 $as_echo_n "checking target system type... " >&6; }
2937 if test "${ac_cv_target+set}" = set; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 if test "x$target_alias" = x; then
2941 ac_cv_target=$ac_cv_host
2942 else
2943 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2944 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2945 fi
2946
2947 fi
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2949 $as_echo "$ac_cv_target" >&6; }
2950 case $ac_cv_target in
2951 *-*-*) ;;
2952 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2953 esac
2954 target=$ac_cv_target
2955 ac_save_IFS=$IFS; IFS='-'
2956 set x $ac_cv_target
2957 shift
2958 target_cpu=$1
2959 target_vendor=$2
2960 shift; shift
2961 # Remember, the first character of IFS is used to create $*,
2962 # except with old shells:
2963 target_os=$*
2964 IFS=$ac_save_IFS
2965 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2966
2967
2968 # The aliases save the names the user supplied, while $host etc.
2969 # will get canonicalized.
2970 test -n "$target_alias" &&
2971 test "$program_prefix$program_suffix$program_transform_name" = \
2972 NONENONEs,x,x, &&
2973 program_prefix=${target_alias}-
2974
2975 target_alias=${target_alias-$host_alias}
2976
2977 # Handy for debugging:
2978 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2979
2980 if test "$build" != "$host"; then
2981 # We are being configured with some form of cross compiler.
2982 GLIBCXX_IS_NATIVE=false
2983 case "$host","$target" in
2984 # Darwin crosses can use the host system's libraries and headers,
2985 # because of the fat library support. Of course, it must be the
2986 # same version of Darwin on both sides. Allow the user to
2987 # just say --target=foo-darwin without a version number to mean
2988 # "the version on this system".
2989 *-*-darwin*,*-*-darwin*)
2990 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2991 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2992 if test $hostos = $targetos -o $targetos = darwin ; then
2993 GLIBCXX_IS_NATIVE=true
2994 fi
2995 ;;
2996
2997 *)
2998
2999 ;;
3000 esac
3001 else
3002 GLIBCXX_IS_NATIVE=true
3003 fi
3004
3005 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3006 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3007 # 1.x: minimum required version
3008 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3009 # of other PACKAGE_* variables will, however, and there's nothing
3010 # we can do about that; they come from AC_INIT).
3011 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3012 # file in the top srcdir, etc, etc), so stop complaining.
3013 # no-dependencies: turns off auto dependency generation (just for now)
3014 # -Wall: turns on all automake warnings...
3015 # -Wno-portability: ...except this one, since GNU make is now required.
3016 am__api_version='1.11'
3017
3018 # Find a good install program. We prefer a C program (faster),
3019 # so one script is as good as another. But avoid the broken or
3020 # incompatible versions:
3021 # SysV /etc/install, /usr/sbin/install
3022 # SunOS /usr/etc/install
3023 # IRIX /sbin/install
3024 # AIX /bin/install
3025 # AmigaOS /C/install, which installs bootblocks on floppy discs
3026 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3027 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3028 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3029 # OS/2's system install, which has a completely different semantic
3030 # ./install, which can be erroneously created by make from ./install.sh.
3031 # Reject install programs that cannot install multiple files.
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3033 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3034 if test -z "$INSTALL"; then
3035 if test "${ac_cv_path_install+set}" = set; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 for as_dir in $PATH
3040 do
3041 IFS=$as_save_IFS
3042 test -z "$as_dir" && as_dir=.
3043 # Account for people who put trailing slashes in PATH elements.
3044 case $as_dir/ in #((
3045 ./ | .// | /[cC]/* | \
3046 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3047 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3048 /usr/ucb/* ) ;;
3049 *)
3050 # OSF1 and SCO ODT 3.0 have their own names for install.
3051 # Don't use installbsd from OSF since it installs stuff as root
3052 # by default.
3053 for ac_prog in ginstall scoinst install; do
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3056 if test $ac_prog = install &&
3057 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3058 # AIX install. It has an incompatible calling convention.
3059 :
3060 elif test $ac_prog = install &&
3061 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3062 # program-specific install script used by HP pwplus--don't use.
3063 :
3064 else
3065 rm -rf conftest.one conftest.two conftest.dir
3066 echo one > conftest.one
3067 echo two > conftest.two
3068 mkdir conftest.dir
3069 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3070 test -s conftest.one && test -s conftest.two &&
3071 test -s conftest.dir/conftest.one &&
3072 test -s conftest.dir/conftest.two
3073 then
3074 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3075 break 3
3076 fi
3077 fi
3078 fi
3079 done
3080 done
3081 ;;
3082 esac
3083
3084 done
3085 IFS=$as_save_IFS
3086
3087 rm -rf conftest.one conftest.two conftest.dir
3088
3089 fi
3090 if test "${ac_cv_path_install+set}" = set; then
3091 INSTALL=$ac_cv_path_install
3092 else
3093 # As a last resort, use the slow shell script. Don't cache a
3094 # value for INSTALL within a source directory, because that will
3095 # break other packages using the cache if that directory is
3096 # removed, or if the value is a relative name.
3097 INSTALL=$ac_install_sh
3098 fi
3099 fi
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3101 $as_echo "$INSTALL" >&6; }
3102
3103 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3104 # It thinks the first close brace ends the variable substitution.
3105 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3106
3107 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3108
3109 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3110
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3112 $as_echo_n "checking whether build environment is sane... " >&6; }
3113 # Just in case
3114 sleep 1
3115 echo timestamp > conftest.file
3116 # Reject unsafe characters in $srcdir or the absolute working directory
3117 # name. Accept space and tab only in the latter.
3118 am_lf='
3119 '
3120 case `pwd` in
3121 *[\\\"\#\$\&\'\`$am_lf]*)
3122 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3123 esac
3124 case $srcdir in
3125 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3126 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3127 esac
3128
3129 # Do `set' in a subshell so we don't clobber the current shell's
3130 # arguments. Must try -L first in case configure is actually a
3131 # symlink; some systems play weird games with the mod time of symlinks
3132 # (eg FreeBSD returns the mod time of the symlink's containing
3133 # directory).
3134 if (
3135 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3136 if test "$*" = "X"; then
3137 # -L didn't work.
3138 set X `ls -t "$srcdir/configure" conftest.file`
3139 fi
3140 rm -f conftest.file
3141 if test "$*" != "X $srcdir/configure conftest.file" \
3142 && test "$*" != "X conftest.file $srcdir/configure"; then
3143
3144 # If neither matched, then we have a broken ls. This can happen
3145 # if, for instance, CONFIG_SHELL is bash and it inherits a
3146 # broken ls alias from the environment. This has actually
3147 # happened. Such a system could not be considered "sane".
3148 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3149 alias in your environment" "$LINENO" 5
3150 fi
3151
3152 test "$2" = conftest.file
3153 )
3154 then
3155 # Ok.
3156 :
3157 else
3158 as_fn_error "newly created file is older than distributed files!
3159 Check your system clock" "$LINENO" 5
3160 fi
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3162 $as_echo "yes" >&6; }
3163 test "$program_prefix" != NONE &&
3164 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3165 # Use a double $ so make ignores it.
3166 test "$program_suffix" != NONE &&
3167 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3168 # Double any \ or $.
3169 # By default was `s,x,x', remove it if useless.
3170 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3171 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3172
3173 # expand $ac_aux_dir to an absolute path
3174 am_aux_dir=`cd $ac_aux_dir && pwd`
3175
3176 if test x"${MISSING+set}" != xset; then
3177 case $am_aux_dir in
3178 *\ * | *\ *)
3179 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3180 *)
3181 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3182 esac
3183 fi
3184 # Use eval to expand $SHELL
3185 if eval "$MISSING --run true"; then
3186 am_missing_run="$MISSING --run "
3187 else
3188 am_missing_run=
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3190 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3191 fi
3192
3193 if test x"${install_sh}" != xset; then
3194 case $am_aux_dir in
3195 *\ * | *\ *)
3196 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3197 *)
3198 install_sh="\${SHELL} $am_aux_dir/install-sh"
3199 esac
3200 fi
3201
3202 # Installed binaries are usually stripped using `strip' when the user
3203 # run `make install-strip'. However `strip' might not be the right
3204 # tool to use in cross-compilation environments, therefore Automake
3205 # will honor the `STRIP' environment variable to overrule this program.
3206 if test "$cross_compiling" != no; then
3207 if test -n "$ac_tool_prefix"; then
3208 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3209 set dummy ${ac_tool_prefix}strip; ac_word=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if test "${ac_cv_prog_STRIP+set}" = set; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 if test -n "$STRIP"; then
3216 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3217 else
3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 for as_dir in $PATH
3220 do
3221 IFS=$as_save_IFS
3222 test -z "$as_dir" && as_dir=.
3223 for ac_exec_ext in '' $ac_executable_extensions; do
3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 break 2
3228 fi
3229 done
3230 done
3231 IFS=$as_save_IFS
3232
3233 fi
3234 fi
3235 STRIP=$ac_cv_prog_STRIP
3236 if test -n "$STRIP"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3238 $as_echo "$STRIP" >&6; }
3239 else
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3242 fi
3243
3244
3245 fi
3246 if test -z "$ac_cv_prog_STRIP"; then
3247 ac_ct_STRIP=$STRIP
3248 # Extract the first word of "strip", so it can be a program name with args.
3249 set dummy strip; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3254 else
3255 if test -n "$ac_ct_STRIP"; then
3256 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3257 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH
3260 do
3261 IFS=$as_save_IFS
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_ac_ct_STRIP="strip"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 break 2
3268 fi
3269 done
3270 done
3271 IFS=$as_save_IFS
3272
3273 fi
3274 fi
3275 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3276 if test -n "$ac_ct_STRIP"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3278 $as_echo "$ac_ct_STRIP" >&6; }
3279 else
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 fi
3283
3284 if test "x$ac_ct_STRIP" = x; then
3285 STRIP=":"
3286 else
3287 case $cross_compiling:$ac_tool_warned in
3288 yes:)
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3291 ac_tool_warned=yes ;;
3292 esac
3293 STRIP=$ac_ct_STRIP
3294 fi
3295 else
3296 STRIP="$ac_cv_prog_STRIP"
3297 fi
3298
3299 fi
3300 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3301
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3303 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3304 if test -z "$MKDIR_P"; then
3305 if test "${ac_cv_path_mkdir+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3307 else
3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3310 do
3311 IFS=$as_save_IFS
3312 test -z "$as_dir" && as_dir=.
3313 for ac_prog in mkdir gmkdir; do
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3316 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3317 'mkdir (GNU coreutils) '* | \
3318 'mkdir (coreutils) '* | \
3319 'mkdir (fileutils) '4.1*)
3320 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3321 break 3;;
3322 esac
3323 done
3324 done
3325 done
3326 IFS=$as_save_IFS
3327
3328 fi
3329
3330 if test "${ac_cv_path_mkdir+set}" = set; then
3331 MKDIR_P="$ac_cv_path_mkdir -p"
3332 else
3333 # As a last resort, use the slow shell script. Don't cache a
3334 # value for MKDIR_P within a source directory, because that will
3335 # break other packages using the cache if that directory is
3336 # removed, or if the value is a relative name.
3337 test -d ./--version && rmdir ./--version
3338 MKDIR_P="$ac_install_sh -d"
3339 fi
3340 fi
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3342 $as_echo "$MKDIR_P" >&6; }
3343
3344 mkdir_p="$MKDIR_P"
3345 case $mkdir_p in
3346 [\\/$]* | ?:[\\/]*) ;;
3347 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3348 esac
3349
3350 for ac_prog in gawk mawk nawk awk
3351 do
3352 # Extract the first word of "$ac_prog", so it can be a program name with args.
3353 set dummy $ac_prog; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_AWK+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 if test -n "$AWK"; then
3360 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3364 do
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_AWK="$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 break 2
3372 fi
3373 done
3374 done
3375 IFS=$as_save_IFS
3376
3377 fi
3378 fi
3379 AWK=$ac_cv_prog_AWK
3380 if test -n "$AWK"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3382 $as_echo "$AWK" >&6; }
3383 else
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3386 fi
3387
3388
3389 test -n "$AWK" && break
3390 done
3391
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3394 set x ${MAKE-make}
3395 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3396 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 cat >conftest.make <<\_ACEOF
3400 SHELL = /bin/sh
3401 all:
3402 @echo '@@@%%%=$(MAKE)=@@@%%%'
3403 _ACEOF
3404 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3406 *@@@%%%=?*=@@@%%%*)
3407 eval ac_cv_prog_make_${ac_make}_set=yes;;
3408 *)
3409 eval ac_cv_prog_make_${ac_make}_set=no;;
3410 esac
3411 rm -f conftest.make
3412 fi
3413 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3415 $as_echo "yes" >&6; }
3416 SET_MAKE=
3417 else
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3420 SET_MAKE="MAKE=${MAKE-make}"
3421 fi
3422
3423 rm -rf .tst 2>/dev/null
3424 mkdir .tst 2>/dev/null
3425 if test -d .tst; then
3426 am__leading_dot=.
3427 else
3428 am__leading_dot=_
3429 fi
3430 rmdir .tst 2>/dev/null
3431
3432 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3433 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3434 # is not polluted with repeated "-I."
3435 am__isrc=' -I$(srcdir)'
3436 # test to see if srcdir already configured
3437 if test -f $srcdir/config.status; then
3438 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3439 fi
3440 fi
3441
3442 # test whether we have cygpath
3443 if test -z "$CYGPATH_W"; then
3444 if (cygpath --version) >/dev/null 2>/dev/null; then
3445 CYGPATH_W='cygpath -w'
3446 else
3447 CYGPATH_W=echo
3448 fi
3449 fi
3450
3451
3452 # Define the identity of the package.
3453 PACKAGE='libstdc++'
3454 VERSION='version-unused'
3455
3456
3457 # Some tools Automake needs.
3458
3459 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3460
3461
3462 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3463
3464
3465 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3466
3467
3468 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3469
3470
3471 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3472
3473 # We need awk for the "check" target. The system "awk" is bad on
3474 # some platforms.
3475 # Always define AMTAR for backward compatibility.
3476
3477 AMTAR=${AMTAR-"${am_missing_run}tar"}
3478
3479 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3480
3481
3482
3483
3484
3485
3486
3487
3488 # We're almost certainly being configured before anything else which uses
3489 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
3490 # we not cache the value of CXX that we "discover" here, because it's set
3491 # to something unique for us and libjava. Other target libraries need to
3492 # find CXX for themselves. We yank the rug out from under the normal AC_*
3493 # process by sneakily renaming the cache variable. This also lets us debug
3494 # the value of "our" CXX in postmortems.
3495 #
3496 # We must also force CXX to /not/ be a precious variable, otherwise the
3497 # wrong (non-multilib-adjusted) value will be used in multilibs. This
3498 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
3499 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
3500 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
3501 #
3502 # -fno-builtin must be present here so that a non-conflicting form of
3503 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3504
3505
3506
3507
3508 save_CXXFLAGS="$CXXFLAGS"
3509 CXXFLAGS="$CXXFLAGS -fno-builtin"
3510 ac_ext=c
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3515 if test -n "$ac_tool_prefix"; then
3516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if test "${ac_cv_prog_CC+set}" = set; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 if test -n "$CC"; then
3524 ac_cv_prog_CC="$CC" # Let the user override the test.
3525 else
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 for as_dir in $PATH
3528 do
3529 IFS=$as_save_IFS
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 break 2
3536 fi
3537 done
3538 done
3539 IFS=$as_save_IFS
3540
3541 fi
3542 fi
3543 CC=$ac_cv_prog_CC
3544 if test -n "$CC"; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3546 $as_echo "$CC" >&6; }
3547 else
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3550 fi
3551
3552
3553 fi
3554 if test -z "$ac_cv_prog_CC"; then
3555 ac_ct_CC=$CC
3556 # Extract the first word of "gcc", so it can be a program name with args.
3557 set dummy gcc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 if test -n "$ac_ct_CC"; then
3564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3568 do
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_ac_ct_CC="gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3576 fi
3577 done
3578 done
3579 IFS=$as_save_IFS
3580
3581 fi
3582 fi
3583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3584 if test -n "$ac_ct_CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3586 $as_echo "$ac_ct_CC" >&6; }
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3590 fi
3591
3592 if test "x$ac_ct_CC" = x; then
3593 CC=""
3594 else
3595 case $cross_compiling:$ac_tool_warned in
3596 yes:)
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3599 ac_tool_warned=yes ;;
3600 esac
3601 CC=$ac_ct_CC
3602 fi
3603 else
3604 CC="$ac_cv_prog_CC"
3605 fi
3606
3607 if test -z "$CC"; then
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3610 set dummy ${ac_tool_prefix}cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3621 do
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_CC="${ac_tool_prefix}cc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3629 fi
3630 done
3631 done
3632 IFS=$as_save_IFS
3633
3634 fi
3635 fi
3636 CC=$ac_cv_prog_CC
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3643 fi
3644
3645
3646 fi
3647 fi
3648 if test -z "$CC"; then
3649 # Extract the first word of "cc", so it can be a program name with args.
3650 set dummy cc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_CC+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3658 else
3659 ac_prog_rejected=no
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3662 do
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3668 ac_prog_rejected=yes
3669 continue
3670 fi
3671 ac_cv_prog_CC="cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 break 2
3674 fi
3675 done
3676 done
3677 IFS=$as_save_IFS
3678
3679 if test $ac_prog_rejected = yes; then
3680 # We found a bogon in the path, so make sure we never use it.
3681 set dummy $ac_cv_prog_CC
3682 shift
3683 if test $# != 0; then
3684 # We chose a different compiler from the bogus one.
3685 # However, it has the same basename, so the bogon will be chosen
3686 # first if we set CC to just the basename; use the full file name.
3687 shift
3688 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3689 fi
3690 fi
3691 fi
3692 fi
3693 CC=$ac_cv_prog_CC
3694 if test -n "$CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3697 else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3700 fi
3701
3702
3703 fi
3704 if test -z "$CC"; then
3705 if test -n "$ac_tool_prefix"; then
3706 for ac_prog in cl.exe
3707 do
3708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3720 do
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3728 fi
3729 done
3730 done
3731 IFS=$as_save_IFS
3732
3733 fi
3734 fi
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3742 fi
3743
3744
3745 test -n "$CC" && break
3746 done
3747 fi
3748 if test -z "$CC"; then
3749 ac_ct_CC=$CC
3750 for ac_prog in cl.exe
3751 do
3752 # Extract the first word of "$ac_prog", so it can be a program name with args.
3753 set dummy $ac_prog; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 if test -n "$ac_ct_CC"; then
3760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3764 do
3765 IFS=$as_save_IFS
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_ac_ct_CC="$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 break 2
3772 fi
3773 done
3774 done
3775 IFS=$as_save_IFS
3776
3777 fi
3778 fi
3779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3780 if test -n "$ac_ct_CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3782 $as_echo "$ac_ct_CC" >&6; }
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3786 fi
3787
3788
3789 test -n "$ac_ct_CC" && break
3790 done
3791
3792 if test "x$ac_ct_CC" = x; then
3793 CC=""
3794 else
3795 case $cross_compiling:$ac_tool_warned in
3796 yes:)
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3799 ac_tool_warned=yes ;;
3800 esac
3801 CC=$ac_ct_CC
3802 fi
3803 fi
3804
3805 fi
3806
3807
3808 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3810 as_fn_error "no acceptable C compiler found in \$PATH
3811 See \`config.log' for more details." "$LINENO" 5; }
3812
3813 # Provide some information about the compiler.
3814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3815 set X $ac_compile
3816 ac_compiler=$2
3817 for ac_option in --version -v -V -qversion; do
3818 { { ac_try="$ac_compiler $ac_option >&5"
3819 case "(($ac_try" in
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3822 esac
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3826 ac_status=$?
3827 if test -s conftest.err; then
3828 sed '10a\
3829 ... rest of stderr output deleted ...
3830 10q' conftest.err >conftest.er1
3831 cat conftest.er1 >&5
3832 rm -f conftest.er1 conftest.err
3833 fi
3834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3835 test $ac_status = 0; }
3836 done
3837
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3840
3841 int
3842 main ()
3843 {
3844
3845 ;
3846 return 0;
3847 }
3848 _ACEOF
3849 # FIXME: Cleanup?
3850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3851 (eval $ac_link) 2>&5
3852 ac_status=$?
3853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854 test $ac_status = 0; }; then :
3855 gcc_no_link=no
3856 else
3857 gcc_no_link=yes
3858 fi
3859 if test x$gcc_no_link = xyes; then
3860 # Setting cross_compile will disable run tests; it will
3861 # also disable AC_CHECK_FILE but that's generally
3862 # correct if we can't link.
3863 cross_compiling=yes
3864 EXEEXT=
3865 else
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3868
3869 int
3870 main ()
3871 {
3872
3873 ;
3874 return 0;
3875 }
3876 _ACEOF
3877 ac_clean_files_save=$ac_clean_files
3878 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3879 # Try to create an executable without -o first, disregard a.out.
3880 # It will help us diagnose broken compilers, and finding out an intuition
3881 # of exeext.
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3883 $as_echo_n "checking for C compiler default output file name... " >&6; }
3884 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3885
3886 # The possible output files:
3887 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3888
3889 ac_rmfiles=
3890 for ac_file in $ac_files
3891 do
3892 case $ac_file in
3893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3894 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3895 esac
3896 done
3897 rm -f $ac_rmfiles
3898
3899 if { { ac_try="$ac_link_default"
3900 case "(($ac_try" in
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3903 esac
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_link_default") 2>&5
3907 ac_status=$?
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3911 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3912 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3913 # so that the user can short-circuit this test for compilers unknown to
3914 # Autoconf.
3915 for ac_file in $ac_files ''
3916 do
3917 test -f "$ac_file" || continue
3918 case $ac_file in
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3920 ;;
3921 [ab].out )
3922 # We found the default executable, but exeext='' is most
3923 # certainly right.
3924 break;;
3925 *.* )
3926 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3927 then :; else
3928 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3929 fi
3930 # We set ac_cv_exeext here because the later test for it is not
3931 # safe: cross compilers may not add the suffix if given an `-o'
3932 # argument, so we may need to know it at that point already.
3933 # Even if this section looks crufty: it has the advantage of
3934 # actually working.
3935 break;;
3936 * )
3937 break;;
3938 esac
3939 done
3940 test "$ac_cv_exeext" = no && ac_cv_exeext=
3941
3942 else
3943 ac_file=''
3944 fi
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3946 $as_echo "$ac_file" >&6; }
3947 if test -z "$ac_file"; then :
3948 $as_echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.$ac_ext >&5
3950
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953 { as_fn_set_status 77
3954 as_fn_error "C compiler cannot create executables
3955 See \`config.log' for more details." "$LINENO" 5; }; }
3956 fi
3957 ac_exeext=$ac_cv_exeext
3958
3959 # Check that the compiler produces executables we can run. If not, either
3960 # the compiler is broken, or we cross compile.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3962 $as_echo_n "checking whether the C compiler works... " >&6; }
3963 # If not cross compiling, check that we can run a simple program.
3964 if test "$cross_compiling" != yes; then
3965 if { ac_try='./$ac_file'
3966 { { case "(($ac_try" in
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3969 esac
3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 $as_echo "$ac_try_echo"; } >&5
3972 (eval "$ac_try") 2>&5
3973 ac_status=$?
3974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 test $ac_status = 0; }; }; then
3976 cross_compiling=no
3977 else
3978 if test "$cross_compiling" = maybe; then
3979 cross_compiling=yes
3980 else
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error "cannot run C compiled programs.
3984 If you meant to cross compile, use \`--host'.
3985 See \`config.log' for more details." "$LINENO" 5; }
3986 fi
3987 fi
3988 fi
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3991
3992 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3993 ac_clean_files=$ac_clean_files_save
3994 # Check that the compiler produces executables we can run. If not, either
3995 # the compiler is broken, or we cross compile.
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3997 $as_echo_n "checking whether we are cross compiling... " >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3999 $as_echo "$cross_compiling" >&6; }
4000
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4002 $as_echo_n "checking for suffix of executables... " >&6; }
4003 if { { ac_try="$ac_link"
4004 case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_link") 2>&5
4011 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; then :
4014 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4015 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4016 # work properly (i.e., refer to `conftest.exe'), while it won't with
4017 # `rm'.
4018 for ac_file in conftest.exe conftest conftest.*; do
4019 test -f "$ac_file" || continue
4020 case $ac_file in
4021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4022 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 break;;
4024 * ) break;;
4025 esac
4026 done
4027 else
4028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error "cannot compute suffix of executables: cannot compile and link
4031 See \`config.log' for more details." "$LINENO" 5; }
4032 fi
4033 rm -f conftest$ac_cv_exeext
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4035 $as_echo "$ac_cv_exeext" >&6; }
4036
4037 rm -f conftest.$ac_ext
4038 EXEEXT=$ac_cv_exeext
4039 ac_exeext=$EXEEXT
4040 fi
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4042 $as_echo_n "checking for suffix of object files... " >&6; }
4043 if test "${ac_cv_objext+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4048
4049 int
4050 main ()
4051 {
4052
4053 ;
4054 return 0;
4055 }
4056 _ACEOF
4057 rm -f conftest.o conftest.obj
4058 if { { ac_try="$ac_compile"
4059 case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_compile") 2>&5
4066 ac_status=$?
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; then :
4069 for ac_file in conftest.o conftest.obj conftest.*; do
4070 test -f "$ac_file" || continue;
4071 case $ac_file in
4072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4074 break;;
4075 esac
4076 done
4077 else
4078 $as_echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4080
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of object files: cannot compile
4084 See \`config.log' for more details." "$LINENO" 5; }
4085 fi
4086 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4087 fi
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4089 $as_echo "$ac_cv_objext" >&6; }
4090 OBJEXT=$ac_cv_objext
4091 ac_objext=$OBJEXT
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4093 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4094 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4099
4100 int
4101 main ()
4102 {
4103 #ifndef __GNUC__
4104 choke me
4105 #endif
4106
4107 ;
4108 return 0;
4109 }
4110 _ACEOF
4111 if ac_fn_c_try_compile "$LINENO"; then :
4112 ac_compiler_gnu=yes
4113 else
4114 ac_compiler_gnu=no
4115 fi
4116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4118
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4121 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4122 if test $ac_compiler_gnu = yes; then
4123 GCC=yes
4124 else
4125 GCC=
4126 fi
4127 ac_test_CFLAGS=${CFLAGS+set}
4128 ac_save_CFLAGS=$CFLAGS
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4130 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4131 if test "${ac_cv_prog_cc_g+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 ac_save_c_werror_flag=$ac_c_werror_flag
4135 ac_c_werror_flag=yes
4136 ac_cv_prog_cc_g=no
4137 CFLAGS="-g"
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140
4141 int
4142 main ()
4143 {
4144
4145 ;
4146 return 0;
4147 }
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150 ac_cv_prog_cc_g=yes
4151 else
4152 CFLAGS=""
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4155
4156 int
4157 main ()
4158 {
4159
4160 ;
4161 return 0;
4162 }
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165
4166 else
4167 ac_c_werror_flag=$ac_save_c_werror_flag
4168 CFLAGS="-g"
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4171
4172 int
4173 main ()
4174 {
4175
4176 ;
4177 return 0;
4178 }
4179 _ACEOF
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181 ac_cv_prog_cc_g=yes
4182 fi
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 fi
4185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4186 fi
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 ac_c_werror_flag=$ac_save_c_werror_flag
4189 fi
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4191 $as_echo "$ac_cv_prog_cc_g" >&6; }
4192 if test "$ac_test_CFLAGS" = set; then
4193 CFLAGS=$ac_save_CFLAGS
4194 elif test $ac_cv_prog_cc_g = yes; then
4195 if test "$GCC" = yes; then
4196 CFLAGS="-g -O2"
4197 else
4198 CFLAGS="-g"
4199 fi
4200 else
4201 if test "$GCC" = yes; then
4202 CFLAGS="-O2"
4203 else
4204 CFLAGS=
4205 fi
4206 fi
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4208 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4209 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 ac_cv_prog_cc_c89=no
4213 ac_save_CC=$CC
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4216 #include <stdarg.h>
4217 #include <stdio.h>
4218 #include <sys/types.h>
4219 #include <sys/stat.h>
4220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4221 struct buf { int x; };
4222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4223 static char *e (p, i)
4224 char **p;
4225 int i;
4226 {
4227 return p[i];
4228 }
4229 static char *f (char * (*g) (char **, int), char **p, ...)
4230 {
4231 char *s;
4232 va_list v;
4233 va_start (v,p);
4234 s = g (p, va_arg (v,int));
4235 va_end (v);
4236 return s;
4237 }
4238
4239 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4240 function prototypes and stuff, but not '\xHH' hex character constants.
4241 These don't provoke an error unfortunately, instead are silently treated
4242 as 'x'. The following induces an error, until -std is added to get
4243 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4244 array size at least. It's necessary to write '\x00'==0 to get something
4245 that's true only with -std. */
4246 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4247
4248 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4249 inside strings and character constants. */
4250 #define FOO(x) 'x'
4251 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4252
4253 int test (int i, double x);
4254 struct s1 {int (*f) (int a);};
4255 struct s2 {int (*f) (double a);};
4256 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4257 int argc;
4258 char **argv;
4259 int
4260 main ()
4261 {
4262 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4263 ;
4264 return 0;
4265 }
4266 _ACEOF
4267 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4268 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4269 do
4270 CC="$ac_save_CC $ac_arg"
4271 if ac_fn_c_try_compile "$LINENO"; then :
4272 ac_cv_prog_cc_c89=$ac_arg
4273 fi
4274 rm -f core conftest.err conftest.$ac_objext
4275 test "x$ac_cv_prog_cc_c89" != "xno" && break
4276 done
4277 rm -f conftest.$ac_ext
4278 CC=$ac_save_CC
4279
4280 fi
4281 # AC_CACHE_VAL
4282 case "x$ac_cv_prog_cc_c89" in
4283 x)
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4285 $as_echo "none needed" >&6; } ;;
4286 xno)
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4288 $as_echo "unsupported" >&6; } ;;
4289 *)
4290 CC="$CC $ac_cv_prog_cc_c89"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4292 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4293 esac
4294 if test "x$ac_cv_prog_cc_c89" != xno; then :
4295
4296 fi
4297
4298 ac_ext=c
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303
4304 ac_ext=cpp
4305 ac_cpp='$CXXCPP $CPPFLAGS'
4306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4309 if test -z "$CXX"; then
4310 if test -n "$CCC"; then
4311 CXX=$CCC
4312 else
4313 if test -n "$ac_tool_prefix"; then
4314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4315 do
4316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if test "${glibcxx_cv_prog_CXX+set}" = set; then :
4321 $as_echo_n "(cached) " >&6
4322 else
4323 if test -n "$CXX"; then
4324 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
4325 else
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH
4328 do
4329 IFS=$as_save_IFS
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 break 2
4336 fi
4337 done
4338 done
4339 IFS=$as_save_IFS
4340
4341 fi
4342 fi
4343 CXX=$glibcxx_cv_prog_CXX
4344 if test -n "$CXX"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4346 $as_echo "$CXX" >&6; }
4347 else
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4350 fi
4351
4352
4353 test -n "$CXX" && break
4354 done
4355 fi
4356 if test -z "$CXX"; then
4357 ac_ct_CXX=$CXX
4358 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4359 do
4360 # Extract the first word of "$ac_prog", so it can be a program name with args.
4361 set dummy $ac_prog; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 if test -n "$ac_ct_CXX"; then
4368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4369 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH
4372 do
4373 IFS=$as_save_IFS
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377 ac_cv_prog_ac_ct_CXX="$ac_prog"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 break 2
4380 fi
4381 done
4382 done
4383 IFS=$as_save_IFS
4384
4385 fi
4386 fi
4387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4388 if test -n "$ac_ct_CXX"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4390 $as_echo "$ac_ct_CXX" >&6; }
4391 else
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4394 fi
4395
4396
4397 test -n "$ac_ct_CXX" && break
4398 done
4399
4400 if test "x$ac_ct_CXX" = x; then
4401 CXX="g++"
4402 else
4403 case $cross_compiling:$ac_tool_warned in
4404 yes:)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4407 ac_tool_warned=yes ;;
4408 esac
4409 CXX=$ac_ct_CXX
4410 fi
4411 fi
4412
4413 fi
4414 fi
4415 # Provide some information about the compiler.
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4417 set X $ac_compile
4418 ac_compiler=$2
4419 for ac_option in --version -v -V -qversion; do
4420 { { ac_try="$ac_compiler $ac_option >&5"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4428 ac_status=$?
4429 if test -s conftest.err; then
4430 sed '10a\
4431 ... rest of stderr output deleted ...
4432 10q' conftest.err >conftest.er1
4433 cat conftest.er1 >&5
4434 rm -f conftest.er1 conftest.err
4435 fi
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }
4438 done
4439
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4442 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4447
4448 int
4449 main ()
4450 {
4451 #ifndef __GNUC__
4452 choke me
4453 #endif
4454
4455 ;
4456 return 0;
4457 }
4458 _ACEOF
4459 if ac_fn_cxx_try_compile "$LINENO"; then :
4460 ac_compiler_gnu=yes
4461 else
4462 ac_compiler_gnu=no
4463 fi
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4466
4467 fi
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4470 if test $ac_compiler_gnu = yes; then
4471 GXX=yes
4472 else
4473 GXX=
4474 fi
4475 ac_test_CXXFLAGS=${CXXFLAGS+set}
4476 ac_save_CXXFLAGS=$CXXFLAGS
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4478 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4479 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4483 ac_cxx_werror_flag=yes
4484 ac_cv_prog_cxx_g=no
4485 CXXFLAGS="-g"
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488
4489 int
4490 main ()
4491 {
4492
4493 ;
4494 return 0;
4495 }
4496 _ACEOF
4497 if ac_fn_cxx_try_compile "$LINENO"; then :
4498 ac_cv_prog_cxx_g=yes
4499 else
4500 CXXFLAGS=""
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4503
4504 int
4505 main ()
4506 {
4507
4508 ;
4509 return 0;
4510 }
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4513
4514 else
4515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4516 CXXFLAGS="-g"
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4519
4520 int
4521 main ()
4522 {
4523
4524 ;
4525 return 0;
4526 }
4527 _ACEOF
4528 if ac_fn_cxx_try_compile "$LINENO"; then :
4529 ac_cv_prog_cxx_g=yes
4530 fi
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532 fi
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 fi
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4537 fi
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4539 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4540 if test "$ac_test_CXXFLAGS" = set; then
4541 CXXFLAGS=$ac_save_CXXFLAGS
4542 elif test $ac_cv_prog_cxx_g = yes; then
4543 if test "$GXX" = yes; then
4544 CXXFLAGS="-g -O2"
4545 else
4546 CXXFLAGS="-g"
4547 fi
4548 else
4549 if test "$GXX" = yes; then
4550 CXXFLAGS="-O2"
4551 else
4552 CXXFLAGS=
4553 fi
4554 fi
4555 ac_ext=c
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4560
4561 CXXFLAGS="$save_CXXFLAGS"
4562
4563
4564
4565
4566 # Runs configure.host, and assorted other critical bits. Sets
4567 # up critical shell variables.
4568
4569 ac_ext=c
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4575 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4576 # On Suns, sometimes $CPP names a directory.
4577 if test -n "$CPP" && test -d "$CPP"; then
4578 CPP=
4579 fi
4580 if test -z "$CPP"; then
4581 if test "${ac_cv_prog_CPP+set}" = set; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 # Double quotes because CPP needs to be expanded
4585 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4586 do
4587 ac_preproc_ok=false
4588 for ac_c_preproc_warn_flag in '' yes
4589 do
4590 # Use a header file that comes with gcc, so configuring glibc
4591 # with a fresh cross-compiler works.
4592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4593 # <limits.h> exists even on freestanding compilers.
4594 # On the NeXT, cc -E runs the code through the compiler's parser,
4595 # not just through cpp. "Syntax error" is here to catch this case.
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4598 #ifdef __STDC__
4599 # include <limits.h>
4600 #else
4601 # include <assert.h>
4602 #endif
4603 Syntax error
4604 _ACEOF
4605 if ac_fn_c_try_cpp "$LINENO"; then :
4606
4607 else
4608 # Broken: fails on valid input.
4609 continue
4610 fi
4611 rm -f conftest.err conftest.$ac_ext
4612
4613 # OK, works on sane cases. Now check whether nonexistent headers
4614 # can be detected and how.
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4617 #include <ac_nonexistent.h>
4618 _ACEOF
4619 if ac_fn_c_try_cpp "$LINENO"; then :
4620 # Broken: success on invalid input.
4621 continue
4622 else
4623 # Passes both tests.
4624 ac_preproc_ok=:
4625 break
4626 fi
4627 rm -f conftest.err conftest.$ac_ext
4628
4629 done
4630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4631 rm -f conftest.err conftest.$ac_ext
4632 if $ac_preproc_ok; then :
4633 break
4634 fi
4635
4636 done
4637 ac_cv_prog_CPP=$CPP
4638
4639 fi
4640 CPP=$ac_cv_prog_CPP
4641 else
4642 ac_cv_prog_CPP=$CPP
4643 fi
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4645 $as_echo "$CPP" >&6; }
4646 ac_preproc_ok=false
4647 for ac_c_preproc_warn_flag in '' yes
4648 do
4649 # Use a header file that comes with gcc, so configuring glibc
4650 # with a fresh cross-compiler works.
4651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 # <limits.h> exists even on freestanding compilers.
4653 # On the NeXT, cc -E runs the code through the compiler's parser,
4654 # not just through cpp. "Syntax error" is here to catch this case.
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4657 #ifdef __STDC__
4658 # include <limits.h>
4659 #else
4660 # include <assert.h>
4661 #endif
4662 Syntax error
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665
4666 else
4667 # Broken: fails on valid input.
4668 continue
4669 fi
4670 rm -f conftest.err conftest.$ac_ext
4671
4672 # OK, works on sane cases. Now check whether nonexistent headers
4673 # can be detected and how.
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4676 #include <ac_nonexistent.h>
4677 _ACEOF
4678 if ac_fn_c_try_cpp "$LINENO"; then :
4679 # Broken: success on invalid input.
4680 continue
4681 else
4682 # Passes both tests.
4683 ac_preproc_ok=:
4684 break
4685 fi
4686 rm -f conftest.err conftest.$ac_ext
4687
4688 done
4689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4690 rm -f conftest.err conftest.$ac_ext
4691 if $ac_preproc_ok; then :
4692
4693 else
4694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4696 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4697 See \`config.log' for more details." "$LINENO" 5; }
4698 fi
4699
4700 ac_ext=c
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705
4706
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4708 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4709 if test "${ac_cv_path_GREP+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4711 else
4712 if test -z "$GREP"; then
4713 ac_path_GREP_found=false
4714 # Loop through the user's path and test for each of PROGNAME-LIST
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4717 do
4718 IFS=$as_save_IFS
4719 test -z "$as_dir" && as_dir=.
4720 for ac_prog in grep ggrep; do
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4723 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4724 # Check for GNU ac_path_GREP and select it if it is found.
4725 # Check for GNU $ac_path_GREP
4726 case `"$ac_path_GREP" --version 2>&1` in
4727 *GNU*)
4728 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4729 *)
4730 ac_count=0
4731 $as_echo_n 0123456789 >"conftest.in"
4732 while :
4733 do
4734 cat "conftest.in" "conftest.in" >"conftest.tmp"
4735 mv "conftest.tmp" "conftest.in"
4736 cp "conftest.in" "conftest.nl"
4737 $as_echo 'GREP' >> "conftest.nl"
4738 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4739 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4740 as_fn_arith $ac_count + 1 && ac_count=$as_val
4741 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4742 # Best one so far, save it but keep looking for a better one
4743 ac_cv_path_GREP="$ac_path_GREP"
4744 ac_path_GREP_max=$ac_count
4745 fi
4746 # 10*(2^10) chars as input seems more than enough
4747 test $ac_count -gt 10 && break
4748 done
4749 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4750 esac
4751
4752 $ac_path_GREP_found && break 3
4753 done
4754 done
4755 done
4756 IFS=$as_save_IFS
4757 if test -z "$ac_cv_path_GREP"; then
4758 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4759 fi
4760 else
4761 ac_cv_path_GREP=$GREP
4762 fi
4763
4764 fi
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4766 $as_echo "$ac_cv_path_GREP" >&6; }
4767 GREP="$ac_cv_path_GREP"
4768
4769
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4771 $as_echo_n "checking for egrep... " >&6; }
4772 if test "${ac_cv_path_EGREP+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4776 then ac_cv_path_EGREP="$GREP -E"
4777 else
4778 if test -z "$EGREP"; then
4779 ac_path_EGREP_found=false
4780 # Loop through the user's path and test for each of PROGNAME-LIST
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4783 do
4784 IFS=$as_save_IFS
4785 test -z "$as_dir" && as_dir=.
4786 for ac_prog in egrep; do
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4789 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4790 # Check for GNU ac_path_EGREP and select it if it is found.
4791 # Check for GNU $ac_path_EGREP
4792 case `"$ac_path_EGREP" --version 2>&1` in
4793 *GNU*)
4794 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4795 *)
4796 ac_count=0
4797 $as_echo_n 0123456789 >"conftest.in"
4798 while :
4799 do
4800 cat "conftest.in" "conftest.in" >"conftest.tmp"
4801 mv "conftest.tmp" "conftest.in"
4802 cp "conftest.in" "conftest.nl"
4803 $as_echo 'EGREP' >> "conftest.nl"
4804 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4805 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4806 as_fn_arith $ac_count + 1 && ac_count=$as_val
4807 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4808 # Best one so far, save it but keep looking for a better one
4809 ac_cv_path_EGREP="$ac_path_EGREP"
4810 ac_path_EGREP_max=$ac_count
4811 fi
4812 # 10*(2^10) chars as input seems more than enough
4813 test $ac_count -gt 10 && break
4814 done
4815 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4816 esac
4817
4818 $ac_path_EGREP_found && break 3
4819 done
4820 done
4821 done
4822 IFS=$as_save_IFS
4823 if test -z "$ac_cv_path_EGREP"; then
4824 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4825 fi
4826 else
4827 ac_cv_path_EGREP=$EGREP
4828 fi
4829
4830 fi
4831 fi
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4833 $as_echo "$ac_cv_path_EGREP" >&6; }
4834 EGREP="$ac_cv_path_EGREP"
4835
4836
4837
4838 # Keep these sync'd with the list in Makefile.am. The first provides an
4839 # expandable list at autoconf time; the second provides an expandable list
4840 # (i.e., shell variable) at configure time.
4841
4842 SUBDIRS='include libsupc++ python src doc po testsuite'
4843
4844 # These need to be absolute paths, yet at the same time need to
4845 # canonicalize only relative paths, because then amd will not unmount
4846 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4847 glibcxx_builddir=`${PWDCMD-pwd}`
4848 case $srcdir in
4849 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4850 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4851 esac
4852 toplevel_srcdir=${glibcxx_srcdir}/..
4853
4854
4855
4856
4857 # We use these options to decide which functions to include. They are
4858 # set from the top level.
4859
4860 # Check whether --with-target-subdir was given.
4861 if test "${with_target_subdir+set}" = set; then :
4862 withval=$with_target_subdir;
4863 fi
4864
4865
4866
4867 # Check whether --with-cross-host was given.
4868 if test "${with_cross_host+set}" = set; then :
4869 withval=$with_cross_host;
4870 fi
4871
4872
4873
4874 # Check whether --with-newlib was given.
4875 if test "${with_newlib+set}" = set; then :
4876 withval=$with_newlib;
4877 fi
4878
4879
4880 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4881 # available). Uncomment the next line to force a particular method.
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4883 $as_echo_n "checking whether ln -s works... " >&6; }
4884 LN_S=$as_ln_s
4885 if test "$LN_S" = "ln -s"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4888 else
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4890 $as_echo "no, using $LN_S" >&6; }
4891 fi
4892
4893 #LN_S='cp -p'
4894
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4897 set dummy ${ac_tool_prefix}as; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_AS+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 if test -n "$AS"; then
4904 ac_cv_prog_AS="$AS" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4908 do
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_AS="${ac_tool_prefix}as"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4916 fi
4917 done
4918 done
4919 IFS=$as_save_IFS
4920
4921 fi
4922 fi
4923 AS=$ac_cv_prog_AS
4924 if test -n "$AS"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4926 $as_echo "$AS" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930 fi
4931
4932
4933 fi
4934 if test -z "$ac_cv_prog_AS"; then
4935 ac_ct_AS=$AS
4936 # Extract the first word of "as", so it can be a program name with args.
4937 set dummy as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$ac_ct_AS"; then
4944 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4948 do
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_ac_ct_AS="as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4956 fi
4957 done
4958 done
4959 IFS=$as_save_IFS
4960
4961 fi
4962 fi
4963 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4966 $as_echo "$ac_ct_AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 fi
4971
4972 if test "x$ac_ct_AS" = x; then
4973 AS=""
4974 else
4975 case $cross_compiling:$ac_tool_warned in
4976 yes:)
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979 ac_tool_warned=yes ;;
4980 esac
4981 AS=$ac_ct_AS
4982 fi
4983 else
4984 AS="$ac_cv_prog_AS"
4985 fi
4986
4987 if test -n "$ac_tool_prefix"; then
4988 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4989 set dummy ${ac_tool_prefix}ar; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_AR+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$AR"; then
4996 ac_cv_prog_AR="$AR" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5000 do
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_AR="${ac_tool_prefix}ar"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5008 fi
5009 done
5010 done
5011 IFS=$as_save_IFS
5012
5013 fi
5014 fi
5015 AR=$ac_cv_prog_AR
5016 if test -n "$AR"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5018 $as_echo "$AR" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5022 fi
5023
5024
5025 fi
5026 if test -z "$ac_cv_prog_AR"; then
5027 ac_ct_AR=$AR
5028 # Extract the first word of "ar", so it can be a program name with args.
5029 set dummy ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$ac_ct_AR"; then
5036 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_ac_ct_AR="ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5048 fi
5049 done
5050 done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5056 if test -n "$ac_ct_AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5058 $as_echo "$ac_ct_AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064 if test "x$ac_ct_AR" = x; then
5065 AR=""
5066 else
5067 case $cross_compiling:$ac_tool_warned in
5068 yes:)
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned=yes ;;
5072 esac
5073 AR=$ac_ct_AR
5074 fi
5075 else
5076 AR="$ac_cv_prog_AR"
5077 fi
5078
5079 if test -n "$ac_tool_prefix"; then
5080 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$RANLIB"; then
5088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5092 do
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5100 fi
5101 done
5102 done
5103 IFS=$as_save_IFS
5104
5105 fi
5106 fi
5107 RANLIB=$ac_cv_prog_RANLIB
5108 if test -n "$RANLIB"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5110 $as_echo "$RANLIB" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5114 fi
5115
5116
5117 fi
5118 if test -z "$ac_cv_prog_RANLIB"; then
5119 ac_ct_RANLIB=$RANLIB
5120 # Extract the first word of "ranlib", so it can be a program name with args.
5121 set dummy ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$ac_ct_RANLIB"; then
5128 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5132 do
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_ac_ct_RANLIB="ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5140 fi
5141 done
5142 done
5143 IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5148 if test -n "$ac_ct_RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5150 $as_echo "$ac_ct_RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 fi
5155
5156 if test "x$ac_ct_RANLIB" = x; then
5157 RANLIB="ranlib-not-found-in-path-error"
5158 else
5159 case $cross_compiling:$ac_tool_warned in
5160 yes:)
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5163 ac_tool_warned=yes ;;
5164 esac
5165 RANLIB=$ac_ct_RANLIB
5166 fi
5167 else
5168 RANLIB="$ac_cv_prog_RANLIB"
5169 fi
5170
5171
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5174 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5175 # Check whether --enable-maintainer-mode was given.
5176 if test "${enable_maintainer_mode+set}" = set; then :
5177 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5178 else
5179 USE_MAINTAINER_MODE=no
5180 fi
5181
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5183 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5184 if test $USE_MAINTAINER_MODE = yes; then
5185 MAINTAINER_MODE_TRUE=
5186 MAINTAINER_MODE_FALSE='#'
5187 else
5188 MAINTAINER_MODE_TRUE='#'
5189 MAINTAINER_MODE_FALSE=
5190 fi
5191
5192 MAINT=$MAINTAINER_MODE_TRUE
5193
5194
5195
5196 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5197 # which are themselves conditionally expanded.
5198 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5199 ## other macros from doing the same. This should be automated.) -pme
5200
5201 # Check for uClibc since Linux platforms use different configuration
5202 # directories depending on the C library in use.
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205
5206 #include <stdio.h>
5207 #if __UCLIBC__
5208 _using_uclibc
5209 #endif
5210
5211 _ACEOF
5212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5213 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5214 uclibc=yes
5215 else
5216 uclibc=no
5217 fi
5218 rm -f conftest*
5219
5220
5221 # Find platform-specific directories containing configuration info.
5222 # Also possibly modify flags used elsewhere, as needed by the platform.
5223
5224 . $glibcxx_srcdir/configure.host
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5226 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5228 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5229
5230
5231
5232 if test "x${with_newlib}" != "xyes"; then
5233 enable_dlopen=yes
5234
5235
5236
5237 fi
5238 case `pwd` in
5239 *\ * | *\ *)
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5241 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5242 esac
5243
5244
5245
5246 macro_version='2.2.7a'
5247 macro_revision='1.3134'
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261 ltmain="$ac_aux_dir/ltmain.sh"
5262
5263 # Backslashify metacharacters that are still active within
5264 # double-quoted strings.
5265 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5266
5267 # Same as above, but do not quote variable references.
5268 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5269
5270 # Sed substitution to delay expansion of an escaped shell variable in a
5271 # double_quote_subst'ed string.
5272 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5273
5274 # Sed substitution to delay expansion of an escaped single quote.
5275 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5276
5277 # Sed substitution to avoid accidental globbing in evaled expressions
5278 no_glob_subst='s/\*/\\\*/g'
5279
5280 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5281 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5283
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5285 $as_echo_n "checking how to print strings... " >&6; }
5286 # Test print first, because it will be a builtin if present.
5287 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5288 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5289 ECHO='print -r --'
5290 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5291 ECHO='printf %s\n'
5292 else
5293 # Use this function as a fallback that always works.
5294 func_fallback_echo ()
5295 {
5296 eval 'cat <<_LTECHO_EOF
5297 $1
5298 _LTECHO_EOF'
5299 }
5300 ECHO='func_fallback_echo'
5301 fi
5302
5303 # func_echo_all arg...
5304 # Invoke $ECHO with all args, space-separated.
5305 func_echo_all ()
5306 {
5307 $ECHO ""
5308 }
5309
5310 case "$ECHO" in
5311 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5312 $as_echo "printf" >&6; } ;;
5313 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5314 $as_echo "print -r" >&6; } ;;
5315 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5316 $as_echo "cat" >&6; } ;;
5317 esac
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5333 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5334 if test "${ac_cv_path_SED+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5336 else
5337 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5338 for ac_i in 1 2 3 4 5 6 7; do
5339 ac_script="$ac_script$as_nl$ac_script"
5340 done
5341 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5342 { ac_script=; unset ac_script;}
5343 if test -z "$SED"; then
5344 ac_path_SED_found=false
5345 # Loop through the user's path and test for each of PROGNAME-LIST
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5348 do
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_prog in sed gsed; do
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5354 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5355 # Check for GNU ac_path_SED and select it if it is found.
5356 # Check for GNU $ac_path_SED
5357 case `"$ac_path_SED" --version 2>&1` in
5358 *GNU*)
5359 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5360 *)
5361 ac_count=0
5362 $as_echo_n 0123456789 >"conftest.in"
5363 while :
5364 do
5365 cat "conftest.in" "conftest.in" >"conftest.tmp"
5366 mv "conftest.tmp" "conftest.in"
5367 cp "conftest.in" "conftest.nl"
5368 $as_echo '' >> "conftest.nl"
5369 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5370 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5371 as_fn_arith $ac_count + 1 && ac_count=$as_val
5372 if test $ac_count -gt ${ac_path_SED_max-0}; then
5373 # Best one so far, save it but keep looking for a better one
5374 ac_cv_path_SED="$ac_path_SED"
5375 ac_path_SED_max=$ac_count
5376 fi
5377 # 10*(2^10) chars as input seems more than enough
5378 test $ac_count -gt 10 && break
5379 done
5380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5381 esac
5382
5383 $ac_path_SED_found && break 3
5384 done
5385 done
5386 done
5387 IFS=$as_save_IFS
5388 if test -z "$ac_cv_path_SED"; then
5389 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5390 fi
5391 else
5392 ac_cv_path_SED=$SED
5393 fi
5394
5395 fi
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5397 $as_echo "$ac_cv_path_SED" >&6; }
5398 SED="$ac_cv_path_SED"
5399 rm -f conftest.sed
5400
5401 test -z "$SED" && SED=sed
5402 Xsed="$SED -e 1s/^X//"
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5415 $as_echo_n "checking for fgrep... " >&6; }
5416 if test "${ac_cv_path_FGREP+set}" = set; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5420 then ac_cv_path_FGREP="$GREP -F"
5421 else
5422 if test -z "$FGREP"; then
5423 ac_path_FGREP_found=false
5424 # Loop through the user's path and test for each of PROGNAME-LIST
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5427 do
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_prog in fgrep; do
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5433 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5434 # Check for GNU ac_path_FGREP and select it if it is found.
5435 # Check for GNU $ac_path_FGREP
5436 case `"$ac_path_FGREP" --version 2>&1` in
5437 *GNU*)
5438 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5439 *)
5440 ac_count=0
5441 $as_echo_n 0123456789 >"conftest.in"
5442 while :
5443 do
5444 cat "conftest.in" "conftest.in" >"conftest.tmp"
5445 mv "conftest.tmp" "conftest.in"
5446 cp "conftest.in" "conftest.nl"
5447 $as_echo 'FGREP' >> "conftest.nl"
5448 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450 as_fn_arith $ac_count + 1 && ac_count=$as_val
5451 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5452 # Best one so far, save it but keep looking for a better one
5453 ac_cv_path_FGREP="$ac_path_FGREP"
5454 ac_path_FGREP_max=$ac_count
5455 fi
5456 # 10*(2^10) chars as input seems more than enough
5457 test $ac_count -gt 10 && break
5458 done
5459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5460 esac
5461
5462 $ac_path_FGREP_found && break 3
5463 done
5464 done
5465 done
5466 IFS=$as_save_IFS
5467 if test -z "$ac_cv_path_FGREP"; then
5468 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5469 fi
5470 else
5471 ac_cv_path_FGREP=$FGREP
5472 fi
5473
5474 fi
5475 fi
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5477 $as_echo "$ac_cv_path_FGREP" >&6; }
5478 FGREP="$ac_cv_path_FGREP"
5479
5480
5481 test -z "$GREP" && GREP=grep
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501 # Check whether --with-gnu-ld was given.
5502 if test "${with_gnu_ld+set}" = set; then :
5503 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5504 else
5505 with_gnu_ld=no
5506 fi
5507
5508 ac_prog=ld
5509 if test "$GCC" = yes; then
5510 # Check if gcc -print-prog-name=ld gives a path.
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5512 $as_echo_n "checking for ld used by $CC... " >&6; }
5513 case $host in
5514 *-*-mingw*)
5515 # gcc leaves a trailing carriage return which upsets mingw
5516 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5517 *)
5518 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5519 esac
5520 case $ac_prog in
5521 # Accept absolute paths.
5522 [\\/]* | ?:[\\/]*)
5523 re_direlt='/[^/][^/]*/\.\./'
5524 # Canonicalize the pathname of ld
5525 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5526 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5527 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5528 done
5529 test -z "$LD" && LD="$ac_prog"
5530 ;;
5531 "")
5532 # If it fails, then pretend we aren't using GCC.
5533 ac_prog=ld
5534 ;;
5535 *)
5536 # If it is relative, then search for the first ld in PATH.
5537 with_gnu_ld=unknown
5538 ;;
5539 esac
5540 elif test "$with_gnu_ld" = yes; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5542 $as_echo_n "checking for GNU ld... " >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5545 $as_echo_n "checking for non-GNU ld... " >&6; }
5546 fi
5547 if test "${lt_cv_path_LD+set}" = set; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -z "$LD"; then
5551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5552 for ac_dir in $PATH; do
5553 IFS="$lt_save_ifs"
5554 test -z "$ac_dir" && ac_dir=.
5555 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5556 lt_cv_path_LD="$ac_dir/$ac_prog"
5557 # Check to see if the program is GNU ld. I'd rather use --version,
5558 # but apparently some variants of GNU ld only accept -v.
5559 # Break only if it was the GNU/non-GNU ld that we prefer.
5560 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5561 *GNU* | *'with BFD'*)
5562 test "$with_gnu_ld" != no && break
5563 ;;
5564 *)
5565 test "$with_gnu_ld" != yes && break
5566 ;;
5567 esac
5568 fi
5569 done
5570 IFS="$lt_save_ifs"
5571 else
5572 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5573 fi
5574 fi
5575
5576 LD="$lt_cv_path_LD"
5577 if test -n "$LD"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5579 $as_echo "$LD" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5583 fi
5584 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5586 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5587 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5591 case `$LD -v 2>&1 </dev/null` in
5592 *GNU* | *'with BFD'*)
5593 lt_cv_prog_gnu_ld=yes
5594 ;;
5595 *)
5596 lt_cv_prog_gnu_ld=no
5597 ;;
5598 esac
5599 fi
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5601 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5602 with_gnu_ld=$lt_cv_prog_gnu_ld
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5613 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5614 if test "${lt_cv_path_NM+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$NM"; then
5618 # Let the user override the test.
5619 lt_cv_path_NM="$NM"
5620 else
5621 lt_nm_to_check="${ac_tool_prefix}nm"
5622 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5623 lt_nm_to_check="$lt_nm_to_check nm"
5624 fi
5625 for lt_tmp_nm in $lt_nm_to_check; do
5626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5627 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5628 IFS="$lt_save_ifs"
5629 test -z "$ac_dir" && ac_dir=.
5630 tmp_nm="$ac_dir/$lt_tmp_nm"
5631 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5632 # Check to see if the nm accepts a BSD-compat flag.
5633 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5634 # nm: unknown option "B" ignored
5635 # Tru64's nm complains that /dev/null is an invalid object file
5636 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5637 */dev/null* | *'Invalid file or object type'*)
5638 lt_cv_path_NM="$tmp_nm -B"
5639 break
5640 ;;
5641 *)
5642 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5643 */dev/null*)
5644 lt_cv_path_NM="$tmp_nm -p"
5645 break
5646 ;;
5647 *)
5648 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5649 continue # so that we can try to find one that supports BSD flags
5650 ;;
5651 esac
5652 ;;
5653 esac
5654 fi
5655 done
5656 IFS="$lt_save_ifs"
5657 done
5658 : ${lt_cv_path_NM=no}
5659 fi
5660 fi
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5662 $as_echo "$lt_cv_path_NM" >&6; }
5663 if test "$lt_cv_path_NM" != "no"; then
5664 NM="$lt_cv_path_NM"
5665 else
5666 # Didn't find any BSD compatible name lister, look for dumpbin.
5667 if test -n "$DUMPBIN"; then :
5668 # Let the user override the test.
5669 else
5670 if test -n "$ac_tool_prefix"; then
5671 for ac_prog in dumpbin "link -dump"
5672 do
5673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5678 $as_echo_n "(cached) " >&6
5679 else
5680 if test -n "$DUMPBIN"; then
5681 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5682 else
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in $PATH
5685 do
5686 IFS=$as_save_IFS
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 break 2
5693 fi
5694 done
5695 done
5696 IFS=$as_save_IFS
5697
5698 fi
5699 fi
5700 DUMPBIN=$ac_cv_prog_DUMPBIN
5701 if test -n "$DUMPBIN"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5703 $as_echo "$DUMPBIN" >&6; }
5704 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5707 fi
5708
5709
5710 test -n "$DUMPBIN" && break
5711 done
5712 fi
5713 if test -z "$DUMPBIN"; then
5714 ac_ct_DUMPBIN=$DUMPBIN
5715 for ac_prog in dumpbin "link -dump"
5716 do
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy $ac_prog; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if test -n "$ac_ct_DUMPBIN"; then
5725 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 break 2
5737 fi
5738 done
5739 done
5740 IFS=$as_save_IFS
5741
5742 fi
5743 fi
5744 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5745 if test -n "$ac_ct_DUMPBIN"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5747 $as_echo "$ac_ct_DUMPBIN" >&6; }
5748 else
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5751 fi
5752
5753
5754 test -n "$ac_ct_DUMPBIN" && break
5755 done
5756
5757 if test "x$ac_ct_DUMPBIN" = x; then
5758 DUMPBIN=":"
5759 else
5760 case $cross_compiling:$ac_tool_warned in
5761 yes:)
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5764 ac_tool_warned=yes ;;
5765 esac
5766 DUMPBIN=$ac_ct_DUMPBIN
5767 fi
5768 fi
5769
5770 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5771 *COFF*)
5772 DUMPBIN="$DUMPBIN -symbols"
5773 ;;
5774 *)
5775 DUMPBIN=:
5776 ;;
5777 esac
5778 fi
5779
5780 if test "$DUMPBIN" != ":"; then
5781 NM="$DUMPBIN"
5782 fi
5783 fi
5784 test -z "$NM" && NM=nm
5785
5786
5787
5788
5789
5790
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5792 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5793 if test "${lt_cv_nm_interface+set}" = set; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 lt_cv_nm_interface="BSD nm"
5797 echo "int some_variable = 0;" > conftest.$ac_ext
5798 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5799 (eval "$ac_compile" 2>conftest.err)
5800 cat conftest.err >&5
5801 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5802 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5803 cat conftest.err >&5
5804 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5805 cat conftest.out >&5
5806 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5807 lt_cv_nm_interface="MS dumpbin"
5808 fi
5809 rm -f conftest*
5810 fi
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5812 $as_echo "$lt_cv_nm_interface" >&6; }
5813
5814 # find the maximum length of command line arguments
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5816 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5817 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 i=0
5821 teststring="ABCD"
5822
5823 case $build_os in
5824 msdosdjgpp*)
5825 # On DJGPP, this test can blow up pretty badly due to problems in libc
5826 # (any single argument exceeding 2000 bytes causes a buffer overrun
5827 # during glob expansion). Even if it were fixed, the result of this
5828 # check would be larger than it should be.
5829 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5830 ;;
5831
5832 gnu*)
5833 # Under GNU Hurd, this test is not required because there is
5834 # no limit to the length of command line arguments.
5835 # Libtool will interpret -1 as no limit whatsoever
5836 lt_cv_sys_max_cmd_len=-1;
5837 ;;
5838
5839 cygwin* | mingw* | cegcc*)
5840 # On Win9x/ME, this test blows up -- it succeeds, but takes
5841 # about 5 minutes as the teststring grows exponentially.
5842 # Worse, since 9x/ME are not pre-emptively multitasking,
5843 # you end up with a "frozen" computer, even though with patience
5844 # the test eventually succeeds (with a max line length of 256k).
5845 # Instead, let's just punt: use the minimum linelength reported by
5846 # all of the supported platforms: 8192 (on NT/2K/XP).
5847 lt_cv_sys_max_cmd_len=8192;
5848 ;;
5849
5850 mint*)
5851 # On MiNT this can take a long time and run out of memory.
5852 lt_cv_sys_max_cmd_len=8192;
5853 ;;
5854
5855 amigaos*)
5856 # On AmigaOS with pdksh, this test takes hours, literally.
5857 # So we just punt and use a minimum line length of 8192.
5858 lt_cv_sys_max_cmd_len=8192;
5859 ;;
5860
5861 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5862 # This has been around since 386BSD, at least. Likely further.
5863 if test -x /sbin/sysctl; then
5864 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5865 elif test -x /usr/sbin/sysctl; then
5866 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5867 else
5868 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5869 fi
5870 # And add a safety zone
5871 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5873 ;;
5874
5875 interix*)
5876 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5877 lt_cv_sys_max_cmd_len=196608
5878 ;;
5879
5880 osf*)
5881 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5882 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5883 # nice to cause kernel panics so lets avoid the loop below.
5884 # First set a reasonable default.
5885 lt_cv_sys_max_cmd_len=16384
5886 #
5887 if test -x /sbin/sysconfig; then
5888 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5889 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5890 esac
5891 fi
5892 ;;
5893 sco3.2v5*)
5894 lt_cv_sys_max_cmd_len=102400
5895 ;;
5896 sysv5* | sco5v6* | sysv4.2uw2*)
5897 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5898 if test -n "$kargmax"; then
5899 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5900 else
5901 lt_cv_sys_max_cmd_len=32768
5902 fi
5903 ;;
5904 *)
5905 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5906 if test -n "$lt_cv_sys_max_cmd_len"; then
5907 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5908 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5909 else
5910 # Make teststring a little bigger before we do anything with it.
5911 # a 1K string should be a reasonable start.
5912 for i in 1 2 3 4 5 6 7 8 ; do
5913 teststring=$teststring$teststring
5914 done
5915 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5916 # If test is not a shell built-in, we'll probably end up computing a
5917 # maximum length that is only half of the actual maximum length, but
5918 # we can't tell.
5919 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5920 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5921 test $i != 17 # 1/2 MB should be enough
5922 do
5923 i=`expr $i + 1`
5924 teststring=$teststring$teststring
5925 done
5926 # Only check the string length outside the loop.
5927 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5928 teststring=
5929 # Add a significant safety factor because C++ compilers can tack on
5930 # massive amounts of additional arguments before passing them to the
5931 # linker. It appears as though 1/2 is a usable value.
5932 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5933 fi
5934 ;;
5935 esac
5936
5937 fi
5938
5939 if test -n $lt_cv_sys_max_cmd_len ; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5941 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5942 else
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5944 $as_echo "none" >&6; }
5945 fi
5946 max_cmd_len=$lt_cv_sys_max_cmd_len
5947
5948
5949
5950
5951
5952
5953 : ${CP="cp -f"}
5954 : ${MV="mv -f"}
5955 : ${RM="rm -f"}
5956
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5958 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5959 # Try some XSI features
5960 xsi_shell=no
5961 ( _lt_dummy="a/b/c"
5962 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5963 = c,a/b,, \
5964 && eval 'test $(( 1 + 1 )) -eq 2 \
5965 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5966 && xsi_shell=yes
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5968 $as_echo "$xsi_shell" >&6; }
5969
5970
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5972 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5973 lt_shell_append=no
5974 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5975 >/dev/null 2>&1 \
5976 && lt_shell_append=yes
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5978 $as_echo "$lt_shell_append" >&6; }
5979
5980
5981 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5982 lt_unset=unset
5983 else
5984 lt_unset=false
5985 fi
5986
5987
5988
5989
5990
5991 # test EBCDIC or ASCII
5992 case `echo X|tr X '\101'` in
5993 A) # ASCII based system
5994 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5995 lt_SP2NL='tr \040 \012'
5996 lt_NL2SP='tr \015\012 \040\040'
5997 ;;
5998 *) # EBCDIC based system
5999 lt_SP2NL='tr \100 \n'
6000 lt_NL2SP='tr \r\n \100\100'
6001 ;;
6002 esac
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6013 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6014 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 lt_cv_ld_reload_flag='-r'
6018 fi
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6020 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6021 reload_flag=$lt_cv_ld_reload_flag
6022 case $reload_flag in
6023 "" | " "*) ;;
6024 *) reload_flag=" $reload_flag" ;;
6025 esac
6026 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6027 case $host_os in
6028 darwin*)
6029 if test "$GCC" = yes; then
6030 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6031 else
6032 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6033 fi
6034 ;;
6035 esac
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 if test -n "$OBJDUMP"; then
6054 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6058 do
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6066 fi
6067 done
6068 done
6069 IFS=$as_save_IFS
6070
6071 fi
6072 fi
6073 OBJDUMP=$ac_cv_prog_OBJDUMP
6074 if test -n "$OBJDUMP"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6076 $as_echo "$OBJDUMP" >&6; }
6077 else
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6080 fi
6081
6082
6083 fi
6084 if test -z "$ac_cv_prog_OBJDUMP"; then
6085 ac_ct_OBJDUMP=$OBJDUMP
6086 # Extract the first word of "objdump", so it can be a program name with args.
6087 set dummy objdump; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if test -n "$ac_ct_OBJDUMP"; then
6094 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6095 else
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 for as_dir in $PATH
6098 do
6099 IFS=$as_save_IFS
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 break 2
6106 fi
6107 done
6108 done
6109 IFS=$as_save_IFS
6110
6111 fi
6112 fi
6113 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6114 if test -n "$ac_ct_OBJDUMP"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6116 $as_echo "$ac_ct_OBJDUMP" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6120 fi
6121
6122 if test "x$ac_ct_OBJDUMP" = x; then
6123 OBJDUMP="false"
6124 else
6125 case $cross_compiling:$ac_tool_warned in
6126 yes:)
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6129 ac_tool_warned=yes ;;
6130 esac
6131 OBJDUMP=$ac_ct_OBJDUMP
6132 fi
6133 else
6134 OBJDUMP="$ac_cv_prog_OBJDUMP"
6135 fi
6136
6137 test -z "$OBJDUMP" && OBJDUMP=objdump
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6148 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6149 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 lt_cv_file_magic_cmd='$MAGIC_CMD'
6153 lt_cv_file_magic_test_file=
6154 lt_cv_deplibs_check_method='unknown'
6155 # Need to set the preceding variable on all platforms that support
6156 # interlibrary dependencies.
6157 # 'none' -- dependencies not supported.
6158 # `unknown' -- same as none, but documents that we really don't know.
6159 # 'pass_all' -- all dependencies passed with no checks.
6160 # 'test_compile' -- check by making test program.
6161 # 'file_magic [[regex]]' -- check by looking for files in library path
6162 # which responds to the $file_magic_cmd with a given extended regex.
6163 # If you have `file' or equivalent on your system and you're not sure
6164 # whether `pass_all' will *always* work, you probably want this one.
6165
6166 case $host_os in
6167 aix[4-9]*)
6168 lt_cv_deplibs_check_method=pass_all
6169 ;;
6170
6171 beos*)
6172 lt_cv_deplibs_check_method=pass_all
6173 ;;
6174
6175 bsdi[45]*)
6176 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6177 lt_cv_file_magic_cmd='/usr/bin/file -L'
6178 lt_cv_file_magic_test_file=/shlib/libc.so
6179 ;;
6180
6181 cygwin*)
6182 # func_win32_libid is a shell function defined in ltmain.sh
6183 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6184 lt_cv_file_magic_cmd='func_win32_libid'
6185 ;;
6186
6187 mingw* | pw32*)
6188 # Base MSYS/MinGW do not provide the 'file' command needed by
6189 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6190 # unless we find 'file', for example because we are cross-compiling.
6191 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6192 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6193 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6194 lt_cv_file_magic_cmd='func_win32_libid'
6195 else
6196 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6197 lt_cv_file_magic_cmd='$OBJDUMP -f'
6198 fi
6199 ;;
6200
6201 cegcc*)
6202 # use the weaker test based on 'objdump'. See mingw*.
6203 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6204 lt_cv_file_magic_cmd='$OBJDUMP -f'
6205 ;;
6206
6207 darwin* | rhapsody*)
6208 lt_cv_deplibs_check_method=pass_all
6209 ;;
6210
6211 freebsd* | dragonfly*)
6212 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6213 case $host_cpu in
6214 i*86 )
6215 # Not sure whether the presence of OpenBSD here was a mistake.
6216 # Let's accept both of them until this is cleared up.
6217 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6218 lt_cv_file_magic_cmd=/usr/bin/file
6219 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6220 ;;
6221 esac
6222 else
6223 lt_cv_deplibs_check_method=pass_all
6224 fi
6225 ;;
6226
6227 gnu*)
6228 lt_cv_deplibs_check_method=pass_all
6229 ;;
6230
6231 haiku*)
6232 lt_cv_deplibs_check_method=pass_all
6233 ;;
6234
6235 hpux10.20* | hpux11*)
6236 lt_cv_file_magic_cmd=/usr/bin/file
6237 case $host_cpu in
6238 ia64*)
6239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6240 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6241 ;;
6242 hppa*64*)
6243 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]'
6244 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6245 ;;
6246 *)
6247 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6248 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6249 ;;
6250 esac
6251 ;;
6252
6253 interix[3-9]*)
6254 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6256 ;;
6257
6258 irix5* | irix6* | nonstopux*)
6259 case $LD in
6260 *-32|*"-32 ") libmagic=32-bit;;
6261 *-n32|*"-n32 ") libmagic=N32;;
6262 *-64|*"-64 ") libmagic=64-bit;;
6263 *) libmagic=never-match;;
6264 esac
6265 lt_cv_deplibs_check_method=pass_all
6266 ;;
6267
6268 # This must be Linux ELF.
6269 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6270 lt_cv_deplibs_check_method=pass_all
6271 ;;
6272
6273 netbsd*)
6274 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6276 else
6277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6278 fi
6279 ;;
6280
6281 newos6*)
6282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6283 lt_cv_file_magic_cmd=/usr/bin/file
6284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6285 ;;
6286
6287 *nto* | *qnx*)
6288 lt_cv_deplibs_check_method=pass_all
6289 ;;
6290
6291 openbsd*)
6292 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6294 else
6295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6296 fi
6297 ;;
6298
6299 osf3* | osf4* | osf5*)
6300 lt_cv_deplibs_check_method=pass_all
6301 ;;
6302
6303 rdos*)
6304 lt_cv_deplibs_check_method=pass_all
6305 ;;
6306
6307 solaris*)
6308 lt_cv_deplibs_check_method=pass_all
6309 ;;
6310
6311 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6312 lt_cv_deplibs_check_method=pass_all
6313 ;;
6314
6315 sysv4 | sysv4.3*)
6316 case $host_vendor in
6317 motorola)
6318 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]'
6319 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6320 ;;
6321 ncr)
6322 lt_cv_deplibs_check_method=pass_all
6323 ;;
6324 sequent)
6325 lt_cv_file_magic_cmd='/bin/file'
6326 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6327 ;;
6328 sni)
6329 lt_cv_file_magic_cmd='/bin/file'
6330 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6331 lt_cv_file_magic_test_file=/lib/libc.so
6332 ;;
6333 siemens)
6334 lt_cv_deplibs_check_method=pass_all
6335 ;;
6336 pc)
6337 lt_cv_deplibs_check_method=pass_all
6338 ;;
6339 esac
6340 ;;
6341
6342 tpf*)
6343 lt_cv_deplibs_check_method=pass_all
6344 ;;
6345 esac
6346
6347 fi
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6349 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6350 file_magic_cmd=$lt_cv_file_magic_cmd
6351 deplibs_check_method=$lt_cv_deplibs_check_method
6352 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}ar; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if test "${ac_cv_prog_AR+set}" = set; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 if test -n "$AR"; then
6374 ac_cv_prog_AR="$AR" # Let the user override the test.
6375 else
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH
6378 do
6379 IFS=$as_save_IFS
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_AR="${ac_tool_prefix}ar"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 break 2
6386 fi
6387 done
6388 done
6389 IFS=$as_save_IFS
6390
6391 fi
6392 fi
6393 AR=$ac_cv_prog_AR
6394 if test -n "$AR"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6396 $as_echo "$AR" >&6; }
6397 else
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6400 fi
6401
6402
6403 fi
6404 if test -z "$ac_cv_prog_AR"; then
6405 ac_ct_AR=$AR
6406 # Extract the first word of "ar", so it can be a program name with args.
6407 set dummy ar; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6411 $as_echo_n "(cached) " >&6
6412 else
6413 if test -n "$ac_ct_AR"; then
6414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6418 do
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423 ac_cv_prog_ac_ct_AR="ar"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 break 2
6426 fi
6427 done
6428 done
6429 IFS=$as_save_IFS
6430
6431 fi
6432 fi
6433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6434 if test -n "$ac_ct_AR"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6436 $as_echo "$ac_ct_AR" >&6; }
6437 else
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6440 fi
6441
6442 if test "x$ac_ct_AR" = x; then
6443 AR="false"
6444 else
6445 case $cross_compiling:$ac_tool_warned in
6446 yes:)
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6450 esac
6451 AR=$ac_ct_AR
6452 fi
6453 else
6454 AR="$ac_cv_prog_AR"
6455 fi
6456
6457 test -z "$AR" && AR=ar
6458 test -z "$AR_FLAGS" && AR_FLAGS=cru
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}strip; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if test "${ac_cv_prog_STRIP+set}" = set; then :
6476 $as_echo_n "(cached) " >&6
6477 else
6478 if test -n "$STRIP"; then
6479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6483 do
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6491 fi
6492 done
6493 done
6494 IFS=$as_save_IFS
6495
6496 fi
6497 fi
6498 STRIP=$ac_cv_prog_STRIP
6499 if test -n "$STRIP"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6501 $as_echo "$STRIP" >&6; }
6502 else
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6505 fi
6506
6507
6508 fi
6509 if test -z "$ac_cv_prog_STRIP"; then
6510 ac_ct_STRIP=$STRIP
6511 # Extract the first word of "strip", so it can be a program name with args.
6512 set dummy strip; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$ac_ct_STRIP"; then
6519 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_ac_ct_STRIP="strip"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6531 fi
6532 done
6533 done
6534 IFS=$as_save_IFS
6535
6536 fi
6537 fi
6538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6539 if test -n "$ac_ct_STRIP"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6541 $as_echo "$ac_ct_STRIP" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546
6547 if test "x$ac_ct_STRIP" = x; then
6548 STRIP=":"
6549 else
6550 case $cross_compiling:$ac_tool_warned in
6551 yes:)
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6555 esac
6556 STRIP=$ac_ct_STRIP
6557 fi
6558 else
6559 STRIP="$ac_cv_prog_STRIP"
6560 fi
6561
6562 test -z "$STRIP" && STRIP=:
6563
6564
6565
6566
6567
6568
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$RANLIB"; then
6578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 RANLIB=$ac_cv_prog_RANLIB
6598 if test -n "$RANLIB"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6600 $as_echo "$RANLIB" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606
6607 fi
6608 if test -z "$ac_cv_prog_RANLIB"; then
6609 ac_ct_RANLIB=$RANLIB
6610 # Extract the first word of "ranlib", so it can be a program name with args.
6611 set dummy ranlib; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$ac_ct_RANLIB"; then
6618 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6622 do
6623 IFS=$as_save_IFS
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_ac_ct_RANLIB="ranlib"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 break 2
6630 fi
6631 done
6632 done
6633 IFS=$as_save_IFS
6634
6635 fi
6636 fi
6637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6638 if test -n "$ac_ct_RANLIB"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6640 $as_echo "$ac_ct_RANLIB" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6644 fi
6645
6646 if test "x$ac_ct_RANLIB" = x; then
6647 RANLIB=":"
6648 else
6649 case $cross_compiling:$ac_tool_warned in
6650 yes:)
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653 ac_tool_warned=yes ;;
6654 esac
6655 RANLIB=$ac_ct_RANLIB
6656 fi
6657 else
6658 RANLIB="$ac_cv_prog_RANLIB"
6659 fi
6660
6661 test -z "$RANLIB" && RANLIB=:
6662
6663
6664
6665
6666
6667
6668 # Determine commands to create old-style static archives.
6669 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6670 old_postinstall_cmds='chmod 644 $oldlib'
6671 old_postuninstall_cmds=
6672
6673 if test -n "$RANLIB"; then
6674 case $host_os in
6675 openbsd*)
6676 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6677 ;;
6678 *)
6679 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6680 ;;
6681 esac
6682 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6683 fi
6684
6685 case $host_os in
6686 darwin*)
6687 lock_old_archive_extraction=yes ;;
6688 *)
6689 lock_old_archive_extraction=no ;;
6690 esac
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730 # If no C compiler was specified, use CC.
6731 LTCC=${LTCC-"$CC"}
6732
6733 # If no C compiler flags were specified, use CFLAGS.
6734 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6735
6736 # Allow CC to be a program name with arguments.
6737 compiler=$CC
6738
6739
6740 # Check for command to grab the raw symbol name followed by C symbol from nm.
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6742 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6743 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6744 $as_echo_n "(cached) " >&6
6745 else
6746
6747 # These are sane defaults that work on at least a few old systems.
6748 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6749
6750 # Character class describing NM global symbol codes.
6751 symcode='[BCDEGRST]'
6752
6753 # Regexp to match symbols that can be accessed directly from C.
6754 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6755
6756 # Define system-specific variables.
6757 case $host_os in
6758 aix*)
6759 symcode='[BCDT]'
6760 ;;
6761 cygwin* | mingw* | pw32* | cegcc*)
6762 symcode='[ABCDGISTW]'
6763 ;;
6764 hpux*)
6765 if test "$host_cpu" = ia64; then
6766 symcode='[ABCDEGRST]'
6767 fi
6768 ;;
6769 irix* | nonstopux*)
6770 symcode='[BCDEGRST]'
6771 ;;
6772 osf*)
6773 symcode='[BCDEGQRST]'
6774 ;;
6775 solaris*)
6776 symcode='[BDRT]'
6777 ;;
6778 sco3.2v5*)
6779 symcode='[DT]'
6780 ;;
6781 sysv4.2uw2*)
6782 symcode='[DT]'
6783 ;;
6784 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6785 symcode='[ABDT]'
6786 ;;
6787 sysv4)
6788 symcode='[DFNSTU]'
6789 ;;
6790 esac
6791
6792 # If we're using GNU nm, then use its standard symbol codes.
6793 case `$NM -V 2>&1` in
6794 *GNU* | *'with BFD'*)
6795 symcode='[ABCDGIRSTW]' ;;
6796 esac
6797
6798 # Transform an extracted symbol line into a proper C declaration.
6799 # Some systems (esp. on ia64) link data and code symbols differently,
6800 # so use this general approach.
6801 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6802
6803 # Transform an extracted symbol line into symbol name and symbol address
6804 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6805 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'"
6806
6807 # Handle CRLF in mingw tool chain
6808 opt_cr=
6809 case $build_os in
6810 mingw*)
6811 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6812 ;;
6813 esac
6814
6815 # Try without a prefix underscore, then with it.
6816 for ac_symprfx in "" "_"; do
6817
6818 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6819 symxfrm="\\1 $ac_symprfx\\2 \\2"
6820
6821 # Write the raw and C identifiers.
6822 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6823 # Fake it for dumpbin and say T for any non-static function
6824 # and D for any global variable.
6825 # Also find C++ and __fastcall symbols from MSVC++,
6826 # which start with @ or ?.
6827 lt_cv_sys_global_symbol_pipe="$AWK '"\
6828 " {last_section=section; section=\$ 3};"\
6829 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6830 " \$ 0!~/External *\|/{next};"\
6831 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6832 " {if(hide[section]) next};"\
6833 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6834 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6835 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6836 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6837 " ' prfx=^$ac_symprfx"
6838 else
6839 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6840 fi
6841
6842 # Check to see that the pipe works correctly.
6843 pipe_works=no
6844
6845 rm -f conftest*
6846 cat > conftest.$ac_ext <<_LT_EOF
6847 #ifdef __cplusplus
6848 extern "C" {
6849 #endif
6850 char nm_test_var;
6851 void nm_test_func(void);
6852 void nm_test_func(void){}
6853 #ifdef __cplusplus
6854 }
6855 #endif
6856 int main(){nm_test_var='a';nm_test_func();return(0);}
6857 _LT_EOF
6858
6859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6860 (eval $ac_compile) 2>&5
6861 ac_status=$?
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6863 test $ac_status = 0; }; then
6864 # Now try to grab the symbols.
6865 nlist=conftest.nm
6866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6867 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6868 ac_status=$?
6869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870 test $ac_status = 0; } && test -s "$nlist"; then
6871 # Try sorting and uniquifying the output.
6872 if sort "$nlist" | uniq > "$nlist"T; then
6873 mv -f "$nlist"T "$nlist"
6874 else
6875 rm -f "$nlist"T
6876 fi
6877
6878 # Make sure that we snagged all the symbols we need.
6879 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6880 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6881 cat <<_LT_EOF > conftest.$ac_ext
6882 #ifdef __cplusplus
6883 extern "C" {
6884 #endif
6885
6886 _LT_EOF
6887 # Now generate the symbol file.
6888 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6889
6890 cat <<_LT_EOF >> conftest.$ac_ext
6891
6892 /* The mapping between symbol names and symbols. */
6893 const struct {
6894 const char *name;
6895 void *address;
6896 }
6897 lt__PROGRAM__LTX_preloaded_symbols[] =
6898 {
6899 { "@PROGRAM@", (void *) 0 },
6900 _LT_EOF
6901 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6902 cat <<\_LT_EOF >> conftest.$ac_ext
6903 {0, (void *) 0}
6904 };
6905
6906 /* This works around a problem in FreeBSD linker */
6907 #ifdef FREEBSD_WORKAROUND
6908 static const void *lt_preloaded_setup() {
6909 return lt__PROGRAM__LTX_preloaded_symbols;
6910 }
6911 #endif
6912
6913 #ifdef __cplusplus
6914 }
6915 #endif
6916 _LT_EOF
6917 # Now try linking the two files.
6918 mv conftest.$ac_objext conftstm.$ac_objext
6919 lt_save_LIBS="$LIBS"
6920 lt_save_CFLAGS="$CFLAGS"
6921 LIBS="conftstm.$ac_objext"
6922 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6924 (eval $ac_link) 2>&5
6925 ac_status=$?
6926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6927 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6928 pipe_works=yes
6929 fi
6930 LIBS="$lt_save_LIBS"
6931 CFLAGS="$lt_save_CFLAGS"
6932 else
6933 echo "cannot find nm_test_func in $nlist" >&5
6934 fi
6935 else
6936 echo "cannot find nm_test_var in $nlist" >&5
6937 fi
6938 else
6939 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6940 fi
6941 else
6942 echo "$progname: failed program was:" >&5
6943 cat conftest.$ac_ext >&5
6944 fi
6945 rm -rf conftest* conftst*
6946
6947 # Do not use the global_symbol_pipe unless it works.
6948 if test "$pipe_works" = yes; then
6949 break
6950 else
6951 lt_cv_sys_global_symbol_pipe=
6952 fi
6953 done
6954
6955 fi
6956
6957 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6958 lt_cv_sys_global_symbol_to_cdecl=
6959 fi
6960 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6962 $as_echo "failed" >&6; }
6963 else
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6965 $as_echo "ok" >&6; }
6966 fi
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989 # Check whether --enable-libtool-lock was given.
6990 if test "${enable_libtool_lock+set}" = set; then :
6991 enableval=$enable_libtool_lock;
6992 fi
6993
6994 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6995
6996 # Some flags need to be propagated to the compiler or linker for good
6997 # libtool support.
6998 case $host in
6999 ia64-*-hpux*)
7000 # Find out which ABI we are using.
7001 echo 'int i;' > conftest.$ac_ext
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7003 (eval $ac_compile) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; }; then
7007 case `/usr/bin/file conftest.$ac_objext` in
7008 *ELF-32*)
7009 HPUX_IA64_MODE="32"
7010 ;;
7011 *ELF-64*)
7012 HPUX_IA64_MODE="64"
7013 ;;
7014 esac
7015 fi
7016 rm -rf conftest*
7017 ;;
7018 *-*-irix6*)
7019 # Find out which ABI we are using.
7020 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7022 (eval $ac_compile) 2>&5
7023 ac_status=$?
7024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7025 test $ac_status = 0; }; then
7026 if test "$lt_cv_prog_gnu_ld" = yes; then
7027 case `/usr/bin/file conftest.$ac_objext` in
7028 *32-bit*)
7029 LD="${LD-ld} -melf32bsmip"
7030 ;;
7031 *N32*)
7032 LD="${LD-ld} -melf32bmipn32"
7033 ;;
7034 *64-bit*)
7035 LD="${LD-ld} -melf64bmip"
7036 ;;
7037 esac
7038 else
7039 case `/usr/bin/file conftest.$ac_objext` in
7040 *32-bit*)
7041 LD="${LD-ld} -32"
7042 ;;
7043 *N32*)
7044 LD="${LD-ld} -n32"
7045 ;;
7046 *64-bit*)
7047 LD="${LD-ld} -64"
7048 ;;
7049 esac
7050 fi
7051 fi
7052 rm -rf conftest*
7053 ;;
7054
7055 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7056 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7057 # Find out which ABI we are using.
7058 echo 'int i;' > conftest.$ac_ext
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7060 (eval $ac_compile) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; }; then
7064 case `/usr/bin/file conftest.o` in
7065 *32-bit*)
7066 case $host in
7067 x86_64-*kfreebsd*-gnu)
7068 LD="${LD-ld} -m elf_i386_fbsd"
7069 ;;
7070 x86_64-*linux*)
7071 LD="${LD-ld} -m elf_i386"
7072 ;;
7073 ppc64-*linux*|powerpc64-*linux*)
7074 LD="${LD-ld} -m elf32ppclinux"
7075 ;;
7076 s390x-*linux*)
7077 LD="${LD-ld} -m elf_s390"
7078 ;;
7079 sparc64-*linux*)
7080 LD="${LD-ld} -m elf32_sparc"
7081 ;;
7082 esac
7083 ;;
7084 *64-bit*)
7085 case $host in
7086 x86_64-*kfreebsd*-gnu)
7087 LD="${LD-ld} -m elf_x86_64_fbsd"
7088 ;;
7089 x86_64-*linux*)
7090 LD="${LD-ld} -m elf_x86_64"
7091 ;;
7092 ppc*-*linux*|powerpc*-*linux*)
7093 LD="${LD-ld} -m elf64ppc"
7094 ;;
7095 s390*-*linux*|s390*-*tpf*)
7096 LD="${LD-ld} -m elf64_s390"
7097 ;;
7098 sparc*-*linux*)
7099 LD="${LD-ld} -m elf64_sparc"
7100 ;;
7101 esac
7102 ;;
7103 esac
7104 fi
7105 rm -rf conftest*
7106 ;;
7107
7108 *-*-sco3.2v5*)
7109 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7110 SAVE_CFLAGS="$CFLAGS"
7111 CFLAGS="$CFLAGS -belf"
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7113 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7114 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7115 $as_echo_n "(cached) " >&6
7116 else
7117 ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122
7123 if test x$gcc_no_link = xyes; then
7124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7125 fi
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128
7129 int
7130 main ()
7131 {
7132
7133 ;
7134 return 0;
7135 }
7136 _ACEOF
7137 if ac_fn_c_try_link "$LINENO"; then :
7138 lt_cv_cc_needs_belf=yes
7139 else
7140 lt_cv_cc_needs_belf=no
7141 fi
7142 rm -f core conftest.err conftest.$ac_objext \
7143 conftest$ac_exeext conftest.$ac_ext
7144 ac_ext=c
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7149
7150 fi
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7152 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7153 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7154 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7155 CFLAGS="$SAVE_CFLAGS"
7156 fi
7157 ;;
7158 sparc*-*solaris*)
7159 # Find out which ABI we are using.
7160 echo 'int i;' > conftest.$ac_ext
7161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7162 (eval $ac_compile) 2>&5
7163 ac_status=$?
7164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7165 test $ac_status = 0; }; then
7166 case `/usr/bin/file conftest.o` in
7167 *64-bit*)
7168 case $lt_cv_prog_gnu_ld in
7169 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7170 *)
7171 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7172 LD="${LD-ld} -64"
7173 fi
7174 ;;
7175 esac
7176 ;;
7177 esac
7178 fi
7179 rm -rf conftest*
7180 ;;
7181 esac
7182
7183 need_locks="$enable_libtool_lock"
7184
7185
7186 case $host_os in
7187 rhapsody* | darwin*)
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7190 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 if test -n "$DSYMUTIL"; then
7197 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7198 else
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 for as_dir in $PATH
7201 do
7202 IFS=$as_save_IFS
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 break 2
7209 fi
7210 done
7211 done
7212 IFS=$as_save_IFS
7213
7214 fi
7215 fi
7216 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7217 if test -n "$DSYMUTIL"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7219 $as_echo "$DSYMUTIL" >&6; }
7220 else
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 $as_echo "no" >&6; }
7223 fi
7224
7225
7226 fi
7227 if test -z "$ac_cv_prog_DSYMUTIL"; then
7228 ac_ct_DSYMUTIL=$DSYMUTIL
7229 # Extract the first word of "dsymutil", so it can be a program name with args.
7230 set dummy dsymutil; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 if test -n "$ac_ct_DSYMUTIL"; then
7237 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7238 else
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 for as_dir in $PATH
7241 do
7242 IFS=$as_save_IFS
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 break 2
7249 fi
7250 done
7251 done
7252 IFS=$as_save_IFS
7253
7254 fi
7255 fi
7256 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7257 if test -n "$ac_ct_DSYMUTIL"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7259 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7260 else
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7263 fi
7264
7265 if test "x$ac_ct_DSYMUTIL" = x; then
7266 DSYMUTIL=":"
7267 else
7268 case $cross_compiling:$ac_tool_warned in
7269 yes:)
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7272 ac_tool_warned=yes ;;
7273 esac
7274 DSYMUTIL=$ac_ct_DSYMUTIL
7275 fi
7276 else
7277 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7278 fi
7279
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 if test -n "$NMEDIT"; then
7289 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7293 do
7294 IFS=$as_save_IFS
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 break 2
7301 fi
7302 done
7303 done
7304 IFS=$as_save_IFS
7305
7306 fi
7307 fi
7308 NMEDIT=$ac_cv_prog_NMEDIT
7309 if test -n "$NMEDIT"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7311 $as_echo "$NMEDIT" >&6; }
7312 else
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7315 fi
7316
7317
7318 fi
7319 if test -z "$ac_cv_prog_NMEDIT"; then
7320 ac_ct_NMEDIT=$NMEDIT
7321 # Extract the first word of "nmedit", so it can be a program name with args.
7322 set dummy nmedit; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$ac_ct_NMEDIT"; then
7329 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7333 do
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7341 fi
7342 done
7343 done
7344 IFS=$as_save_IFS
7345
7346 fi
7347 fi
7348 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7349 if test -n "$ac_ct_NMEDIT"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7351 $as_echo "$ac_ct_NMEDIT" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7355 fi
7356
7357 if test "x$ac_ct_NMEDIT" = x; then
7358 NMEDIT=":"
7359 else
7360 case $cross_compiling:$ac_tool_warned in
7361 yes:)
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7365 esac
7366 NMEDIT=$ac_ct_NMEDIT
7367 fi
7368 else
7369 NMEDIT="$ac_cv_prog_NMEDIT"
7370 fi
7371
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if test "${ac_cv_prog_LIPO+set}" = set; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$LIPO"; then
7381 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7385 do
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7393 fi
7394 done
7395 done
7396 IFS=$as_save_IFS
7397
7398 fi
7399 fi
7400 LIPO=$ac_cv_prog_LIPO
7401 if test -n "$LIPO"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7403 $as_echo "$LIPO" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7407 fi
7408
7409
7410 fi
7411 if test -z "$ac_cv_prog_LIPO"; then
7412 ac_ct_LIPO=$LIPO
7413 # Extract the first word of "lipo", so it can be a program name with args.
7414 set dummy lipo; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$ac_ct_LIPO"; then
7421 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7425 do
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_LIPO="lipo"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7433 fi
7434 done
7435 done
7436 IFS=$as_save_IFS
7437
7438 fi
7439 fi
7440 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7441 if test -n "$ac_ct_LIPO"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7443 $as_echo "$ac_ct_LIPO" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 fi
7448
7449 if test "x$ac_ct_LIPO" = x; then
7450 LIPO=":"
7451 else
7452 case $cross_compiling:$ac_tool_warned in
7453 yes:)
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7457 esac
7458 LIPO=$ac_ct_LIPO
7459 fi
7460 else
7461 LIPO="$ac_cv_prog_LIPO"
7462 fi
7463
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}otool; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$OTOOL"; then
7473 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7477 do
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7485 fi
7486 done
7487 done
7488 IFS=$as_save_IFS
7489
7490 fi
7491 fi
7492 OTOOL=$ac_cv_prog_OTOOL
7493 if test -n "$OTOOL"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7495 $as_echo "$OTOOL" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7499 fi
7500
7501
7502 fi
7503 if test -z "$ac_cv_prog_OTOOL"; then
7504 ac_ct_OTOOL=$OTOOL
7505 # Extract the first word of "otool", so it can be a program name with args.
7506 set dummy otool; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_OTOOL"; then
7513 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7517 do
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_OTOOL="otool"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7525 fi
7526 done
7527 done
7528 IFS=$as_save_IFS
7529
7530 fi
7531 fi
7532 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7533 if test -n "$ac_ct_OTOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7535 $as_echo "$ac_ct_OTOOL" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7539 fi
7540
7541 if test "x$ac_ct_OTOOL" = x; then
7542 OTOOL=":"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 OTOOL=$ac_ct_OTOOL
7551 fi
7552 else
7553 OTOOL="$ac_cv_prog_OTOOL"
7554 fi
7555
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7562 $as_echo_n "(cached) " >&6
7563 else
7564 if test -n "$OTOOL64"; then
7565 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7566 else
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 for as_dir in $PATH
7569 do
7570 IFS=$as_save_IFS
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 break 2
7577 fi
7578 done
7579 done
7580 IFS=$as_save_IFS
7581
7582 fi
7583 fi
7584 OTOOL64=$ac_cv_prog_OTOOL64
7585 if test -n "$OTOOL64"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7587 $as_echo "$OTOOL64" >&6; }
7588 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7591 fi
7592
7593
7594 fi
7595 if test -z "$ac_cv_prog_OTOOL64"; then
7596 ac_ct_OTOOL64=$OTOOL64
7597 # Extract the first word of "otool64", so it can be a program name with args.
7598 set dummy otool64; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$ac_ct_OTOOL64"; then
7605 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7609 do
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_ac_ct_OTOOL64="otool64"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7617 fi
7618 done
7619 done
7620 IFS=$as_save_IFS
7621
7622 fi
7623 fi
7624 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7625 if test -n "$ac_ct_OTOOL64"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7627 $as_echo "$ac_ct_OTOOL64" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7631 fi
7632
7633 if test "x$ac_ct_OTOOL64" = x; then
7634 OTOOL64=":"
7635 else
7636 case $cross_compiling:$ac_tool_warned in
7637 yes:)
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7641 esac
7642 OTOOL64=$ac_ct_OTOOL64
7643 fi
7644 else
7645 OTOOL64="$ac_cv_prog_OTOOL64"
7646 fi
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7675 $as_echo_n "checking for -single_module linker flag... " >&6; }
7676 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7677 $as_echo_n "(cached) " >&6
7678 else
7679 lt_cv_apple_cc_single_mod=no
7680 if test -z "${LT_MULTI_MODULE}"; then
7681 # By default we will add the -single_module flag. You can override
7682 # by either setting the environment variable LT_MULTI_MODULE
7683 # non-empty at configure time, or by adding -multi_module to the
7684 # link flags.
7685 rm -rf libconftest.dylib*
7686 echo "int foo(void){return 1;}" > conftest.c
7687 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7688 -dynamiclib -Wl,-single_module conftest.c" >&5
7689 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7690 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7691 _lt_result=$?
7692 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7693 lt_cv_apple_cc_single_mod=yes
7694 else
7695 cat conftest.err >&5
7696 fi
7697 rm -rf libconftest.dylib*
7698 rm -f conftest.*
7699 fi
7700 fi
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7702 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7704 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7705 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7706 $as_echo_n "(cached) " >&6
7707 else
7708 lt_cv_ld_exported_symbols_list=no
7709 save_LDFLAGS=$LDFLAGS
7710 echo "_main" > conftest.sym
7711 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7712 if test x$gcc_no_link = xyes; then
7713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7714 fi
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7717
7718 int
7719 main ()
7720 {
7721
7722 ;
7723 return 0;
7724 }
7725 _ACEOF
7726 if ac_fn_c_try_link "$LINENO"; then :
7727 lt_cv_ld_exported_symbols_list=yes
7728 else
7729 lt_cv_ld_exported_symbols_list=no
7730 fi
7731 rm -f core conftest.err conftest.$ac_objext \
7732 conftest$ac_exeext conftest.$ac_ext
7733 LDFLAGS="$save_LDFLAGS"
7734
7735 fi
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7737 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7739 $as_echo_n "checking for -force_load linker flag... " >&6; }
7740 if test "${lt_cv_ld_force_load+set}" = set; then :
7741 $as_echo_n "(cached) " >&6
7742 else
7743 lt_cv_ld_force_load=no
7744 cat > conftest.c << _LT_EOF
7745 int forced_loaded() { return 2;}
7746 _LT_EOF
7747 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7748 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7749 echo "$AR cru libconftest.a conftest.o" >&5
7750 $AR cru libconftest.a conftest.o 2>&5
7751 cat > conftest.c << _LT_EOF
7752 int main() { return 0;}
7753 _LT_EOF
7754 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7756 _lt_result=$?
7757 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7758 lt_cv_ld_force_load=yes
7759 else
7760 cat conftest.err >&5
7761 fi
7762 rm -f conftest.err libconftest.a conftest conftest.c
7763 rm -rf conftest.dSYM
7764
7765 fi
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7767 $as_echo "$lt_cv_ld_force_load" >&6; }
7768 case $host_os in
7769 rhapsody* | darwin1.[012])
7770 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7771 darwin1.*)
7772 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7773 darwin*) # darwin 5.x on
7774 # if running on 10.5 or later, the deployment target defaults
7775 # to the OS version, if on x86, and 10.4, the deployment
7776 # target defaults to 10.4. Don't you love it?
7777 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7778 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7779 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7780 10.[012]*)
7781 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7782 10.*)
7783 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7784 esac
7785 ;;
7786 esac
7787 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7788 _lt_dar_single_mod='$single_module'
7789 fi
7790 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7791 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7792 else
7793 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7794 fi
7795 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7796 _lt_dsymutil='~$DSYMUTIL $lib || :'
7797 else
7798 _lt_dsymutil=
7799 fi
7800 ;;
7801 esac
7802
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7804 $as_echo_n "checking for ANSI C header files... " >&6; }
7805 if test "${ac_cv_header_stdc+set}" = set; then :
7806 $as_echo_n "(cached) " >&6
7807 else
7808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7810 #include <stdlib.h>
7811 #include <stdarg.h>
7812 #include <string.h>
7813 #include <float.h>
7814
7815 int
7816 main ()
7817 {
7818
7819 ;
7820 return 0;
7821 }
7822 _ACEOF
7823 if ac_fn_c_try_compile "$LINENO"; then :
7824 ac_cv_header_stdc=yes
7825 else
7826 ac_cv_header_stdc=no
7827 fi
7828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7829
7830 if test $ac_cv_header_stdc = yes; then
7831 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7834 #include <string.h>
7835
7836 _ACEOF
7837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7838 $EGREP "memchr" >/dev/null 2>&1; then :
7839
7840 else
7841 ac_cv_header_stdc=no
7842 fi
7843 rm -f conftest*
7844
7845 fi
7846
7847 if test $ac_cv_header_stdc = yes; then
7848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7851 #include <stdlib.h>
7852
7853 _ACEOF
7854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7855 $EGREP "free" >/dev/null 2>&1; then :
7856
7857 else
7858 ac_cv_header_stdc=no
7859 fi
7860 rm -f conftest*
7861
7862 fi
7863
7864 if test $ac_cv_header_stdc = yes; then
7865 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7866 if test "$cross_compiling" = yes; then :
7867 :
7868 else
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7871 #include <ctype.h>
7872 #include <stdlib.h>
7873 #if ((' ' & 0x0FF) == 0x020)
7874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7876 #else
7877 # define ISLOWER(c) \
7878 (('a' <= (c) && (c) <= 'i') \
7879 || ('j' <= (c) && (c) <= 'r') \
7880 || ('s' <= (c) && (c) <= 'z'))
7881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7882 #endif
7883
7884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7885 int
7886 main ()
7887 {
7888 int i;
7889 for (i = 0; i < 256; i++)
7890 if (XOR (islower (i), ISLOWER (i))
7891 || toupper (i) != TOUPPER (i))
7892 return 2;
7893 return 0;
7894 }
7895 _ACEOF
7896 if ac_fn_c_try_run "$LINENO"; then :
7897
7898 else
7899 ac_cv_header_stdc=no
7900 fi
7901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7902 conftest.$ac_objext conftest.beam conftest.$ac_ext
7903 fi
7904
7905 fi
7906 fi
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7908 $as_echo "$ac_cv_header_stdc" >&6; }
7909 if test $ac_cv_header_stdc = yes; then
7910
7911 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7912
7913 fi
7914
7915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7916 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7917 inttypes.h stdint.h unistd.h
7918 do :
7919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7920 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7921 "
7922 eval as_val=\$$as_ac_Header
7923 if test "x$as_val" = x""yes; then :
7924 cat >>confdefs.h <<_ACEOF
7925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7926 _ACEOF
7927
7928 fi
7929
7930 done
7931
7932
7933 for ac_header in dlfcn.h
7934 do :
7935 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7936 "
7937 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7938 cat >>confdefs.h <<_ACEOF
7939 #define HAVE_DLFCN_H 1
7940 _ACEOF
7941
7942 fi
7943
7944 done
7945
7946
7947
7948
7949
7950
7951 # Set options
7952
7953
7954
7955
7956 enable_win32_dll=no
7957
7958
7959 # Check whether --enable-shared was given.
7960 if test "${enable_shared+set}" = set; then :
7961 enableval=$enable_shared; p=${PACKAGE-default}
7962 case $enableval in
7963 yes) enable_shared=yes ;;
7964 no) enable_shared=no ;;
7965 *)
7966 enable_shared=no
7967 # Look at the argument we got. We use all the common list separators.
7968 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7969 for pkg in $enableval; do
7970 IFS="$lt_save_ifs"
7971 if test "X$pkg" = "X$p"; then
7972 enable_shared=yes
7973 fi
7974 done
7975 IFS="$lt_save_ifs"
7976 ;;
7977 esac
7978 else
7979 enable_shared=yes
7980 fi
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990 # Check whether --enable-static was given.
7991 if test "${enable_static+set}" = set; then :
7992 enableval=$enable_static; p=${PACKAGE-default}
7993 case $enableval in
7994 yes) enable_static=yes ;;
7995 no) enable_static=no ;;
7996 *)
7997 enable_static=no
7998 # Look at the argument we got. We use all the common list separators.
7999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000 for pkg in $enableval; do
8001 IFS="$lt_save_ifs"
8002 if test "X$pkg" = "X$p"; then
8003 enable_static=yes
8004 fi
8005 done
8006 IFS="$lt_save_ifs"
8007 ;;
8008 esac
8009 else
8010 enable_static=yes
8011 fi
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022 # Check whether --with-pic was given.
8023 if test "${with_pic+set}" = set; then :
8024 withval=$with_pic; pic_mode="$withval"
8025 else
8026 pic_mode=default
8027 fi
8028
8029
8030 test -z "$pic_mode" && pic_mode=default
8031
8032
8033
8034
8035
8036
8037
8038 # Check whether --enable-fast-install was given.
8039 if test "${enable_fast_install+set}" = set; then :
8040 enableval=$enable_fast_install; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_fast_install=yes ;;
8043 no) enable_fast_install=no ;;
8044 *)
8045 enable_fast_install=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_fast_install=yes
8052 fi
8053 done
8054 IFS="$lt_save_ifs"
8055 ;;
8056 esac
8057 else
8058 enable_fast_install=yes
8059 fi
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071 # This can be used to rebuild libtool when needed
8072 LIBTOOL_DEPS="$ltmain"
8073
8074 # Always use our own libtool.
8075 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102 test -z "$LN_S" && LN_S="ln -s"
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117 if test -n "${ZSH_VERSION+set}" ; then
8118 setopt NO_GLOB_SUBST
8119 fi
8120
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8122 $as_echo_n "checking for objdir... " >&6; }
8123 if test "${lt_cv_objdir+set}" = set; then :
8124 $as_echo_n "(cached) " >&6
8125 else
8126 rm -f .libs 2>/dev/null
8127 mkdir .libs 2>/dev/null
8128 if test -d .libs; then
8129 lt_cv_objdir=.libs
8130 else
8131 # MS-DOS does not allow filenames that begin with a dot.
8132 lt_cv_objdir=_libs
8133 fi
8134 rmdir .libs 2>/dev/null
8135 fi
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8137 $as_echo "$lt_cv_objdir" >&6; }
8138 objdir=$lt_cv_objdir
8139
8140
8141
8142
8143
8144 cat >>confdefs.h <<_ACEOF
8145 #define LT_OBJDIR "$lt_cv_objdir/"
8146 _ACEOF
8147
8148
8149
8150
8151 case $host_os in
8152 aix3*)
8153 # AIX sometimes has problems with the GCC collect2 program. For some
8154 # reason, if we set the COLLECT_NAMES environment variable, the problems
8155 # vanish in a puff of smoke.
8156 if test "X${COLLECT_NAMES+set}" != Xset; then
8157 COLLECT_NAMES=
8158 export COLLECT_NAMES
8159 fi
8160 ;;
8161 esac
8162
8163 # Global variables:
8164 ofile=libtool
8165 can_build_shared=yes
8166
8167 # All known linkers require a `.a' archive for static linking (except MSVC,
8168 # which needs '.lib').
8169 libext=a
8170
8171 with_gnu_ld="$lt_cv_prog_gnu_ld"
8172
8173 old_CC="$CC"
8174 old_CFLAGS="$CFLAGS"
8175
8176 # Set sane defaults for various variables
8177 test -z "$CC" && CC=cc
8178 test -z "$LTCC" && LTCC=$CC
8179 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8180 test -z "$LD" && LD=ld
8181 test -z "$ac_objext" && ac_objext=o
8182
8183 for cc_temp in $compiler""; do
8184 case $cc_temp in
8185 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8186 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8187 \-*) ;;
8188 *) break;;
8189 esac
8190 done
8191 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8192
8193
8194 # Only perform the check for file, if the check method requires it
8195 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8196 case $deplibs_check_method in
8197 file_magic*)
8198 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8200 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8201 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8202 $as_echo_n "(cached) " >&6
8203 else
8204 case $MAGIC_CMD in
8205 [\\/*] | ?:[\\/]*)
8206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8207 ;;
8208 *)
8209 lt_save_MAGIC_CMD="$MAGIC_CMD"
8210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8211 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8212 for ac_dir in $ac_dummy; do
8213 IFS="$lt_save_ifs"
8214 test -z "$ac_dir" && ac_dir=.
8215 if test -f $ac_dir/${ac_tool_prefix}file; then
8216 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8217 if test -n "$file_magic_test_file"; then
8218 case $deplibs_check_method in
8219 "file_magic "*)
8220 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8221 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8222 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8223 $EGREP "$file_magic_regex" > /dev/null; then
8224 :
8225 else
8226 cat <<_LT_EOF 1>&2
8227
8228 *** Warning: the command libtool uses to detect shared libraries,
8229 *** $file_magic_cmd, produces output that libtool cannot recognize.
8230 *** The result is that libtool may fail to recognize shared libraries
8231 *** as such. This will affect the creation of libtool libraries that
8232 *** depend on shared libraries, but programs linked with such libtool
8233 *** libraries will work regardless of this problem. Nevertheless, you
8234 *** may want to report the problem to your system manager and/or to
8235 *** bug-libtool@gnu.org
8236
8237 _LT_EOF
8238 fi ;;
8239 esac
8240 fi
8241 break
8242 fi
8243 done
8244 IFS="$lt_save_ifs"
8245 MAGIC_CMD="$lt_save_MAGIC_CMD"
8246 ;;
8247 esac
8248 fi
8249
8250 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8251 if test -n "$MAGIC_CMD"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8253 $as_echo "$MAGIC_CMD" >&6; }
8254 else
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8257 fi
8258
8259
8260
8261
8262
8263 if test -z "$lt_cv_path_MAGIC_CMD"; then
8264 if test -n "$ac_tool_prefix"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8266 $as_echo_n "checking for file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273 ;;
8274 *)
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8290 :
8291 else
8292 cat <<_LT_EOF 1>&2
8293
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8302
8303 _LT_EOF
8304 fi ;;
8305 esac
8306 fi
8307 break
8308 fi
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8312 ;;
8313 esac
8314 fi
8315
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325
8326 else
8327 MAGIC_CMD=:
8328 fi
8329 fi
8330
8331 fi
8332 ;;
8333 esac
8334
8335 # Use C for the default configuration in the libtool script
8336
8337 lt_save_CC="$CC"
8338 ac_ext=c
8339 ac_cpp='$CPP $CPPFLAGS'
8340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8343
8344
8345 # Source file extension for C test sources.
8346 ac_ext=c
8347
8348 # Object file extension for compiled C test sources.
8349 objext=o
8350 objext=$objext
8351
8352 # Code to be used in simple compile tests
8353 lt_simple_compile_test_code="int some_variable = 0;"
8354
8355 # Code to be used in simple link tests
8356 lt_simple_link_test_code='int main(){return(0);}'
8357
8358
8359
8360
8361
8362
8363
8364 # If no C compiler was specified, use CC.
8365 LTCC=${LTCC-"$CC"}
8366
8367 # If no C compiler flags were specified, use CFLAGS.
8368 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8369
8370 # Allow CC to be a program name with arguments.
8371 compiler=$CC
8372
8373 # Save the default compiler, since it gets overwritten when the other
8374 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8375 compiler_DEFAULT=$CC
8376
8377 # save warnings/boilerplate of simple test code
8378 ac_outfile=conftest.$ac_objext
8379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8381 _lt_compiler_boilerplate=`cat conftest.err`
8382 $RM conftest*
8383
8384 ac_outfile=conftest.$ac_objext
8385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8387 _lt_linker_boilerplate=`cat conftest.err`
8388 $RM -r conftest*
8389
8390
8391 ## CAVEAT EMPTOR:
8392 ## There is no encapsulation within the following macros, do not change
8393 ## the running order or otherwise move them around unless you know exactly
8394 ## what you are doing...
8395 if test -n "$compiler"; then
8396
8397 lt_prog_compiler_no_builtin_flag=
8398
8399 if test "$GCC" = yes; then
8400 case $cc_basename in
8401 nvcc*)
8402 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8403 *)
8404 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8405 esac
8406
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8408 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8409 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 lt_cv_prog_compiler_rtti_exceptions=no
8413 ac_outfile=conftest.$ac_objext
8414 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8415 lt_compiler_flag="-fno-rtti -fno-exceptions"
8416 # Insert the option either (1) after the last *FLAGS variable, or
8417 # (2) before a word containing "conftest.", or (3) at the end.
8418 # Note that $ac_compile itself does not contain backslashes and begins
8419 # with a dollar sign (not a hyphen), so the echo should work correctly.
8420 # The option is referenced via a variable to avoid confusing sed.
8421 lt_compile=`echo "$ac_compile" | $SED \
8422 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8423 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8424 -e 's:$: $lt_compiler_flag:'`
8425 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8426 (eval "$lt_compile" 2>conftest.err)
8427 ac_status=$?
8428 cat conftest.err >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 if (exit $ac_status) && test -s "$ac_outfile"; then
8431 # The compiler can only warn and ignore the option if not recognized
8432 # So say no if there are warnings other than the usual output.
8433 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8434 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8435 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8436 lt_cv_prog_compiler_rtti_exceptions=yes
8437 fi
8438 fi
8439 $RM conftest*
8440
8441 fi
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8443 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8444
8445 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8446 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8447 else
8448 :
8449 fi
8450
8451 fi
8452
8453
8454
8455
8456
8457
8458 lt_prog_compiler_wl=
8459 lt_prog_compiler_pic=
8460 lt_prog_compiler_static=
8461
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8463 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8464
8465 if test "$GCC" = yes; then
8466 lt_prog_compiler_wl='-Wl,'
8467 lt_prog_compiler_static='-static'
8468
8469 case $host_os in
8470 aix*)
8471 # All AIX code is PIC.
8472 if test "$host_cpu" = ia64; then
8473 # AIX 5 now supports IA64 processor
8474 lt_prog_compiler_static='-Bstatic'
8475 fi
8476 ;;
8477
8478 amigaos*)
8479 case $host_cpu in
8480 powerpc)
8481 # see comment about AmigaOS4 .so support
8482 lt_prog_compiler_pic='-fPIC'
8483 ;;
8484 m68k)
8485 # FIXME: we need at least 68020 code to build shared libraries, but
8486 # adding the `-m68020' flag to GCC prevents building anything better,
8487 # like `-m68040'.
8488 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8489 ;;
8490 esac
8491 ;;
8492
8493 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8494 # PIC is the default for these OSes.
8495 ;;
8496
8497 mingw* | cygwin* | pw32* | os2* | cegcc*)
8498 # This hack is so that the source file can tell whether it is being
8499 # built for inclusion in a dll (and should export symbols for example).
8500 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8501 # (--disable-auto-import) libraries
8502 lt_prog_compiler_pic='-DDLL_EXPORT'
8503 ;;
8504
8505 darwin* | rhapsody*)
8506 # PIC is the default on this platform
8507 # Common symbols not allowed in MH_DYLIB files
8508 lt_prog_compiler_pic='-fno-common'
8509 ;;
8510
8511 haiku*)
8512 # PIC is the default for Haiku.
8513 # The "-static" flag exists, but is broken.
8514 lt_prog_compiler_static=
8515 ;;
8516
8517 hpux*)
8518 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8519 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8520 # sets the default TLS model and affects inlining.
8521 case $host_cpu in
8522 hppa*64*)
8523 # +Z the default
8524 ;;
8525 *)
8526 lt_prog_compiler_pic='-fPIC'
8527 ;;
8528 esac
8529 ;;
8530
8531 interix[3-9]*)
8532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8533 # Instead, we relocate shared libraries at runtime.
8534 ;;
8535
8536 msdosdjgpp*)
8537 # Just because we use GCC doesn't mean we suddenly get shared libraries
8538 # on systems that don't support them.
8539 lt_prog_compiler_can_build_shared=no
8540 enable_shared=no
8541 ;;
8542
8543 *nto* | *qnx*)
8544 # QNX uses GNU C++, but need to define -shared option too, otherwise
8545 # it will coredump.
8546 lt_prog_compiler_pic='-fPIC -shared'
8547 ;;
8548
8549 sysv4*MP*)
8550 if test -d /usr/nec; then
8551 lt_prog_compiler_pic=-Kconform_pic
8552 fi
8553 ;;
8554
8555 *)
8556 lt_prog_compiler_pic='-fPIC'
8557 ;;
8558 esac
8559
8560 case $cc_basename in
8561 nvcc*) # Cuda Compiler Driver 2.2
8562 lt_prog_compiler_wl='-Xlinker '
8563 lt_prog_compiler_pic='-Xcompiler -fPIC'
8564 ;;
8565 esac
8566 else
8567 # PORTME Check for flag to pass linker flags through the system compiler.
8568 case $host_os in
8569 aix*)
8570 lt_prog_compiler_wl='-Wl,'
8571 if test "$host_cpu" = ia64; then
8572 # AIX 5 now supports IA64 processor
8573 lt_prog_compiler_static='-Bstatic'
8574 else
8575 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8576 fi
8577 ;;
8578
8579 mingw* | cygwin* | pw32* | os2* | cegcc*)
8580 # This hack is so that the source file can tell whether it is being
8581 # built for inclusion in a dll (and should export symbols for example).
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8583 ;;
8584
8585 hpux9* | hpux10* | hpux11*)
8586 lt_prog_compiler_wl='-Wl,'
8587 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8588 # not for PA HP-UX.
8589 case $host_cpu in
8590 hppa*64*|ia64*)
8591 # +Z the default
8592 ;;
8593 *)
8594 lt_prog_compiler_pic='+Z'
8595 ;;
8596 esac
8597 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8598 lt_prog_compiler_static='${wl}-a ${wl}archive'
8599 ;;
8600
8601 irix5* | irix6* | nonstopux*)
8602 lt_prog_compiler_wl='-Wl,'
8603 # PIC (with -KPIC) is the default.
8604 lt_prog_compiler_static='-non_shared'
8605 ;;
8606
8607 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8608 case $cc_basename in
8609 # old Intel for x86_64 which still supported -KPIC.
8610 ecc*)
8611 lt_prog_compiler_wl='-Wl,'
8612 lt_prog_compiler_pic='-KPIC'
8613 lt_prog_compiler_static='-static'
8614 ;;
8615 # icc used to be incompatible with GCC.
8616 # ICC 10 doesn't accept -KPIC any more.
8617 icc* | ifort*)
8618 lt_prog_compiler_wl='-Wl,'
8619 lt_prog_compiler_pic='-fPIC'
8620 lt_prog_compiler_static='-static'
8621 ;;
8622 # Lahey Fortran 8.1.
8623 lf95*)
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='--shared'
8626 lt_prog_compiler_static='--static'
8627 ;;
8628 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8629 # Portland Group compilers (*not* the Pentium gcc compiler,
8630 # which looks to be a dead project)
8631 lt_prog_compiler_wl='-Wl,'
8632 lt_prog_compiler_pic='-fpic'
8633 lt_prog_compiler_static='-Bstatic'
8634 ;;
8635 ccc*)
8636 lt_prog_compiler_wl='-Wl,'
8637 # All Alpha code is PIC.
8638 lt_prog_compiler_static='-non_shared'
8639 ;;
8640 xl* | bgxl* | bgf* | mpixl*)
8641 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8642 lt_prog_compiler_wl='-Wl,'
8643 lt_prog_compiler_pic='-qpic'
8644 lt_prog_compiler_static='-qstaticlink'
8645 ;;
8646 *)
8647 case `$CC -V 2>&1 | sed 5q` in
8648 *Sun\ F* | *Sun*Fortran*)
8649 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8650 lt_prog_compiler_pic='-KPIC'
8651 lt_prog_compiler_static='-Bstatic'
8652 lt_prog_compiler_wl=''
8653 ;;
8654 *Sun\ C*)
8655 # Sun C 5.9
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl='-Wl,'
8659 ;;
8660 esac
8661 ;;
8662 esac
8663 ;;
8664
8665 newsos6)
8666 lt_prog_compiler_pic='-KPIC'
8667 lt_prog_compiler_static='-Bstatic'
8668 ;;
8669
8670 *nto* | *qnx*)
8671 # QNX uses GNU C++, but need to define -shared option too, otherwise
8672 # it will coredump.
8673 lt_prog_compiler_pic='-fPIC -shared'
8674 ;;
8675
8676 osf3* | osf4* | osf5*)
8677 lt_prog_compiler_wl='-Wl,'
8678 # All OSF/1 code is PIC.
8679 lt_prog_compiler_static='-non_shared'
8680 ;;
8681
8682 rdos*)
8683 lt_prog_compiler_static='-non_shared'
8684 ;;
8685
8686 solaris*)
8687 lt_prog_compiler_pic='-KPIC'
8688 lt_prog_compiler_static='-Bstatic'
8689 case $cc_basename in
8690 f77* | f90* | f95*)
8691 lt_prog_compiler_wl='-Qoption ld ';;
8692 *)
8693 lt_prog_compiler_wl='-Wl,';;
8694 esac
8695 ;;
8696
8697 sunos4*)
8698 lt_prog_compiler_wl='-Qoption ld '
8699 lt_prog_compiler_pic='-PIC'
8700 lt_prog_compiler_static='-Bstatic'
8701 ;;
8702
8703 sysv4 | sysv4.2uw2* | sysv4.3*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-Bstatic'
8707 ;;
8708
8709 sysv4*MP*)
8710 if test -d /usr/nec ;then
8711 lt_prog_compiler_pic='-Kconform_pic'
8712 lt_prog_compiler_static='-Bstatic'
8713 fi
8714 ;;
8715
8716 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8717 lt_prog_compiler_wl='-Wl,'
8718 lt_prog_compiler_pic='-KPIC'
8719 lt_prog_compiler_static='-Bstatic'
8720 ;;
8721
8722 unicos*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_can_build_shared=no
8725 ;;
8726
8727 uts4*)
8728 lt_prog_compiler_pic='-pic'
8729 lt_prog_compiler_static='-Bstatic'
8730 ;;
8731
8732 *)
8733 lt_prog_compiler_can_build_shared=no
8734 ;;
8735 esac
8736 fi
8737
8738 case $host_os in
8739 # For platforms which do not support PIC, -DPIC is meaningless:
8740 *djgpp*)
8741 lt_prog_compiler_pic=
8742 ;;
8743 *)
8744 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8745 ;;
8746 esac
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8748 $as_echo "$lt_prog_compiler_pic" >&6; }
8749
8750
8751
8752
8753
8754
8755 #
8756 # Check to make sure the PIC flag actually works.
8757 #
8758 if test -n "$lt_prog_compiler_pic"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8760 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8761 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8762 $as_echo_n "(cached) " >&6
8763 else
8764 lt_cv_prog_compiler_pic_works=no
8765 ac_outfile=conftest.$ac_objext
8766 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8767 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8768 # Insert the option either (1) after the last *FLAGS variable, or
8769 # (2) before a word containing "conftest.", or (3) at the end.
8770 # Note that $ac_compile itself does not contain backslashes and begins
8771 # with a dollar sign (not a hyphen), so the echo should work correctly.
8772 # The option is referenced via a variable to avoid confusing sed.
8773 lt_compile=`echo "$ac_compile" | $SED \
8774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8776 -e 's:$: $lt_compiler_flag:'`
8777 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8778 (eval "$lt_compile" 2>conftest.err)
8779 ac_status=$?
8780 cat conftest.err >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 if (exit $ac_status) && test -s "$ac_outfile"; then
8783 # The compiler can only warn and ignore the option if not recognized
8784 # So say no if there are warnings other than the usual output.
8785 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8787 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8788 lt_cv_prog_compiler_pic_works=yes
8789 fi
8790 fi
8791 $RM conftest*
8792
8793 fi
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8795 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8796
8797 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8798 case $lt_prog_compiler_pic in
8799 "" | " "*) ;;
8800 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8801 esac
8802 else
8803 lt_prog_compiler_pic=
8804 lt_prog_compiler_can_build_shared=no
8805 fi
8806
8807 fi
8808
8809
8810
8811
8812
8813
8814 #
8815 # Check to make sure the static flag actually works.
8816 #
8817 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8819 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8820 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 lt_cv_prog_compiler_static_works=no
8824 save_LDFLAGS="$LDFLAGS"
8825 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8828 # The linker can only warn and ignore the option if not recognized
8829 # So say no if there are warnings
8830 if test -s conftest.err; then
8831 # Append any errors to the config.log.
8832 cat conftest.err 1>&5
8833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8835 if diff conftest.exp conftest.er2 >/dev/null; then
8836 lt_cv_prog_compiler_static_works=yes
8837 fi
8838 else
8839 lt_cv_prog_compiler_static_works=yes
8840 fi
8841 fi
8842 $RM -r conftest*
8843 LDFLAGS="$save_LDFLAGS"
8844
8845 fi
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8847 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8848
8849 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8850 :
8851 else
8852 lt_prog_compiler_static=
8853 fi
8854
8855
8856
8857
8858
8859
8860
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8862 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8863 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 lt_cv_prog_compiler_c_o=no
8867 $RM -r conftest 2>/dev/null
8868 mkdir conftest
8869 cd conftest
8870 mkdir out
8871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8872
8873 lt_compiler_flag="-o out/conftest2.$ac_objext"
8874 # Insert the option either (1) after the last *FLAGS variable, or
8875 # (2) before a word containing "conftest.", or (3) at the end.
8876 # Note that $ac_compile itself does not contain backslashes and begins
8877 # with a dollar sign (not a hyphen), so the echo should work correctly.
8878 lt_compile=`echo "$ac_compile" | $SED \
8879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8881 -e 's:$: $lt_compiler_flag:'`
8882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8883 (eval "$lt_compile" 2>out/conftest.err)
8884 ac_status=$?
8885 cat out/conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8888 then
8889 # The compiler can only warn and ignore the option if not recognized
8890 # So say no if there are warnings
8891 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8892 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8893 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8894 lt_cv_prog_compiler_c_o=yes
8895 fi
8896 fi
8897 chmod u+w . 2>&5
8898 $RM conftest*
8899 # SGI C++ compiler will create directory out/ii_files/ for
8900 # template instantiation
8901 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8902 $RM out/* && rmdir out
8903 cd ..
8904 $RM -r conftest
8905 $RM conftest*
8906
8907 fi
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8909 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8910
8911
8912
8913
8914
8915
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8918 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 lt_cv_prog_compiler_c_o=no
8922 $RM -r conftest 2>/dev/null
8923 mkdir conftest
8924 cd conftest
8925 mkdir out
8926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8927
8928 lt_compiler_flag="-o out/conftest2.$ac_objext"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 lt_compile=`echo "$ac_compile" | $SED \
8934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936 -e 's:$: $lt_compiler_flag:'`
8937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8938 (eval "$lt_compile" 2>out/conftest.err)
8939 ac_status=$?
8940 cat out/conftest.err >&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8943 then
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8947 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8948 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_c_o=yes
8950 fi
8951 fi
8952 chmod u+w . 2>&5
8953 $RM conftest*
8954 # SGI C++ compiler will create directory out/ii_files/ for
8955 # template instantiation
8956 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8957 $RM out/* && rmdir out
8958 cd ..
8959 $RM -r conftest
8960 $RM conftest*
8961
8962 fi
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8964 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8965
8966
8967
8968
8969 hard_links="nottested"
8970 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8971 # do not overwrite the value of need_locks provided by the user
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8973 $as_echo_n "checking if we can lock with hard links... " >&6; }
8974 hard_links=yes
8975 $RM conftest*
8976 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8977 touch conftest.a
8978 ln conftest.a conftest.b 2>&5 || hard_links=no
8979 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8981 $as_echo "$hard_links" >&6; }
8982 if test "$hard_links" = no; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8984 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8985 need_locks=warn
8986 fi
8987 else
8988 need_locks=no
8989 fi
8990
8991
8992
8993
8994
8995
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8997 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8998
8999 runpath_var=
9000 allow_undefined_flag=
9001 always_export_symbols=no
9002 archive_cmds=
9003 archive_expsym_cmds=
9004 compiler_needs_object=no
9005 enable_shared_with_static_runtimes=no
9006 export_dynamic_flag_spec=
9007 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9008 hardcode_automatic=no
9009 hardcode_direct=no
9010 hardcode_direct_absolute=no
9011 hardcode_libdir_flag_spec=
9012 hardcode_libdir_flag_spec_ld=
9013 hardcode_libdir_separator=
9014 hardcode_minus_L=no
9015 hardcode_shlibpath_var=unsupported
9016 inherit_rpath=no
9017 link_all_deplibs=unknown
9018 module_cmds=
9019 module_expsym_cmds=
9020 old_archive_from_new_cmds=
9021 old_archive_from_expsyms_cmds=
9022 thread_safe_flag_spec=
9023 whole_archive_flag_spec=
9024 # include_expsyms should be a list of space-separated symbols to be *always*
9025 # included in the symbol list
9026 include_expsyms=
9027 # exclude_expsyms can be an extended regexp of symbols to exclude
9028 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9029 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9030 # as well as any symbol that contains `d'.
9031 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9032 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9033 # platforms (ab)use it in PIC code, but their linkers get confused if
9034 # the symbol is explicitly referenced. Since portable code cannot
9035 # rely on this symbol name, it's probably fine to never include it in
9036 # preloaded symbol tables.
9037 # Exclude shared library initialization/finalization symbols.
9038 extract_expsyms_cmds=
9039
9040 case $host_os in
9041 cygwin* | mingw* | pw32* | cegcc*)
9042 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9043 # When not using gcc, we currently assume that we are using
9044 # Microsoft Visual C++.
9045 if test "$GCC" != yes; then
9046 with_gnu_ld=no
9047 fi
9048 ;;
9049 interix*)
9050 # we just hope/assume this is gcc and not c89 (= MSVC++)
9051 with_gnu_ld=yes
9052 ;;
9053 openbsd*)
9054 with_gnu_ld=no
9055 ;;
9056 esac
9057
9058 ld_shlibs=yes
9059
9060 # On some targets, GNU ld is compatible enough with the native linker
9061 # that we're better off using the native interface for both.
9062 lt_use_gnu_ld_interface=no
9063 if test "$with_gnu_ld" = yes; then
9064 case $host_os in
9065 aix*)
9066 # The AIX port of GNU ld has always aspired to compatibility
9067 # with the native linker. However, as the warning in the GNU ld
9068 # block says, versions before 2.19.5* couldn't really create working
9069 # shared libraries, regardless of the interface used.
9070 case `$LD -v 2>&1` in
9071 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9072 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9073 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9074 *)
9075 lt_use_gnu_ld_interface=yes
9076 ;;
9077 esac
9078 ;;
9079 *)
9080 lt_use_gnu_ld_interface=yes
9081 ;;
9082 esac
9083 fi
9084
9085 if test "$lt_use_gnu_ld_interface" = yes; then
9086 # If archive_cmds runs LD, not CC, wlarc should be empty
9087 wlarc='${wl}'
9088
9089 # Set some defaults for GNU ld with shared library support. These
9090 # are reset later if shared libraries are not supported. Putting them
9091 # here allows them to be overridden if necessary.
9092 runpath_var=LD_RUN_PATH
9093 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9094 export_dynamic_flag_spec='${wl}--export-dynamic'
9095 # ancient GNU ld didn't support --whole-archive et. al.
9096 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9097 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9098 else
9099 whole_archive_flag_spec=
9100 fi
9101 supports_anon_versioning=no
9102 case `$LD -v 2>&1` in
9103 *GNU\ gold*) supports_anon_versioning=yes ;;
9104 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9105 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9106 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9107 *\ 2.11.*) ;; # other 2.11 versions
9108 *) supports_anon_versioning=yes ;;
9109 esac
9110
9111 # See if GNU ld supports shared libraries.
9112 case $host_os in
9113 aix[3-9]*)
9114 # On AIX/PPC, the GNU linker is very broken
9115 if test "$host_cpu" != ia64; then
9116 ld_shlibs=no
9117 cat <<_LT_EOF 1>&2
9118
9119 *** Warning: the GNU linker, at least up to release 2.19, is reported
9120 *** to be unable to reliably create shared libraries on AIX.
9121 *** Therefore, libtool is disabling shared libraries support. If you
9122 *** really care for shared libraries, you may want to install binutils
9123 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9124 *** You will then need to restart the configuration process.
9125
9126 _LT_EOF
9127 fi
9128 ;;
9129
9130 amigaos*)
9131 case $host_cpu in
9132 powerpc)
9133 # see comment about AmigaOS4 .so support
9134 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 archive_expsym_cmds=''
9136 ;;
9137 m68k)
9138 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)'
9139 hardcode_libdir_flag_spec='-L$libdir'
9140 hardcode_minus_L=yes
9141 ;;
9142 esac
9143 ;;
9144
9145 beos*)
9146 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9147 allow_undefined_flag=unsupported
9148 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9149 # support --undefined. This deserves some investigation. FIXME
9150 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 else
9152 ld_shlibs=no
9153 fi
9154 ;;
9155
9156 cygwin* | mingw* | pw32* | cegcc*)
9157 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9158 # as there is no search path for DLLs.
9159 hardcode_libdir_flag_spec='-L$libdir'
9160 export_dynamic_flag_spec='${wl}--export-all-symbols'
9161 allow_undefined_flag=unsupported
9162 always_export_symbols=no
9163 enable_shared_with_static_runtimes=yes
9164 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9165
9166 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9167 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9168 # If the export-symbols file already is a .def file (1st line
9169 # is EXPORTS), use it as is; otherwise, prepend...
9170 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9171 cp $export_symbols $output_objdir/$soname.def;
9172 else
9173 echo EXPORTS > $output_objdir/$soname.def;
9174 cat $export_symbols >> $output_objdir/$soname.def;
9175 fi~
9176 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9177 else
9178 ld_shlibs=no
9179 fi
9180 ;;
9181
9182 haiku*)
9183 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 link_all_deplibs=yes
9185 ;;
9186
9187 interix[3-9]*)
9188 hardcode_direct=no
9189 hardcode_shlibpath_var=no
9190 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9191 export_dynamic_flag_spec='${wl}-E'
9192 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9193 # Instead, shared libraries are loaded at an image base (0x10000000 by
9194 # default) and relocated if they conflict, which is a slow very memory
9195 # consuming and fragmenting process. To avoid this, we pick a random,
9196 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9197 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9198 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9199 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'
9200 ;;
9201
9202 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9203 tmp_diet=no
9204 if test "$host_os" = linux-dietlibc; then
9205 case $cc_basename in
9206 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9207 esac
9208 fi
9209 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9210 && test "$tmp_diet" = no
9211 then
9212 tmp_addflag=
9213 tmp_sharedflag='-shared'
9214 case $cc_basename,$host_cpu in
9215 pgcc*) # Portland Group C compiler
9216 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'
9217 tmp_addflag=' $pic_flag'
9218 ;;
9219 pgf77* | pgf90* | pgf95* | pgfortran*)
9220 # Portland Group f77 and f90 compilers
9221 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'
9222 tmp_addflag=' $pic_flag -Mnomain' ;;
9223 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9224 tmp_addflag=' -i_dynamic' ;;
9225 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9226 tmp_addflag=' -i_dynamic -nofor_main' ;;
9227 ifc* | ifort*) # Intel Fortran compiler
9228 tmp_addflag=' -nofor_main' ;;
9229 lf95*) # Lahey Fortran 8.1
9230 whole_archive_flag_spec=
9231 tmp_sharedflag='--shared' ;;
9232 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9233 tmp_sharedflag='-qmkshrobj'
9234 tmp_addflag= ;;
9235 nvcc*) # Cuda Compiler Driver 2.2
9236 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'
9237 compiler_needs_object=yes
9238 ;;
9239 esac
9240 case `$CC -V 2>&1 | sed 5q` in
9241 *Sun\ C*) # Sun C 5.9
9242 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'
9243 compiler_needs_object=yes
9244 tmp_sharedflag='-G' ;;
9245 *Sun\ F*) # Sun Fortran 8.3
9246 tmp_sharedflag='-G' ;;
9247 esac
9248 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249
9250 if test "x$supports_anon_versioning" = xyes; then
9251 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9252 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9253 echo "local: *; };" >> $output_objdir/$libname.ver~
9254 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9255 fi
9256
9257 case $cc_basename in
9258 xlf* | bgf* | bgxlf* | mpixlf*)
9259 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9260 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9261 hardcode_libdir_flag_spec=
9262 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9263 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9264 if test "x$supports_anon_versioning" = xyes; then
9265 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9267 echo "local: *; };" >> $output_objdir/$libname.ver~
9268 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9269 fi
9270 ;;
9271 esac
9272 else
9273 ld_shlibs=no
9274 fi
9275 ;;
9276
9277 netbsd*)
9278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9279 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9280 wlarc=
9281 else
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9284 fi
9285 ;;
9286
9287 solaris*)
9288 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9289 ld_shlibs=no
9290 cat <<_LT_EOF 1>&2
9291
9292 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9293 *** create shared libraries on Solaris systems. Therefore, libtool
9294 *** is disabling shared libraries support. We urge you to upgrade GNU
9295 *** binutils to release 2.9.1 or newer. Another option is to modify
9296 *** your PATH or compiler configuration so that the native linker is
9297 *** used, and then restart.
9298
9299 _LT_EOF
9300 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9303 else
9304 ld_shlibs=no
9305 fi
9306 ;;
9307
9308 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9309 case `$LD -v 2>&1` in
9310 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9311 ld_shlibs=no
9312 cat <<_LT_EOF 1>&2
9313
9314 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9315 *** reliably create shared libraries on SCO systems. Therefore, libtool
9316 *** is disabling shared libraries support. We urge you to upgrade GNU
9317 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9318 *** your PATH or compiler configuration so that the native linker is
9319 *** used, and then restart.
9320
9321 _LT_EOF
9322 ;;
9323 *)
9324 # For security reasons, it is highly recommended that you always
9325 # use absolute paths for naming shared libraries, and exclude the
9326 # DT_RUNPATH tag from executables and libraries. But doing so
9327 # requires that you compile everything twice, which is a pain.
9328 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9329 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9330 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9332 else
9333 ld_shlibs=no
9334 fi
9335 ;;
9336 esac
9337 ;;
9338
9339 sunos4*)
9340 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9341 wlarc=
9342 hardcode_direct=yes
9343 hardcode_shlibpath_var=no
9344 ;;
9345
9346 *)
9347 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350 else
9351 ld_shlibs=no
9352 fi
9353 ;;
9354 esac
9355
9356 if test "$ld_shlibs" = no; then
9357 runpath_var=
9358 hardcode_libdir_flag_spec=
9359 export_dynamic_flag_spec=
9360 whole_archive_flag_spec=
9361 fi
9362 else
9363 # PORTME fill in a description of your system's linker (not GNU ld)
9364 case $host_os in
9365 aix3*)
9366 allow_undefined_flag=unsupported
9367 always_export_symbols=yes
9368 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'
9369 # Note: this linker hardcodes the directories in LIBPATH if there
9370 # are no directories specified by -L.
9371 hardcode_minus_L=yes
9372 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9373 # Neither direct hardcoding nor static linking is supported with a
9374 # broken collect2.
9375 hardcode_direct=unsupported
9376 fi
9377 ;;
9378
9379 aix[4-9]*)
9380 if test "$host_cpu" = ia64; then
9381 # On IA64, the linker does run time linking by default, so we don't
9382 # have to do anything special.
9383 aix_use_runtimelinking=no
9384 exp_sym_flag='-Bexport'
9385 no_entry_flag=""
9386 else
9387 # If we're using GNU nm, then we don't want the "-C" option.
9388 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9389 # Also, AIX nm treats weak defined symbols like other global
9390 # defined symbols, whereas GNU nm marks them as "W".
9391 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9392 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'
9393 else
9394 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'
9395 fi
9396 aix_use_runtimelinking=no
9397
9398 # Test if we are trying to use run time linking or normal
9399 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9400 # need to do runtime linking.
9401 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9402 for ld_flag in $LDFLAGS; do
9403 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9404 aix_use_runtimelinking=yes
9405 break
9406 fi
9407 done
9408 ;;
9409 esac
9410
9411 exp_sym_flag='-bexport'
9412 no_entry_flag='-bnoentry'
9413 fi
9414
9415 # When large executables or shared objects are built, AIX ld can
9416 # have problems creating the table of contents. If linking a library
9417 # or program results in "error TOC overflow" add -mminimal-toc to
9418 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9419 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9420
9421 archive_cmds=''
9422 hardcode_direct=yes
9423 hardcode_direct_absolute=yes
9424 hardcode_libdir_separator=':'
9425 link_all_deplibs=yes
9426 file_list_spec='${wl}-f,'
9427
9428 if test "$GCC" = yes; then
9429 case $host_os in aix4.[012]|aix4.[012].*)
9430 # We only want to do this on AIX 4.2 and lower, the check
9431 # below for broken collect2 doesn't work under 4.3+
9432 collect2name=`${CC} -print-prog-name=collect2`
9433 if test -f "$collect2name" &&
9434 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9435 then
9436 # We have reworked collect2
9437 :
9438 else
9439 # We have old collect2
9440 hardcode_direct=unsupported
9441 # It fails to find uninstalled libraries when the uninstalled
9442 # path is not listed in the libpath. Setting hardcode_minus_L
9443 # to unsupported forces relinking
9444 hardcode_minus_L=yes
9445 hardcode_libdir_flag_spec='-L$libdir'
9446 hardcode_libdir_separator=
9447 fi
9448 ;;
9449 esac
9450 shared_flag='-shared'
9451 if test "$aix_use_runtimelinking" = yes; then
9452 shared_flag="$shared_flag "'${wl}-G'
9453 fi
9454 else
9455 # not using gcc
9456 if test "$host_cpu" = ia64; then
9457 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9458 # chokes on -Wl,-G. The following line is correct:
9459 shared_flag='-G'
9460 else
9461 if test "$aix_use_runtimelinking" = yes; then
9462 shared_flag='${wl}-G'
9463 else
9464 shared_flag='${wl}-bM:SRE'
9465 fi
9466 fi
9467 fi
9468
9469 export_dynamic_flag_spec='${wl}-bexpall'
9470 # It seems that -bexpall does not export symbols beginning with
9471 # underscore (_), so it is better to generate a list of symbols to export.
9472 always_export_symbols=yes
9473 if test "$aix_use_runtimelinking" = yes; then
9474 # Warning - without using the other runtime loading flags (-brtl),
9475 # -berok will link without error, but may produce a broken library.
9476 allow_undefined_flag='-berok'
9477 # Determine the default libpath from the value encoded in an
9478 # empty executable.
9479 if test x$gcc_no_link = xyes; then
9480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9481 fi
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9484
9485 int
9486 main ()
9487 {
9488
9489 ;
9490 return 0;
9491 }
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9494
9495 lt_aix_libpath_sed='
9496 /Import File Strings/,/^$/ {
9497 /^0/ {
9498 s/^0 *\(.*\)$/\1/
9499 p
9500 }
9501 }'
9502 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9503 # Check for a 64-bit object if we didn't find anything.
9504 if test -z "$aix_libpath"; then
9505 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9506 fi
9507 fi
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9511
9512 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9513 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"
9514 else
9515 if test "$host_cpu" = ia64; then
9516 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9517 allow_undefined_flag="-z nodefs"
9518 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"
9519 else
9520 # Determine the default libpath from the value encoded in an
9521 # empty executable.
9522 if test x$gcc_no_link = xyes; then
9523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9524 fi
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527
9528 int
9529 main ()
9530 {
9531
9532 ;
9533 return 0;
9534 }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537
9538 lt_aix_libpath_sed='
9539 /Import File Strings/,/^$/ {
9540 /^0/ {
9541 s/^0 *\(.*\)$/\1/
9542 p
9543 }
9544 }'
9545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9549 fi
9550 fi
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9554
9555 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9556 # Warning - without using the other run time loading flags,
9557 # -berok will link without error, but may produce a broken library.
9558 no_undefined_flag=' ${wl}-bernotok'
9559 allow_undefined_flag=' ${wl}-berok'
9560 if test "$with_gnu_ld" = yes; then
9561 # We only use this code for GNU lds that support --whole-archive.
9562 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9563 else
9564 # Exported symbols can be pulled into shared objects from archives
9565 whole_archive_flag_spec='$convenience'
9566 fi
9567 archive_cmds_need_lc=yes
9568 # This is similar to how AIX traditionally builds its shared libraries.
9569 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'
9570 fi
9571 fi
9572 ;;
9573
9574 amigaos*)
9575 case $host_cpu in
9576 powerpc)
9577 # see comment about AmigaOS4 .so support
9578 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9579 archive_expsym_cmds=''
9580 ;;
9581 m68k)
9582 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)'
9583 hardcode_libdir_flag_spec='-L$libdir'
9584 hardcode_minus_L=yes
9585 ;;
9586 esac
9587 ;;
9588
9589 bsdi[45]*)
9590 export_dynamic_flag_spec=-rdynamic
9591 ;;
9592
9593 cygwin* | mingw* | pw32* | cegcc*)
9594 # When not using gcc, we currently assume that we are using
9595 # Microsoft Visual C++.
9596 # hardcode_libdir_flag_spec is actually meaningless, as there is
9597 # no search path for DLLs.
9598 hardcode_libdir_flag_spec=' '
9599 allow_undefined_flag=unsupported
9600 # Tell ltmain to make .lib files, not .a files.
9601 libext=lib
9602 # Tell ltmain to make .dll files, not .so files.
9603 shrext_cmds=".dll"
9604 # FIXME: Setting linknames here is a bad hack.
9605 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9606 # The linker will automatically build a .lib file if we build a DLL.
9607 old_archive_from_new_cmds='true'
9608 # FIXME: Should let the user specify the lib program.
9609 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9610 fix_srcfile_path='`cygpath -w "$srcfile"`'
9611 enable_shared_with_static_runtimes=yes
9612 ;;
9613
9614 darwin* | rhapsody*)
9615
9616
9617 archive_cmds_need_lc=no
9618 hardcode_direct=no
9619 hardcode_automatic=yes
9620 hardcode_shlibpath_var=unsupported
9621 if test "$lt_cv_ld_force_load" = "yes"; then
9622 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\"`'
9623 else
9624 whole_archive_flag_spec=''
9625 fi
9626 link_all_deplibs=yes
9627 allow_undefined_flag="$_lt_dar_allow_undefined"
9628 case $cc_basename in
9629 ifort*) _lt_dar_can_shared=yes ;;
9630 *) _lt_dar_can_shared=$GCC ;;
9631 esac
9632 if test "$_lt_dar_can_shared" = "yes"; then
9633 output_verbose_link_cmd=func_echo_all
9634 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9635 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9636 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}"
9637 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}"
9638
9639 else
9640 ld_shlibs=no
9641 fi
9642
9643 ;;
9644
9645 dgux*)
9646 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_libdir_flag_spec='-L$libdir'
9648 hardcode_shlibpath_var=no
9649 ;;
9650
9651 freebsd1*)
9652 ld_shlibs=no
9653 ;;
9654
9655 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9656 # support. Future versions do this automatically, but an explicit c++rt0.o
9657 # does not break anything, and helps significantly (at the cost of a little
9658 # extra space).
9659 freebsd2.2*)
9660 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9661 hardcode_libdir_flag_spec='-R$libdir'
9662 hardcode_direct=yes
9663 hardcode_shlibpath_var=no
9664 ;;
9665
9666 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9667 freebsd2*)
9668 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9669 hardcode_direct=yes
9670 hardcode_minus_L=yes
9671 hardcode_shlibpath_var=no
9672 ;;
9673
9674 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9675 freebsd* | dragonfly*)
9676 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9677 hardcode_libdir_flag_spec='-R$libdir'
9678 hardcode_direct=yes
9679 hardcode_shlibpath_var=no
9680 ;;
9681
9682 hpux9*)
9683 if test "$GCC" = yes; then
9684 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'
9685 else
9686 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'
9687 fi
9688 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9689 hardcode_libdir_separator=:
9690 hardcode_direct=yes
9691
9692 # hardcode_minus_L: Not really in the search PATH,
9693 # but as the default location of the library.
9694 hardcode_minus_L=yes
9695 export_dynamic_flag_spec='${wl}-E'
9696 ;;
9697
9698 hpux10*)
9699 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9700 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9701 else
9702 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9703 fi
9704 if test "$with_gnu_ld" = no; then
9705 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9706 hardcode_libdir_flag_spec_ld='+b $libdir'
9707 hardcode_libdir_separator=:
9708 hardcode_direct=yes
9709 hardcode_direct_absolute=yes
9710 export_dynamic_flag_spec='${wl}-E'
9711 # hardcode_minus_L: Not really in the search PATH,
9712 # but as the default location of the library.
9713 hardcode_minus_L=yes
9714 fi
9715 ;;
9716
9717 hpux11*)
9718 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9719 case $host_cpu in
9720 hppa*64*)
9721 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9722 ;;
9723 ia64*)
9724 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9725 ;;
9726 *)
9727 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9728 ;;
9729 esac
9730 else
9731 case $host_cpu in
9732 hppa*64*)
9733 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9734 ;;
9735 ia64*)
9736 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9737 ;;
9738 *)
9739
9740 # Older versions of the 11.00 compiler do not understand -b yet
9741 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9743 $as_echo_n "checking if $CC understands -b... " >&6; }
9744 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 lt_cv_prog_compiler__b=no
9748 save_LDFLAGS="$LDFLAGS"
9749 LDFLAGS="$LDFLAGS -b"
9750 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9751 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9752 # The linker can only warn and ignore the option if not recognized
9753 # So say no if there are warnings
9754 if test -s conftest.err; then
9755 # Append any errors to the config.log.
9756 cat conftest.err 1>&5
9757 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9759 if diff conftest.exp conftest.er2 >/dev/null; then
9760 lt_cv_prog_compiler__b=yes
9761 fi
9762 else
9763 lt_cv_prog_compiler__b=yes
9764 fi
9765 fi
9766 $RM -r conftest*
9767 LDFLAGS="$save_LDFLAGS"
9768
9769 fi
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9771 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9772
9773 if test x"$lt_cv_prog_compiler__b" = xyes; then
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9775 else
9776 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9777 fi
9778
9779 ;;
9780 esac
9781 fi
9782 if test "$with_gnu_ld" = no; then
9783 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9784 hardcode_libdir_separator=:
9785
9786 case $host_cpu in
9787 hppa*64*|ia64*)
9788 hardcode_direct=no
9789 hardcode_shlibpath_var=no
9790 ;;
9791 *)
9792 hardcode_direct=yes
9793 hardcode_direct_absolute=yes
9794 export_dynamic_flag_spec='${wl}-E'
9795
9796 # hardcode_minus_L: Not really in the search PATH,
9797 # but as the default location of the library.
9798 hardcode_minus_L=yes
9799 ;;
9800 esac
9801 fi
9802 ;;
9803
9804 irix5* | irix6* | nonstopux*)
9805 if test "$GCC" = yes; then
9806 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'
9807 # Try to use the -exported_symbol ld option, if it does not
9808 # work, assume that -exports_file does not work either and
9809 # implicitly export all symbols.
9810 save_LDFLAGS="$LDFLAGS"
9811 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9812 if test x$gcc_no_link = xyes; then
9813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9814 fi
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int foo(void) {}
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 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'
9821
9822 fi
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 LDFLAGS="$save_LDFLAGS"
9826 else
9827 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'
9828 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'
9829 fi
9830 archive_cmds_need_lc='no'
9831 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9832 hardcode_libdir_separator=:
9833 inherit_rpath=yes
9834 link_all_deplibs=yes
9835 ;;
9836
9837 netbsd*)
9838 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9839 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9840 else
9841 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9842 fi
9843 hardcode_libdir_flag_spec='-R$libdir'
9844 hardcode_direct=yes
9845 hardcode_shlibpath_var=no
9846 ;;
9847
9848 newsos6)
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850 hardcode_direct=yes
9851 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9852 hardcode_libdir_separator=:
9853 hardcode_shlibpath_var=no
9854 ;;
9855
9856 *nto* | *qnx*)
9857 ;;
9858
9859 openbsd*)
9860 if test -f /usr/libexec/ld.so; then
9861 hardcode_direct=yes
9862 hardcode_shlibpath_var=no
9863 hardcode_direct_absolute=yes
9864 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9865 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9867 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9868 export_dynamic_flag_spec='${wl}-E'
9869 else
9870 case $host_os in
9871 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9872 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9873 hardcode_libdir_flag_spec='-R$libdir'
9874 ;;
9875 *)
9876 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9877 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9878 ;;
9879 esac
9880 fi
9881 else
9882 ld_shlibs=no
9883 fi
9884 ;;
9885
9886 os2*)
9887 hardcode_libdir_flag_spec='-L$libdir'
9888 hardcode_minus_L=yes
9889 allow_undefined_flag=unsupported
9890 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'
9891 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9892 ;;
9893
9894 osf3*)
9895 if test "$GCC" = yes; then
9896 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9897 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'
9898 else
9899 allow_undefined_flag=' -expect_unresolved \*'
9900 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'
9901 fi
9902 archive_cmds_need_lc='no'
9903 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9904 hardcode_libdir_separator=:
9905 ;;
9906
9907 osf4* | osf5*) # as osf3* with the addition of -msym flag
9908 if test "$GCC" = yes; then
9909 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9910 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'
9911 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9912 else
9913 allow_undefined_flag=' -expect_unresolved \*'
9914 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'
9915 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~
9916 $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'
9917
9918 # Both c and cxx compiler support -rpath directly
9919 hardcode_libdir_flag_spec='-rpath $libdir'
9920 fi
9921 archive_cmds_need_lc='no'
9922 hardcode_libdir_separator=:
9923 ;;
9924
9925 solaris*)
9926 no_undefined_flag=' -z defs'
9927 if test "$GCC" = yes; then
9928 wlarc='${wl}'
9929 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9932 else
9933 case `$CC -V 2>&1` in
9934 *"Compilers 5.0"*)
9935 wlarc=''
9936 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9938 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9939 ;;
9940 *)
9941 wlarc='${wl}'
9942 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9944 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9945 ;;
9946 esac
9947 fi
9948 hardcode_libdir_flag_spec='-R$libdir'
9949 hardcode_shlibpath_var=no
9950 case $host_os in
9951 solaris2.[0-5] | solaris2.[0-5].*) ;;
9952 *)
9953 # The compiler driver will combine and reorder linker options,
9954 # but understands `-z linker_flag'. GCC discards it without `$wl',
9955 # but is careful enough not to reorder.
9956 # Supported since Solaris 2.6 (maybe 2.5.1?)
9957 if test "$GCC" = yes; then
9958 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9959 else
9960 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9961 fi
9962 ;;
9963 esac
9964 link_all_deplibs=yes
9965 ;;
9966
9967 sunos4*)
9968 if test "x$host_vendor" = xsequent; then
9969 # Use $CC to link under sequent, because it throws in some extra .o
9970 # files that make .init and .fini sections work.
9971 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9972 else
9973 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9974 fi
9975 hardcode_libdir_flag_spec='-L$libdir'
9976 hardcode_direct=yes
9977 hardcode_minus_L=yes
9978 hardcode_shlibpath_var=no
9979 ;;
9980
9981 sysv4)
9982 case $host_vendor in
9983 sni)
9984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 hardcode_direct=yes # is this really true???
9986 ;;
9987 siemens)
9988 ## LD is ld it makes a PLAMLIB
9989 ## CC just makes a GrossModule.
9990 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9991 reload_cmds='$CC -r -o $output$reload_objs'
9992 hardcode_direct=no
9993 ;;
9994 motorola)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9997 ;;
9998 esac
9999 runpath_var='LD_RUN_PATH'
10000 hardcode_shlibpath_var=no
10001 ;;
10002
10003 sysv4.3*)
10004 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_shlibpath_var=no
10006 export_dynamic_flag_spec='-Bexport'
10007 ;;
10008
10009 sysv4*MP*)
10010 if test -d /usr/nec; then
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_shlibpath_var=no
10013 runpath_var=LD_RUN_PATH
10014 hardcode_runpath_var=yes
10015 ld_shlibs=yes
10016 fi
10017 ;;
10018
10019 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10020 no_undefined_flag='${wl}-z,text'
10021 archive_cmds_need_lc=no
10022 hardcode_shlibpath_var=no
10023 runpath_var='LD_RUN_PATH'
10024
10025 if test "$GCC" = yes; then
10026 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10028 else
10029 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10031 fi
10032 ;;
10033
10034 sysv5* | sco3.2v5* | sco5v6*)
10035 # Note: We can NOT use -z defs as we might desire, because we do not
10036 # link with -lc, and that would cause any symbols used from libc to
10037 # always be unresolved, which means just about no library would
10038 # ever link correctly. If we're not using GNU ld we use -z text
10039 # though, which does catch some bad symbols but isn't as heavy-handed
10040 # as -z defs.
10041 no_undefined_flag='${wl}-z,text'
10042 allow_undefined_flag='${wl}-z,nodefs'
10043 archive_cmds_need_lc=no
10044 hardcode_shlibpath_var=no
10045 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10046 hardcode_libdir_separator=':'
10047 link_all_deplibs=yes
10048 export_dynamic_flag_spec='${wl}-Bexport'
10049 runpath_var='LD_RUN_PATH'
10050
10051 if test "$GCC" = yes; then
10052 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054 else
10055 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10057 fi
10058 ;;
10059
10060 uts4*)
10061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_libdir_flag_spec='-L$libdir'
10063 hardcode_shlibpath_var=no
10064 ;;
10065
10066 *)
10067 ld_shlibs=no
10068 ;;
10069 esac
10070
10071 if test x$host_vendor = xsni; then
10072 case $host in
10073 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10074 export_dynamic_flag_spec='${wl}-Blargedynsym'
10075 ;;
10076 esac
10077 fi
10078 fi
10079
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10081 $as_echo "$ld_shlibs" >&6; }
10082 test "$ld_shlibs" = no && can_build_shared=no
10083
10084 with_gnu_ld=$with_gnu_ld
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100 #
10101 # Do we need to explicitly link libc?
10102 #
10103 case "x$archive_cmds_need_lc" in
10104 x|xyes)
10105 # Assume -lc should be added
10106 archive_cmds_need_lc=yes
10107
10108 if test "$enable_shared" = yes && test "$GCC" = yes; then
10109 case $archive_cmds in
10110 *'~'*)
10111 # FIXME: we may have to deal with multi-command sequences.
10112 ;;
10113 '$CC '*)
10114 # Test whether the compiler implicitly links with -lc since on some
10115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10116 # to ld, don't add -lc before -lgcc.
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10119 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 $RM conftest*
10123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10124
10125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10126 (eval $ac_compile) 2>&5
10127 ac_status=$?
10128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10129 test $ac_status = 0; } 2>conftest.err; then
10130 soname=conftest
10131 lib=conftest
10132 libobjs=conftest.$ac_objext
10133 deplibs=
10134 wl=$lt_prog_compiler_wl
10135 pic_flag=$lt_prog_compiler_pic
10136 compiler_flags=-v
10137 linker_flags=-v
10138 verstring=
10139 output_objdir=.
10140 libname=conftest
10141 lt_save_allow_undefined_flag=$allow_undefined_flag
10142 allow_undefined_flag=
10143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10144 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10145 ac_status=$?
10146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10147 test $ac_status = 0; }
10148 then
10149 lt_cv_archive_cmds_need_lc=no
10150 else
10151 lt_cv_archive_cmds_need_lc=yes
10152 fi
10153 allow_undefined_flag=$lt_save_allow_undefined_flag
10154 else
10155 cat conftest.err 1>&5
10156 fi
10157 $RM conftest*
10158
10159 fi
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10161 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10162 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10163 ;;
10164 esac
10165 fi
10166 ;;
10167 esac
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10326 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10327
10328 if test "$GCC" = yes; then
10329 case $host_os in
10330 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10331 *) lt_awk_arg="/^libraries:/" ;;
10332 esac
10333 case $host_os in
10334 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10335 *) lt_sed_strip_eq="s,=/,/,g" ;;
10336 esac
10337 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10338 case $lt_search_path_spec in
10339 *\;*)
10340 # if the path contains ";" then we assume it to be the separator
10341 # otherwise default to the standard path separator (i.e. ":") - it is
10342 # assumed that no part of a normal pathname contains ";" but that should
10343 # okay in the real world where ";" in dirpaths is itself problematic.
10344 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10345 ;;
10346 *)
10347 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10348 ;;
10349 esac
10350 # Ok, now we have the path, separated by spaces, we can step through it
10351 # and add multilib dir if necessary.
10352 lt_tmp_lt_search_path_spec=
10353 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10354 for lt_sys_path in $lt_search_path_spec; do
10355 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10356 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10357 else
10358 test -d "$lt_sys_path" && \
10359 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10360 fi
10361 done
10362 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10363 BEGIN {RS=" "; FS="/|\n";} {
10364 lt_foo="";
10365 lt_count=0;
10366 for (lt_i = NF; lt_i > 0; lt_i--) {
10367 if ($lt_i != "" && $lt_i != ".") {
10368 if ($lt_i == "..") {
10369 lt_count++;
10370 } else {
10371 if (lt_count == 0) {
10372 lt_foo="/" $lt_i lt_foo;
10373 } else {
10374 lt_count--;
10375 }
10376 }
10377 }
10378 }
10379 if (lt_foo != "") { lt_freq[lt_foo]++; }
10380 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10381 }'`
10382 # AWK program above erroneously prepends '/' to C:/dos/paths
10383 # for these hosts.
10384 case $host_os in
10385 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10386 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10387 esac
10388 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10389 else
10390 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10391 fi
10392 library_names_spec=
10393 libname_spec='lib$name'
10394 soname_spec=
10395 shrext_cmds=".so"
10396 postinstall_cmds=
10397 postuninstall_cmds=
10398 finish_cmds=
10399 finish_eval=
10400 shlibpath_var=
10401 shlibpath_overrides_runpath=unknown
10402 version_type=none
10403 dynamic_linker="$host_os ld.so"
10404 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10405 need_lib_prefix=unknown
10406 hardcode_into_libs=no
10407
10408 # when you set need_version to no, make sure it does not cause -set_version
10409 # flags to be left without arguments
10410 need_version=unknown
10411
10412 case $host_os in
10413 aix3*)
10414 version_type=linux
10415 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10416 shlibpath_var=LIBPATH
10417
10418 # AIX 3 has no versioning support, so we append a major version to the name.
10419 soname_spec='${libname}${release}${shared_ext}$major'
10420 ;;
10421
10422 aix[4-9]*)
10423 version_type=linux
10424 need_lib_prefix=no
10425 need_version=no
10426 hardcode_into_libs=yes
10427 if test "$host_cpu" = ia64; then
10428 # AIX 5 supports IA64
10429 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10430 shlibpath_var=LD_LIBRARY_PATH
10431 else
10432 # With GCC up to 2.95.x, collect2 would create an import file
10433 # for dependence libraries. The import file would start with
10434 # the line `#! .'. This would cause the generated library to
10435 # depend on `.', always an invalid library. This was fixed in
10436 # development snapshots of GCC prior to 3.0.
10437 case $host_os in
10438 aix4 | aix4.[01] | aix4.[01].*)
10439 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10440 echo ' yes '
10441 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10442 :
10443 else
10444 can_build_shared=no
10445 fi
10446 ;;
10447 esac
10448 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10449 # soname into executable. Probably we can add versioning support to
10450 # collect2, so additional links can be useful in future.
10451 if test "$aix_use_runtimelinking" = yes; then
10452 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10453 # instead of lib<name>.a to let people know that these are not
10454 # typical AIX shared libraries.
10455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10456 else
10457 # We preserve .a as extension for shared libraries through AIX4.2
10458 # and later when we are not doing run time linking.
10459 library_names_spec='${libname}${release}.a $libname.a'
10460 soname_spec='${libname}${release}${shared_ext}$major'
10461 fi
10462 shlibpath_var=LIBPATH
10463 fi
10464 ;;
10465
10466 amigaos*)
10467 case $host_cpu in
10468 powerpc)
10469 # Since July 2007 AmigaOS4 officially supports .so libraries.
10470 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 ;;
10473 m68k)
10474 library_names_spec='$libname.ixlibrary $libname.a'
10475 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10476 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'
10477 ;;
10478 esac
10479 ;;
10480
10481 beos*)
10482 library_names_spec='${libname}${shared_ext}'
10483 dynamic_linker="$host_os ld.so"
10484 shlibpath_var=LIBRARY_PATH
10485 ;;
10486
10487 bsdi[45]*)
10488 version_type=linux
10489 need_version=no
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 soname_spec='${libname}${release}${shared_ext}$major'
10492 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10495 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10496 # the default ld.so.conf also contains /usr/contrib/lib and
10497 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10498 # libtool to hard-code these into programs
10499 ;;
10500
10501 cygwin* | mingw* | pw32* | cegcc*)
10502 version_type=windows
10503 shrext_cmds=".dll"
10504 need_version=no
10505 need_lib_prefix=no
10506
10507 case $GCC,$host_os in
10508 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10509 library_names_spec='$libname.dll.a'
10510 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10511 postinstall_cmds='base_file=`basename \${file}`~
10512 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10513 dldir=$destdir/`dirname \$dlpath`~
10514 test -d \$dldir || mkdir -p \$dldir~
10515 $install_prog $dir/$dlname \$dldir/$dlname~
10516 chmod a+x \$dldir/$dlname~
10517 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10518 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10519 fi'
10520 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10521 dlpath=$dir/\$dldll~
10522 $RM \$dlpath'
10523 shlibpath_overrides_runpath=yes
10524
10525 case $host_os in
10526 cygwin*)
10527 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10528 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10529
10530 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10531 ;;
10532 mingw* | cegcc*)
10533 # MinGW DLLs use traditional 'lib' prefix
10534 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10535 ;;
10536 pw32*)
10537 # pw32 DLLs use 'pw' prefix rather than 'lib'
10538 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10539 ;;
10540 esac
10541 ;;
10542
10543 *)
10544 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10545 ;;
10546 esac
10547 dynamic_linker='Win32 ld.exe'
10548 # FIXME: first we should search . and the directory the executable is in
10549 shlibpath_var=PATH
10550 ;;
10551
10552 darwin* | rhapsody*)
10553 dynamic_linker="$host_os dyld"
10554 version_type=darwin
10555 need_lib_prefix=no
10556 need_version=no
10557 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10558 soname_spec='${libname}${release}${major}$shared_ext'
10559 shlibpath_overrides_runpath=yes
10560 shlibpath_var=DYLD_LIBRARY_PATH
10561 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10562
10563 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10564 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10565 ;;
10566
10567 dgux*)
10568 version_type=linux
10569 need_lib_prefix=no
10570 need_version=no
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 shlibpath_var=LD_LIBRARY_PATH
10574 ;;
10575
10576 freebsd1*)
10577 dynamic_linker=no
10578 ;;
10579
10580 freebsd* | dragonfly*)
10581 # DragonFly does not have aout. When/if they implement a new
10582 # versioning mechanism, adjust this.
10583 if test -x /usr/bin/objformat; then
10584 objformat=`/usr/bin/objformat`
10585 else
10586 case $host_os in
10587 freebsd[123]*) objformat=aout ;;
10588 *) objformat=elf ;;
10589 esac
10590 fi
10591 version_type=freebsd-$objformat
10592 case $version_type in
10593 freebsd-elf*)
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10595 need_version=no
10596 need_lib_prefix=no
10597 ;;
10598 freebsd-*)
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10600 need_version=yes
10601 ;;
10602 esac
10603 shlibpath_var=LD_LIBRARY_PATH
10604 case $host_os in
10605 freebsd2*)
10606 shlibpath_overrides_runpath=yes
10607 ;;
10608 freebsd3.[01]* | freebsdelf3.[01]*)
10609 shlibpath_overrides_runpath=yes
10610 hardcode_into_libs=yes
10611 ;;
10612 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10613 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10614 shlibpath_overrides_runpath=no
10615 hardcode_into_libs=yes
10616 ;;
10617 *) # from 4.6 on, and DragonFly
10618 shlibpath_overrides_runpath=yes
10619 hardcode_into_libs=yes
10620 ;;
10621 esac
10622 ;;
10623
10624 gnu*)
10625 version_type=linux
10626 need_lib_prefix=no
10627 need_version=no
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10629 soname_spec='${libname}${release}${shared_ext}$major'
10630 shlibpath_var=LD_LIBRARY_PATH
10631 hardcode_into_libs=yes
10632 ;;
10633
10634 haiku*)
10635 version_type=linux
10636 need_lib_prefix=no
10637 need_version=no
10638 dynamic_linker="$host_os runtime_loader"
10639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10640 soname_spec='${libname}${release}${shared_ext}$major'
10641 shlibpath_var=LIBRARY_PATH
10642 shlibpath_overrides_runpath=yes
10643 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10644 hardcode_into_libs=yes
10645 ;;
10646
10647 hpux9* | hpux10* | hpux11*)
10648 # Give a soname corresponding to the major version so that dld.sl refuses to
10649 # link against other versions.
10650 version_type=sunos
10651 need_lib_prefix=no
10652 need_version=no
10653 case $host_cpu in
10654 ia64*)
10655 shrext_cmds='.so'
10656 hardcode_into_libs=yes
10657 dynamic_linker="$host_os dld.so"
10658 shlibpath_var=LD_LIBRARY_PATH
10659 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 if test "X$HPUX_IA64_MODE" = X32; then
10663 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10664 else
10665 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10666 fi
10667 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10668 ;;
10669 hppa*64*)
10670 shrext_cmds='.sl'
10671 hardcode_into_libs=yes
10672 dynamic_linker="$host_os dld.sl"
10673 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10674 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec='${libname}${release}${shared_ext}$major'
10677 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10678 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10679 ;;
10680 *)
10681 shrext_cmds='.sl'
10682 dynamic_linker="$host_os dld.sl"
10683 shlibpath_var=SHLIB_PATH
10684 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686 soname_spec='${libname}${release}${shared_ext}$major'
10687 ;;
10688 esac
10689 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10690 postinstall_cmds='chmod 555 $lib'
10691 # or fails outright, so override atomically:
10692 install_override_mode=555
10693 ;;
10694
10695 interix[3-9]*)
10696 version_type=linux
10697 need_lib_prefix=no
10698 need_version=no
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10700 soname_spec='${libname}${release}${shared_ext}$major'
10701 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 shlibpath_overrides_runpath=no
10704 hardcode_into_libs=yes
10705 ;;
10706
10707 irix5* | irix6* | nonstopux*)
10708 case $host_os in
10709 nonstopux*) version_type=nonstopux ;;
10710 *)
10711 if test "$lt_cv_prog_gnu_ld" = yes; then
10712 version_type=linux
10713 else
10714 version_type=irix
10715 fi ;;
10716 esac
10717 need_lib_prefix=no
10718 need_version=no
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10721 case $host_os in
10722 irix5* | nonstopux*)
10723 libsuff= shlibsuff=
10724 ;;
10725 *)
10726 case $LD in # libtool.m4 will add one of these switches to LD
10727 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10728 libsuff= shlibsuff= libmagic=32-bit;;
10729 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10730 libsuff=32 shlibsuff=N32 libmagic=N32;;
10731 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10732 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10733 *) libsuff= shlibsuff= libmagic=never-match;;
10734 esac
10735 ;;
10736 esac
10737 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10738 shlibpath_overrides_runpath=no
10739 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10740 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10741 hardcode_into_libs=yes
10742 ;;
10743
10744 # No shared lib support for Linux oldld, aout, or coff.
10745 linux*oldld* | linux*aout* | linux*coff*)
10746 dynamic_linker=no
10747 ;;
10748
10749 # This must be Linux ELF.
10750 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10751 version_type=linux
10752 need_lib_prefix=no
10753 need_version=no
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755 soname_spec='${libname}${release}${shared_ext}$major'
10756 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=no
10759
10760 # Some binutils ld are patched to set DT_RUNPATH
10761 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10762 $as_echo_n "(cached) " >&6
10763 else
10764 lt_cv_shlibpath_overrides_runpath=no
10765 save_LDFLAGS=$LDFLAGS
10766 save_libdir=$libdir
10767 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10768 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10769 if test x$gcc_no_link = xyes; then
10770 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10771 fi
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774
10775 int
10776 main ()
10777 {
10778
10779 ;
10780 return 0;
10781 }
10782 _ACEOF
10783 if ac_fn_c_try_link "$LINENO"; then :
10784 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10785 lt_cv_shlibpath_overrides_runpath=yes
10786 fi
10787 fi
10788 rm -f core conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10790 LDFLAGS=$save_LDFLAGS
10791 libdir=$save_libdir
10792
10793 fi
10794
10795 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10796
10797 # This implies no fast_install, which is unacceptable.
10798 # Some rework will be needed to allow for fast_install
10799 # before this can be enabled.
10800 hardcode_into_libs=yes
10801
10802 # Append ld.so.conf contents to the search path
10803 if test -f /etc/ld.so.conf; then
10804 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' ' '`
10805 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10806 fi
10807
10808 # We used to test for /lib/ld.so.1 and disable shared libraries on
10809 # powerpc, because MkLinux only supported shared libraries with the
10810 # GNU dynamic linker. Since this was broken with cross compilers,
10811 # most powerpc-linux boxes support dynamic linking these days and
10812 # people can always --disable-shared, the test was removed, and we
10813 # assume the GNU/Linux dynamic linker is in use.
10814 dynamic_linker='GNU/Linux ld.so'
10815 ;;
10816
10817 netbsd*)
10818 version_type=sunos
10819 need_lib_prefix=no
10820 need_version=no
10821 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10823 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10824 dynamic_linker='NetBSD (a.out) ld.so'
10825 else
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 dynamic_linker='NetBSD ld.elf_so'
10829 fi
10830 shlibpath_var=LD_LIBRARY_PATH
10831 shlibpath_overrides_runpath=yes
10832 hardcode_into_libs=yes
10833 ;;
10834
10835 newsos6)
10836 version_type=linux
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 shlibpath_var=LD_LIBRARY_PATH
10839 shlibpath_overrides_runpath=yes
10840 ;;
10841
10842 *nto* | *qnx*)
10843 version_type=qnx
10844 need_lib_prefix=no
10845 need_version=no
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 shlibpath_var=LD_LIBRARY_PATH
10849 shlibpath_overrides_runpath=no
10850 hardcode_into_libs=yes
10851 dynamic_linker='ldqnx.so'
10852 ;;
10853
10854 openbsd*)
10855 version_type=sunos
10856 sys_lib_dlsearch_path_spec="/usr/lib"
10857 need_lib_prefix=no
10858 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10859 case $host_os in
10860 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10861 *) need_version=no ;;
10862 esac
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10864 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10867 case $host_os in
10868 openbsd2.[89] | openbsd2.[89].*)
10869 shlibpath_overrides_runpath=no
10870 ;;
10871 *)
10872 shlibpath_overrides_runpath=yes
10873 ;;
10874 esac
10875 else
10876 shlibpath_overrides_runpath=yes
10877 fi
10878 ;;
10879
10880 os2*)
10881 libname_spec='$name'
10882 shrext_cmds=".dll"
10883 need_lib_prefix=no
10884 library_names_spec='$libname${shared_ext} $libname.a'
10885 dynamic_linker='OS/2 ld.exe'
10886 shlibpath_var=LIBPATH
10887 ;;
10888
10889 osf3* | osf4* | osf5*)
10890 version_type=osf
10891 need_lib_prefix=no
10892 need_version=no
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10897 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10898 ;;
10899
10900 rdos*)
10901 dynamic_linker=no
10902 ;;
10903
10904 solaris*)
10905 version_type=linux
10906 need_lib_prefix=no
10907 need_version=no
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10912 hardcode_into_libs=yes
10913 # ldd complains unless libraries are executable
10914 postinstall_cmds='chmod +x $lib'
10915 ;;
10916
10917 sunos4*)
10918 version_type=sunos
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10920 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath=yes
10923 if test "$with_gnu_ld" = yes; then
10924 need_lib_prefix=no
10925 fi
10926 need_version=yes
10927 ;;
10928
10929 sysv4 | sysv4.3*)
10930 version_type=linux
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 case $host_vendor in
10935 sni)
10936 shlibpath_overrides_runpath=no
10937 need_lib_prefix=no
10938 runpath_var=LD_RUN_PATH
10939 ;;
10940 siemens)
10941 need_lib_prefix=no
10942 ;;
10943 motorola)
10944 need_lib_prefix=no
10945 need_version=no
10946 shlibpath_overrides_runpath=no
10947 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10948 ;;
10949 esac
10950 ;;
10951
10952 sysv4*MP*)
10953 if test -d /usr/nec ;then
10954 version_type=linux
10955 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10956 soname_spec='$libname${shared_ext}.$major'
10957 shlibpath_var=LD_LIBRARY_PATH
10958 fi
10959 ;;
10960
10961 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10962 version_type=freebsd-elf
10963 need_lib_prefix=no
10964 need_version=no
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 shlibpath_overrides_runpath=yes
10969 hardcode_into_libs=yes
10970 if test "$with_gnu_ld" = yes; then
10971 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10972 else
10973 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10974 case $host_os in
10975 sco3.2v5*)
10976 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10977 ;;
10978 esac
10979 fi
10980 sys_lib_dlsearch_path_spec='/usr/lib'
10981 ;;
10982
10983 tpf*)
10984 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10985 version_type=linux
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=no
10991 hardcode_into_libs=yes
10992 ;;
10993
10994 uts4*)
10995 version_type=linux
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 ;;
11000
11001 *)
11002 dynamic_linker=no
11003 ;;
11004 esac
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11006 $as_echo "$dynamic_linker" >&6; }
11007 test "$dynamic_linker" = no && can_build_shared=no
11008
11009 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11010 if test "$GCC" = yes; then
11011 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11012 fi
11013
11014 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11015 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11016 fi
11017 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11018 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11019 fi
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11113 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11114 hardcode_action=
11115 if test -n "$hardcode_libdir_flag_spec" ||
11116 test -n "$runpath_var" ||
11117 test "X$hardcode_automatic" = "Xyes" ; then
11118
11119 # We can hardcode non-existent directories.
11120 if test "$hardcode_direct" != no &&
11121 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11122 # have to relink, otherwise we might link with an installed library
11123 # when we should be linking with a yet-to-be-installed one
11124 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11125 test "$hardcode_minus_L" != no; then
11126 # Linking always hardcodes the temporary library directory.
11127 hardcode_action=relink
11128 else
11129 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11130 hardcode_action=immediate
11131 fi
11132 else
11133 # We cannot hardcode anything, or else we can only hardcode existing
11134 # directories.
11135 hardcode_action=unsupported
11136 fi
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11138 $as_echo "$hardcode_action" >&6; }
11139
11140 if test "$hardcode_action" = relink ||
11141 test "$inherit_rpath" = yes; then
11142 # Fast installation is not supported
11143 enable_fast_install=no
11144 elif test "$shlibpath_overrides_runpath" = yes ||
11145 test "$enable_shared" = no; then
11146 # Fast installation is not necessary
11147 enable_fast_install=needless
11148 fi
11149
11150
11151
11152
11153
11154
11155 if test "x$enable_dlopen" != xyes; then
11156 enable_dlopen=unknown
11157 enable_dlopen_self=unknown
11158 enable_dlopen_self_static=unknown
11159 else
11160 lt_cv_dlopen=no
11161 lt_cv_dlopen_libs=
11162
11163 case $host_os in
11164 beos*)
11165 lt_cv_dlopen="load_add_on"
11166 lt_cv_dlopen_libs=
11167 lt_cv_dlopen_self=yes
11168 ;;
11169
11170 mingw* | pw32* | cegcc*)
11171 lt_cv_dlopen="LoadLibrary"
11172 lt_cv_dlopen_libs=
11173 ;;
11174
11175 cygwin*)
11176 lt_cv_dlopen="dlopen"
11177 lt_cv_dlopen_libs=
11178 ;;
11179
11180 darwin*)
11181 # if libdl is installed we need to link against it
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11183 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11184 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11185 $as_echo_n "(cached) " >&6
11186 else
11187 ac_check_lib_save_LIBS=$LIBS
11188 LIBS="-ldl $LIBS"
11189 if test x$gcc_no_link = xyes; then
11190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11191 fi
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11194
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char dlopen ();
11202 int
11203 main ()
11204 {
11205 return dlopen ();
11206 ;
11207 return 0;
11208 }
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 ac_cv_lib_dl_dlopen=yes
11212 else
11213 ac_cv_lib_dl_dlopen=no
11214 fi
11215 rm -f core conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11218 fi
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11220 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11221 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11222 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11223 else
11224
11225 lt_cv_dlopen="dyld"
11226 lt_cv_dlopen_libs=
11227 lt_cv_dlopen_self=yes
11228
11229 fi
11230
11231 ;;
11232
11233 *)
11234 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11235 if test "x$ac_cv_func_shl_load" = x""yes; then :
11236 lt_cv_dlopen="shl_load"
11237 else
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11239 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11240 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11241 $as_echo_n "(cached) " >&6
11242 else
11243 ac_check_lib_save_LIBS=$LIBS
11244 LIBS="-ldld $LIBS"
11245 if test x$gcc_no_link = xyes; then
11246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11247 fi
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char shl_load ();
11258 int
11259 main ()
11260 {
11261 return shl_load ();
11262 ;
11263 return 0;
11264 }
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 ac_cv_lib_dld_shl_load=yes
11268 else
11269 ac_cv_lib_dld_shl_load=no
11270 fi
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_lib_save_LIBS
11274 fi
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11276 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11277 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11278 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11279 else
11280 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11281 if test "x$ac_cv_func_dlopen" = x""yes; then :
11282 lt_cv_dlopen="dlopen"
11283 else
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11285 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11286 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11287 $as_echo_n "(cached) " >&6
11288 else
11289 ac_check_lib_save_LIBS=$LIBS
11290 LIBS="-ldl $LIBS"
11291 if test x$gcc_no_link = xyes; then
11292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11293 fi
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11296
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char dlopen ();
11304 int
11305 main ()
11306 {
11307 return dlopen ();
11308 ;
11309 return 0;
11310 }
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_dl_dlopen=yes
11314 else
11315 ac_cv_lib_dl_dlopen=no
11316 fi
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11320 fi
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11323 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11324 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11327 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11328 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-lsvld $LIBS"
11333 if test x$gcc_no_link = xyes; then
11334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11335 fi
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char dlopen ();
11346 int
11347 main ()
11348 {
11349 return dlopen ();
11350 ;
11351 return 0;
11352 }
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_svld_dlopen=yes
11356 else
11357 ac_cv_lib_svld_dlopen=no
11358 fi
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11362 fi
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11364 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11365 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11366 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11367 else
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11369 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11370 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11371 $as_echo_n "(cached) " >&6
11372 else
11373 ac_check_lib_save_LIBS=$LIBS
11374 LIBS="-ldld $LIBS"
11375 if test x$gcc_no_link = xyes; then
11376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11377 fi
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11380
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11384 #ifdef __cplusplus
11385 extern "C"
11386 #endif
11387 char dld_link ();
11388 int
11389 main ()
11390 {
11391 return dld_link ();
11392 ;
11393 return 0;
11394 }
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 ac_cv_lib_dld_dld_link=yes
11398 else
11399 ac_cv_lib_dld_dld_link=no
11400 fi
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_lib_save_LIBS
11404 fi
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11406 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11407 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11408 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11409 fi
11410
11411
11412 fi
11413
11414
11415 fi
11416
11417
11418 fi
11419
11420
11421 fi
11422
11423
11424 fi
11425
11426 ;;
11427 esac
11428
11429 if test "x$lt_cv_dlopen" != xno; then
11430 enable_dlopen=yes
11431 else
11432 enable_dlopen=no
11433 fi
11434
11435 case $lt_cv_dlopen in
11436 dlopen)
11437 save_CPPFLAGS="$CPPFLAGS"
11438 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11439
11440 save_LDFLAGS="$LDFLAGS"
11441 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11442
11443 save_LIBS="$LIBS"
11444 LIBS="$lt_cv_dlopen_libs $LIBS"
11445
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11447 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11448 if test "${lt_cv_dlopen_self+set}" = set; then :
11449 $as_echo_n "(cached) " >&6
11450 else
11451 if test "$cross_compiling" = yes; then :
11452 lt_cv_dlopen_self=cross
11453 else
11454 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11455 lt_status=$lt_dlunknown
11456 cat > conftest.$ac_ext <<_LT_EOF
11457 #line 11457 "configure"
11458 #include "confdefs.h"
11459
11460 #if HAVE_DLFCN_H
11461 #include <dlfcn.h>
11462 #endif
11463
11464 #include <stdio.h>
11465
11466 #ifdef RTLD_GLOBAL
11467 # define LT_DLGLOBAL RTLD_GLOBAL
11468 #else
11469 # ifdef DL_GLOBAL
11470 # define LT_DLGLOBAL DL_GLOBAL
11471 # else
11472 # define LT_DLGLOBAL 0
11473 # endif
11474 #endif
11475
11476 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11477 find out it does not work in some platform. */
11478 #ifndef LT_DLLAZY_OR_NOW
11479 # ifdef RTLD_LAZY
11480 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11481 # else
11482 # ifdef DL_LAZY
11483 # define LT_DLLAZY_OR_NOW DL_LAZY
11484 # else
11485 # ifdef RTLD_NOW
11486 # define LT_DLLAZY_OR_NOW RTLD_NOW
11487 # else
11488 # ifdef DL_NOW
11489 # define LT_DLLAZY_OR_NOW DL_NOW
11490 # else
11491 # define LT_DLLAZY_OR_NOW 0
11492 # endif
11493 # endif
11494 # endif
11495 # endif
11496 #endif
11497
11498 /* When -fvisbility=hidden is used, assume the code has been annotated
11499 correspondingly for the symbols needed. */
11500 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11501 void fnord () __attribute__((visibility("default")));
11502 #endif
11503
11504 void fnord () { int i=42; }
11505 int main ()
11506 {
11507 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11508 int status = $lt_dlunknown;
11509
11510 if (self)
11511 {
11512 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11513 else
11514 {
11515 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11516 else puts (dlerror ());
11517 }
11518 /* dlclose (self); */
11519 }
11520 else
11521 puts (dlerror ());
11522
11523 return status;
11524 }
11525 _LT_EOF
11526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11527 (eval $ac_link) 2>&5
11528 ac_status=$?
11529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11530 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11531 (./conftest; exit; ) >&5 2>/dev/null
11532 lt_status=$?
11533 case x$lt_status in
11534 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11535 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11536 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11537 esac
11538 else :
11539 # compilation failed
11540 lt_cv_dlopen_self=no
11541 fi
11542 fi
11543 rm -fr conftest*
11544
11545
11546 fi
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11548 $as_echo "$lt_cv_dlopen_self" >&6; }
11549
11550 if test "x$lt_cv_dlopen_self" = xyes; then
11551 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11553 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11554 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 if test "$cross_compiling" = yes; then :
11558 lt_cv_dlopen_self_static=cross
11559 else
11560 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11561 lt_status=$lt_dlunknown
11562 cat > conftest.$ac_ext <<_LT_EOF
11563 #line 11563 "configure"
11564 #include "confdefs.h"
11565
11566 #if HAVE_DLFCN_H
11567 #include <dlfcn.h>
11568 #endif
11569
11570 #include <stdio.h>
11571
11572 #ifdef RTLD_GLOBAL
11573 # define LT_DLGLOBAL RTLD_GLOBAL
11574 #else
11575 # ifdef DL_GLOBAL
11576 # define LT_DLGLOBAL DL_GLOBAL
11577 # else
11578 # define LT_DLGLOBAL 0
11579 # endif
11580 #endif
11581
11582 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11583 find out it does not work in some platform. */
11584 #ifndef LT_DLLAZY_OR_NOW
11585 # ifdef RTLD_LAZY
11586 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11587 # else
11588 # ifdef DL_LAZY
11589 # define LT_DLLAZY_OR_NOW DL_LAZY
11590 # else
11591 # ifdef RTLD_NOW
11592 # define LT_DLLAZY_OR_NOW RTLD_NOW
11593 # else
11594 # ifdef DL_NOW
11595 # define LT_DLLAZY_OR_NOW DL_NOW
11596 # else
11597 # define LT_DLLAZY_OR_NOW 0
11598 # endif
11599 # endif
11600 # endif
11601 # endif
11602 #endif
11603
11604 /* When -fvisbility=hidden is used, assume the code has been annotated
11605 correspondingly for the symbols needed. */
11606 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11607 void fnord () __attribute__((visibility("default")));
11608 #endif
11609
11610 void fnord () { int i=42; }
11611 int main ()
11612 {
11613 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11614 int status = $lt_dlunknown;
11615
11616 if (self)
11617 {
11618 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11619 else
11620 {
11621 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11622 else puts (dlerror ());
11623 }
11624 /* dlclose (self); */
11625 }
11626 else
11627 puts (dlerror ());
11628
11629 return status;
11630 }
11631 _LT_EOF
11632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11633 (eval $ac_link) 2>&5
11634 ac_status=$?
11635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11636 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11637 (./conftest; exit; ) >&5 2>/dev/null
11638 lt_status=$?
11639 case x$lt_status in
11640 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11641 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11642 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11643 esac
11644 else :
11645 # compilation failed
11646 lt_cv_dlopen_self_static=no
11647 fi
11648 fi
11649 rm -fr conftest*
11650
11651
11652 fi
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11654 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11655 fi
11656
11657 CPPFLAGS="$save_CPPFLAGS"
11658 LDFLAGS="$save_LDFLAGS"
11659 LIBS="$save_LIBS"
11660 ;;
11661 esac
11662
11663 case $lt_cv_dlopen_self in
11664 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11665 *) enable_dlopen_self=unknown ;;
11666 esac
11667
11668 case $lt_cv_dlopen_self_static in
11669 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11670 *) enable_dlopen_self_static=unknown ;;
11671 esac
11672 fi
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690 striplib=
11691 old_striplib=
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11693 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11694 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11695 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11696 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11698 $as_echo "yes" >&6; }
11699 else
11700 # FIXME - insert some real tests, host_os isn't really good enough
11701 case $host_os in
11702 darwin*)
11703 if test -n "$STRIP" ; then
11704 striplib="$STRIP -x"
11705 old_striplib="$STRIP -S"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11707 $as_echo "yes" >&6; }
11708 else
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710 $as_echo "no" >&6; }
11711 fi
11712 ;;
11713 *)
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11715 $as_echo "no" >&6; }
11716 ;;
11717 esac
11718 fi
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731 # Report which library types will actually be built
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11733 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11735 $as_echo "$can_build_shared" >&6; }
11736
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11738 $as_echo_n "checking whether to build shared libraries... " >&6; }
11739 test "$can_build_shared" = "no" && enable_shared=no
11740
11741 # On AIX, shared libraries and static libraries use the same namespace, and
11742 # are all built from PIC.
11743 case $host_os in
11744 aix3*)
11745 test "$enable_shared" = yes && enable_static=no
11746 if test -n "$RANLIB"; then
11747 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11748 postinstall_cmds='$RANLIB $lib'
11749 fi
11750 ;;
11751
11752 aix[4-9]*)
11753 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11754 test "$enable_shared" = yes && enable_static=no
11755 fi
11756 ;;
11757 esac
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11759 $as_echo "$enable_shared" >&6; }
11760
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11762 $as_echo_n "checking whether to build static libraries... " >&6; }
11763 # Make sure either enable_shared or enable_static is yes.
11764 test "$enable_shared" = yes || enable_static=yes
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11766 $as_echo "$enable_static" >&6; }
11767
11768
11769
11770
11771 fi
11772 ac_ext=c
11773 ac_cpp='$CPP $CPPFLAGS'
11774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11777
11778 CC="$lt_save_CC"
11779
11780 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11781 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11782 (test "X$CXX" != "Xg++"))) ; then
11783 ac_ext=cpp
11784 ac_cpp='$CXXCPP $CPPFLAGS'
11785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11789 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11790 if test -z "$CXXCPP"; then
11791 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 # Double quotes because CXXCPP needs to be expanded
11795 for CXXCPP in "$CXX -E" "/lib/cpp"
11796 do
11797 ac_preproc_ok=false
11798 for ac_cxx_preproc_warn_flag in '' yes
11799 do
11800 # Use a header file that comes with gcc, so configuring glibc
11801 # with a fresh cross-compiler works.
11802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11803 # <limits.h> exists even on freestanding compilers.
11804 # On the NeXT, cc -E runs the code through the compiler's parser,
11805 # not just through cpp. "Syntax error" is here to catch this case.
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 #ifdef __STDC__
11809 # include <limits.h>
11810 #else
11811 # include <assert.h>
11812 #endif
11813 Syntax error
11814 _ACEOF
11815 if ac_fn_cxx_try_cpp "$LINENO"; then :
11816
11817 else
11818 # Broken: fails on valid input.
11819 continue
11820 fi
11821 rm -f conftest.err conftest.$ac_ext
11822
11823 # OK, works on sane cases. Now check whether nonexistent headers
11824 # can be detected and how.
11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11827 #include <ac_nonexistent.h>
11828 _ACEOF
11829 if ac_fn_cxx_try_cpp "$LINENO"; then :
11830 # Broken: success on invalid input.
11831 continue
11832 else
11833 # Passes both tests.
11834 ac_preproc_ok=:
11835 break
11836 fi
11837 rm -f conftest.err conftest.$ac_ext
11838
11839 done
11840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11841 rm -f conftest.err conftest.$ac_ext
11842 if $ac_preproc_ok; then :
11843 break
11844 fi
11845
11846 done
11847 ac_cv_prog_CXXCPP=$CXXCPP
11848
11849 fi
11850 CXXCPP=$ac_cv_prog_CXXCPP
11851 else
11852 ac_cv_prog_CXXCPP=$CXXCPP
11853 fi
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11855 $as_echo "$CXXCPP" >&6; }
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11858 do
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876 else
11877 # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902
11903 else
11904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11906 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11907 See \`config.log' for more details." "$LINENO" 5; }
11908 fi
11909
11910 ac_ext=c
11911 ac_cpp='$CPP $CPPFLAGS'
11912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11915
11916 else
11917 _lt_caught_CXX_error=yes
11918 fi
11919
11920 ac_ext=cpp
11921 ac_cpp='$CXXCPP $CPPFLAGS'
11922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11925
11926 archive_cmds_need_lc_CXX=no
11927 allow_undefined_flag_CXX=
11928 always_export_symbols_CXX=no
11929 archive_expsym_cmds_CXX=
11930 compiler_needs_object_CXX=no
11931 export_dynamic_flag_spec_CXX=
11932 hardcode_direct_CXX=no
11933 hardcode_direct_absolute_CXX=no
11934 hardcode_libdir_flag_spec_CXX=
11935 hardcode_libdir_flag_spec_ld_CXX=
11936 hardcode_libdir_separator_CXX=
11937 hardcode_minus_L_CXX=no
11938 hardcode_shlibpath_var_CXX=unsupported
11939 hardcode_automatic_CXX=no
11940 inherit_rpath_CXX=no
11941 module_cmds_CXX=
11942 module_expsym_cmds_CXX=
11943 link_all_deplibs_CXX=unknown
11944 old_archive_cmds_CXX=$old_archive_cmds
11945 reload_flag_CXX=$reload_flag
11946 reload_cmds_CXX=$reload_cmds
11947 no_undefined_flag_CXX=
11948 whole_archive_flag_spec_CXX=
11949 enable_shared_with_static_runtimes_CXX=no
11950
11951 # Source file extension for C++ test sources.
11952 ac_ext=cpp
11953
11954 # Object file extension for compiled C++ test sources.
11955 objext=o
11956 objext_CXX=$objext
11957
11958 # No sense in running all these tests if we already determined that
11959 # the CXX compiler isn't working. Some variables (like enable_shared)
11960 # are currently assumed to apply to all compilers on this platform,
11961 # and will be corrupted by setting them based on a non-working compiler.
11962 if test "$_lt_caught_CXX_error" != yes; then
11963 # Code to be used in simple compile tests
11964 lt_simple_compile_test_code="int some_variable = 0;"
11965
11966 # Code to be used in simple link tests
11967 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11968
11969 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11970
11971
11972
11973
11974
11975
11976 # If no C compiler was specified, use CC.
11977 LTCC=${LTCC-"$CC"}
11978
11979 # If no C compiler flags were specified, use CFLAGS.
11980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11981
11982 # Allow CC to be a program name with arguments.
11983 compiler=$CC
11984
11985
11986 # save warnings/boilerplate of simple test code
11987 ac_outfile=conftest.$ac_objext
11988 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11989 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11990 _lt_compiler_boilerplate=`cat conftest.err`
11991 $RM conftest*
11992
11993 ac_outfile=conftest.$ac_objext
11994 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11995 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11996 _lt_linker_boilerplate=`cat conftest.err`
11997 $RM -r conftest*
11998
11999
12000 # Allow CC to be a program name with arguments.
12001 lt_save_CC=$CC
12002 lt_save_LD=$LD
12003 lt_save_GCC=$GCC
12004 GCC=$GXX
12005 lt_save_with_gnu_ld=$with_gnu_ld
12006 lt_save_path_LD=$lt_cv_path_LD
12007 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12008 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12009 else
12010 $as_unset lt_cv_prog_gnu_ld
12011 fi
12012 if test -n "${lt_cv_path_LDCXX+set}"; then
12013 lt_cv_path_LD=$lt_cv_path_LDCXX
12014 else
12015 $as_unset lt_cv_path_LD
12016 fi
12017 test -z "${LDCXX+set}" || LD=$LDCXX
12018 CC=${CXX-"c++"}
12019 compiler=$CC
12020 compiler_CXX=$CC
12021 for cc_temp in $compiler""; do
12022 case $cc_temp in
12023 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12024 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12025 \-*) ;;
12026 *) break;;
12027 esac
12028 done
12029 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12030
12031
12032 if test -n "$compiler"; then
12033 # We don't want -fno-exception when compiling C++ code, so set the
12034 # no_builtin_flag separately
12035 if test "$GXX" = yes; then
12036 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12037 else
12038 lt_prog_compiler_no_builtin_flag_CXX=
12039 fi
12040
12041 if test "$GXX" = yes; then
12042 # Set up default GNU C++ configuration
12043
12044
12045
12046 # Check whether --with-gnu-ld was given.
12047 if test "${with_gnu_ld+set}" = set; then :
12048 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12049 else
12050 with_gnu_ld=no
12051 fi
12052
12053 ac_prog=ld
12054 if test "$GCC" = yes; then
12055 # Check if gcc -print-prog-name=ld gives a path.
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12057 $as_echo_n "checking for ld used by $CC... " >&6; }
12058 case $host in
12059 *-*-mingw*)
12060 # gcc leaves a trailing carriage return which upsets mingw
12061 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12062 *)
12063 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12064 esac
12065 case $ac_prog in
12066 # Accept absolute paths.
12067 [\\/]* | ?:[\\/]*)
12068 re_direlt='/[^/][^/]*/\.\./'
12069 # Canonicalize the pathname of ld
12070 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12071 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12072 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12073 done
12074 test -z "$LD" && LD="$ac_prog"
12075 ;;
12076 "")
12077 # If it fails, then pretend we aren't using GCC.
12078 ac_prog=ld
12079 ;;
12080 *)
12081 # If it is relative, then search for the first ld in PATH.
12082 with_gnu_ld=unknown
12083 ;;
12084 esac
12085 elif test "$with_gnu_ld" = yes; then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12087 $as_echo_n "checking for GNU ld... " >&6; }
12088 else
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12090 $as_echo_n "checking for non-GNU ld... " >&6; }
12091 fi
12092 if test "${lt_cv_path_LD+set}" = set; then :
12093 $as_echo_n "(cached) " >&6
12094 else
12095 if test -z "$LD"; then
12096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12097 for ac_dir in $PATH; do
12098 IFS="$lt_save_ifs"
12099 test -z "$ac_dir" && ac_dir=.
12100 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12101 lt_cv_path_LD="$ac_dir/$ac_prog"
12102 # Check to see if the program is GNU ld. I'd rather use --version,
12103 # but apparently some variants of GNU ld only accept -v.
12104 # Break only if it was the GNU/non-GNU ld that we prefer.
12105 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12106 *GNU* | *'with BFD'*)
12107 test "$with_gnu_ld" != no && break
12108 ;;
12109 *)
12110 test "$with_gnu_ld" != yes && break
12111 ;;
12112 esac
12113 fi
12114 done
12115 IFS="$lt_save_ifs"
12116 else
12117 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12118 fi
12119 fi
12120
12121 LD="$lt_cv_path_LD"
12122 if test -n "$LD"; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12124 $as_echo "$LD" >&6; }
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12128 fi
12129 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12131 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12132 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12133 $as_echo_n "(cached) " >&6
12134 else
12135 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12136 case `$LD -v 2>&1 </dev/null` in
12137 *GNU* | *'with BFD'*)
12138 lt_cv_prog_gnu_ld=yes
12139 ;;
12140 *)
12141 lt_cv_prog_gnu_ld=no
12142 ;;
12143 esac
12144 fi
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12146 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12147 with_gnu_ld=$lt_cv_prog_gnu_ld
12148
12149
12150
12151
12152
12153
12154
12155 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12156 # archiving commands below assume that GNU ld is being used.
12157 if test "$with_gnu_ld" = yes; then
12158 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12159 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'
12160
12161 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12162 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12163
12164 # If archive_cmds runs LD, not CC, wlarc should be empty
12165 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12166 # investigate it a little bit more. (MM)
12167 wlarc='${wl}'
12168
12169 # ancient GNU ld didn't support --whole-archive et. al.
12170 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12171 $GREP 'no-whole-archive' > /dev/null; then
12172 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12173 else
12174 whole_archive_flag_spec_CXX=
12175 fi
12176 else
12177 with_gnu_ld=no
12178 wlarc=
12179
12180 # A generic and very simple default shared library creation
12181 # command for GNU C++ for the case where it uses the native
12182 # linker, instead of GNU ld. If possible, this setting should
12183 # overridden to take advantage of the native linker features on
12184 # the platform it is being used on.
12185 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12186 fi
12187
12188 # Commands to make compiler produce verbose output that lists
12189 # what "hidden" libraries, object files and flags are used when
12190 # linking a shared library.
12191 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12192
12193 else
12194 GXX=no
12195 with_gnu_ld=no
12196 wlarc=
12197 fi
12198
12199 # PORTME: fill in a description of your system's C++ link characteristics
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12201 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12202 ld_shlibs_CXX=yes
12203 case $host_os in
12204 aix3*)
12205 # FIXME: insert proper C++ library support
12206 ld_shlibs_CXX=no
12207 ;;
12208 aix[4-9]*)
12209 if test "$host_cpu" = ia64; then
12210 # On IA64, the linker does run time linking by default, so we don't
12211 # have to do anything special.
12212 aix_use_runtimelinking=no
12213 exp_sym_flag='-Bexport'
12214 no_entry_flag=""
12215 else
12216 aix_use_runtimelinking=no
12217
12218 # Test if we are trying to use run time linking or normal
12219 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12220 # need to do runtime linking.
12221 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12222 for ld_flag in $LDFLAGS; do
12223 case $ld_flag in
12224 *-brtl*)
12225 aix_use_runtimelinking=yes
12226 break
12227 ;;
12228 esac
12229 done
12230 ;;
12231 esac
12232
12233 exp_sym_flag='-bexport'
12234 no_entry_flag='-bnoentry'
12235 fi
12236
12237 # When large executables or shared objects are built, AIX ld can
12238 # have problems creating the table of contents. If linking a library
12239 # or program results in "error TOC overflow" add -mminimal-toc to
12240 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12241 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12242
12243 archive_cmds_CXX=''
12244 hardcode_direct_CXX=yes
12245 hardcode_direct_absolute_CXX=yes
12246 hardcode_libdir_separator_CXX=':'
12247 link_all_deplibs_CXX=yes
12248 file_list_spec_CXX='${wl}-f,'
12249
12250 if test "$GXX" = yes; then
12251 case $host_os in aix4.[012]|aix4.[012].*)
12252 # We only want to do this on AIX 4.2 and lower, the check
12253 # below for broken collect2 doesn't work under 4.3+
12254 collect2name=`${CC} -print-prog-name=collect2`
12255 if test -f "$collect2name" &&
12256 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12257 then
12258 # We have reworked collect2
12259 :
12260 else
12261 # We have old collect2
12262 hardcode_direct_CXX=unsupported
12263 # It fails to find uninstalled libraries when the uninstalled
12264 # path is not listed in the libpath. Setting hardcode_minus_L
12265 # to unsupported forces relinking
12266 hardcode_minus_L_CXX=yes
12267 hardcode_libdir_flag_spec_CXX='-L$libdir'
12268 hardcode_libdir_separator_CXX=
12269 fi
12270 esac
12271 shared_flag='-shared'
12272 if test "$aix_use_runtimelinking" = yes; then
12273 shared_flag="$shared_flag "'${wl}-G'
12274 fi
12275 else
12276 # not using gcc
12277 if test "$host_cpu" = ia64; then
12278 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12279 # chokes on -Wl,-G. The following line is correct:
12280 shared_flag='-G'
12281 else
12282 if test "$aix_use_runtimelinking" = yes; then
12283 shared_flag='${wl}-G'
12284 else
12285 shared_flag='${wl}-bM:SRE'
12286 fi
12287 fi
12288 fi
12289
12290 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12291 # It seems that -bexpall does not export symbols beginning with
12292 # underscore (_), so it is better to generate a list of symbols to
12293 # export.
12294 always_export_symbols_CXX=yes
12295 if test "$aix_use_runtimelinking" = yes; then
12296 # Warning - without using the other runtime loading flags (-brtl),
12297 # -berok will link without error, but may produce a broken library.
12298 allow_undefined_flag_CXX='-berok'
12299 # Determine the default libpath from the value encoded in an empty
12300 # executable.
12301 if test x$gcc_no_link = xyes; then
12302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12303 fi
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12306
12307 int
12308 main ()
12309 {
12310
12311 ;
12312 return 0;
12313 }
12314 _ACEOF
12315 if ac_fn_cxx_try_link "$LINENO"; then :
12316
12317 lt_aix_libpath_sed='
12318 /Import File Strings/,/^$/ {
12319 /^0/ {
12320 s/^0 *\(.*\)$/\1/
12321 p
12322 }
12323 }'
12324 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12325 # Check for a 64-bit object if we didn't find anything.
12326 if test -z "$aix_libpath"; then
12327 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12328 fi
12329 fi
12330 rm -f core conftest.err conftest.$ac_objext \
12331 conftest$ac_exeext conftest.$ac_ext
12332 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12333
12334 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12335
12336 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"
12337 else
12338 if test "$host_cpu" = ia64; then
12339 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12340 allow_undefined_flag_CXX="-z nodefs"
12341 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"
12342 else
12343 # Determine the default libpath from the value encoded in an
12344 # empty executable.
12345 if test x$gcc_no_link = xyes; then
12346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12347 fi
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12350
12351 int
12352 main ()
12353 {
12354
12355 ;
12356 return 0;
12357 }
12358 _ACEOF
12359 if ac_fn_cxx_try_link "$LINENO"; then :
12360
12361 lt_aix_libpath_sed='
12362 /Import File Strings/,/^$/ {
12363 /^0/ {
12364 s/^0 *\(.*\)$/\1/
12365 p
12366 }
12367 }'
12368 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12369 # Check for a 64-bit object if we didn't find anything.
12370 if test -z "$aix_libpath"; then
12371 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12372 fi
12373 fi
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12377
12378 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12379 # Warning - without using the other run time loading flags,
12380 # -berok will link without error, but may produce a broken library.
12381 no_undefined_flag_CXX=' ${wl}-bernotok'
12382 allow_undefined_flag_CXX=' ${wl}-berok'
12383 if test "$with_gnu_ld" = yes; then
12384 # We only use this code for GNU lds that support --whole-archive.
12385 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12386 else
12387 # Exported symbols can be pulled into shared objects from archives
12388 whole_archive_flag_spec_CXX='$convenience'
12389 fi
12390 archive_cmds_need_lc_CXX=yes
12391 # This is similar to how AIX traditionally builds its shared
12392 # libraries.
12393 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'
12394 fi
12395 fi
12396 ;;
12397
12398 beos*)
12399 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12400 allow_undefined_flag_CXX=unsupported
12401 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12402 # support --undefined. This deserves some investigation. FIXME
12403 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12404 else
12405 ld_shlibs_CXX=no
12406 fi
12407 ;;
12408
12409 chorus*)
12410 case $cc_basename in
12411 *)
12412 # FIXME: insert proper C++ library support
12413 ld_shlibs_CXX=no
12414 ;;
12415 esac
12416 ;;
12417
12418 cygwin* | mingw* | pw32* | cegcc*)
12419 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12420 # as there is no search path for DLLs.
12421 hardcode_libdir_flag_spec_CXX='-L$libdir'
12422 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12423 allow_undefined_flag_CXX=unsupported
12424 always_export_symbols_CXX=no
12425 enable_shared_with_static_runtimes_CXX=yes
12426
12427 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12428 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'
12429 # If the export-symbols file already is a .def file (1st line
12430 # is EXPORTS), use it as is; otherwise, prepend...
12431 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12432 cp $export_symbols $output_objdir/$soname.def;
12433 else
12434 echo EXPORTS > $output_objdir/$soname.def;
12435 cat $export_symbols >> $output_objdir/$soname.def;
12436 fi~
12437 $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'
12438 else
12439 ld_shlibs_CXX=no
12440 fi
12441 ;;
12442 darwin* | rhapsody*)
12443
12444
12445 archive_cmds_need_lc_CXX=no
12446 hardcode_direct_CXX=no
12447 hardcode_automatic_CXX=yes
12448 hardcode_shlibpath_var_CXX=unsupported
12449 if test "$lt_cv_ld_force_load" = "yes"; then
12450 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\"`'
12451 else
12452 whole_archive_flag_spec_CXX=''
12453 fi
12454 link_all_deplibs_CXX=yes
12455 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12456 case $cc_basename in
12457 ifort*) _lt_dar_can_shared=yes ;;
12458 *) _lt_dar_can_shared=$GCC ;;
12459 esac
12460 if test "$_lt_dar_can_shared" = "yes"; then
12461 output_verbose_link_cmd=func_echo_all
12462 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}"
12463 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12464 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}"
12465 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}"
12466 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12467 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}"
12468 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}"
12469 fi
12470
12471 else
12472 ld_shlibs_CXX=no
12473 fi
12474
12475 ;;
12476
12477 dgux*)
12478 case $cc_basename in
12479 ec++*)
12480 # FIXME: insert proper C++ library support
12481 ld_shlibs_CXX=no
12482 ;;
12483 ghcx*)
12484 # Green Hills C++ Compiler
12485 # FIXME: insert proper C++ library support
12486 ld_shlibs_CXX=no
12487 ;;
12488 *)
12489 # FIXME: insert proper C++ library support
12490 ld_shlibs_CXX=no
12491 ;;
12492 esac
12493 ;;
12494
12495 freebsd[12]*)
12496 # C++ shared libraries reported to be fairly broken before
12497 # switch to ELF
12498 ld_shlibs_CXX=no
12499 ;;
12500
12501 freebsd-elf*)
12502 archive_cmds_need_lc_CXX=no
12503 ;;
12504
12505 freebsd* | dragonfly*)
12506 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12507 # conventions
12508 ld_shlibs_CXX=yes
12509 ;;
12510
12511 gnu*)
12512 ;;
12513
12514 haiku*)
12515 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12516 link_all_deplibs_CXX=yes
12517 ;;
12518
12519 hpux9*)
12520 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12521 hardcode_libdir_separator_CXX=:
12522 export_dynamic_flag_spec_CXX='${wl}-E'
12523 hardcode_direct_CXX=yes
12524 hardcode_minus_L_CXX=yes # Not in the search PATH,
12525 # but as the default
12526 # location of the library.
12527
12528 case $cc_basename in
12529 CC*)
12530 # FIXME: insert proper C++ library support
12531 ld_shlibs_CXX=no
12532 ;;
12533 aCC*)
12534 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'
12535 # Commands to make compiler produce verbose output that lists
12536 # what "hidden" libraries, object files and flags are used when
12537 # linking a shared library.
12538 #
12539 # There doesn't appear to be a way to prevent this compiler from
12540 # explicitly linking system object files so we need to strip them
12541 # from the output so that they don't get included in the library
12542 # dependencies.
12543 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"'
12544 ;;
12545 *)
12546 if test "$GXX" = yes; then
12547 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'
12548 else
12549 # FIXME: insert proper C++ library support
12550 ld_shlibs_CXX=no
12551 fi
12552 ;;
12553 esac
12554 ;;
12555
12556 hpux10*|hpux11*)
12557 if test $with_gnu_ld = no; then
12558 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12559 hardcode_libdir_separator_CXX=:
12560
12561 case $host_cpu in
12562 hppa*64*|ia64*)
12563 ;;
12564 *)
12565 export_dynamic_flag_spec_CXX='${wl}-E'
12566 ;;
12567 esac
12568 fi
12569 case $host_cpu in
12570 hppa*64*|ia64*)
12571 hardcode_direct_CXX=no
12572 hardcode_shlibpath_var_CXX=no
12573 ;;
12574 *)
12575 hardcode_direct_CXX=yes
12576 hardcode_direct_absolute_CXX=yes
12577 hardcode_minus_L_CXX=yes # Not in the search PATH,
12578 # but as the default
12579 # location of the library.
12580 ;;
12581 esac
12582
12583 case $cc_basename in
12584 CC*)
12585 # FIXME: insert proper C++ library support
12586 ld_shlibs_CXX=no
12587 ;;
12588 aCC*)
12589 case $host_cpu in
12590 hppa*64*)
12591 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12592 ;;
12593 ia64*)
12594 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12595 ;;
12596 *)
12597 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12598 ;;
12599 esac
12600 # Commands to make compiler produce verbose output that lists
12601 # what "hidden" libraries, object files and flags are used when
12602 # linking a shared library.
12603 #
12604 # There doesn't appear to be a way to prevent this compiler from
12605 # explicitly linking system object files so we need to strip them
12606 # from the output so that they don't get included in the library
12607 # dependencies.
12608 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"'
12609 ;;
12610 *)
12611 if test "$GXX" = yes; then
12612 if test $with_gnu_ld = no; then
12613 case $host_cpu in
12614 hppa*64*)
12615 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12616 ;;
12617 ia64*)
12618 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12619 ;;
12620 *)
12621 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'
12622 ;;
12623 esac
12624 fi
12625 else
12626 # FIXME: insert proper C++ library support
12627 ld_shlibs_CXX=no
12628 fi
12629 ;;
12630 esac
12631 ;;
12632
12633 interix[3-9]*)
12634 hardcode_direct_CXX=no
12635 hardcode_shlibpath_var_CXX=no
12636 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12638 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12639 # Instead, shared libraries are loaded at an image base (0x10000000 by
12640 # default) and relocated if they conflict, which is a slow very memory
12641 # consuming and fragmenting process. To avoid this, we pick a random,
12642 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12643 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12644 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'
12645 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'
12646 ;;
12647 irix5* | irix6*)
12648 case $cc_basename in
12649 CC*)
12650 # SGI C++
12651 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'
12652
12653 # Archives containing C++ object files must be created using
12654 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12655 # necessary to make sure instantiated templates are included
12656 # in the archive.
12657 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12658 ;;
12659 *)
12660 if test "$GXX" = yes; then
12661 if test "$with_gnu_ld" = no; then
12662 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'
12663 else
12664 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'
12665 fi
12666 fi
12667 link_all_deplibs_CXX=yes
12668 ;;
12669 esac
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12671 hardcode_libdir_separator_CXX=:
12672 inherit_rpath_CXX=yes
12673 ;;
12674
12675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12676 case $cc_basename in
12677 KCC*)
12678 # Kuck and Associates, Inc. (KAI) C++ Compiler
12679
12680 # KCC will only create a shared library if the output file
12681 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12682 # to its proper name (with version) after linking.
12683 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'
12684 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'
12685 # Commands to make compiler produce verbose output that lists
12686 # what "hidden" libraries, object files and flags are used when
12687 # linking a shared library.
12688 #
12689 # There doesn't appear to be a way to prevent this compiler from
12690 # explicitly linking system object files so we need to strip them
12691 # from the output so that they don't get included in the library
12692 # dependencies.
12693 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"'
12694
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12697
12698 # Archives containing C++ object files must be created using
12699 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12700 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12701 ;;
12702 icpc* | ecpc* )
12703 # Intel C++
12704 with_gnu_ld=yes
12705 # version 8.0 and above of icpc choke on multiply defined symbols
12706 # if we add $predep_objects and $postdep_objects, however 7.1 and
12707 # earlier do not add the objects themselves.
12708 case `$CC -V 2>&1` in
12709 *"Version 7."*)
12710 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12711 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'
12712 ;;
12713 *) # Version 8.0 or newer
12714 tmp_idyn=
12715 case $host_cpu in
12716 ia64*) tmp_idyn=' -i_dynamic';;
12717 esac
12718 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12719 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'
12720 ;;
12721 esac
12722 archive_cmds_need_lc_CXX=no
12723 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12724 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12725 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12726 ;;
12727 pgCC* | pgcpp*)
12728 # Portland Group C++ compiler
12729 case `$CC -V` in
12730 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12731 prelink_cmds_CXX='tpldir=Template.dir~
12732 rm -rf $tpldir~
12733 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12734 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12735 old_archive_cmds_CXX='tpldir=Template.dir~
12736 rm -rf $tpldir~
12737 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12738 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12739 $RANLIB $oldlib'
12740 archive_cmds_CXX='tpldir=Template.dir~
12741 rm -rf $tpldir~
12742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12743 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12744 archive_expsym_cmds_CXX='tpldir=Template.dir~
12745 rm -rf $tpldir~
12746 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12747 $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'
12748 ;;
12749 *) # Version 6 and above use weak symbols
12750 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12751 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'
12752 ;;
12753 esac
12754
12755 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 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'
12758 ;;
12759 cxx*)
12760 # Compaq C++
12761 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12762 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'
12763
12764 runpath_var=LD_RUN_PATH
12765 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12766 hardcode_libdir_separator_CXX=:
12767
12768 # Commands to make compiler produce verbose output that lists
12769 # what "hidden" libraries, object files and flags are used when
12770 # linking a shared library.
12771 #
12772 # There doesn't appear to be a way to prevent this compiler from
12773 # explicitly linking system object files so we need to strip them
12774 # from the output so that they don't get included in the library
12775 # dependencies.
12776 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'
12777 ;;
12778 xl* | mpixl* | bgxl*)
12779 # IBM XL 8.0 on PPC, with GNU ld
12780 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12781 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12782 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 if test "x$supports_anon_versioning" = xyes; then
12784 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12785 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12786 echo "local: *; };" >> $output_objdir/$libname.ver~
12787 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12788 fi
12789 ;;
12790 *)
12791 case `$CC -V 2>&1 | sed 5q` in
12792 *Sun\ C*)
12793 # Sun C++ 5.9
12794 no_undefined_flag_CXX=' -zdefs'
12795 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12796 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'
12797 hardcode_libdir_flag_spec_CXX='-R$libdir'
12798 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'
12799 compiler_needs_object_CXX=yes
12800
12801 # Not sure whether something based on
12802 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12803 # would be better.
12804 output_verbose_link_cmd='func_echo_all'
12805
12806 # Archives containing C++ object files must be created using
12807 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12811 ;;
12812 esac
12813 ;;
12814 esac
12815 ;;
12816
12817 lynxos*)
12818 # FIXME: insert proper C++ library support
12819 ld_shlibs_CXX=no
12820 ;;
12821
12822 m88k*)
12823 # FIXME: insert proper C++ library support
12824 ld_shlibs_CXX=no
12825 ;;
12826
12827 mvs*)
12828 case $cc_basename in
12829 cxx*)
12830 # FIXME: insert proper C++ library support
12831 ld_shlibs_CXX=no
12832 ;;
12833 *)
12834 # FIXME: insert proper C++ library support
12835 ld_shlibs_CXX=no
12836 ;;
12837 esac
12838 ;;
12839
12840 netbsd*)
12841 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12842 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12843 wlarc=
12844 hardcode_libdir_flag_spec_CXX='-R$libdir'
12845 hardcode_direct_CXX=yes
12846 hardcode_shlibpath_var_CXX=no
12847 fi
12848 # Workaround some broken pre-1.5 toolchains
12849 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12850 ;;
12851
12852 *nto* | *qnx*)
12853 ld_shlibs_CXX=yes
12854 ;;
12855
12856 openbsd2*)
12857 # C++ shared libraries are fairly broken
12858 ld_shlibs_CXX=no
12859 ;;
12860
12861 openbsd*)
12862 if test -f /usr/libexec/ld.so; then
12863 hardcode_direct_CXX=yes
12864 hardcode_shlibpath_var_CXX=no
12865 hardcode_direct_absolute_CXX=yes
12866 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12867 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12868 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12869 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12870 export_dynamic_flag_spec_CXX='${wl}-E'
12871 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12872 fi
12873 output_verbose_link_cmd=func_echo_all
12874 else
12875 ld_shlibs_CXX=no
12876 fi
12877 ;;
12878
12879 osf3* | osf4* | osf5*)
12880 case $cc_basename in
12881 KCC*)
12882 # Kuck and Associates, Inc. (KAI) C++ Compiler
12883
12884 # KCC will only create a shared library if the output file
12885 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12886 # to its proper name (with version) after linking.
12887 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'
12888
12889 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12890 hardcode_libdir_separator_CXX=:
12891
12892 # Archives containing C++ object files must be created using
12893 # the KAI C++ compiler.
12894 case $host in
12895 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12896 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12897 esac
12898 ;;
12899 RCC*)
12900 # Rational C++ 2.4.1
12901 # FIXME: insert proper C++ library support
12902 ld_shlibs_CXX=no
12903 ;;
12904 cxx*)
12905 case $host in
12906 osf3*)
12907 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12908 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'
12909 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12910 ;;
12911 *)
12912 allow_undefined_flag_CXX=' -expect_unresolved \*'
12913 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'
12914 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12915 echo "-hidden">> $lib.exp~
12916 $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~
12917 $RM $lib.exp'
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919 ;;
12920 esac
12921
12922 hardcode_libdir_separator_CXX=:
12923
12924 # Commands to make compiler produce verbose output that lists
12925 # what "hidden" libraries, object files and flags are used when
12926 # linking a shared library.
12927 #
12928 # There doesn't appear to be a way to prevent this compiler from
12929 # explicitly linking system object files so we need to strip them
12930 # from the output so that they don't get included in the library
12931 # dependencies.
12932 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"'
12933 ;;
12934 *)
12935 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12936 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12937 case $host in
12938 osf3*)
12939 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'
12940 ;;
12941 *)
12942 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'
12943 ;;
12944 esac
12945
12946 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12947 hardcode_libdir_separator_CXX=:
12948
12949 # Commands to make compiler produce verbose output that lists
12950 # what "hidden" libraries, object files and flags are used when
12951 # linking a shared library.
12952 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12953
12954 else
12955 # FIXME: insert proper C++ library support
12956 ld_shlibs_CXX=no
12957 fi
12958 ;;
12959 esac
12960 ;;
12961
12962 psos*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12965 ;;
12966
12967 sunos4*)
12968 case $cc_basename in
12969 CC*)
12970 # Sun C++ 4.x
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12973 ;;
12974 lcc*)
12975 # Lucid
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979 *)
12980 # FIXME: insert proper C++ library support
12981 ld_shlibs_CXX=no
12982 ;;
12983 esac
12984 ;;
12985
12986 solaris*)
12987 case $cc_basename in
12988 CC*)
12989 # Sun C++ 4.2, 5.x and Centerline C++
12990 archive_cmds_need_lc_CXX=yes
12991 no_undefined_flag_CXX=' -zdefs'
12992 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12993 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12994 $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'
12995
12996 hardcode_libdir_flag_spec_CXX='-R$libdir'
12997 hardcode_shlibpath_var_CXX=no
12998 case $host_os in
12999 solaris2.[0-5] | solaris2.[0-5].*) ;;
13000 *)
13001 # The compiler driver will combine and reorder linker options,
13002 # but understands `-z linker_flag'.
13003 # Supported since Solaris 2.6 (maybe 2.5.1?)
13004 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13005 ;;
13006 esac
13007 link_all_deplibs_CXX=yes
13008
13009 output_verbose_link_cmd='func_echo_all'
13010
13011 # Archives containing C++ object files must be created using
13012 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13013 # necessary to make sure instantiated templates are included
13014 # in the archive.
13015 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13016 ;;
13017 gcx*)
13018 # Green Hills C++ Compiler
13019 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13020
13021 # The C++ compiler must be used to create the archive.
13022 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13023 ;;
13024 *)
13025 # GNU C++ compiler with Solaris linker
13026 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13027 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13028 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13029 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13030 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13031 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13032
13033 # Commands to make compiler produce verbose output that lists
13034 # what "hidden" libraries, object files and flags are used when
13035 # linking a shared library.
13036 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13037 else
13038 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13039 # platform.
13040 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13041 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13042 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13043
13044 # Commands to make compiler produce verbose output that lists
13045 # what "hidden" libraries, object files and flags are used when
13046 # linking a shared library.
13047 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13048 fi
13049
13050 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13051 case $host_os in
13052 solaris2.[0-5] | solaris2.[0-5].*) ;;
13053 *)
13054 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13055 ;;
13056 esac
13057 fi
13058 ;;
13059 esac
13060 ;;
13061
13062 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13063 no_undefined_flag_CXX='${wl}-z,text'
13064 archive_cmds_need_lc_CXX=no
13065 hardcode_shlibpath_var_CXX=no
13066 runpath_var='LD_RUN_PATH'
13067
13068 case $cc_basename in
13069 CC*)
13070 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13071 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13072 ;;
13073 *)
13074 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13076 ;;
13077 esac
13078 ;;
13079
13080 sysv5* | sco3.2v5* | sco5v6*)
13081 # Note: We can NOT use -z defs as we might desire, because we do not
13082 # link with -lc, and that would cause any symbols used from libc to
13083 # always be unresolved, which means just about no library would
13084 # ever link correctly. If we're not using GNU ld we use -z text
13085 # though, which does catch some bad symbols but isn't as heavy-handed
13086 # as -z defs.
13087 no_undefined_flag_CXX='${wl}-z,text'
13088 allow_undefined_flag_CXX='${wl}-z,nodefs'
13089 archive_cmds_need_lc_CXX=no
13090 hardcode_shlibpath_var_CXX=no
13091 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13092 hardcode_libdir_separator_CXX=':'
13093 link_all_deplibs_CXX=yes
13094 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13095 runpath_var='LD_RUN_PATH'
13096
13097 case $cc_basename in
13098 CC*)
13099 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13100 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13101 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13102 '"$old_archive_cmds_CXX"
13103 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13104 '"$reload_cmds_CXX"
13105 ;;
13106 *)
13107 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 ;;
13110 esac
13111 ;;
13112
13113 tandem*)
13114 case $cc_basename in
13115 NCC*)
13116 # NonStop-UX NCC 3.20
13117 # FIXME: insert proper C++ library support
13118 ld_shlibs_CXX=no
13119 ;;
13120 *)
13121 # FIXME: insert proper C++ library support
13122 ld_shlibs_CXX=no
13123 ;;
13124 esac
13125 ;;
13126
13127 vxworks*)
13128 # FIXME: insert proper C++ library support
13129 ld_shlibs_CXX=no
13130 ;;
13131
13132 *)
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13135 ;;
13136 esac
13137
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13139 $as_echo "$ld_shlibs_CXX" >&6; }
13140 test "$ld_shlibs_CXX" = no && can_build_shared=no
13141
13142 GCC_CXX="$GXX"
13143 LD_CXX="$LD"
13144
13145 ## CAVEAT EMPTOR:
13146 ## There is no encapsulation within the following macros, do not change
13147 ## the running order or otherwise move them around unless you know exactly
13148 ## what you are doing...
13149 # Dependencies to place before and after the object being linked:
13150 predep_objects_CXX=
13151 postdep_objects_CXX=
13152 predeps_CXX=
13153 postdeps_CXX=
13154 compiler_lib_search_path_CXX=
13155
13156 cat > conftest.$ac_ext <<_LT_EOF
13157 class Foo
13158 {
13159 public:
13160 Foo (void) { a = 0; }
13161 private:
13162 int a;
13163 };
13164 _LT_EOF
13165
13166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13167 (eval $ac_compile) 2>&5
13168 ac_status=$?
13169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13170 test $ac_status = 0; }; then
13171 # Parse the compiler output and extract the necessary
13172 # objects, libraries and library flags.
13173
13174 # Sentinel used to keep track of whether or not we are before
13175 # the conftest object file.
13176 pre_test_object_deps_done=no
13177
13178 for p in `eval "$output_verbose_link_cmd"`; do
13179 case $p in
13180
13181 -L* | -R* | -l*)
13182 # Some compilers place space between "-{L,R}" and the path.
13183 # Remove the space.
13184 if test $p = "-L" ||
13185 test $p = "-R"; then
13186 prev=$p
13187 continue
13188 else
13189 prev=
13190 fi
13191
13192 if test "$pre_test_object_deps_done" = no; then
13193 case $p in
13194 -L* | -R*)
13195 # Internal compiler library paths should come after those
13196 # provided the user. The postdeps already come after the
13197 # user supplied libs so there is no need to process them.
13198 if test -z "$compiler_lib_search_path_CXX"; then
13199 compiler_lib_search_path_CXX="${prev}${p}"
13200 else
13201 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13202 fi
13203 ;;
13204 # The "-l" case would never come before the object being
13205 # linked, so don't bother handling this case.
13206 esac
13207 else
13208 if test -z "$postdeps_CXX"; then
13209 postdeps_CXX="${prev}${p}"
13210 else
13211 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13212 fi
13213 fi
13214 ;;
13215
13216 *.$objext)
13217 # This assumes that the test object file only shows up
13218 # once in the compiler output.
13219 if test "$p" = "conftest.$objext"; then
13220 pre_test_object_deps_done=yes
13221 continue
13222 fi
13223
13224 if test "$pre_test_object_deps_done" = no; then
13225 if test -z "$predep_objects_CXX"; then
13226 predep_objects_CXX="$p"
13227 else
13228 predep_objects_CXX="$predep_objects_CXX $p"
13229 fi
13230 else
13231 if test -z "$postdep_objects_CXX"; then
13232 postdep_objects_CXX="$p"
13233 else
13234 postdep_objects_CXX="$postdep_objects_CXX $p"
13235 fi
13236 fi
13237 ;;
13238
13239 *) ;; # Ignore the rest.
13240
13241 esac
13242 done
13243
13244 # Clean up.
13245 rm -f a.out a.exe
13246 else
13247 echo "libtool.m4: error: problem compiling CXX test program"
13248 fi
13249
13250 $RM -f confest.$objext
13251
13252 # PORTME: override above test on systems where it is broken
13253 case $host_os in
13254 interix[3-9]*)
13255 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13256 # hack all around it, let's just trust "g++" to DTRT.
13257 predep_objects_CXX=
13258 postdep_objects_CXX=
13259 postdeps_CXX=
13260 ;;
13261
13262 linux*)
13263 case `$CC -V 2>&1 | sed 5q` in
13264 *Sun\ C*)
13265 # Sun C++ 5.9
13266
13267 # The more standards-conforming stlport4 library is
13268 # incompatible with the Cstd library. Avoid specifying
13269 # it if it's in CXXFLAGS. Ignore libCrun as
13270 # -library=stlport4 depends on it.
13271 case " $CXX $CXXFLAGS " in
13272 *" -library=stlport4 "*)
13273 solaris_use_stlport4=yes
13274 ;;
13275 esac
13276
13277 if test "$solaris_use_stlport4" != yes; then
13278 postdeps_CXX='-library=Cstd -library=Crun'
13279 fi
13280 ;;
13281 esac
13282 ;;
13283
13284 solaris*)
13285 case $cc_basename in
13286 CC*)
13287 # The more standards-conforming stlport4 library is
13288 # incompatible with the Cstd library. Avoid specifying
13289 # it if it's in CXXFLAGS. Ignore libCrun as
13290 # -library=stlport4 depends on it.
13291 case " $CXX $CXXFLAGS " in
13292 *" -library=stlport4 "*)
13293 solaris_use_stlport4=yes
13294 ;;
13295 esac
13296
13297 # Adding this requires a known-good setup of shared libraries for
13298 # Sun compiler versions before 5.6, else PIC objects from an old
13299 # archive will be linked into the output, leading to subtle bugs.
13300 if test "$solaris_use_stlport4" != yes; then
13301 postdeps_CXX='-library=Cstd -library=Crun'
13302 fi
13303 ;;
13304 esac
13305 ;;
13306 esac
13307
13308
13309 case " $postdeps_CXX " in
13310 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13311 esac
13312 compiler_lib_search_dirs_CXX=
13313 if test -n "${compiler_lib_search_path_CXX}"; then
13314 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13315 fi
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347 lt_prog_compiler_wl_CXX=
13348 lt_prog_compiler_pic_CXX=
13349 lt_prog_compiler_static_CXX=
13350
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13352 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13353
13354 # C++ specific cases for pic, static, wl, etc.
13355 if test "$GXX" = yes; then
13356 lt_prog_compiler_wl_CXX='-Wl,'
13357 lt_prog_compiler_static_CXX='-static'
13358
13359 case $host_os in
13360 aix*)
13361 # All AIX code is PIC.
13362 if test "$host_cpu" = ia64; then
13363 # AIX 5 now supports IA64 processor
13364 lt_prog_compiler_static_CXX='-Bstatic'
13365 fi
13366 ;;
13367
13368 amigaos*)
13369 case $host_cpu in
13370 powerpc)
13371 # see comment about AmigaOS4 .so support
13372 lt_prog_compiler_pic_CXX='-fPIC'
13373 ;;
13374 m68k)
13375 # FIXME: we need at least 68020 code to build shared libraries, but
13376 # adding the `-m68020' flag to GCC prevents building anything better,
13377 # like `-m68040'.
13378 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13379 ;;
13380 esac
13381 ;;
13382
13383 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13384 # PIC is the default for these OSes.
13385 ;;
13386 mingw* | cygwin* | os2* | pw32* | cegcc*)
13387 # This hack is so that the source file can tell whether it is being
13388 # built for inclusion in a dll (and should export symbols for example).
13389 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13390 # (--disable-auto-import) libraries
13391 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13392 ;;
13393 darwin* | rhapsody*)
13394 # PIC is the default on this platform
13395 # Common symbols not allowed in MH_DYLIB files
13396 lt_prog_compiler_pic_CXX='-fno-common'
13397 ;;
13398 *djgpp*)
13399 # DJGPP does not support shared libraries at all
13400 lt_prog_compiler_pic_CXX=
13401 ;;
13402 haiku*)
13403 # PIC is the default for Haiku.
13404 # The "-static" flag exists, but is broken.
13405 lt_prog_compiler_static_CXX=
13406 ;;
13407 interix[3-9]*)
13408 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13409 # Instead, we relocate shared libraries at runtime.
13410 ;;
13411 sysv4*MP*)
13412 if test -d /usr/nec; then
13413 lt_prog_compiler_pic_CXX=-Kconform_pic
13414 fi
13415 ;;
13416 hpux*)
13417 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13418 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13419 # sets the default TLS model and affects inlining.
13420 case $host_cpu in
13421 hppa*64*)
13422 ;;
13423 *)
13424 lt_prog_compiler_pic_CXX='-fPIC'
13425 ;;
13426 esac
13427 ;;
13428 *qnx* | *nto*)
13429 # QNX uses GNU C++, but need to define -shared option too, otherwise
13430 # it will coredump.
13431 lt_prog_compiler_pic_CXX='-fPIC -shared'
13432 ;;
13433 *)
13434 lt_prog_compiler_pic_CXX='-fPIC'
13435 ;;
13436 esac
13437 else
13438 case $host_os in
13439 aix[4-9]*)
13440 # All AIX code is PIC.
13441 if test "$host_cpu" = ia64; then
13442 # AIX 5 now supports IA64 processor
13443 lt_prog_compiler_static_CXX='-Bstatic'
13444 else
13445 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13446 fi
13447 ;;
13448 chorus*)
13449 case $cc_basename in
13450 cxch68*)
13451 # Green Hills C++ Compiler
13452 # _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"
13453 ;;
13454 esac
13455 ;;
13456 dgux*)
13457 case $cc_basename in
13458 ec++*)
13459 lt_prog_compiler_pic_CXX='-KPIC'
13460 ;;
13461 ghcx*)
13462 # Green Hills C++ Compiler
13463 lt_prog_compiler_pic_CXX='-pic'
13464 ;;
13465 *)
13466 ;;
13467 esac
13468 ;;
13469 freebsd* | dragonfly*)
13470 # FreeBSD uses GNU C++
13471 ;;
13472 hpux9* | hpux10* | hpux11*)
13473 case $cc_basename in
13474 CC*)
13475 lt_prog_compiler_wl_CXX='-Wl,'
13476 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13477 if test "$host_cpu" != ia64; then
13478 lt_prog_compiler_pic_CXX='+Z'
13479 fi
13480 ;;
13481 aCC*)
13482 lt_prog_compiler_wl_CXX='-Wl,'
13483 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13484 case $host_cpu in
13485 hppa*64*|ia64*)
13486 # +Z the default
13487 ;;
13488 *)
13489 lt_prog_compiler_pic_CXX='+Z'
13490 ;;
13491 esac
13492 ;;
13493 *)
13494 ;;
13495 esac
13496 ;;
13497 interix*)
13498 # This is c89, which is MS Visual C++ (no shared libs)
13499 # Anyone wants to do a port?
13500 ;;
13501 irix5* | irix6* | nonstopux*)
13502 case $cc_basename in
13503 CC*)
13504 lt_prog_compiler_wl_CXX='-Wl,'
13505 lt_prog_compiler_static_CXX='-non_shared'
13506 # CC pic flag -KPIC is the default.
13507 ;;
13508 *)
13509 ;;
13510 esac
13511 ;;
13512 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13513 case $cc_basename in
13514 KCC*)
13515 # KAI C++ Compiler
13516 lt_prog_compiler_wl_CXX='--backend -Wl,'
13517 lt_prog_compiler_pic_CXX='-fPIC'
13518 ;;
13519 ecpc* )
13520 # old Intel C++ for x86_64 which still supported -KPIC.
13521 lt_prog_compiler_wl_CXX='-Wl,'
13522 lt_prog_compiler_pic_CXX='-KPIC'
13523 lt_prog_compiler_static_CXX='-static'
13524 ;;
13525 icpc* )
13526 # Intel C++, used to be incompatible with GCC.
13527 # ICC 10 doesn't accept -KPIC any more.
13528 lt_prog_compiler_wl_CXX='-Wl,'
13529 lt_prog_compiler_pic_CXX='-fPIC'
13530 lt_prog_compiler_static_CXX='-static'
13531 ;;
13532 pgCC* | pgcpp*)
13533 # Portland Group C++ compiler
13534 lt_prog_compiler_wl_CXX='-Wl,'
13535 lt_prog_compiler_pic_CXX='-fpic'
13536 lt_prog_compiler_static_CXX='-Bstatic'
13537 ;;
13538 cxx*)
13539 # Compaq C++
13540 # Make sure the PIC flag is empty. It appears that all Alpha
13541 # Linux and Compaq Tru64 Unix objects are PIC.
13542 lt_prog_compiler_pic_CXX=
13543 lt_prog_compiler_static_CXX='-non_shared'
13544 ;;
13545 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13546 # IBM XL 8.0, 9.0 on PPC and BlueGene
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 lt_prog_compiler_pic_CXX='-qpic'
13549 lt_prog_compiler_static_CXX='-qstaticlink'
13550 ;;
13551 *)
13552 case `$CC -V 2>&1 | sed 5q` in
13553 *Sun\ C*)
13554 # Sun C++ 5.9
13555 lt_prog_compiler_pic_CXX='-KPIC'
13556 lt_prog_compiler_static_CXX='-Bstatic'
13557 lt_prog_compiler_wl_CXX='-Qoption ld '
13558 ;;
13559 esac
13560 ;;
13561 esac
13562 ;;
13563 lynxos*)
13564 ;;
13565 m88k*)
13566 ;;
13567 mvs*)
13568 case $cc_basename in
13569 cxx*)
13570 lt_prog_compiler_pic_CXX='-W c,exportall'
13571 ;;
13572 *)
13573 ;;
13574 esac
13575 ;;
13576 netbsd*)
13577 ;;
13578 *qnx* | *nto*)
13579 # QNX uses GNU C++, but need to define -shared option too, otherwise
13580 # it will coredump.
13581 lt_prog_compiler_pic_CXX='-fPIC -shared'
13582 ;;
13583 osf3* | osf4* | osf5*)
13584 case $cc_basename in
13585 KCC*)
13586 lt_prog_compiler_wl_CXX='--backend -Wl,'
13587 ;;
13588 RCC*)
13589 # Rational C++ 2.4.1
13590 lt_prog_compiler_pic_CXX='-pic'
13591 ;;
13592 cxx*)
13593 # Digital/Compaq C++
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 # Make sure the PIC flag is empty. It appears that all Alpha
13596 # Linux and Compaq Tru64 Unix objects are PIC.
13597 lt_prog_compiler_pic_CXX=
13598 lt_prog_compiler_static_CXX='-non_shared'
13599 ;;
13600 *)
13601 ;;
13602 esac
13603 ;;
13604 psos*)
13605 ;;
13606 solaris*)
13607 case $cc_basename in
13608 CC*)
13609 # Sun C++ 4.2, 5.x and Centerline C++
13610 lt_prog_compiler_pic_CXX='-KPIC'
13611 lt_prog_compiler_static_CXX='-Bstatic'
13612 lt_prog_compiler_wl_CXX='-Qoption ld '
13613 ;;
13614 gcx*)
13615 # Green Hills C++ Compiler
13616 lt_prog_compiler_pic_CXX='-PIC'
13617 ;;
13618 *)
13619 ;;
13620 esac
13621 ;;
13622 sunos4*)
13623 case $cc_basename in
13624 CC*)
13625 # Sun C++ 4.x
13626 lt_prog_compiler_pic_CXX='-pic'
13627 lt_prog_compiler_static_CXX='-Bstatic'
13628 ;;
13629 lcc*)
13630 # Lucid
13631 lt_prog_compiler_pic_CXX='-pic'
13632 ;;
13633 *)
13634 ;;
13635 esac
13636 ;;
13637 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13638 case $cc_basename in
13639 CC*)
13640 lt_prog_compiler_wl_CXX='-Wl,'
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13643 ;;
13644 esac
13645 ;;
13646 tandem*)
13647 case $cc_basename in
13648 NCC*)
13649 # NonStop-UX NCC 3.20
13650 lt_prog_compiler_pic_CXX='-KPIC'
13651 ;;
13652 *)
13653 ;;
13654 esac
13655 ;;
13656 vxworks*)
13657 ;;
13658 *)
13659 lt_prog_compiler_can_build_shared_CXX=no
13660 ;;
13661 esac
13662 fi
13663
13664 case $host_os in
13665 # For platforms which do not support PIC, -DPIC is meaningless:
13666 *djgpp*)
13667 lt_prog_compiler_pic_CXX=
13668 ;;
13669 *)
13670 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13671 ;;
13672 esac
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13674 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13675
13676
13677
13678 #
13679 # Check to make sure the PIC flag actually works.
13680 #
13681 if test -n "$lt_prog_compiler_pic_CXX"; then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13683 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13684 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13685 $as_echo_n "(cached) " >&6
13686 else
13687 lt_cv_prog_compiler_pic_works_CXX=no
13688 ac_outfile=conftest.$ac_objext
13689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13690 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13691 # Insert the option either (1) after the last *FLAGS variable, or
13692 # (2) before a word containing "conftest.", or (3) at the end.
13693 # Note that $ac_compile itself does not contain backslashes and begins
13694 # with a dollar sign (not a hyphen), so the echo should work correctly.
13695 # The option is referenced via a variable to avoid confusing sed.
13696 lt_compile=`echo "$ac_compile" | $SED \
13697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13699 -e 's:$: $lt_compiler_flag:'`
13700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13701 (eval "$lt_compile" 2>conftest.err)
13702 ac_status=$?
13703 cat conftest.err >&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 if (exit $ac_status) && test -s "$ac_outfile"; then
13706 # The compiler can only warn and ignore the option if not recognized
13707 # So say no if there are warnings other than the usual output.
13708 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13710 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13711 lt_cv_prog_compiler_pic_works_CXX=yes
13712 fi
13713 fi
13714 $RM conftest*
13715
13716 fi
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13718 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13719
13720 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13721 case $lt_prog_compiler_pic_CXX in
13722 "" | " "*) ;;
13723 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13724 esac
13725 else
13726 lt_prog_compiler_pic_CXX=
13727 lt_prog_compiler_can_build_shared_CXX=no
13728 fi
13729
13730 fi
13731
13732
13733
13734 #
13735 # Check to make sure the static flag actually works.
13736 #
13737 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13739 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13740 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 lt_cv_prog_compiler_static_works_CXX=no
13744 save_LDFLAGS="$LDFLAGS"
13745 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13746 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13747 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13748 # The linker can only warn and ignore the option if not recognized
13749 # So say no if there are warnings
13750 if test -s conftest.err; then
13751 # Append any errors to the config.log.
13752 cat conftest.err 1>&5
13753 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13754 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13755 if diff conftest.exp conftest.er2 >/dev/null; then
13756 lt_cv_prog_compiler_static_works_CXX=yes
13757 fi
13758 else
13759 lt_cv_prog_compiler_static_works_CXX=yes
13760 fi
13761 fi
13762 $RM -r conftest*
13763 LDFLAGS="$save_LDFLAGS"
13764
13765 fi
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13767 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13768
13769 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13770 :
13771 else
13772 lt_prog_compiler_static_CXX=
13773 fi
13774
13775
13776
13777
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13779 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13780 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 lt_cv_prog_compiler_c_o_CXX=no
13784 $RM -r conftest 2>/dev/null
13785 mkdir conftest
13786 cd conftest
13787 mkdir out
13788 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13789
13790 lt_compiler_flag="-o out/conftest2.$ac_objext"
13791 # Insert the option either (1) after the last *FLAGS variable, or
13792 # (2) before a word containing "conftest.", or (3) at the end.
13793 # Note that $ac_compile itself does not contain backslashes and begins
13794 # with a dollar sign (not a hyphen), so the echo should work correctly.
13795 lt_compile=`echo "$ac_compile" | $SED \
13796 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13798 -e 's:$: $lt_compiler_flag:'`
13799 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13800 (eval "$lt_compile" 2>out/conftest.err)
13801 ac_status=$?
13802 cat out/conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13805 then
13806 # The compiler can only warn and ignore the option if not recognized
13807 # So say no if there are warnings
13808 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13809 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13810 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13811 lt_cv_prog_compiler_c_o_CXX=yes
13812 fi
13813 fi
13814 chmod u+w . 2>&5
13815 $RM conftest*
13816 # SGI C++ compiler will create directory out/ii_files/ for
13817 # template instantiation
13818 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13819 $RM out/* && rmdir out
13820 cd ..
13821 $RM -r conftest
13822 $RM conftest*
13823
13824 fi
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13826 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13827
13828
13829
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13831 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13832 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 lt_cv_prog_compiler_c_o_CXX=no
13836 $RM -r conftest 2>/dev/null
13837 mkdir conftest
13838 cd conftest
13839 mkdir out
13840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13841
13842 lt_compiler_flag="-o out/conftest2.$ac_objext"
13843 # Insert the option either (1) after the last *FLAGS variable, or
13844 # (2) before a word containing "conftest.", or (3) at the end.
13845 # Note that $ac_compile itself does not contain backslashes and begins
13846 # with a dollar sign (not a hyphen), so the echo should work correctly.
13847 lt_compile=`echo "$ac_compile" | $SED \
13848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13850 -e 's:$: $lt_compiler_flag:'`
13851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13852 (eval "$lt_compile" 2>out/conftest.err)
13853 ac_status=$?
13854 cat out/conftest.err >&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13857 then
13858 # The compiler can only warn and ignore the option if not recognized
13859 # So say no if there are warnings
13860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13861 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13862 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13863 lt_cv_prog_compiler_c_o_CXX=yes
13864 fi
13865 fi
13866 chmod u+w . 2>&5
13867 $RM conftest*
13868 # SGI C++ compiler will create directory out/ii_files/ for
13869 # template instantiation
13870 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13871 $RM out/* && rmdir out
13872 cd ..
13873 $RM -r conftest
13874 $RM conftest*
13875
13876 fi
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13878 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13879
13880
13881
13882
13883 hard_links="nottested"
13884 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13885 # do not overwrite the value of need_locks provided by the user
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13887 $as_echo_n "checking if we can lock with hard links... " >&6; }
13888 hard_links=yes
13889 $RM conftest*
13890 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13891 touch conftest.a
13892 ln conftest.a conftest.b 2>&5 || hard_links=no
13893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13895 $as_echo "$hard_links" >&6; }
13896 if test "$hard_links" = no; then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13898 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13899 need_locks=warn
13900 fi
13901 else
13902 need_locks=no
13903 fi
13904
13905
13906
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13908 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13909
13910 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13911 case $host_os in
13912 aix[4-9]*)
13913 # If we're using GNU nm, then we don't want the "-C" option.
13914 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13915 # Also, AIX nm treats weak defined symbols like other global defined
13916 # symbols, whereas GNU nm marks them as "W".
13917 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13918 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'
13919 else
13920 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'
13921 fi
13922 ;;
13923 pw32*)
13924 export_symbols_cmds_CXX="$ltdll_cmds"
13925 ;;
13926 cygwin* | mingw* | cegcc*)
13927 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'
13928 ;;
13929 *)
13930 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13931 ;;
13932 esac
13933 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13934
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13936 $as_echo "$ld_shlibs_CXX" >&6; }
13937 test "$ld_shlibs_CXX" = no && can_build_shared=no
13938
13939 with_gnu_ld_CXX=$with_gnu_ld
13940
13941
13942
13943
13944
13945
13946 #
13947 # Do we need to explicitly link libc?
13948 #
13949 case "x$archive_cmds_need_lc_CXX" in
13950 x|xyes)
13951 # Assume -lc should be added
13952 archive_cmds_need_lc_CXX=yes
13953
13954 if test "$enable_shared" = yes && test "$GCC" = yes; then
13955 case $archive_cmds_CXX in
13956 *'~'*)
13957 # FIXME: we may have to deal with multi-command sequences.
13958 ;;
13959 '$CC '*)
13960 # Test whether the compiler implicitly links with -lc since on some
13961 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13962 # to ld, don't add -lc before -lgcc.
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13964 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13965 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 $RM conftest*
13969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13970
13971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13972 (eval $ac_compile) 2>&5
13973 ac_status=$?
13974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13975 test $ac_status = 0; } 2>conftest.err; then
13976 soname=conftest
13977 lib=conftest
13978 libobjs=conftest.$ac_objext
13979 deplibs=
13980 wl=$lt_prog_compiler_wl_CXX
13981 pic_flag=$lt_prog_compiler_pic_CXX
13982 compiler_flags=-v
13983 linker_flags=-v
13984 verstring=
13985 output_objdir=.
13986 libname=conftest
13987 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13988 allow_undefined_flag_CXX=
13989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13990 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13991 ac_status=$?
13992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13993 test $ac_status = 0; }
13994 then
13995 lt_cv_archive_cmds_need_lc_CXX=no
13996 else
13997 lt_cv_archive_cmds_need_lc_CXX=yes
13998 fi
13999 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14000 else
14001 cat conftest.err 1>&5
14002 fi
14003 $RM conftest*
14004
14005 fi
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14007 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14008 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14009 ;;
14010 esac
14011 fi
14012 ;;
14013 esac
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14079 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14080
14081 library_names_spec=
14082 libname_spec='lib$name'
14083 soname_spec=
14084 shrext_cmds=".so"
14085 postinstall_cmds=
14086 postuninstall_cmds=
14087 finish_cmds=
14088 finish_eval=
14089 shlibpath_var=
14090 shlibpath_overrides_runpath=unknown
14091 version_type=none
14092 dynamic_linker="$host_os ld.so"
14093 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14094 need_lib_prefix=unknown
14095 hardcode_into_libs=no
14096
14097 # when you set need_version to no, make sure it does not cause -set_version
14098 # flags to be left without arguments
14099 need_version=unknown
14100
14101 case $host_os in
14102 aix3*)
14103 version_type=linux
14104 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14105 shlibpath_var=LIBPATH
14106
14107 # AIX 3 has no versioning support, so we append a major version to the name.
14108 soname_spec='${libname}${release}${shared_ext}$major'
14109 ;;
14110
14111 aix[4-9]*)
14112 version_type=linux
14113 need_lib_prefix=no
14114 need_version=no
14115 hardcode_into_libs=yes
14116 if test "$host_cpu" = ia64; then
14117 # AIX 5 supports IA64
14118 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14119 shlibpath_var=LD_LIBRARY_PATH
14120 else
14121 # With GCC up to 2.95.x, collect2 would create an import file
14122 # for dependence libraries. The import file would start with
14123 # the line `#! .'. This would cause the generated library to
14124 # depend on `.', always an invalid library. This was fixed in
14125 # development snapshots of GCC prior to 3.0.
14126 case $host_os in
14127 aix4 | aix4.[01] | aix4.[01].*)
14128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14129 echo ' yes '
14130 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14131 :
14132 else
14133 can_build_shared=no
14134 fi
14135 ;;
14136 esac
14137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14138 # soname into executable. Probably we can add versioning support to
14139 # collect2, so additional links can be useful in future.
14140 if test "$aix_use_runtimelinking" = yes; then
14141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14142 # instead of lib<name>.a to let people know that these are not
14143 # typical AIX shared libraries.
14144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14145 else
14146 # We preserve .a as extension for shared libraries through AIX4.2
14147 # and later when we are not doing run time linking.
14148 library_names_spec='${libname}${release}.a $libname.a'
14149 soname_spec='${libname}${release}${shared_ext}$major'
14150 fi
14151 shlibpath_var=LIBPATH
14152 fi
14153 ;;
14154
14155 amigaos*)
14156 case $host_cpu in
14157 powerpc)
14158 # Since July 2007 AmigaOS4 officially supports .so libraries.
14159 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14161 ;;
14162 m68k)
14163 library_names_spec='$libname.ixlibrary $libname.a'
14164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14165 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'
14166 ;;
14167 esac
14168 ;;
14169
14170 beos*)
14171 library_names_spec='${libname}${shared_ext}'
14172 dynamic_linker="$host_os ld.so"
14173 shlibpath_var=LIBRARY_PATH
14174 ;;
14175
14176 bsdi[45]*)
14177 version_type=linux
14178 need_version=no
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14181 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14182 shlibpath_var=LD_LIBRARY_PATH
14183 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14184 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14185 # the default ld.so.conf also contains /usr/contrib/lib and
14186 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14187 # libtool to hard-code these into programs
14188 ;;
14189
14190 cygwin* | mingw* | pw32* | cegcc*)
14191 version_type=windows
14192 shrext_cmds=".dll"
14193 need_version=no
14194 need_lib_prefix=no
14195
14196 case $GCC,$host_os in
14197 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14198 library_names_spec='$libname.dll.a'
14199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14200 postinstall_cmds='base_file=`basename \${file}`~
14201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14202 dldir=$destdir/`dirname \$dlpath`~
14203 test -d \$dldir || mkdir -p \$dldir~
14204 $install_prog $dir/$dlname \$dldir/$dlname~
14205 chmod a+x \$dldir/$dlname~
14206 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14207 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14208 fi'
14209 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14210 dlpath=$dir/\$dldll~
14211 $RM \$dlpath'
14212 shlibpath_overrides_runpath=yes
14213
14214 case $host_os in
14215 cygwin*)
14216 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14217 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14218
14219 ;;
14220 mingw* | cegcc*)
14221 # MinGW DLLs use traditional 'lib' prefix
14222 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14223 ;;
14224 pw32*)
14225 # pw32 DLLs use 'pw' prefix rather than 'lib'
14226 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14227 ;;
14228 esac
14229 ;;
14230
14231 *)
14232 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14233 ;;
14234 esac
14235 dynamic_linker='Win32 ld.exe'
14236 # FIXME: first we should search . and the directory the executable is in
14237 shlibpath_var=PATH
14238 ;;
14239
14240 darwin* | rhapsody*)
14241 dynamic_linker="$host_os dyld"
14242 version_type=darwin
14243 need_lib_prefix=no
14244 need_version=no
14245 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14246 soname_spec='${libname}${release}${major}$shared_ext'
14247 shlibpath_overrides_runpath=yes
14248 shlibpath_var=DYLD_LIBRARY_PATH
14249 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14250
14251 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14252 ;;
14253
14254 dgux*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14259 soname_spec='${libname}${release}${shared_ext}$major'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 ;;
14262
14263 freebsd1*)
14264 dynamic_linker=no
14265 ;;
14266
14267 freebsd* | dragonfly*)
14268 # DragonFly does not have aout. When/if they implement a new
14269 # versioning mechanism, adjust this.
14270 if test -x /usr/bin/objformat; then
14271 objformat=`/usr/bin/objformat`
14272 else
14273 case $host_os in
14274 freebsd[123]*) objformat=aout ;;
14275 *) objformat=elf ;;
14276 esac
14277 fi
14278 version_type=freebsd-$objformat
14279 case $version_type in
14280 freebsd-elf*)
14281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14282 need_version=no
14283 need_lib_prefix=no
14284 ;;
14285 freebsd-*)
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14287 need_version=yes
14288 ;;
14289 esac
14290 shlibpath_var=LD_LIBRARY_PATH
14291 case $host_os in
14292 freebsd2*)
14293 shlibpath_overrides_runpath=yes
14294 ;;
14295 freebsd3.[01]* | freebsdelf3.[01]*)
14296 shlibpath_overrides_runpath=yes
14297 hardcode_into_libs=yes
14298 ;;
14299 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14300 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14301 shlibpath_overrides_runpath=no
14302 hardcode_into_libs=yes
14303 ;;
14304 *) # from 4.6 on, and DragonFly
14305 shlibpath_overrides_runpath=yes
14306 hardcode_into_libs=yes
14307 ;;
14308 esac
14309 ;;
14310
14311 gnu*)
14312 version_type=linux
14313 need_lib_prefix=no
14314 need_version=no
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14316 soname_spec='${libname}${release}${shared_ext}$major'
14317 shlibpath_var=LD_LIBRARY_PATH
14318 hardcode_into_libs=yes
14319 ;;
14320
14321 haiku*)
14322 version_type=linux
14323 need_lib_prefix=no
14324 need_version=no
14325 dynamic_linker="$host_os runtime_loader"
14326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14327 soname_spec='${libname}${release}${shared_ext}$major'
14328 shlibpath_var=LIBRARY_PATH
14329 shlibpath_overrides_runpath=yes
14330 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14331 hardcode_into_libs=yes
14332 ;;
14333
14334 hpux9* | hpux10* | hpux11*)
14335 # Give a soname corresponding to the major version so that dld.sl refuses to
14336 # link against other versions.
14337 version_type=sunos
14338 need_lib_prefix=no
14339 need_version=no
14340 case $host_cpu in
14341 ia64*)
14342 shrext_cmds='.so'
14343 hardcode_into_libs=yes
14344 dynamic_linker="$host_os dld.so"
14345 shlibpath_var=LD_LIBRARY_PATH
14346 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 if test "X$HPUX_IA64_MODE" = X32; then
14350 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14351 else
14352 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14353 fi
14354 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14355 ;;
14356 hppa*64*)
14357 shrext_cmds='.sl'
14358 hardcode_into_libs=yes
14359 dynamic_linker="$host_os dld.sl"
14360 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14361 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 soname_spec='${libname}${release}${shared_ext}$major'
14364 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14365 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14366 ;;
14367 *)
14368 shrext_cmds='.sl'
14369 dynamic_linker="$host_os dld.sl"
14370 shlibpath_var=SHLIB_PATH
14371 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14374 ;;
14375 esac
14376 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14377 postinstall_cmds='chmod 555 $lib'
14378 # or fails outright, so override atomically:
14379 install_override_mode=555
14380 ;;
14381
14382 interix[3-9]*)
14383 version_type=linux
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14388 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14389 shlibpath_var=LD_LIBRARY_PATH
14390 shlibpath_overrides_runpath=no
14391 hardcode_into_libs=yes
14392 ;;
14393
14394 irix5* | irix6* | nonstopux*)
14395 case $host_os in
14396 nonstopux*) version_type=nonstopux ;;
14397 *)
14398 if test "$lt_cv_prog_gnu_ld" = yes; then
14399 version_type=linux
14400 else
14401 version_type=irix
14402 fi ;;
14403 esac
14404 need_lib_prefix=no
14405 need_version=no
14406 soname_spec='${libname}${release}${shared_ext}$major'
14407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14408 case $host_os in
14409 irix5* | nonstopux*)
14410 libsuff= shlibsuff=
14411 ;;
14412 *)
14413 case $LD in # libtool.m4 will add one of these switches to LD
14414 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14415 libsuff= shlibsuff= libmagic=32-bit;;
14416 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14417 libsuff=32 shlibsuff=N32 libmagic=N32;;
14418 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14419 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14420 *) libsuff= shlibsuff= libmagic=never-match;;
14421 esac
14422 ;;
14423 esac
14424 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14425 shlibpath_overrides_runpath=no
14426 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14427 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14428 hardcode_into_libs=yes
14429 ;;
14430
14431 # No shared lib support for Linux oldld, aout, or coff.
14432 linux*oldld* | linux*aout* | linux*coff*)
14433 dynamic_linker=no
14434 ;;
14435
14436 # This must be Linux ELF.
14437 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14438 version_type=linux
14439 need_lib_prefix=no
14440 need_version=no
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 shlibpath_overrides_runpath=no
14446
14447 # Some binutils ld are patched to set DT_RUNPATH
14448 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14449 $as_echo_n "(cached) " >&6
14450 else
14451 lt_cv_shlibpath_overrides_runpath=no
14452 save_LDFLAGS=$LDFLAGS
14453 save_libdir=$libdir
14454 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14455 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14456 if test x$gcc_no_link = xyes; then
14457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14458 fi
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14461
14462 int
14463 main ()
14464 {
14465
14466 ;
14467 return 0;
14468 }
14469 _ACEOF
14470 if ac_fn_cxx_try_link "$LINENO"; then :
14471 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14472 lt_cv_shlibpath_overrides_runpath=yes
14473 fi
14474 fi
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 LDFLAGS=$save_LDFLAGS
14478 libdir=$save_libdir
14479
14480 fi
14481
14482 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14483
14484 # This implies no fast_install, which is unacceptable.
14485 # Some rework will be needed to allow for fast_install
14486 # before this can be enabled.
14487 hardcode_into_libs=yes
14488
14489 # Append ld.so.conf contents to the search path
14490 if test -f /etc/ld.so.conf; then
14491 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' ' '`
14492 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14493 fi
14494
14495 # We used to test for /lib/ld.so.1 and disable shared libraries on
14496 # powerpc, because MkLinux only supported shared libraries with the
14497 # GNU dynamic linker. Since this was broken with cross compilers,
14498 # most powerpc-linux boxes support dynamic linking these days and
14499 # people can always --disable-shared, the test was removed, and we
14500 # assume the GNU/Linux dynamic linker is in use.
14501 dynamic_linker='GNU/Linux ld.so'
14502 ;;
14503
14504 netbsd*)
14505 version_type=sunos
14506 need_lib_prefix=no
14507 need_version=no
14508 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14510 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14511 dynamic_linker='NetBSD (a.out) ld.so'
14512 else
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 dynamic_linker='NetBSD ld.elf_so'
14516 fi
14517 shlibpath_var=LD_LIBRARY_PATH
14518 shlibpath_overrides_runpath=yes
14519 hardcode_into_libs=yes
14520 ;;
14521
14522 newsos6)
14523 version_type=linux
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14525 shlibpath_var=LD_LIBRARY_PATH
14526 shlibpath_overrides_runpath=yes
14527 ;;
14528
14529 *nto* | *qnx*)
14530 version_type=qnx
14531 need_lib_prefix=no
14532 need_version=no
14533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14534 soname_spec='${libname}${release}${shared_ext}$major'
14535 shlibpath_var=LD_LIBRARY_PATH
14536 shlibpath_overrides_runpath=no
14537 hardcode_into_libs=yes
14538 dynamic_linker='ldqnx.so'
14539 ;;
14540
14541 openbsd*)
14542 version_type=sunos
14543 sys_lib_dlsearch_path_spec="/usr/lib"
14544 need_lib_prefix=no
14545 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14546 case $host_os in
14547 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14548 *) need_version=no ;;
14549 esac
14550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14551 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14552 shlibpath_var=LD_LIBRARY_PATH
14553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14554 case $host_os in
14555 openbsd2.[89] | openbsd2.[89].*)
14556 shlibpath_overrides_runpath=no
14557 ;;
14558 *)
14559 shlibpath_overrides_runpath=yes
14560 ;;
14561 esac
14562 else
14563 shlibpath_overrides_runpath=yes
14564 fi
14565 ;;
14566
14567 os2*)
14568 libname_spec='$name'
14569 shrext_cmds=".dll"
14570 need_lib_prefix=no
14571 library_names_spec='$libname${shared_ext} $libname.a'
14572 dynamic_linker='OS/2 ld.exe'
14573 shlibpath_var=LIBPATH
14574 ;;
14575
14576 osf3* | osf4* | osf5*)
14577 version_type=osf
14578 need_lib_prefix=no
14579 need_version=no
14580 soname_spec='${libname}${release}${shared_ext}$major'
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14584 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14585 ;;
14586
14587 rdos*)
14588 dynamic_linker=no
14589 ;;
14590
14591 solaris*)
14592 version_type=linux
14593 need_lib_prefix=no
14594 need_version=no
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 shlibpath_overrides_runpath=yes
14599 hardcode_into_libs=yes
14600 # ldd complains unless libraries are executable
14601 postinstall_cmds='chmod +x $lib'
14602 ;;
14603
14604 sunos4*)
14605 version_type=sunos
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 shlibpath_overrides_runpath=yes
14610 if test "$with_gnu_ld" = yes; then
14611 need_lib_prefix=no
14612 fi
14613 need_version=yes
14614 ;;
14615
14616 sysv4 | sysv4.3*)
14617 version_type=linux
14618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619 soname_spec='${libname}${release}${shared_ext}$major'
14620 shlibpath_var=LD_LIBRARY_PATH
14621 case $host_vendor in
14622 sni)
14623 shlibpath_overrides_runpath=no
14624 need_lib_prefix=no
14625 runpath_var=LD_RUN_PATH
14626 ;;
14627 siemens)
14628 need_lib_prefix=no
14629 ;;
14630 motorola)
14631 need_lib_prefix=no
14632 need_version=no
14633 shlibpath_overrides_runpath=no
14634 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14635 ;;
14636 esac
14637 ;;
14638
14639 sysv4*MP*)
14640 if test -d /usr/nec ;then
14641 version_type=linux
14642 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14643 soname_spec='$libname${shared_ext}.$major'
14644 shlibpath_var=LD_LIBRARY_PATH
14645 fi
14646 ;;
14647
14648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14649 version_type=freebsd-elf
14650 need_lib_prefix=no
14651 need_version=no
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 if test "$with_gnu_ld" = yes; then
14658 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14659 else
14660 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14661 case $host_os in
14662 sco3.2v5*)
14663 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14664 ;;
14665 esac
14666 fi
14667 sys_lib_dlsearch_path_spec='/usr/lib'
14668 ;;
14669
14670 tpf*)
14671 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14672 version_type=linux
14673 need_lib_prefix=no
14674 need_version=no
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 shlibpath_overrides_runpath=no
14678 hardcode_into_libs=yes
14679 ;;
14680
14681 uts4*)
14682 version_type=linux
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 ;;
14687
14688 *)
14689 dynamic_linker=no
14690 ;;
14691 esac
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14693 $as_echo "$dynamic_linker" >&6; }
14694 test "$dynamic_linker" = no && can_build_shared=no
14695
14696 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14697 if test "$GCC" = yes; then
14698 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14699 fi
14700
14701 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14702 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14703 fi
14704 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14705 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14706 fi
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14746 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14747 hardcode_action_CXX=
14748 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14749 test -n "$runpath_var_CXX" ||
14750 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14751
14752 # We can hardcode non-existent directories.
14753 if test "$hardcode_direct_CXX" != no &&
14754 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14755 # have to relink, otherwise we might link with an installed library
14756 # when we should be linking with a yet-to-be-installed one
14757 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14758 test "$hardcode_minus_L_CXX" != no; then
14759 # Linking always hardcodes the temporary library directory.
14760 hardcode_action_CXX=relink
14761 else
14762 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14763 hardcode_action_CXX=immediate
14764 fi
14765 else
14766 # We cannot hardcode anything, or else we can only hardcode existing
14767 # directories.
14768 hardcode_action_CXX=unsupported
14769 fi
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14771 $as_echo "$hardcode_action_CXX" >&6; }
14772
14773 if test "$hardcode_action_CXX" = relink ||
14774 test "$inherit_rpath_CXX" = yes; then
14775 # Fast installation is not supported
14776 enable_fast_install=no
14777 elif test "$shlibpath_overrides_runpath" = yes ||
14778 test "$enable_shared" = no; then
14779 # Fast installation is not necessary
14780 enable_fast_install=needless
14781 fi
14782
14783
14784
14785
14786
14787
14788
14789 fi # test -n "$compiler"
14790
14791 CC=$lt_save_CC
14792 LDCXX=$LD
14793 LD=$lt_save_LD
14794 GCC=$lt_save_GCC
14795 with_gnu_ld=$lt_save_with_gnu_ld
14796 lt_cv_path_LDCXX=$lt_cv_path_LD
14797 lt_cv_path_LD=$lt_save_path_LD
14798 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14799 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14800 fi # test "$_lt_caught_CXX_error" != yes
14801
14802 ac_ext=c
14803 ac_cpp='$CPP $CPPFLAGS'
14804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820 ac_config_commands="$ac_config_commands libtool"
14821
14822
14823
14824
14825 # Only expand once:
14826
14827
14828
14829
14830
14831 # Possibly disable most of the library.
14832 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14833 ## than just ignoring the results. Faster /and/ more correct, win win.
14834
14835 # Check whether --enable-hosted-libstdcxx was given.
14836 if test "${enable_hosted_libstdcxx+set}" = set; then :
14837 enableval=$enable_hosted_libstdcxx;
14838 else
14839 case "$host" in
14840 arm*-*-symbianelf*)
14841 enable_hosted_libstdcxx=no
14842 ;;
14843 *)
14844 enable_hosted_libstdcxx=yes
14845 ;;
14846 esac
14847 fi
14848
14849 if test "$enable_hosted_libstdcxx" = no; then
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14851 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14852 is_hosted=no
14853 hosted_define=0
14854 enable_abi_check=no
14855 enable_libstdcxx_pch=no
14856 else
14857 is_hosted=yes
14858 hosted_define=1
14859 fi
14860
14861
14862 cat >>confdefs.h <<_ACEOF
14863 #define _GLIBCXX_HOSTED $hosted_define
14864 _ACEOF
14865
14866
14867
14868 # Enable compiler support that doesn't require linking.
14869
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14871 $as_echo_n "checking for exception model to use... " >&6; }
14872
14873 ac_ext=cpp
14874 ac_cpp='$CXXCPP $CPPFLAGS'
14875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14878
14879 # Check whether --enable-sjlj-exceptions was given.
14880 if test "${enable_sjlj_exceptions+set}" = set; then :
14881 enableval=$enable_sjlj_exceptions;
14882 case "$enableval" in
14883 yes|no|auto) ;;
14884 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14885 esac
14886
14887 else
14888 enable_sjlj_exceptions=auto
14889 fi
14890
14891
14892
14893 if test $enable_sjlj_exceptions = auto; then
14894 # Botheration. Now we've got to detect the exception model. Link tests
14895 # against libgcc.a are problematic since we've not been given proper -L
14896 # bits for single-tree newlib and libgloss.
14897 #
14898 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14899 cat > conftest.$ac_ext << EOF
14900 #line 14900 "configure"
14901 struct S { ~S(); };
14902 void bar();
14903 void foo()
14904 {
14905 S s;
14906 bar();
14907 }
14908 EOF
14909 old_CXXFLAGS="$CXXFLAGS"
14910 CXXFLAGS=-S
14911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14912 (eval $ac_compile) 2>&5
14913 ac_status=$?
14914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915 test $ac_status = 0; }; then
14916 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14917 enable_sjlj_exceptions=yes
14918 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14919 enable_sjlj_exceptions=no
14920 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14921 enable_sjlj_exceptions=no
14922 fi
14923 fi
14924 CXXFLAGS="$old_CXXFLAGS"
14925 rm -f conftest*
14926 fi
14927
14928 # This is a tad weird, for hysterical raisins. We have to map
14929 # enable/disable to two different models.
14930 case $enable_sjlj_exceptions in
14931 yes)
14932
14933 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14934
14935 ac_exception_model_name=sjlj
14936 ;;
14937 no)
14938 ac_exception_model_name="call frame"
14939 ;;
14940 *)
14941 as_fn_error "unable to detect exception model" "$LINENO" 5
14942 ;;
14943 esac
14944 ac_ext=c
14945 ac_cpp='$CPP $CPPFLAGS'
14946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14949
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14951 $as_echo "$ac_exception_model_name" >&6; }
14952
14953
14954 # Check whether --enable-libstdcxx-pch was given.
14955 if test "${enable_libstdcxx_pch+set}" = set; then :
14956 enableval=$enable_libstdcxx_pch;
14957 case "$enableval" in
14958 yes|no) ;;
14959 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14960 esac
14961
14962 else
14963 enable_libstdcxx_pch=$is_hosted
14964 fi
14965
14966
14967 if test $enable_libstdcxx_pch = yes; then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14969 $as_echo_n "checking for compiler with PCH support... " >&6; }
14970 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 ac_save_CXXFLAGS="$CXXFLAGS"
14974 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14975
14976 ac_ext=cpp
14977 ac_cpp='$CXXCPP $CPPFLAGS'
14978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14981
14982 echo '#include <math.h>' > conftest.h
14983 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14984 -o conftest.h.gch 1>&5 2>&1 &&
14985 echo '#error "pch failed"' > conftest.h &&
14986 echo '#include "conftest.h"' > conftest.cc &&
14987 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14988 then
14989 glibcxx_cv_prog_CXX_pch=yes
14990 else
14991 glibcxx_cv_prog_CXX_pch=no
14992 fi
14993 rm -f conftest*
14994 CXXFLAGS=$ac_save_CXXFLAGS
14995 ac_ext=c
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15000
15001
15002 fi
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15004 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15005 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15006 fi
15007
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15009 $as_echo_n "checking for enabled PCH... " >&6; }
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15011 $as_echo "$enable_libstdcxx_pch" >&6; }
15012
15013
15014 if test $enable_libstdcxx_pch = yes; then
15015 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15016 else
15017 glibcxx_PCHFLAGS=""
15018 fi
15019
15020
15021
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15023 $as_echo_n "checking for thread model used by GCC... " >&6; }
15024 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15026 $as_echo "$target_thread_file" >&6; }
15027
15028 if test $target_thread_file != single; then
15029
15030 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15031
15032 fi
15033
15034 glibcxx_thread_h=gthr-$target_thread_file.h
15035
15036 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15037 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15038 enable_thread=yes
15039 else
15040 enable_thread=no
15041 fi
15042
15043
15044
15045
15046
15047 ac_ext=cpp
15048 ac_cpp='$CXXCPP $CPPFLAGS'
15049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15052
15053 old_CXXFLAGS="$CXXFLAGS"
15054
15055 # Compile unoptimized.
15056 CXXFLAGS='-O0 -S'
15057
15058 # Fake what AC_TRY_COMPILE does, without linking as this is
15059 # unnecessary for a builtins test.
15060
15061 cat > conftest.$ac_ext << EOF
15062 #line 15062 "configure"
15063 int main()
15064 {
15065 typedef bool atomic_type;
15066 atomic_type c1;
15067 atomic_type c2;
15068 const atomic_type c3(0);
15069 __sync_fetch_and_add(&c1, c2);
15070 __sync_val_compare_and_swap(&c1, c3, c2);
15071 __sync_lock_test_and_set(&c1, c3);
15072 __sync_lock_release(&c1);
15073 __sync_synchronize();
15074 return 0;
15075 }
15076 EOF
15077
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15079 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15081 (eval $ac_compile) 2>&5
15082 ac_status=$?
15083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15084 test $ac_status = 0; }; then
15085 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15086 enable_atomic_builtinsb=no
15087 else
15088
15089 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15090
15091 enable_atomic_builtinsb=yes
15092 fi
15093 fi
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsb" >&5
15095 $as_echo "$enable_atomic_builtinsb" >&6; }
15096 rm -f conftest*
15097
15098 cat > conftest.$ac_ext << EOF
15099 #line 15099 "configure"
15100 int main()
15101 {
15102 typedef short atomic_type;
15103 atomic_type c1;
15104 atomic_type c2;
15105 const atomic_type c3(0);
15106 __sync_fetch_and_add(&c1, c2);
15107 __sync_val_compare_and_swap(&c1, c3, c2);
15108 __sync_lock_test_and_set(&c1, c3);
15109 __sync_lock_release(&c1);
15110 __sync_synchronize();
15111 return 0;
15112 }
15113 EOF
15114
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15116 $as_echo_n "checking for atomic builtins for short... " >&6; }
15117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15118 (eval $ac_compile) 2>&5
15119 ac_status=$?
15120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15121 test $ac_status = 0; }; then
15122 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15123 enable_atomic_builtinss=no
15124 else
15125
15126 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15127
15128 enable_atomic_builtinss=yes
15129 fi
15130 fi
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinss" >&5
15132 $as_echo "$enable_atomic_builtinss" >&6; }
15133 rm -f conftest*
15134
15135 cat > conftest.$ac_ext << EOF
15136 #line 15136 "configure"
15137 int main()
15138 {
15139 // NB: _Atomic_word not necessarily int.
15140 typedef int atomic_type;
15141 atomic_type c1;
15142 atomic_type c2;
15143 const atomic_type c3(0);
15144 __sync_fetch_and_add(&c1, c2);
15145 __sync_val_compare_and_swap(&c1, c3, c2);
15146 __sync_lock_test_and_set(&c1, c3);
15147 __sync_lock_release(&c1);
15148 __sync_synchronize();
15149 return 0;
15150 }
15151 EOF
15152
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15154 $as_echo_n "checking for atomic builtins for int... " >&6; }
15155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15156 (eval $ac_compile) 2>&5
15157 ac_status=$?
15158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15159 test $ac_status = 0; }; then
15160 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15161 enable_atomic_builtinsi=no
15162 else
15163
15164 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15165
15166 enable_atomic_builtinsi=yes
15167 fi
15168 fi
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsi" >&5
15170 $as_echo "$enable_atomic_builtinsi" >&6; }
15171 rm -f conftest*
15172
15173 cat > conftest.$ac_ext << EOF
15174 #line 15174 "configure"
15175 int main()
15176 {
15177 typedef long long atomic_type;
15178 atomic_type c1;
15179 atomic_type c2;
15180 const atomic_type c3(0);
15181 __sync_fetch_and_add(&c1, c2);
15182 __sync_val_compare_and_swap(&c1, c3, c2);
15183 __sync_lock_test_and_set(&c1, c3);
15184 __sync_lock_release(&c1);
15185 __sync_synchronize();
15186 return 0;
15187 }
15188 EOF
15189
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15191 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15193 (eval $ac_compile) 2>&5
15194 ac_status=$?
15195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15196 test $ac_status = 0; }; then
15197 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15198 enable_atomic_builtinsll=no
15199 else
15200
15201 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15202
15203 enable_atomic_builtinsll=yes
15204 fi
15205 fi
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsll" >&5
15207 $as_echo "$enable_atomic_builtinsll" >&6; }
15208 rm -f conftest*
15209
15210
15211 CXXFLAGS="$old_CXXFLAGS"
15212 ac_ext=c
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15217
15218
15219 # Set atomicity_dir to builtins if either of above tests pass.
15220 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
15221 atomicity_dir=cpu/generic/atomicity_builtins
15222 fi
15223
15224 # If still generic, set to mutex.
15225 if test $atomicity_dir = "cpu/generic" ; then
15226 atomicity_dir=cpu/generic/atomicity_mutex
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15228 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15229 if test "x$target_thread_file" = xsingle; then
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15231 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15233 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15234 else
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15236 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15238 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15239 fi
15240 fi
15241
15242
15243
15244
15245 # Fake what AC_TRY_COMPILE does, without linking as this is
15246 # unnecessary for this test.
15247
15248 cat > conftest.$ac_ext << EOF
15249 #line 15249 "configure"
15250 int main()
15251 {
15252 _Decimal32 d1;
15253 _Decimal64 d2;
15254 _Decimal128 d3;
15255 return 0;
15256 }
15257 EOF
15258
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15260 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15262 (eval $ac_compile) 2>&5
15263 ac_status=$?
15264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15265 test $ac_status = 0; }; then
15266
15267 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15268
15269 enable_dfp=yes
15270 else
15271 enable_dfp=no
15272 fi
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15274 $as_echo "$enable_dfp" >&6; }
15275 rm -f conftest*
15276
15277
15278 # Checks for compiler support that doesn't require linking.
15279
15280 # All these tests are for C++; save the language and the compiler flags.
15281 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15282 # found in GLIBCXX_CONFIGURE.
15283
15284 ac_ext=cpp
15285 ac_cpp='$CXXCPP $CPPFLAGS'
15286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15289
15290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15291 ac_save_CXXFLAGS="$CXXFLAGS"
15292
15293 # Check for maintainer-mode bits.
15294 if test x"$USE_MAINTAINER_MODE" = xno; then
15295 WERROR=''
15296 else
15297 WERROR='-Werror'
15298 fi
15299
15300 # Check for -ffunction-sections -fdata-sections
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15302 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15303 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306 int foo; void bar() { };
15307 int
15308 main ()
15309 {
15310
15311 ;
15312 return 0;
15313 }
15314 _ACEOF
15315 if ac_fn_cxx_try_compile "$LINENO"; then :
15316 ac_fdsections=yes
15317 else
15318 ac_fdsections=no
15319 fi
15320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 if test "$ac_test_CXXFLAGS" = set; then
15322 CXXFLAGS="$ac_save_CXXFLAGS"
15323 else
15324 # this is the suspicious part
15325 CXXFLAGS=''
15326 fi
15327 if test x"$ac_fdsections" = x"yes"; then
15328 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15329 fi
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15331 $as_echo "$ac_fdsections" >&6; }
15332
15333 ac_ext=c
15334 ac_cpp='$CPP $CPPFLAGS'
15335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15338
15339
15340
15341
15342
15343 # Enable all the variable C++ runtime options that don't require linking.
15344
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15346 $as_echo_n "checking for underlying I/O to use... " >&6; }
15347 # Check whether --enable-cstdio was given.
15348 if test "${enable_cstdio+set}" = set; then :
15349 enableval=$enable_cstdio;
15350 case "$enableval" in
15351 stdio) ;;
15352 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15353 esac
15354
15355 else
15356 enable_cstdio=stdio
15357 fi
15358
15359
15360
15361 # Now that libio has been removed, you can have any color you want as long
15362 # as it's black. This is one big no-op until other packages are added, but
15363 # showing the framework never hurts.
15364 case ${enable_cstdio} in
15365 stdio)
15366 CSTDIO_H=config/io/c_io_stdio.h
15367 BASIC_FILE_H=config/io/basic_file_stdio.h
15368 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15370 $as_echo "stdio" >&6; }
15371 ;;
15372 esac
15373
15374
15375
15376
15377
15378
15379 # Check whether --enable-clocale was given.
15380 if test "${enable_clocale+set}" = set; then :
15381 enableval=$enable_clocale;
15382 case "$enableval" in
15383 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15384 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15385 esac
15386
15387 else
15388 enable_clocale=auto
15389 fi
15390
15391
15392
15393 # Deal with gettext issues. Default to not using it (=no) until we detect
15394 # support for it later. Let the user turn it off via --e/d, but let that
15395 # default to on for easier handling.
15396 USE_NLS=no
15397 # Check whether --enable-nls was given.
15398 if test "${enable_nls+set}" = set; then :
15399 enableval=$enable_nls;
15400 else
15401 enable_nls=yes
15402 fi
15403
15404
15405 # Either a known packaage, or "auto"
15406 if test $enable_clocale = no || test $enable_clocale = yes; then
15407 enable_clocale=auto
15408 fi
15409 enable_clocale_flag=$enable_clocale
15410
15411 # Probe for locale model to use if none specified.
15412 # Default to "generic".
15413 if test $enable_clocale_flag = auto; then
15414 case ${target_os} in
15415 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15416 enable_clocale_flag=gnu
15417 ;;
15418 darwin* | freebsd*)
15419 enable_clocale_flag=darwin
15420 ;;
15421 *)
15422 enable_clocale_flag=generic
15423 ;;
15424 esac
15425 fi
15426
15427 # Sanity check model, and test for special functionality.
15428 if test $enable_clocale_flag = gnu; then
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15431
15432 #include <features.h>
15433 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15434 _GLIBCXX_ok
15435 #endif
15436
15437 _ACEOF
15438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15439 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15440 enable_clocale_flag=gnu
15441 else
15442 enable_clocale_flag=generic
15443 fi
15444 rm -f conftest*
15445
15446
15447 if test $enable_clocale = auto; then
15448 # Test for bugs early in glibc-2.2.x series
15449 if test "$cross_compiling" = yes; then :
15450 enable_clocale_flag=generic
15451 else
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15454
15455 #define _GNU_SOURCE 1
15456 #include <locale.h>
15457 #include <string.h>
15458 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15459 extern __typeof(newlocale) __newlocale;
15460 extern __typeof(duplocale) __duplocale;
15461 extern __typeof(strcoll_l) __strcoll_l;
15462 #endif
15463 int main()
15464 {
15465 const char __one[] = "Äuglein Augmen";
15466 const char __two[] = "Äuglein";
15467 int i;
15468 int j;
15469 __locale_t loc;
15470 __locale_t loc_dup;
15471 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15472 loc_dup = __duplocale(loc);
15473 i = __strcoll_l(__one, __two, loc);
15474 j = __strcoll_l(__one, __two, loc_dup);
15475 return 0;
15476 }
15477
15478 _ACEOF
15479 if ac_fn_c_try_run "$LINENO"; then :
15480 enable_clocale_flag=gnu
15481 else
15482 enable_clocale_flag=generic
15483 fi
15484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15485 conftest.$ac_objext conftest.beam conftest.$ac_ext
15486 fi
15487
15488 fi
15489
15490 # Set it to scream when it hurts.
15491 ac_save_CFLAGS="$CFLAGS"
15492 CFLAGS="-Wimplicit-function-declaration -Werror"
15493
15494 # Use strxfrm_l if available.
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15497 #define _GNU_SOURCE 1
15498 #include <string.h>
15499 #include <locale.h>
15500 int
15501 main ()
15502 {
15503 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15504 ;
15505 return 0;
15506 }
15507 _ACEOF
15508 if ac_fn_c_try_compile "$LINENO"; then :
15509
15510 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15511
15512 fi
15513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15514
15515 # Use strerror_l if available.
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15518 #define _GNU_SOURCE 1
15519 #include <string.h>
15520 #include <locale.h>
15521 int
15522 main ()
15523 {
15524 __locale_t loc; strerror_l(5, loc);
15525 ;
15526 return 0;
15527 }
15528 _ACEOF
15529 if ac_fn_c_try_compile "$LINENO"; then :
15530
15531 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15532
15533 fi
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535
15536 CFLAGS="$ac_save_CFLAGS"
15537 fi
15538
15539 # Perhaps use strerror_r if available, and strerror_l isn't.
15540 ac_save_CFLAGS="$CFLAGS"
15541 CFLAGS="-Wimplicit-function-declaration -Werror"
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15544 #define _GNU_SOURCE 1
15545 #include <string.h>
15546 #include <locale.h>
15547 int
15548 main ()
15549 {
15550 char s[128]; strerror_r(5, s, 128);
15551 ;
15552 return 0;
15553 }
15554 _ACEOF
15555 if ac_fn_c_try_compile "$LINENO"; then :
15556
15557 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15558
15559 fi
15560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15561 CFLAGS="$ac_save_CFLAGS"
15562
15563 # Set configure bits for specified locale package
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15565 $as_echo_n "checking for C locale to use... " >&6; }
15566 case ${enable_clocale_flag} in
15567 generic)
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15569 $as_echo "generic" >&6; }
15570
15571 CLOCALE_H=config/locale/generic/c_locale.h
15572 CLOCALE_CC=config/locale/generic/c_locale.cc
15573 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15574 CCOLLATE_CC=config/locale/generic/collate_members.cc
15575 CCTYPE_CC=config/locale/generic/ctype_members.cc
15576 CMESSAGES_H=config/locale/generic/messages_members.h
15577 CMESSAGES_CC=config/locale/generic/messages_members.cc
15578 CMONEY_CC=config/locale/generic/monetary_members.cc
15579 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15580 CTIME_H=config/locale/generic/time_members.h
15581 CTIME_CC=config/locale/generic/time_members.cc
15582 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15583 ;;
15584 darwin)
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15586 $as_echo "darwin or freebsd" >&6; }
15587
15588 CLOCALE_H=config/locale/generic/c_locale.h
15589 CLOCALE_CC=config/locale/generic/c_locale.cc
15590 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15591 CCOLLATE_CC=config/locale/generic/collate_members.cc
15592 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15593 CMESSAGES_H=config/locale/generic/messages_members.h
15594 CMESSAGES_CC=config/locale/generic/messages_members.cc
15595 CMONEY_CC=config/locale/generic/monetary_members.cc
15596 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15597 CTIME_H=config/locale/generic/time_members.h
15598 CTIME_CC=config/locale/generic/time_members.cc
15599 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15600 ;;
15601
15602 gnu)
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15604 $as_echo "gnu" >&6; }
15605
15606 # Declare intention to use gettext, and add support for specific
15607 # languages.
15608 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15609 ALL_LINGUAS="de fr"
15610
15611 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15612 # Extract the first word of "msgfmt", so it can be a program name with args.
15613 set dummy msgfmt; ac_word=$2
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15615 $as_echo_n "checking for $ac_word... " >&6; }
15616 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15617 $as_echo_n "(cached) " >&6
15618 else
15619 if test -n "$check_msgfmt"; then
15620 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15621 else
15622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15623 for as_dir in $PATH
15624 do
15625 IFS=$as_save_IFS
15626 test -z "$as_dir" && as_dir=.
15627 for ac_exec_ext in '' $ac_executable_extensions; do
15628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15629 ac_cv_prog_check_msgfmt="yes"
15630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15631 break 2
15632 fi
15633 done
15634 done
15635 IFS=$as_save_IFS
15636
15637 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15638 fi
15639 fi
15640 check_msgfmt=$ac_cv_prog_check_msgfmt
15641 if test -n "$check_msgfmt"; then
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15643 $as_echo "$check_msgfmt" >&6; }
15644 else
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15646 $as_echo "no" >&6; }
15647 fi
15648
15649
15650 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15651 USE_NLS=yes
15652 fi
15653 # Export the build objects.
15654 for ling in $ALL_LINGUAS; do \
15655 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15656 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15657 done
15658
15659
15660
15661 CLOCALE_H=config/locale/gnu/c_locale.h
15662 CLOCALE_CC=config/locale/gnu/c_locale.cc
15663 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15664 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15665 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15666 CMESSAGES_H=config/locale/gnu/messages_members.h
15667 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15668 CMONEY_CC=config/locale/gnu/monetary_members.cc
15669 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15670 CTIME_H=config/locale/gnu/time_members.h
15671 CTIME_CC=config/locale/gnu/time_members.cc
15672 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15673 ;;
15674 ieee_1003.1-2001)
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15676 $as_echo "IEEE 1003.1" >&6; }
15677
15678 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15679 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15680 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15681 CCOLLATE_CC=config/locale/generic/collate_members.cc
15682 CCTYPE_CC=config/locale/generic/ctype_members.cc
15683 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15684 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15685 CMONEY_CC=config/locale/generic/monetary_members.cc
15686 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15687 CTIME_H=config/locale/generic/time_members.h
15688 CTIME_CC=config/locale/generic/time_members.cc
15689 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15690 ;;
15691 esac
15692
15693 # This is where the testsuite looks for locale catalogs, using the
15694 # -DLOCALEDIR define during testsuite compilation.
15695 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15696
15697
15698 # A standalone libintl (e.g., GNU libintl) may be in use.
15699 if test $USE_NLS = yes; then
15700 for ac_header in libintl.h
15701 do :
15702 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15703 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_LIBINTL_H 1
15706 _ACEOF
15707
15708 else
15709 USE_NLS=no
15710 fi
15711
15712 done
15713
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15715 $as_echo_n "checking for library containing gettext... " >&6; }
15716 if test "${ac_cv_search_gettext+set}" = set; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 ac_func_search_save_LIBS=$LIBS
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char gettext ();
15730 int
15731 main ()
15732 {
15733 return gettext ();
15734 ;
15735 return 0;
15736 }
15737 _ACEOF
15738 for ac_lib in '' intl; do
15739 if test -z "$ac_lib"; then
15740 ac_res="none required"
15741 else
15742 ac_res=-l$ac_lib
15743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15744 fi
15745 if test x$gcc_no_link = xyes; then
15746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15747 fi
15748 if ac_fn_c_try_link "$LINENO"; then :
15749 ac_cv_search_gettext=$ac_res
15750 fi
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext
15753 if test "${ac_cv_search_gettext+set}" = set; then :
15754 break
15755 fi
15756 done
15757 if test "${ac_cv_search_gettext+set}" = set; then :
15758
15759 else
15760 ac_cv_search_gettext=no
15761 fi
15762 rm conftest.$ac_ext
15763 LIBS=$ac_func_search_save_LIBS
15764 fi
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15766 $as_echo "$ac_cv_search_gettext" >&6; }
15767 ac_res=$ac_cv_search_gettext
15768 if test "$ac_res" != no; then :
15769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15770
15771 else
15772 USE_NLS=no
15773 fi
15774
15775 fi
15776 if test $USE_NLS = yes; then
15777
15778 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15779
15780 fi
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15798 $as_echo_n "checking for std::allocator base class... " >&6; }
15799 # Check whether --enable-libstdcxx-allocator was given.
15800 if test "${enable_libstdcxx_allocator+set}" = set; then :
15801 enableval=$enable_libstdcxx_allocator;
15802 case "$enableval" in
15803 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15804 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15805 esac
15806
15807 else
15808 enable_libstdcxx_allocator=auto
15809 fi
15810
15811
15812
15813 # If they didn't use this option switch, or if they specified --enable
15814 # with no specific model, we'll have to look for one. If they
15815 # specified --disable (???), do likewise.
15816 if test $enable_libstdcxx_allocator = no ||
15817 test $enable_libstdcxx_allocator = yes;
15818 then
15819 enable_libstdcxx_allocator=auto
15820 fi
15821
15822 # Either a known package, or "auto". Auto implies the default choice
15823 # for a particular platform.
15824 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15825
15826 # Probe for host-specific support if no specific model is specified.
15827 # Default to "new".
15828 if test $enable_libstdcxx_allocator_flag = auto; then
15829 case ${target_os} in
15830 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15831 enable_libstdcxx_allocator_flag=new
15832 ;;
15833 *)
15834 enable_libstdcxx_allocator_flag=new
15835 ;;
15836 esac
15837 fi
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15839 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15840
15841
15842 # Set configure bits for specified locale package
15843 case ${enable_libstdcxx_allocator_flag} in
15844 bitmap)
15845 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15846 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15847 ;;
15848 malloc)
15849 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15850 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15851 ;;
15852 mt)
15853 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15854 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15855 ;;
15856 new)
15857 ALLOCATOR_H=config/allocator/new_allocator_base.h
15858 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15859 ;;
15860 pool)
15861 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15862 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15863 ;;
15864 esac
15865
15866
15867
15868
15869
15870 # Check whether --enable-cheaders was given.
15871 if test "${enable_cheaders+set}" = set; then :
15872 enableval=$enable_cheaders;
15873 case "$enableval" in
15874 c|c_std|c_global) ;;
15875 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
15876 esac
15877
15878 else
15879 enable_cheaders=$c_model
15880 fi
15881
15882
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
15884 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15885
15886 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15887
15888 # Allow overrides to configure.host here.
15889 if test $enable_cheaders = c_global; then
15890 c_compatibility=yes
15891 fi
15892
15893 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15894 c_extra=yes
15895 fi
15896
15897
15898
15899
15900
15901
15902
15903
15904 # Check whether --enable-long-long was given.
15905 if test "${enable_long_long+set}" = set; then :
15906 enableval=$enable_long_long;
15907 case "$enableval" in
15908 yes|no) ;;
15909 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
15910 esac
15911
15912 else
15913 enable_long_long=yes
15914 fi
15915
15916
15917 if test $enable_long_long = yes; then
15918
15919 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
15920
15921 fi
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
15923 $as_echo_n "checking for enabled long long specializations... " >&6; }
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
15925 $as_echo "$enable_long_long" >&6; }
15926
15927
15928 # Check whether --enable-wchar_t was given.
15929 if test "${enable_wchar_t+set}" = set; then :
15930 enableval=$enable_wchar_t;
15931 case "$enableval" in
15932 yes|no) ;;
15933 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
15934 esac
15935
15936 else
15937 enable_wchar_t=yes
15938 fi
15939
15940
15941
15942 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15943 for ac_header in wchar.h
15944 do :
15945 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
15946 if test "x$ac_cv_header_wchar_h" = x""yes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_WCHAR_H 1
15949 _ACEOF
15950 ac_has_wchar_h=yes
15951 else
15952 ac_has_wchar_h=no
15953 fi
15954
15955 done
15956
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
15958 $as_echo_n "checking for mbstate_t... " >&6; }
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 #include <wchar.h>
15962 int
15963 main ()
15964 {
15965 mbstate_t teststate;
15966 ;
15967 return 0;
15968 }
15969 _ACEOF
15970 if ac_fn_c_try_compile "$LINENO"; then :
15971 have_mbstate_t=yes
15972 else
15973 have_mbstate_t=no
15974 fi
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
15977 $as_echo "$have_mbstate_t" >&6; }
15978 if test x"$have_mbstate_t" = xyes; then
15979
15980 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
15981
15982 fi
15983
15984 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15985 # ac_has_wchar_h.
15986 for ac_header in wctype.h
15987 do :
15988 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
15989 if test "x$ac_cv_header_wctype_h" = x""yes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_WCTYPE_H 1
15992 _ACEOF
15993 ac_has_wctype_h=yes
15994 else
15995 ac_has_wctype_h=no
15996 fi
15997
15998 done
15999
16000
16001 if test x"$enable_wchar_t" = x"yes"; then
16002
16003
16004 ac_ext=cpp
16005 ac_cpp='$CXXCPP $CPPFLAGS'
16006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16009
16010
16011 if test x"$ac_has_wchar_h" = xyes &&
16012 test x"$ac_has_wctype_h" = xyes; then
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16015 #include <wchar.h>
16016 #include <stddef.h>
16017 wint_t i;
16018 long l = WEOF;
16019 long j = WCHAR_MIN;
16020 long k = WCHAR_MAX;
16021 namespace test
16022 {
16023 using ::btowc;
16024 using ::fgetwc;
16025 using ::fgetws;
16026 using ::fputwc;
16027 using ::fputws;
16028 using ::fwide;
16029 using ::fwprintf;
16030 using ::fwscanf;
16031 using ::getwc;
16032 using ::getwchar;
16033 using ::mbrlen;
16034 using ::mbrtowc;
16035 using ::mbsinit;
16036 using ::mbsrtowcs;
16037 using ::putwc;
16038 using ::putwchar;
16039 using ::swprintf;
16040 using ::swscanf;
16041 using ::ungetwc;
16042 using ::vfwprintf;
16043 using ::vswprintf;
16044 using ::vwprintf;
16045 using ::wcrtomb;
16046 using ::wcscat;
16047 using ::wcschr;
16048 using ::wcscmp;
16049 using ::wcscoll;
16050 using ::wcscpy;
16051 using ::wcscspn;
16052 using ::wcsftime;
16053 using ::wcslen;
16054 using ::wcsncat;
16055 using ::wcsncmp;
16056 using ::wcsncpy;
16057 using ::wcspbrk;
16058 using ::wcsrchr;
16059 using ::wcsrtombs;
16060 using ::wcsspn;
16061 using ::wcsstr;
16062 using ::wcstod;
16063 using ::wcstok;
16064 using ::wcstol;
16065 using ::wcstoul;
16066 using ::wcsxfrm;
16067 using ::wctob;
16068 using ::wmemchr;
16069 using ::wmemcmp;
16070 using ::wmemcpy;
16071 using ::wmemmove;
16072 using ::wmemset;
16073 using ::wprintf;
16074 using ::wscanf;
16075 }
16076
16077 int
16078 main ()
16079 {
16080
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 if ac_fn_cxx_try_compile "$LINENO"; then :
16086
16087 else
16088 enable_wchar_t=no
16089 fi
16090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16091 else
16092 enable_wchar_t=no
16093 fi
16094
16095 ac_ext=c
16096 ac_cpp='$CPP $CPPFLAGS'
16097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16100
16101 fi
16102
16103 if test x"$enable_wchar_t" = x"yes"; then
16104
16105 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16106
16107 fi
16108
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16110 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16112 $as_echo "$enable_wchar_t" >&6; }
16113
16114
16115
16116 # Check whether --enable-c99 was given.
16117 if test "${enable_c99+set}" = set; then :
16118 enableval=$enable_c99;
16119 case "$enableval" in
16120 yes|no) ;;
16121 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16122 esac
16123
16124 else
16125 enable_c99=yes
16126 fi
16127
16128
16129
16130 if test x"$enable_c99" = x"yes"; then
16131
16132
16133 ac_ext=cpp
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16138
16139
16140 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16141 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16142 # spuriously enabled.
16143 # Long term, -std=c++0x could be even better, could manage to explicitely
16144 # request C99 facilities to the underlying C headers.
16145 ac_save_CXXFLAGS="$CXXFLAGS"
16146 CXXFLAGS="$CXXFLAGS -std=c++98"
16147 ac_save_LIBS="$LIBS"
16148 ac_save_gcc_no_link="$gcc_no_link"
16149
16150 if test x$gcc_no_link != xyes; then
16151 # Use -fno-exceptions to that the C driver can link these tests without
16152 # hitting undefined references to personality routines.
16153 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16155 $as_echo_n "checking for sin in -lm... " >&6; }
16156 if test "${ac_cv_lib_m_sin+set}" = set; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 ac_check_lib_save_LIBS=$LIBS
16160 LIBS="-lm $LIBS"
16161 if test x$gcc_no_link = xyes; then
16162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16163 fi
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16166
16167 /* Override any GCC internal prototype to avoid an error.
16168 Use char because int might match the return type of a GCC
16169 builtin and then its argument prototype would still apply. */
16170 #ifdef __cplusplus
16171 extern "C"
16172 #endif
16173 char sin ();
16174 int
16175 main ()
16176 {
16177 return sin ();
16178 ;
16179 return 0;
16180 }
16181 _ACEOF
16182 if ac_fn_cxx_try_link "$LINENO"; then :
16183 ac_cv_lib_m_sin=yes
16184 else
16185 ac_cv_lib_m_sin=no
16186 fi
16187 rm -f core conftest.err conftest.$ac_objext \
16188 conftest$ac_exeext conftest.$ac_ext
16189 LIBS=$ac_check_lib_save_LIBS
16190 fi
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16192 $as_echo "$ac_cv_lib_m_sin" >&6; }
16193 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16194
16195 LIBS="$LIBS -lm"
16196
16197 else
16198
16199 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16200 gcc_no_link=yes
16201
16202 fi
16203
16204 fi
16205
16206 # Check for the existence of <math.h> functions used if C99 is enabled.
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16208 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16209 if test "${glibcxx_cv_c99_math+set}" = set; then :
16210 $as_echo_n "(cached) " >&6
16211 else
16212
16213 if test x$gcc_no_link = xyes; then
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #include <math.h>
16217 volatile double d1, d2;
16218 volatile int i;
16219 int
16220 main ()
16221 {
16222 i = fpclassify(d1);
16223 i = isfinite(d1);
16224 i = isinf(d1);
16225 i = isnan(d1);
16226 i = isnormal(d1);
16227 i = signbit(d1);
16228 i = isgreater(d1, d2);
16229 i = isgreaterequal(d1, d2);
16230 i = isless(d1, d2);
16231 i = islessequal(d1, d2);
16232 i = islessgreater(d1, d2);
16233 i = islessgreater(d1, d2);
16234 i = isunordered(d1, d2);
16235
16236 ;
16237 return 0;
16238 }
16239 _ACEOF
16240 if ac_fn_cxx_try_compile "$LINENO"; then :
16241 glibcxx_cv_c99_math=yes
16242 else
16243 glibcxx_cv_c99_math=no
16244 fi
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246 else
16247 if test x$gcc_no_link = xyes; then
16248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16249 fi
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 #include <math.h>
16253 volatile double d1, d2;
16254 volatile int i;
16255 int
16256 main ()
16257 {
16258 i = fpclassify(d1);
16259 i = isfinite(d1);
16260 i = isinf(d1);
16261 i = isnan(d1);
16262 i = isnormal(d1);
16263 i = signbit(d1);
16264 i = isgreater(d1, d2);
16265 i = isgreaterequal(d1, d2);
16266 i = isless(d1, d2);
16267 i = islessequal(d1, d2);
16268 i = islessgreater(d1, d2);
16269 i = islessgreater(d1, d2);
16270 i = isunordered(d1, d2);
16271
16272 ;
16273 return 0;
16274 }
16275 _ACEOF
16276 if ac_fn_cxx_try_link "$LINENO"; then :
16277 glibcxx_cv_c99_math=yes
16278 else
16279 glibcxx_cv_c99_math=no
16280 fi
16281 rm -f core conftest.err conftest.$ac_objext \
16282 conftest$ac_exeext conftest.$ac_ext
16283 fi
16284
16285 fi
16286
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16288 $as_echo "$glibcxx_cv_c99_math" >&6; }
16289 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16290
16291 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16292
16293 fi
16294
16295 # Check for the existence of <complex.h> complex math functions.
16296 # This is necessary even though libstdc++ uses the builtin versions
16297 # of these functions, because if the builtin cannot be used, a reference
16298 # to the library function is emitted.
16299 for ac_header in tgmath.h
16300 do :
16301 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16302 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_TGMATH_H 1
16305 _ACEOF
16306 ac_has_tgmath_h=yes
16307 else
16308 ac_has_tgmath_h=no
16309 fi
16310
16311 done
16312
16313 for ac_header in complex.h
16314 do :
16315 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_complex_h" = x""yes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_COMPLEX_H 1
16319 _ACEOF
16320 ac_has_complex_h=yes
16321 else
16322 ac_has_complex_h=no
16323 fi
16324
16325 done
16326
16327 glibcxx_cv_c99_complex=no;
16328 if test x"$ac_has_complex_h" = x"yes"; then
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16330 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16331 if test x$gcc_no_link = xyes; then
16332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16333 /* end confdefs.h. */
16334 #include <complex.h>
16335 typedef __complex__ float float_type;
16336 typedef __complex__ double double_type;
16337 typedef __complex__ long double ld_type;
16338 volatile float_type tmpf;
16339 volatile double_type tmpd;
16340 volatile ld_type tmpld;
16341 volatile float f;
16342 volatile double d;
16343 volatile long double ld;
16344 int
16345 main ()
16346 {
16347 f = cabsf(tmpf);
16348 f = cargf(tmpf);
16349 tmpf = ccosf(tmpf);
16350 tmpf = ccoshf(tmpf);
16351 tmpf = cexpf(tmpf);
16352 tmpf = clogf(tmpf);
16353 tmpf = csinf(tmpf);
16354 tmpf = csinhf(tmpf);
16355 tmpf = csqrtf(tmpf);
16356 tmpf = ctanf(tmpf);
16357 tmpf = ctanhf(tmpf);
16358 tmpf = cpowf(tmpf, tmpf);
16359 tmpf = cprojf(tmpf);
16360 d = cabs(tmpd);
16361 d = carg(tmpd);
16362 tmpd = ccos(tmpd);
16363 tmpd = ccosh(tmpd);
16364 tmpd = cexp(tmpd);
16365 tmpd = clog(tmpd);
16366 tmpd = csin(tmpd);
16367 tmpd = csinh(tmpd);
16368 tmpd = csqrt(tmpd);
16369 tmpd = ctan(tmpd);
16370 tmpd = ctanh(tmpd);
16371 tmpd = cpow(tmpd, tmpd);
16372 tmpd = cproj(tmpd);
16373 ld = cabsl(tmpld);
16374 ld = cargl(tmpld);
16375 tmpld = ccosl(tmpld);
16376 tmpld = ccoshl(tmpld);
16377 tmpld = cexpl(tmpld);
16378 tmpld = clogl(tmpld);
16379 tmpld = csinl(tmpld);
16380 tmpld = csinhl(tmpld);
16381 tmpld = csqrtl(tmpld);
16382 tmpld = ctanl(tmpld);
16383 tmpld = ctanhl(tmpld);
16384 tmpld = cpowl(tmpld, tmpld);
16385 tmpld = cprojl(tmpld);
16386
16387 ;
16388 return 0;
16389 }
16390 _ACEOF
16391 if ac_fn_cxx_try_compile "$LINENO"; then :
16392 glibcxx_cv_c99_complex=yes
16393 else
16394 glibcxx_cv_c99_complex=no
16395 fi
16396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16397 else
16398 if test x$gcc_no_link = xyes; then
16399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16400 fi
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16403 #include <complex.h>
16404 typedef __complex__ float float_type;
16405 typedef __complex__ double double_type;
16406 typedef __complex__ long double ld_type;
16407 volatile float_type tmpf;
16408 volatile double_type tmpd;
16409 volatile ld_type tmpld;
16410 volatile float f;
16411 volatile double d;
16412 volatile long double ld;
16413 int
16414 main ()
16415 {
16416 f = cabsf(tmpf);
16417 f = cargf(tmpf);
16418 tmpf = ccosf(tmpf);
16419 tmpf = ccoshf(tmpf);
16420 tmpf = cexpf(tmpf);
16421 tmpf = clogf(tmpf);
16422 tmpf = csinf(tmpf);
16423 tmpf = csinhf(tmpf);
16424 tmpf = csqrtf(tmpf);
16425 tmpf = ctanf(tmpf);
16426 tmpf = ctanhf(tmpf);
16427 tmpf = cpowf(tmpf, tmpf);
16428 tmpf = cprojf(tmpf);
16429 d = cabs(tmpd);
16430 d = carg(tmpd);
16431 tmpd = ccos(tmpd);
16432 tmpd = ccosh(tmpd);
16433 tmpd = cexp(tmpd);
16434 tmpd = clog(tmpd);
16435 tmpd = csin(tmpd);
16436 tmpd = csinh(tmpd);
16437 tmpd = csqrt(tmpd);
16438 tmpd = ctan(tmpd);
16439 tmpd = ctanh(tmpd);
16440 tmpd = cpow(tmpd, tmpd);
16441 tmpd = cproj(tmpd);
16442 ld = cabsl(tmpld);
16443 ld = cargl(tmpld);
16444 tmpld = ccosl(tmpld);
16445 tmpld = ccoshl(tmpld);
16446 tmpld = cexpl(tmpld);
16447 tmpld = clogl(tmpld);
16448 tmpld = csinl(tmpld);
16449 tmpld = csinhl(tmpld);
16450 tmpld = csqrtl(tmpld);
16451 tmpld = ctanl(tmpld);
16452 tmpld = ctanhl(tmpld);
16453 tmpld = cpowl(tmpld, tmpld);
16454 tmpld = cprojl(tmpld);
16455
16456 ;
16457 return 0;
16458 }
16459 _ACEOF
16460 if ac_fn_cxx_try_link "$LINENO"; then :
16461 glibcxx_cv_c99_complex=yes
16462 else
16463 glibcxx_cv_c99_complex=no
16464 fi
16465 rm -f core conftest.err conftest.$ac_objext \
16466 conftest$ac_exeext conftest.$ac_ext
16467 fi
16468 fi
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16470 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16471 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16472
16473 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16474
16475 fi
16476
16477 # Check for the existence in <stdio.h> of vscanf, et. al.
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16479 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16480 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483
16484 if test x$gcc_no_link = xyes; then
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16487 #include <stdio.h>
16488 #include <stdarg.h>
16489 void foo(char* fmt, ...)
16490 {
16491 va_list args; va_start(args, fmt);
16492 vfscanf(stderr, "%i", args);
16493 vscanf("%i", args);
16494 vsnprintf(fmt, 0, "%i", args);
16495 vsscanf(fmt, "%i", args);
16496 }
16497 int
16498 main ()
16499 {
16500 snprintf("12", 0, "%i");
16501 ;
16502 return 0;
16503 }
16504 _ACEOF
16505 if ac_fn_cxx_try_compile "$LINENO"; then :
16506 glibcxx_cv_c99_stdio=yes
16507 else
16508 glibcxx_cv_c99_stdio=no
16509 fi
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511 else
16512 if test x$gcc_no_link = xyes; then
16513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16514 fi
16515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16517 #include <stdio.h>
16518 #include <stdarg.h>
16519 void foo(char* fmt, ...)
16520 {
16521 va_list args; va_start(args, fmt);
16522 vfscanf(stderr, "%i", args);
16523 vscanf("%i", args);
16524 vsnprintf(fmt, 0, "%i", args);
16525 vsscanf(fmt, "%i", args);
16526 }
16527 int
16528 main ()
16529 {
16530 snprintf("12", 0, "%i");
16531 ;
16532 return 0;
16533 }
16534 _ACEOF
16535 if ac_fn_cxx_try_link "$LINENO"; then :
16536 glibcxx_cv_c99_stdio=yes
16537 else
16538 glibcxx_cv_c99_stdio=no
16539 fi
16540 rm -f core conftest.err conftest.$ac_objext \
16541 conftest$ac_exeext conftest.$ac_ext
16542 fi
16543
16544 fi
16545
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16547 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16548
16549 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16551 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16552 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16553 $as_echo_n "(cached) " >&6
16554 else
16555
16556 if test x$gcc_no_link = xyes; then
16557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16558 /* end confdefs.h. */
16559 #include <stdlib.h>
16560 volatile float f;
16561 volatile long double ld;
16562 volatile unsigned long long ll;
16563 lldiv_t mydivt;
16564 int
16565 main ()
16566 {
16567 char* tmp;
16568 f = strtof("gnu", &tmp);
16569 ld = strtold("gnu", &tmp);
16570 ll = strtoll("gnu", &tmp, 10);
16571 ll = strtoull("gnu", &tmp, 10);
16572 ll = llabs(10);
16573 mydivt = lldiv(10,1);
16574 ll = mydivt.quot;
16575 ll = mydivt.rem;
16576 ll = atoll("10");
16577 _Exit(0);
16578
16579 ;
16580 return 0;
16581 }
16582 _ACEOF
16583 if ac_fn_cxx_try_compile "$LINENO"; then :
16584 glibcxx_cv_c99_stdlib=yes
16585 else
16586 glibcxx_cv_c99_stdlib=no
16587 fi
16588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16589 else
16590 if test x$gcc_no_link = xyes; then
16591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16592 fi
16593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16595 #include <stdlib.h>
16596 volatile float f;
16597 volatile long double ld;
16598 volatile unsigned long long ll;
16599 lldiv_t mydivt;
16600 int
16601 main ()
16602 {
16603 char* tmp;
16604 f = strtof("gnu", &tmp);
16605 ld = strtold("gnu", &tmp);
16606 ll = strtoll("gnu", &tmp, 10);
16607 ll = strtoull("gnu", &tmp, 10);
16608 ll = llabs(10);
16609 mydivt = lldiv(10,1);
16610 ll = mydivt.quot;
16611 ll = mydivt.rem;
16612 ll = atoll("10");
16613 _Exit(0);
16614
16615 ;
16616 return 0;
16617 }
16618 _ACEOF
16619 if ac_fn_cxx_try_link "$LINENO"; then :
16620 glibcxx_cv_c99_stdlib=yes
16621 else
16622 glibcxx_cv_c99_stdlib=no
16623 fi
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 fi
16627
16628 fi
16629
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16631 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16632
16633 # Check for the existence in <wchar.h> of wcstold, etc.
16634 glibcxx_cv_c99_wchar=no;
16635 if test x"$ac_has_wchar_h" = xyes &&
16636 test x"$ac_has_wctype_h" = xyes; then
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16638 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 #include <wchar.h>
16642 namespace test
16643 {
16644 using ::wcstold;
16645 using ::wcstoll;
16646 using ::wcstoull;
16647 }
16648
16649 int
16650 main ()
16651 {
16652
16653 ;
16654 return 0;
16655 }
16656 _ACEOF
16657 if ac_fn_cxx_try_compile "$LINENO"; then :
16658 glibcxx_cv_c99_wchar=yes
16659 else
16660 glibcxx_cv_c99_wchar=no
16661 fi
16662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16663
16664 # Checks for wide character functions that may not be present.
16665 # Injection of these is wrapped with guard macros.
16666 # NB: only put functions here, instead of immediately above, if
16667 # absolutely necessary.
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #include <wchar.h>
16671 namespace test { using ::vfwscanf; }
16672 int
16673 main ()
16674 {
16675
16676 ;
16677 return 0;
16678 }
16679 _ACEOF
16680 if ac_fn_cxx_try_compile "$LINENO"; then :
16681
16682 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16683
16684 fi
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16686
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16689 #include <wchar.h>
16690 namespace test { using ::vswscanf; }
16691 int
16692 main ()
16693 {
16694
16695 ;
16696 return 0;
16697 }
16698 _ACEOF
16699 if ac_fn_cxx_try_compile "$LINENO"; then :
16700
16701 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16702
16703 fi
16704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16705
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 #include <wchar.h>
16709 namespace test { using ::vwscanf; }
16710 int
16711 main ()
16712 {
16713
16714 ;
16715 return 0;
16716 }
16717 _ACEOF
16718 if ac_fn_cxx_try_compile "$LINENO"; then :
16719
16720 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16721
16722 fi
16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16724
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16727 #include <wchar.h>
16728 namespace test { using ::wcstof; }
16729 int
16730 main ()
16731 {
16732
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
16737 if ac_fn_cxx_try_compile "$LINENO"; then :
16738
16739 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16740
16741 fi
16742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16743
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16746 #include <wctype.h>
16747 int
16748 main ()
16749 {
16750 wint_t t; int i = iswblank(t);
16751 ;
16752 return 0;
16753 }
16754 _ACEOF
16755 if ac_fn_cxx_try_compile "$LINENO"; then :
16756
16757 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16758
16759 fi
16760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16761
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16763 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16764 fi
16765
16766 # Option parsed, now set things appropriately.
16767 if test x"$glibcxx_cv_c99_math" = x"no" ||
16768 test x"$glibcxx_cv_c99_complex" = x"no" ||
16769 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16770 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16771 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16772 enable_c99=no;
16773 else
16774
16775 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16776
16777 fi
16778
16779 gcc_no_link="$ac_save_gcc_no_link"
16780 LIBS="$ac_save_LIBS"
16781 CXXFLAGS="$ac_save_CXXFLAGS"
16782 ac_ext=c
16783 ac_cpp='$CPP $CPPFLAGS'
16784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16787
16788 fi
16789
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16791 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16793 $as_echo "$enable_c99" >&6; }
16794
16795
16796 # Check whether --enable-concept-checks was given.
16797 if test "${enable_concept_checks+set}" = set; then :
16798 enableval=$enable_concept_checks;
16799 case "$enableval" in
16800 yes|no) ;;
16801 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16802 esac
16803
16804 else
16805 enable_concept_checks=no
16806 fi
16807
16808
16809 if test $enable_concept_checks = yes; then
16810
16811 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16812
16813 fi
16814
16815
16816 # Check whether --enable-libstdcxx-debug-flags was given.
16817 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16818 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16819 xno | x) enable_libstdcxx_debug_flags= ;;
16820 x-*) ;;
16821 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16822 esac
16823 else
16824 enable_libstdcxx_debug_flags="-g3 -O0"
16825 fi
16826
16827
16828
16829 # Option parsed, now set things appropriately
16830 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16831
16832
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16834 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16835
16836
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16838 $as_echo_n "checking for additional debug build... " >&6; }
16839 # Check whether --enable-libstdcxx-debug was given.
16840 if test "${enable_libstdcxx_debug+set}" = set; then :
16841 enableval=$enable_libstdcxx_debug;
16842 case "$enableval" in
16843 yes|no) ;;
16844 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
16845 esac
16846
16847 else
16848 enable_libstdcxx_debug=no
16849 fi
16850
16851
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
16853 $as_echo "$enable_libstdcxx_debug" >&6; }
16854
16855
16856
16857
16858 enable_parallel=no;
16859
16860 # See if configured libgomp/omp.h exists. (libgomp may be in
16861 # noconfigdirs but not explicitly disabled.)
16862 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16863 enable_parallel=yes;
16864 else
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16866 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16867 fi
16868
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
16870 $as_echo_n "checking for parallel mode support... " >&6; }
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
16872 $as_echo "$enable_parallel" >&6; }
16873
16874
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
16876 $as_echo_n "checking for extra compiler flags for building... " >&6; }
16877 # Check whether --enable-cxx-flags was given.
16878 if test "${enable_cxx_flags+set}" = set; then :
16879 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
16880 xno | x) enable_cxx_flags= ;;
16881 x-*) ;;
16882 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16883 esac
16884 else
16885 enable_cxx_flags=
16886 fi
16887
16888
16889
16890 # Run through flags (either default or command-line) and set anything
16891 # extra (e.g., #defines) that must accompany particular g++ options.
16892 if test -n "$enable_cxx_flags"; then
16893 for f in $enable_cxx_flags; do
16894 case "$f" in
16895 -fhonor-std) ;;
16896 -*) ;;
16897 *) # and we're trying to pass /what/ exactly?
16898 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
16899 esac
16900 done
16901 fi
16902
16903 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
16905 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
16906
16907
16908
16909 # Check whether --enable-fully-dynamic-string was given.
16910 if test "${enable_fully_dynamic_string+set}" = set; then :
16911 enableval=$enable_fully_dynamic_string;
16912 case "$enableval" in
16913 yes|no) ;;
16914 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
16915 esac
16916
16917 else
16918 enable_fully_dynamic_string=no
16919 fi
16920
16921
16922 if test $enable_fully_dynamic_string = yes; then
16923
16924 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
16925
16926 fi
16927
16928
16929 # Checks for operating systems support that doesn't require linking.
16930
16931
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
16933 $as_echo_n "checking for EOWNERDEAD... " >&6; }
16934 if test "${glibcxx_cv_system_error1+set}" = set; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 #include <errno.h>
16941 int
16942 main ()
16943 {
16944 int i = EOWNERDEAD;
16945 ;
16946 return 0;
16947 }
16948 _ACEOF
16949 if ac_fn_c_try_compile "$LINENO"; then :
16950 glibcxx_cv_system_error1=yes
16951 else
16952 glibcxx_cv_system_error1=no
16953 fi
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955
16956 fi
16957
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
16959 $as_echo "$glibcxx_cv_system_error1" >&6; }
16960 if test x"$glibcxx_cv_system_error1" = x"yes"; then
16961
16962 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
16963
16964 fi
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
16966 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
16967 if test "${glibcxx_cv_system_error2+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #include <errno.h>
16974 int
16975 main ()
16976 {
16977 int i = ENOTRECOVERABLE;
16978 ;
16979 return 0;
16980 }
16981 _ACEOF
16982 if ac_fn_c_try_compile "$LINENO"; then :
16983 glibcxx_cv_system_error2=yes
16984 else
16985 glibcxx_cv_system_error2=no
16986 fi
16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988
16989 fi
16990
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
16992 $as_echo "$glibcxx_cv_system_error2" >&6; }
16993 if test x"$glibcxx_cv_system_error2" = x"yes"; then
16994
16995 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
16996
16997 fi
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
16999 $as_echo_n "checking for ENOLINK... " >&6; }
17000 if test "${glibcxx_cv_system_error3+set}" = set; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #include <errno.h>
17007 int
17008 main ()
17009 {
17010 int i = ENOLINK;
17011 ;
17012 return 0;
17013 }
17014 _ACEOF
17015 if ac_fn_c_try_compile "$LINENO"; then :
17016 glibcxx_cv_system_error3=yes
17017 else
17018 glibcxx_cv_system_error3=no
17019 fi
17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021
17022 fi
17023
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17025 $as_echo "$glibcxx_cv_system_error3" >&6; }
17026 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17027
17028 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17029
17030 fi
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17032 $as_echo_n "checking for EPROTO... " >&6; }
17033 if test "${glibcxx_cv_system_error4+set}" = set; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <errno.h>
17040 int
17041 main ()
17042 {
17043 int i = EPROTO;
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 if ac_fn_c_try_compile "$LINENO"; then :
17049 glibcxx_cv_system_error4=yes
17050 else
17051 glibcxx_cv_system_error4=no
17052 fi
17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054
17055 fi
17056
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17058 $as_echo "$glibcxx_cv_system_error4" >&6; }
17059 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17060
17061 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17062
17063 fi
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17065 $as_echo_n "checking for ENODATA... " >&6; }
17066 if test "${glibcxx_cv_system_error5+set}" = set; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17072 #include <errno.h>
17073 int
17074 main ()
17075 {
17076 int i = ENODATA;
17077 ;
17078 return 0;
17079 }
17080 _ACEOF
17081 if ac_fn_c_try_compile "$LINENO"; then :
17082 glibcxx_cv_system_error5=yes
17083 else
17084 glibcxx_cv_system_error5=no
17085 fi
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087
17088 fi
17089
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17091 $as_echo "$glibcxx_cv_system_error5" >&6; }
17092 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17093
17094 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17095
17096 fi
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17098 $as_echo_n "checking for ENOSR... " >&6; }
17099 if test "${glibcxx_cv_system_error6+set}" = set; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <errno.h>
17106 int
17107 main ()
17108 {
17109 int i = ENOSR;
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 if ac_fn_c_try_compile "$LINENO"; then :
17115 glibcxx_cv_system_error6=yes
17116 else
17117 glibcxx_cv_system_error6=no
17118 fi
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120
17121 fi
17122
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17124 $as_echo "$glibcxx_cv_system_error6" >&6; }
17125 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17126
17127 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17128
17129 fi
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17131 $as_echo_n "checking for ENOSTR... " >&6; }
17132 if test "${glibcxx_cv_system_error7+set}" = set; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 #include <errno.h>
17139 int
17140 main ()
17141 {
17142 int i = ENOSTR;
17143 ;
17144 return 0;
17145 }
17146 _ACEOF
17147 if ac_fn_c_try_compile "$LINENO"; then :
17148 glibcxx_cv_system_error7=yes
17149 else
17150 glibcxx_cv_system_error7=no
17151 fi
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153
17154 fi
17155
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17157 $as_echo "$glibcxx_cv_system_error7" >&6; }
17158 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17159
17160 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17161
17162 fi
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17164 $as_echo_n "checking for ETIME... " >&6; }
17165 if test "${glibcxx_cv_system_error8+set}" = set; then :
17166 $as_echo_n "(cached) " >&6
17167 else
17168
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 #include <errno.h>
17172 int
17173 main ()
17174 {
17175 int i = ETIME;
17176 ;
17177 return 0;
17178 }
17179 _ACEOF
17180 if ac_fn_c_try_compile "$LINENO"; then :
17181 glibcxx_cv_system_error8=yes
17182 else
17183 glibcxx_cv_system_error8=no
17184 fi
17185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17186
17187 fi
17188
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17190 $as_echo "$glibcxx_cv_system_error8" >&6; }
17191 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17192
17193 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17194
17195 fi
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17197 $as_echo_n "checking for EBADMSG... " >&6; }
17198 if test "${glibcxx_cv_system_error9+set}" = set; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 #include <errno.h>
17205 int
17206 main ()
17207 {
17208 int i = EBADMSG;
17209 ;
17210 return 0;
17211 }
17212 _ACEOF
17213 if ac_fn_c_try_compile "$LINENO"; then :
17214 glibcxx_cv_system_error9=yes
17215 else
17216 glibcxx_cv_system_error9=no
17217 fi
17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17219
17220 fi
17221
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17223 $as_echo "$glibcxx_cv_system_error9" >&6; }
17224 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17225
17226 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17227
17228 fi
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17230 $as_echo_n "checking for ECANCELED... " >&6; }
17231 if test "${glibcxx_cv_system_error10+set}" = set; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #include <errno.h>
17238 int
17239 main ()
17240 {
17241 int i = ECANCELED;
17242 ;
17243 return 0;
17244 }
17245 _ACEOF
17246 if ac_fn_c_try_compile "$LINENO"; then :
17247 glibcxx_cv_system_error10=yes
17248 else
17249 glibcxx_cv_system_error10=no
17250 fi
17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17252
17253 fi
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17256 $as_echo "$glibcxx_cv_system_error10" >&6; }
17257 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17258
17259 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17260
17261 fi
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17263 $as_echo_n "checking for EOVERFLOW... " >&6; }
17264 if test "${glibcxx_cv_system_error11+set}" = set; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17267
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #include <errno.h>
17271 int
17272 main ()
17273 {
17274 int i = EOVERFLOW;
17275 ;
17276 return 0;
17277 }
17278 _ACEOF
17279 if ac_fn_c_try_compile "$LINENO"; then :
17280 glibcxx_cv_system_error11=yes
17281 else
17282 glibcxx_cv_system_error11=no
17283 fi
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285
17286 fi
17287
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17289 $as_echo "$glibcxx_cv_system_error11" >&6; }
17290 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17291
17292 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17293
17294 fi
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17296 $as_echo_n "checking for ENOTSUP... " >&6; }
17297 if test "${glibcxx_cv_system_error12+set}" = set; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 #include <errno.h>
17304 int
17305 main ()
17306 {
17307 int i = ENOTSUP;
17308 ;
17309 return 0;
17310 }
17311 _ACEOF
17312 if ac_fn_c_try_compile "$LINENO"; then :
17313 glibcxx_cv_system_error12=yes
17314 else
17315 glibcxx_cv_system_error12=no
17316 fi
17317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17318
17319 fi
17320
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17322 $as_echo "$glibcxx_cv_system_error12" >&6; }
17323 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17324
17325 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17326
17327 fi
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17329 $as_echo_n "checking for EIDRM... " >&6; }
17330 if test "${glibcxx_cv_system_error13+set}" = set; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 #include <errno.h>
17337 int
17338 main ()
17339 {
17340 int i = EIDRM;
17341 ;
17342 return 0;
17343 }
17344 _ACEOF
17345 if ac_fn_c_try_compile "$LINENO"; then :
17346 glibcxx_cv_system_error13=yes
17347 else
17348 glibcxx_cv_system_error13=no
17349 fi
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351
17352 fi
17353
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17355 $as_echo "$glibcxx_cv_system_error13" >&6; }
17356 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17357
17358 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17359
17360 fi
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17362 $as_echo_n "checking for ETXTBSY... " >&6; }
17363 if test "${glibcxx_cv_system_error14+set}" = set; then :
17364 $as_echo_n "(cached) " >&6
17365 else
17366
17367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17368 /* end confdefs.h. */
17369 #include <errno.h>
17370 int
17371 main ()
17372 {
17373 int i = ETXTBSY;
17374 ;
17375 return 0;
17376 }
17377 _ACEOF
17378 if ac_fn_c_try_compile "$LINENO"; then :
17379 glibcxx_cv_system_error14=yes
17380 else
17381 glibcxx_cv_system_error14=no
17382 fi
17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17384
17385 fi
17386
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17388 $as_echo "$glibcxx_cv_system_error14" >&6; }
17389 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17390
17391 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17392
17393 fi
17394
17395
17396
17397 # For the streamoff typedef.
17398
17399
17400
17401 ac_ext=cpp
17402 ac_cpp='$CXXCPP $CPPFLAGS'
17403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17406
17407
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17409 $as_echo_n "checking for int64_t... " >&6; }
17410 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 #include <stdint.h>
17417 int
17418 main ()
17419 {
17420 int64_t var;
17421 ;
17422 return 0;
17423 }
17424 _ACEOF
17425 if ac_fn_cxx_try_compile "$LINENO"; then :
17426 glibcxx_cv_INT64_T=yes
17427 else
17428 glibcxx_cv_INT64_T=no
17429 fi
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17431
17432 fi
17433
17434
17435 if test $glibcxx_cv_INT64_T = yes; then
17436
17437 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17438
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17440 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17441
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17443 $as_echo_n "checking for int64_t as long... " >&6; }
17444 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #include <stdint.h>
17451 template<typename, typename> struct same { enum { value = -1 }; };
17452 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17453 int array[same<int64_t, long>::value];
17454 int
17455 main ()
17456 {
17457
17458 ;
17459 return 0;
17460 }
17461 _ACEOF
17462 if ac_fn_cxx_try_compile "$LINENO"; then :
17463 glibcxx_cv_int64_t_long=yes
17464 else
17465 glibcxx_cv_int64_t_long=no
17466 fi
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468
17469 fi
17470
17471
17472 if test $glibcxx_cv_int64_t_long = yes; then
17473
17474 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17475
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17477 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17478 fi
17479
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17481 $as_echo_n "checking for int64_t as long long... " >&6; }
17482 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 #include <stdint.h>
17489 template<typename, typename> struct same { enum { value = -1 }; };
17490 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17491 int array[same<int64_t, long long>::value];
17492 int
17493 main ()
17494 {
17495
17496 ;
17497 return 0;
17498 }
17499 _ACEOF
17500 if ac_fn_cxx_try_compile "$LINENO"; then :
17501 glibcxx_cv_int64_t_long_long=yes
17502 else
17503 glibcxx_cv_int64_t_long_long=no
17504 fi
17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17506
17507 fi
17508
17509
17510 if test $glibcxx_cv_int64_t_long_long = yes; then
17511
17512 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17513
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17515 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17516 fi
17517 fi
17518
17519 ac_ext=c
17520 ac_cpp='$CPP $CPPFLAGS'
17521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17524
17525
17526
17527 # For LFS support.
17528
17529
17530 ac_ext=cpp
17531 ac_cpp='$CXXCPP $CPPFLAGS'
17532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17535
17536 ac_save_CXXFLAGS="$CXXFLAGS"
17537 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17539 $as_echo_n "checking for LFS support... " >&6; }
17540 if test "${glibcxx_cv_LFS+set}" = set; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543
17544 if test x$gcc_no_link = xyes; then
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 #include <unistd.h>
17548 #include <stdio.h>
17549 #include <sys/stat.h>
17550
17551 int
17552 main ()
17553 {
17554 FILE* fp;
17555 fopen64("t", "w");
17556 fseeko64(fp, 0, SEEK_CUR);
17557 ftello64(fp);
17558 lseek64(1, 0, SEEK_CUR);
17559 struct stat64 buf;
17560 fstat64(1, &buf);
17561 ;
17562 return 0;
17563 }
17564 _ACEOF
17565 if ac_fn_cxx_try_compile "$LINENO"; then :
17566 glibcxx_cv_LFS=yes
17567 else
17568 glibcxx_cv_LFS=no
17569 fi
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571 else
17572 if test x$gcc_no_link = xyes; then
17573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17574 fi
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17577 #include <unistd.h>
17578 #include <stdio.h>
17579 #include <sys/stat.h>
17580
17581 int
17582 main ()
17583 {
17584 FILE* fp;
17585 fopen64("t", "w");
17586 fseeko64(fp, 0, SEEK_CUR);
17587 ftello64(fp);
17588 lseek64(1, 0, SEEK_CUR);
17589 struct stat64 buf;
17590 fstat64(1, &buf);
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 if ac_fn_cxx_try_link "$LINENO"; then :
17596 glibcxx_cv_LFS=yes
17597 else
17598 glibcxx_cv_LFS=no
17599 fi
17600 rm -f core conftest.err conftest.$ac_objext \
17601 conftest$ac_exeext conftest.$ac_ext
17602 fi
17603
17604 fi
17605
17606 if test $glibcxx_cv_LFS = yes; then
17607
17608 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17609
17610 fi
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17612 $as_echo "$glibcxx_cv_LFS" >&6; }
17613 CXXFLAGS="$ac_save_CXXFLAGS"
17614 ac_ext=c
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17619
17620
17621
17622 # For showmanyc_helper().
17623 for ac_header in sys/ioctl.h sys/filio.h
17624 do :
17625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17626 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17627 eval as_val=\$$as_ac_Header
17628 if test "x$as_val" = x""yes; then :
17629 cat >>confdefs.h <<_ACEOF
17630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17631 _ACEOF
17632
17633 fi
17634
17635 done
17636
17637
17638
17639
17640 ac_ext=cpp
17641 ac_cpp='$CXXCPP $CPPFLAGS'
17642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17645
17646 ac_save_CXXFLAGS="$CXXFLAGS"
17647 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17648
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17650 $as_echo_n "checking for poll... " >&6; }
17651 if test "${glibcxx_cv_POLL+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17654
17655 if test x$gcc_no_link = xyes; then
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <poll.h>
17659 int
17660 main ()
17661 {
17662 struct pollfd pfd[1];
17663 pfd[0].events = POLLIN;
17664 poll(pfd, 1, 0);
17665 ;
17666 return 0;
17667 }
17668 _ACEOF
17669 if ac_fn_cxx_try_compile "$LINENO"; then :
17670 glibcxx_cv_POLL=yes
17671 else
17672 glibcxx_cv_POLL=no
17673 fi
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 else
17676 if test x$gcc_no_link = xyes; then
17677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17678 fi
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <poll.h>
17682 int
17683 main ()
17684 {
17685 struct pollfd pfd[1];
17686 pfd[0].events = POLLIN;
17687 poll(pfd, 1, 0);
17688 ;
17689 return 0;
17690 }
17691 _ACEOF
17692 if ac_fn_cxx_try_link "$LINENO"; then :
17693 glibcxx_cv_POLL=yes
17694 else
17695 glibcxx_cv_POLL=no
17696 fi
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 fi
17700
17701 fi
17702
17703 if test $glibcxx_cv_POLL = yes; then
17704
17705 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17706
17707 fi
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17709 $as_echo "$glibcxx_cv_POLL" >&6; }
17710
17711 CXXFLAGS="$ac_save_CXXFLAGS"
17712 ac_ext=c
17713 ac_cpp='$CPP $CPPFLAGS'
17714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17717
17718
17719
17720
17721
17722 ac_ext=cpp
17723 ac_cpp='$CXXCPP $CPPFLAGS'
17724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17727
17728 ac_save_CXXFLAGS="$CXXFLAGS"
17729 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17730
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17732 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17733 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17736
17737 if test x$gcc_no_link = xyes; then
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <sys/stat.h>
17741 int
17742 main ()
17743 {
17744 struct stat buffer;
17745 fstat(0, &buffer);
17746 S_ISREG(buffer.st_mode);
17747 ;
17748 return 0;
17749 }
17750 _ACEOF
17751 if ac_fn_cxx_try_compile "$LINENO"; then :
17752 glibcxx_cv_S_ISREG=yes
17753 else
17754 glibcxx_cv_S_ISREG=no
17755 fi
17756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 else
17758 if test x$gcc_no_link = xyes; then
17759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17760 fi
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 #include <sys/stat.h>
17764 int
17765 main ()
17766 {
17767 struct stat buffer;
17768 fstat(0, &buffer);
17769 S_ISREG(buffer.st_mode);
17770 ;
17771 return 0;
17772 }
17773 _ACEOF
17774 if ac_fn_cxx_try_link "$LINENO"; then :
17775 glibcxx_cv_S_ISREG=yes
17776 else
17777 glibcxx_cv_S_ISREG=no
17778 fi
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17781 fi
17782
17783 fi
17784
17785 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17788
17789 if test x$gcc_no_link = xyes; then
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 #include <sys/stat.h>
17793 int
17794 main ()
17795 {
17796 struct stat buffer;
17797 fstat(0, &buffer);
17798 S_IFREG & buffer.st_mode;
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 if ac_fn_cxx_try_compile "$LINENO"; then :
17804 glibcxx_cv_S_IFREG=yes
17805 else
17806 glibcxx_cv_S_IFREG=no
17807 fi
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17809 else
17810 if test x$gcc_no_link = xyes; then
17811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17812 fi
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h. */
17815 #include <sys/stat.h>
17816 int
17817 main ()
17818 {
17819 struct stat buffer;
17820 fstat(0, &buffer);
17821 S_IFREG & buffer.st_mode;
17822 ;
17823 return 0;
17824 }
17825 _ACEOF
17826 if ac_fn_cxx_try_link "$LINENO"; then :
17827 glibcxx_cv_S_IFREG=yes
17828 else
17829 glibcxx_cv_S_IFREG=no
17830 fi
17831 rm -f core conftest.err conftest.$ac_objext \
17832 conftest$ac_exeext conftest.$ac_ext
17833 fi
17834
17835 fi
17836
17837 res=no
17838 if test $glibcxx_cv_S_ISREG = yes; then
17839
17840 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17841
17842 res=S_ISREG
17843 elif test $glibcxx_cv_S_IFREG = yes; then
17844
17845 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
17846
17847 res=S_IFREG
17848 fi
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
17850 $as_echo "$res" >&6; }
17851
17852 CXXFLAGS="$ac_save_CXXFLAGS"
17853 ac_ext=c
17854 ac_cpp='$CPP $CPPFLAGS'
17855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17858
17859
17860
17861 # For xsputn_2().
17862 for ac_header in sys/uio.h
17863 do :
17864 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
17865 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define HAVE_SYS_UIO_H 1
17868 _ACEOF
17869
17870 fi
17871
17872 done
17873
17874
17875
17876
17877 ac_ext=cpp
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17882
17883 ac_save_CXXFLAGS="$CXXFLAGS"
17884 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17885
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
17887 $as_echo_n "checking for writev... " >&6; }
17888 if test "${glibcxx_cv_WRITEV+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17891
17892 if test x$gcc_no_link = xyes; then
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895 #include <sys/uio.h>
17896 int
17897 main ()
17898 {
17899 struct iovec iov[2];
17900 writev(0, iov, 0);
17901 ;
17902 return 0;
17903 }
17904 _ACEOF
17905 if ac_fn_cxx_try_compile "$LINENO"; then :
17906 glibcxx_cv_WRITEV=yes
17907 else
17908 glibcxx_cv_WRITEV=no
17909 fi
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 else
17912 if test x$gcc_no_link = xyes; then
17913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17914 fi
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <sys/uio.h>
17918 int
17919 main ()
17920 {
17921 struct iovec iov[2];
17922 writev(0, iov, 0);
17923 ;
17924 return 0;
17925 }
17926 _ACEOF
17927 if ac_fn_cxx_try_link "$LINENO"; then :
17928 glibcxx_cv_WRITEV=yes
17929 else
17930 glibcxx_cv_WRITEV=no
17931 fi
17932 rm -f core conftest.err conftest.$ac_objext \
17933 conftest$ac_exeext conftest.$ac_ext
17934 fi
17935
17936 fi
17937
17938 if test $glibcxx_cv_WRITEV = yes; then
17939
17940 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
17941
17942 fi
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
17944 $as_echo "$glibcxx_cv_WRITEV" >&6; }
17945
17946 CXXFLAGS="$ac_save_CXXFLAGS"
17947 ac_ext=c
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17952
17953
17954
17955 # For C99 support to TR1.
17956
17957
17958
17959 ac_ext=cpp
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17964
17965
17966 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
17967 # undefined and fake C99 facilities may be spuriously enabled.
17968 ac_save_CXXFLAGS="$CXXFLAGS"
17969 CXXFLAGS="$CXXFLAGS -std=c++98"
17970
17971 # Check for the existence of <complex.h> complex math functions used
17972 # by tr1/complex.
17973 for ac_header in complex.h
17974 do :
17975 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17976 if test "x$ac_cv_header_complex_h" = x""yes; then :
17977 cat >>confdefs.h <<_ACEOF
17978 #define HAVE_COMPLEX_H 1
17979 _ACEOF
17980 ac_has_complex_h=yes
17981 else
17982 ac_has_complex_h=no
17983 fi
17984
17985 done
17986
17987 ac_c99_complex_tr1=no;
17988 if test x"$ac_has_complex_h" = x"yes"; then
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
17990 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17993 #include <complex.h>
17994 int
17995 main ()
17996 {
17997 typedef __complex__ float float_type; float_type tmpf;
17998 cacosf(tmpf);
17999 casinf(tmpf);
18000 catanf(tmpf);
18001 cacoshf(tmpf);
18002 casinhf(tmpf);
18003 catanhf(tmpf);
18004 typedef __complex__ double double_type; double_type tmpd;
18005 cacos(tmpd);
18006 casin(tmpd);
18007 catan(tmpd);
18008 cacosh(tmpd);
18009 casinh(tmpd);
18010 catanh(tmpd);
18011 typedef __complex__ long double ld_type; ld_type tmpld;
18012 cacosl(tmpld);
18013 casinl(tmpld);
18014 catanl(tmpld);
18015 cacoshl(tmpld);
18016 casinhl(tmpld);
18017 catanhl(tmpld);
18018
18019 ;
18020 return 0;
18021 }
18022 _ACEOF
18023 if ac_fn_cxx_try_compile "$LINENO"; then :
18024 ac_c99_complex_tr1=yes
18025 else
18026 ac_c99_complex_tr1=no
18027 fi
18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18029 fi
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18031 $as_echo "$ac_c99_complex_tr1" >&6; }
18032 if test x"$ac_c99_complex_tr1" = x"yes"; then
18033
18034 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18035
18036 fi
18037
18038 # Check for the existence of <ctype.h> functions.
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18040 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18041 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18042 $as_echo_n "(cached) " >&6
18043 else
18044
18045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18047 #include <ctype.h>
18048 int
18049 main ()
18050 {
18051 int ch;
18052 int ret;
18053 ret = isblank(ch);
18054
18055 ;
18056 return 0;
18057 }
18058 _ACEOF
18059 if ac_fn_cxx_try_compile "$LINENO"; then :
18060 glibcxx_cv_c99_ctype_tr1=yes
18061 else
18062 glibcxx_cv_c99_ctype_tr1=no
18063 fi
18064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18065
18066 fi
18067
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18069 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18070 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18071
18072 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18073
18074 fi
18075
18076 # Check for the existence of <fenv.h> functions.
18077 for ac_header in fenv.h
18078 do :
18079 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18080 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18081 cat >>confdefs.h <<_ACEOF
18082 #define HAVE_FENV_H 1
18083 _ACEOF
18084 ac_has_fenv_h=yes
18085 else
18086 ac_has_fenv_h=no
18087 fi
18088
18089 done
18090
18091 ac_c99_fenv_tr1=no;
18092 if test x"$ac_has_fenv_h" = x"yes"; then
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18094 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18097 #include <fenv.h>
18098 int
18099 main ()
18100 {
18101 int except, mode;
18102 fexcept_t* pflag;
18103 fenv_t* penv;
18104 int ret;
18105 ret = feclearexcept(except);
18106 ret = fegetexceptflag(pflag, except);
18107 ret = feraiseexcept(except);
18108 ret = fesetexceptflag(pflag, except);
18109 ret = fetestexcept(except);
18110 ret = fegetround();
18111 ret = fesetround(mode);
18112 ret = fegetenv(penv);
18113 ret = feholdexcept(penv);
18114 ret = fesetenv(penv);
18115 ret = feupdateenv(penv);
18116
18117 ;
18118 return 0;
18119 }
18120 _ACEOF
18121 if ac_fn_cxx_try_compile "$LINENO"; then :
18122 ac_c99_fenv_tr1=yes
18123 else
18124 ac_c99_fenv_tr1=no
18125 fi
18126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18127 fi
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18129 $as_echo "$ac_c99_fenv_tr1" >&6; }
18130 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18131
18132 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18133
18134 fi
18135
18136 # Check for the existence of <stdint.h> types.
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18138 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18139 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18140 $as_echo_n "(cached) " >&6
18141 else
18142
18143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18145 #define __STDC_LIMIT_MACROS
18146 #define __STDC_CONSTANT_MACROS
18147 #include <stdint.h>
18148 int
18149 main ()
18150 {
18151 typedef int8_t my_int8_t;
18152 my_int8_t i8 = INT8_MIN;
18153 i8 = INT8_MAX;
18154 typedef int16_t my_int16_t;
18155 my_int16_t i16 = INT16_MIN;
18156 i16 = INT16_MAX;
18157 typedef int32_t my_int32_t;
18158 my_int32_t i32 = INT32_MIN;
18159 i32 = INT32_MAX;
18160 typedef int64_t my_int64_t;
18161 my_int64_t i64 = INT64_MIN;
18162 i64 = INT64_MAX;
18163 typedef int_fast8_t my_int_fast8_t;
18164 my_int_fast8_t if8 = INT_FAST8_MIN;
18165 if8 = INT_FAST8_MAX;
18166 typedef int_fast16_t my_int_fast16_t;
18167 my_int_fast16_t if16 = INT_FAST16_MIN;
18168 if16 = INT_FAST16_MAX;
18169 typedef int_fast32_t my_int_fast32_t;
18170 my_int_fast32_t if32 = INT_FAST32_MIN;
18171 if32 = INT_FAST32_MAX;
18172 typedef int_fast64_t my_int_fast64_t;
18173 my_int_fast64_t if64 = INT_FAST64_MIN;
18174 if64 = INT_FAST64_MAX;
18175 typedef int_least8_t my_int_least8_t;
18176 my_int_least8_t il8 = INT_LEAST8_MIN;
18177 il8 = INT_LEAST8_MAX;
18178 typedef int_least16_t my_int_least16_t;
18179 my_int_least16_t il16 = INT_LEAST16_MIN;
18180 il16 = INT_LEAST16_MAX;
18181 typedef int_least32_t my_int_least32_t;
18182 my_int_least32_t il32 = INT_LEAST32_MIN;
18183 il32 = INT_LEAST32_MAX;
18184 typedef int_least64_t my_int_least64_t;
18185 my_int_least64_t il64 = INT_LEAST64_MIN;
18186 il64 = INT_LEAST64_MAX;
18187 typedef intmax_t my_intmax_t;
18188 my_intmax_t im = INTMAX_MAX;
18189 im = INTMAX_MIN;
18190 typedef intptr_t my_intptr_t;
18191 my_intptr_t ip = INTPTR_MAX;
18192 ip = INTPTR_MIN;
18193 typedef uint8_t my_uint8_t;
18194 my_uint8_t ui8 = UINT8_MAX;
18195 ui8 = UINT8_MAX;
18196 typedef uint16_t my_uint16_t;
18197 my_uint16_t ui16 = UINT16_MAX;
18198 ui16 = UINT16_MAX;
18199 typedef uint32_t my_uint32_t;
18200 my_uint32_t ui32 = UINT32_MAX;
18201 ui32 = UINT32_MAX;
18202 typedef uint64_t my_uint64_t;
18203 my_uint64_t ui64 = UINT64_MAX;
18204 ui64 = UINT64_MAX;
18205 typedef uint_fast8_t my_uint_fast8_t;
18206 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18207 uif8 = UINT_FAST8_MAX;
18208 typedef uint_fast16_t my_uint_fast16_t;
18209 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18210 uif16 = UINT_FAST16_MAX;
18211 typedef uint_fast32_t my_uint_fast32_t;
18212 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18213 uif32 = UINT_FAST32_MAX;
18214 typedef uint_fast64_t my_uint_fast64_t;
18215 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18216 uif64 = UINT_FAST64_MAX;
18217 typedef uint_least8_t my_uint_least8_t;
18218 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18219 uil8 = UINT_LEAST8_MAX;
18220 typedef uint_least16_t my_uint_least16_t;
18221 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18222 uil16 = UINT_LEAST16_MAX;
18223 typedef uint_least32_t my_uint_least32_t;
18224 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18225 uil32 = UINT_LEAST32_MAX;
18226 typedef uint_least64_t my_uint_least64_t;
18227 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18228 uil64 = UINT_LEAST64_MAX;
18229 typedef uintmax_t my_uintmax_t;
18230 my_uintmax_t uim = UINTMAX_MAX;
18231 uim = UINTMAX_MAX;
18232 typedef uintptr_t my_uintptr_t;
18233 my_uintptr_t uip = UINTPTR_MAX;
18234 uip = UINTPTR_MAX;
18235
18236 ;
18237 return 0;
18238 }
18239 _ACEOF
18240 if ac_fn_cxx_try_compile "$LINENO"; then :
18241 glibcxx_cv_c99_stdint_tr1=yes
18242 else
18243 glibcxx_cv_c99_stdint_tr1=no
18244 fi
18245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18246
18247 fi
18248
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18250 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18251 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18252
18253 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18254
18255 fi
18256
18257 # Check for the existence of <math.h> functions.
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18259 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18260 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18263
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18266 #include <math.h>
18267 int
18268 main ()
18269 {
18270 typedef double_t my_double_t;
18271 typedef float_t my_float_t;
18272 acosh(0.0);
18273 acoshf(0.0f);
18274 acoshl(0.0l);
18275 asinh(0.0);
18276 asinhf(0.0f);
18277 asinhl(0.0l);
18278 atanh(0.0);
18279 atanhf(0.0f);
18280 atanhl(0.0l);
18281 cbrt(0.0);
18282 cbrtf(0.0f);
18283 cbrtl(0.0l);
18284 copysign(0.0, 0.0);
18285 copysignf(0.0f, 0.0f);
18286 copysignl(0.0l, 0.0l);
18287 erf(0.0);
18288 erff(0.0f);
18289 erfl(0.0l);
18290 erfc(0.0);
18291 erfcf(0.0f);
18292 erfcl(0.0l);
18293 exp2(0.0);
18294 exp2f(0.0f);
18295 exp2l(0.0l);
18296 expm1(0.0);
18297 expm1f(0.0f);
18298 expm1l(0.0l);
18299 fdim(0.0, 0.0);
18300 fdimf(0.0f, 0.0f);
18301 fdiml(0.0l, 0.0l);
18302 fma(0.0, 0.0, 0.0);
18303 fmaf(0.0f, 0.0f, 0.0f);
18304 fmal(0.0l, 0.0l, 0.0l);
18305 fmax(0.0, 0.0);
18306 fmaxf(0.0f, 0.0f);
18307 fmaxl(0.0l, 0.0l);
18308 fmin(0.0, 0.0);
18309 fminf(0.0f, 0.0f);
18310 fminl(0.0l, 0.0l);
18311 hypot(0.0, 0.0);
18312 hypotf(0.0f, 0.0f);
18313 hypotl(0.0l, 0.0l);
18314 ilogb(0.0);
18315 ilogbf(0.0f);
18316 ilogbl(0.0l);
18317 lgamma(0.0);
18318 lgammaf(0.0f);
18319 lgammal(0.0l);
18320 llrint(0.0);
18321 llrintf(0.0f);
18322 llrintl(0.0l);
18323 llround(0.0);
18324 llroundf(0.0f);
18325 llroundl(0.0l);
18326 log1p(0.0);
18327 log1pf(0.0f);
18328 log1pl(0.0l);
18329 log2(0.0);
18330 log2f(0.0f);
18331 log2l(0.0l);
18332 logb(0.0);
18333 logbf(0.0f);
18334 logbl(0.0l);
18335 lrint(0.0);
18336 lrintf(0.0f);
18337 lrintl(0.0l);
18338 lround(0.0);
18339 lroundf(0.0f);
18340 lroundl(0.0l);
18341 nan(0);
18342 nanf(0);
18343 nanl(0);
18344 nearbyint(0.0);
18345 nearbyintf(0.0f);
18346 nearbyintl(0.0l);
18347 nextafter(0.0, 0.0);
18348 nextafterf(0.0f, 0.0f);
18349 nextafterl(0.0l, 0.0l);
18350 nexttoward(0.0, 0.0);
18351 nexttowardf(0.0f, 0.0f);
18352 nexttowardl(0.0l, 0.0l);
18353 remainder(0.0, 0.0);
18354 remainderf(0.0f, 0.0f);
18355 remainderl(0.0l, 0.0l);
18356 remquo(0.0, 0.0, 0);
18357 remquof(0.0f, 0.0f, 0);
18358 remquol(0.0l, 0.0l, 0);
18359 rint(0.0);
18360 rintf(0.0f);
18361 rintl(0.0l);
18362 round(0.0);
18363 roundf(0.0f);
18364 roundl(0.0l);
18365 scalbln(0.0, 0l);
18366 scalblnf(0.0f, 0l);
18367 scalblnl(0.0l, 0l);
18368 scalbn(0.0, 0);
18369 scalbnf(0.0f, 0);
18370 scalbnl(0.0l, 0);
18371 tgamma(0.0);
18372 tgammaf(0.0f);
18373 tgammal(0.0l);
18374 trunc(0.0);
18375 truncf(0.0f);
18376 truncl(0.0l);
18377
18378 ;
18379 return 0;
18380 }
18381 _ACEOF
18382 if ac_fn_cxx_try_compile "$LINENO"; then :
18383 glibcxx_cv_c99_math_tr1=yes
18384 else
18385 glibcxx_cv_c99_math_tr1=no
18386 fi
18387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18388
18389 fi
18390
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18392 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18393 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18394
18395 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18396
18397 fi
18398
18399 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18400 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18401 ac_c99_inttypes_tr1=no;
18402 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18404 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #include <inttypes.h>
18408 int
18409 main ()
18410 {
18411 intmax_t i, numer, denom, base;
18412 const char* s;
18413 char** endptr;
18414 intmax_t ret = imaxabs(i);
18415 imaxdiv_t dret = imaxdiv(numer, denom);
18416 ret = strtoimax(s, endptr, base);
18417 uintmax_t uret = strtoumax(s, endptr, base);
18418
18419 ;
18420 return 0;
18421 }
18422 _ACEOF
18423 if ac_fn_cxx_try_compile "$LINENO"; then :
18424 ac_c99_inttypes_tr1=yes
18425 else
18426 ac_c99_inttypes_tr1=no
18427 fi
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 fi
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18431 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18432 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18433
18434 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18435
18436 fi
18437
18438 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18439 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18440 ac_c99_inttypes_wchar_t_tr1=no;
18441 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18443 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h. */
18446 #include <inttypes.h>
18447 int
18448 main ()
18449 {
18450 intmax_t base;
18451 const wchar_t* s;
18452 wchar_t** endptr;
18453 intmax_t ret = wcstoimax(s, endptr, base);
18454 uintmax_t uret = wcstoumax(s, endptr, base);
18455
18456 ;
18457 return 0;
18458 }
18459 _ACEOF
18460 if ac_fn_cxx_try_compile "$LINENO"; then :
18461 ac_c99_inttypes_wchar_t_tr1=yes
18462 else
18463 ac_c99_inttypes_wchar_t_tr1=no
18464 fi
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 fi
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18468 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18469 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18470
18471 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18472
18473 fi
18474
18475 # Check for the existence of the <stdbool.h> header.
18476 for ac_header in stdbool.h
18477 do :
18478 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18479 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18480 cat >>confdefs.h <<_ACEOF
18481 #define HAVE_STDBOOL_H 1
18482 _ACEOF
18483
18484 fi
18485
18486 done
18487
18488
18489 CXXFLAGS="$ac_save_CXXFLAGS"
18490 ac_ext=c
18491 ac_cpp='$CPP $CPPFLAGS'
18492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18495
18496
18497
18498 # For common values of EOF, SEEK_CUR, SEEK_END.
18499
18500
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18502 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18503 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18504 $as_echo_n "(cached) " >&6
18505 else
18506
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #include <stdio.h>
18510 int
18511 main ()
18512 {
18513 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18514 unusual values...
18515 #endif
18516
18517 ;
18518 return 0;
18519 }
18520 _ACEOF
18521 if ac_fn_c_try_compile "$LINENO"; then :
18522 glibcxx_cv_stdio_macros=yes
18523 else
18524 glibcxx_cv_stdio_macros=no
18525 fi
18526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18527
18528 fi
18529
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18531 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18532 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18533
18534 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18535
18536 fi
18537
18538
18539
18540 # For gettimeofday support.
18541
18542
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18544 $as_echo_n "checking for gettimeofday... " >&6; }
18545
18546
18547 ac_ext=cpp
18548 ac_cpp='$CXXCPP $CPPFLAGS'
18549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18552
18553 ac_save_CXXFLAGS="$CXXFLAGS"
18554 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18555
18556 ac_has_gettimeofday=no;
18557 for ac_header in sys/time.h
18558 do :
18559 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18560 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18561 cat >>confdefs.h <<_ACEOF
18562 #define HAVE_SYS_TIME_H 1
18563 _ACEOF
18564 ac_has_sys_time_h=yes
18565 else
18566 ac_has_sys_time_h=no
18567 fi
18568
18569 done
18570
18571 if test x"$ac_has_sys_time_h" = x"yes"; then
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18573 $as_echo_n "checking for gettimeofday... " >&6; }
18574 if test x$gcc_no_link = xyes; then
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 #include <sys/time.h>
18578 int
18579 main ()
18580 {
18581 timeval tv; gettimeofday(&tv, 0);
18582 ;
18583 return 0;
18584 }
18585 _ACEOF
18586 if ac_fn_cxx_try_compile "$LINENO"; then :
18587 ac_has_gettimeofday=yes
18588 else
18589 ac_has_gettimeofday=no
18590 fi
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 else
18593 if test x$gcc_no_link = xyes; then
18594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18595 fi
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 #include <sys/time.h>
18599 int
18600 main ()
18601 {
18602 timeval tv; gettimeofday(&tv, 0);
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 if ac_fn_cxx_try_link "$LINENO"; then :
18608 ac_has_gettimeofday=yes
18609 else
18610 ac_has_gettimeofday=no
18611 fi
18612 rm -f core conftest.err conftest.$ac_objext \
18613 conftest$ac_exeext conftest.$ac_ext
18614 fi
18615
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18617 $as_echo "$ac_has_gettimeofday" >&6; }
18618 fi
18619
18620 if test x"$ac_has_gettimeofday" = x"yes"; then
18621
18622 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18623
18624 fi
18625
18626 CXXFLAGS="$ac_save_CXXFLAGS"
18627 ac_ext=c
18628 ac_cpp='$CPP $CPPFLAGS'
18629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18632
18633
18634
18635 # For clock_gettime, nanosleep and sched_yield support.
18636 # NB: The default is [no], because otherwise it requires linking.
18637
18638
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18640 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18641 # Check whether --enable-libstdcxx-time was given.
18642 if test "${enable_libstdcxx_time+set}" = set; then :
18643 enableval=$enable_libstdcxx_time;
18644 case "$enableval" in
18645 yes|no|rt) ;;
18646 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18647 esac
18648
18649 else
18650 enable_libstdcxx_time=no
18651 fi
18652
18653
18654
18655
18656 ac_ext=cpp
18657 ac_cpp='$CXXCPP $CPPFLAGS'
18658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18661
18662 ac_save_CXXFLAGS="$CXXFLAGS"
18663 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18664 ac_save_LIBS="$LIBS"
18665
18666 ac_has_clock_monotonic=no;
18667 ac_has_clock_realtime=no;
18668
18669 if test x"$enable_libstdcxx_time" != x"no"; then
18670
18671 if test x"$enable_libstdcxx_time" = x"rt"; then
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18673 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18674 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18675 $as_echo_n "(cached) " >&6
18676 else
18677 ac_func_search_save_LIBS=$LIBS
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18680
18681 /* Override any GCC internal prototype to avoid an error.
18682 Use char because int might match the return type of a GCC
18683 builtin and then its argument prototype would still apply. */
18684 #ifdef __cplusplus
18685 extern "C"
18686 #endif
18687 char clock_gettime ();
18688 int
18689 main ()
18690 {
18691 return clock_gettime ();
18692 ;
18693 return 0;
18694 }
18695 _ACEOF
18696 for ac_lib in '' rt posix4; do
18697 if test -z "$ac_lib"; then
18698 ac_res="none required"
18699 else
18700 ac_res=-l$ac_lib
18701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18702 fi
18703 if test x$gcc_no_link = xyes; then
18704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18705 fi
18706 if ac_fn_cxx_try_link "$LINENO"; then :
18707 ac_cv_search_clock_gettime=$ac_res
18708 fi
18709 rm -f core conftest.err conftest.$ac_objext \
18710 conftest$ac_exeext
18711 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18712 break
18713 fi
18714 done
18715 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18716
18717 else
18718 ac_cv_search_clock_gettime=no
18719 fi
18720 rm conftest.$ac_ext
18721 LIBS=$ac_func_search_save_LIBS
18722 fi
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18724 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18725 ac_res=$ac_cv_search_clock_gettime
18726 if test "$ac_res" != no; then :
18727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18728
18729 fi
18730
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18732 $as_echo_n "checking for library containing nanosleep... " >&6; }
18733 if test "${ac_cv_search_nanosleep+set}" = set; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18736 ac_func_search_save_LIBS=$LIBS
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739
18740 /* Override any GCC internal prototype to avoid an error.
18741 Use char because int might match the return type of a GCC
18742 builtin and then its argument prototype would still apply. */
18743 #ifdef __cplusplus
18744 extern "C"
18745 #endif
18746 char nanosleep ();
18747 int
18748 main ()
18749 {
18750 return nanosleep ();
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 for ac_lib in '' rt posix4; do
18756 if test -z "$ac_lib"; then
18757 ac_res="none required"
18758 else
18759 ac_res=-l$ac_lib
18760 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18761 fi
18762 if test x$gcc_no_link = xyes; then
18763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18764 fi
18765 if ac_fn_cxx_try_link "$LINENO"; then :
18766 ac_cv_search_nanosleep=$ac_res
18767 fi
18768 rm -f core conftest.err conftest.$ac_objext \
18769 conftest$ac_exeext
18770 if test "${ac_cv_search_nanosleep+set}" = set; then :
18771 break
18772 fi
18773 done
18774 if test "${ac_cv_search_nanosleep+set}" = set; then :
18775
18776 else
18777 ac_cv_search_nanosleep=no
18778 fi
18779 rm conftest.$ac_ext
18780 LIBS=$ac_func_search_save_LIBS
18781 fi
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18783 $as_echo "$ac_cv_search_nanosleep" >&6; }
18784 ac_res=$ac_cv_search_nanosleep
18785 if test "$ac_res" != no; then :
18786 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18787
18788 fi
18789
18790 else
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18792 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18793 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 ac_func_search_save_LIBS=$LIBS
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799
18800 /* Override any GCC internal prototype to avoid an error.
18801 Use char because int might match the return type of a GCC
18802 builtin and then its argument prototype would still apply. */
18803 #ifdef __cplusplus
18804 extern "C"
18805 #endif
18806 char clock_gettime ();
18807 int
18808 main ()
18809 {
18810 return clock_gettime ();
18811 ;
18812 return 0;
18813 }
18814 _ACEOF
18815 for ac_lib in '' posix4; do
18816 if test -z "$ac_lib"; then
18817 ac_res="none required"
18818 else
18819 ac_res=-l$ac_lib
18820 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18821 fi
18822 if test x$gcc_no_link = xyes; then
18823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18824 fi
18825 if ac_fn_cxx_try_link "$LINENO"; then :
18826 ac_cv_search_clock_gettime=$ac_res
18827 fi
18828 rm -f core conftest.err conftest.$ac_objext \
18829 conftest$ac_exeext
18830 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18831 break
18832 fi
18833 done
18834 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18835
18836 else
18837 ac_cv_search_clock_gettime=no
18838 fi
18839 rm conftest.$ac_ext
18840 LIBS=$ac_func_search_save_LIBS
18841 fi
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18843 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18844 ac_res=$ac_cv_search_clock_gettime
18845 if test "$ac_res" != no; then :
18846 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18847
18848 fi
18849
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18851 $as_echo_n "checking for library containing nanosleep... " >&6; }
18852 if test "${ac_cv_search_nanosleep+set}" = set; then :
18853 $as_echo_n "(cached) " >&6
18854 else
18855 ac_func_search_save_LIBS=$LIBS
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858
18859 /* Override any GCC internal prototype to avoid an error.
18860 Use char because int might match the return type of a GCC
18861 builtin and then its argument prototype would still apply. */
18862 #ifdef __cplusplus
18863 extern "C"
18864 #endif
18865 char nanosleep ();
18866 int
18867 main ()
18868 {
18869 return nanosleep ();
18870 ;
18871 return 0;
18872 }
18873 _ACEOF
18874 for ac_lib in '' posix4; do
18875 if test -z "$ac_lib"; then
18876 ac_res="none required"
18877 else
18878 ac_res=-l$ac_lib
18879 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18880 fi
18881 if test x$gcc_no_link = xyes; then
18882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18883 fi
18884 if ac_fn_cxx_try_link "$LINENO"; then :
18885 ac_cv_search_nanosleep=$ac_res
18886 fi
18887 rm -f core conftest.err conftest.$ac_objext \
18888 conftest$ac_exeext
18889 if test "${ac_cv_search_nanosleep+set}" = set; then :
18890 break
18891 fi
18892 done
18893 if test "${ac_cv_search_nanosleep+set}" = set; then :
18894
18895 else
18896 ac_cv_search_nanosleep=no
18897 fi
18898 rm conftest.$ac_ext
18899 LIBS=$ac_func_search_save_LIBS
18900 fi
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18902 $as_echo "$ac_cv_search_nanosleep" >&6; }
18903 ac_res=$ac_cv_search_nanosleep
18904 if test "$ac_res" != no; then :
18905 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18906
18907 fi
18908
18909 fi
18910
18911 case "$ac_cv_search_clock_gettime" in
18912 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
18913 ;;
18914 esac
18915 case "$ac_cv_search_nanosleep" in
18916 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
18917 ;;
18918 esac
18919
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
18921 $as_echo_n "checking for library containing sched_yield... " >&6; }
18922 if test "${ac_cv_search_sched_yield+set}" = set; then :
18923 $as_echo_n "(cached) " >&6
18924 else
18925 ac_func_search_save_LIBS=$LIBS
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928
18929 /* Override any GCC internal prototype to avoid an error.
18930 Use char because int might match the return type of a GCC
18931 builtin and then its argument prototype would still apply. */
18932 #ifdef __cplusplus
18933 extern "C"
18934 #endif
18935 char sched_yield ();
18936 int
18937 main ()
18938 {
18939 return sched_yield ();
18940 ;
18941 return 0;
18942 }
18943 _ACEOF
18944 for ac_lib in '' rt posix4; do
18945 if test -z "$ac_lib"; then
18946 ac_res="none required"
18947 else
18948 ac_res=-l$ac_lib
18949 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18950 fi
18951 if test x$gcc_no_link = xyes; then
18952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18953 fi
18954 if ac_fn_cxx_try_link "$LINENO"; then :
18955 ac_cv_search_sched_yield=$ac_res
18956 fi
18957 rm -f core conftest.err conftest.$ac_objext \
18958 conftest$ac_exeext
18959 if test "${ac_cv_search_sched_yield+set}" = set; then :
18960 break
18961 fi
18962 done
18963 if test "${ac_cv_search_sched_yield+set}" = set; then :
18964
18965 else
18966 ac_cv_search_sched_yield=no
18967 fi
18968 rm conftest.$ac_ext
18969 LIBS=$ac_func_search_save_LIBS
18970 fi
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
18972 $as_echo "$ac_cv_search_sched_yield" >&6; }
18973 ac_res=$ac_cv_search_sched_yield
18974 if test "$ac_res" != no; then :
18975 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18976
18977 fi
18978
18979
18980 case "$ac_cv_search_sched_yield" in
18981 -lposix4*)
18982 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
18983
18984 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
18985
18986 ;;
18987 -lrt*)
18988 if test x"$enable_libstdcxx_time" = x"rt"; then
18989 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
18990
18991 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
18992
18993 fi
18994 ;;
18995 *)
18996
18997 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
18998
18999 ;;
19000 esac
19001
19002 for ac_header in unistd.h
19003 do :
19004 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19005 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_UNISTD_H 1
19008 _ACEOF
19009 ac_has_unistd_h=yes
19010 else
19011 ac_has_unistd_h=no
19012 fi
19013
19014 done
19015
19016
19017 if test x"$ac_has_unistd_h" = x"yes"; then
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19019 $as_echo_n "checking for monotonic clock... " >&6; }
19020 if test x$gcc_no_link = xyes; then
19021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19022 fi
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 #include <unistd.h>
19026 #include <time.h>
19027
19028 int
19029 main ()
19030 {
19031 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19032 timespec tp;
19033 #endif
19034 clock_gettime(CLOCK_MONOTONIC, &tp);
19035
19036 ;
19037 return 0;
19038 }
19039 _ACEOF
19040 if ac_fn_cxx_try_link "$LINENO"; then :
19041 ac_has_clock_monotonic=yes
19042 else
19043 ac_has_clock_monotonic=no
19044 fi
19045 rm -f core conftest.err conftest.$ac_objext \
19046 conftest$ac_exeext conftest.$ac_ext
19047
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19049 $as_echo "$ac_has_clock_monotonic" >&6; }
19050
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19052 $as_echo_n "checking for realtime clock... " >&6; }
19053 if test x$gcc_no_link = xyes; then
19054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19055 fi
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 #include <unistd.h>
19059 #include <time.h>
19060
19061 int
19062 main ()
19063 {
19064 #if _POSIX_TIMERS > 0
19065 timespec tp;
19066 #endif
19067 clock_gettime(CLOCK_REALTIME, &tp);
19068
19069 ;
19070 return 0;
19071 }
19072 _ACEOF
19073 if ac_fn_cxx_try_link "$LINENO"; then :
19074 ac_has_clock_realtime=yes
19075 else
19076 ac_has_clock_realtime=no
19077 fi
19078 rm -f core conftest.err conftest.$ac_objext \
19079 conftest$ac_exeext conftest.$ac_ext
19080
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19082 $as_echo "$ac_has_clock_realtime" >&6; }
19083
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19085 $as_echo_n "checking for nanosleep... " >&6; }
19086 if test x$gcc_no_link = xyes; then
19087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19088 fi
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 #include <unistd.h>
19092 #include <time.h>
19093
19094 int
19095 main ()
19096 {
19097 #if _POSIX_TIMERS > 0
19098 timespec tp;
19099 #endif
19100 nanosleep(&tp, 0);
19101
19102 ;
19103 return 0;
19104 }
19105 _ACEOF
19106 if ac_fn_cxx_try_link "$LINENO"; then :
19107 ac_has_nanosleep=yes
19108 else
19109 ac_has_nanosleep=no
19110 fi
19111 rm -f core conftest.err conftest.$ac_objext \
19112 conftest$ac_exeext conftest.$ac_ext
19113
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19115 $as_echo "$ac_has_nanosleep" >&6; }
19116 fi
19117 fi
19118
19119 if test x"$ac_has_clock_monotonic" = x"yes"; then
19120
19121 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19122
19123 fi
19124
19125 if test x"$ac_has_clock_realtime" = x"yes"; then
19126
19127 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19128
19129 fi
19130
19131 if test x"$ac_has_nanosleep" = x"yes"; then
19132
19133 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19134
19135 fi
19136
19137
19138
19139 CXXFLAGS="$ac_save_CXXFLAGS"
19140 LIBS="$ac_save_LIBS"
19141 ac_ext=c
19142 ac_cpp='$CPP $CPPFLAGS'
19143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19146
19147
19148
19149 # For gthread support
19150
19151
19152 ac_ext=cpp
19153 ac_cpp='$CXXCPP $CPPFLAGS'
19154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19157
19158
19159 ac_save_CXXFLAGS="$CXXFLAGS"
19160 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19161
19162 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19163 case $target_thread_file in
19164 posix)
19165 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19166 esac
19167
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19169 $as_echo_n "checking for gthreads library... " >&6; }
19170
19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19173 #include "gthr.h"
19174 int
19175 main ()
19176 {
19177
19178 #ifndef __GTHREADS_CXX0X
19179 #error
19180 #endif
19181
19182 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19183 #if (defined(_PTHREADS) \
19184 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19185 #error
19186 #endif
19187
19188 ;
19189 return 0;
19190 }
19191 _ACEOF
19192 if ac_fn_cxx_try_compile "$LINENO"; then :
19193 ac_has_gthreads=yes
19194 else
19195 ac_has_gthreads=no
19196 fi
19197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19198
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19200 $as_echo "$ac_has_gthreads" >&6; }
19201
19202 if test x"$ac_has_gthreads" = x"yes"; then
19203
19204 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19205
19206 fi
19207
19208 CXXFLAGS="$ac_save_CXXFLAGS"
19209 ac_ext=c
19210 ac_cpp='$CPP $CPPFLAGS'
19211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19214
19215
19216
19217
19218 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19219 if test "x$ac_cv_header_locale_h" = x""yes; then :
19220
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19222 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19223 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19224 $as_echo_n "(cached) " >&6
19225 else
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 #include <locale.h>
19229 int
19230 main ()
19231 {
19232 return LC_MESSAGES
19233 ;
19234 return 0;
19235 }
19236 _ACEOF
19237 if ac_fn_c_try_compile "$LINENO"; then :
19238 ac_cv_val_LC_MESSAGES=yes
19239 else
19240 ac_cv_val_LC_MESSAGES=no
19241 fi
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243 fi
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19245 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19246 if test $ac_cv_val_LC_MESSAGES = yes; then
19247
19248 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19249
19250 fi
19251
19252 fi
19253
19254
19255
19256
19257 # Check for available headers.
19258 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
19259 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19260 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19261 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19262 wchar.h wctype.h
19263 do :
19264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19265 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19266 eval as_val=\$$as_ac_Header
19267 if test "x$as_val" = x""yes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19270 _ACEOF
19271
19272 fi
19273
19274 done
19275
19276
19277 # Only do link tests if native. Else, hardcode.
19278 if $GLIBCXX_IS_NATIVE; then
19279
19280 # We can do more elaborate tests that assume a working linker.
19281 CANADIAN=no
19282
19283
19284
19285 # Check whether --with-gnu-ld was given.
19286 if test "${with_gnu_ld+set}" = set; then :
19287 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19288 else
19289 with_gnu_ld=no
19290 fi
19291
19292 ac_prog=ld
19293 if test "$GCC" = yes; then
19294 # Check if gcc -print-prog-name=ld gives a path.
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19296 $as_echo_n "checking for ld used by $CC... " >&6; }
19297 case $host in
19298 *-*-mingw*)
19299 # gcc leaves a trailing carriage return which upsets mingw
19300 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19301 *)
19302 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19303 esac
19304 case $ac_prog in
19305 # Accept absolute paths.
19306 [\\/]* | ?:[\\/]*)
19307 re_direlt='/[^/][^/]*/\.\./'
19308 # Canonicalize the pathname of ld
19309 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19310 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19311 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19312 done
19313 test -z "$LD" && LD="$ac_prog"
19314 ;;
19315 "")
19316 # If it fails, then pretend we aren't using GCC.
19317 ac_prog=ld
19318 ;;
19319 *)
19320 # If it is relative, then search for the first ld in PATH.
19321 with_gnu_ld=unknown
19322 ;;
19323 esac
19324 elif test "$with_gnu_ld" = yes; then
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19326 $as_echo_n "checking for GNU ld... " >&6; }
19327 else
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19329 $as_echo_n "checking for non-GNU ld... " >&6; }
19330 fi
19331 if test "${lt_cv_path_LD+set}" = set; then :
19332 $as_echo_n "(cached) " >&6
19333 else
19334 if test -z "$LD"; then
19335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19336 for ac_dir in $PATH; do
19337 IFS="$lt_save_ifs"
19338 test -z "$ac_dir" && ac_dir=.
19339 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19340 lt_cv_path_LD="$ac_dir/$ac_prog"
19341 # Check to see if the program is GNU ld. I'd rather use --version,
19342 # but apparently some variants of GNU ld only accept -v.
19343 # Break only if it was the GNU/non-GNU ld that we prefer.
19344 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19345 *GNU* | *'with BFD'*)
19346 test "$with_gnu_ld" != no && break
19347 ;;
19348 *)
19349 test "$with_gnu_ld" != yes && break
19350 ;;
19351 esac
19352 fi
19353 done
19354 IFS="$lt_save_ifs"
19355 else
19356 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19357 fi
19358 fi
19359
19360 LD="$lt_cv_path_LD"
19361 if test -n "$LD"; then
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19363 $as_echo "$LD" >&6; }
19364 else
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19366 $as_echo "no" >&6; }
19367 fi
19368 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19370 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19371 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19374 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19375 case `$LD -v 2>&1 </dev/null` in
19376 *GNU* | *'with BFD'*)
19377 lt_cv_prog_gnu_ld=yes
19378 ;;
19379 *)
19380 lt_cv_prog_gnu_ld=no
19381 ;;
19382 esac
19383 fi
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19385 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19386 with_gnu_ld=$lt_cv_prog_gnu_ld
19387
19388
19389
19390
19391
19392
19393
19394 # If we're not using GNU ld, then there's no point in even trying these
19395 # tests. Check for that first. We should have already tested for gld
19396 # by now (in libtool), but require it now just to be safe...
19397 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19398 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19399
19400
19401
19402 # The name set by libtool depends on the version of libtool. Shame on us
19403 # for depending on an impl detail, but c'est la vie. Older versions used
19404 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19405 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19406 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19407 # set (hence we're using an older libtool), then set it.
19408 if test x${with_gnu_ld+set} != xset; then
19409 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19410 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19411 with_gnu_ld=no
19412 else
19413 with_gnu_ld=$ac_cv_prog_gnu_ld
19414 fi
19415 fi
19416
19417 # Start by getting the version number. I think the libtool test already
19418 # does some of this, but throws away the result.
19419 glibcxx_ld_is_gold=no
19420 if test x"$with_gnu_ld" = x"yes"; then
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19422 $as_echo_n "checking for ld version... " >&6; }
19423
19424 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19425 glibcxx_ld_is_gold=yes
19426 fi
19427 ldver=`$LD --version 2>/dev/null |
19428 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'`
19429
19430 glibcxx_gnu_ld_version=`echo $ldver | \
19431 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19433 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19434 fi
19435
19436 # Set --gc-sections.
19437 glibcxx_have_gc_sections=no
19438 if test "$glibcxx_ld_is_gold" = "yes"; then
19439 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19440 glibcxx_have_gc_sections=yes
19441 fi
19442 else
19443 glibcxx_gcsections_min_ld=21602
19444 if test x"$with_gnu_ld" = x"yes" &&
19445 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19446 glibcxx_have_gc_sections=yes
19447 fi
19448 fi
19449 if test "$glibcxx_have_gc_sections" = "yes"; then
19450 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19451 # NB: This flag only works reliably after 2.16.1. Configure tests
19452 # for this are difficult, so hard wire a value that should work.
19453
19454 ac_test_CFLAGS="${CFLAGS+set}"
19455 ac_save_CFLAGS="$CFLAGS"
19456 CFLAGS='-Wl,--gc-sections'
19457
19458 # Check for -Wl,--gc-sections
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19460 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19461 if test x$gcc_no_link = xyes; then
19462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19463 fi
19464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19465 /* end confdefs.h. */
19466 int one(void) { return 1; }
19467 int two(void) { return 2; }
19468
19469 int
19470 main ()
19471 {
19472 two();
19473 ;
19474 return 0;
19475 }
19476 _ACEOF
19477 if ac_fn_c_try_link "$LINENO"; then :
19478 ac_gcsections=yes
19479 else
19480 ac_gcsections=no
19481 fi
19482 rm -f core conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext conftest.$ac_ext
19484 if test "$ac_gcsections" = "yes"; then
19485 rm -f conftest.c
19486 touch conftest.c
19487 if $CC -c conftest.c; then
19488 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19489 grep "Warning: gc-sections option ignored" > /dev/null; then
19490 ac_gcsections=no
19491 fi
19492 fi
19493 rm -f conftest.c conftest.o conftest
19494 fi
19495 if test "$ac_gcsections" = "yes"; then
19496 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19497 fi
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19499 $as_echo "$ac_gcsections" >&6; }
19500
19501 if test "$ac_test_CFLAGS" = set; then
19502 CFLAGS="$ac_save_CFLAGS"
19503 else
19504 # this is the suspicious part
19505 CFLAGS=''
19506 fi
19507 fi
19508
19509 # Set -z,relro.
19510 # Note this is only for shared objects.
19511 ac_ld_relro=no
19512 if test x"$with_gnu_ld" = x"yes"; then
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19514 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19515 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19516 if test -n "$cxx_z_relo"; then
19517 OPT_LDFLAGS="-Wl,-z,relro"
19518 ac_ld_relro=yes
19519 fi
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19521 $as_echo "$ac_ld_relro" >&6; }
19522 fi
19523
19524 # Set linker optimization flags.
19525 if test x"$with_gnu_ld" = x"yes"; then
19526 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19527 fi
19528
19529
19530
19531
19532
19533 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19534 ac_save_CXXFLAGS="$CXXFLAGS"
19535 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19536
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19538 $as_echo_n "checking for sin in -lm... " >&6; }
19539 if test "${ac_cv_lib_m_sin+set}" = set; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542 ac_check_lib_save_LIBS=$LIBS
19543 LIBS="-lm $LIBS"
19544 if test x$gcc_no_link = xyes; then
19545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19546 fi
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549
19550 /* Override any GCC internal prototype to avoid an error.
19551 Use char because int might match the return type of a GCC
19552 builtin and then its argument prototype would still apply. */
19553 #ifdef __cplusplus
19554 extern "C"
19555 #endif
19556 char sin ();
19557 int
19558 main ()
19559 {
19560 return sin ();
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 if ac_fn_c_try_link "$LINENO"; then :
19566 ac_cv_lib_m_sin=yes
19567 else
19568 ac_cv_lib_m_sin=no
19569 fi
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19572 LIBS=$ac_check_lib_save_LIBS
19573 fi
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19575 $as_echo "$ac_cv_lib_m_sin" >&6; }
19576 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19577 libm="-lm"
19578 fi
19579
19580 ac_save_LIBS="$LIBS"
19581 LIBS="$LIBS $libm"
19582
19583
19584
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19586 $as_echo_n "checking for isinf declaration... " >&6; }
19587 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19588 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19589 $as_echo_n "(cached) " >&6
19590 else
19591
19592
19593 ac_ext=cpp
19594 ac_cpp='$CXXCPP $CPPFLAGS'
19595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19598
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #include <math.h>
19602 #ifdef HAVE_IEEEFP_H
19603 #include <ieeefp.h>
19604 #endif
19605
19606 int
19607 main ()
19608 {
19609 isinf(0);
19610 ;
19611 return 0;
19612 }
19613 _ACEOF
19614 if ac_fn_cxx_try_compile "$LINENO"; then :
19615 glibcxx_cv_func_isinf_use=yes
19616 else
19617 glibcxx_cv_func_isinf_use=no
19618 fi
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 ac_ext=c
19621 ac_cpp='$CPP $CPPFLAGS'
19622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19625
19626
19627 fi
19628
19629 fi
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19631 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19632
19633 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19634 for ac_func in isinf
19635 do :
19636 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19637 if test "x$ac_cv_func_isinf" = x""yes; then :
19638 cat >>confdefs.h <<_ACEOF
19639 #define HAVE_ISINF 1
19640 _ACEOF
19641
19642 fi
19643 done
19644
19645 else
19646
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19648 $as_echo_n "checking for _isinf declaration... " >&6; }
19649 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19650 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19651 $as_echo_n "(cached) " >&6
19652 else
19653
19654
19655 ac_ext=cpp
19656 ac_cpp='$CXXCPP $CPPFLAGS'
19657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19660
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19663 #include <math.h>
19664 #ifdef HAVE_IEEEFP_H
19665 #include <ieeefp.h>
19666 #endif
19667
19668 int
19669 main ()
19670 {
19671 _isinf(0);
19672 ;
19673 return 0;
19674 }
19675 _ACEOF
19676 if ac_fn_cxx_try_compile "$LINENO"; then :
19677 glibcxx_cv_func__isinf_use=yes
19678 else
19679 glibcxx_cv_func__isinf_use=no
19680 fi
19681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682 ac_ext=c
19683 ac_cpp='$CPP $CPPFLAGS'
19684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19687
19688
19689 fi
19690
19691 fi
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19693 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19694
19695 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19696 for ac_func in _isinf
19697 do :
19698 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19699 if test "x$ac_cv_func__isinf" = x""yes; then :
19700 cat >>confdefs.h <<_ACEOF
19701 #define HAVE__ISINF 1
19702 _ACEOF
19703
19704 fi
19705 done
19706
19707 fi
19708 fi
19709
19710
19711
19712
19713
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19715 $as_echo_n "checking for isnan declaration... " >&6; }
19716 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19717 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19718 $as_echo_n "(cached) " >&6
19719 else
19720
19721
19722 ac_ext=cpp
19723 ac_cpp='$CXXCPP $CPPFLAGS'
19724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19727
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #include <math.h>
19731 #ifdef HAVE_IEEEFP_H
19732 #include <ieeefp.h>
19733 #endif
19734
19735 int
19736 main ()
19737 {
19738 isnan(0);
19739 ;
19740 return 0;
19741 }
19742 _ACEOF
19743 if ac_fn_cxx_try_compile "$LINENO"; then :
19744 glibcxx_cv_func_isnan_use=yes
19745 else
19746 glibcxx_cv_func_isnan_use=no
19747 fi
19748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19749 ac_ext=c
19750 ac_cpp='$CPP $CPPFLAGS'
19751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19754
19755
19756 fi
19757
19758 fi
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19760 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19761
19762 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19763 for ac_func in isnan
19764 do :
19765 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19766 if test "x$ac_cv_func_isnan" = x""yes; then :
19767 cat >>confdefs.h <<_ACEOF
19768 #define HAVE_ISNAN 1
19769 _ACEOF
19770
19771 fi
19772 done
19773
19774 else
19775
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19777 $as_echo_n "checking for _isnan declaration... " >&6; }
19778 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19779 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19780 $as_echo_n "(cached) " >&6
19781 else
19782
19783
19784 ac_ext=cpp
19785 ac_cpp='$CXXCPP $CPPFLAGS'
19786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19789
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #include <math.h>
19793 #ifdef HAVE_IEEEFP_H
19794 #include <ieeefp.h>
19795 #endif
19796
19797 int
19798 main ()
19799 {
19800 _isnan(0);
19801 ;
19802 return 0;
19803 }
19804 _ACEOF
19805 if ac_fn_cxx_try_compile "$LINENO"; then :
19806 glibcxx_cv_func__isnan_use=yes
19807 else
19808 glibcxx_cv_func__isnan_use=no
19809 fi
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 ac_ext=c
19812 ac_cpp='$CPP $CPPFLAGS'
19813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19816
19817
19818 fi
19819
19820 fi
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19822 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19823
19824 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19825 for ac_func in _isnan
19826 do :
19827 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19828 if test "x$ac_cv_func__isnan" = x""yes; then :
19829 cat >>confdefs.h <<_ACEOF
19830 #define HAVE__ISNAN 1
19831 _ACEOF
19832
19833 fi
19834 done
19835
19836 fi
19837 fi
19838
19839
19840
19841
19842
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
19844 $as_echo_n "checking for finite declaration... " >&6; }
19845 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19846 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19849
19850
19851 ac_ext=cpp
19852 ac_cpp='$CXXCPP $CPPFLAGS'
19853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19856
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19859 #include <math.h>
19860 #ifdef HAVE_IEEEFP_H
19861 #include <ieeefp.h>
19862 #endif
19863
19864 int
19865 main ()
19866 {
19867 finite(0);
19868 ;
19869 return 0;
19870 }
19871 _ACEOF
19872 if ac_fn_cxx_try_compile "$LINENO"; then :
19873 glibcxx_cv_func_finite_use=yes
19874 else
19875 glibcxx_cv_func_finite_use=no
19876 fi
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878 ac_ext=c
19879 ac_cpp='$CPP $CPPFLAGS'
19880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19883
19884
19885 fi
19886
19887 fi
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
19889 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
19890
19891 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19892 for ac_func in finite
19893 do :
19894 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
19895 if test "x$ac_cv_func_finite" = x""yes; then :
19896 cat >>confdefs.h <<_ACEOF
19897 #define HAVE_FINITE 1
19898 _ACEOF
19899
19900 fi
19901 done
19902
19903 else
19904
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
19906 $as_echo_n "checking for _finite declaration... " >&6; }
19907 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19908 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
19909 $as_echo_n "(cached) " >&6
19910 else
19911
19912
19913 ac_ext=cpp
19914 ac_cpp='$CXXCPP $CPPFLAGS'
19915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19918
19919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19921 #include <math.h>
19922 #ifdef HAVE_IEEEFP_H
19923 #include <ieeefp.h>
19924 #endif
19925
19926 int
19927 main ()
19928 {
19929 _finite(0);
19930 ;
19931 return 0;
19932 }
19933 _ACEOF
19934 if ac_fn_cxx_try_compile "$LINENO"; then :
19935 glibcxx_cv_func__finite_use=yes
19936 else
19937 glibcxx_cv_func__finite_use=no
19938 fi
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 ac_ext=c
19941 ac_cpp='$CPP $CPPFLAGS'
19942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19945
19946
19947 fi
19948
19949 fi
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
19951 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
19952
19953 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19954 for ac_func in _finite
19955 do :
19956 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
19957 if test "x$ac_cv_func__finite" = x""yes; then :
19958 cat >>confdefs.h <<_ACEOF
19959 #define HAVE__FINITE 1
19960 _ACEOF
19961
19962 fi
19963 done
19964
19965 fi
19966 fi
19967
19968
19969
19970
19971
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
19973 $as_echo_n "checking for sincos declaration... " >&6; }
19974 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19975 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
19976 $as_echo_n "(cached) " >&6
19977 else
19978
19979
19980 ac_ext=cpp
19981 ac_cpp='$CXXCPP $CPPFLAGS'
19982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19985
19986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19987 /* end confdefs.h. */
19988 #include <math.h>
19989 int
19990 main ()
19991 {
19992 sincos(0, 0, 0);
19993 ;
19994 return 0;
19995 }
19996 _ACEOF
19997 if ac_fn_cxx_try_compile "$LINENO"; then :
19998 glibcxx_cv_func_sincos_use=yes
19999 else
20000 glibcxx_cv_func_sincos_use=no
20001 fi
20002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 ac_ext=c
20004 ac_cpp='$CPP $CPPFLAGS'
20005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20008
20009
20010 fi
20011
20012 fi
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20014 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20015
20016 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20017 for ac_func in sincos
20018 do :
20019 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20020 if test "x$ac_cv_func_sincos" = x""yes; then :
20021 cat >>confdefs.h <<_ACEOF
20022 #define HAVE_SINCOS 1
20023 _ACEOF
20024
20025 fi
20026 done
20027
20028 else
20029
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20031 $as_echo_n "checking for _sincos declaration... " >&6; }
20032 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20033 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20036
20037
20038 ac_ext=cpp
20039 ac_cpp='$CXXCPP $CPPFLAGS'
20040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20043
20044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h. */
20046 #include <math.h>
20047 int
20048 main ()
20049 {
20050 _sincos(0, 0, 0);
20051 ;
20052 return 0;
20053 }
20054 _ACEOF
20055 if ac_fn_cxx_try_compile "$LINENO"; then :
20056 glibcxx_cv_func__sincos_use=yes
20057 else
20058 glibcxx_cv_func__sincos_use=no
20059 fi
20060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20061 ac_ext=c
20062 ac_cpp='$CPP $CPPFLAGS'
20063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20066
20067
20068 fi
20069
20070 fi
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20072 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20073
20074 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20075 for ac_func in _sincos
20076 do :
20077 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20078 if test "x$ac_cv_func__sincos" = x""yes; then :
20079 cat >>confdefs.h <<_ACEOF
20080 #define HAVE__SINCOS 1
20081 _ACEOF
20082
20083 fi
20084 done
20085
20086 fi
20087 fi
20088
20089
20090
20091
20092
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20094 $as_echo_n "checking for fpclass declaration... " >&6; }
20095 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20096 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20097 $as_echo_n "(cached) " >&6
20098 else
20099
20100
20101 ac_ext=cpp
20102 ac_cpp='$CXXCPP $CPPFLAGS'
20103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20106
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h. */
20109 #include <math.h>
20110 #ifdef HAVE_IEEEFP_H
20111 #include <ieeefp.h>
20112 #endif
20113
20114 int
20115 main ()
20116 {
20117 fpclass(0);
20118 ;
20119 return 0;
20120 }
20121 _ACEOF
20122 if ac_fn_cxx_try_compile "$LINENO"; then :
20123 glibcxx_cv_func_fpclass_use=yes
20124 else
20125 glibcxx_cv_func_fpclass_use=no
20126 fi
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128 ac_ext=c
20129 ac_cpp='$CPP $CPPFLAGS'
20130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20133
20134
20135 fi
20136
20137 fi
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20139 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20140
20141 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20142 for ac_func in fpclass
20143 do :
20144 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20145 if test "x$ac_cv_func_fpclass" = x""yes; then :
20146 cat >>confdefs.h <<_ACEOF
20147 #define HAVE_FPCLASS 1
20148 _ACEOF
20149
20150 fi
20151 done
20152
20153 else
20154
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20156 $as_echo_n "checking for _fpclass declaration... " >&6; }
20157 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20158 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20159 $as_echo_n "(cached) " >&6
20160 else
20161
20162
20163 ac_ext=cpp
20164 ac_cpp='$CXXCPP $CPPFLAGS'
20165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20168
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20171 #include <math.h>
20172 #ifdef HAVE_IEEEFP_H
20173 #include <ieeefp.h>
20174 #endif
20175
20176 int
20177 main ()
20178 {
20179 _fpclass(0);
20180 ;
20181 return 0;
20182 }
20183 _ACEOF
20184 if ac_fn_cxx_try_compile "$LINENO"; then :
20185 glibcxx_cv_func__fpclass_use=yes
20186 else
20187 glibcxx_cv_func__fpclass_use=no
20188 fi
20189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20190 ac_ext=c
20191 ac_cpp='$CPP $CPPFLAGS'
20192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20195
20196
20197 fi
20198
20199 fi
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20201 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20202
20203 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20204 for ac_func in _fpclass
20205 do :
20206 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20207 if test "x$ac_cv_func__fpclass" = x""yes; then :
20208 cat >>confdefs.h <<_ACEOF
20209 #define HAVE__FPCLASS 1
20210 _ACEOF
20211
20212 fi
20213 done
20214
20215 fi
20216 fi
20217
20218
20219
20220
20221
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20223 $as_echo_n "checking for qfpclass declaration... " >&6; }
20224 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20225 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20226 $as_echo_n "(cached) " >&6
20227 else
20228
20229
20230 ac_ext=cpp
20231 ac_cpp='$CXXCPP $CPPFLAGS'
20232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20235
20236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20237 /* end confdefs.h. */
20238 #include <math.h>
20239 #ifdef HAVE_IEEEFP_H
20240 #include <ieeefp.h>
20241 #endif
20242
20243 int
20244 main ()
20245 {
20246 qfpclass(0);
20247 ;
20248 return 0;
20249 }
20250 _ACEOF
20251 if ac_fn_cxx_try_compile "$LINENO"; then :
20252 glibcxx_cv_func_qfpclass_use=yes
20253 else
20254 glibcxx_cv_func_qfpclass_use=no
20255 fi
20256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20257 ac_ext=c
20258 ac_cpp='$CPP $CPPFLAGS'
20259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20262
20263
20264 fi
20265
20266 fi
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20268 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20269
20270 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20271 for ac_func in qfpclass
20272 do :
20273 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20274 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20275 cat >>confdefs.h <<_ACEOF
20276 #define HAVE_QFPCLASS 1
20277 _ACEOF
20278
20279 fi
20280 done
20281
20282 else
20283
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20285 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20286 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20287 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20288 $as_echo_n "(cached) " >&6
20289 else
20290
20291
20292 ac_ext=cpp
20293 ac_cpp='$CXXCPP $CPPFLAGS'
20294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20297
20298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20300 #include <math.h>
20301 #ifdef HAVE_IEEEFP_H
20302 #include <ieeefp.h>
20303 #endif
20304
20305 int
20306 main ()
20307 {
20308 _qfpclass(0);
20309 ;
20310 return 0;
20311 }
20312 _ACEOF
20313 if ac_fn_cxx_try_compile "$LINENO"; then :
20314 glibcxx_cv_func__qfpclass_use=yes
20315 else
20316 glibcxx_cv_func__qfpclass_use=no
20317 fi
20318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20319 ac_ext=c
20320 ac_cpp='$CPP $CPPFLAGS'
20321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20324
20325
20326 fi
20327
20328 fi
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20330 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20331
20332 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20333 for ac_func in _qfpclass
20334 do :
20335 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20336 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20337 cat >>confdefs.h <<_ACEOF
20338 #define HAVE__QFPCLASS 1
20339 _ACEOF
20340
20341 fi
20342 done
20343
20344 fi
20345 fi
20346
20347
20348
20349
20350
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20352 $as_echo_n "checking for hypot declaration... " >&6; }
20353 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20354 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20355 $as_echo_n "(cached) " >&6
20356 else
20357
20358
20359 ac_ext=cpp
20360 ac_cpp='$CXXCPP $CPPFLAGS'
20361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20364
20365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20366 /* end confdefs.h. */
20367 #include <math.h>
20368 int
20369 main ()
20370 {
20371 hypot(0, 0);
20372 ;
20373 return 0;
20374 }
20375 _ACEOF
20376 if ac_fn_cxx_try_compile "$LINENO"; then :
20377 glibcxx_cv_func_hypot_use=yes
20378 else
20379 glibcxx_cv_func_hypot_use=no
20380 fi
20381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20382 ac_ext=c
20383 ac_cpp='$CPP $CPPFLAGS'
20384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20387
20388
20389 fi
20390
20391 fi
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20393 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20394
20395 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20396 for ac_func in hypot
20397 do :
20398 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20399 if test "x$ac_cv_func_hypot" = x""yes; then :
20400 cat >>confdefs.h <<_ACEOF
20401 #define HAVE_HYPOT 1
20402 _ACEOF
20403
20404 fi
20405 done
20406
20407 else
20408
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20410 $as_echo_n "checking for _hypot declaration... " >&6; }
20411 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20412 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20413 $as_echo_n "(cached) " >&6
20414 else
20415
20416
20417 ac_ext=cpp
20418 ac_cpp='$CXXCPP $CPPFLAGS'
20419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20422
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20425 #include <math.h>
20426 int
20427 main ()
20428 {
20429 _hypot(0, 0);
20430 ;
20431 return 0;
20432 }
20433 _ACEOF
20434 if ac_fn_cxx_try_compile "$LINENO"; then :
20435 glibcxx_cv_func__hypot_use=yes
20436 else
20437 glibcxx_cv_func__hypot_use=no
20438 fi
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20440 ac_ext=c
20441 ac_cpp='$CPP $CPPFLAGS'
20442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20445
20446
20447 fi
20448
20449 fi
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20451 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20452
20453 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20454 for ac_func in _hypot
20455 do :
20456 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20457 if test "x$ac_cv_func__hypot" = x""yes; then :
20458 cat >>confdefs.h <<_ACEOF
20459 #define HAVE__HYPOT 1
20460 _ACEOF
20461
20462 fi
20463 done
20464
20465 fi
20466 fi
20467
20468
20469
20470
20471
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20473 $as_echo_n "checking for float trig functions... " >&6; }
20474 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20475 $as_echo_n "(cached) " >&6
20476 else
20477
20478
20479 ac_ext=cpp
20480 ac_cpp='$CXXCPP $CPPFLAGS'
20481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20484
20485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20487 #include <math.h>
20488 int
20489 main ()
20490 {
20491 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 if ac_fn_cxx_try_compile "$LINENO"; then :
20497 glibcxx_cv_func_float_trig_use=yes
20498 else
20499 glibcxx_cv_func_float_trig_use=no
20500 fi
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502 ac_ext=c
20503 ac_cpp='$CPP $CPPFLAGS'
20504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20507
20508 fi
20509
20510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20511 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20512 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20513 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20514 do :
20515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20517 eval as_val=\$$as_ac_var
20518 if test "x$as_val" = x""yes; then :
20519 cat >>confdefs.h <<_ACEOF
20520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20521 _ACEOF
20522
20523 fi
20524 done
20525
20526 else
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20528 $as_echo_n "checking for _float trig functions... " >&6; }
20529 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20530 $as_echo_n "(cached) " >&6
20531 else
20532
20533
20534 ac_ext=cpp
20535 ac_cpp='$CXXCPP $CPPFLAGS'
20536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20539
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 #include <math.h>
20543 int
20544 main ()
20545 {
20546 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20547 ;
20548 return 0;
20549 }
20550 _ACEOF
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552 glibcxx_cv_func__float_trig_use=yes
20553 else
20554 glibcxx_cv_func__float_trig_use=no
20555 fi
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 ac_ext=c
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20562
20563 fi
20564
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20566 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20567 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20568 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20569 do :
20570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20572 eval as_val=\$$as_ac_var
20573 if test "x$as_val" = x""yes; then :
20574 cat >>confdefs.h <<_ACEOF
20575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20576 _ACEOF
20577
20578 fi
20579 done
20580
20581 fi
20582 fi
20583
20584
20585
20586
20587
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20589 $as_echo_n "checking for float round functions... " >&6; }
20590 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20591 $as_echo_n "(cached) " >&6
20592 else
20593
20594
20595 ac_ext=cpp
20596 ac_cpp='$CXXCPP $CPPFLAGS'
20597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20600
20601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602 /* end confdefs.h. */
20603 #include <math.h>
20604 int
20605 main ()
20606 {
20607 ceilf (0); floorf (0);
20608 ;
20609 return 0;
20610 }
20611 _ACEOF
20612 if ac_fn_cxx_try_compile "$LINENO"; then :
20613 glibcxx_cv_func_float_round_use=yes
20614 else
20615 glibcxx_cv_func_float_round_use=no
20616 fi
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 ac_ext=c
20619 ac_cpp='$CPP $CPPFLAGS'
20620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20623
20624 fi
20625
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20627 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20628 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20629 for ac_func in ceilf floorf
20630 do :
20631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20633 eval as_val=\$$as_ac_var
20634 if test "x$as_val" = x""yes; then :
20635 cat >>confdefs.h <<_ACEOF
20636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20637 _ACEOF
20638
20639 fi
20640 done
20641
20642 else
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20644 $as_echo_n "checking for _float round functions... " >&6; }
20645 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20648
20649
20650 ac_ext=cpp
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20655
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20658 #include <math.h>
20659 int
20660 main ()
20661 {
20662 _ceilf (0); _floorf (0);
20663 ;
20664 return 0;
20665 }
20666 _ACEOF
20667 if ac_fn_cxx_try_compile "$LINENO"; then :
20668 glibcxx_cv_func__float_round_use=yes
20669 else
20670 glibcxx_cv_func__float_round_use=no
20671 fi
20672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20673 ac_ext=c
20674 ac_cpp='$CPP $CPPFLAGS'
20675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20678
20679 fi
20680
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20682 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20683 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20684 for ac_func in _ceilf _floorf
20685 do :
20686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20688 eval as_val=\$$as_ac_var
20689 if test "x$as_val" = x""yes; then :
20690 cat >>confdefs.h <<_ACEOF
20691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20692 _ACEOF
20693
20694 fi
20695 done
20696
20697 fi
20698 fi
20699
20700
20701
20702
20703
20704
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20706 $as_echo_n "checking for expf declaration... " >&6; }
20707 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20708 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20709 $as_echo_n "(cached) " >&6
20710 else
20711
20712
20713 ac_ext=cpp
20714 ac_cpp='$CXXCPP $CPPFLAGS'
20715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20718
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20721 #include <math.h>
20722 #ifdef HAVE_IEEEFP_H
20723 #include <ieeefp.h>
20724 #endif
20725
20726 int
20727 main ()
20728 {
20729 expf(0);
20730 ;
20731 return 0;
20732 }
20733 _ACEOF
20734 if ac_fn_cxx_try_compile "$LINENO"; then :
20735 glibcxx_cv_func_expf_use=yes
20736 else
20737 glibcxx_cv_func_expf_use=no
20738 fi
20739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20740 ac_ext=c
20741 ac_cpp='$CPP $CPPFLAGS'
20742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20745
20746
20747 fi
20748
20749 fi
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20751 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20752
20753 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20754 for ac_func in expf
20755 do :
20756 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20757 if test "x$ac_cv_func_expf" = x""yes; then :
20758 cat >>confdefs.h <<_ACEOF
20759 #define HAVE_EXPF 1
20760 _ACEOF
20761
20762 fi
20763 done
20764
20765 else
20766
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20768 $as_echo_n "checking for _expf declaration... " >&6; }
20769 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20770 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20771 $as_echo_n "(cached) " >&6
20772 else
20773
20774
20775 ac_ext=cpp
20776 ac_cpp='$CXXCPP $CPPFLAGS'
20777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20780
20781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20782 /* end confdefs.h. */
20783 #include <math.h>
20784 #ifdef HAVE_IEEEFP_H
20785 #include <ieeefp.h>
20786 #endif
20787
20788 int
20789 main ()
20790 {
20791 _expf(0);
20792 ;
20793 return 0;
20794 }
20795 _ACEOF
20796 if ac_fn_cxx_try_compile "$LINENO"; then :
20797 glibcxx_cv_func__expf_use=yes
20798 else
20799 glibcxx_cv_func__expf_use=no
20800 fi
20801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802 ac_ext=c
20803 ac_cpp='$CPP $CPPFLAGS'
20804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20807
20808
20809 fi
20810
20811 fi
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20813 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20814
20815 if test x$glibcxx_cv_func__expf_use = x"yes"; then
20816 for ac_func in _expf
20817 do :
20818 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20819 if test "x$ac_cv_func__expf" = x""yes; then :
20820 cat >>confdefs.h <<_ACEOF
20821 #define HAVE__EXPF 1
20822 _ACEOF
20823
20824 fi
20825 done
20826
20827 fi
20828 fi
20829
20830
20831
20832
20833
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20835 $as_echo_n "checking for isnanf declaration... " >&6; }
20836 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20837 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20838 $as_echo_n "(cached) " >&6
20839 else
20840
20841
20842 ac_ext=cpp
20843 ac_cpp='$CXXCPP $CPPFLAGS'
20844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20847
20848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20850 #include <math.h>
20851 #ifdef HAVE_IEEEFP_H
20852 #include <ieeefp.h>
20853 #endif
20854
20855 int
20856 main ()
20857 {
20858 isnanf(0);
20859 ;
20860 return 0;
20861 }
20862 _ACEOF
20863 if ac_fn_cxx_try_compile "$LINENO"; then :
20864 glibcxx_cv_func_isnanf_use=yes
20865 else
20866 glibcxx_cv_func_isnanf_use=no
20867 fi
20868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 ac_ext=c
20870 ac_cpp='$CPP $CPPFLAGS'
20871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20874
20875
20876 fi
20877
20878 fi
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
20880 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
20881
20882 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
20883 for ac_func in isnanf
20884 do :
20885 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
20886 if test "x$ac_cv_func_isnanf" = x""yes; then :
20887 cat >>confdefs.h <<_ACEOF
20888 #define HAVE_ISNANF 1
20889 _ACEOF
20890
20891 fi
20892 done
20893
20894 else
20895
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
20897 $as_echo_n "checking for _isnanf declaration... " >&6; }
20898 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
20899 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
20900 $as_echo_n "(cached) " >&6
20901 else
20902
20903
20904 ac_ext=cpp
20905 ac_cpp='$CXXCPP $CPPFLAGS'
20906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20909
20910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20911 /* end confdefs.h. */
20912 #include <math.h>
20913 #ifdef HAVE_IEEEFP_H
20914 #include <ieeefp.h>
20915 #endif
20916
20917 int
20918 main ()
20919 {
20920 _isnanf(0);
20921 ;
20922 return 0;
20923 }
20924 _ACEOF
20925 if ac_fn_cxx_try_compile "$LINENO"; then :
20926 glibcxx_cv_func__isnanf_use=yes
20927 else
20928 glibcxx_cv_func__isnanf_use=no
20929 fi
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 ac_ext=c
20932 ac_cpp='$CPP $CPPFLAGS'
20933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20936
20937
20938 fi
20939
20940 fi
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
20942 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
20943
20944 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
20945 for ac_func in _isnanf
20946 do :
20947 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
20948 if test "x$ac_cv_func__isnanf" = x""yes; then :
20949 cat >>confdefs.h <<_ACEOF
20950 #define HAVE__ISNANF 1
20951 _ACEOF
20952
20953 fi
20954 done
20955
20956 fi
20957 fi
20958
20959
20960
20961
20962
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
20964 $as_echo_n "checking for isinff declaration... " >&6; }
20965 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
20966 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
20967 $as_echo_n "(cached) " >&6
20968 else
20969
20970
20971 ac_ext=cpp
20972 ac_cpp='$CXXCPP $CPPFLAGS'
20973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20976
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <math.h>
20980 #ifdef HAVE_IEEEFP_H
20981 #include <ieeefp.h>
20982 #endif
20983
20984 int
20985 main ()
20986 {
20987 isinff(0);
20988 ;
20989 return 0;
20990 }
20991 _ACEOF
20992 if ac_fn_cxx_try_compile "$LINENO"; then :
20993 glibcxx_cv_func_isinff_use=yes
20994 else
20995 glibcxx_cv_func_isinff_use=no
20996 fi
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 ac_ext=c
20999 ac_cpp='$CPP $CPPFLAGS'
21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21003
21004
21005 fi
21006
21007 fi
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21009 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21010
21011 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21012 for ac_func in isinff
21013 do :
21014 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21015 if test "x$ac_cv_func_isinff" = x""yes; then :
21016 cat >>confdefs.h <<_ACEOF
21017 #define HAVE_ISINFF 1
21018 _ACEOF
21019
21020 fi
21021 done
21022
21023 else
21024
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21026 $as_echo_n "checking for _isinff declaration... " >&6; }
21027 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21028 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21029 $as_echo_n "(cached) " >&6
21030 else
21031
21032
21033 ac_ext=cpp
21034 ac_cpp='$CXXCPP $CPPFLAGS'
21035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21038
21039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21041 #include <math.h>
21042 #ifdef HAVE_IEEEFP_H
21043 #include <ieeefp.h>
21044 #endif
21045
21046 int
21047 main ()
21048 {
21049 _isinff(0);
21050 ;
21051 return 0;
21052 }
21053 _ACEOF
21054 if ac_fn_cxx_try_compile "$LINENO"; then :
21055 glibcxx_cv_func__isinff_use=yes
21056 else
21057 glibcxx_cv_func__isinff_use=no
21058 fi
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21060 ac_ext=c
21061 ac_cpp='$CPP $CPPFLAGS'
21062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21065
21066
21067 fi
21068
21069 fi
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21071 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21072
21073 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21074 for ac_func in _isinff
21075 do :
21076 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21077 if test "x$ac_cv_func__isinff" = x""yes; then :
21078 cat >>confdefs.h <<_ACEOF
21079 #define HAVE__ISINFF 1
21080 _ACEOF
21081
21082 fi
21083 done
21084
21085 fi
21086 fi
21087
21088
21089
21090
21091
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21093 $as_echo_n "checking for atan2f declaration... " >&6; }
21094 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21095 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21096 $as_echo_n "(cached) " >&6
21097 else
21098
21099
21100 ac_ext=cpp
21101 ac_cpp='$CXXCPP $CPPFLAGS'
21102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21105
21106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21108 #include <math.h>
21109 int
21110 main ()
21111 {
21112 atan2f(0, 0);
21113 ;
21114 return 0;
21115 }
21116 _ACEOF
21117 if ac_fn_cxx_try_compile "$LINENO"; then :
21118 glibcxx_cv_func_atan2f_use=yes
21119 else
21120 glibcxx_cv_func_atan2f_use=no
21121 fi
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123 ac_ext=c
21124 ac_cpp='$CPP $CPPFLAGS'
21125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21128
21129
21130 fi
21131
21132 fi
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21134 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21135
21136 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21137 for ac_func in atan2f
21138 do :
21139 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21140 if test "x$ac_cv_func_atan2f" = x""yes; then :
21141 cat >>confdefs.h <<_ACEOF
21142 #define HAVE_ATAN2F 1
21143 _ACEOF
21144
21145 fi
21146 done
21147
21148 else
21149
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21151 $as_echo_n "checking for _atan2f declaration... " >&6; }
21152 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21153 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21154 $as_echo_n "(cached) " >&6
21155 else
21156
21157
21158 ac_ext=cpp
21159 ac_cpp='$CXXCPP $CPPFLAGS'
21160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21163
21164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21165 /* end confdefs.h. */
21166 #include <math.h>
21167 int
21168 main ()
21169 {
21170 _atan2f(0, 0);
21171 ;
21172 return 0;
21173 }
21174 _ACEOF
21175 if ac_fn_cxx_try_compile "$LINENO"; then :
21176 glibcxx_cv_func__atan2f_use=yes
21177 else
21178 glibcxx_cv_func__atan2f_use=no
21179 fi
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 ac_ext=c
21182 ac_cpp='$CPP $CPPFLAGS'
21183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21186
21187
21188 fi
21189
21190 fi
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21192 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21193
21194 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21195 for ac_func in _atan2f
21196 do :
21197 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21198 if test "x$ac_cv_func__atan2f" = x""yes; then :
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE__ATAN2F 1
21201 _ACEOF
21202
21203 fi
21204 done
21205
21206 fi
21207 fi
21208
21209
21210
21211
21212
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21214 $as_echo_n "checking for fabsf declaration... " >&6; }
21215 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21216 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21217 $as_echo_n "(cached) " >&6
21218 else
21219
21220
21221 ac_ext=cpp
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21226
21227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h. */
21229 #include <math.h>
21230 #ifdef HAVE_IEEEFP_H
21231 #include <ieeefp.h>
21232 #endif
21233
21234 int
21235 main ()
21236 {
21237 fabsf(0);
21238 ;
21239 return 0;
21240 }
21241 _ACEOF
21242 if ac_fn_cxx_try_compile "$LINENO"; then :
21243 glibcxx_cv_func_fabsf_use=yes
21244 else
21245 glibcxx_cv_func_fabsf_use=no
21246 fi
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 ac_ext=c
21249 ac_cpp='$CPP $CPPFLAGS'
21250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21253
21254
21255 fi
21256
21257 fi
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21259 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21260
21261 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21262 for ac_func in fabsf
21263 do :
21264 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21265 if test "x$ac_cv_func_fabsf" = x""yes; then :
21266 cat >>confdefs.h <<_ACEOF
21267 #define HAVE_FABSF 1
21268 _ACEOF
21269
21270 fi
21271 done
21272
21273 else
21274
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21276 $as_echo_n "checking for _fabsf declaration... " >&6; }
21277 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21278 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21280 else
21281
21282
21283 ac_ext=cpp
21284 ac_cpp='$CXXCPP $CPPFLAGS'
21285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21288
21289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21290 /* end confdefs.h. */
21291 #include <math.h>
21292 #ifdef HAVE_IEEEFP_H
21293 #include <ieeefp.h>
21294 #endif
21295
21296 int
21297 main ()
21298 {
21299 _fabsf(0);
21300 ;
21301 return 0;
21302 }
21303 _ACEOF
21304 if ac_fn_cxx_try_compile "$LINENO"; then :
21305 glibcxx_cv_func__fabsf_use=yes
21306 else
21307 glibcxx_cv_func__fabsf_use=no
21308 fi
21309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21310 ac_ext=c
21311 ac_cpp='$CPP $CPPFLAGS'
21312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21315
21316
21317 fi
21318
21319 fi
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21321 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21322
21323 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21324 for ac_func in _fabsf
21325 do :
21326 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21327 if test "x$ac_cv_func__fabsf" = x""yes; then :
21328 cat >>confdefs.h <<_ACEOF
21329 #define HAVE__FABSF 1
21330 _ACEOF
21331
21332 fi
21333 done
21334
21335 fi
21336 fi
21337
21338
21339
21340
21341
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21343 $as_echo_n "checking for fmodf declaration... " >&6; }
21344 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21345 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21346 $as_echo_n "(cached) " >&6
21347 else
21348
21349
21350 ac_ext=cpp
21351 ac_cpp='$CXXCPP $CPPFLAGS'
21352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21355
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21358 #include <math.h>
21359 int
21360 main ()
21361 {
21362 fmodf(0, 0);
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 if ac_fn_cxx_try_compile "$LINENO"; then :
21368 glibcxx_cv_func_fmodf_use=yes
21369 else
21370 glibcxx_cv_func_fmodf_use=no
21371 fi
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 ac_ext=c
21374 ac_cpp='$CPP $CPPFLAGS'
21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21378
21379
21380 fi
21381
21382 fi
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21384 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21385
21386 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21387 for ac_func in fmodf
21388 do :
21389 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21390 if test "x$ac_cv_func_fmodf" = x""yes; then :
21391 cat >>confdefs.h <<_ACEOF
21392 #define HAVE_FMODF 1
21393 _ACEOF
21394
21395 fi
21396 done
21397
21398 else
21399
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21401 $as_echo_n "checking for _fmodf declaration... " >&6; }
21402 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21403 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21404 $as_echo_n "(cached) " >&6
21405 else
21406
21407
21408 ac_ext=cpp
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21413
21414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h. */
21416 #include <math.h>
21417 int
21418 main ()
21419 {
21420 _fmodf(0, 0);
21421 ;
21422 return 0;
21423 }
21424 _ACEOF
21425 if ac_fn_cxx_try_compile "$LINENO"; then :
21426 glibcxx_cv_func__fmodf_use=yes
21427 else
21428 glibcxx_cv_func__fmodf_use=no
21429 fi
21430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21431 ac_ext=c
21432 ac_cpp='$CPP $CPPFLAGS'
21433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21436
21437
21438 fi
21439
21440 fi
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21442 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21443
21444 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21445 for ac_func in _fmodf
21446 do :
21447 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21448 if test "x$ac_cv_func__fmodf" = x""yes; then :
21449 cat >>confdefs.h <<_ACEOF
21450 #define HAVE__FMODF 1
21451 _ACEOF
21452
21453 fi
21454 done
21455
21456 fi
21457 fi
21458
21459
21460
21461
21462
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21464 $as_echo_n "checking for frexpf declaration... " >&6; }
21465 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21466 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21467 $as_echo_n "(cached) " >&6
21468 else
21469
21470
21471 ac_ext=cpp
21472 ac_cpp='$CXXCPP $CPPFLAGS'
21473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21476
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 #include <math.h>
21480 int
21481 main ()
21482 {
21483 frexpf(0, 0);
21484 ;
21485 return 0;
21486 }
21487 _ACEOF
21488 if ac_fn_cxx_try_compile "$LINENO"; then :
21489 glibcxx_cv_func_frexpf_use=yes
21490 else
21491 glibcxx_cv_func_frexpf_use=no
21492 fi
21493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21494 ac_ext=c
21495 ac_cpp='$CPP $CPPFLAGS'
21496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21499
21500
21501 fi
21502
21503 fi
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21505 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21506
21507 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21508 for ac_func in frexpf
21509 do :
21510 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21511 if test "x$ac_cv_func_frexpf" = x""yes; then :
21512 cat >>confdefs.h <<_ACEOF
21513 #define HAVE_FREXPF 1
21514 _ACEOF
21515
21516 fi
21517 done
21518
21519 else
21520
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21522 $as_echo_n "checking for _frexpf declaration... " >&6; }
21523 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21524 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21525 $as_echo_n "(cached) " >&6
21526 else
21527
21528
21529 ac_ext=cpp
21530 ac_cpp='$CXXCPP $CPPFLAGS'
21531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534
21535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21537 #include <math.h>
21538 int
21539 main ()
21540 {
21541 _frexpf(0, 0);
21542 ;
21543 return 0;
21544 }
21545 _ACEOF
21546 if ac_fn_cxx_try_compile "$LINENO"; then :
21547 glibcxx_cv_func__frexpf_use=yes
21548 else
21549 glibcxx_cv_func__frexpf_use=no
21550 fi
21551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21552 ac_ext=c
21553 ac_cpp='$CPP $CPPFLAGS'
21554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21557
21558
21559 fi
21560
21561 fi
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21563 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21564
21565 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21566 for ac_func in _frexpf
21567 do :
21568 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21569 if test "x$ac_cv_func__frexpf" = x""yes; then :
21570 cat >>confdefs.h <<_ACEOF
21571 #define HAVE__FREXPF 1
21572 _ACEOF
21573
21574 fi
21575 done
21576
21577 fi
21578 fi
21579
21580
21581
21582
21583
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21585 $as_echo_n "checking for hypotf declaration... " >&6; }
21586 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21587 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21588 $as_echo_n "(cached) " >&6
21589 else
21590
21591
21592 ac_ext=cpp
21593 ac_cpp='$CXXCPP $CPPFLAGS'
21594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21597
21598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h. */
21600 #include <math.h>
21601 int
21602 main ()
21603 {
21604 hypotf(0, 0);
21605 ;
21606 return 0;
21607 }
21608 _ACEOF
21609 if ac_fn_cxx_try_compile "$LINENO"; then :
21610 glibcxx_cv_func_hypotf_use=yes
21611 else
21612 glibcxx_cv_func_hypotf_use=no
21613 fi
21614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 ac_ext=c
21616 ac_cpp='$CPP $CPPFLAGS'
21617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21620
21621
21622 fi
21623
21624 fi
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21626 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21627
21628 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21629 for ac_func in hypotf
21630 do :
21631 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21632 if test "x$ac_cv_func_hypotf" = x""yes; then :
21633 cat >>confdefs.h <<_ACEOF
21634 #define HAVE_HYPOTF 1
21635 _ACEOF
21636
21637 fi
21638 done
21639
21640 else
21641
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21643 $as_echo_n "checking for _hypotf declaration... " >&6; }
21644 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21645 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21646 $as_echo_n "(cached) " >&6
21647 else
21648
21649
21650 ac_ext=cpp
21651 ac_cpp='$CXXCPP $CPPFLAGS'
21652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21655
21656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21657 /* end confdefs.h. */
21658 #include <math.h>
21659 int
21660 main ()
21661 {
21662 _hypotf(0, 0);
21663 ;
21664 return 0;
21665 }
21666 _ACEOF
21667 if ac_fn_cxx_try_compile "$LINENO"; then :
21668 glibcxx_cv_func__hypotf_use=yes
21669 else
21670 glibcxx_cv_func__hypotf_use=no
21671 fi
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 ac_ext=c
21674 ac_cpp='$CPP $CPPFLAGS'
21675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21678
21679
21680 fi
21681
21682 fi
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21684 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21685
21686 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21687 for ac_func in _hypotf
21688 do :
21689 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21690 if test "x$ac_cv_func__hypotf" = x""yes; then :
21691 cat >>confdefs.h <<_ACEOF
21692 #define HAVE__HYPOTF 1
21693 _ACEOF
21694
21695 fi
21696 done
21697
21698 fi
21699 fi
21700
21701
21702
21703
21704
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21706 $as_echo_n "checking for ldexpf declaration... " >&6; }
21707 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21708 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21709 $as_echo_n "(cached) " >&6
21710 else
21711
21712
21713 ac_ext=cpp
21714 ac_cpp='$CXXCPP $CPPFLAGS'
21715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21718
21719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21720 /* end confdefs.h. */
21721 #include <math.h>
21722 int
21723 main ()
21724 {
21725 ldexpf(0, 0);
21726 ;
21727 return 0;
21728 }
21729 _ACEOF
21730 if ac_fn_cxx_try_compile "$LINENO"; then :
21731 glibcxx_cv_func_ldexpf_use=yes
21732 else
21733 glibcxx_cv_func_ldexpf_use=no
21734 fi
21735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21736 ac_ext=c
21737 ac_cpp='$CPP $CPPFLAGS'
21738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21741
21742
21743 fi
21744
21745 fi
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21747 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21748
21749 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21750 for ac_func in ldexpf
21751 do :
21752 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21753 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21754 cat >>confdefs.h <<_ACEOF
21755 #define HAVE_LDEXPF 1
21756 _ACEOF
21757
21758 fi
21759 done
21760
21761 else
21762
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21764 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21765 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21766 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21767 $as_echo_n "(cached) " >&6
21768 else
21769
21770
21771 ac_ext=cpp
21772 ac_cpp='$CXXCPP $CPPFLAGS'
21773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21776
21777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21778 /* end confdefs.h. */
21779 #include <math.h>
21780 int
21781 main ()
21782 {
21783 _ldexpf(0, 0);
21784 ;
21785 return 0;
21786 }
21787 _ACEOF
21788 if ac_fn_cxx_try_compile "$LINENO"; then :
21789 glibcxx_cv_func__ldexpf_use=yes
21790 else
21791 glibcxx_cv_func__ldexpf_use=no
21792 fi
21793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21794 ac_ext=c
21795 ac_cpp='$CPP $CPPFLAGS'
21796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21799
21800
21801 fi
21802
21803 fi
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21805 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21806
21807 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21808 for ac_func in _ldexpf
21809 do :
21810 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21811 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21812 cat >>confdefs.h <<_ACEOF
21813 #define HAVE__LDEXPF 1
21814 _ACEOF
21815
21816 fi
21817 done
21818
21819 fi
21820 fi
21821
21822
21823
21824
21825
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21827 $as_echo_n "checking for logf declaration... " >&6; }
21828 if test x${glibcxx_cv_func_logf_use+set} != xset; then
21829 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21830 $as_echo_n "(cached) " >&6
21831 else
21832
21833
21834 ac_ext=cpp
21835 ac_cpp='$CXXCPP $CPPFLAGS'
21836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21839
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h. */
21842 #include <math.h>
21843 #ifdef HAVE_IEEEFP_H
21844 #include <ieeefp.h>
21845 #endif
21846
21847 int
21848 main ()
21849 {
21850 logf(0);
21851 ;
21852 return 0;
21853 }
21854 _ACEOF
21855 if ac_fn_cxx_try_compile "$LINENO"; then :
21856 glibcxx_cv_func_logf_use=yes
21857 else
21858 glibcxx_cv_func_logf_use=no
21859 fi
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 ac_ext=c
21862 ac_cpp='$CPP $CPPFLAGS'
21863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21866
21867
21868 fi
21869
21870 fi
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
21872 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
21873
21874 if test x$glibcxx_cv_func_logf_use = x"yes"; then
21875 for ac_func in logf
21876 do :
21877 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
21878 if test "x$ac_cv_func_logf" = x""yes; then :
21879 cat >>confdefs.h <<_ACEOF
21880 #define HAVE_LOGF 1
21881 _ACEOF
21882
21883 fi
21884 done
21885
21886 else
21887
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
21889 $as_echo_n "checking for _logf declaration... " >&6; }
21890 if test x${glibcxx_cv_func__logf_use+set} != xset; then
21891 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
21892 $as_echo_n "(cached) " >&6
21893 else
21894
21895
21896 ac_ext=cpp
21897 ac_cpp='$CXXCPP $CPPFLAGS'
21898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21901
21902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21903 /* end confdefs.h. */
21904 #include <math.h>
21905 #ifdef HAVE_IEEEFP_H
21906 #include <ieeefp.h>
21907 #endif
21908
21909 int
21910 main ()
21911 {
21912 _logf(0);
21913 ;
21914 return 0;
21915 }
21916 _ACEOF
21917 if ac_fn_cxx_try_compile "$LINENO"; then :
21918 glibcxx_cv_func__logf_use=yes
21919 else
21920 glibcxx_cv_func__logf_use=no
21921 fi
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21923 ac_ext=c
21924 ac_cpp='$CPP $CPPFLAGS'
21925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21928
21929
21930 fi
21931
21932 fi
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
21934 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
21935
21936 if test x$glibcxx_cv_func__logf_use = x"yes"; then
21937 for ac_func in _logf
21938 do :
21939 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
21940 if test "x$ac_cv_func__logf" = x""yes; then :
21941 cat >>confdefs.h <<_ACEOF
21942 #define HAVE__LOGF 1
21943 _ACEOF
21944
21945 fi
21946 done
21947
21948 fi
21949 fi
21950
21951
21952
21953
21954
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
21956 $as_echo_n "checking for log10f declaration... " >&6; }
21957 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
21958 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
21959 $as_echo_n "(cached) " >&6
21960 else
21961
21962
21963 ac_ext=cpp
21964 ac_cpp='$CXXCPP $CPPFLAGS'
21965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21968
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21971 #include <math.h>
21972 #ifdef HAVE_IEEEFP_H
21973 #include <ieeefp.h>
21974 #endif
21975
21976 int
21977 main ()
21978 {
21979 log10f(0);
21980 ;
21981 return 0;
21982 }
21983 _ACEOF
21984 if ac_fn_cxx_try_compile "$LINENO"; then :
21985 glibcxx_cv_func_log10f_use=yes
21986 else
21987 glibcxx_cv_func_log10f_use=no
21988 fi
21989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21990 ac_ext=c
21991 ac_cpp='$CPP $CPPFLAGS'
21992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21995
21996
21997 fi
21998
21999 fi
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22001 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22002
22003 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22004 for ac_func in log10f
22005 do :
22006 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22007 if test "x$ac_cv_func_log10f" = x""yes; then :
22008 cat >>confdefs.h <<_ACEOF
22009 #define HAVE_LOG10F 1
22010 _ACEOF
22011
22012 fi
22013 done
22014
22015 else
22016
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22018 $as_echo_n "checking for _log10f declaration... " >&6; }
22019 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22020 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22021 $as_echo_n "(cached) " >&6
22022 else
22023
22024
22025 ac_ext=cpp
22026 ac_cpp='$CXXCPP $CPPFLAGS'
22027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22030
22031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22032 /* end confdefs.h. */
22033 #include <math.h>
22034 #ifdef HAVE_IEEEFP_H
22035 #include <ieeefp.h>
22036 #endif
22037
22038 int
22039 main ()
22040 {
22041 _log10f(0);
22042 ;
22043 return 0;
22044 }
22045 _ACEOF
22046 if ac_fn_cxx_try_compile "$LINENO"; then :
22047 glibcxx_cv_func__log10f_use=yes
22048 else
22049 glibcxx_cv_func__log10f_use=no
22050 fi
22051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22052 ac_ext=c
22053 ac_cpp='$CPP $CPPFLAGS'
22054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22057
22058
22059 fi
22060
22061 fi
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22063 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22064
22065 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22066 for ac_func in _log10f
22067 do :
22068 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22069 if test "x$ac_cv_func__log10f" = x""yes; then :
22070 cat >>confdefs.h <<_ACEOF
22071 #define HAVE__LOG10F 1
22072 _ACEOF
22073
22074 fi
22075 done
22076
22077 fi
22078 fi
22079
22080
22081
22082
22083
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22085 $as_echo_n "checking for modff declaration... " >&6; }
22086 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22087 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22088 $as_echo_n "(cached) " >&6
22089 else
22090
22091
22092 ac_ext=cpp
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22097
22098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22099 /* end confdefs.h. */
22100 #include <math.h>
22101 int
22102 main ()
22103 {
22104 modff(0, 0);
22105 ;
22106 return 0;
22107 }
22108 _ACEOF
22109 if ac_fn_cxx_try_compile "$LINENO"; then :
22110 glibcxx_cv_func_modff_use=yes
22111 else
22112 glibcxx_cv_func_modff_use=no
22113 fi
22114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120
22121
22122 fi
22123
22124 fi
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22126 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22127
22128 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22129 for ac_func in modff
22130 do :
22131 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22132 if test "x$ac_cv_func_modff" = x""yes; then :
22133 cat >>confdefs.h <<_ACEOF
22134 #define HAVE_MODFF 1
22135 _ACEOF
22136
22137 fi
22138 done
22139
22140 else
22141
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22143 $as_echo_n "checking for _modff declaration... " >&6; }
22144 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22145 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22146 $as_echo_n "(cached) " >&6
22147 else
22148
22149
22150 ac_ext=cpp
22151 ac_cpp='$CXXCPP $CPPFLAGS'
22152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22155
22156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22157 /* end confdefs.h. */
22158 #include <math.h>
22159 int
22160 main ()
22161 {
22162 _modff(0, 0);
22163 ;
22164 return 0;
22165 }
22166 _ACEOF
22167 if ac_fn_cxx_try_compile "$LINENO"; then :
22168 glibcxx_cv_func__modff_use=yes
22169 else
22170 glibcxx_cv_func__modff_use=no
22171 fi
22172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 ac_ext=c
22174 ac_cpp='$CPP $CPPFLAGS'
22175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22178
22179
22180 fi
22181
22182 fi
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22184 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22185
22186 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22187 for ac_func in _modff
22188 do :
22189 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22190 if test "x$ac_cv_func__modff" = x""yes; then :
22191 cat >>confdefs.h <<_ACEOF
22192 #define HAVE__MODFF 1
22193 _ACEOF
22194
22195 fi
22196 done
22197
22198 fi
22199 fi
22200
22201
22202
22203
22204
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22206 $as_echo_n "checking for modf declaration... " >&6; }
22207 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22208 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22210 else
22211
22212
22213 ac_ext=cpp
22214 ac_cpp='$CXXCPP $CPPFLAGS'
22215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22218
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 #include <math.h>
22222 int
22223 main ()
22224 {
22225 modf(0, 0);
22226 ;
22227 return 0;
22228 }
22229 _ACEOF
22230 if ac_fn_cxx_try_compile "$LINENO"; then :
22231 glibcxx_cv_func_modf_use=yes
22232 else
22233 glibcxx_cv_func_modf_use=no
22234 fi
22235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22236 ac_ext=c
22237 ac_cpp='$CPP $CPPFLAGS'
22238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22241
22242
22243 fi
22244
22245 fi
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22247 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22248
22249 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22250 for ac_func in modf
22251 do :
22252 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22253 if test "x$ac_cv_func_modf" = x""yes; then :
22254 cat >>confdefs.h <<_ACEOF
22255 #define HAVE_MODF 1
22256 _ACEOF
22257
22258 fi
22259 done
22260
22261 else
22262
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22264 $as_echo_n "checking for _modf declaration... " >&6; }
22265 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22266 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22269
22270
22271 ac_ext=cpp
22272 ac_cpp='$CXXCPP $CPPFLAGS'
22273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22276
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22279 #include <math.h>
22280 int
22281 main ()
22282 {
22283 _modf(0, 0);
22284 ;
22285 return 0;
22286 }
22287 _ACEOF
22288 if ac_fn_cxx_try_compile "$LINENO"; then :
22289 glibcxx_cv_func__modf_use=yes
22290 else
22291 glibcxx_cv_func__modf_use=no
22292 fi
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 ac_ext=c
22295 ac_cpp='$CPP $CPPFLAGS'
22296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22299
22300
22301 fi
22302
22303 fi
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22305 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22306
22307 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22308 for ac_func in _modf
22309 do :
22310 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22311 if test "x$ac_cv_func__modf" = x""yes; then :
22312 cat >>confdefs.h <<_ACEOF
22313 #define HAVE__MODF 1
22314 _ACEOF
22315
22316 fi
22317 done
22318
22319 fi
22320 fi
22321
22322
22323
22324
22325
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22327 $as_echo_n "checking for powf declaration... " >&6; }
22328 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22329 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22332
22333
22334 ac_ext=cpp
22335 ac_cpp='$CXXCPP $CPPFLAGS'
22336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22339
22340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22342 #include <math.h>
22343 int
22344 main ()
22345 {
22346 powf(0, 0);
22347 ;
22348 return 0;
22349 }
22350 _ACEOF
22351 if ac_fn_cxx_try_compile "$LINENO"; then :
22352 glibcxx_cv_func_powf_use=yes
22353 else
22354 glibcxx_cv_func_powf_use=no
22355 fi
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357 ac_ext=c
22358 ac_cpp='$CPP $CPPFLAGS'
22359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22362
22363
22364 fi
22365
22366 fi
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22368 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22369
22370 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22371 for ac_func in powf
22372 do :
22373 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22374 if test "x$ac_cv_func_powf" = x""yes; then :
22375 cat >>confdefs.h <<_ACEOF
22376 #define HAVE_POWF 1
22377 _ACEOF
22378
22379 fi
22380 done
22381
22382 else
22383
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22385 $as_echo_n "checking for _powf declaration... " >&6; }
22386 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22387 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22388 $as_echo_n "(cached) " >&6
22389 else
22390
22391
22392 ac_ext=cpp
22393 ac_cpp='$CXXCPP $CPPFLAGS'
22394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22397
22398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22399 /* end confdefs.h. */
22400 #include <math.h>
22401 int
22402 main ()
22403 {
22404 _powf(0, 0);
22405 ;
22406 return 0;
22407 }
22408 _ACEOF
22409 if ac_fn_cxx_try_compile "$LINENO"; then :
22410 glibcxx_cv_func__powf_use=yes
22411 else
22412 glibcxx_cv_func__powf_use=no
22413 fi
22414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22415 ac_ext=c
22416 ac_cpp='$CPP $CPPFLAGS'
22417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22420
22421
22422 fi
22423
22424 fi
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22426 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22427
22428 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22429 for ac_func in _powf
22430 do :
22431 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22432 if test "x$ac_cv_func__powf" = x""yes; then :
22433 cat >>confdefs.h <<_ACEOF
22434 #define HAVE__POWF 1
22435 _ACEOF
22436
22437 fi
22438 done
22439
22440 fi
22441 fi
22442
22443
22444
22445
22446
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22448 $as_echo_n "checking for sqrtf declaration... " >&6; }
22449 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22450 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22451 $as_echo_n "(cached) " >&6
22452 else
22453
22454
22455 ac_ext=cpp
22456 ac_cpp='$CXXCPP $CPPFLAGS'
22457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22460
22461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22462 /* end confdefs.h. */
22463 #include <math.h>
22464 #ifdef HAVE_IEEEFP_H
22465 #include <ieeefp.h>
22466 #endif
22467
22468 int
22469 main ()
22470 {
22471 sqrtf(0);
22472 ;
22473 return 0;
22474 }
22475 _ACEOF
22476 if ac_fn_cxx_try_compile "$LINENO"; then :
22477 glibcxx_cv_func_sqrtf_use=yes
22478 else
22479 glibcxx_cv_func_sqrtf_use=no
22480 fi
22481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22482 ac_ext=c
22483 ac_cpp='$CPP $CPPFLAGS'
22484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22487
22488
22489 fi
22490
22491 fi
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22493 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22494
22495 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22496 for ac_func in sqrtf
22497 do :
22498 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22499 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22500 cat >>confdefs.h <<_ACEOF
22501 #define HAVE_SQRTF 1
22502 _ACEOF
22503
22504 fi
22505 done
22506
22507 else
22508
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22510 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22511 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22512 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22513 $as_echo_n "(cached) " >&6
22514 else
22515
22516
22517 ac_ext=cpp
22518 ac_cpp='$CXXCPP $CPPFLAGS'
22519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522
22523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h. */
22525 #include <math.h>
22526 #ifdef HAVE_IEEEFP_H
22527 #include <ieeefp.h>
22528 #endif
22529
22530 int
22531 main ()
22532 {
22533 _sqrtf(0);
22534 ;
22535 return 0;
22536 }
22537 _ACEOF
22538 if ac_fn_cxx_try_compile "$LINENO"; then :
22539 glibcxx_cv_func__sqrtf_use=yes
22540 else
22541 glibcxx_cv_func__sqrtf_use=no
22542 fi
22543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22544 ac_ext=c
22545 ac_cpp='$CPP $CPPFLAGS'
22546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22549
22550
22551 fi
22552
22553 fi
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22555 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22556
22557 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22558 for ac_func in _sqrtf
22559 do :
22560 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22561 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22562 cat >>confdefs.h <<_ACEOF
22563 #define HAVE__SQRTF 1
22564 _ACEOF
22565
22566 fi
22567 done
22568
22569 fi
22570 fi
22571
22572
22573
22574
22575
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22577 $as_echo_n "checking for sincosf declaration... " >&6; }
22578 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22579 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22580 $as_echo_n "(cached) " >&6
22581 else
22582
22583
22584 ac_ext=cpp
22585 ac_cpp='$CXXCPP $CPPFLAGS'
22586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22589
22590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22591 /* end confdefs.h. */
22592 #include <math.h>
22593 int
22594 main ()
22595 {
22596 sincosf(0, 0, 0);
22597 ;
22598 return 0;
22599 }
22600 _ACEOF
22601 if ac_fn_cxx_try_compile "$LINENO"; then :
22602 glibcxx_cv_func_sincosf_use=yes
22603 else
22604 glibcxx_cv_func_sincosf_use=no
22605 fi
22606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 ac_ext=c
22608 ac_cpp='$CPP $CPPFLAGS'
22609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22612
22613
22614 fi
22615
22616 fi
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22618 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22619
22620 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22621 for ac_func in sincosf
22622 do :
22623 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22624 if test "x$ac_cv_func_sincosf" = x""yes; then :
22625 cat >>confdefs.h <<_ACEOF
22626 #define HAVE_SINCOSF 1
22627 _ACEOF
22628
22629 fi
22630 done
22631
22632 else
22633
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22635 $as_echo_n "checking for _sincosf declaration... " >&6; }
22636 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22637 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22638 $as_echo_n "(cached) " >&6
22639 else
22640
22641
22642 ac_ext=cpp
22643 ac_cpp='$CXXCPP $CPPFLAGS'
22644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22647
22648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22650 #include <math.h>
22651 int
22652 main ()
22653 {
22654 _sincosf(0, 0, 0);
22655 ;
22656 return 0;
22657 }
22658 _ACEOF
22659 if ac_fn_cxx_try_compile "$LINENO"; then :
22660 glibcxx_cv_func__sincosf_use=yes
22661 else
22662 glibcxx_cv_func__sincosf_use=no
22663 fi
22664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 ac_ext=c
22666 ac_cpp='$CPP $CPPFLAGS'
22667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22670
22671
22672 fi
22673
22674 fi
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22676 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22677
22678 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22679 for ac_func in _sincosf
22680 do :
22681 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22682 if test "x$ac_cv_func__sincosf" = x""yes; then :
22683 cat >>confdefs.h <<_ACEOF
22684 #define HAVE__SINCOSF 1
22685 _ACEOF
22686
22687 fi
22688 done
22689
22690 fi
22691 fi
22692
22693
22694
22695
22696
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22698 $as_echo_n "checking for finitef declaration... " >&6; }
22699 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22700 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22701 $as_echo_n "(cached) " >&6
22702 else
22703
22704
22705 ac_ext=cpp
22706 ac_cpp='$CXXCPP $CPPFLAGS'
22707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22710
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22713 #include <math.h>
22714 #ifdef HAVE_IEEEFP_H
22715 #include <ieeefp.h>
22716 #endif
22717
22718 int
22719 main ()
22720 {
22721 finitef(0);
22722 ;
22723 return 0;
22724 }
22725 _ACEOF
22726 if ac_fn_cxx_try_compile "$LINENO"; then :
22727 glibcxx_cv_func_finitef_use=yes
22728 else
22729 glibcxx_cv_func_finitef_use=no
22730 fi
22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 ac_ext=c
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22737
22738
22739 fi
22740
22741 fi
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22743 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22744
22745 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22746 for ac_func in finitef
22747 do :
22748 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22749 if test "x$ac_cv_func_finitef" = x""yes; then :
22750 cat >>confdefs.h <<_ACEOF
22751 #define HAVE_FINITEF 1
22752 _ACEOF
22753
22754 fi
22755 done
22756
22757 else
22758
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22760 $as_echo_n "checking for _finitef declaration... " >&6; }
22761 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22762 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22763 $as_echo_n "(cached) " >&6
22764 else
22765
22766
22767 ac_ext=cpp
22768 ac_cpp='$CXXCPP $CPPFLAGS'
22769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22772
22773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22774 /* end confdefs.h. */
22775 #include <math.h>
22776 #ifdef HAVE_IEEEFP_H
22777 #include <ieeefp.h>
22778 #endif
22779
22780 int
22781 main ()
22782 {
22783 _finitef(0);
22784 ;
22785 return 0;
22786 }
22787 _ACEOF
22788 if ac_fn_cxx_try_compile "$LINENO"; then :
22789 glibcxx_cv_func__finitef_use=yes
22790 else
22791 glibcxx_cv_func__finitef_use=no
22792 fi
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 ac_ext=c
22795 ac_cpp='$CPP $CPPFLAGS'
22796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22799
22800
22801 fi
22802
22803 fi
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22805 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22806
22807 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22808 for ac_func in _finitef
22809 do :
22810 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22811 if test "x$ac_cv_func__finitef" = x""yes; then :
22812 cat >>confdefs.h <<_ACEOF
22813 #define HAVE__FINITEF 1
22814 _ACEOF
22815
22816 fi
22817 done
22818
22819 fi
22820 fi
22821
22822
22823
22824
22825
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22827 $as_echo_n "checking for long double trig functions... " >&6; }
22828 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22829 $as_echo_n "(cached) " >&6
22830 else
22831
22832
22833 ac_ext=cpp
22834 ac_cpp='$CXXCPP $CPPFLAGS'
22835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22838
22839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840 /* end confdefs.h. */
22841 #include <math.h>
22842 int
22843 main ()
22844 {
22845 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 if ac_fn_cxx_try_compile "$LINENO"; then :
22851 glibcxx_cv_func_long_double_trig_use=yes
22852 else
22853 glibcxx_cv_func_long_double_trig_use=no
22854 fi
22855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22856 ac_ext=c
22857 ac_cpp='$CPP $CPPFLAGS'
22858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22861
22862 fi
22863
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
22865 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
22866 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
22867 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
22868 do :
22869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22871 eval as_val=\$$as_ac_var
22872 if test "x$as_val" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22875 _ACEOF
22876
22877 fi
22878 done
22879
22880 else
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
22882 $as_echo_n "checking for _long double trig functions... " >&6; }
22883 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
22884 $as_echo_n "(cached) " >&6
22885 else
22886
22887
22888 ac_ext=cpp
22889 ac_cpp='$CXXCPP $CPPFLAGS'
22890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22893
22894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22895 /* end confdefs.h. */
22896 #include <math.h>
22897 int
22898 main ()
22899 {
22900 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 if ac_fn_cxx_try_compile "$LINENO"; then :
22906 glibcxx_cv_func__long_double_trig_use=yes
22907 else
22908 glibcxx_cv_func__long_double_trig_use=no
22909 fi
22910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911 ac_ext=c
22912 ac_cpp='$CPP $CPPFLAGS'
22913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22916
22917 fi
22918
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
22920 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
22921 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22922 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
22923 do :
22924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22926 eval as_val=\$$as_ac_var
22927 if test "x$as_val" = x""yes; then :
22928 cat >>confdefs.h <<_ACEOF
22929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22930 _ACEOF
22931
22932 fi
22933 done
22934
22935 fi
22936 fi
22937
22938
22939
22940
22941
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
22943 $as_echo_n "checking for long double round functions... " >&6; }
22944 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
22945 $as_echo_n "(cached) " >&6
22946 else
22947
22948
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22957 #include <math.h>
22958 int
22959 main ()
22960 {
22961 ceill (0); floorl (0);
22962 ;
22963 return 0;
22964 }
22965 _ACEOF
22966 if ac_fn_cxx_try_compile "$LINENO"; then :
22967 glibcxx_cv_func_long_double_round_use=yes
22968 else
22969 glibcxx_cv_func_long_double_round_use=no
22970 fi
22971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22972 ac_ext=c
22973 ac_cpp='$CPP $CPPFLAGS'
22974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22977
22978 fi
22979
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
22981 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
22982 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
22983 for ac_func in ceill floorl
22984 do :
22985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22987 eval as_val=\$$as_ac_var
22988 if test "x$as_val" = x""yes; then :
22989 cat >>confdefs.h <<_ACEOF
22990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22991 _ACEOF
22992
22993 fi
22994 done
22995
22996 else
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
22998 $as_echo_n "checking for _long double round functions... " >&6; }
22999 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23000 $as_echo_n "(cached) " >&6
23001 else
23002
23003
23004 ac_ext=cpp
23005 ac_cpp='$CXXCPP $CPPFLAGS'
23006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23009
23010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23011 /* end confdefs.h. */
23012 #include <math.h>
23013 int
23014 main ()
23015 {
23016 _ceill (0); _floorl (0);
23017 ;
23018 return 0;
23019 }
23020 _ACEOF
23021 if ac_fn_cxx_try_compile "$LINENO"; then :
23022 glibcxx_cv_func__long_double_round_use=yes
23023 else
23024 glibcxx_cv_func__long_double_round_use=no
23025 fi
23026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23027 ac_ext=c
23028 ac_cpp='$CPP $CPPFLAGS'
23029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23032
23033 fi
23034
23035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23036 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23037 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23038 for ac_func in _ceill _floorl
23039 do :
23040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23042 eval as_val=\$$as_ac_var
23043 if test "x$as_val" = x""yes; then :
23044 cat >>confdefs.h <<_ACEOF
23045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23046 _ACEOF
23047
23048 fi
23049 done
23050
23051 fi
23052 fi
23053
23054
23055
23056
23057
23058
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23060 $as_echo_n "checking for isnanl declaration... " >&6; }
23061 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23062 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23063 $as_echo_n "(cached) " >&6
23064 else
23065
23066
23067 ac_ext=cpp
23068 ac_cpp='$CXXCPP $CPPFLAGS'
23069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23072
23073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h. */
23075 #include <math.h>
23076 #ifdef HAVE_IEEEFP_H
23077 #include <ieeefp.h>
23078 #endif
23079
23080 int
23081 main ()
23082 {
23083 isnanl(0);
23084 ;
23085 return 0;
23086 }
23087 _ACEOF
23088 if ac_fn_cxx_try_compile "$LINENO"; then :
23089 glibcxx_cv_func_isnanl_use=yes
23090 else
23091 glibcxx_cv_func_isnanl_use=no
23092 fi
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094 ac_ext=c
23095 ac_cpp='$CPP $CPPFLAGS'
23096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23099
23100
23101 fi
23102
23103 fi
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23105 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23106
23107 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23108 for ac_func in isnanl
23109 do :
23110 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23111 if test "x$ac_cv_func_isnanl" = x""yes; then :
23112 cat >>confdefs.h <<_ACEOF
23113 #define HAVE_ISNANL 1
23114 _ACEOF
23115
23116 fi
23117 done
23118
23119 else
23120
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23122 $as_echo_n "checking for _isnanl declaration... " >&6; }
23123 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23124 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23125 $as_echo_n "(cached) " >&6
23126 else
23127
23128
23129 ac_ext=cpp
23130 ac_cpp='$CXXCPP $CPPFLAGS'
23131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23134
23135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h. */
23137 #include <math.h>
23138 #ifdef HAVE_IEEEFP_H
23139 #include <ieeefp.h>
23140 #endif
23141
23142 int
23143 main ()
23144 {
23145 _isnanl(0);
23146 ;
23147 return 0;
23148 }
23149 _ACEOF
23150 if ac_fn_cxx_try_compile "$LINENO"; then :
23151 glibcxx_cv_func__isnanl_use=yes
23152 else
23153 glibcxx_cv_func__isnanl_use=no
23154 fi
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 ac_ext=c
23157 ac_cpp='$CPP $CPPFLAGS'
23158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23161
23162
23163 fi
23164
23165 fi
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23167 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23168
23169 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23170 for ac_func in _isnanl
23171 do :
23172 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23173 if test "x$ac_cv_func__isnanl" = x""yes; then :
23174 cat >>confdefs.h <<_ACEOF
23175 #define HAVE__ISNANL 1
23176 _ACEOF
23177
23178 fi
23179 done
23180
23181 fi
23182 fi
23183
23184
23185
23186
23187
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23189 $as_echo_n "checking for isinfl declaration... " >&6; }
23190 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23191 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23192 $as_echo_n "(cached) " >&6
23193 else
23194
23195
23196 ac_ext=cpp
23197 ac_cpp='$CXXCPP $CPPFLAGS'
23198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23201
23202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23203 /* end confdefs.h. */
23204 #include <math.h>
23205 #ifdef HAVE_IEEEFP_H
23206 #include <ieeefp.h>
23207 #endif
23208
23209 int
23210 main ()
23211 {
23212 isinfl(0);
23213 ;
23214 return 0;
23215 }
23216 _ACEOF
23217 if ac_fn_cxx_try_compile "$LINENO"; then :
23218 glibcxx_cv_func_isinfl_use=yes
23219 else
23220 glibcxx_cv_func_isinfl_use=no
23221 fi
23222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 ac_ext=c
23224 ac_cpp='$CPP $CPPFLAGS'
23225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23228
23229
23230 fi
23231
23232 fi
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23234 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23235
23236 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23237 for ac_func in isinfl
23238 do :
23239 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23240 if test "x$ac_cv_func_isinfl" = x""yes; then :
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_ISINFL 1
23243 _ACEOF
23244
23245 fi
23246 done
23247
23248 else
23249
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23251 $as_echo_n "checking for _isinfl declaration... " >&6; }
23252 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23253 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23254 $as_echo_n "(cached) " >&6
23255 else
23256
23257
23258 ac_ext=cpp
23259 ac_cpp='$CXXCPP $CPPFLAGS'
23260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23263
23264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265 /* end confdefs.h. */
23266 #include <math.h>
23267 #ifdef HAVE_IEEEFP_H
23268 #include <ieeefp.h>
23269 #endif
23270
23271 int
23272 main ()
23273 {
23274 _isinfl(0);
23275 ;
23276 return 0;
23277 }
23278 _ACEOF
23279 if ac_fn_cxx_try_compile "$LINENO"; then :
23280 glibcxx_cv_func__isinfl_use=yes
23281 else
23282 glibcxx_cv_func__isinfl_use=no
23283 fi
23284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23285 ac_ext=c
23286 ac_cpp='$CPP $CPPFLAGS'
23287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23290
23291
23292 fi
23293
23294 fi
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23296 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23297
23298 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23299 for ac_func in _isinfl
23300 do :
23301 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23302 if test "x$ac_cv_func__isinfl" = x""yes; then :
23303 cat >>confdefs.h <<_ACEOF
23304 #define HAVE__ISINFL 1
23305 _ACEOF
23306
23307 fi
23308 done
23309
23310 fi
23311 fi
23312
23313
23314
23315
23316
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23318 $as_echo_n "checking for atan2l declaration... " >&6; }
23319 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23320 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23321 $as_echo_n "(cached) " >&6
23322 else
23323
23324
23325 ac_ext=cpp
23326 ac_cpp='$CXXCPP $CPPFLAGS'
23327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23330
23331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23332 /* end confdefs.h. */
23333 #include <math.h>
23334 int
23335 main ()
23336 {
23337 atan2l(0, 0);
23338 ;
23339 return 0;
23340 }
23341 _ACEOF
23342 if ac_fn_cxx_try_compile "$LINENO"; then :
23343 glibcxx_cv_func_atan2l_use=yes
23344 else
23345 glibcxx_cv_func_atan2l_use=no
23346 fi
23347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23348 ac_ext=c
23349 ac_cpp='$CPP $CPPFLAGS'
23350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23353
23354
23355 fi
23356
23357 fi
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23359 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23360
23361 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23362 for ac_func in atan2l
23363 do :
23364 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23365 if test "x$ac_cv_func_atan2l" = x""yes; then :
23366 cat >>confdefs.h <<_ACEOF
23367 #define HAVE_ATAN2L 1
23368 _ACEOF
23369
23370 fi
23371 done
23372
23373 else
23374
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23376 $as_echo_n "checking for _atan2l declaration... " >&6; }
23377 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23378 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23379 $as_echo_n "(cached) " >&6
23380 else
23381
23382
23383 ac_ext=cpp
23384 ac_cpp='$CXXCPP $CPPFLAGS'
23385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23388
23389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23390 /* end confdefs.h. */
23391 #include <math.h>
23392 int
23393 main ()
23394 {
23395 _atan2l(0, 0);
23396 ;
23397 return 0;
23398 }
23399 _ACEOF
23400 if ac_fn_cxx_try_compile "$LINENO"; then :
23401 glibcxx_cv_func__atan2l_use=yes
23402 else
23403 glibcxx_cv_func__atan2l_use=no
23404 fi
23405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23406 ac_ext=c
23407 ac_cpp='$CPP $CPPFLAGS'
23408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23411
23412
23413 fi
23414
23415 fi
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23417 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23418
23419 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23420 for ac_func in _atan2l
23421 do :
23422 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23423 if test "x$ac_cv_func__atan2l" = x""yes; then :
23424 cat >>confdefs.h <<_ACEOF
23425 #define HAVE__ATAN2L 1
23426 _ACEOF
23427
23428 fi
23429 done
23430
23431 fi
23432 fi
23433
23434
23435
23436
23437
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23439 $as_echo_n "checking for expl declaration... " >&6; }
23440 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23441 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23442 $as_echo_n "(cached) " >&6
23443 else
23444
23445
23446 ac_ext=cpp
23447 ac_cpp='$CXXCPP $CPPFLAGS'
23448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23451
23452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23453 /* end confdefs.h. */
23454 #include <math.h>
23455 #ifdef HAVE_IEEEFP_H
23456 #include <ieeefp.h>
23457 #endif
23458
23459 int
23460 main ()
23461 {
23462 expl(0);
23463 ;
23464 return 0;
23465 }
23466 _ACEOF
23467 if ac_fn_cxx_try_compile "$LINENO"; then :
23468 glibcxx_cv_func_expl_use=yes
23469 else
23470 glibcxx_cv_func_expl_use=no
23471 fi
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 ac_ext=c
23474 ac_cpp='$CPP $CPPFLAGS'
23475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23478
23479
23480 fi
23481
23482 fi
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23484 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23485
23486 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23487 for ac_func in expl
23488 do :
23489 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23490 if test "x$ac_cv_func_expl" = x""yes; then :
23491 cat >>confdefs.h <<_ACEOF
23492 #define HAVE_EXPL 1
23493 _ACEOF
23494
23495 fi
23496 done
23497
23498 else
23499
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23501 $as_echo_n "checking for _expl declaration... " >&6; }
23502 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23503 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23504 $as_echo_n "(cached) " >&6
23505 else
23506
23507
23508 ac_ext=cpp
23509 ac_cpp='$CXXCPP $CPPFLAGS'
23510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23513
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23516 #include <math.h>
23517 #ifdef HAVE_IEEEFP_H
23518 #include <ieeefp.h>
23519 #endif
23520
23521 int
23522 main ()
23523 {
23524 _expl(0);
23525 ;
23526 return 0;
23527 }
23528 _ACEOF
23529 if ac_fn_cxx_try_compile "$LINENO"; then :
23530 glibcxx_cv_func__expl_use=yes
23531 else
23532 glibcxx_cv_func__expl_use=no
23533 fi
23534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535 ac_ext=c
23536 ac_cpp='$CPP $CPPFLAGS'
23537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23540
23541
23542 fi
23543
23544 fi
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23546 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23547
23548 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23549 for ac_func in _expl
23550 do :
23551 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23552 if test "x$ac_cv_func__expl" = x""yes; then :
23553 cat >>confdefs.h <<_ACEOF
23554 #define HAVE__EXPL 1
23555 _ACEOF
23556
23557 fi
23558 done
23559
23560 fi
23561 fi
23562
23563
23564
23565
23566
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23568 $as_echo_n "checking for fabsl declaration... " >&6; }
23569 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23570 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23571 $as_echo_n "(cached) " >&6
23572 else
23573
23574
23575 ac_ext=cpp
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23580
23581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23583 #include <math.h>
23584 #ifdef HAVE_IEEEFP_H
23585 #include <ieeefp.h>
23586 #endif
23587
23588 int
23589 main ()
23590 {
23591 fabsl(0);
23592 ;
23593 return 0;
23594 }
23595 _ACEOF
23596 if ac_fn_cxx_try_compile "$LINENO"; then :
23597 glibcxx_cv_func_fabsl_use=yes
23598 else
23599 glibcxx_cv_func_fabsl_use=no
23600 fi
23601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23602 ac_ext=c
23603 ac_cpp='$CPP $CPPFLAGS'
23604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23607
23608
23609 fi
23610
23611 fi
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23613 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23614
23615 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23616 for ac_func in fabsl
23617 do :
23618 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23619 if test "x$ac_cv_func_fabsl" = x""yes; then :
23620 cat >>confdefs.h <<_ACEOF
23621 #define HAVE_FABSL 1
23622 _ACEOF
23623
23624 fi
23625 done
23626
23627 else
23628
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23630 $as_echo_n "checking for _fabsl declaration... " >&6; }
23631 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23632 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23633 $as_echo_n "(cached) " >&6
23634 else
23635
23636
23637 ac_ext=cpp
23638 ac_cpp='$CXXCPP $CPPFLAGS'
23639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642
23643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23644 /* end confdefs.h. */
23645 #include <math.h>
23646 #ifdef HAVE_IEEEFP_H
23647 #include <ieeefp.h>
23648 #endif
23649
23650 int
23651 main ()
23652 {
23653 _fabsl(0);
23654 ;
23655 return 0;
23656 }
23657 _ACEOF
23658 if ac_fn_cxx_try_compile "$LINENO"; then :
23659 glibcxx_cv_func__fabsl_use=yes
23660 else
23661 glibcxx_cv_func__fabsl_use=no
23662 fi
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 ac_ext=c
23665 ac_cpp='$CPP $CPPFLAGS'
23666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23669
23670
23671 fi
23672
23673 fi
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23675 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23676
23677 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23678 for ac_func in _fabsl
23679 do :
23680 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23681 if test "x$ac_cv_func__fabsl" = x""yes; then :
23682 cat >>confdefs.h <<_ACEOF
23683 #define HAVE__FABSL 1
23684 _ACEOF
23685
23686 fi
23687 done
23688
23689 fi
23690 fi
23691
23692
23693
23694
23695
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23697 $as_echo_n "checking for fmodl declaration... " >&6; }
23698 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23699 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23700 $as_echo_n "(cached) " >&6
23701 else
23702
23703
23704 ac_ext=cpp
23705 ac_cpp='$CXXCPP $CPPFLAGS'
23706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23709
23710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23711 /* end confdefs.h. */
23712 #include <math.h>
23713 int
23714 main ()
23715 {
23716 fmodl(0, 0);
23717 ;
23718 return 0;
23719 }
23720 _ACEOF
23721 if ac_fn_cxx_try_compile "$LINENO"; then :
23722 glibcxx_cv_func_fmodl_use=yes
23723 else
23724 glibcxx_cv_func_fmodl_use=no
23725 fi
23726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23727 ac_ext=c
23728 ac_cpp='$CPP $CPPFLAGS'
23729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23732
23733
23734 fi
23735
23736 fi
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23738 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23739
23740 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23741 for ac_func in fmodl
23742 do :
23743 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23744 if test "x$ac_cv_func_fmodl" = x""yes; then :
23745 cat >>confdefs.h <<_ACEOF
23746 #define HAVE_FMODL 1
23747 _ACEOF
23748
23749 fi
23750 done
23751
23752 else
23753
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23755 $as_echo_n "checking for _fmodl declaration... " >&6; }
23756 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23757 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23758 $as_echo_n "(cached) " >&6
23759 else
23760
23761
23762 ac_ext=cpp
23763 ac_cpp='$CXXCPP $CPPFLAGS'
23764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767
23768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23769 /* end confdefs.h. */
23770 #include <math.h>
23771 int
23772 main ()
23773 {
23774 _fmodl(0, 0);
23775 ;
23776 return 0;
23777 }
23778 _ACEOF
23779 if ac_fn_cxx_try_compile "$LINENO"; then :
23780 glibcxx_cv_func__fmodl_use=yes
23781 else
23782 glibcxx_cv_func__fmodl_use=no
23783 fi
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23785 ac_ext=c
23786 ac_cpp='$CPP $CPPFLAGS'
23787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23790
23791
23792 fi
23793
23794 fi
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23796 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23797
23798 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23799 for ac_func in _fmodl
23800 do :
23801 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23802 if test "x$ac_cv_func__fmodl" = x""yes; then :
23803 cat >>confdefs.h <<_ACEOF
23804 #define HAVE__FMODL 1
23805 _ACEOF
23806
23807 fi
23808 done
23809
23810 fi
23811 fi
23812
23813
23814
23815
23816
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23818 $as_echo_n "checking for frexpl declaration... " >&6; }
23819 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23820 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23821 $as_echo_n "(cached) " >&6
23822 else
23823
23824
23825 ac_ext=cpp
23826 ac_cpp='$CXXCPP $CPPFLAGS'
23827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23830
23831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23832 /* end confdefs.h. */
23833 #include <math.h>
23834 int
23835 main ()
23836 {
23837 frexpl(0, 0);
23838 ;
23839 return 0;
23840 }
23841 _ACEOF
23842 if ac_fn_cxx_try_compile "$LINENO"; then :
23843 glibcxx_cv_func_frexpl_use=yes
23844 else
23845 glibcxx_cv_func_frexpl_use=no
23846 fi
23847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23848 ac_ext=c
23849 ac_cpp='$CPP $CPPFLAGS'
23850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23853
23854
23855 fi
23856
23857 fi
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
23859 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
23860
23861 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
23862 for ac_func in frexpl
23863 do :
23864 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
23865 if test "x$ac_cv_func_frexpl" = x""yes; then :
23866 cat >>confdefs.h <<_ACEOF
23867 #define HAVE_FREXPL 1
23868 _ACEOF
23869
23870 fi
23871 done
23872
23873 else
23874
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
23876 $as_echo_n "checking for _frexpl declaration... " >&6; }
23877 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
23878 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
23879 $as_echo_n "(cached) " >&6
23880 else
23881
23882
23883 ac_ext=cpp
23884 ac_cpp='$CXXCPP $CPPFLAGS'
23885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23888
23889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23890 /* end confdefs.h. */
23891 #include <math.h>
23892 int
23893 main ()
23894 {
23895 _frexpl(0, 0);
23896 ;
23897 return 0;
23898 }
23899 _ACEOF
23900 if ac_fn_cxx_try_compile "$LINENO"; then :
23901 glibcxx_cv_func__frexpl_use=yes
23902 else
23903 glibcxx_cv_func__frexpl_use=no
23904 fi
23905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23906 ac_ext=c
23907 ac_cpp='$CPP $CPPFLAGS'
23908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23911
23912
23913 fi
23914
23915 fi
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
23917 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
23918
23919 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
23920 for ac_func in _frexpl
23921 do :
23922 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
23923 if test "x$ac_cv_func__frexpl" = x""yes; then :
23924 cat >>confdefs.h <<_ACEOF
23925 #define HAVE__FREXPL 1
23926 _ACEOF
23927
23928 fi
23929 done
23930
23931 fi
23932 fi
23933
23934
23935
23936
23937
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
23939 $as_echo_n "checking for hypotl declaration... " >&6; }
23940 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
23941 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
23942 $as_echo_n "(cached) " >&6
23943 else
23944
23945
23946 ac_ext=cpp
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23951
23952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23954 #include <math.h>
23955 int
23956 main ()
23957 {
23958 hypotl(0, 0);
23959 ;
23960 return 0;
23961 }
23962 _ACEOF
23963 if ac_fn_cxx_try_compile "$LINENO"; then :
23964 glibcxx_cv_func_hypotl_use=yes
23965 else
23966 glibcxx_cv_func_hypotl_use=no
23967 fi
23968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23969 ac_ext=c
23970 ac_cpp='$CPP $CPPFLAGS'
23971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23974
23975
23976 fi
23977
23978 fi
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
23980 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
23981
23982 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
23983 for ac_func in hypotl
23984 do :
23985 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
23986 if test "x$ac_cv_func_hypotl" = x""yes; then :
23987 cat >>confdefs.h <<_ACEOF
23988 #define HAVE_HYPOTL 1
23989 _ACEOF
23990
23991 fi
23992 done
23993
23994 else
23995
23996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
23997 $as_echo_n "checking for _hypotl declaration... " >&6; }
23998 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
23999 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24000 $as_echo_n "(cached) " >&6
24001 else
24002
24003
24004 ac_ext=cpp
24005 ac_cpp='$CXXCPP $CPPFLAGS'
24006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24009
24010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24011 /* end confdefs.h. */
24012 #include <math.h>
24013 int
24014 main ()
24015 {
24016 _hypotl(0, 0);
24017 ;
24018 return 0;
24019 }
24020 _ACEOF
24021 if ac_fn_cxx_try_compile "$LINENO"; then :
24022 glibcxx_cv_func__hypotl_use=yes
24023 else
24024 glibcxx_cv_func__hypotl_use=no
24025 fi
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027 ac_ext=c
24028 ac_cpp='$CPP $CPPFLAGS'
24029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24032
24033
24034 fi
24035
24036 fi
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24038 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24039
24040 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24041 for ac_func in _hypotl
24042 do :
24043 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24044 if test "x$ac_cv_func__hypotl" = x""yes; then :
24045 cat >>confdefs.h <<_ACEOF
24046 #define HAVE__HYPOTL 1
24047 _ACEOF
24048
24049 fi
24050 done
24051
24052 fi
24053 fi
24054
24055
24056
24057
24058
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24060 $as_echo_n "checking for ldexpl declaration... " >&6; }
24061 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24062 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24063 $as_echo_n "(cached) " >&6
24064 else
24065
24066
24067 ac_ext=cpp
24068 ac_cpp='$CXXCPP $CPPFLAGS'
24069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24072
24073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24074 /* end confdefs.h. */
24075 #include <math.h>
24076 int
24077 main ()
24078 {
24079 ldexpl(0, 0);
24080 ;
24081 return 0;
24082 }
24083 _ACEOF
24084 if ac_fn_cxx_try_compile "$LINENO"; then :
24085 glibcxx_cv_func_ldexpl_use=yes
24086 else
24087 glibcxx_cv_func_ldexpl_use=no
24088 fi
24089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24090 ac_ext=c
24091 ac_cpp='$CPP $CPPFLAGS'
24092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24095
24096
24097 fi
24098
24099 fi
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24101 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24102
24103 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24104 for ac_func in ldexpl
24105 do :
24106 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24107 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24108 cat >>confdefs.h <<_ACEOF
24109 #define HAVE_LDEXPL 1
24110 _ACEOF
24111
24112 fi
24113 done
24114
24115 else
24116
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24118 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24119 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24120 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24121 $as_echo_n "(cached) " >&6
24122 else
24123
24124
24125 ac_ext=cpp
24126 ac_cpp='$CXXCPP $CPPFLAGS'
24127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24130
24131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h. */
24133 #include <math.h>
24134 int
24135 main ()
24136 {
24137 _ldexpl(0, 0);
24138 ;
24139 return 0;
24140 }
24141 _ACEOF
24142 if ac_fn_cxx_try_compile "$LINENO"; then :
24143 glibcxx_cv_func__ldexpl_use=yes
24144 else
24145 glibcxx_cv_func__ldexpl_use=no
24146 fi
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 ac_ext=c
24149 ac_cpp='$CPP $CPPFLAGS'
24150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24153
24154
24155 fi
24156
24157 fi
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24159 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24160
24161 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24162 for ac_func in _ldexpl
24163 do :
24164 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24165 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24166 cat >>confdefs.h <<_ACEOF
24167 #define HAVE__LDEXPL 1
24168 _ACEOF
24169
24170 fi
24171 done
24172
24173 fi
24174 fi
24175
24176
24177
24178
24179
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24181 $as_echo_n "checking for logl declaration... " >&6; }
24182 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24183 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24184 $as_echo_n "(cached) " >&6
24185 else
24186
24187
24188 ac_ext=cpp
24189 ac_cpp='$CXXCPP $CPPFLAGS'
24190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24193
24194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24196 #include <math.h>
24197 #ifdef HAVE_IEEEFP_H
24198 #include <ieeefp.h>
24199 #endif
24200
24201 int
24202 main ()
24203 {
24204 logl(0);
24205 ;
24206 return 0;
24207 }
24208 _ACEOF
24209 if ac_fn_cxx_try_compile "$LINENO"; then :
24210 glibcxx_cv_func_logl_use=yes
24211 else
24212 glibcxx_cv_func_logl_use=no
24213 fi
24214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24215 ac_ext=c
24216 ac_cpp='$CPP $CPPFLAGS'
24217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24220
24221
24222 fi
24223
24224 fi
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24226 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24227
24228 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24229 for ac_func in logl
24230 do :
24231 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24232 if test "x$ac_cv_func_logl" = x""yes; then :
24233 cat >>confdefs.h <<_ACEOF
24234 #define HAVE_LOGL 1
24235 _ACEOF
24236
24237 fi
24238 done
24239
24240 else
24241
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24243 $as_echo_n "checking for _logl declaration... " >&6; }
24244 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24245 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24246 $as_echo_n "(cached) " >&6
24247 else
24248
24249
24250 ac_ext=cpp
24251 ac_cpp='$CXXCPP $CPPFLAGS'
24252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24255
24256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24257 /* end confdefs.h. */
24258 #include <math.h>
24259 #ifdef HAVE_IEEEFP_H
24260 #include <ieeefp.h>
24261 #endif
24262
24263 int
24264 main ()
24265 {
24266 _logl(0);
24267 ;
24268 return 0;
24269 }
24270 _ACEOF
24271 if ac_fn_cxx_try_compile "$LINENO"; then :
24272 glibcxx_cv_func__logl_use=yes
24273 else
24274 glibcxx_cv_func__logl_use=no
24275 fi
24276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277 ac_ext=c
24278 ac_cpp='$CPP $CPPFLAGS'
24279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24282
24283
24284 fi
24285
24286 fi
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24288 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24289
24290 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24291 for ac_func in _logl
24292 do :
24293 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24294 if test "x$ac_cv_func__logl" = x""yes; then :
24295 cat >>confdefs.h <<_ACEOF
24296 #define HAVE__LOGL 1
24297 _ACEOF
24298
24299 fi
24300 done
24301
24302 fi
24303 fi
24304
24305
24306
24307
24308
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24310 $as_echo_n "checking for log10l declaration... " >&6; }
24311 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24312 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24313 $as_echo_n "(cached) " >&6
24314 else
24315
24316
24317 ac_ext=cpp
24318 ac_cpp='$CXXCPP $CPPFLAGS'
24319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24322
24323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24324 /* end confdefs.h. */
24325 #include <math.h>
24326 #ifdef HAVE_IEEEFP_H
24327 #include <ieeefp.h>
24328 #endif
24329
24330 int
24331 main ()
24332 {
24333 log10l(0);
24334 ;
24335 return 0;
24336 }
24337 _ACEOF
24338 if ac_fn_cxx_try_compile "$LINENO"; then :
24339 glibcxx_cv_func_log10l_use=yes
24340 else
24341 glibcxx_cv_func_log10l_use=no
24342 fi
24343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24344 ac_ext=c
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24349
24350
24351 fi
24352
24353 fi
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24355 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24356
24357 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24358 for ac_func in log10l
24359 do :
24360 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24361 if test "x$ac_cv_func_log10l" = x""yes; then :
24362 cat >>confdefs.h <<_ACEOF
24363 #define HAVE_LOG10L 1
24364 _ACEOF
24365
24366 fi
24367 done
24368
24369 else
24370
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24372 $as_echo_n "checking for _log10l declaration... " >&6; }
24373 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24374 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24375 $as_echo_n "(cached) " >&6
24376 else
24377
24378
24379 ac_ext=cpp
24380 ac_cpp='$CXXCPP $CPPFLAGS'
24381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24384
24385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24387 #include <math.h>
24388 #ifdef HAVE_IEEEFP_H
24389 #include <ieeefp.h>
24390 #endif
24391
24392 int
24393 main ()
24394 {
24395 _log10l(0);
24396 ;
24397 return 0;
24398 }
24399 _ACEOF
24400 if ac_fn_cxx_try_compile "$LINENO"; then :
24401 glibcxx_cv_func__log10l_use=yes
24402 else
24403 glibcxx_cv_func__log10l_use=no
24404 fi
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406 ac_ext=c
24407 ac_cpp='$CPP $CPPFLAGS'
24408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24411
24412
24413 fi
24414
24415 fi
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24417 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24418
24419 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24420 for ac_func in _log10l
24421 do :
24422 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24423 if test "x$ac_cv_func__log10l" = x""yes; then :
24424 cat >>confdefs.h <<_ACEOF
24425 #define HAVE__LOG10L 1
24426 _ACEOF
24427
24428 fi
24429 done
24430
24431 fi
24432 fi
24433
24434
24435
24436
24437
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24439 $as_echo_n "checking for modfl declaration... " >&6; }
24440 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24441 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24443 else
24444
24445
24446 ac_ext=cpp
24447 ac_cpp='$CXXCPP $CPPFLAGS'
24448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24451
24452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24453 /* end confdefs.h. */
24454 #include <math.h>
24455 int
24456 main ()
24457 {
24458 modfl(0, 0);
24459 ;
24460 return 0;
24461 }
24462 _ACEOF
24463 if ac_fn_cxx_try_compile "$LINENO"; then :
24464 glibcxx_cv_func_modfl_use=yes
24465 else
24466 glibcxx_cv_func_modfl_use=no
24467 fi
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 ac_ext=c
24470 ac_cpp='$CPP $CPPFLAGS'
24471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24474
24475
24476 fi
24477
24478 fi
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24480 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24481
24482 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24483 for ac_func in modfl
24484 do :
24485 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24486 if test "x$ac_cv_func_modfl" = x""yes; then :
24487 cat >>confdefs.h <<_ACEOF
24488 #define HAVE_MODFL 1
24489 _ACEOF
24490
24491 fi
24492 done
24493
24494 else
24495
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24497 $as_echo_n "checking for _modfl declaration... " >&6; }
24498 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24499 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24500 $as_echo_n "(cached) " >&6
24501 else
24502
24503
24504 ac_ext=cpp
24505 ac_cpp='$CXXCPP $CPPFLAGS'
24506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24509
24510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24511 /* end confdefs.h. */
24512 #include <math.h>
24513 int
24514 main ()
24515 {
24516 _modfl(0, 0);
24517 ;
24518 return 0;
24519 }
24520 _ACEOF
24521 if ac_fn_cxx_try_compile "$LINENO"; then :
24522 glibcxx_cv_func__modfl_use=yes
24523 else
24524 glibcxx_cv_func__modfl_use=no
24525 fi
24526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24527 ac_ext=c
24528 ac_cpp='$CPP $CPPFLAGS'
24529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24532
24533
24534 fi
24535
24536 fi
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24538 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24539
24540 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24541 for ac_func in _modfl
24542 do :
24543 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24544 if test "x$ac_cv_func__modfl" = x""yes; then :
24545 cat >>confdefs.h <<_ACEOF
24546 #define HAVE__MODFL 1
24547 _ACEOF
24548
24549 fi
24550 done
24551
24552 fi
24553 fi
24554
24555
24556
24557
24558
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24560 $as_echo_n "checking for powl declaration... " >&6; }
24561 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24562 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24565
24566
24567 ac_ext=cpp
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24572
24573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24574 /* end confdefs.h. */
24575 #include <math.h>
24576 int
24577 main ()
24578 {
24579 powl(0, 0);
24580 ;
24581 return 0;
24582 }
24583 _ACEOF
24584 if ac_fn_cxx_try_compile "$LINENO"; then :
24585 glibcxx_cv_func_powl_use=yes
24586 else
24587 glibcxx_cv_func_powl_use=no
24588 fi
24589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590 ac_ext=c
24591 ac_cpp='$CPP $CPPFLAGS'
24592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24595
24596
24597 fi
24598
24599 fi
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24601 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24602
24603 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24604 for ac_func in powl
24605 do :
24606 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24607 if test "x$ac_cv_func_powl" = x""yes; then :
24608 cat >>confdefs.h <<_ACEOF
24609 #define HAVE_POWL 1
24610 _ACEOF
24611
24612 fi
24613 done
24614
24615 else
24616
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24618 $as_echo_n "checking for _powl declaration... " >&6; }
24619 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24620 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24621 $as_echo_n "(cached) " >&6
24622 else
24623
24624
24625 ac_ext=cpp
24626 ac_cpp='$CXXCPP $CPPFLAGS'
24627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24630
24631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h. */
24633 #include <math.h>
24634 int
24635 main ()
24636 {
24637 _powl(0, 0);
24638 ;
24639 return 0;
24640 }
24641 _ACEOF
24642 if ac_fn_cxx_try_compile "$LINENO"; then :
24643 glibcxx_cv_func__powl_use=yes
24644 else
24645 glibcxx_cv_func__powl_use=no
24646 fi
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648 ac_ext=c
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24653
24654
24655 fi
24656
24657 fi
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24659 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24660
24661 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24662 for ac_func in _powl
24663 do :
24664 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24665 if test "x$ac_cv_func__powl" = x""yes; then :
24666 cat >>confdefs.h <<_ACEOF
24667 #define HAVE__POWL 1
24668 _ACEOF
24669
24670 fi
24671 done
24672
24673 fi
24674 fi
24675
24676
24677
24678
24679
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24681 $as_echo_n "checking for sqrtl declaration... " >&6; }
24682 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24683 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24686
24687
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24693
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24697 #ifdef HAVE_IEEEFP_H
24698 #include <ieeefp.h>
24699 #endif
24700
24701 int
24702 main ()
24703 {
24704 sqrtl(0);
24705 ;
24706 return 0;
24707 }
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func_sqrtl_use=yes
24711 else
24712 glibcxx_cv_func_sqrtl_use=no
24713 fi
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24720
24721
24722 fi
24723
24724 fi
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24726 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24727
24728 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24729 for ac_func in sqrtl
24730 do :
24731 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24732 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_SQRTL 1
24735 _ACEOF
24736
24737 fi
24738 done
24739
24740 else
24741
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24743 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24744 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24745 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24746 $as_echo_n "(cached) " >&6
24747 else
24748
24749
24750 ac_ext=cpp
24751 ac_cpp='$CXXCPP $CPPFLAGS'
24752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24755
24756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24757 /* end confdefs.h. */
24758 #include <math.h>
24759 #ifdef HAVE_IEEEFP_H
24760 #include <ieeefp.h>
24761 #endif
24762
24763 int
24764 main ()
24765 {
24766 _sqrtl(0);
24767 ;
24768 return 0;
24769 }
24770 _ACEOF
24771 if ac_fn_cxx_try_compile "$LINENO"; then :
24772 glibcxx_cv_func__sqrtl_use=yes
24773 else
24774 glibcxx_cv_func__sqrtl_use=no
24775 fi
24776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24777 ac_ext=c
24778 ac_cpp='$CPP $CPPFLAGS'
24779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24782
24783
24784 fi
24785
24786 fi
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24788 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24789
24790 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24791 for ac_func in _sqrtl
24792 do :
24793 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24794 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24795 cat >>confdefs.h <<_ACEOF
24796 #define HAVE__SQRTL 1
24797 _ACEOF
24798
24799 fi
24800 done
24801
24802 fi
24803 fi
24804
24805
24806
24807
24808
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24810 $as_echo_n "checking for sincosl declaration... " >&6; }
24811 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24812 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24814 else
24815
24816
24817 ac_ext=cpp
24818 ac_cpp='$CXXCPP $CPPFLAGS'
24819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24822
24823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 /* end confdefs.h. */
24825 #include <math.h>
24826 int
24827 main ()
24828 {
24829 sincosl(0, 0, 0);
24830 ;
24831 return 0;
24832 }
24833 _ACEOF
24834 if ac_fn_cxx_try_compile "$LINENO"; then :
24835 glibcxx_cv_func_sincosl_use=yes
24836 else
24837 glibcxx_cv_func_sincosl_use=no
24838 fi
24839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24845
24846
24847 fi
24848
24849 fi
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
24851 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
24852
24853 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24854 for ac_func in sincosl
24855 do :
24856 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
24857 if test "x$ac_cv_func_sincosl" = x""yes; then :
24858 cat >>confdefs.h <<_ACEOF
24859 #define HAVE_SINCOSL 1
24860 _ACEOF
24861
24862 fi
24863 done
24864
24865 else
24866
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
24868 $as_echo_n "checking for _sincosl declaration... " >&6; }
24869 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24870 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
24871 $as_echo_n "(cached) " >&6
24872 else
24873
24874
24875 ac_ext=cpp
24876 ac_cpp='$CXXCPP $CPPFLAGS'
24877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24880
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24883 #include <math.h>
24884 int
24885 main ()
24886 {
24887 _sincosl(0, 0, 0);
24888 ;
24889 return 0;
24890 }
24891 _ACEOF
24892 if ac_fn_cxx_try_compile "$LINENO"; then :
24893 glibcxx_cv_func__sincosl_use=yes
24894 else
24895 glibcxx_cv_func__sincosl_use=no
24896 fi
24897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898 ac_ext=c
24899 ac_cpp='$CPP $CPPFLAGS'
24900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24903
24904
24905 fi
24906
24907 fi
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
24909 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
24910
24911 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
24912 for ac_func in _sincosl
24913 do :
24914 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
24915 if test "x$ac_cv_func__sincosl" = x""yes; then :
24916 cat >>confdefs.h <<_ACEOF
24917 #define HAVE__SINCOSL 1
24918 _ACEOF
24919
24920 fi
24921 done
24922
24923 fi
24924 fi
24925
24926
24927
24928
24929
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
24931 $as_echo_n "checking for finitel declaration... " >&6; }
24932 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24933 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
24934 $as_echo_n "(cached) " >&6
24935 else
24936
24937
24938 ac_ext=cpp
24939 ac_cpp='$CXXCPP $CPPFLAGS'
24940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24943
24944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24946 #include <math.h>
24947 #ifdef HAVE_IEEEFP_H
24948 #include <ieeefp.h>
24949 #endif
24950
24951 int
24952 main ()
24953 {
24954 finitel(0);
24955 ;
24956 return 0;
24957 }
24958 _ACEOF
24959 if ac_fn_cxx_try_compile "$LINENO"; then :
24960 glibcxx_cv_func_finitel_use=yes
24961 else
24962 glibcxx_cv_func_finitel_use=no
24963 fi
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 ac_ext=c
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24970
24971
24972 fi
24973
24974 fi
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
24976 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
24977
24978 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24979 for ac_func in finitel
24980 do :
24981 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
24982 if test "x$ac_cv_func_finitel" = x""yes; then :
24983 cat >>confdefs.h <<_ACEOF
24984 #define HAVE_FINITEL 1
24985 _ACEOF
24986
24987 fi
24988 done
24989
24990 else
24991
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
24993 $as_echo_n "checking for _finitel declaration... " >&6; }
24994 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24995 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
24996 $as_echo_n "(cached) " >&6
24997 else
24998
24999
25000 ac_ext=cpp
25001 ac_cpp='$CXXCPP $CPPFLAGS'
25002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25005
25006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25007 /* end confdefs.h. */
25008 #include <math.h>
25009 #ifdef HAVE_IEEEFP_H
25010 #include <ieeefp.h>
25011 #endif
25012
25013 int
25014 main ()
25015 {
25016 _finitel(0);
25017 ;
25018 return 0;
25019 }
25020 _ACEOF
25021 if ac_fn_cxx_try_compile "$LINENO"; then :
25022 glibcxx_cv_func__finitel_use=yes
25023 else
25024 glibcxx_cv_func__finitel_use=no
25025 fi
25026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25027 ac_ext=c
25028 ac_cpp='$CPP $CPPFLAGS'
25029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25032
25033
25034 fi
25035
25036 fi
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25038 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25039
25040 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25041 for ac_func in _finitel
25042 do :
25043 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25044 if test "x$ac_cv_func__finitel" = x""yes; then :
25045 cat >>confdefs.h <<_ACEOF
25046 #define HAVE__FINITEL 1
25047 _ACEOF
25048
25049 fi
25050 done
25051
25052 fi
25053 fi
25054
25055
25056
25057
25058 LIBS="$ac_save_LIBS"
25059 CXXFLAGS="$ac_save_CXXFLAGS"
25060
25061
25062 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25063 ac_save_CXXFLAGS="$CXXFLAGS"
25064 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25065
25066
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25068 $as_echo_n "checking for strtold declaration... " >&6; }
25069 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25070 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25072 else
25073
25074
25075 ac_ext=cpp
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25080
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083 #include <stdlib.h>
25084 int
25085 main ()
25086 {
25087 strtold(0, 0);
25088 ;
25089 return 0;
25090 }
25091 _ACEOF
25092 if ac_fn_cxx_try_compile "$LINENO"; then :
25093 glibcxx_cv_func_strtold_use=yes
25094 else
25095 glibcxx_cv_func_strtold_use=no
25096 fi
25097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25098 ac_ext=c
25099 ac_cpp='$CPP $CPPFLAGS'
25100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25103
25104
25105 fi
25106
25107 fi
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25109 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25110 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25111 for ac_func in strtold
25112 do :
25113 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25114 if test "x$ac_cv_func_strtold" = x""yes; then :
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE_STRTOLD 1
25117 _ACEOF
25118
25119 fi
25120 done
25121
25122 fi
25123
25124
25125
25126
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25128 $as_echo_n "checking for strtof declaration... " >&6; }
25129 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25130 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25133
25134
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25140
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <stdlib.h>
25144 int
25145 main ()
25146 {
25147 strtof(0, 0);
25148 ;
25149 return 0;
25150 }
25151 _ACEOF
25152 if ac_fn_cxx_try_compile "$LINENO"; then :
25153 glibcxx_cv_func_strtof_use=yes
25154 else
25155 glibcxx_cv_func_strtof_use=no
25156 fi
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 ac_ext=c
25159 ac_cpp='$CPP $CPPFLAGS'
25160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25163
25164
25165 fi
25166
25167 fi
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25169 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25170 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25171 for ac_func in strtof
25172 do :
25173 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25174 if test "x$ac_cv_func_strtof" = x""yes; then :
25175 cat >>confdefs.h <<_ACEOF
25176 #define HAVE_STRTOF 1
25177 _ACEOF
25178
25179 fi
25180 done
25181
25182 fi
25183
25184
25185
25186
25187 CXXFLAGS="$ac_save_CXXFLAGS"
25188
25189
25190 # For /dev/random and /dev/urandom for TR1.
25191
25192
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25194 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25195 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25196 $as_echo_n "(cached) " >&6
25197 else
25198
25199 if test -r /dev/random && test -r /dev/urandom; then
25200 glibcxx_cv_random_tr1=yes;
25201 else
25202 glibcxx_cv_random_tr1=no;
25203 fi
25204
25205 fi
25206
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25208 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25209
25210 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25211
25212 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25213
25214 fi
25215
25216
25217
25218 # For TLS support.
25219
25220
25221 # Check whether --enable-tls was given.
25222 if test "${enable_tls+set}" = set; then :
25223 enableval=$enable_tls;
25224 case "$enableval" in
25225 yes|no) ;;
25226 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25227 esac
25228
25229 else
25230 enable_tls=yes
25231 fi
25232
25233
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25235 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25236 if test "${gcc_cv_have_tls+set}" = set; then :
25237 $as_echo_n "(cached) " >&6
25238 else
25239
25240 if test "$cross_compiling" = yes; then :
25241 if test x$gcc_no_link = xyes; then
25242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25243 fi
25244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25245 /* end confdefs.h. */
25246 __thread int a; int b; int main() { return a = b; }
25247 _ACEOF
25248 if ac_fn_c_try_link "$LINENO"; then :
25249 chktls_save_LDFLAGS="$LDFLAGS"
25250 case $host in
25251 *-*-linux*)
25252 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25253 ;;
25254 esac
25255 chktls_save_CFLAGS="$CFLAGS"
25256 CFLAGS="-fPIC $CFLAGS"
25257 if test x$gcc_no_link = xyes; then
25258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25259 fi
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 int f() { return 0; }
25263 _ACEOF
25264 if ac_fn_c_try_link "$LINENO"; then :
25265 if test x$gcc_no_link = xyes; then
25266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25267 fi
25268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25269 /* end confdefs.h. */
25270 __thread int a; int b; int f() { return a = b; }
25271 _ACEOF
25272 if ac_fn_c_try_link "$LINENO"; then :
25273 gcc_cv_have_tls=yes
25274 else
25275 gcc_cv_have_tls=no
25276 fi
25277 rm -f core conftest.err conftest.$ac_objext \
25278 conftest$ac_exeext conftest.$ac_ext
25279 else
25280 gcc_cv_have_tls=yes
25281 fi
25282 rm -f core conftest.err conftest.$ac_objext \
25283 conftest$ac_exeext conftest.$ac_ext
25284 CFLAGS="$chktls_save_CFLAGS"
25285 LDFLAGS="$chktls_save_LDFLAGS"
25286 else
25287 gcc_cv_have_tls=no
25288 fi
25289 rm -f core conftest.err conftest.$ac_objext \
25290 conftest$ac_exeext conftest.$ac_ext
25291
25292
25293 else
25294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25295 /* end confdefs.h. */
25296 __thread int a; int b; int main() { return a = b; }
25297 _ACEOF
25298 if ac_fn_c_try_run "$LINENO"; then :
25299 chktls_save_LDFLAGS="$LDFLAGS"
25300 LDFLAGS="-static $LDFLAGS"
25301 if test x$gcc_no_link = xyes; then
25302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25303 fi
25304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25305 /* end confdefs.h. */
25306 int main() { return 0; }
25307 _ACEOF
25308 if ac_fn_c_try_link "$LINENO"; then :
25309 if test "$cross_compiling" = yes; then :
25310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25312 as_fn_error "cannot run test program while cross compiling
25313 See \`config.log' for more details." "$LINENO" 5; }
25314 else
25315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25316 /* end confdefs.h. */
25317 __thread int a; int b; int main() { return a = b; }
25318 _ACEOF
25319 if ac_fn_c_try_run "$LINENO"; then :
25320 gcc_cv_have_tls=yes
25321 else
25322 gcc_cv_have_tls=no
25323 fi
25324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25325 conftest.$ac_objext conftest.beam conftest.$ac_ext
25326 fi
25327
25328 else
25329 gcc_cv_have_tls=yes
25330 fi
25331 rm -f core conftest.err conftest.$ac_objext \
25332 conftest$ac_exeext conftest.$ac_ext
25333 LDFLAGS="$chktls_save_LDFLAGS"
25334 if test $gcc_cv_have_tls = yes; then
25335 chktls_save_CFLAGS="$CFLAGS"
25336 thread_CFLAGS=failed
25337 for flag in '' '-pthread' '-lpthread'; do
25338 CFLAGS="$flag $chktls_save_CFLAGS"
25339 if test x$gcc_no_link = xyes; then
25340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25341 fi
25342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25343 /* end confdefs.h. */
25344 #include <pthread.h>
25345 void *g(void *d) { return NULL; }
25346 int
25347 main ()
25348 {
25349 pthread_t t; pthread_create(&t,NULL,g,NULL);
25350 ;
25351 return 0;
25352 }
25353 _ACEOF
25354 if ac_fn_c_try_link "$LINENO"; then :
25355 thread_CFLAGS="$flag"
25356 fi
25357 rm -f core conftest.err conftest.$ac_objext \
25358 conftest$ac_exeext conftest.$ac_ext
25359 if test "X$thread_CFLAGS" != Xfailed; then
25360 break
25361 fi
25362 done
25363 CFLAGS="$chktls_save_CFLAGS"
25364 if test "X$thread_CFLAGS" != Xfailed; then
25365 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25366 if test "$cross_compiling" = yes; then :
25367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25369 as_fn_error "cannot run test program while cross compiling
25370 See \`config.log' for more details." "$LINENO" 5; }
25371 else
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374 #include <pthread.h>
25375 __thread int a;
25376 static int *a_in_other_thread;
25377 static void *
25378 thread_func (void *arg)
25379 {
25380 a_in_other_thread = &a;
25381 return (void *)0;
25382 }
25383 int
25384 main ()
25385 {
25386 pthread_t thread;
25387 void *thread_retval;
25388 int *a_in_main_thread;
25389 if (pthread_create (&thread, (pthread_attr_t *)0,
25390 thread_func, (void *)0))
25391 return 0;
25392 a_in_main_thread = &a;
25393 if (pthread_join (thread, &thread_retval))
25394 return 0;
25395 return (a_in_other_thread == a_in_main_thread);
25396 ;
25397 return 0;
25398 }
25399 _ACEOF
25400 if ac_fn_c_try_run "$LINENO"; then :
25401 gcc_cv_have_tls=yes
25402 else
25403 gcc_cv_have_tls=no
25404 fi
25405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25406 conftest.$ac_objext conftest.beam conftest.$ac_ext
25407 fi
25408
25409 CFLAGS="$chktls_save_CFLAGS"
25410 fi
25411 fi
25412 else
25413 gcc_cv_have_tls=no
25414 fi
25415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25416 conftest.$ac_objext conftest.beam conftest.$ac_ext
25417 fi
25418
25419 fi
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25421 $as_echo "$gcc_cv_have_tls" >&6; }
25422 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25423
25424 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25425
25426 fi
25427
25428 # For iconv support.
25429
25430 if test "X$prefix" = "XNONE"; then
25431 acl_final_prefix="$ac_default_prefix"
25432 else
25433 acl_final_prefix="$prefix"
25434 fi
25435 if test "X$exec_prefix" = "XNONE"; then
25436 acl_final_exec_prefix='${prefix}'
25437 else
25438 acl_final_exec_prefix="$exec_prefix"
25439 fi
25440 acl_save_prefix="$prefix"
25441 prefix="$acl_final_prefix"
25442 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25443 prefix="$acl_save_prefix"
25444
25445
25446 # Check whether --with-gnu-ld was given.
25447 if test "${with_gnu_ld+set}" = set; then :
25448 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25449 else
25450 with_gnu_ld=no
25451 fi
25452
25453 # Prepare PATH_SEPARATOR.
25454 # The user is always right.
25455 if test "${PATH_SEPARATOR+set}" != set; then
25456 echo "#! /bin/sh" >conf$$.sh
25457 echo "exit 0" >>conf$$.sh
25458 chmod +x conf$$.sh
25459 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25460 PATH_SEPARATOR=';'
25461 else
25462 PATH_SEPARATOR=:
25463 fi
25464 rm -f conf$$.sh
25465 fi
25466 ac_prog=ld
25467 if test "$GCC" = yes; then
25468 # Check if gcc -print-prog-name=ld gives a path.
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25470 $as_echo_n "checking for ld used by GCC... " >&6; }
25471 case $host in
25472 *-*-mingw*)
25473 # gcc leaves a trailing carriage return which upsets mingw
25474 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25475 *)
25476 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25477 esac
25478 case $ac_prog in
25479 # Accept absolute paths.
25480 [\\/]* | [A-Za-z]:[\\/]*)
25481 re_direlt='/[^/][^/]*/\.\./'
25482 # Canonicalize the path of ld
25483 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25484 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25485 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25486 done
25487 test -z "$LD" && LD="$ac_prog"
25488 ;;
25489 "")
25490 # If it fails, then pretend we aren't using GCC.
25491 ac_prog=ld
25492 ;;
25493 *)
25494 # If it is relative, then search for the first ld in PATH.
25495 with_gnu_ld=unknown
25496 ;;
25497 esac
25498 elif test "$with_gnu_ld" = yes; then
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25500 $as_echo_n "checking for GNU ld... " >&6; }
25501 else
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25503 $as_echo_n "checking for non-GNU ld... " >&6; }
25504 fi
25505 if test "${acl_cv_path_LD+set}" = set; then :
25506 $as_echo_n "(cached) " >&6
25507 else
25508 if test -z "$LD"; then
25509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25510 for ac_dir in $PATH; do
25511 test -z "$ac_dir" && ac_dir=.
25512 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25513 acl_cv_path_LD="$ac_dir/$ac_prog"
25514 # Check to see if the program is GNU ld. I'd rather use --version,
25515 # but apparently some GNU ld's only accept -v.
25516 # Break only if it was the GNU/non-GNU ld that we prefer.
25517 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25518 test "$with_gnu_ld" != no && break
25519 else
25520 test "$with_gnu_ld" != yes && break
25521 fi
25522 fi
25523 done
25524 IFS="$ac_save_ifs"
25525 else
25526 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25527 fi
25528 fi
25529
25530 LD="$acl_cv_path_LD"
25531 if test -n "$LD"; then
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25533 $as_echo "$LD" >&6; }
25534 else
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25536 $as_echo "no" >&6; }
25537 fi
25538 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25540 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25541 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25542 $as_echo_n "(cached) " >&6
25543 else
25544 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25545 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25546 acl_cv_prog_gnu_ld=yes
25547 else
25548 acl_cv_prog_gnu_ld=no
25549 fi
25550 fi
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25552 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25553 with_gnu_ld=$acl_cv_prog_gnu_ld
25554
25555
25556
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25558 $as_echo_n "checking for shared library run path origin... " >&6; }
25559 if test "${acl_cv_rpath+set}" = set; then :
25560 $as_echo_n "(cached) " >&6
25561 else
25562
25563 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25564 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25565 . ./conftest.sh
25566 rm -f ./conftest.sh
25567 acl_cv_rpath=done
25568
25569 fi
25570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25571 $as_echo "$acl_cv_rpath" >&6; }
25572 wl="$acl_cv_wl"
25573 libext="$acl_cv_libext"
25574 shlibext="$acl_cv_shlibext"
25575 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25576 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25577 hardcode_direct="$acl_cv_hardcode_direct"
25578 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25579 # Check whether --enable-rpath was given.
25580 if test "${enable_rpath+set}" = set; then :
25581 enableval=$enable_rpath; :
25582 else
25583 enable_rpath=yes
25584 fi
25585
25586
25587
25588
25589
25590
25591
25592
25593 use_additional=yes
25594
25595 acl_save_prefix="$prefix"
25596 prefix="$acl_final_prefix"
25597 acl_save_exec_prefix="$exec_prefix"
25598 exec_prefix="$acl_final_exec_prefix"
25599
25600 eval additional_includedir=\"$includedir\"
25601 eval additional_libdir=\"$libdir\"
25602
25603 exec_prefix="$acl_save_exec_prefix"
25604 prefix="$acl_save_prefix"
25605
25606
25607 # Check whether --with-libiconv-prefix was given.
25608 if test "${with_libiconv_prefix+set}" = set; then :
25609 withval=$with_libiconv_prefix;
25610 if test "X$withval" = "Xno"; then
25611 use_additional=no
25612 else
25613 if test "X$withval" = "X"; then
25614
25615 acl_save_prefix="$prefix"
25616 prefix="$acl_final_prefix"
25617 acl_save_exec_prefix="$exec_prefix"
25618 exec_prefix="$acl_final_exec_prefix"
25619
25620 eval additional_includedir=\"$includedir\"
25621 eval additional_libdir=\"$libdir\"
25622
25623 exec_prefix="$acl_save_exec_prefix"
25624 prefix="$acl_save_prefix"
25625
25626 else
25627 additional_includedir="$withval/include"
25628 additional_libdir="$withval/lib"
25629 fi
25630 fi
25631
25632 fi
25633
25634 LIBICONV=
25635 LTLIBICONV=
25636 INCICONV=
25637 rpathdirs=
25638 ltrpathdirs=
25639 names_already_handled=
25640 names_next_round='iconv '
25641 while test -n "$names_next_round"; do
25642 names_this_round="$names_next_round"
25643 names_next_round=
25644 for name in $names_this_round; do
25645 already_handled=
25646 for n in $names_already_handled; do
25647 if test "$n" = "$name"; then
25648 already_handled=yes
25649 break
25650 fi
25651 done
25652 if test -z "$already_handled"; then
25653 names_already_handled="$names_already_handled $name"
25654 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25655 eval value=\"\$HAVE_LIB$uppername\"
25656 if test -n "$value"; then
25657 if test "$value" = yes; then
25658 eval value=\"\$LIB$uppername\"
25659 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25660 eval value=\"\$LTLIB$uppername\"
25661 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25662 else
25663 :
25664 fi
25665 else
25666 found_dir=
25667 found_la=
25668 found_so=
25669 found_a=
25670 if test $use_additional = yes; then
25671 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25672 found_dir="$additional_libdir"
25673 found_so="$additional_libdir/lib$name.$shlibext"
25674 if test -f "$additional_libdir/lib$name.la"; then
25675 found_la="$additional_libdir/lib$name.la"
25676 fi
25677 else
25678 if test -f "$additional_libdir/lib$name.$libext"; then
25679 found_dir="$additional_libdir"
25680 found_a="$additional_libdir/lib$name.$libext"
25681 if test -f "$additional_libdir/lib$name.la"; then
25682 found_la="$additional_libdir/lib$name.la"
25683 fi
25684 fi
25685 fi
25686 fi
25687 if test "X$found_dir" = "X"; then
25688 for x in $LDFLAGS $LTLIBICONV; do
25689
25690 acl_save_prefix="$prefix"
25691 prefix="$acl_final_prefix"
25692 acl_save_exec_prefix="$exec_prefix"
25693 exec_prefix="$acl_final_exec_prefix"
25694 eval x=\"$x\"
25695 exec_prefix="$acl_save_exec_prefix"
25696 prefix="$acl_save_prefix"
25697
25698 case "$x" in
25699 -L*)
25700 dir=`echo "X$x" | sed -e 's/^X-L//'`
25701 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25702 found_dir="$dir"
25703 found_so="$dir/lib$name.$shlibext"
25704 if test -f "$dir/lib$name.la"; then
25705 found_la="$dir/lib$name.la"
25706 fi
25707 else
25708 if test -f "$dir/lib$name.$libext"; then
25709 found_dir="$dir"
25710 found_a="$dir/lib$name.$libext"
25711 if test -f "$dir/lib$name.la"; then
25712 found_la="$dir/lib$name.la"
25713 fi
25714 fi
25715 fi
25716 ;;
25717 esac
25718 if test "X$found_dir" != "X"; then
25719 break
25720 fi
25721 done
25722 fi
25723 if test "X$found_dir" != "X"; then
25724 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25725 if test "X$found_so" != "X"; then
25726 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25727 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25728 else
25729 haveit=
25730 for x in $ltrpathdirs; do
25731 if test "X$x" = "X$found_dir"; then
25732 haveit=yes
25733 break
25734 fi
25735 done
25736 if test -z "$haveit"; then
25737 ltrpathdirs="$ltrpathdirs $found_dir"
25738 fi
25739 if test "$hardcode_direct" = yes; then
25740 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25741 else
25742 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25743 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25744 haveit=
25745 for x in $rpathdirs; do
25746 if test "X$x" = "X$found_dir"; then
25747 haveit=yes
25748 break
25749 fi
25750 done
25751 if test -z "$haveit"; then
25752 rpathdirs="$rpathdirs $found_dir"
25753 fi
25754 else
25755 haveit=
25756 for x in $LDFLAGS $LIBICONV; do
25757
25758 acl_save_prefix="$prefix"
25759 prefix="$acl_final_prefix"
25760 acl_save_exec_prefix="$exec_prefix"
25761 exec_prefix="$acl_final_exec_prefix"
25762 eval x=\"$x\"
25763 exec_prefix="$acl_save_exec_prefix"
25764 prefix="$acl_save_prefix"
25765
25766 if test "X$x" = "X-L$found_dir"; then
25767 haveit=yes
25768 break
25769 fi
25770 done
25771 if test -z "$haveit"; then
25772 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25773 fi
25774 if test "$hardcode_minus_L" != no; then
25775 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25776 else
25777 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25778 fi
25779 fi
25780 fi
25781 fi
25782 else
25783 if test "X$found_a" != "X"; then
25784 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25785 else
25786 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25787 fi
25788 fi
25789 additional_includedir=
25790 case "$found_dir" in
25791 */lib | */lib/)
25792 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25793 additional_includedir="$basedir/include"
25794 ;;
25795 esac
25796 if test "X$additional_includedir" != "X"; then
25797 if test "X$additional_includedir" != "X/usr/include"; then
25798 haveit=
25799 if test "X$additional_includedir" = "X/usr/local/include"; then
25800 if test -n "$GCC"; then
25801 case $host_os in
25802 linux*) haveit=yes;;
25803 esac
25804 fi
25805 fi
25806 if test -z "$haveit"; then
25807 for x in $CPPFLAGS $INCICONV; do
25808
25809 acl_save_prefix="$prefix"
25810 prefix="$acl_final_prefix"
25811 acl_save_exec_prefix="$exec_prefix"
25812 exec_prefix="$acl_final_exec_prefix"
25813 eval x=\"$x\"
25814 exec_prefix="$acl_save_exec_prefix"
25815 prefix="$acl_save_prefix"
25816
25817 if test "X$x" = "X-I$additional_includedir"; then
25818 haveit=yes
25819 break
25820 fi
25821 done
25822 if test -z "$haveit"; then
25823 if test -d "$additional_includedir"; then
25824 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25825 fi
25826 fi
25827 fi
25828 fi
25829 fi
25830 if test -n "$found_la"; then
25831 save_libdir="$libdir"
25832 case "$found_la" in
25833 */* | *\\*) . "$found_la" ;;
25834 *) . "./$found_la" ;;
25835 esac
25836 libdir="$save_libdir"
25837 for dep in $dependency_libs; do
25838 case "$dep" in
25839 -L*)
25840 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25841 if test "X$additional_libdir" != "X/usr/lib"; then
25842 haveit=
25843 if test "X$additional_libdir" = "X/usr/local/lib"; then
25844 if test -n "$GCC"; then
25845 case $host_os in
25846 linux*) haveit=yes;;
25847 esac
25848 fi
25849 fi
25850 if test -z "$haveit"; then
25851 haveit=
25852 for x in $LDFLAGS $LIBICONV; do
25853
25854 acl_save_prefix="$prefix"
25855 prefix="$acl_final_prefix"
25856 acl_save_exec_prefix="$exec_prefix"
25857 exec_prefix="$acl_final_exec_prefix"
25858 eval x=\"$x\"
25859 exec_prefix="$acl_save_exec_prefix"
25860 prefix="$acl_save_prefix"
25861
25862 if test "X$x" = "X-L$additional_libdir"; then
25863 haveit=yes
25864 break
25865 fi
25866 done
25867 if test -z "$haveit"; then
25868 if test -d "$additional_libdir"; then
25869 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
25870 fi
25871 fi
25872 haveit=
25873 for x in $LDFLAGS $LTLIBICONV; do
25874
25875 acl_save_prefix="$prefix"
25876 prefix="$acl_final_prefix"
25877 acl_save_exec_prefix="$exec_prefix"
25878 exec_prefix="$acl_final_exec_prefix"
25879 eval x=\"$x\"
25880 exec_prefix="$acl_save_exec_prefix"
25881 prefix="$acl_save_prefix"
25882
25883 if test "X$x" = "X-L$additional_libdir"; then
25884 haveit=yes
25885 break
25886 fi
25887 done
25888 if test -z "$haveit"; then
25889 if test -d "$additional_libdir"; then
25890 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
25891 fi
25892 fi
25893 fi
25894 fi
25895 ;;
25896 -R*)
25897 dir=`echo "X$dep" | sed -e 's/^X-R//'`
25898 if test "$enable_rpath" != no; then
25899 haveit=
25900 for x in $rpathdirs; do
25901 if test "X$x" = "X$dir"; then
25902 haveit=yes
25903 break
25904 fi
25905 done
25906 if test -z "$haveit"; then
25907 rpathdirs="$rpathdirs $dir"
25908 fi
25909 haveit=
25910 for x in $ltrpathdirs; do
25911 if test "X$x" = "X$dir"; then
25912 haveit=yes
25913 break
25914 fi
25915 done
25916 if test -z "$haveit"; then
25917 ltrpathdirs="$ltrpathdirs $dir"
25918 fi
25919 fi
25920 ;;
25921 -l*)
25922 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
25923 ;;
25924 *.la)
25925 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
25926 ;;
25927 *)
25928 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
25929 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
25930 ;;
25931 esac
25932 done
25933 fi
25934 else
25935 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25936 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
25937 fi
25938 fi
25939 fi
25940 done
25941 done
25942 if test "X$rpathdirs" != "X"; then
25943 if test -n "$hardcode_libdir_separator"; then
25944 alldirs=
25945 for found_dir in $rpathdirs; do
25946 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
25947 done
25948 acl_save_libdir="$libdir"
25949 libdir="$alldirs"
25950 eval flag=\"$hardcode_libdir_flag_spec\"
25951 libdir="$acl_save_libdir"
25952 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
25953 else
25954 for found_dir in $rpathdirs; do
25955 acl_save_libdir="$libdir"
25956 libdir="$found_dir"
25957 eval flag=\"$hardcode_libdir_flag_spec\"
25958 libdir="$acl_save_libdir"
25959 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
25960 done
25961 fi
25962 fi
25963 if test "X$ltrpathdirs" != "X"; then
25964 for found_dir in $ltrpathdirs; do
25965 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
25966 done
25967 fi
25968
25969
25970
25971
25972
25973
25974
25975 am_save_CPPFLAGS="$CPPFLAGS"
25976
25977 for element in $INCICONV; do
25978 haveit=
25979 for x in $CPPFLAGS; do
25980
25981 acl_save_prefix="$prefix"
25982 prefix="$acl_final_prefix"
25983 acl_save_exec_prefix="$exec_prefix"
25984 exec_prefix="$acl_final_exec_prefix"
25985 eval x=\"$x\"
25986 exec_prefix="$acl_save_exec_prefix"
25987 prefix="$acl_save_prefix"
25988
25989 if test "X$x" = "X$element"; then
25990 haveit=yes
25991 break
25992 fi
25993 done
25994 if test -z "$haveit"; then
25995 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
25996 fi
25997 done
25998
25999
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26001 $as_echo_n "checking for iconv... " >&6; }
26002 if test "${am_cv_func_iconv+set}" = set; then :
26003 $as_echo_n "(cached) " >&6
26004 else
26005
26006 am_cv_func_iconv="no, consider installing GNU libiconv"
26007 am_cv_lib_iconv=no
26008 if test x$gcc_no_link = xyes; then
26009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26010 fi
26011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h. */
26013 #include <stdlib.h>
26014 #include <iconv.h>
26015 int
26016 main ()
26017 {
26018 iconv_t cd = iconv_open("","");
26019 iconv(cd,NULL,NULL,NULL,NULL);
26020 iconv_close(cd);
26021 ;
26022 return 0;
26023 }
26024 _ACEOF
26025 if ac_fn_c_try_link "$LINENO"; then :
26026 am_cv_func_iconv=yes
26027 fi
26028 rm -f core conftest.err conftest.$ac_objext \
26029 conftest$ac_exeext conftest.$ac_ext
26030 if test "$am_cv_func_iconv" != yes; then
26031 am_save_LIBS="$LIBS"
26032 LIBS="$LIBS $LIBICONV"
26033 if test x$gcc_no_link = xyes; then
26034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26035 fi
26036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26037 /* end confdefs.h. */
26038 #include <stdlib.h>
26039 #include <iconv.h>
26040 int
26041 main ()
26042 {
26043 iconv_t cd = iconv_open("","");
26044 iconv(cd,NULL,NULL,NULL,NULL);
26045 iconv_close(cd);
26046 ;
26047 return 0;
26048 }
26049 _ACEOF
26050 if ac_fn_c_try_link "$LINENO"; then :
26051 am_cv_lib_iconv=yes
26052 am_cv_func_iconv=yes
26053 fi
26054 rm -f core conftest.err conftest.$ac_objext \
26055 conftest$ac_exeext conftest.$ac_ext
26056 LIBS="$am_save_LIBS"
26057 fi
26058
26059 fi
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26061 $as_echo "$am_cv_func_iconv" >&6; }
26062 if test "$am_cv_func_iconv" = yes; then
26063
26064 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26065
26066 fi
26067 if test "$am_cv_lib_iconv" = yes; then
26068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26069 $as_echo_n "checking how to link with libiconv... " >&6; }
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26071 $as_echo "$LIBICONV" >&6; }
26072 else
26073 CPPFLAGS="$am_save_CPPFLAGS"
26074 LIBICONV=
26075 LTLIBICONV=
26076 fi
26077
26078
26079
26080 if test "$am_cv_func_iconv" = yes; then
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26082 $as_echo_n "checking for iconv declaration... " >&6; }
26083 if test "${am_cv_proto_iconv+set}" = set; then :
26084 $as_echo_n "(cached) " >&6
26085 else
26086
26087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26088 /* end confdefs.h. */
26089
26090 #include <stdlib.h>
26091 #include <iconv.h>
26092 extern
26093 #ifdef __cplusplus
26094 "C"
26095 #endif
26096 #if defined(__STDC__) || defined(__cplusplus)
26097 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26098 #else
26099 size_t iconv();
26100 #endif
26101
26102 int
26103 main ()
26104 {
26105
26106 ;
26107 return 0;
26108 }
26109 _ACEOF
26110 if ac_fn_c_try_compile "$LINENO"; then :
26111 am_cv_proto_iconv_arg1=""
26112 else
26113 am_cv_proto_iconv_arg1="const"
26114 fi
26115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26116 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);"
26117 fi
26118
26119 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26121 }$am_cv_proto_iconv" >&5
26122 $as_echo "${ac_t:-
26123 }$am_cv_proto_iconv" >&6; }
26124
26125 cat >>confdefs.h <<_ACEOF
26126 #define ICONV_CONST $am_cv_proto_iconv_arg1
26127 _ACEOF
26128
26129 fi
26130
26131
26132 else
26133
26134 # This lets us hard-code the functionality we know we'll have in the cross
26135 # target environment. "Let" is a sugar-coated word placed on an especially
26136 # dull and tedious hack, actually.
26137 #
26138 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26139 # that involve linking, can't be used:
26140 # "cannot open sim-crt0.o"
26141 # "cannot open crt0.o"
26142 # etc. All this is because there currently exists no unified, consistent
26143 # way for top level CC information to be passed down to target directories:
26144 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26145 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26146 # crosses can be removed.
26147
26148 # If Canadian cross, then don't pick up tools from the build directory.
26149 # Used only in GLIBCXX_EXPORT_INCLUDES.
26150 if test -n "$with_cross_host" &&
26151 test x"$build_alias" != x"$with_cross_host" &&
26152 test x"$build" != x"$target";
26153 then
26154 CANADIAN=yes
26155 else
26156 CANADIAN=no
26157 fi
26158
26159 # Construct crosses by hand, eliminating bits that need ld...
26160 # GLIBCXX_CHECK_MATH_SUPPORT
26161
26162 # First, test for "known" system libraries. We may be using newlib even
26163 # on a hosted environment.
26164 if test "x${with_newlib}" = "xyes"; then
26165 os_include_dir="os/newlib"
26166 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26167
26168
26169 # GLIBCXX_CHECK_STDLIB_SUPPORT
26170 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26171
26172
26173 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26174
26175 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26176
26177 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26178
26179 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26180
26181 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26182
26183 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26184
26185 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26186
26187 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26188
26189 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26190
26191 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26192
26193 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26194
26195 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26196
26197 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26198
26199 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26200
26201 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26202
26203 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26204
26205 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26206
26207 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26208
26209 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26210
26211 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26212
26213 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26214
26215 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26216
26217
26218 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26219
26220 else
26221
26222 # Base decisions on target environment.
26223 case "${host}" in
26224 arm*-*-symbianelf*)
26225 # This is a freestanding configuration; there is nothing to do here.
26226 ;;
26227
26228 mips*-sde-elf*)
26229 # These definitions are for the SDE C library rather than newlib.
26230 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26231
26232
26233 # All these tests are for C++; save the language and the compiler flags.
26234 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26235 # found in GLIBCXX_CONFIGURE.
26236
26237 ac_ext=cpp
26238 ac_cpp='$CXXCPP $CPPFLAGS'
26239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26242
26243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26244 ac_save_CXXFLAGS="$CXXFLAGS"
26245
26246 # Check for maintainer-mode bits.
26247 if test x"$USE_MAINTAINER_MODE" = xno; then
26248 WERROR=''
26249 else
26250 WERROR='-Werror'
26251 fi
26252
26253 # Check for -ffunction-sections -fdata-sections
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26255 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26256 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26258 /* end confdefs.h. */
26259 int foo; void bar() { };
26260 int
26261 main ()
26262 {
26263
26264 ;
26265 return 0;
26266 }
26267 _ACEOF
26268 if ac_fn_cxx_try_compile "$LINENO"; then :
26269 ac_fdsections=yes
26270 else
26271 ac_fdsections=no
26272 fi
26273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26274 if test "$ac_test_CXXFLAGS" = set; then
26275 CXXFLAGS="$ac_save_CXXFLAGS"
26276 else
26277 # this is the suspicious part
26278 CXXFLAGS=''
26279 fi
26280 if test x"$ac_fdsections" = x"yes"; then
26281 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26282 fi
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26284 $as_echo "$ac_fdsections" >&6; }
26285
26286 ac_ext=c
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26291
26292
26293
26294
26295
26296 # If we're not using GNU ld, then there's no point in even trying these
26297 # tests. Check for that first. We should have already tested for gld
26298 # by now (in libtool), but require it now just to be safe...
26299 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26300 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26301
26302
26303
26304 # The name set by libtool depends on the version of libtool. Shame on us
26305 # for depending on an impl detail, but c'est la vie. Older versions used
26306 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26307 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26308 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26309 # set (hence we're using an older libtool), then set it.
26310 if test x${with_gnu_ld+set} != xset; then
26311 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26312 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26313 with_gnu_ld=no
26314 else
26315 with_gnu_ld=$ac_cv_prog_gnu_ld
26316 fi
26317 fi
26318
26319 # Start by getting the version number. I think the libtool test already
26320 # does some of this, but throws away the result.
26321 glibcxx_ld_is_gold=no
26322 if test x"$with_gnu_ld" = x"yes"; then
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26324 $as_echo_n "checking for ld version... " >&6; }
26325
26326 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26327 glibcxx_ld_is_gold=yes
26328 fi
26329 ldver=`$LD --version 2>/dev/null |
26330 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'`
26331
26332 glibcxx_gnu_ld_version=`echo $ldver | \
26333 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26335 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26336 fi
26337
26338 # Set --gc-sections.
26339 glibcxx_have_gc_sections=no
26340 if test "$glibcxx_ld_is_gold" = "yes"; then
26341 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26342 glibcxx_have_gc_sections=yes
26343 fi
26344 else
26345 glibcxx_gcsections_min_ld=21602
26346 if test x"$with_gnu_ld" = x"yes" &&
26347 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26348 glibcxx_have_gc_sections=yes
26349 fi
26350 fi
26351 if test "$glibcxx_have_gc_sections" = "yes"; then
26352 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26353 # NB: This flag only works reliably after 2.16.1. Configure tests
26354 # for this are difficult, so hard wire a value that should work.
26355
26356 ac_test_CFLAGS="${CFLAGS+set}"
26357 ac_save_CFLAGS="$CFLAGS"
26358 CFLAGS='-Wl,--gc-sections'
26359
26360 # Check for -Wl,--gc-sections
26361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26362 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26363 if test x$gcc_no_link = xyes; then
26364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26365 fi
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 int one(void) { return 1; }
26369 int two(void) { return 2; }
26370
26371 int
26372 main ()
26373 {
26374 two();
26375 ;
26376 return 0;
26377 }
26378 _ACEOF
26379 if ac_fn_c_try_link "$LINENO"; then :
26380 ac_gcsections=yes
26381 else
26382 ac_gcsections=no
26383 fi
26384 rm -f core conftest.err conftest.$ac_objext \
26385 conftest$ac_exeext conftest.$ac_ext
26386 if test "$ac_gcsections" = "yes"; then
26387 rm -f conftest.c
26388 touch conftest.c
26389 if $CC -c conftest.c; then
26390 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26391 grep "Warning: gc-sections option ignored" > /dev/null; then
26392 ac_gcsections=no
26393 fi
26394 fi
26395 rm -f conftest.c conftest.o conftest
26396 fi
26397 if test "$ac_gcsections" = "yes"; then
26398 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26399 fi
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26401 $as_echo "$ac_gcsections" >&6; }
26402
26403 if test "$ac_test_CFLAGS" = set; then
26404 CFLAGS="$ac_save_CFLAGS"
26405 else
26406 # this is the suspicious part
26407 CFLAGS=''
26408 fi
26409 fi
26410
26411 # Set -z,relro.
26412 # Note this is only for shared objects.
26413 ac_ld_relro=no
26414 if test x"$with_gnu_ld" = x"yes"; then
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26416 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26417 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26418 if test -n "$cxx_z_relo"; then
26419 OPT_LDFLAGS="-Wl,-z,relro"
26420 ac_ld_relro=yes
26421 fi
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26423 $as_echo "$ac_ld_relro" >&6; }
26424 fi
26425
26426 # Set linker optimization flags.
26427 if test x"$with_gnu_ld" = x"yes"; then
26428 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26429 fi
26430
26431
26432
26433
26434
26435 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26436 ac_save_CXXFLAGS="$CXXFLAGS"
26437 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26438
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26440 $as_echo_n "checking for sin in -lm... " >&6; }
26441 if test "${ac_cv_lib_m_sin+set}" = set; then :
26442 $as_echo_n "(cached) " >&6
26443 else
26444 ac_check_lib_save_LIBS=$LIBS
26445 LIBS="-lm $LIBS"
26446 if test x$gcc_no_link = xyes; then
26447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26448 fi
26449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h. */
26451
26452 /* Override any GCC internal prototype to avoid an error.
26453 Use char because int might match the return type of a GCC
26454 builtin and then its argument prototype would still apply. */
26455 #ifdef __cplusplus
26456 extern "C"
26457 #endif
26458 char sin ();
26459 int
26460 main ()
26461 {
26462 return sin ();
26463 ;
26464 return 0;
26465 }
26466 _ACEOF
26467 if ac_fn_c_try_link "$LINENO"; then :
26468 ac_cv_lib_m_sin=yes
26469 else
26470 ac_cv_lib_m_sin=no
26471 fi
26472 rm -f core conftest.err conftest.$ac_objext \
26473 conftest$ac_exeext conftest.$ac_ext
26474 LIBS=$ac_check_lib_save_LIBS
26475 fi
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26477 $as_echo "$ac_cv_lib_m_sin" >&6; }
26478 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26479 libm="-lm"
26480 fi
26481
26482 ac_save_LIBS="$LIBS"
26483 LIBS="$LIBS $libm"
26484
26485
26486
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26488 $as_echo_n "checking for isinf declaration... " >&6; }
26489 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26490 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26493
26494
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26500
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26504 #ifdef HAVE_IEEEFP_H
26505 #include <ieeefp.h>
26506 #endif
26507
26508 int
26509 main ()
26510 {
26511 isinf(0);
26512 ;
26513 return 0;
26514 }
26515 _ACEOF
26516 if ac_fn_cxx_try_compile "$LINENO"; then :
26517 glibcxx_cv_func_isinf_use=yes
26518 else
26519 glibcxx_cv_func_isinf_use=no
26520 fi
26521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26522 ac_ext=c
26523 ac_cpp='$CPP $CPPFLAGS'
26524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26527
26528
26529 fi
26530
26531 fi
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26533 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26534
26535 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26536 for ac_func in isinf
26537 do :
26538 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26539 if test "x$ac_cv_func_isinf" = x""yes; then :
26540 cat >>confdefs.h <<_ACEOF
26541 #define HAVE_ISINF 1
26542 _ACEOF
26543
26544 fi
26545 done
26546
26547 else
26548
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26550 $as_echo_n "checking for _isinf declaration... " >&6; }
26551 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26552 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26553 $as_echo_n "(cached) " >&6
26554 else
26555
26556
26557 ac_ext=cpp
26558 ac_cpp='$CXXCPP $CPPFLAGS'
26559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26562
26563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26564 /* end confdefs.h. */
26565 #include <math.h>
26566 #ifdef HAVE_IEEEFP_H
26567 #include <ieeefp.h>
26568 #endif
26569
26570 int
26571 main ()
26572 {
26573 _isinf(0);
26574 ;
26575 return 0;
26576 }
26577 _ACEOF
26578 if ac_fn_cxx_try_compile "$LINENO"; then :
26579 glibcxx_cv_func__isinf_use=yes
26580 else
26581 glibcxx_cv_func__isinf_use=no
26582 fi
26583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584 ac_ext=c
26585 ac_cpp='$CPP $CPPFLAGS'
26586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26589
26590
26591 fi
26592
26593 fi
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26595 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26596
26597 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26598 for ac_func in _isinf
26599 do :
26600 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26601 if test "x$ac_cv_func__isinf" = x""yes; then :
26602 cat >>confdefs.h <<_ACEOF
26603 #define HAVE__ISINF 1
26604 _ACEOF
26605
26606 fi
26607 done
26608
26609 fi
26610 fi
26611
26612
26613
26614
26615
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26617 $as_echo_n "checking for isnan declaration... " >&6; }
26618 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26619 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26622
26623
26624 ac_ext=cpp
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26629
26630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 /* end confdefs.h. */
26632 #include <math.h>
26633 #ifdef HAVE_IEEEFP_H
26634 #include <ieeefp.h>
26635 #endif
26636
26637 int
26638 main ()
26639 {
26640 isnan(0);
26641 ;
26642 return 0;
26643 }
26644 _ACEOF
26645 if ac_fn_cxx_try_compile "$LINENO"; then :
26646 glibcxx_cv_func_isnan_use=yes
26647 else
26648 glibcxx_cv_func_isnan_use=no
26649 fi
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26651 ac_ext=c
26652 ac_cpp='$CPP $CPPFLAGS'
26653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26656
26657
26658 fi
26659
26660 fi
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26662 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26663
26664 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26665 for ac_func in isnan
26666 do :
26667 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26668 if test "x$ac_cv_func_isnan" = x""yes; then :
26669 cat >>confdefs.h <<_ACEOF
26670 #define HAVE_ISNAN 1
26671 _ACEOF
26672
26673 fi
26674 done
26675
26676 else
26677
26678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26679 $as_echo_n "checking for _isnan declaration... " >&6; }
26680 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26681 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26682 $as_echo_n "(cached) " >&6
26683 else
26684
26685
26686 ac_ext=cpp
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26691
26692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26693 /* end confdefs.h. */
26694 #include <math.h>
26695 #ifdef HAVE_IEEEFP_H
26696 #include <ieeefp.h>
26697 #endif
26698
26699 int
26700 main ()
26701 {
26702 _isnan(0);
26703 ;
26704 return 0;
26705 }
26706 _ACEOF
26707 if ac_fn_cxx_try_compile "$LINENO"; then :
26708 glibcxx_cv_func__isnan_use=yes
26709 else
26710 glibcxx_cv_func__isnan_use=no
26711 fi
26712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26713 ac_ext=c
26714 ac_cpp='$CPP $CPPFLAGS'
26715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26718
26719
26720 fi
26721
26722 fi
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26724 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26725
26726 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26727 for ac_func in _isnan
26728 do :
26729 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26730 if test "x$ac_cv_func__isnan" = x""yes; then :
26731 cat >>confdefs.h <<_ACEOF
26732 #define HAVE__ISNAN 1
26733 _ACEOF
26734
26735 fi
26736 done
26737
26738 fi
26739 fi
26740
26741
26742
26743
26744
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26746 $as_echo_n "checking for finite declaration... " >&6; }
26747 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26748 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26749 $as_echo_n "(cached) " >&6
26750 else
26751
26752
26753 ac_ext=cpp
26754 ac_cpp='$CXXCPP $CPPFLAGS'
26755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26758
26759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26760 /* end confdefs.h. */
26761 #include <math.h>
26762 #ifdef HAVE_IEEEFP_H
26763 #include <ieeefp.h>
26764 #endif
26765
26766 int
26767 main ()
26768 {
26769 finite(0);
26770 ;
26771 return 0;
26772 }
26773 _ACEOF
26774 if ac_fn_cxx_try_compile "$LINENO"; then :
26775 glibcxx_cv_func_finite_use=yes
26776 else
26777 glibcxx_cv_func_finite_use=no
26778 fi
26779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26780 ac_ext=c
26781 ac_cpp='$CPP $CPPFLAGS'
26782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26785
26786
26787 fi
26788
26789 fi
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26791 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26792
26793 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26794 for ac_func in finite
26795 do :
26796 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26797 if test "x$ac_cv_func_finite" = x""yes; then :
26798 cat >>confdefs.h <<_ACEOF
26799 #define HAVE_FINITE 1
26800 _ACEOF
26801
26802 fi
26803 done
26804
26805 else
26806
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26808 $as_echo_n "checking for _finite declaration... " >&6; }
26809 if test x${glibcxx_cv_func__finite_use+set} != xset; then
26810 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26811 $as_echo_n "(cached) " >&6
26812 else
26813
26814
26815 ac_ext=cpp
26816 ac_cpp='$CXXCPP $CPPFLAGS'
26817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26820
26821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26822 /* end confdefs.h. */
26823 #include <math.h>
26824 #ifdef HAVE_IEEEFP_H
26825 #include <ieeefp.h>
26826 #endif
26827
26828 int
26829 main ()
26830 {
26831 _finite(0);
26832 ;
26833 return 0;
26834 }
26835 _ACEOF
26836 if ac_fn_cxx_try_compile "$LINENO"; then :
26837 glibcxx_cv_func__finite_use=yes
26838 else
26839 glibcxx_cv_func__finite_use=no
26840 fi
26841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26842 ac_ext=c
26843 ac_cpp='$CPP $CPPFLAGS'
26844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26847
26848
26849 fi
26850
26851 fi
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
26853 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
26854
26855 if test x$glibcxx_cv_func__finite_use = x"yes"; then
26856 for ac_func in _finite
26857 do :
26858 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
26859 if test "x$ac_cv_func__finite" = x""yes; then :
26860 cat >>confdefs.h <<_ACEOF
26861 #define HAVE__FINITE 1
26862 _ACEOF
26863
26864 fi
26865 done
26866
26867 fi
26868 fi
26869
26870
26871
26872
26873
26874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
26875 $as_echo_n "checking for sincos declaration... " >&6; }
26876 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
26877 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
26878 $as_echo_n "(cached) " >&6
26879 else
26880
26881
26882 ac_ext=cpp
26883 ac_cpp='$CXXCPP $CPPFLAGS'
26884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26887
26888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26889 /* end confdefs.h. */
26890 #include <math.h>
26891 int
26892 main ()
26893 {
26894 sincos(0, 0, 0);
26895 ;
26896 return 0;
26897 }
26898 _ACEOF
26899 if ac_fn_cxx_try_compile "$LINENO"; then :
26900 glibcxx_cv_func_sincos_use=yes
26901 else
26902 glibcxx_cv_func_sincos_use=no
26903 fi
26904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26905 ac_ext=c
26906 ac_cpp='$CPP $CPPFLAGS'
26907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26910
26911
26912 fi
26913
26914 fi
26915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
26916 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
26917
26918 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
26919 for ac_func in sincos
26920 do :
26921 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
26922 if test "x$ac_cv_func_sincos" = x""yes; then :
26923 cat >>confdefs.h <<_ACEOF
26924 #define HAVE_SINCOS 1
26925 _ACEOF
26926
26927 fi
26928 done
26929
26930 else
26931
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
26933 $as_echo_n "checking for _sincos declaration... " >&6; }
26934 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
26935 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
26936 $as_echo_n "(cached) " >&6
26937 else
26938
26939
26940 ac_ext=cpp
26941 ac_cpp='$CXXCPP $CPPFLAGS'
26942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26945
26946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26947 /* end confdefs.h. */
26948 #include <math.h>
26949 int
26950 main ()
26951 {
26952 _sincos(0, 0, 0);
26953 ;
26954 return 0;
26955 }
26956 _ACEOF
26957 if ac_fn_cxx_try_compile "$LINENO"; then :
26958 glibcxx_cv_func__sincos_use=yes
26959 else
26960 glibcxx_cv_func__sincos_use=no
26961 fi
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 ac_ext=c
26964 ac_cpp='$CPP $CPPFLAGS'
26965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26968
26969
26970 fi
26971
26972 fi
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
26974 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
26975
26976 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
26977 for ac_func in _sincos
26978 do :
26979 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
26980 if test "x$ac_cv_func__sincos" = x""yes; then :
26981 cat >>confdefs.h <<_ACEOF
26982 #define HAVE__SINCOS 1
26983 _ACEOF
26984
26985 fi
26986 done
26987
26988 fi
26989 fi
26990
26991
26992
26993
26994
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
26996 $as_echo_n "checking for fpclass declaration... " >&6; }
26997 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
26998 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
26999 $as_echo_n "(cached) " >&6
27000 else
27001
27002
27003 ac_ext=cpp
27004 ac_cpp='$CXXCPP $CPPFLAGS'
27005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27008
27009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27010 /* end confdefs.h. */
27011 #include <math.h>
27012 #ifdef HAVE_IEEEFP_H
27013 #include <ieeefp.h>
27014 #endif
27015
27016 int
27017 main ()
27018 {
27019 fpclass(0);
27020 ;
27021 return 0;
27022 }
27023 _ACEOF
27024 if ac_fn_cxx_try_compile "$LINENO"; then :
27025 glibcxx_cv_func_fpclass_use=yes
27026 else
27027 glibcxx_cv_func_fpclass_use=no
27028 fi
27029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27030 ac_ext=c
27031 ac_cpp='$CPP $CPPFLAGS'
27032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27035
27036
27037 fi
27038
27039 fi
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27041 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27042
27043 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27044 for ac_func in fpclass
27045 do :
27046 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27047 if test "x$ac_cv_func_fpclass" = x""yes; then :
27048 cat >>confdefs.h <<_ACEOF
27049 #define HAVE_FPCLASS 1
27050 _ACEOF
27051
27052 fi
27053 done
27054
27055 else
27056
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27058 $as_echo_n "checking for _fpclass declaration... " >&6; }
27059 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27060 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27061 $as_echo_n "(cached) " >&6
27062 else
27063
27064
27065 ac_ext=cpp
27066 ac_cpp='$CXXCPP $CPPFLAGS'
27067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27070
27071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27072 /* end confdefs.h. */
27073 #include <math.h>
27074 #ifdef HAVE_IEEEFP_H
27075 #include <ieeefp.h>
27076 #endif
27077
27078 int
27079 main ()
27080 {
27081 _fpclass(0);
27082 ;
27083 return 0;
27084 }
27085 _ACEOF
27086 if ac_fn_cxx_try_compile "$LINENO"; then :
27087 glibcxx_cv_func__fpclass_use=yes
27088 else
27089 glibcxx_cv_func__fpclass_use=no
27090 fi
27091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27092 ac_ext=c
27093 ac_cpp='$CPP $CPPFLAGS'
27094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27097
27098
27099 fi
27100
27101 fi
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27103 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27104
27105 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27106 for ac_func in _fpclass
27107 do :
27108 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27109 if test "x$ac_cv_func__fpclass" = x""yes; then :
27110 cat >>confdefs.h <<_ACEOF
27111 #define HAVE__FPCLASS 1
27112 _ACEOF
27113
27114 fi
27115 done
27116
27117 fi
27118 fi
27119
27120
27121
27122
27123
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27125 $as_echo_n "checking for qfpclass declaration... " >&6; }
27126 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27127 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27128 $as_echo_n "(cached) " >&6
27129 else
27130
27131
27132 ac_ext=cpp
27133 ac_cpp='$CXXCPP $CPPFLAGS'
27134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27137
27138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27139 /* end confdefs.h. */
27140 #include <math.h>
27141 #ifdef HAVE_IEEEFP_H
27142 #include <ieeefp.h>
27143 #endif
27144
27145 int
27146 main ()
27147 {
27148 qfpclass(0);
27149 ;
27150 return 0;
27151 }
27152 _ACEOF
27153 if ac_fn_cxx_try_compile "$LINENO"; then :
27154 glibcxx_cv_func_qfpclass_use=yes
27155 else
27156 glibcxx_cv_func_qfpclass_use=no
27157 fi
27158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27159 ac_ext=c
27160 ac_cpp='$CPP $CPPFLAGS'
27161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27164
27165
27166 fi
27167
27168 fi
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27170 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27171
27172 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27173 for ac_func in qfpclass
27174 do :
27175 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27176 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27177 cat >>confdefs.h <<_ACEOF
27178 #define HAVE_QFPCLASS 1
27179 _ACEOF
27180
27181 fi
27182 done
27183
27184 else
27185
27186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27187 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27188 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27189 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27190 $as_echo_n "(cached) " >&6
27191 else
27192
27193
27194 ac_ext=cpp
27195 ac_cpp='$CXXCPP $CPPFLAGS'
27196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27199
27200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27201 /* end confdefs.h. */
27202 #include <math.h>
27203 #ifdef HAVE_IEEEFP_H
27204 #include <ieeefp.h>
27205 #endif
27206
27207 int
27208 main ()
27209 {
27210 _qfpclass(0);
27211 ;
27212 return 0;
27213 }
27214 _ACEOF
27215 if ac_fn_cxx_try_compile "$LINENO"; then :
27216 glibcxx_cv_func__qfpclass_use=yes
27217 else
27218 glibcxx_cv_func__qfpclass_use=no
27219 fi
27220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27221 ac_ext=c
27222 ac_cpp='$CPP $CPPFLAGS'
27223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27226
27227
27228 fi
27229
27230 fi
27231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27232 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27233
27234 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27235 for ac_func in _qfpclass
27236 do :
27237 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27238 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27239 cat >>confdefs.h <<_ACEOF
27240 #define HAVE__QFPCLASS 1
27241 _ACEOF
27242
27243 fi
27244 done
27245
27246 fi
27247 fi
27248
27249
27250
27251
27252
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27254 $as_echo_n "checking for hypot declaration... " >&6; }
27255 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27256 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27257 $as_echo_n "(cached) " >&6
27258 else
27259
27260
27261 ac_ext=cpp
27262 ac_cpp='$CXXCPP $CPPFLAGS'
27263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27266
27267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27268 /* end confdefs.h. */
27269 #include <math.h>
27270 int
27271 main ()
27272 {
27273 hypot(0, 0);
27274 ;
27275 return 0;
27276 }
27277 _ACEOF
27278 if ac_fn_cxx_try_compile "$LINENO"; then :
27279 glibcxx_cv_func_hypot_use=yes
27280 else
27281 glibcxx_cv_func_hypot_use=no
27282 fi
27283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27284 ac_ext=c
27285 ac_cpp='$CPP $CPPFLAGS'
27286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27289
27290
27291 fi
27292
27293 fi
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27295 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27296
27297 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27298 for ac_func in hypot
27299 do :
27300 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27301 if test "x$ac_cv_func_hypot" = x""yes; then :
27302 cat >>confdefs.h <<_ACEOF
27303 #define HAVE_HYPOT 1
27304 _ACEOF
27305
27306 fi
27307 done
27308
27309 else
27310
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27312 $as_echo_n "checking for _hypot declaration... " >&6; }
27313 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27314 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27315 $as_echo_n "(cached) " >&6
27316 else
27317
27318
27319 ac_ext=cpp
27320 ac_cpp='$CXXCPP $CPPFLAGS'
27321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27324
27325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27326 /* end confdefs.h. */
27327 #include <math.h>
27328 int
27329 main ()
27330 {
27331 _hypot(0, 0);
27332 ;
27333 return 0;
27334 }
27335 _ACEOF
27336 if ac_fn_cxx_try_compile "$LINENO"; then :
27337 glibcxx_cv_func__hypot_use=yes
27338 else
27339 glibcxx_cv_func__hypot_use=no
27340 fi
27341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27342 ac_ext=c
27343 ac_cpp='$CPP $CPPFLAGS'
27344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27347
27348
27349 fi
27350
27351 fi
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27353 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27354
27355 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27356 for ac_func in _hypot
27357 do :
27358 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27359 if test "x$ac_cv_func__hypot" = x""yes; then :
27360 cat >>confdefs.h <<_ACEOF
27361 #define HAVE__HYPOT 1
27362 _ACEOF
27363
27364 fi
27365 done
27366
27367 fi
27368 fi
27369
27370
27371
27372
27373
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27375 $as_echo_n "checking for float trig functions... " >&6; }
27376 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27377 $as_echo_n "(cached) " >&6
27378 else
27379
27380
27381 ac_ext=cpp
27382 ac_cpp='$CXXCPP $CPPFLAGS'
27383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27386
27387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27388 /* end confdefs.h. */
27389 #include <math.h>
27390 int
27391 main ()
27392 {
27393 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 if ac_fn_cxx_try_compile "$LINENO"; then :
27399 glibcxx_cv_func_float_trig_use=yes
27400 else
27401 glibcxx_cv_func_float_trig_use=no
27402 fi
27403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27404 ac_ext=c
27405 ac_cpp='$CPP $CPPFLAGS'
27406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27409
27410 fi
27411
27412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27413 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27414 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27415 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27416 do :
27417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27419 eval as_val=\$$as_ac_var
27420 if test "x$as_val" = x""yes; then :
27421 cat >>confdefs.h <<_ACEOF
27422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27423 _ACEOF
27424
27425 fi
27426 done
27427
27428 else
27429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27430 $as_echo_n "checking for _float trig functions... " >&6; }
27431 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27432 $as_echo_n "(cached) " >&6
27433 else
27434
27435
27436 ac_ext=cpp
27437 ac_cpp='$CXXCPP $CPPFLAGS'
27438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27441
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27444 #include <math.h>
27445 int
27446 main ()
27447 {
27448 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27449 ;
27450 return 0;
27451 }
27452 _ACEOF
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454 glibcxx_cv_func__float_trig_use=yes
27455 else
27456 glibcxx_cv_func__float_trig_use=no
27457 fi
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459 ac_ext=c
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27464
27465 fi
27466
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27468 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27469 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27470 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27471 do :
27472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27474 eval as_val=\$$as_ac_var
27475 if test "x$as_val" = x""yes; then :
27476 cat >>confdefs.h <<_ACEOF
27477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27478 _ACEOF
27479
27480 fi
27481 done
27482
27483 fi
27484 fi
27485
27486
27487
27488
27489
27490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27491 $as_echo_n "checking for float round functions... " >&6; }
27492 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27493 $as_echo_n "(cached) " >&6
27494 else
27495
27496
27497 ac_ext=cpp
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27502
27503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27504 /* end confdefs.h. */
27505 #include <math.h>
27506 int
27507 main ()
27508 {
27509 ceilf (0); floorf (0);
27510 ;
27511 return 0;
27512 }
27513 _ACEOF
27514 if ac_fn_cxx_try_compile "$LINENO"; then :
27515 glibcxx_cv_func_float_round_use=yes
27516 else
27517 glibcxx_cv_func_float_round_use=no
27518 fi
27519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27520 ac_ext=c
27521 ac_cpp='$CPP $CPPFLAGS'
27522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27525
27526 fi
27527
27528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27529 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27530 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27531 for ac_func in ceilf floorf
27532 do :
27533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27535 eval as_val=\$$as_ac_var
27536 if test "x$as_val" = x""yes; then :
27537 cat >>confdefs.h <<_ACEOF
27538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27539 _ACEOF
27540
27541 fi
27542 done
27543
27544 else
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27546 $as_echo_n "checking for _float round functions... " >&6; }
27547 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27548 $as_echo_n "(cached) " >&6
27549 else
27550
27551
27552 ac_ext=cpp
27553 ac_cpp='$CXXCPP $CPPFLAGS'
27554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27557
27558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27559 /* end confdefs.h. */
27560 #include <math.h>
27561 int
27562 main ()
27563 {
27564 _ceilf (0); _floorf (0);
27565 ;
27566 return 0;
27567 }
27568 _ACEOF
27569 if ac_fn_cxx_try_compile "$LINENO"; then :
27570 glibcxx_cv_func__float_round_use=yes
27571 else
27572 glibcxx_cv_func__float_round_use=no
27573 fi
27574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27575 ac_ext=c
27576 ac_cpp='$CPP $CPPFLAGS'
27577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27580
27581 fi
27582
27583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27584 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27585 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27586 for ac_func in _ceilf _floorf
27587 do :
27588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27590 eval as_val=\$$as_ac_var
27591 if test "x$as_val" = x""yes; then :
27592 cat >>confdefs.h <<_ACEOF
27593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27594 _ACEOF
27595
27596 fi
27597 done
27598
27599 fi
27600 fi
27601
27602
27603
27604
27605
27606
27607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27608 $as_echo_n "checking for expf declaration... " >&6; }
27609 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27610 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27611 $as_echo_n "(cached) " >&6
27612 else
27613
27614
27615 ac_ext=cpp
27616 ac_cpp='$CXXCPP $CPPFLAGS'
27617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27620
27621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27622 /* end confdefs.h. */
27623 #include <math.h>
27624 #ifdef HAVE_IEEEFP_H
27625 #include <ieeefp.h>
27626 #endif
27627
27628 int
27629 main ()
27630 {
27631 expf(0);
27632 ;
27633 return 0;
27634 }
27635 _ACEOF
27636 if ac_fn_cxx_try_compile "$LINENO"; then :
27637 glibcxx_cv_func_expf_use=yes
27638 else
27639 glibcxx_cv_func_expf_use=no
27640 fi
27641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27642 ac_ext=c
27643 ac_cpp='$CPP $CPPFLAGS'
27644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27647
27648
27649 fi
27650
27651 fi
27652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27653 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27654
27655 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27656 for ac_func in expf
27657 do :
27658 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27659 if test "x$ac_cv_func_expf" = x""yes; then :
27660 cat >>confdefs.h <<_ACEOF
27661 #define HAVE_EXPF 1
27662 _ACEOF
27663
27664 fi
27665 done
27666
27667 else
27668
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27670 $as_echo_n "checking for _expf declaration... " >&6; }
27671 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27672 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27673 $as_echo_n "(cached) " >&6
27674 else
27675
27676
27677 ac_ext=cpp
27678 ac_cpp='$CXXCPP $CPPFLAGS'
27679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27682
27683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27684 /* end confdefs.h. */
27685 #include <math.h>
27686 #ifdef HAVE_IEEEFP_H
27687 #include <ieeefp.h>
27688 #endif
27689
27690 int
27691 main ()
27692 {
27693 _expf(0);
27694 ;
27695 return 0;
27696 }
27697 _ACEOF
27698 if ac_fn_cxx_try_compile "$LINENO"; then :
27699 glibcxx_cv_func__expf_use=yes
27700 else
27701 glibcxx_cv_func__expf_use=no
27702 fi
27703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27704 ac_ext=c
27705 ac_cpp='$CPP $CPPFLAGS'
27706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27709
27710
27711 fi
27712
27713 fi
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27715 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27716
27717 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27718 for ac_func in _expf
27719 do :
27720 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27721 if test "x$ac_cv_func__expf" = x""yes; then :
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE__EXPF 1
27724 _ACEOF
27725
27726 fi
27727 done
27728
27729 fi
27730 fi
27731
27732
27733
27734
27735
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27737 $as_echo_n "checking for isnanf declaration... " >&6; }
27738 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27739 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27740 $as_echo_n "(cached) " >&6
27741 else
27742
27743
27744 ac_ext=cpp
27745 ac_cpp='$CXXCPP $CPPFLAGS'
27746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27749
27750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27751 /* end confdefs.h. */
27752 #include <math.h>
27753 #ifdef HAVE_IEEEFP_H
27754 #include <ieeefp.h>
27755 #endif
27756
27757 int
27758 main ()
27759 {
27760 isnanf(0);
27761 ;
27762 return 0;
27763 }
27764 _ACEOF
27765 if ac_fn_cxx_try_compile "$LINENO"; then :
27766 glibcxx_cv_func_isnanf_use=yes
27767 else
27768 glibcxx_cv_func_isnanf_use=no
27769 fi
27770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27771 ac_ext=c
27772 ac_cpp='$CPP $CPPFLAGS'
27773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27776
27777
27778 fi
27779
27780 fi
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27782 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27783
27784 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27785 for ac_func in isnanf
27786 do :
27787 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27788 if test "x$ac_cv_func_isnanf" = x""yes; then :
27789 cat >>confdefs.h <<_ACEOF
27790 #define HAVE_ISNANF 1
27791 _ACEOF
27792
27793 fi
27794 done
27795
27796 else
27797
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27799 $as_echo_n "checking for _isnanf declaration... " >&6; }
27800 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27801 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27802 $as_echo_n "(cached) " >&6
27803 else
27804
27805
27806 ac_ext=cpp
27807 ac_cpp='$CXXCPP $CPPFLAGS'
27808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27811
27812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27813 /* end confdefs.h. */
27814 #include <math.h>
27815 #ifdef HAVE_IEEEFP_H
27816 #include <ieeefp.h>
27817 #endif
27818
27819 int
27820 main ()
27821 {
27822 _isnanf(0);
27823 ;
27824 return 0;
27825 }
27826 _ACEOF
27827 if ac_fn_cxx_try_compile "$LINENO"; then :
27828 glibcxx_cv_func__isnanf_use=yes
27829 else
27830 glibcxx_cv_func__isnanf_use=no
27831 fi
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833 ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27838
27839
27840 fi
27841
27842 fi
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
27844 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
27845
27846 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27847 for ac_func in _isnanf
27848 do :
27849 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
27850 if test "x$ac_cv_func__isnanf" = x""yes; then :
27851 cat >>confdefs.h <<_ACEOF
27852 #define HAVE__ISNANF 1
27853 _ACEOF
27854
27855 fi
27856 done
27857
27858 fi
27859 fi
27860
27861
27862
27863
27864
27865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
27866 $as_echo_n "checking for isinff declaration... " >&6; }
27867 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27868 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
27869 $as_echo_n "(cached) " >&6
27870 else
27871
27872
27873 ac_ext=cpp
27874 ac_cpp='$CXXCPP $CPPFLAGS'
27875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27878
27879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27880 /* end confdefs.h. */
27881 #include <math.h>
27882 #ifdef HAVE_IEEEFP_H
27883 #include <ieeefp.h>
27884 #endif
27885
27886 int
27887 main ()
27888 {
27889 isinff(0);
27890 ;
27891 return 0;
27892 }
27893 _ACEOF
27894 if ac_fn_cxx_try_compile "$LINENO"; then :
27895 glibcxx_cv_func_isinff_use=yes
27896 else
27897 glibcxx_cv_func_isinff_use=no
27898 fi
27899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27900 ac_ext=c
27901 ac_cpp='$CPP $CPPFLAGS'
27902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27905
27906
27907 fi
27908
27909 fi
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
27911 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
27912
27913 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
27914 for ac_func in isinff
27915 do :
27916 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
27917 if test "x$ac_cv_func_isinff" = x""yes; then :
27918 cat >>confdefs.h <<_ACEOF
27919 #define HAVE_ISINFF 1
27920 _ACEOF
27921
27922 fi
27923 done
27924
27925 else
27926
27927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
27928 $as_echo_n "checking for _isinff declaration... " >&6; }
27929 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
27930 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
27931 $as_echo_n "(cached) " >&6
27932 else
27933
27934
27935 ac_ext=cpp
27936 ac_cpp='$CXXCPP $CPPFLAGS'
27937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27940
27941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27942 /* end confdefs.h. */
27943 #include <math.h>
27944 #ifdef HAVE_IEEEFP_H
27945 #include <ieeefp.h>
27946 #endif
27947
27948 int
27949 main ()
27950 {
27951 _isinff(0);
27952 ;
27953 return 0;
27954 }
27955 _ACEOF
27956 if ac_fn_cxx_try_compile "$LINENO"; then :
27957 glibcxx_cv_func__isinff_use=yes
27958 else
27959 glibcxx_cv_func__isinff_use=no
27960 fi
27961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27962 ac_ext=c
27963 ac_cpp='$CPP $CPPFLAGS'
27964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27967
27968
27969 fi
27970
27971 fi
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
27973 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
27974
27975 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
27976 for ac_func in _isinff
27977 do :
27978 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
27979 if test "x$ac_cv_func__isinff" = x""yes; then :
27980 cat >>confdefs.h <<_ACEOF
27981 #define HAVE__ISINFF 1
27982 _ACEOF
27983
27984 fi
27985 done
27986
27987 fi
27988 fi
27989
27990
27991
27992
27993
27994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
27995 $as_echo_n "checking for atan2f declaration... " >&6; }
27996 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
27997 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
27998 $as_echo_n "(cached) " >&6
27999 else
28000
28001
28002 ac_ext=cpp
28003 ac_cpp='$CXXCPP $CPPFLAGS'
28004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28007
28008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28009 /* end confdefs.h. */
28010 #include <math.h>
28011 int
28012 main ()
28013 {
28014 atan2f(0, 0);
28015 ;
28016 return 0;
28017 }
28018 _ACEOF
28019 if ac_fn_cxx_try_compile "$LINENO"; then :
28020 glibcxx_cv_func_atan2f_use=yes
28021 else
28022 glibcxx_cv_func_atan2f_use=no
28023 fi
28024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28025 ac_ext=c
28026 ac_cpp='$CPP $CPPFLAGS'
28027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28030
28031
28032 fi
28033
28034 fi
28035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28036 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28037
28038 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28039 for ac_func in atan2f
28040 do :
28041 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28042 if test "x$ac_cv_func_atan2f" = x""yes; then :
28043 cat >>confdefs.h <<_ACEOF
28044 #define HAVE_ATAN2F 1
28045 _ACEOF
28046
28047 fi
28048 done
28049
28050 else
28051
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28053 $as_echo_n "checking for _atan2f declaration... " >&6; }
28054 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28055 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28056 $as_echo_n "(cached) " >&6
28057 else
28058
28059
28060 ac_ext=cpp
28061 ac_cpp='$CXXCPP $CPPFLAGS'
28062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28065
28066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28067 /* end confdefs.h. */
28068 #include <math.h>
28069 int
28070 main ()
28071 {
28072 _atan2f(0, 0);
28073 ;
28074 return 0;
28075 }
28076 _ACEOF
28077 if ac_fn_cxx_try_compile "$LINENO"; then :
28078 glibcxx_cv_func__atan2f_use=yes
28079 else
28080 glibcxx_cv_func__atan2f_use=no
28081 fi
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 ac_ext=c
28084 ac_cpp='$CPP $CPPFLAGS'
28085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28088
28089
28090 fi
28091
28092 fi
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28094 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28095
28096 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28097 for ac_func in _atan2f
28098 do :
28099 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28100 if test "x$ac_cv_func__atan2f" = x""yes; then :
28101 cat >>confdefs.h <<_ACEOF
28102 #define HAVE__ATAN2F 1
28103 _ACEOF
28104
28105 fi
28106 done
28107
28108 fi
28109 fi
28110
28111
28112
28113
28114
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28116 $as_echo_n "checking for fabsf declaration... " >&6; }
28117 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28118 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28119 $as_echo_n "(cached) " >&6
28120 else
28121
28122
28123 ac_ext=cpp
28124 ac_cpp='$CXXCPP $CPPFLAGS'
28125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28128
28129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28130 /* end confdefs.h. */
28131 #include <math.h>
28132 #ifdef HAVE_IEEEFP_H
28133 #include <ieeefp.h>
28134 #endif
28135
28136 int
28137 main ()
28138 {
28139 fabsf(0);
28140 ;
28141 return 0;
28142 }
28143 _ACEOF
28144 if ac_fn_cxx_try_compile "$LINENO"; then :
28145 glibcxx_cv_func_fabsf_use=yes
28146 else
28147 glibcxx_cv_func_fabsf_use=no
28148 fi
28149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28150 ac_ext=c
28151 ac_cpp='$CPP $CPPFLAGS'
28152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28155
28156
28157 fi
28158
28159 fi
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28161 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28162
28163 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28164 for ac_func in fabsf
28165 do :
28166 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28167 if test "x$ac_cv_func_fabsf" = x""yes; then :
28168 cat >>confdefs.h <<_ACEOF
28169 #define HAVE_FABSF 1
28170 _ACEOF
28171
28172 fi
28173 done
28174
28175 else
28176
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28178 $as_echo_n "checking for _fabsf declaration... " >&6; }
28179 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28180 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28181 $as_echo_n "(cached) " >&6
28182 else
28183
28184
28185 ac_ext=cpp
28186 ac_cpp='$CXXCPP $CPPFLAGS'
28187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28190
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 /* end confdefs.h. */
28193 #include <math.h>
28194 #ifdef HAVE_IEEEFP_H
28195 #include <ieeefp.h>
28196 #endif
28197
28198 int
28199 main ()
28200 {
28201 _fabsf(0);
28202 ;
28203 return 0;
28204 }
28205 _ACEOF
28206 if ac_fn_cxx_try_compile "$LINENO"; then :
28207 glibcxx_cv_func__fabsf_use=yes
28208 else
28209 glibcxx_cv_func__fabsf_use=no
28210 fi
28211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28212 ac_ext=c
28213 ac_cpp='$CPP $CPPFLAGS'
28214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28217
28218
28219 fi
28220
28221 fi
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28223 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28224
28225 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28226 for ac_func in _fabsf
28227 do :
28228 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28229 if test "x$ac_cv_func__fabsf" = x""yes; then :
28230 cat >>confdefs.h <<_ACEOF
28231 #define HAVE__FABSF 1
28232 _ACEOF
28233
28234 fi
28235 done
28236
28237 fi
28238 fi
28239
28240
28241
28242
28243
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28245 $as_echo_n "checking for fmodf declaration... " >&6; }
28246 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28247 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28250
28251
28252 ac_ext=cpp
28253 ac_cpp='$CXXCPP $CPPFLAGS'
28254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28257
28258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28259 /* end confdefs.h. */
28260 #include <math.h>
28261 int
28262 main ()
28263 {
28264 fmodf(0, 0);
28265 ;
28266 return 0;
28267 }
28268 _ACEOF
28269 if ac_fn_cxx_try_compile "$LINENO"; then :
28270 glibcxx_cv_func_fmodf_use=yes
28271 else
28272 glibcxx_cv_func_fmodf_use=no
28273 fi
28274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28275 ac_ext=c
28276 ac_cpp='$CPP $CPPFLAGS'
28277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28280
28281
28282 fi
28283
28284 fi
28285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28286 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28287
28288 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28289 for ac_func in fmodf
28290 do :
28291 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28292 if test "x$ac_cv_func_fmodf" = x""yes; then :
28293 cat >>confdefs.h <<_ACEOF
28294 #define HAVE_FMODF 1
28295 _ACEOF
28296
28297 fi
28298 done
28299
28300 else
28301
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28303 $as_echo_n "checking for _fmodf declaration... " >&6; }
28304 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28305 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28306 $as_echo_n "(cached) " >&6
28307 else
28308
28309
28310 ac_ext=cpp
28311 ac_cpp='$CXXCPP $CPPFLAGS'
28312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28315
28316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28317 /* end confdefs.h. */
28318 #include <math.h>
28319 int
28320 main ()
28321 {
28322 _fmodf(0, 0);
28323 ;
28324 return 0;
28325 }
28326 _ACEOF
28327 if ac_fn_cxx_try_compile "$LINENO"; then :
28328 glibcxx_cv_func__fmodf_use=yes
28329 else
28330 glibcxx_cv_func__fmodf_use=no
28331 fi
28332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28333 ac_ext=c
28334 ac_cpp='$CPP $CPPFLAGS'
28335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28338
28339
28340 fi
28341
28342 fi
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28344 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28345
28346 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28347 for ac_func in _fmodf
28348 do :
28349 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28350 if test "x$ac_cv_func__fmodf" = x""yes; then :
28351 cat >>confdefs.h <<_ACEOF
28352 #define HAVE__FMODF 1
28353 _ACEOF
28354
28355 fi
28356 done
28357
28358 fi
28359 fi
28360
28361
28362
28363
28364
28365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28366 $as_echo_n "checking for frexpf declaration... " >&6; }
28367 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28368 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28369 $as_echo_n "(cached) " >&6
28370 else
28371
28372
28373 ac_ext=cpp
28374 ac_cpp='$CXXCPP $CPPFLAGS'
28375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28378
28379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28380 /* end confdefs.h. */
28381 #include <math.h>
28382 int
28383 main ()
28384 {
28385 frexpf(0, 0);
28386 ;
28387 return 0;
28388 }
28389 _ACEOF
28390 if ac_fn_cxx_try_compile "$LINENO"; then :
28391 glibcxx_cv_func_frexpf_use=yes
28392 else
28393 glibcxx_cv_func_frexpf_use=no
28394 fi
28395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28396 ac_ext=c
28397 ac_cpp='$CPP $CPPFLAGS'
28398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28401
28402
28403 fi
28404
28405 fi
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28407 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28408
28409 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28410 for ac_func in frexpf
28411 do :
28412 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28413 if test "x$ac_cv_func_frexpf" = x""yes; then :
28414 cat >>confdefs.h <<_ACEOF
28415 #define HAVE_FREXPF 1
28416 _ACEOF
28417
28418 fi
28419 done
28420
28421 else
28422
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28424 $as_echo_n "checking for _frexpf declaration... " >&6; }
28425 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28426 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28427 $as_echo_n "(cached) " >&6
28428 else
28429
28430
28431 ac_ext=cpp
28432 ac_cpp='$CXXCPP $CPPFLAGS'
28433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28436
28437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28438 /* end confdefs.h. */
28439 #include <math.h>
28440 int
28441 main ()
28442 {
28443 _frexpf(0, 0);
28444 ;
28445 return 0;
28446 }
28447 _ACEOF
28448 if ac_fn_cxx_try_compile "$LINENO"; then :
28449 glibcxx_cv_func__frexpf_use=yes
28450 else
28451 glibcxx_cv_func__frexpf_use=no
28452 fi
28453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28454 ac_ext=c
28455 ac_cpp='$CPP $CPPFLAGS'
28456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28459
28460
28461 fi
28462
28463 fi
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28465 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28466
28467 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28468 for ac_func in _frexpf
28469 do :
28470 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28471 if test "x$ac_cv_func__frexpf" = x""yes; then :
28472 cat >>confdefs.h <<_ACEOF
28473 #define HAVE__FREXPF 1
28474 _ACEOF
28475
28476 fi
28477 done
28478
28479 fi
28480 fi
28481
28482
28483
28484
28485
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28487 $as_echo_n "checking for hypotf declaration... " >&6; }
28488 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28489 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28490 $as_echo_n "(cached) " >&6
28491 else
28492
28493
28494 ac_ext=cpp
28495 ac_cpp='$CXXCPP $CPPFLAGS'
28496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28499
28500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28501 /* end confdefs.h. */
28502 #include <math.h>
28503 int
28504 main ()
28505 {
28506 hypotf(0, 0);
28507 ;
28508 return 0;
28509 }
28510 _ACEOF
28511 if ac_fn_cxx_try_compile "$LINENO"; then :
28512 glibcxx_cv_func_hypotf_use=yes
28513 else
28514 glibcxx_cv_func_hypotf_use=no
28515 fi
28516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28517 ac_ext=c
28518 ac_cpp='$CPP $CPPFLAGS'
28519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28522
28523
28524 fi
28525
28526 fi
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28528 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28529
28530 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28531 for ac_func in hypotf
28532 do :
28533 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28534 if test "x$ac_cv_func_hypotf" = x""yes; then :
28535 cat >>confdefs.h <<_ACEOF
28536 #define HAVE_HYPOTF 1
28537 _ACEOF
28538
28539 fi
28540 done
28541
28542 else
28543
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28545 $as_echo_n "checking for _hypotf declaration... " >&6; }
28546 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28547 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28548 $as_echo_n "(cached) " >&6
28549 else
28550
28551
28552 ac_ext=cpp
28553 ac_cpp='$CXXCPP $CPPFLAGS'
28554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28557
28558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28559 /* end confdefs.h. */
28560 #include <math.h>
28561 int
28562 main ()
28563 {
28564 _hypotf(0, 0);
28565 ;
28566 return 0;
28567 }
28568 _ACEOF
28569 if ac_fn_cxx_try_compile "$LINENO"; then :
28570 glibcxx_cv_func__hypotf_use=yes
28571 else
28572 glibcxx_cv_func__hypotf_use=no
28573 fi
28574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28575 ac_ext=c
28576 ac_cpp='$CPP $CPPFLAGS'
28577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28580
28581
28582 fi
28583
28584 fi
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28586 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28587
28588 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28589 for ac_func in _hypotf
28590 do :
28591 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28592 if test "x$ac_cv_func__hypotf" = x""yes; then :
28593 cat >>confdefs.h <<_ACEOF
28594 #define HAVE__HYPOTF 1
28595 _ACEOF
28596
28597 fi
28598 done
28599
28600 fi
28601 fi
28602
28603
28604
28605
28606
28607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28608 $as_echo_n "checking for ldexpf declaration... " >&6; }
28609 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28610 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28611 $as_echo_n "(cached) " >&6
28612 else
28613
28614
28615 ac_ext=cpp
28616 ac_cpp='$CXXCPP $CPPFLAGS'
28617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28620
28621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28622 /* end confdefs.h. */
28623 #include <math.h>
28624 int
28625 main ()
28626 {
28627 ldexpf(0, 0);
28628 ;
28629 return 0;
28630 }
28631 _ACEOF
28632 if ac_fn_cxx_try_compile "$LINENO"; then :
28633 glibcxx_cv_func_ldexpf_use=yes
28634 else
28635 glibcxx_cv_func_ldexpf_use=no
28636 fi
28637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28638 ac_ext=c
28639 ac_cpp='$CPP $CPPFLAGS'
28640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28643
28644
28645 fi
28646
28647 fi
28648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28649 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28650
28651 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28652 for ac_func in ldexpf
28653 do :
28654 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28655 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28656 cat >>confdefs.h <<_ACEOF
28657 #define HAVE_LDEXPF 1
28658 _ACEOF
28659
28660 fi
28661 done
28662
28663 else
28664
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28666 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28667 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28668 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28669 $as_echo_n "(cached) " >&6
28670 else
28671
28672
28673 ac_ext=cpp
28674 ac_cpp='$CXXCPP $CPPFLAGS'
28675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28678
28679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28681 #include <math.h>
28682 int
28683 main ()
28684 {
28685 _ldexpf(0, 0);
28686 ;
28687 return 0;
28688 }
28689 _ACEOF
28690 if ac_fn_cxx_try_compile "$LINENO"; then :
28691 glibcxx_cv_func__ldexpf_use=yes
28692 else
28693 glibcxx_cv_func__ldexpf_use=no
28694 fi
28695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28696 ac_ext=c
28697 ac_cpp='$CPP $CPPFLAGS'
28698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28701
28702
28703 fi
28704
28705 fi
28706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28707 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28708
28709 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28710 for ac_func in _ldexpf
28711 do :
28712 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28713 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28714 cat >>confdefs.h <<_ACEOF
28715 #define HAVE__LDEXPF 1
28716 _ACEOF
28717
28718 fi
28719 done
28720
28721 fi
28722 fi
28723
28724
28725
28726
28727
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28729 $as_echo_n "checking for logf declaration... " >&6; }
28730 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28731 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28732 $as_echo_n "(cached) " >&6
28733 else
28734
28735
28736 ac_ext=cpp
28737 ac_cpp='$CXXCPP $CPPFLAGS'
28738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28741
28742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28743 /* end confdefs.h. */
28744 #include <math.h>
28745 #ifdef HAVE_IEEEFP_H
28746 #include <ieeefp.h>
28747 #endif
28748
28749 int
28750 main ()
28751 {
28752 logf(0);
28753 ;
28754 return 0;
28755 }
28756 _ACEOF
28757 if ac_fn_cxx_try_compile "$LINENO"; then :
28758 glibcxx_cv_func_logf_use=yes
28759 else
28760 glibcxx_cv_func_logf_use=no
28761 fi
28762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28763 ac_ext=c
28764 ac_cpp='$CPP $CPPFLAGS'
28765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28768
28769
28770 fi
28771
28772 fi
28773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28774 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28775
28776 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28777 for ac_func in logf
28778 do :
28779 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28780 if test "x$ac_cv_func_logf" = x""yes; then :
28781 cat >>confdefs.h <<_ACEOF
28782 #define HAVE_LOGF 1
28783 _ACEOF
28784
28785 fi
28786 done
28787
28788 else
28789
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28791 $as_echo_n "checking for _logf declaration... " >&6; }
28792 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28793 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28794 $as_echo_n "(cached) " >&6
28795 else
28796
28797
28798 ac_ext=cpp
28799 ac_cpp='$CXXCPP $CPPFLAGS'
28800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28803
28804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28805 /* end confdefs.h. */
28806 #include <math.h>
28807 #ifdef HAVE_IEEEFP_H
28808 #include <ieeefp.h>
28809 #endif
28810
28811 int
28812 main ()
28813 {
28814 _logf(0);
28815 ;
28816 return 0;
28817 }
28818 _ACEOF
28819 if ac_fn_cxx_try_compile "$LINENO"; then :
28820 glibcxx_cv_func__logf_use=yes
28821 else
28822 glibcxx_cv_func__logf_use=no
28823 fi
28824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28825 ac_ext=c
28826 ac_cpp='$CPP $CPPFLAGS'
28827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28830
28831
28832 fi
28833
28834 fi
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28836 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28837
28838 if test x$glibcxx_cv_func__logf_use = x"yes"; then
28839 for ac_func in _logf
28840 do :
28841 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28842 if test "x$ac_cv_func__logf" = x""yes; then :
28843 cat >>confdefs.h <<_ACEOF
28844 #define HAVE__LOGF 1
28845 _ACEOF
28846
28847 fi
28848 done
28849
28850 fi
28851 fi
28852
28853
28854
28855
28856
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
28858 $as_echo_n "checking for log10f declaration... " >&6; }
28859 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
28860 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
28861 $as_echo_n "(cached) " >&6
28862 else
28863
28864
28865 ac_ext=cpp
28866 ac_cpp='$CXXCPP $CPPFLAGS'
28867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28870
28871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28872 /* end confdefs.h. */
28873 #include <math.h>
28874 #ifdef HAVE_IEEEFP_H
28875 #include <ieeefp.h>
28876 #endif
28877
28878 int
28879 main ()
28880 {
28881 log10f(0);
28882 ;
28883 return 0;
28884 }
28885 _ACEOF
28886 if ac_fn_cxx_try_compile "$LINENO"; then :
28887 glibcxx_cv_func_log10f_use=yes
28888 else
28889 glibcxx_cv_func_log10f_use=no
28890 fi
28891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28892 ac_ext=c
28893 ac_cpp='$CPP $CPPFLAGS'
28894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28897
28898
28899 fi
28900
28901 fi
28902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
28903 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
28904
28905 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
28906 for ac_func in log10f
28907 do :
28908 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
28909 if test "x$ac_cv_func_log10f" = x""yes; then :
28910 cat >>confdefs.h <<_ACEOF
28911 #define HAVE_LOG10F 1
28912 _ACEOF
28913
28914 fi
28915 done
28916
28917 else
28918
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
28920 $as_echo_n "checking for _log10f declaration... " >&6; }
28921 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
28922 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
28923 $as_echo_n "(cached) " >&6
28924 else
28925
28926
28927 ac_ext=cpp
28928 ac_cpp='$CXXCPP $CPPFLAGS'
28929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28932
28933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28934 /* end confdefs.h. */
28935 #include <math.h>
28936 #ifdef HAVE_IEEEFP_H
28937 #include <ieeefp.h>
28938 #endif
28939
28940 int
28941 main ()
28942 {
28943 _log10f(0);
28944 ;
28945 return 0;
28946 }
28947 _ACEOF
28948 if ac_fn_cxx_try_compile "$LINENO"; then :
28949 glibcxx_cv_func__log10f_use=yes
28950 else
28951 glibcxx_cv_func__log10f_use=no
28952 fi
28953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28954 ac_ext=c
28955 ac_cpp='$CPP $CPPFLAGS'
28956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28959
28960
28961 fi
28962
28963 fi
28964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
28965 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
28966
28967 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
28968 for ac_func in _log10f
28969 do :
28970 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
28971 if test "x$ac_cv_func__log10f" = x""yes; then :
28972 cat >>confdefs.h <<_ACEOF
28973 #define HAVE__LOG10F 1
28974 _ACEOF
28975
28976 fi
28977 done
28978
28979 fi
28980 fi
28981
28982
28983
28984
28985
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
28987 $as_echo_n "checking for modff declaration... " >&6; }
28988 if test x${glibcxx_cv_func_modff_use+set} != xset; then
28989 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
28990 $as_echo_n "(cached) " >&6
28991 else
28992
28993
28994 ac_ext=cpp
28995 ac_cpp='$CXXCPP $CPPFLAGS'
28996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28999
29000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29001 /* end confdefs.h. */
29002 #include <math.h>
29003 int
29004 main ()
29005 {
29006 modff(0, 0);
29007 ;
29008 return 0;
29009 }
29010 _ACEOF
29011 if ac_fn_cxx_try_compile "$LINENO"; then :
29012 glibcxx_cv_func_modff_use=yes
29013 else
29014 glibcxx_cv_func_modff_use=no
29015 fi
29016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29017 ac_ext=c
29018 ac_cpp='$CPP $CPPFLAGS'
29019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29022
29023
29024 fi
29025
29026 fi
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29028 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29029
29030 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29031 for ac_func in modff
29032 do :
29033 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29034 if test "x$ac_cv_func_modff" = x""yes; then :
29035 cat >>confdefs.h <<_ACEOF
29036 #define HAVE_MODFF 1
29037 _ACEOF
29038
29039 fi
29040 done
29041
29042 else
29043
29044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29045 $as_echo_n "checking for _modff declaration... " >&6; }
29046 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29047 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29048 $as_echo_n "(cached) " >&6
29049 else
29050
29051
29052 ac_ext=cpp
29053 ac_cpp='$CXXCPP $CPPFLAGS'
29054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29057
29058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29059 /* end confdefs.h. */
29060 #include <math.h>
29061 int
29062 main ()
29063 {
29064 _modff(0, 0);
29065 ;
29066 return 0;
29067 }
29068 _ACEOF
29069 if ac_fn_cxx_try_compile "$LINENO"; then :
29070 glibcxx_cv_func__modff_use=yes
29071 else
29072 glibcxx_cv_func__modff_use=no
29073 fi
29074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29075 ac_ext=c
29076 ac_cpp='$CPP $CPPFLAGS'
29077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29080
29081
29082 fi
29083
29084 fi
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29086 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29087
29088 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29089 for ac_func in _modff
29090 do :
29091 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29092 if test "x$ac_cv_func__modff" = x""yes; then :
29093 cat >>confdefs.h <<_ACEOF
29094 #define HAVE__MODFF 1
29095 _ACEOF
29096
29097 fi
29098 done
29099
29100 fi
29101 fi
29102
29103
29104
29105
29106
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29108 $as_echo_n "checking for modf declaration... " >&6; }
29109 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29110 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29111 $as_echo_n "(cached) " >&6
29112 else
29113
29114
29115 ac_ext=cpp
29116 ac_cpp='$CXXCPP $CPPFLAGS'
29117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29120
29121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29122 /* end confdefs.h. */
29123 #include <math.h>
29124 int
29125 main ()
29126 {
29127 modf(0, 0);
29128 ;
29129 return 0;
29130 }
29131 _ACEOF
29132 if ac_fn_cxx_try_compile "$LINENO"; then :
29133 glibcxx_cv_func_modf_use=yes
29134 else
29135 glibcxx_cv_func_modf_use=no
29136 fi
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138 ac_ext=c
29139 ac_cpp='$CPP $CPPFLAGS'
29140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29143
29144
29145 fi
29146
29147 fi
29148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29149 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29150
29151 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29152 for ac_func in modf
29153 do :
29154 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29155 if test "x$ac_cv_func_modf" = x""yes; then :
29156 cat >>confdefs.h <<_ACEOF
29157 #define HAVE_MODF 1
29158 _ACEOF
29159
29160 fi
29161 done
29162
29163 else
29164
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29166 $as_echo_n "checking for _modf declaration... " >&6; }
29167 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29168 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29169 $as_echo_n "(cached) " >&6
29170 else
29171
29172
29173 ac_ext=cpp
29174 ac_cpp='$CXXCPP $CPPFLAGS'
29175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29178
29179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29180 /* end confdefs.h. */
29181 #include <math.h>
29182 int
29183 main ()
29184 {
29185 _modf(0, 0);
29186 ;
29187 return 0;
29188 }
29189 _ACEOF
29190 if ac_fn_cxx_try_compile "$LINENO"; then :
29191 glibcxx_cv_func__modf_use=yes
29192 else
29193 glibcxx_cv_func__modf_use=no
29194 fi
29195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29196 ac_ext=c
29197 ac_cpp='$CPP $CPPFLAGS'
29198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29201
29202
29203 fi
29204
29205 fi
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29207 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29208
29209 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29210 for ac_func in _modf
29211 do :
29212 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29213 if test "x$ac_cv_func__modf" = x""yes; then :
29214 cat >>confdefs.h <<_ACEOF
29215 #define HAVE__MODF 1
29216 _ACEOF
29217
29218 fi
29219 done
29220
29221 fi
29222 fi
29223
29224
29225
29226
29227
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29229 $as_echo_n "checking for powf declaration... " >&6; }
29230 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29231 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29232 $as_echo_n "(cached) " >&6
29233 else
29234
29235
29236 ac_ext=cpp
29237 ac_cpp='$CXXCPP $CPPFLAGS'
29238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29241
29242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29243 /* end confdefs.h. */
29244 #include <math.h>
29245 int
29246 main ()
29247 {
29248 powf(0, 0);
29249 ;
29250 return 0;
29251 }
29252 _ACEOF
29253 if ac_fn_cxx_try_compile "$LINENO"; then :
29254 glibcxx_cv_func_powf_use=yes
29255 else
29256 glibcxx_cv_func_powf_use=no
29257 fi
29258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29259 ac_ext=c
29260 ac_cpp='$CPP $CPPFLAGS'
29261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29264
29265
29266 fi
29267
29268 fi
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29270 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29271
29272 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29273 for ac_func in powf
29274 do :
29275 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29276 if test "x$ac_cv_func_powf" = x""yes; then :
29277 cat >>confdefs.h <<_ACEOF
29278 #define HAVE_POWF 1
29279 _ACEOF
29280
29281 fi
29282 done
29283
29284 else
29285
29286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29287 $as_echo_n "checking for _powf declaration... " >&6; }
29288 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29289 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29290 $as_echo_n "(cached) " >&6
29291 else
29292
29293
29294 ac_ext=cpp
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29299
29300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h. */
29302 #include <math.h>
29303 int
29304 main ()
29305 {
29306 _powf(0, 0);
29307 ;
29308 return 0;
29309 }
29310 _ACEOF
29311 if ac_fn_cxx_try_compile "$LINENO"; then :
29312 glibcxx_cv_func__powf_use=yes
29313 else
29314 glibcxx_cv_func__powf_use=no
29315 fi
29316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 ac_ext=c
29318 ac_cpp='$CPP $CPPFLAGS'
29319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29322
29323
29324 fi
29325
29326 fi
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29328 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29329
29330 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29331 for ac_func in _powf
29332 do :
29333 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29334 if test "x$ac_cv_func__powf" = x""yes; then :
29335 cat >>confdefs.h <<_ACEOF
29336 #define HAVE__POWF 1
29337 _ACEOF
29338
29339 fi
29340 done
29341
29342 fi
29343 fi
29344
29345
29346
29347
29348
29349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29350 $as_echo_n "checking for sqrtf declaration... " >&6; }
29351 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29352 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29353 $as_echo_n "(cached) " >&6
29354 else
29355
29356
29357 ac_ext=cpp
29358 ac_cpp='$CXXCPP $CPPFLAGS'
29359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29362
29363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29364 /* end confdefs.h. */
29365 #include <math.h>
29366 #ifdef HAVE_IEEEFP_H
29367 #include <ieeefp.h>
29368 #endif
29369
29370 int
29371 main ()
29372 {
29373 sqrtf(0);
29374 ;
29375 return 0;
29376 }
29377 _ACEOF
29378 if ac_fn_cxx_try_compile "$LINENO"; then :
29379 glibcxx_cv_func_sqrtf_use=yes
29380 else
29381 glibcxx_cv_func_sqrtf_use=no
29382 fi
29383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29384 ac_ext=c
29385 ac_cpp='$CPP $CPPFLAGS'
29386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29389
29390
29391 fi
29392
29393 fi
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29395 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29396
29397 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29398 for ac_func in sqrtf
29399 do :
29400 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29401 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29402 cat >>confdefs.h <<_ACEOF
29403 #define HAVE_SQRTF 1
29404 _ACEOF
29405
29406 fi
29407 done
29408
29409 else
29410
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29412 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29413 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29414 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29415 $as_echo_n "(cached) " >&6
29416 else
29417
29418
29419 ac_ext=cpp
29420 ac_cpp='$CXXCPP $CPPFLAGS'
29421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29424
29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h. */
29427 #include <math.h>
29428 #ifdef HAVE_IEEEFP_H
29429 #include <ieeefp.h>
29430 #endif
29431
29432 int
29433 main ()
29434 {
29435 _sqrtf(0);
29436 ;
29437 return 0;
29438 }
29439 _ACEOF
29440 if ac_fn_cxx_try_compile "$LINENO"; then :
29441 glibcxx_cv_func__sqrtf_use=yes
29442 else
29443 glibcxx_cv_func__sqrtf_use=no
29444 fi
29445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29446 ac_ext=c
29447 ac_cpp='$CPP $CPPFLAGS'
29448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29451
29452
29453 fi
29454
29455 fi
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29457 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29458
29459 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29460 for ac_func in _sqrtf
29461 do :
29462 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29463 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29464 cat >>confdefs.h <<_ACEOF
29465 #define HAVE__SQRTF 1
29466 _ACEOF
29467
29468 fi
29469 done
29470
29471 fi
29472 fi
29473
29474
29475
29476
29477
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29479 $as_echo_n "checking for sincosf declaration... " >&6; }
29480 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29481 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29482 $as_echo_n "(cached) " >&6
29483 else
29484
29485
29486 ac_ext=cpp
29487 ac_cpp='$CXXCPP $CPPFLAGS'
29488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29491
29492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29493 /* end confdefs.h. */
29494 #include <math.h>
29495 int
29496 main ()
29497 {
29498 sincosf(0, 0, 0);
29499 ;
29500 return 0;
29501 }
29502 _ACEOF
29503 if ac_fn_cxx_try_compile "$LINENO"; then :
29504 glibcxx_cv_func_sincosf_use=yes
29505 else
29506 glibcxx_cv_func_sincosf_use=no
29507 fi
29508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29509 ac_ext=c
29510 ac_cpp='$CPP $CPPFLAGS'
29511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29514
29515
29516 fi
29517
29518 fi
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29520 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29521
29522 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29523 for ac_func in sincosf
29524 do :
29525 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29526 if test "x$ac_cv_func_sincosf" = x""yes; then :
29527 cat >>confdefs.h <<_ACEOF
29528 #define HAVE_SINCOSF 1
29529 _ACEOF
29530
29531 fi
29532 done
29533
29534 else
29535
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29537 $as_echo_n "checking for _sincosf declaration... " >&6; }
29538 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29539 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29540 $as_echo_n "(cached) " >&6
29541 else
29542
29543
29544 ac_ext=cpp
29545 ac_cpp='$CXXCPP $CPPFLAGS'
29546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29549
29550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h. */
29552 #include <math.h>
29553 int
29554 main ()
29555 {
29556 _sincosf(0, 0, 0);
29557 ;
29558 return 0;
29559 }
29560 _ACEOF
29561 if ac_fn_cxx_try_compile "$LINENO"; then :
29562 glibcxx_cv_func__sincosf_use=yes
29563 else
29564 glibcxx_cv_func__sincosf_use=no
29565 fi
29566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29567 ac_ext=c
29568 ac_cpp='$CPP $CPPFLAGS'
29569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29572
29573
29574 fi
29575
29576 fi
29577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29578 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29579
29580 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29581 for ac_func in _sincosf
29582 do :
29583 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29584 if test "x$ac_cv_func__sincosf" = x""yes; then :
29585 cat >>confdefs.h <<_ACEOF
29586 #define HAVE__SINCOSF 1
29587 _ACEOF
29588
29589 fi
29590 done
29591
29592 fi
29593 fi
29594
29595
29596
29597
29598
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29600 $as_echo_n "checking for finitef declaration... " >&6; }
29601 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29602 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29605
29606
29607 ac_ext=cpp
29608 ac_cpp='$CXXCPP $CPPFLAGS'
29609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29612
29613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29614 /* end confdefs.h. */
29615 #include <math.h>
29616 #ifdef HAVE_IEEEFP_H
29617 #include <ieeefp.h>
29618 #endif
29619
29620 int
29621 main ()
29622 {
29623 finitef(0);
29624 ;
29625 return 0;
29626 }
29627 _ACEOF
29628 if ac_fn_cxx_try_compile "$LINENO"; then :
29629 glibcxx_cv_func_finitef_use=yes
29630 else
29631 glibcxx_cv_func_finitef_use=no
29632 fi
29633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29634 ac_ext=c
29635 ac_cpp='$CPP $CPPFLAGS'
29636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29639
29640
29641 fi
29642
29643 fi
29644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29645 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29646
29647 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29648 for ac_func in finitef
29649 do :
29650 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29651 if test "x$ac_cv_func_finitef" = x""yes; then :
29652 cat >>confdefs.h <<_ACEOF
29653 #define HAVE_FINITEF 1
29654 _ACEOF
29655
29656 fi
29657 done
29658
29659 else
29660
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29662 $as_echo_n "checking for _finitef declaration... " >&6; }
29663 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29664 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29665 $as_echo_n "(cached) " >&6
29666 else
29667
29668
29669 ac_ext=cpp
29670 ac_cpp='$CXXCPP $CPPFLAGS'
29671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29674
29675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29676 /* end confdefs.h. */
29677 #include <math.h>
29678 #ifdef HAVE_IEEEFP_H
29679 #include <ieeefp.h>
29680 #endif
29681
29682 int
29683 main ()
29684 {
29685 _finitef(0);
29686 ;
29687 return 0;
29688 }
29689 _ACEOF
29690 if ac_fn_cxx_try_compile "$LINENO"; then :
29691 glibcxx_cv_func__finitef_use=yes
29692 else
29693 glibcxx_cv_func__finitef_use=no
29694 fi
29695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29696 ac_ext=c
29697 ac_cpp='$CPP $CPPFLAGS'
29698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29701
29702
29703 fi
29704
29705 fi
29706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29707 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29708
29709 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29710 for ac_func in _finitef
29711 do :
29712 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29713 if test "x$ac_cv_func__finitef" = x""yes; then :
29714 cat >>confdefs.h <<_ACEOF
29715 #define HAVE__FINITEF 1
29716 _ACEOF
29717
29718 fi
29719 done
29720
29721 fi
29722 fi
29723
29724
29725
29726
29727
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29729 $as_echo_n "checking for long double trig functions... " >&6; }
29730 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29731 $as_echo_n "(cached) " >&6
29732 else
29733
29734
29735 ac_ext=cpp
29736 ac_cpp='$CXXCPP $CPPFLAGS'
29737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29740
29741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29743 #include <math.h>
29744 int
29745 main ()
29746 {
29747 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29748 ;
29749 return 0;
29750 }
29751 _ACEOF
29752 if ac_fn_cxx_try_compile "$LINENO"; then :
29753 glibcxx_cv_func_long_double_trig_use=yes
29754 else
29755 glibcxx_cv_func_long_double_trig_use=no
29756 fi
29757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29758 ac_ext=c
29759 ac_cpp='$CPP $CPPFLAGS'
29760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29763
29764 fi
29765
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29767 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29768 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29769 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29770 do :
29771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29773 eval as_val=\$$as_ac_var
29774 if test "x$as_val" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29777 _ACEOF
29778
29779 fi
29780 done
29781
29782 else
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29784 $as_echo_n "checking for _long double trig functions... " >&6; }
29785 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29786 $as_echo_n "(cached) " >&6
29787 else
29788
29789
29790 ac_ext=cpp
29791 ac_cpp='$CXXCPP $CPPFLAGS'
29792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29795
29796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29797 /* end confdefs.h. */
29798 #include <math.h>
29799 int
29800 main ()
29801 {
29802 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29803 ;
29804 return 0;
29805 }
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808 glibcxx_cv_func__long_double_trig_use=yes
29809 else
29810 glibcxx_cv_func__long_double_trig_use=no
29811 fi
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813 ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29818
29819 fi
29820
29821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29822 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29823 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29824 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29825 do :
29826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29828 eval as_val=\$$as_ac_var
29829 if test "x$as_val" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29832 _ACEOF
29833
29834 fi
29835 done
29836
29837 fi
29838 fi
29839
29840
29841
29842
29843
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
29845 $as_echo_n "checking for long double round functions... " >&6; }
29846 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
29847 $as_echo_n "(cached) " >&6
29848 else
29849
29850
29851 ac_ext=cpp
29852 ac_cpp='$CXXCPP $CPPFLAGS'
29853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29856
29857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29858 /* end confdefs.h. */
29859 #include <math.h>
29860 int
29861 main ()
29862 {
29863 ceill (0); floorl (0);
29864 ;
29865 return 0;
29866 }
29867 _ACEOF
29868 if ac_fn_cxx_try_compile "$LINENO"; then :
29869 glibcxx_cv_func_long_double_round_use=yes
29870 else
29871 glibcxx_cv_func_long_double_round_use=no
29872 fi
29873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29874 ac_ext=c
29875 ac_cpp='$CPP $CPPFLAGS'
29876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29879
29880 fi
29881
29882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
29883 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
29884 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29885 for ac_func in ceill floorl
29886 do :
29887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29889 eval as_val=\$$as_ac_var
29890 if test "x$as_val" = x""yes; then :
29891 cat >>confdefs.h <<_ACEOF
29892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29893 _ACEOF
29894
29895 fi
29896 done
29897
29898 else
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
29900 $as_echo_n "checking for _long double round functions... " >&6; }
29901 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
29902 $as_echo_n "(cached) " >&6
29903 else
29904
29905
29906 ac_ext=cpp
29907 ac_cpp='$CXXCPP $CPPFLAGS'
29908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29911
29912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29913 /* end confdefs.h. */
29914 #include <math.h>
29915 int
29916 main ()
29917 {
29918 _ceill (0); _floorl (0);
29919 ;
29920 return 0;
29921 }
29922 _ACEOF
29923 if ac_fn_cxx_try_compile "$LINENO"; then :
29924 glibcxx_cv_func__long_double_round_use=yes
29925 else
29926 glibcxx_cv_func__long_double_round_use=no
29927 fi
29928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29929 ac_ext=c
29930 ac_cpp='$CPP $CPPFLAGS'
29931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29934
29935 fi
29936
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
29938 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
29939 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29940 for ac_func in _ceill _floorl
29941 do :
29942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29944 eval as_val=\$$as_ac_var
29945 if test "x$as_val" = x""yes; then :
29946 cat >>confdefs.h <<_ACEOF
29947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29948 _ACEOF
29949
29950 fi
29951 done
29952
29953 fi
29954 fi
29955
29956
29957
29958
29959
29960
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
29962 $as_echo_n "checking for isnanl declaration... " >&6; }
29963 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29964 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
29965 $as_echo_n "(cached) " >&6
29966 else
29967
29968
29969 ac_ext=cpp
29970 ac_cpp='$CXXCPP $CPPFLAGS'
29971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29974
29975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29976 /* end confdefs.h. */
29977 #include <math.h>
29978 #ifdef HAVE_IEEEFP_H
29979 #include <ieeefp.h>
29980 #endif
29981
29982 int
29983 main ()
29984 {
29985 isnanl(0);
29986 ;
29987 return 0;
29988 }
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 glibcxx_cv_func_isnanl_use=yes
29992 else
29993 glibcxx_cv_func_isnanl_use=no
29994 fi
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30001
30002
30003 fi
30004
30005 fi
30006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30007 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30008
30009 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30010 for ac_func in isnanl
30011 do :
30012 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30013 if test "x$ac_cv_func_isnanl" = x""yes; then :
30014 cat >>confdefs.h <<_ACEOF
30015 #define HAVE_ISNANL 1
30016 _ACEOF
30017
30018 fi
30019 done
30020
30021 else
30022
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30024 $as_echo_n "checking for _isnanl declaration... " >&6; }
30025 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30026 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30027 $as_echo_n "(cached) " >&6
30028 else
30029
30030
30031 ac_ext=cpp
30032 ac_cpp='$CXXCPP $CPPFLAGS'
30033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30036
30037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30038 /* end confdefs.h. */
30039 #include <math.h>
30040 #ifdef HAVE_IEEEFP_H
30041 #include <ieeefp.h>
30042 #endif
30043
30044 int
30045 main ()
30046 {
30047 _isnanl(0);
30048 ;
30049 return 0;
30050 }
30051 _ACEOF
30052 if ac_fn_cxx_try_compile "$LINENO"; then :
30053 glibcxx_cv_func__isnanl_use=yes
30054 else
30055 glibcxx_cv_func__isnanl_use=no
30056 fi
30057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30058 ac_ext=c
30059 ac_cpp='$CPP $CPPFLAGS'
30060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30063
30064
30065 fi
30066
30067 fi
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30069 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30070
30071 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30072 for ac_func in _isnanl
30073 do :
30074 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30075 if test "x$ac_cv_func__isnanl" = x""yes; then :
30076 cat >>confdefs.h <<_ACEOF
30077 #define HAVE__ISNANL 1
30078 _ACEOF
30079
30080 fi
30081 done
30082
30083 fi
30084 fi
30085
30086
30087
30088
30089
30090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30091 $as_echo_n "checking for isinfl declaration... " >&6; }
30092 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30093 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30094 $as_echo_n "(cached) " >&6
30095 else
30096
30097
30098 ac_ext=cpp
30099 ac_cpp='$CXXCPP $CPPFLAGS'
30100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30103
30104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30105 /* end confdefs.h. */
30106 #include <math.h>
30107 #ifdef HAVE_IEEEFP_H
30108 #include <ieeefp.h>
30109 #endif
30110
30111 int
30112 main ()
30113 {
30114 isinfl(0);
30115 ;
30116 return 0;
30117 }
30118 _ACEOF
30119 if ac_fn_cxx_try_compile "$LINENO"; then :
30120 glibcxx_cv_func_isinfl_use=yes
30121 else
30122 glibcxx_cv_func_isinfl_use=no
30123 fi
30124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30125 ac_ext=c
30126 ac_cpp='$CPP $CPPFLAGS'
30127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30130
30131
30132 fi
30133
30134 fi
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30136 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30137
30138 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30139 for ac_func in isinfl
30140 do :
30141 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30142 if test "x$ac_cv_func_isinfl" = x""yes; then :
30143 cat >>confdefs.h <<_ACEOF
30144 #define HAVE_ISINFL 1
30145 _ACEOF
30146
30147 fi
30148 done
30149
30150 else
30151
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30153 $as_echo_n "checking for _isinfl declaration... " >&6; }
30154 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30155 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30156 $as_echo_n "(cached) " >&6
30157 else
30158
30159
30160 ac_ext=cpp
30161 ac_cpp='$CXXCPP $CPPFLAGS'
30162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30165
30166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30167 /* end confdefs.h. */
30168 #include <math.h>
30169 #ifdef HAVE_IEEEFP_H
30170 #include <ieeefp.h>
30171 #endif
30172
30173 int
30174 main ()
30175 {
30176 _isinfl(0);
30177 ;
30178 return 0;
30179 }
30180 _ACEOF
30181 if ac_fn_cxx_try_compile "$LINENO"; then :
30182 glibcxx_cv_func__isinfl_use=yes
30183 else
30184 glibcxx_cv_func__isinfl_use=no
30185 fi
30186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30187 ac_ext=c
30188 ac_cpp='$CPP $CPPFLAGS'
30189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30192
30193
30194 fi
30195
30196 fi
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30198 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30199
30200 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30201 for ac_func in _isinfl
30202 do :
30203 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30204 if test "x$ac_cv_func__isinfl" = x""yes; then :
30205 cat >>confdefs.h <<_ACEOF
30206 #define HAVE__ISINFL 1
30207 _ACEOF
30208
30209 fi
30210 done
30211
30212 fi
30213 fi
30214
30215
30216
30217
30218
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30220 $as_echo_n "checking for atan2l declaration... " >&6; }
30221 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30222 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30223 $as_echo_n "(cached) " >&6
30224 else
30225
30226
30227 ac_ext=cpp
30228 ac_cpp='$CXXCPP $CPPFLAGS'
30229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30232
30233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30234 /* end confdefs.h. */
30235 #include <math.h>
30236 int
30237 main ()
30238 {
30239 atan2l(0, 0);
30240 ;
30241 return 0;
30242 }
30243 _ACEOF
30244 if ac_fn_cxx_try_compile "$LINENO"; then :
30245 glibcxx_cv_func_atan2l_use=yes
30246 else
30247 glibcxx_cv_func_atan2l_use=no
30248 fi
30249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30250 ac_ext=c
30251 ac_cpp='$CPP $CPPFLAGS'
30252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30255
30256
30257 fi
30258
30259 fi
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30261 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30262
30263 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30264 for ac_func in atan2l
30265 do :
30266 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30267 if test "x$ac_cv_func_atan2l" = x""yes; then :
30268 cat >>confdefs.h <<_ACEOF
30269 #define HAVE_ATAN2L 1
30270 _ACEOF
30271
30272 fi
30273 done
30274
30275 else
30276
30277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30278 $as_echo_n "checking for _atan2l declaration... " >&6; }
30279 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30280 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30281 $as_echo_n "(cached) " >&6
30282 else
30283
30284
30285 ac_ext=cpp
30286 ac_cpp='$CXXCPP $CPPFLAGS'
30287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30290
30291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30292 /* end confdefs.h. */
30293 #include <math.h>
30294 int
30295 main ()
30296 {
30297 _atan2l(0, 0);
30298 ;
30299 return 0;
30300 }
30301 _ACEOF
30302 if ac_fn_cxx_try_compile "$LINENO"; then :
30303 glibcxx_cv_func__atan2l_use=yes
30304 else
30305 glibcxx_cv_func__atan2l_use=no
30306 fi
30307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30308 ac_ext=c
30309 ac_cpp='$CPP $CPPFLAGS'
30310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30313
30314
30315 fi
30316
30317 fi
30318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30319 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30320
30321 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30322 for ac_func in _atan2l
30323 do :
30324 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30325 if test "x$ac_cv_func__atan2l" = x""yes; then :
30326 cat >>confdefs.h <<_ACEOF
30327 #define HAVE__ATAN2L 1
30328 _ACEOF
30329
30330 fi
30331 done
30332
30333 fi
30334 fi
30335
30336
30337
30338
30339
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30341 $as_echo_n "checking for expl declaration... " >&6; }
30342 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30343 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30344 $as_echo_n "(cached) " >&6
30345 else
30346
30347
30348 ac_ext=cpp
30349 ac_cpp='$CXXCPP $CPPFLAGS'
30350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30353
30354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30355 /* end confdefs.h. */
30356 #include <math.h>
30357 #ifdef HAVE_IEEEFP_H
30358 #include <ieeefp.h>
30359 #endif
30360
30361 int
30362 main ()
30363 {
30364 expl(0);
30365 ;
30366 return 0;
30367 }
30368 _ACEOF
30369 if ac_fn_cxx_try_compile "$LINENO"; then :
30370 glibcxx_cv_func_expl_use=yes
30371 else
30372 glibcxx_cv_func_expl_use=no
30373 fi
30374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30375 ac_ext=c
30376 ac_cpp='$CPP $CPPFLAGS'
30377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30380
30381
30382 fi
30383
30384 fi
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30386 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30387
30388 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30389 for ac_func in expl
30390 do :
30391 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30392 if test "x$ac_cv_func_expl" = x""yes; then :
30393 cat >>confdefs.h <<_ACEOF
30394 #define HAVE_EXPL 1
30395 _ACEOF
30396
30397 fi
30398 done
30399
30400 else
30401
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30403 $as_echo_n "checking for _expl declaration... " >&6; }
30404 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30405 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30408
30409
30410 ac_ext=cpp
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30415
30416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 #include <ieeefp.h>
30421 #endif
30422
30423 int
30424 main ()
30425 {
30426 _expl(0);
30427 ;
30428 return 0;
30429 }
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func__expl_use=yes
30433 else
30434 glibcxx_cv_func__expl_use=no
30435 fi
30436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_ext=c
30438 ac_cpp='$CPP $CPPFLAGS'
30439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30442
30443
30444 fi
30445
30446 fi
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30448 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30449
30450 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30451 for ac_func in _expl
30452 do :
30453 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30454 if test "x$ac_cv_func__expl" = x""yes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE__EXPL 1
30457 _ACEOF
30458
30459 fi
30460 done
30461
30462 fi
30463 fi
30464
30465
30466
30467
30468
30469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30470 $as_echo_n "checking for fabsl declaration... " >&6; }
30471 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30472 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30473 $as_echo_n "(cached) " >&6
30474 else
30475
30476
30477 ac_ext=cpp
30478 ac_cpp='$CXXCPP $CPPFLAGS'
30479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30482
30483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30484 /* end confdefs.h. */
30485 #include <math.h>
30486 #ifdef HAVE_IEEEFP_H
30487 #include <ieeefp.h>
30488 #endif
30489
30490 int
30491 main ()
30492 {
30493 fabsl(0);
30494 ;
30495 return 0;
30496 }
30497 _ACEOF
30498 if ac_fn_cxx_try_compile "$LINENO"; then :
30499 glibcxx_cv_func_fabsl_use=yes
30500 else
30501 glibcxx_cv_func_fabsl_use=no
30502 fi
30503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30504 ac_ext=c
30505 ac_cpp='$CPP $CPPFLAGS'
30506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509
30510
30511 fi
30512
30513 fi
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30515 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30516
30517 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30518 for ac_func in fabsl
30519 do :
30520 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30521 if test "x$ac_cv_func_fabsl" = x""yes; then :
30522 cat >>confdefs.h <<_ACEOF
30523 #define HAVE_FABSL 1
30524 _ACEOF
30525
30526 fi
30527 done
30528
30529 else
30530
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30532 $as_echo_n "checking for _fabsl declaration... " >&6; }
30533 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30534 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30535 $as_echo_n "(cached) " >&6
30536 else
30537
30538
30539 ac_ext=cpp
30540 ac_cpp='$CXXCPP $CPPFLAGS'
30541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30544
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h. */
30547 #include <math.h>
30548 #ifdef HAVE_IEEEFP_H
30549 #include <ieeefp.h>
30550 #endif
30551
30552 int
30553 main ()
30554 {
30555 _fabsl(0);
30556 ;
30557 return 0;
30558 }
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func__fabsl_use=yes
30562 else
30563 glibcxx_cv_func__fabsl_use=no
30564 fi
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571
30572
30573 fi
30574
30575 fi
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30577 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30578
30579 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30580 for ac_func in _fabsl
30581 do :
30582 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30583 if test "x$ac_cv_func__fabsl" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE__FABSL 1
30586 _ACEOF
30587
30588 fi
30589 done
30590
30591 fi
30592 fi
30593
30594
30595
30596
30597
30598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30599 $as_echo_n "checking for fmodl declaration... " >&6; }
30600 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30601 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30602 $as_echo_n "(cached) " >&6
30603 else
30604
30605
30606 ac_ext=cpp
30607 ac_cpp='$CXXCPP $CPPFLAGS'
30608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30611
30612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30613 /* end confdefs.h. */
30614 #include <math.h>
30615 int
30616 main ()
30617 {
30618 fmodl(0, 0);
30619 ;
30620 return 0;
30621 }
30622 _ACEOF
30623 if ac_fn_cxx_try_compile "$LINENO"; then :
30624 glibcxx_cv_func_fmodl_use=yes
30625 else
30626 glibcxx_cv_func_fmodl_use=no
30627 fi
30628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30629 ac_ext=c
30630 ac_cpp='$CPP $CPPFLAGS'
30631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30634
30635
30636 fi
30637
30638 fi
30639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30640 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30641
30642 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30643 for ac_func in fmodl
30644 do :
30645 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30646 if test "x$ac_cv_func_fmodl" = x""yes; then :
30647 cat >>confdefs.h <<_ACEOF
30648 #define HAVE_FMODL 1
30649 _ACEOF
30650
30651 fi
30652 done
30653
30654 else
30655
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30657 $as_echo_n "checking for _fmodl declaration... " >&6; }
30658 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30659 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30660 $as_echo_n "(cached) " >&6
30661 else
30662
30663
30664 ac_ext=cpp
30665 ac_cpp='$CXXCPP $CPPFLAGS'
30666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30669
30670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30671 /* end confdefs.h. */
30672 #include <math.h>
30673 int
30674 main ()
30675 {
30676 _fmodl(0, 0);
30677 ;
30678 return 0;
30679 }
30680 _ACEOF
30681 if ac_fn_cxx_try_compile "$LINENO"; then :
30682 glibcxx_cv_func__fmodl_use=yes
30683 else
30684 glibcxx_cv_func__fmodl_use=no
30685 fi
30686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30687 ac_ext=c
30688 ac_cpp='$CPP $CPPFLAGS'
30689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30692
30693
30694 fi
30695
30696 fi
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30698 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30699
30700 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30701 for ac_func in _fmodl
30702 do :
30703 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30704 if test "x$ac_cv_func__fmodl" = x""yes; then :
30705 cat >>confdefs.h <<_ACEOF
30706 #define HAVE__FMODL 1
30707 _ACEOF
30708
30709 fi
30710 done
30711
30712 fi
30713 fi
30714
30715
30716
30717
30718
30719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30720 $as_echo_n "checking for frexpl declaration... " >&6; }
30721 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30722 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30723 $as_echo_n "(cached) " >&6
30724 else
30725
30726
30727 ac_ext=cpp
30728 ac_cpp='$CXXCPP $CPPFLAGS'
30729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30732
30733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30734 /* end confdefs.h. */
30735 #include <math.h>
30736 int
30737 main ()
30738 {
30739 frexpl(0, 0);
30740 ;
30741 return 0;
30742 }
30743 _ACEOF
30744 if ac_fn_cxx_try_compile "$LINENO"; then :
30745 glibcxx_cv_func_frexpl_use=yes
30746 else
30747 glibcxx_cv_func_frexpl_use=no
30748 fi
30749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30750 ac_ext=c
30751 ac_cpp='$CPP $CPPFLAGS'
30752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30755
30756
30757 fi
30758
30759 fi
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30761 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30762
30763 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30764 for ac_func in frexpl
30765 do :
30766 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30767 if test "x$ac_cv_func_frexpl" = x""yes; then :
30768 cat >>confdefs.h <<_ACEOF
30769 #define HAVE_FREXPL 1
30770 _ACEOF
30771
30772 fi
30773 done
30774
30775 else
30776
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30778 $as_echo_n "checking for _frexpl declaration... " >&6; }
30779 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30780 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30781 $as_echo_n "(cached) " >&6
30782 else
30783
30784
30785 ac_ext=cpp
30786 ac_cpp='$CXXCPP $CPPFLAGS'
30787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30790
30791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30792 /* end confdefs.h. */
30793 #include <math.h>
30794 int
30795 main ()
30796 {
30797 _frexpl(0, 0);
30798 ;
30799 return 0;
30800 }
30801 _ACEOF
30802 if ac_fn_cxx_try_compile "$LINENO"; then :
30803 glibcxx_cv_func__frexpl_use=yes
30804 else
30805 glibcxx_cv_func__frexpl_use=no
30806 fi
30807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30808 ac_ext=c
30809 ac_cpp='$CPP $CPPFLAGS'
30810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30813
30814
30815 fi
30816
30817 fi
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30819 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30820
30821 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30822 for ac_func in _frexpl
30823 do :
30824 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30825 if test "x$ac_cv_func__frexpl" = x""yes; then :
30826 cat >>confdefs.h <<_ACEOF
30827 #define HAVE__FREXPL 1
30828 _ACEOF
30829
30830 fi
30831 done
30832
30833 fi
30834 fi
30835
30836
30837
30838
30839
30840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30841 $as_echo_n "checking for hypotl declaration... " >&6; }
30842 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
30843 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
30844 $as_echo_n "(cached) " >&6
30845 else
30846
30847
30848 ac_ext=cpp
30849 ac_cpp='$CXXCPP $CPPFLAGS'
30850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30853
30854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30855 /* end confdefs.h. */
30856 #include <math.h>
30857 int
30858 main ()
30859 {
30860 hypotl(0, 0);
30861 ;
30862 return 0;
30863 }
30864 _ACEOF
30865 if ac_fn_cxx_try_compile "$LINENO"; then :
30866 glibcxx_cv_func_hypotl_use=yes
30867 else
30868 glibcxx_cv_func_hypotl_use=no
30869 fi
30870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30871 ac_ext=c
30872 ac_cpp='$CPP $CPPFLAGS'
30873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30876
30877
30878 fi
30879
30880 fi
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30882 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30883
30884 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
30885 for ac_func in hypotl
30886 do :
30887 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
30888 if test "x$ac_cv_func_hypotl" = x""yes; then :
30889 cat >>confdefs.h <<_ACEOF
30890 #define HAVE_HYPOTL 1
30891 _ACEOF
30892
30893 fi
30894 done
30895
30896 else
30897
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
30899 $as_echo_n "checking for _hypotl declaration... " >&6; }
30900 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
30901 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
30902 $as_echo_n "(cached) " >&6
30903 else
30904
30905
30906 ac_ext=cpp
30907 ac_cpp='$CXXCPP $CPPFLAGS'
30908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30911
30912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30913 /* end confdefs.h. */
30914 #include <math.h>
30915 int
30916 main ()
30917 {
30918 _hypotl(0, 0);
30919 ;
30920 return 0;
30921 }
30922 _ACEOF
30923 if ac_fn_cxx_try_compile "$LINENO"; then :
30924 glibcxx_cv_func__hypotl_use=yes
30925 else
30926 glibcxx_cv_func__hypotl_use=no
30927 fi
30928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30929 ac_ext=c
30930 ac_cpp='$CPP $CPPFLAGS'
30931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30934
30935
30936 fi
30937
30938 fi
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
30940 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
30941
30942 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
30943 for ac_func in _hypotl
30944 do :
30945 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
30946 if test "x$ac_cv_func__hypotl" = x""yes; then :
30947 cat >>confdefs.h <<_ACEOF
30948 #define HAVE__HYPOTL 1
30949 _ACEOF
30950
30951 fi
30952 done
30953
30954 fi
30955 fi
30956
30957
30958
30959
30960
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
30962 $as_echo_n "checking for ldexpl declaration... " >&6; }
30963 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
30964 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
30965 $as_echo_n "(cached) " >&6
30966 else
30967
30968
30969 ac_ext=cpp
30970 ac_cpp='$CXXCPP $CPPFLAGS'
30971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30974
30975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30976 /* end confdefs.h. */
30977 #include <math.h>
30978 int
30979 main ()
30980 {
30981 ldexpl(0, 0);
30982 ;
30983 return 0;
30984 }
30985 _ACEOF
30986 if ac_fn_cxx_try_compile "$LINENO"; then :
30987 glibcxx_cv_func_ldexpl_use=yes
30988 else
30989 glibcxx_cv_func_ldexpl_use=no
30990 fi
30991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30992 ac_ext=c
30993 ac_cpp='$CPP $CPPFLAGS'
30994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30997
30998
30999 fi
31000
31001 fi
31002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31003 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31004
31005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31006 for ac_func in ldexpl
31007 do :
31008 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31009 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31010 cat >>confdefs.h <<_ACEOF
31011 #define HAVE_LDEXPL 1
31012 _ACEOF
31013
31014 fi
31015 done
31016
31017 else
31018
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31020 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31021 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31022 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31023 $as_echo_n "(cached) " >&6
31024 else
31025
31026
31027 ac_ext=cpp
31028 ac_cpp='$CXXCPP $CPPFLAGS'
31029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31032
31033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31034 /* end confdefs.h. */
31035 #include <math.h>
31036 int
31037 main ()
31038 {
31039 _ldexpl(0, 0);
31040 ;
31041 return 0;
31042 }
31043 _ACEOF
31044 if ac_fn_cxx_try_compile "$LINENO"; then :
31045 glibcxx_cv_func__ldexpl_use=yes
31046 else
31047 glibcxx_cv_func__ldexpl_use=no
31048 fi
31049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31050 ac_ext=c
31051 ac_cpp='$CPP $CPPFLAGS'
31052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31055
31056
31057 fi
31058
31059 fi
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31061 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31062
31063 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31064 for ac_func in _ldexpl
31065 do :
31066 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31067 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31068 cat >>confdefs.h <<_ACEOF
31069 #define HAVE__LDEXPL 1
31070 _ACEOF
31071
31072 fi
31073 done
31074
31075 fi
31076 fi
31077
31078
31079
31080
31081
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31083 $as_echo_n "checking for logl declaration... " >&6; }
31084 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31085 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31086 $as_echo_n "(cached) " >&6
31087 else
31088
31089
31090 ac_ext=cpp
31091 ac_cpp='$CXXCPP $CPPFLAGS'
31092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31095
31096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31097 /* end confdefs.h. */
31098 #include <math.h>
31099 #ifdef HAVE_IEEEFP_H
31100 #include <ieeefp.h>
31101 #endif
31102
31103 int
31104 main ()
31105 {
31106 logl(0);
31107 ;
31108 return 0;
31109 }
31110 _ACEOF
31111 if ac_fn_cxx_try_compile "$LINENO"; then :
31112 glibcxx_cv_func_logl_use=yes
31113 else
31114 glibcxx_cv_func_logl_use=no
31115 fi
31116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31117 ac_ext=c
31118 ac_cpp='$CPP $CPPFLAGS'
31119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31122
31123
31124 fi
31125
31126 fi
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31128 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31129
31130 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31131 for ac_func in logl
31132 do :
31133 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31134 if test "x$ac_cv_func_logl" = x""yes; then :
31135 cat >>confdefs.h <<_ACEOF
31136 #define HAVE_LOGL 1
31137 _ACEOF
31138
31139 fi
31140 done
31141
31142 else
31143
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31145 $as_echo_n "checking for _logl declaration... " >&6; }
31146 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31147 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31148 $as_echo_n "(cached) " >&6
31149 else
31150
31151
31152 ac_ext=cpp
31153 ac_cpp='$CXXCPP $CPPFLAGS'
31154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31157
31158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31159 /* end confdefs.h. */
31160 #include <math.h>
31161 #ifdef HAVE_IEEEFP_H
31162 #include <ieeefp.h>
31163 #endif
31164
31165 int
31166 main ()
31167 {
31168 _logl(0);
31169 ;
31170 return 0;
31171 }
31172 _ACEOF
31173 if ac_fn_cxx_try_compile "$LINENO"; then :
31174 glibcxx_cv_func__logl_use=yes
31175 else
31176 glibcxx_cv_func__logl_use=no
31177 fi
31178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31179 ac_ext=c
31180 ac_cpp='$CPP $CPPFLAGS'
31181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31184
31185
31186 fi
31187
31188 fi
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31190 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31191
31192 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31193 for ac_func in _logl
31194 do :
31195 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31196 if test "x$ac_cv_func__logl" = x""yes; then :
31197 cat >>confdefs.h <<_ACEOF
31198 #define HAVE__LOGL 1
31199 _ACEOF
31200
31201 fi
31202 done
31203
31204 fi
31205 fi
31206
31207
31208
31209
31210
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31212 $as_echo_n "checking for log10l declaration... " >&6; }
31213 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31214 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31215 $as_echo_n "(cached) " >&6
31216 else
31217
31218
31219 ac_ext=cpp
31220 ac_cpp='$CXXCPP $CPPFLAGS'
31221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31224
31225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31227 #include <math.h>
31228 #ifdef HAVE_IEEEFP_H
31229 #include <ieeefp.h>
31230 #endif
31231
31232 int
31233 main ()
31234 {
31235 log10l(0);
31236 ;
31237 return 0;
31238 }
31239 _ACEOF
31240 if ac_fn_cxx_try_compile "$LINENO"; then :
31241 glibcxx_cv_func_log10l_use=yes
31242 else
31243 glibcxx_cv_func_log10l_use=no
31244 fi
31245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31246 ac_ext=c
31247 ac_cpp='$CPP $CPPFLAGS'
31248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31251
31252
31253 fi
31254
31255 fi
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31257 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31258
31259 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31260 for ac_func in log10l
31261 do :
31262 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31263 if test "x$ac_cv_func_log10l" = x""yes; then :
31264 cat >>confdefs.h <<_ACEOF
31265 #define HAVE_LOG10L 1
31266 _ACEOF
31267
31268 fi
31269 done
31270
31271 else
31272
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31274 $as_echo_n "checking for _log10l declaration... " >&6; }
31275 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31276 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31277 $as_echo_n "(cached) " >&6
31278 else
31279
31280
31281 ac_ext=cpp
31282 ac_cpp='$CXXCPP $CPPFLAGS'
31283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31286
31287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31288 /* end confdefs.h. */
31289 #include <math.h>
31290 #ifdef HAVE_IEEEFP_H
31291 #include <ieeefp.h>
31292 #endif
31293
31294 int
31295 main ()
31296 {
31297 _log10l(0);
31298 ;
31299 return 0;
31300 }
31301 _ACEOF
31302 if ac_fn_cxx_try_compile "$LINENO"; then :
31303 glibcxx_cv_func__log10l_use=yes
31304 else
31305 glibcxx_cv_func__log10l_use=no
31306 fi
31307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31313
31314
31315 fi
31316
31317 fi
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31319 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31320
31321 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31322 for ac_func in _log10l
31323 do :
31324 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31325 if test "x$ac_cv_func__log10l" = x""yes; then :
31326 cat >>confdefs.h <<_ACEOF
31327 #define HAVE__LOG10L 1
31328 _ACEOF
31329
31330 fi
31331 done
31332
31333 fi
31334 fi
31335
31336
31337
31338
31339
31340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31341 $as_echo_n "checking for modfl declaration... " >&6; }
31342 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31343 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31344 $as_echo_n "(cached) " >&6
31345 else
31346
31347
31348 ac_ext=cpp
31349 ac_cpp='$CXXCPP $CPPFLAGS'
31350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31353
31354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31355 /* end confdefs.h. */
31356 #include <math.h>
31357 int
31358 main ()
31359 {
31360 modfl(0, 0);
31361 ;
31362 return 0;
31363 }
31364 _ACEOF
31365 if ac_fn_cxx_try_compile "$LINENO"; then :
31366 glibcxx_cv_func_modfl_use=yes
31367 else
31368 glibcxx_cv_func_modfl_use=no
31369 fi
31370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31371 ac_ext=c
31372 ac_cpp='$CPP $CPPFLAGS'
31373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31376
31377
31378 fi
31379
31380 fi
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31382 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31383
31384 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31385 for ac_func in modfl
31386 do :
31387 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31388 if test "x$ac_cv_func_modfl" = x""yes; then :
31389 cat >>confdefs.h <<_ACEOF
31390 #define HAVE_MODFL 1
31391 _ACEOF
31392
31393 fi
31394 done
31395
31396 else
31397
31398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31399 $as_echo_n "checking for _modfl declaration... " >&6; }
31400 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31401 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31402 $as_echo_n "(cached) " >&6
31403 else
31404
31405
31406 ac_ext=cpp
31407 ac_cpp='$CXXCPP $CPPFLAGS'
31408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31411
31412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31413 /* end confdefs.h. */
31414 #include <math.h>
31415 int
31416 main ()
31417 {
31418 _modfl(0, 0);
31419 ;
31420 return 0;
31421 }
31422 _ACEOF
31423 if ac_fn_cxx_try_compile "$LINENO"; then :
31424 glibcxx_cv_func__modfl_use=yes
31425 else
31426 glibcxx_cv_func__modfl_use=no
31427 fi
31428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31429 ac_ext=c
31430 ac_cpp='$CPP $CPPFLAGS'
31431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31434
31435
31436 fi
31437
31438 fi
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31440 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31441
31442 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31443 for ac_func in _modfl
31444 do :
31445 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31446 if test "x$ac_cv_func__modfl" = x""yes; then :
31447 cat >>confdefs.h <<_ACEOF
31448 #define HAVE__MODFL 1
31449 _ACEOF
31450
31451 fi
31452 done
31453
31454 fi
31455 fi
31456
31457
31458
31459
31460
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31462 $as_echo_n "checking for powl declaration... " >&6; }
31463 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31464 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31465 $as_echo_n "(cached) " >&6
31466 else
31467
31468
31469 ac_ext=cpp
31470 ac_cpp='$CXXCPP $CPPFLAGS'
31471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31474
31475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31476 /* end confdefs.h. */
31477 #include <math.h>
31478 int
31479 main ()
31480 {
31481 powl(0, 0);
31482 ;
31483 return 0;
31484 }
31485 _ACEOF
31486 if ac_fn_cxx_try_compile "$LINENO"; then :
31487 glibcxx_cv_func_powl_use=yes
31488 else
31489 glibcxx_cv_func_powl_use=no
31490 fi
31491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31492 ac_ext=c
31493 ac_cpp='$CPP $CPPFLAGS'
31494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31497
31498
31499 fi
31500
31501 fi
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31503 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31504
31505 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31506 for ac_func in powl
31507 do :
31508 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31509 if test "x$ac_cv_func_powl" = x""yes; then :
31510 cat >>confdefs.h <<_ACEOF
31511 #define HAVE_POWL 1
31512 _ACEOF
31513
31514 fi
31515 done
31516
31517 else
31518
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31520 $as_echo_n "checking for _powl declaration... " >&6; }
31521 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31522 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31523 $as_echo_n "(cached) " >&6
31524 else
31525
31526
31527 ac_ext=cpp
31528 ac_cpp='$CXXCPP $CPPFLAGS'
31529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31532
31533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31534 /* end confdefs.h. */
31535 #include <math.h>
31536 int
31537 main ()
31538 {
31539 _powl(0, 0);
31540 ;
31541 return 0;
31542 }
31543 _ACEOF
31544 if ac_fn_cxx_try_compile "$LINENO"; then :
31545 glibcxx_cv_func__powl_use=yes
31546 else
31547 glibcxx_cv_func__powl_use=no
31548 fi
31549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31550 ac_ext=c
31551 ac_cpp='$CPP $CPPFLAGS'
31552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31555
31556
31557 fi
31558
31559 fi
31560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31561 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31562
31563 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31564 for ac_func in _powl
31565 do :
31566 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31567 if test "x$ac_cv_func__powl" = x""yes; then :
31568 cat >>confdefs.h <<_ACEOF
31569 #define HAVE__POWL 1
31570 _ACEOF
31571
31572 fi
31573 done
31574
31575 fi
31576 fi
31577
31578
31579
31580
31581
31582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31583 $as_echo_n "checking for sqrtl declaration... " >&6; }
31584 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31585 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31586 $as_echo_n "(cached) " >&6
31587 else
31588
31589
31590 ac_ext=cpp
31591 ac_cpp='$CXXCPP $CPPFLAGS'
31592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31595
31596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31597 /* end confdefs.h. */
31598 #include <math.h>
31599 #ifdef HAVE_IEEEFP_H
31600 #include <ieeefp.h>
31601 #endif
31602
31603 int
31604 main ()
31605 {
31606 sqrtl(0);
31607 ;
31608 return 0;
31609 }
31610 _ACEOF
31611 if ac_fn_cxx_try_compile "$LINENO"; then :
31612 glibcxx_cv_func_sqrtl_use=yes
31613 else
31614 glibcxx_cv_func_sqrtl_use=no
31615 fi
31616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31617 ac_ext=c
31618 ac_cpp='$CPP $CPPFLAGS'
31619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31622
31623
31624 fi
31625
31626 fi
31627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31628 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31629
31630 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31631 for ac_func in sqrtl
31632 do :
31633 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31634 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31635 cat >>confdefs.h <<_ACEOF
31636 #define HAVE_SQRTL 1
31637 _ACEOF
31638
31639 fi
31640 done
31641
31642 else
31643
31644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31645 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31646 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31647 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31648 $as_echo_n "(cached) " >&6
31649 else
31650
31651
31652 ac_ext=cpp
31653 ac_cpp='$CXXCPP $CPPFLAGS'
31654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31657
31658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31659 /* end confdefs.h. */
31660 #include <math.h>
31661 #ifdef HAVE_IEEEFP_H
31662 #include <ieeefp.h>
31663 #endif
31664
31665 int
31666 main ()
31667 {
31668 _sqrtl(0);
31669 ;
31670 return 0;
31671 }
31672 _ACEOF
31673 if ac_fn_cxx_try_compile "$LINENO"; then :
31674 glibcxx_cv_func__sqrtl_use=yes
31675 else
31676 glibcxx_cv_func__sqrtl_use=no
31677 fi
31678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31679 ac_ext=c
31680 ac_cpp='$CPP $CPPFLAGS'
31681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31684
31685
31686 fi
31687
31688 fi
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31690 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31691
31692 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31693 for ac_func in _sqrtl
31694 do :
31695 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31696 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31697 cat >>confdefs.h <<_ACEOF
31698 #define HAVE__SQRTL 1
31699 _ACEOF
31700
31701 fi
31702 done
31703
31704 fi
31705 fi
31706
31707
31708
31709
31710
31711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31712 $as_echo_n "checking for sincosl declaration... " >&6; }
31713 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31714 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31715 $as_echo_n "(cached) " >&6
31716 else
31717
31718
31719 ac_ext=cpp
31720 ac_cpp='$CXXCPP $CPPFLAGS'
31721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31724
31725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31726 /* end confdefs.h. */
31727 #include <math.h>
31728 int
31729 main ()
31730 {
31731 sincosl(0, 0, 0);
31732 ;
31733 return 0;
31734 }
31735 _ACEOF
31736 if ac_fn_cxx_try_compile "$LINENO"; then :
31737 glibcxx_cv_func_sincosl_use=yes
31738 else
31739 glibcxx_cv_func_sincosl_use=no
31740 fi
31741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31742 ac_ext=c
31743 ac_cpp='$CPP $CPPFLAGS'
31744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31747
31748
31749 fi
31750
31751 fi
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31753 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31754
31755 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31756 for ac_func in sincosl
31757 do :
31758 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31759 if test "x$ac_cv_func_sincosl" = x""yes; then :
31760 cat >>confdefs.h <<_ACEOF
31761 #define HAVE_SINCOSL 1
31762 _ACEOF
31763
31764 fi
31765 done
31766
31767 else
31768
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31770 $as_echo_n "checking for _sincosl declaration... " >&6; }
31771 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31772 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31773 $as_echo_n "(cached) " >&6
31774 else
31775
31776
31777 ac_ext=cpp
31778 ac_cpp='$CXXCPP $CPPFLAGS'
31779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31782
31783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31784 /* end confdefs.h. */
31785 #include <math.h>
31786 int
31787 main ()
31788 {
31789 _sincosl(0, 0, 0);
31790 ;
31791 return 0;
31792 }
31793 _ACEOF
31794 if ac_fn_cxx_try_compile "$LINENO"; then :
31795 glibcxx_cv_func__sincosl_use=yes
31796 else
31797 glibcxx_cv_func__sincosl_use=no
31798 fi
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31800 ac_ext=c
31801 ac_cpp='$CPP $CPPFLAGS'
31802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31805
31806
31807 fi
31808
31809 fi
31810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31811 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31812
31813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31814 for ac_func in _sincosl
31815 do :
31816 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31817 if test "x$ac_cv_func__sincosl" = x""yes; then :
31818 cat >>confdefs.h <<_ACEOF
31819 #define HAVE__SINCOSL 1
31820 _ACEOF
31821
31822 fi
31823 done
31824
31825 fi
31826 fi
31827
31828
31829
31830
31831
31832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31833 $as_echo_n "checking for finitel declaration... " >&6; }
31834 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31835 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31836 $as_echo_n "(cached) " >&6
31837 else
31838
31839
31840 ac_ext=cpp
31841 ac_cpp='$CXXCPP $CPPFLAGS'
31842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31845
31846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31847 /* end confdefs.h. */
31848 #include <math.h>
31849 #ifdef HAVE_IEEEFP_H
31850 #include <ieeefp.h>
31851 #endif
31852
31853 int
31854 main ()
31855 {
31856 finitel(0);
31857 ;
31858 return 0;
31859 }
31860 _ACEOF
31861 if ac_fn_cxx_try_compile "$LINENO"; then :
31862 glibcxx_cv_func_finitel_use=yes
31863 else
31864 glibcxx_cv_func_finitel_use=no
31865 fi
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867 ac_ext=c
31868 ac_cpp='$CPP $CPPFLAGS'
31869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31872
31873
31874 fi
31875
31876 fi
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
31878 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
31879
31880 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
31881 for ac_func in finitel
31882 do :
31883 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
31884 if test "x$ac_cv_func_finitel" = x""yes; then :
31885 cat >>confdefs.h <<_ACEOF
31886 #define HAVE_FINITEL 1
31887 _ACEOF
31888
31889 fi
31890 done
31891
31892 else
31893
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
31895 $as_echo_n "checking for _finitel declaration... " >&6; }
31896 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
31897 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
31898 $as_echo_n "(cached) " >&6
31899 else
31900
31901
31902 ac_ext=cpp
31903 ac_cpp='$CXXCPP $CPPFLAGS'
31904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31907
31908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h. */
31910 #include <math.h>
31911 #ifdef HAVE_IEEEFP_H
31912 #include <ieeefp.h>
31913 #endif
31914
31915 int
31916 main ()
31917 {
31918 _finitel(0);
31919 ;
31920 return 0;
31921 }
31922 _ACEOF
31923 if ac_fn_cxx_try_compile "$LINENO"; then :
31924 glibcxx_cv_func__finitel_use=yes
31925 else
31926 glibcxx_cv_func__finitel_use=no
31927 fi
31928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31929 ac_ext=c
31930 ac_cpp='$CPP $CPPFLAGS'
31931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31934
31935
31936 fi
31937
31938 fi
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
31940 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
31941
31942 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
31943 for ac_func in _finitel
31944 do :
31945 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
31946 if test "x$ac_cv_func__finitel" = x""yes; then :
31947 cat >>confdefs.h <<_ACEOF
31948 #define HAVE__FINITEL 1
31949 _ACEOF
31950
31951 fi
31952 done
31953
31954 fi
31955 fi
31956
31957
31958
31959
31960 LIBS="$ac_save_LIBS"
31961 CXXFLAGS="$ac_save_CXXFLAGS"
31962
31963
31964 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31965 ac_save_CXXFLAGS="$CXXFLAGS"
31966 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31967
31968
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
31970 $as_echo_n "checking for strtold declaration... " >&6; }
31971 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
31972 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
31973 $as_echo_n "(cached) " >&6
31974 else
31975
31976
31977 ac_ext=cpp
31978 ac_cpp='$CXXCPP $CPPFLAGS'
31979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31982
31983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31984 /* end confdefs.h. */
31985 #include <stdlib.h>
31986 int
31987 main ()
31988 {
31989 strtold(0, 0);
31990 ;
31991 return 0;
31992 }
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_strtold_use=yes
31996 else
31997 glibcxx_cv_func_strtold_use=no
31998 fi
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32005
32006
32007 fi
32008
32009 fi
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32011 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32012 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32013 for ac_func in strtold
32014 do :
32015 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32016 if test "x$ac_cv_func_strtold" = x""yes; then :
32017 cat >>confdefs.h <<_ACEOF
32018 #define HAVE_STRTOLD 1
32019 _ACEOF
32020
32021 fi
32022 done
32023
32024 fi
32025
32026
32027
32028
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32030 $as_echo_n "checking for strtof declaration... " >&6; }
32031 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32032 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32035
32036
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32042
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <stdlib.h>
32046 int
32047 main ()
32048 {
32049 strtof(0, 0);
32050 ;
32051 return 0;
32052 }
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func_strtof_use=yes
32056 else
32057 glibcxx_cv_func_strtof_use=no
32058 fi
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32065
32066
32067 fi
32068
32069 fi
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32071 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32072 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32073 for ac_func in strtof
32074 do :
32075 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32076 if test "x$ac_cv_func_strtof" = x""yes; then :
32077 cat >>confdefs.h <<_ACEOF
32078 #define HAVE_STRTOF 1
32079 _ACEOF
32080
32081 fi
32082 done
32083
32084 fi
32085
32086
32087
32088
32089 CXXFLAGS="$ac_save_CXXFLAGS"
32090
32091
32092 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32093
32094 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32095
32096 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32097
32098 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32099
32100
32101 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32102
32103 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32104
32105 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32106
32107 ;;
32108
32109 *-aix*)
32110
32111 # If we're not using GNU ld, then there's no point in even trying these
32112 # tests. Check for that first. We should have already tested for gld
32113 # by now (in libtool), but require it now just to be safe...
32114 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32115 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32116
32117
32118
32119 # The name set by libtool depends on the version of libtool. Shame on us
32120 # for depending on an impl detail, but c'est la vie. Older versions used
32121 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32122 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32123 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32124 # set (hence we're using an older libtool), then set it.
32125 if test x${with_gnu_ld+set} != xset; then
32126 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32127 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32128 with_gnu_ld=no
32129 else
32130 with_gnu_ld=$ac_cv_prog_gnu_ld
32131 fi
32132 fi
32133
32134 # Start by getting the version number. I think the libtool test already
32135 # does some of this, but throws away the result.
32136 glibcxx_ld_is_gold=no
32137 if test x"$with_gnu_ld" = x"yes"; then
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32139 $as_echo_n "checking for ld version... " >&6; }
32140
32141 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32142 glibcxx_ld_is_gold=yes
32143 fi
32144 ldver=`$LD --version 2>/dev/null |
32145 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'`
32146
32147 glibcxx_gnu_ld_version=`echo $ldver | \
32148 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32150 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32151 fi
32152
32153 # Set --gc-sections.
32154 glibcxx_have_gc_sections=no
32155 if test "$glibcxx_ld_is_gold" = "yes"; then
32156 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32157 glibcxx_have_gc_sections=yes
32158 fi
32159 else
32160 glibcxx_gcsections_min_ld=21602
32161 if test x"$with_gnu_ld" = x"yes" &&
32162 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32163 glibcxx_have_gc_sections=yes
32164 fi
32165 fi
32166 if test "$glibcxx_have_gc_sections" = "yes"; then
32167 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32168 # NB: This flag only works reliably after 2.16.1. Configure tests
32169 # for this are difficult, so hard wire a value that should work.
32170
32171 ac_test_CFLAGS="${CFLAGS+set}"
32172 ac_save_CFLAGS="$CFLAGS"
32173 CFLAGS='-Wl,--gc-sections'
32174
32175 # Check for -Wl,--gc-sections
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32177 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32178 if test x$gcc_no_link = xyes; then
32179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32180 fi
32181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32182 /* end confdefs.h. */
32183 int one(void) { return 1; }
32184 int two(void) { return 2; }
32185
32186 int
32187 main ()
32188 {
32189 two();
32190 ;
32191 return 0;
32192 }
32193 _ACEOF
32194 if ac_fn_c_try_link "$LINENO"; then :
32195 ac_gcsections=yes
32196 else
32197 ac_gcsections=no
32198 fi
32199 rm -f core conftest.err conftest.$ac_objext \
32200 conftest$ac_exeext conftest.$ac_ext
32201 if test "$ac_gcsections" = "yes"; then
32202 rm -f conftest.c
32203 touch conftest.c
32204 if $CC -c conftest.c; then
32205 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32206 grep "Warning: gc-sections option ignored" > /dev/null; then
32207 ac_gcsections=no
32208 fi
32209 fi
32210 rm -f conftest.c conftest.o conftest
32211 fi
32212 if test "$ac_gcsections" = "yes"; then
32213 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32214 fi
32215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32216 $as_echo "$ac_gcsections" >&6; }
32217
32218 if test "$ac_test_CFLAGS" = set; then
32219 CFLAGS="$ac_save_CFLAGS"
32220 else
32221 # this is the suspicious part
32222 CFLAGS=''
32223 fi
32224 fi
32225
32226 # Set -z,relro.
32227 # Note this is only for shared objects.
32228 ac_ld_relro=no
32229 if test x"$with_gnu_ld" = x"yes"; then
32230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32231 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32232 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32233 if test -n "$cxx_z_relo"; then
32234 OPT_LDFLAGS="-Wl,-z,relro"
32235 ac_ld_relro=yes
32236 fi
32237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32238 $as_echo "$ac_ld_relro" >&6; }
32239 fi
32240
32241 # Set linker optimization flags.
32242 if test x"$with_gnu_ld" = x"yes"; then
32243 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32244 fi
32245
32246
32247
32248
32249
32250 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32251 ac_save_CXXFLAGS="$CXXFLAGS"
32252 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32253
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32255 $as_echo_n "checking for sin in -lm... " >&6; }
32256 if test "${ac_cv_lib_m_sin+set}" = set; then :
32257 $as_echo_n "(cached) " >&6
32258 else
32259 ac_check_lib_save_LIBS=$LIBS
32260 LIBS="-lm $LIBS"
32261 if test x$gcc_no_link = xyes; then
32262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32263 fi
32264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32265 /* end confdefs.h. */
32266
32267 /* Override any GCC internal prototype to avoid an error.
32268 Use char because int might match the return type of a GCC
32269 builtin and then its argument prototype would still apply. */
32270 #ifdef __cplusplus
32271 extern "C"
32272 #endif
32273 char sin ();
32274 int
32275 main ()
32276 {
32277 return sin ();
32278 ;
32279 return 0;
32280 }
32281 _ACEOF
32282 if ac_fn_c_try_link "$LINENO"; then :
32283 ac_cv_lib_m_sin=yes
32284 else
32285 ac_cv_lib_m_sin=no
32286 fi
32287 rm -f core conftest.err conftest.$ac_objext \
32288 conftest$ac_exeext conftest.$ac_ext
32289 LIBS=$ac_check_lib_save_LIBS
32290 fi
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32292 $as_echo "$ac_cv_lib_m_sin" >&6; }
32293 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32294 libm="-lm"
32295 fi
32296
32297 ac_save_LIBS="$LIBS"
32298 LIBS="$LIBS $libm"
32299
32300
32301
32302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32303 $as_echo_n "checking for isinf declaration... " >&6; }
32304 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32305 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32306 $as_echo_n "(cached) " >&6
32307 else
32308
32309
32310 ac_ext=cpp
32311 ac_cpp='$CXXCPP $CPPFLAGS'
32312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32315
32316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32317 /* end confdefs.h. */
32318 #include <math.h>
32319 #ifdef HAVE_IEEEFP_H
32320 #include <ieeefp.h>
32321 #endif
32322
32323 int
32324 main ()
32325 {
32326 isinf(0);
32327 ;
32328 return 0;
32329 }
32330 _ACEOF
32331 if ac_fn_cxx_try_compile "$LINENO"; then :
32332 glibcxx_cv_func_isinf_use=yes
32333 else
32334 glibcxx_cv_func_isinf_use=no
32335 fi
32336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32337 ac_ext=c
32338 ac_cpp='$CPP $CPPFLAGS'
32339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32342
32343
32344 fi
32345
32346 fi
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32348 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32349
32350 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32351 for ac_func in isinf
32352 do :
32353 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32354 if test "x$ac_cv_func_isinf" = x""yes; then :
32355 cat >>confdefs.h <<_ACEOF
32356 #define HAVE_ISINF 1
32357 _ACEOF
32358
32359 fi
32360 done
32361
32362 else
32363
32364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32365 $as_echo_n "checking for _isinf declaration... " >&6; }
32366 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32367 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32368 $as_echo_n "(cached) " >&6
32369 else
32370
32371
32372 ac_ext=cpp
32373 ac_cpp='$CXXCPP $CPPFLAGS'
32374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32377
32378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32379 /* end confdefs.h. */
32380 #include <math.h>
32381 #ifdef HAVE_IEEEFP_H
32382 #include <ieeefp.h>
32383 #endif
32384
32385 int
32386 main ()
32387 {
32388 _isinf(0);
32389 ;
32390 return 0;
32391 }
32392 _ACEOF
32393 if ac_fn_cxx_try_compile "$LINENO"; then :
32394 glibcxx_cv_func__isinf_use=yes
32395 else
32396 glibcxx_cv_func__isinf_use=no
32397 fi
32398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32399 ac_ext=c
32400 ac_cpp='$CPP $CPPFLAGS'
32401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32404
32405
32406 fi
32407
32408 fi
32409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32410 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32411
32412 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32413 for ac_func in _isinf
32414 do :
32415 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32416 if test "x$ac_cv_func__isinf" = x""yes; then :
32417 cat >>confdefs.h <<_ACEOF
32418 #define HAVE__ISINF 1
32419 _ACEOF
32420
32421 fi
32422 done
32423
32424 fi
32425 fi
32426
32427
32428
32429
32430
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32432 $as_echo_n "checking for isnan declaration... " >&6; }
32433 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32434 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32435 $as_echo_n "(cached) " >&6
32436 else
32437
32438
32439 ac_ext=cpp
32440 ac_cpp='$CXXCPP $CPPFLAGS'
32441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32444
32445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32446 /* end confdefs.h. */
32447 #include <math.h>
32448 #ifdef HAVE_IEEEFP_H
32449 #include <ieeefp.h>
32450 #endif
32451
32452 int
32453 main ()
32454 {
32455 isnan(0);
32456 ;
32457 return 0;
32458 }
32459 _ACEOF
32460 if ac_fn_cxx_try_compile "$LINENO"; then :
32461 glibcxx_cv_func_isnan_use=yes
32462 else
32463 glibcxx_cv_func_isnan_use=no
32464 fi
32465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32466 ac_ext=c
32467 ac_cpp='$CPP $CPPFLAGS'
32468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32471
32472
32473 fi
32474
32475 fi
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32477 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32478
32479 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32480 for ac_func in isnan
32481 do :
32482 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32483 if test "x$ac_cv_func_isnan" = x""yes; then :
32484 cat >>confdefs.h <<_ACEOF
32485 #define HAVE_ISNAN 1
32486 _ACEOF
32487
32488 fi
32489 done
32490
32491 else
32492
32493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32494 $as_echo_n "checking for _isnan declaration... " >&6; }
32495 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32496 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32497 $as_echo_n "(cached) " >&6
32498 else
32499
32500
32501 ac_ext=cpp
32502 ac_cpp='$CXXCPP $CPPFLAGS'
32503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32506
32507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32508 /* end confdefs.h. */
32509 #include <math.h>
32510 #ifdef HAVE_IEEEFP_H
32511 #include <ieeefp.h>
32512 #endif
32513
32514 int
32515 main ()
32516 {
32517 _isnan(0);
32518 ;
32519 return 0;
32520 }
32521 _ACEOF
32522 if ac_fn_cxx_try_compile "$LINENO"; then :
32523 glibcxx_cv_func__isnan_use=yes
32524 else
32525 glibcxx_cv_func__isnan_use=no
32526 fi
32527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32528 ac_ext=c
32529 ac_cpp='$CPP $CPPFLAGS'
32530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32533
32534
32535 fi
32536
32537 fi
32538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32539 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32540
32541 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32542 for ac_func in _isnan
32543 do :
32544 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32545 if test "x$ac_cv_func__isnan" = x""yes; then :
32546 cat >>confdefs.h <<_ACEOF
32547 #define HAVE__ISNAN 1
32548 _ACEOF
32549
32550 fi
32551 done
32552
32553 fi
32554 fi
32555
32556
32557
32558
32559
32560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32561 $as_echo_n "checking for finite declaration... " >&6; }
32562 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32563 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32564 $as_echo_n "(cached) " >&6
32565 else
32566
32567
32568 ac_ext=cpp
32569 ac_cpp='$CXXCPP $CPPFLAGS'
32570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32573
32574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32575 /* end confdefs.h. */
32576 #include <math.h>
32577 #ifdef HAVE_IEEEFP_H
32578 #include <ieeefp.h>
32579 #endif
32580
32581 int
32582 main ()
32583 {
32584 finite(0);
32585 ;
32586 return 0;
32587 }
32588 _ACEOF
32589 if ac_fn_cxx_try_compile "$LINENO"; then :
32590 glibcxx_cv_func_finite_use=yes
32591 else
32592 glibcxx_cv_func_finite_use=no
32593 fi
32594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32595 ac_ext=c
32596 ac_cpp='$CPP $CPPFLAGS'
32597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32600
32601
32602 fi
32603
32604 fi
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32606 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32607
32608 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32609 for ac_func in finite
32610 do :
32611 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32612 if test "x$ac_cv_func_finite" = x""yes; then :
32613 cat >>confdefs.h <<_ACEOF
32614 #define HAVE_FINITE 1
32615 _ACEOF
32616
32617 fi
32618 done
32619
32620 else
32621
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32623 $as_echo_n "checking for _finite declaration... " >&6; }
32624 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32625 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32626 $as_echo_n "(cached) " >&6
32627 else
32628
32629
32630 ac_ext=cpp
32631 ac_cpp='$CXXCPP $CPPFLAGS'
32632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32635
32636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32637 /* end confdefs.h. */
32638 #include <math.h>
32639 #ifdef HAVE_IEEEFP_H
32640 #include <ieeefp.h>
32641 #endif
32642
32643 int
32644 main ()
32645 {
32646 _finite(0);
32647 ;
32648 return 0;
32649 }
32650 _ACEOF
32651 if ac_fn_cxx_try_compile "$LINENO"; then :
32652 glibcxx_cv_func__finite_use=yes
32653 else
32654 glibcxx_cv_func__finite_use=no
32655 fi
32656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32657 ac_ext=c
32658 ac_cpp='$CPP $CPPFLAGS'
32659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32662
32663
32664 fi
32665
32666 fi
32667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32668 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32669
32670 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32671 for ac_func in _finite
32672 do :
32673 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32674 if test "x$ac_cv_func__finite" = x""yes; then :
32675 cat >>confdefs.h <<_ACEOF
32676 #define HAVE__FINITE 1
32677 _ACEOF
32678
32679 fi
32680 done
32681
32682 fi
32683 fi
32684
32685
32686
32687
32688
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32690 $as_echo_n "checking for sincos declaration... " >&6; }
32691 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32692 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32693 $as_echo_n "(cached) " >&6
32694 else
32695
32696
32697 ac_ext=cpp
32698 ac_cpp='$CXXCPP $CPPFLAGS'
32699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32702
32703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32704 /* end confdefs.h. */
32705 #include <math.h>
32706 int
32707 main ()
32708 {
32709 sincos(0, 0, 0);
32710 ;
32711 return 0;
32712 }
32713 _ACEOF
32714 if ac_fn_cxx_try_compile "$LINENO"; then :
32715 glibcxx_cv_func_sincos_use=yes
32716 else
32717 glibcxx_cv_func_sincos_use=no
32718 fi
32719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32720 ac_ext=c
32721 ac_cpp='$CPP $CPPFLAGS'
32722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32725
32726
32727 fi
32728
32729 fi
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32731 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32732
32733 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32734 for ac_func in sincos
32735 do :
32736 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32737 if test "x$ac_cv_func_sincos" = x""yes; then :
32738 cat >>confdefs.h <<_ACEOF
32739 #define HAVE_SINCOS 1
32740 _ACEOF
32741
32742 fi
32743 done
32744
32745 else
32746
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32748 $as_echo_n "checking for _sincos declaration... " >&6; }
32749 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32750 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32751 $as_echo_n "(cached) " >&6
32752 else
32753
32754
32755 ac_ext=cpp
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32760
32761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32762 /* end confdefs.h. */
32763 #include <math.h>
32764 int
32765 main ()
32766 {
32767 _sincos(0, 0, 0);
32768 ;
32769 return 0;
32770 }
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773 glibcxx_cv_func__sincos_use=yes
32774 else
32775 glibcxx_cv_func__sincos_use=no
32776 fi
32777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32778 ac_ext=c
32779 ac_cpp='$CPP $CPPFLAGS'
32780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32783
32784
32785 fi
32786
32787 fi
32788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32789 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32790
32791 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32792 for ac_func in _sincos
32793 do :
32794 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32795 if test "x$ac_cv_func__sincos" = x""yes; then :
32796 cat >>confdefs.h <<_ACEOF
32797 #define HAVE__SINCOS 1
32798 _ACEOF
32799
32800 fi
32801 done
32802
32803 fi
32804 fi
32805
32806
32807
32808
32809
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32811 $as_echo_n "checking for fpclass declaration... " >&6; }
32812 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32813 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32814 $as_echo_n "(cached) " >&6
32815 else
32816
32817
32818 ac_ext=cpp
32819 ac_cpp='$CXXCPP $CPPFLAGS'
32820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32823
32824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32825 /* end confdefs.h. */
32826 #include <math.h>
32827 #ifdef HAVE_IEEEFP_H
32828 #include <ieeefp.h>
32829 #endif
32830
32831 int
32832 main ()
32833 {
32834 fpclass(0);
32835 ;
32836 return 0;
32837 }
32838 _ACEOF
32839 if ac_fn_cxx_try_compile "$LINENO"; then :
32840 glibcxx_cv_func_fpclass_use=yes
32841 else
32842 glibcxx_cv_func_fpclass_use=no
32843 fi
32844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845 ac_ext=c
32846 ac_cpp='$CPP $CPPFLAGS'
32847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32850
32851
32852 fi
32853
32854 fi
32855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32856 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32857
32858 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32859 for ac_func in fpclass
32860 do :
32861 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
32862 if test "x$ac_cv_func_fpclass" = x""yes; then :
32863 cat >>confdefs.h <<_ACEOF
32864 #define HAVE_FPCLASS 1
32865 _ACEOF
32866
32867 fi
32868 done
32869
32870 else
32871
32872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
32873 $as_echo_n "checking for _fpclass declaration... " >&6; }
32874 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32875 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
32876 $as_echo_n "(cached) " >&6
32877 else
32878
32879
32880 ac_ext=cpp
32881 ac_cpp='$CXXCPP $CPPFLAGS'
32882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32885
32886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32887 /* end confdefs.h. */
32888 #include <math.h>
32889 #ifdef HAVE_IEEEFP_H
32890 #include <ieeefp.h>
32891 #endif
32892
32893 int
32894 main ()
32895 {
32896 _fpclass(0);
32897 ;
32898 return 0;
32899 }
32900 _ACEOF
32901 if ac_fn_cxx_try_compile "$LINENO"; then :
32902 glibcxx_cv_func__fpclass_use=yes
32903 else
32904 glibcxx_cv_func__fpclass_use=no
32905 fi
32906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32907 ac_ext=c
32908 ac_cpp='$CPP $CPPFLAGS'
32909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32912
32913
32914 fi
32915
32916 fi
32917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
32918 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
32919
32920 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32921 for ac_func in _fpclass
32922 do :
32923 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
32924 if test "x$ac_cv_func__fpclass" = x""yes; then :
32925 cat >>confdefs.h <<_ACEOF
32926 #define HAVE__FPCLASS 1
32927 _ACEOF
32928
32929 fi
32930 done
32931
32932 fi
32933 fi
32934
32935
32936
32937
32938
32939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
32940 $as_echo_n "checking for qfpclass declaration... " >&6; }
32941 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32942 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
32943 $as_echo_n "(cached) " >&6
32944 else
32945
32946
32947 ac_ext=cpp
32948 ac_cpp='$CXXCPP $CPPFLAGS'
32949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32952
32953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32954 /* end confdefs.h. */
32955 #include <math.h>
32956 #ifdef HAVE_IEEEFP_H
32957 #include <ieeefp.h>
32958 #endif
32959
32960 int
32961 main ()
32962 {
32963 qfpclass(0);
32964 ;
32965 return 0;
32966 }
32967 _ACEOF
32968 if ac_fn_cxx_try_compile "$LINENO"; then :
32969 glibcxx_cv_func_qfpclass_use=yes
32970 else
32971 glibcxx_cv_func_qfpclass_use=no
32972 fi
32973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32974 ac_ext=c
32975 ac_cpp='$CPP $CPPFLAGS'
32976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32979
32980
32981 fi
32982
32983 fi
32984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
32985 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
32986
32987 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32988 for ac_func in qfpclass
32989 do :
32990 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
32991 if test "x$ac_cv_func_qfpclass" = x""yes; then :
32992 cat >>confdefs.h <<_ACEOF
32993 #define HAVE_QFPCLASS 1
32994 _ACEOF
32995
32996 fi
32997 done
32998
32999 else
33000
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33002 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33003 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33004 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33005 $as_echo_n "(cached) " >&6
33006 else
33007
33008
33009 ac_ext=cpp
33010 ac_cpp='$CXXCPP $CPPFLAGS'
33011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33014
33015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33017 #include <math.h>
33018 #ifdef HAVE_IEEEFP_H
33019 #include <ieeefp.h>
33020 #endif
33021
33022 int
33023 main ()
33024 {
33025 _qfpclass(0);
33026 ;
33027 return 0;
33028 }
33029 _ACEOF
33030 if ac_fn_cxx_try_compile "$LINENO"; then :
33031 glibcxx_cv_func__qfpclass_use=yes
33032 else
33033 glibcxx_cv_func__qfpclass_use=no
33034 fi
33035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33036 ac_ext=c
33037 ac_cpp='$CPP $CPPFLAGS'
33038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33041
33042
33043 fi
33044
33045 fi
33046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33047 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33048
33049 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33050 for ac_func in _qfpclass
33051 do :
33052 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33053 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33054 cat >>confdefs.h <<_ACEOF
33055 #define HAVE__QFPCLASS 1
33056 _ACEOF
33057
33058 fi
33059 done
33060
33061 fi
33062 fi
33063
33064
33065
33066
33067
33068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33069 $as_echo_n "checking for hypot declaration... " >&6; }
33070 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33071 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33072 $as_echo_n "(cached) " >&6
33073 else
33074
33075
33076 ac_ext=cpp
33077 ac_cpp='$CXXCPP $CPPFLAGS'
33078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33081
33082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33083 /* end confdefs.h. */
33084 #include <math.h>
33085 int
33086 main ()
33087 {
33088 hypot(0, 0);
33089 ;
33090 return 0;
33091 }
33092 _ACEOF
33093 if ac_fn_cxx_try_compile "$LINENO"; then :
33094 glibcxx_cv_func_hypot_use=yes
33095 else
33096 glibcxx_cv_func_hypot_use=no
33097 fi
33098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_ext=c
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33104
33105
33106 fi
33107
33108 fi
33109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33110 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33111
33112 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33113 for ac_func in hypot
33114 do :
33115 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33116 if test "x$ac_cv_func_hypot" = x""yes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE_HYPOT 1
33119 _ACEOF
33120
33121 fi
33122 done
33123
33124 else
33125
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33127 $as_echo_n "checking for _hypot declaration... " >&6; }
33128 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33129 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33130 $as_echo_n "(cached) " >&6
33131 else
33132
33133
33134 ac_ext=cpp
33135 ac_cpp='$CXXCPP $CPPFLAGS'
33136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33139
33140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33141 /* end confdefs.h. */
33142 #include <math.h>
33143 int
33144 main ()
33145 {
33146 _hypot(0, 0);
33147 ;
33148 return 0;
33149 }
33150 _ACEOF
33151 if ac_fn_cxx_try_compile "$LINENO"; then :
33152 glibcxx_cv_func__hypot_use=yes
33153 else
33154 glibcxx_cv_func__hypot_use=no
33155 fi
33156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33157 ac_ext=c
33158 ac_cpp='$CPP $CPPFLAGS'
33159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33162
33163
33164 fi
33165
33166 fi
33167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33168 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33169
33170 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33171 for ac_func in _hypot
33172 do :
33173 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33174 if test "x$ac_cv_func__hypot" = x""yes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE__HYPOT 1
33177 _ACEOF
33178
33179 fi
33180 done
33181
33182 fi
33183 fi
33184
33185
33186
33187
33188
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33190 $as_echo_n "checking for float trig functions... " >&6; }
33191 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33192 $as_echo_n "(cached) " >&6
33193 else
33194
33195
33196 ac_ext=cpp
33197 ac_cpp='$CXXCPP $CPPFLAGS'
33198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33201
33202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33203 /* end confdefs.h. */
33204 #include <math.h>
33205 int
33206 main ()
33207 {
33208 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33209 ;
33210 return 0;
33211 }
33212 _ACEOF
33213 if ac_fn_cxx_try_compile "$LINENO"; then :
33214 glibcxx_cv_func_float_trig_use=yes
33215 else
33216 glibcxx_cv_func_float_trig_use=no
33217 fi
33218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33219 ac_ext=c
33220 ac_cpp='$CPP $CPPFLAGS'
33221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33224
33225 fi
33226
33227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33228 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33229 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33230 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33231 do :
33232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33234 eval as_val=\$$as_ac_var
33235 if test "x$as_val" = x""yes; then :
33236 cat >>confdefs.h <<_ACEOF
33237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33238 _ACEOF
33239
33240 fi
33241 done
33242
33243 else
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33245 $as_echo_n "checking for _float trig functions... " >&6; }
33246 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33247 $as_echo_n "(cached) " >&6
33248 else
33249
33250
33251 ac_ext=cpp
33252 ac_cpp='$CXXCPP $CPPFLAGS'
33253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33256
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33259 #include <math.h>
33260 int
33261 main ()
33262 {
33263 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33264 ;
33265 return 0;
33266 }
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func__float_trig_use=yes
33270 else
33271 glibcxx_cv_func__float_trig_use=no
33272 fi
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274 ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33279
33280 fi
33281
33282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33283 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33284 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33285 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33286 do :
33287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33289 eval as_val=\$$as_ac_var
33290 if test "x$as_val" = x""yes; then :
33291 cat >>confdefs.h <<_ACEOF
33292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33293 _ACEOF
33294
33295 fi
33296 done
33297
33298 fi
33299 fi
33300
33301
33302
33303
33304
33305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33306 $as_echo_n "checking for float round functions... " >&6; }
33307 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33308 $as_echo_n "(cached) " >&6
33309 else
33310
33311
33312 ac_ext=cpp
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33317
33318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33319 /* end confdefs.h. */
33320 #include <math.h>
33321 int
33322 main ()
33323 {
33324 ceilf (0); floorf (0);
33325 ;
33326 return 0;
33327 }
33328 _ACEOF
33329 if ac_fn_cxx_try_compile "$LINENO"; then :
33330 glibcxx_cv_func_float_round_use=yes
33331 else
33332 glibcxx_cv_func_float_round_use=no
33333 fi
33334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33335 ac_ext=c
33336 ac_cpp='$CPP $CPPFLAGS'
33337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33340
33341 fi
33342
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33344 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33345 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33346 for ac_func in ceilf floorf
33347 do :
33348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33350 eval as_val=\$$as_ac_var
33351 if test "x$as_val" = x""yes; then :
33352 cat >>confdefs.h <<_ACEOF
33353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33354 _ACEOF
33355
33356 fi
33357 done
33358
33359 else
33360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33361 $as_echo_n "checking for _float round functions... " >&6; }
33362 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33363 $as_echo_n "(cached) " >&6
33364 else
33365
33366
33367 ac_ext=cpp
33368 ac_cpp='$CXXCPP $CPPFLAGS'
33369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33372
33373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33374 /* end confdefs.h. */
33375 #include <math.h>
33376 int
33377 main ()
33378 {
33379 _ceilf (0); _floorf (0);
33380 ;
33381 return 0;
33382 }
33383 _ACEOF
33384 if ac_fn_cxx_try_compile "$LINENO"; then :
33385 glibcxx_cv_func__float_round_use=yes
33386 else
33387 glibcxx_cv_func__float_round_use=no
33388 fi
33389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33390 ac_ext=c
33391 ac_cpp='$CPP $CPPFLAGS'
33392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33395
33396 fi
33397
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33399 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33400 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33401 for ac_func in _ceilf _floorf
33402 do :
33403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33405 eval as_val=\$$as_ac_var
33406 if test "x$as_val" = x""yes; then :
33407 cat >>confdefs.h <<_ACEOF
33408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33409 _ACEOF
33410
33411 fi
33412 done
33413
33414 fi
33415 fi
33416
33417
33418
33419
33420
33421
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33423 $as_echo_n "checking for expf declaration... " >&6; }
33424 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33425 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33426 $as_echo_n "(cached) " >&6
33427 else
33428
33429
33430 ac_ext=cpp
33431 ac_cpp='$CXXCPP $CPPFLAGS'
33432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33435
33436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33437 /* end confdefs.h. */
33438 #include <math.h>
33439 #ifdef HAVE_IEEEFP_H
33440 #include <ieeefp.h>
33441 #endif
33442
33443 int
33444 main ()
33445 {
33446 expf(0);
33447 ;
33448 return 0;
33449 }
33450 _ACEOF
33451 if ac_fn_cxx_try_compile "$LINENO"; then :
33452 glibcxx_cv_func_expf_use=yes
33453 else
33454 glibcxx_cv_func_expf_use=no
33455 fi
33456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33457 ac_ext=c
33458 ac_cpp='$CPP $CPPFLAGS'
33459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33462
33463
33464 fi
33465
33466 fi
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33468 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33469
33470 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33471 for ac_func in expf
33472 do :
33473 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33474 if test "x$ac_cv_func_expf" = x""yes; then :
33475 cat >>confdefs.h <<_ACEOF
33476 #define HAVE_EXPF 1
33477 _ACEOF
33478
33479 fi
33480 done
33481
33482 else
33483
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33485 $as_echo_n "checking for _expf declaration... " >&6; }
33486 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33487 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33488 $as_echo_n "(cached) " >&6
33489 else
33490
33491
33492 ac_ext=cpp
33493 ac_cpp='$CXXCPP $CPPFLAGS'
33494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33497
33498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33499 /* end confdefs.h. */
33500 #include <math.h>
33501 #ifdef HAVE_IEEEFP_H
33502 #include <ieeefp.h>
33503 #endif
33504
33505 int
33506 main ()
33507 {
33508 _expf(0);
33509 ;
33510 return 0;
33511 }
33512 _ACEOF
33513 if ac_fn_cxx_try_compile "$LINENO"; then :
33514 glibcxx_cv_func__expf_use=yes
33515 else
33516 glibcxx_cv_func__expf_use=no
33517 fi
33518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33519 ac_ext=c
33520 ac_cpp='$CPP $CPPFLAGS'
33521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33524
33525
33526 fi
33527
33528 fi
33529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33530 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33531
33532 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33533 for ac_func in _expf
33534 do :
33535 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33536 if test "x$ac_cv_func__expf" = x""yes; then :
33537 cat >>confdefs.h <<_ACEOF
33538 #define HAVE__EXPF 1
33539 _ACEOF
33540
33541 fi
33542 done
33543
33544 fi
33545 fi
33546
33547
33548
33549
33550
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33552 $as_echo_n "checking for isnanf declaration... " >&6; }
33553 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33554 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33555 $as_echo_n "(cached) " >&6
33556 else
33557
33558
33559 ac_ext=cpp
33560 ac_cpp='$CXXCPP $CPPFLAGS'
33561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33564
33565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33566 /* end confdefs.h. */
33567 #include <math.h>
33568 #ifdef HAVE_IEEEFP_H
33569 #include <ieeefp.h>
33570 #endif
33571
33572 int
33573 main ()
33574 {
33575 isnanf(0);
33576 ;
33577 return 0;
33578 }
33579 _ACEOF
33580 if ac_fn_cxx_try_compile "$LINENO"; then :
33581 glibcxx_cv_func_isnanf_use=yes
33582 else
33583 glibcxx_cv_func_isnanf_use=no
33584 fi
33585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33586 ac_ext=c
33587 ac_cpp='$CPP $CPPFLAGS'
33588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33591
33592
33593 fi
33594
33595 fi
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33597 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33598
33599 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33600 for ac_func in isnanf
33601 do :
33602 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33603 if test "x$ac_cv_func_isnanf" = x""yes; then :
33604 cat >>confdefs.h <<_ACEOF
33605 #define HAVE_ISNANF 1
33606 _ACEOF
33607
33608 fi
33609 done
33610
33611 else
33612
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33614 $as_echo_n "checking for _isnanf declaration... " >&6; }
33615 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33616 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33617 $as_echo_n "(cached) " >&6
33618 else
33619
33620
33621 ac_ext=cpp
33622 ac_cpp='$CXXCPP $CPPFLAGS'
33623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33626
33627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33628 /* end confdefs.h. */
33629 #include <math.h>
33630 #ifdef HAVE_IEEEFP_H
33631 #include <ieeefp.h>
33632 #endif
33633
33634 int
33635 main ()
33636 {
33637 _isnanf(0);
33638 ;
33639 return 0;
33640 }
33641 _ACEOF
33642 if ac_fn_cxx_try_compile "$LINENO"; then :
33643 glibcxx_cv_func__isnanf_use=yes
33644 else
33645 glibcxx_cv_func__isnanf_use=no
33646 fi
33647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33648 ac_ext=c
33649 ac_cpp='$CPP $CPPFLAGS'
33650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33653
33654
33655 fi
33656
33657 fi
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33659 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33660
33661 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33662 for ac_func in _isnanf
33663 do :
33664 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33665 if test "x$ac_cv_func__isnanf" = x""yes; then :
33666 cat >>confdefs.h <<_ACEOF
33667 #define HAVE__ISNANF 1
33668 _ACEOF
33669
33670 fi
33671 done
33672
33673 fi
33674 fi
33675
33676
33677
33678
33679
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33681 $as_echo_n "checking for isinff declaration... " >&6; }
33682 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33683 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33684 $as_echo_n "(cached) " >&6
33685 else
33686
33687
33688 ac_ext=cpp
33689 ac_cpp='$CXXCPP $CPPFLAGS'
33690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33693
33694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33695 /* end confdefs.h. */
33696 #include <math.h>
33697 #ifdef HAVE_IEEEFP_H
33698 #include <ieeefp.h>
33699 #endif
33700
33701 int
33702 main ()
33703 {
33704 isinff(0);
33705 ;
33706 return 0;
33707 }
33708 _ACEOF
33709 if ac_fn_cxx_try_compile "$LINENO"; then :
33710 glibcxx_cv_func_isinff_use=yes
33711 else
33712 glibcxx_cv_func_isinff_use=no
33713 fi
33714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33715 ac_ext=c
33716 ac_cpp='$CPP $CPPFLAGS'
33717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33720
33721
33722 fi
33723
33724 fi
33725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33726 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33727
33728 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33729 for ac_func in isinff
33730 do :
33731 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33732 if test "x$ac_cv_func_isinff" = x""yes; then :
33733 cat >>confdefs.h <<_ACEOF
33734 #define HAVE_ISINFF 1
33735 _ACEOF
33736
33737 fi
33738 done
33739
33740 else
33741
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33743 $as_echo_n "checking for _isinff declaration... " >&6; }
33744 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33745 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33746 $as_echo_n "(cached) " >&6
33747 else
33748
33749
33750 ac_ext=cpp
33751 ac_cpp='$CXXCPP $CPPFLAGS'
33752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33755
33756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33757 /* end confdefs.h. */
33758 #include <math.h>
33759 #ifdef HAVE_IEEEFP_H
33760 #include <ieeefp.h>
33761 #endif
33762
33763 int
33764 main ()
33765 {
33766 _isinff(0);
33767 ;
33768 return 0;
33769 }
33770 _ACEOF
33771 if ac_fn_cxx_try_compile "$LINENO"; then :
33772 glibcxx_cv_func__isinff_use=yes
33773 else
33774 glibcxx_cv_func__isinff_use=no
33775 fi
33776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33777 ac_ext=c
33778 ac_cpp='$CPP $CPPFLAGS'
33779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33782
33783
33784 fi
33785
33786 fi
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33788 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33789
33790 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33791 for ac_func in _isinff
33792 do :
33793 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33794 if test "x$ac_cv_func__isinff" = x""yes; then :
33795 cat >>confdefs.h <<_ACEOF
33796 #define HAVE__ISINFF 1
33797 _ACEOF
33798
33799 fi
33800 done
33801
33802 fi
33803 fi
33804
33805
33806
33807
33808
33809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33810 $as_echo_n "checking for atan2f declaration... " >&6; }
33811 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33812 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33813 $as_echo_n "(cached) " >&6
33814 else
33815
33816
33817 ac_ext=cpp
33818 ac_cpp='$CXXCPP $CPPFLAGS'
33819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33822
33823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33824 /* end confdefs.h. */
33825 #include <math.h>
33826 int
33827 main ()
33828 {
33829 atan2f(0, 0);
33830 ;
33831 return 0;
33832 }
33833 _ACEOF
33834 if ac_fn_cxx_try_compile "$LINENO"; then :
33835 glibcxx_cv_func_atan2f_use=yes
33836 else
33837 glibcxx_cv_func_atan2f_use=no
33838 fi
33839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33840 ac_ext=c
33841 ac_cpp='$CPP $CPPFLAGS'
33842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33845
33846
33847 fi
33848
33849 fi
33850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
33851 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
33852
33853 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
33854 for ac_func in atan2f
33855 do :
33856 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
33857 if test "x$ac_cv_func_atan2f" = x""yes; then :
33858 cat >>confdefs.h <<_ACEOF
33859 #define HAVE_ATAN2F 1
33860 _ACEOF
33861
33862 fi
33863 done
33864
33865 else
33866
33867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
33868 $as_echo_n "checking for _atan2f declaration... " >&6; }
33869 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
33870 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33873
33874
33875 ac_ext=cpp
33876 ac_cpp='$CXXCPP $CPPFLAGS'
33877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33880
33881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33882 /* end confdefs.h. */
33883 #include <math.h>
33884 int
33885 main ()
33886 {
33887 _atan2f(0, 0);
33888 ;
33889 return 0;
33890 }
33891 _ACEOF
33892 if ac_fn_cxx_try_compile "$LINENO"; then :
33893 glibcxx_cv_func__atan2f_use=yes
33894 else
33895 glibcxx_cv_func__atan2f_use=no
33896 fi
33897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33898 ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33903
33904
33905 fi
33906
33907 fi
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
33909 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
33910
33911 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
33912 for ac_func in _atan2f
33913 do :
33914 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
33915 if test "x$ac_cv_func__atan2f" = x""yes; then :
33916 cat >>confdefs.h <<_ACEOF
33917 #define HAVE__ATAN2F 1
33918 _ACEOF
33919
33920 fi
33921 done
33922
33923 fi
33924 fi
33925
33926
33927
33928
33929
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
33931 $as_echo_n "checking for fabsf declaration... " >&6; }
33932 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
33933 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
33934 $as_echo_n "(cached) " >&6
33935 else
33936
33937
33938 ac_ext=cpp
33939 ac_cpp='$CXXCPP $CPPFLAGS'
33940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33943
33944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33945 /* end confdefs.h. */
33946 #include <math.h>
33947 #ifdef HAVE_IEEEFP_H
33948 #include <ieeefp.h>
33949 #endif
33950
33951 int
33952 main ()
33953 {
33954 fabsf(0);
33955 ;
33956 return 0;
33957 }
33958 _ACEOF
33959 if ac_fn_cxx_try_compile "$LINENO"; then :
33960 glibcxx_cv_func_fabsf_use=yes
33961 else
33962 glibcxx_cv_func_fabsf_use=no
33963 fi
33964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33965 ac_ext=c
33966 ac_cpp='$CPP $CPPFLAGS'
33967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33970
33971
33972 fi
33973
33974 fi
33975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
33976 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
33977
33978 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
33979 for ac_func in fabsf
33980 do :
33981 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
33982 if test "x$ac_cv_func_fabsf" = x""yes; then :
33983 cat >>confdefs.h <<_ACEOF
33984 #define HAVE_FABSF 1
33985 _ACEOF
33986
33987 fi
33988 done
33989
33990 else
33991
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
33993 $as_echo_n "checking for _fabsf declaration... " >&6; }
33994 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
33995 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
33996 $as_echo_n "(cached) " >&6
33997 else
33998
33999
34000 ac_ext=cpp
34001 ac_cpp='$CXXCPP $CPPFLAGS'
34002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34005
34006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34007 /* end confdefs.h. */
34008 #include <math.h>
34009 #ifdef HAVE_IEEEFP_H
34010 #include <ieeefp.h>
34011 #endif
34012
34013 int
34014 main ()
34015 {
34016 _fabsf(0);
34017 ;
34018 return 0;
34019 }
34020 _ACEOF
34021 if ac_fn_cxx_try_compile "$LINENO"; then :
34022 glibcxx_cv_func__fabsf_use=yes
34023 else
34024 glibcxx_cv_func__fabsf_use=no
34025 fi
34026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34027 ac_ext=c
34028 ac_cpp='$CPP $CPPFLAGS'
34029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34032
34033
34034 fi
34035
34036 fi
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34038 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34039
34040 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34041 for ac_func in _fabsf
34042 do :
34043 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34044 if test "x$ac_cv_func__fabsf" = x""yes; then :
34045 cat >>confdefs.h <<_ACEOF
34046 #define HAVE__FABSF 1
34047 _ACEOF
34048
34049 fi
34050 done
34051
34052 fi
34053 fi
34054
34055
34056
34057
34058
34059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34060 $as_echo_n "checking for fmodf declaration... " >&6; }
34061 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34062 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34063 $as_echo_n "(cached) " >&6
34064 else
34065
34066
34067 ac_ext=cpp
34068 ac_cpp='$CXXCPP $CPPFLAGS'
34069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34072
34073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34074 /* end confdefs.h. */
34075 #include <math.h>
34076 int
34077 main ()
34078 {
34079 fmodf(0, 0);
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 if ac_fn_cxx_try_compile "$LINENO"; then :
34085 glibcxx_cv_func_fmodf_use=yes
34086 else
34087 glibcxx_cv_func_fmodf_use=no
34088 fi
34089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34090 ac_ext=c
34091 ac_cpp='$CPP $CPPFLAGS'
34092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34095
34096
34097 fi
34098
34099 fi
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34101 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34102
34103 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34104 for ac_func in fmodf
34105 do :
34106 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34107 if test "x$ac_cv_func_fmodf" = x""yes; then :
34108 cat >>confdefs.h <<_ACEOF
34109 #define HAVE_FMODF 1
34110 _ACEOF
34111
34112 fi
34113 done
34114
34115 else
34116
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34118 $as_echo_n "checking for _fmodf declaration... " >&6; }
34119 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34120 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34121 $as_echo_n "(cached) " >&6
34122 else
34123
34124
34125 ac_ext=cpp
34126 ac_cpp='$CXXCPP $CPPFLAGS'
34127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34130
34131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34132 /* end confdefs.h. */
34133 #include <math.h>
34134 int
34135 main ()
34136 {
34137 _fmodf(0, 0);
34138 ;
34139 return 0;
34140 }
34141 _ACEOF
34142 if ac_fn_cxx_try_compile "$LINENO"; then :
34143 glibcxx_cv_func__fmodf_use=yes
34144 else
34145 glibcxx_cv_func__fmodf_use=no
34146 fi
34147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34148 ac_ext=c
34149 ac_cpp='$CPP $CPPFLAGS'
34150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34153
34154
34155 fi
34156
34157 fi
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34159 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34160
34161 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34162 for ac_func in _fmodf
34163 do :
34164 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34165 if test "x$ac_cv_func__fmodf" = x""yes; then :
34166 cat >>confdefs.h <<_ACEOF
34167 #define HAVE__FMODF 1
34168 _ACEOF
34169
34170 fi
34171 done
34172
34173 fi
34174 fi
34175
34176
34177
34178
34179
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34181 $as_echo_n "checking for frexpf declaration... " >&6; }
34182 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34183 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34186
34187
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34193
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34197 int
34198 main ()
34199 {
34200 frexpf(0, 0);
34201 ;
34202 return 0;
34203 }
34204 _ACEOF
34205 if ac_fn_cxx_try_compile "$LINENO"; then :
34206 glibcxx_cv_func_frexpf_use=yes
34207 else
34208 glibcxx_cv_func_frexpf_use=no
34209 fi
34210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34211 ac_ext=c
34212 ac_cpp='$CPP $CPPFLAGS'
34213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34216
34217
34218 fi
34219
34220 fi
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34222 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34223
34224 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34225 for ac_func in frexpf
34226 do :
34227 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34228 if test "x$ac_cv_func_frexpf" = x""yes; then :
34229 cat >>confdefs.h <<_ACEOF
34230 #define HAVE_FREXPF 1
34231 _ACEOF
34232
34233 fi
34234 done
34235
34236 else
34237
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34239 $as_echo_n "checking for _frexpf declaration... " >&6; }
34240 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34241 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34242 $as_echo_n "(cached) " >&6
34243 else
34244
34245
34246 ac_ext=cpp
34247 ac_cpp='$CXXCPP $CPPFLAGS'
34248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34251
34252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34253 /* end confdefs.h. */
34254 #include <math.h>
34255 int
34256 main ()
34257 {
34258 _frexpf(0, 0);
34259 ;
34260 return 0;
34261 }
34262 _ACEOF
34263 if ac_fn_cxx_try_compile "$LINENO"; then :
34264 glibcxx_cv_func__frexpf_use=yes
34265 else
34266 glibcxx_cv_func__frexpf_use=no
34267 fi
34268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34269 ac_ext=c
34270 ac_cpp='$CPP $CPPFLAGS'
34271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34274
34275
34276 fi
34277
34278 fi
34279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34280 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34281
34282 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34283 for ac_func in _frexpf
34284 do :
34285 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34286 if test "x$ac_cv_func__frexpf" = x""yes; then :
34287 cat >>confdefs.h <<_ACEOF
34288 #define HAVE__FREXPF 1
34289 _ACEOF
34290
34291 fi
34292 done
34293
34294 fi
34295 fi
34296
34297
34298
34299
34300
34301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34302 $as_echo_n "checking for hypotf declaration... " >&6; }
34303 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34304 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34305 $as_echo_n "(cached) " >&6
34306 else
34307
34308
34309 ac_ext=cpp
34310 ac_cpp='$CXXCPP $CPPFLAGS'
34311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34314
34315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34316 /* end confdefs.h. */
34317 #include <math.h>
34318 int
34319 main ()
34320 {
34321 hypotf(0, 0);
34322 ;
34323 return 0;
34324 }
34325 _ACEOF
34326 if ac_fn_cxx_try_compile "$LINENO"; then :
34327 glibcxx_cv_func_hypotf_use=yes
34328 else
34329 glibcxx_cv_func_hypotf_use=no
34330 fi
34331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34332 ac_ext=c
34333 ac_cpp='$CPP $CPPFLAGS'
34334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34337
34338
34339 fi
34340
34341 fi
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34343 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34344
34345 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34346 for ac_func in hypotf
34347 do :
34348 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34349 if test "x$ac_cv_func_hypotf" = x""yes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define HAVE_HYPOTF 1
34352 _ACEOF
34353
34354 fi
34355 done
34356
34357 else
34358
34359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34360 $as_echo_n "checking for _hypotf declaration... " >&6; }
34361 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34362 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34363 $as_echo_n "(cached) " >&6
34364 else
34365
34366
34367 ac_ext=cpp
34368 ac_cpp='$CXXCPP $CPPFLAGS'
34369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34372
34373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34374 /* end confdefs.h. */
34375 #include <math.h>
34376 int
34377 main ()
34378 {
34379 _hypotf(0, 0);
34380 ;
34381 return 0;
34382 }
34383 _ACEOF
34384 if ac_fn_cxx_try_compile "$LINENO"; then :
34385 glibcxx_cv_func__hypotf_use=yes
34386 else
34387 glibcxx_cv_func__hypotf_use=no
34388 fi
34389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34390 ac_ext=c
34391 ac_cpp='$CPP $CPPFLAGS'
34392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34395
34396
34397 fi
34398
34399 fi
34400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34401 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34402
34403 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34404 for ac_func in _hypotf
34405 do :
34406 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34407 if test "x$ac_cv_func__hypotf" = x""yes; then :
34408 cat >>confdefs.h <<_ACEOF
34409 #define HAVE__HYPOTF 1
34410 _ACEOF
34411
34412 fi
34413 done
34414
34415 fi
34416 fi
34417
34418
34419
34420
34421
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34423 $as_echo_n "checking for ldexpf declaration... " >&6; }
34424 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34425 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34426 $as_echo_n "(cached) " >&6
34427 else
34428
34429
34430 ac_ext=cpp
34431 ac_cpp='$CXXCPP $CPPFLAGS'
34432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34435
34436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34437 /* end confdefs.h. */
34438 #include <math.h>
34439 int
34440 main ()
34441 {
34442 ldexpf(0, 0);
34443 ;
34444 return 0;
34445 }
34446 _ACEOF
34447 if ac_fn_cxx_try_compile "$LINENO"; then :
34448 glibcxx_cv_func_ldexpf_use=yes
34449 else
34450 glibcxx_cv_func_ldexpf_use=no
34451 fi
34452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 ac_ext=c
34454 ac_cpp='$CPP $CPPFLAGS'
34455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34458
34459
34460 fi
34461
34462 fi
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34464 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34465
34466 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34467 for ac_func in ldexpf
34468 do :
34469 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34470 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34471 cat >>confdefs.h <<_ACEOF
34472 #define HAVE_LDEXPF 1
34473 _ACEOF
34474
34475 fi
34476 done
34477
34478 else
34479
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34481 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34482 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34483 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34484 $as_echo_n "(cached) " >&6
34485 else
34486
34487
34488 ac_ext=cpp
34489 ac_cpp='$CXXCPP $CPPFLAGS'
34490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34493
34494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34495 /* end confdefs.h. */
34496 #include <math.h>
34497 int
34498 main ()
34499 {
34500 _ldexpf(0, 0);
34501 ;
34502 return 0;
34503 }
34504 _ACEOF
34505 if ac_fn_cxx_try_compile "$LINENO"; then :
34506 glibcxx_cv_func__ldexpf_use=yes
34507 else
34508 glibcxx_cv_func__ldexpf_use=no
34509 fi
34510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34511 ac_ext=c
34512 ac_cpp='$CPP $CPPFLAGS'
34513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34516
34517
34518 fi
34519
34520 fi
34521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34522 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34523
34524 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34525 for ac_func in _ldexpf
34526 do :
34527 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34528 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34529 cat >>confdefs.h <<_ACEOF
34530 #define HAVE__LDEXPF 1
34531 _ACEOF
34532
34533 fi
34534 done
34535
34536 fi
34537 fi
34538
34539
34540
34541
34542
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34544 $as_echo_n "checking for logf declaration... " >&6; }
34545 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34546 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34547 $as_echo_n "(cached) " >&6
34548 else
34549
34550
34551 ac_ext=cpp
34552 ac_cpp='$CXXCPP $CPPFLAGS'
34553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34556
34557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 /* end confdefs.h. */
34559 #include <math.h>
34560 #ifdef HAVE_IEEEFP_H
34561 #include <ieeefp.h>
34562 #endif
34563
34564 int
34565 main ()
34566 {
34567 logf(0);
34568 ;
34569 return 0;
34570 }
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func_logf_use=yes
34574 else
34575 glibcxx_cv_func_logf_use=no
34576 fi
34577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_ext=c
34579 ac_cpp='$CPP $CPPFLAGS'
34580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34583
34584
34585 fi
34586
34587 fi
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34589 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34590
34591 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34592 for ac_func in logf
34593 do :
34594 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34595 if test "x$ac_cv_func_logf" = x""yes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE_LOGF 1
34598 _ACEOF
34599
34600 fi
34601 done
34602
34603 else
34604
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34606 $as_echo_n "checking for _logf declaration... " >&6; }
34607 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34608 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34609 $as_echo_n "(cached) " >&6
34610 else
34611
34612
34613 ac_ext=cpp
34614 ac_cpp='$CXXCPP $CPPFLAGS'
34615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34618
34619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34620 /* end confdefs.h. */
34621 #include <math.h>
34622 #ifdef HAVE_IEEEFP_H
34623 #include <ieeefp.h>
34624 #endif
34625
34626 int
34627 main ()
34628 {
34629 _logf(0);
34630 ;
34631 return 0;
34632 }
34633 _ACEOF
34634 if ac_fn_cxx_try_compile "$LINENO"; then :
34635 glibcxx_cv_func__logf_use=yes
34636 else
34637 glibcxx_cv_func__logf_use=no
34638 fi
34639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34640 ac_ext=c
34641 ac_cpp='$CPP $CPPFLAGS'
34642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34645
34646
34647 fi
34648
34649 fi
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34651 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34652
34653 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34654 for ac_func in _logf
34655 do :
34656 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34657 if test "x$ac_cv_func__logf" = x""yes; then :
34658 cat >>confdefs.h <<_ACEOF
34659 #define HAVE__LOGF 1
34660 _ACEOF
34661
34662 fi
34663 done
34664
34665 fi
34666 fi
34667
34668
34669
34670
34671
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34673 $as_echo_n "checking for log10f declaration... " >&6; }
34674 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34675 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34678
34679
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34685
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34689 #ifdef HAVE_IEEEFP_H
34690 #include <ieeefp.h>
34691 #endif
34692
34693 int
34694 main ()
34695 {
34696 log10f(0);
34697 ;
34698 return 0;
34699 }
34700 _ACEOF
34701 if ac_fn_cxx_try_compile "$LINENO"; then :
34702 glibcxx_cv_func_log10f_use=yes
34703 else
34704 glibcxx_cv_func_log10f_use=no
34705 fi
34706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34707 ac_ext=c
34708 ac_cpp='$CPP $CPPFLAGS'
34709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34712
34713
34714 fi
34715
34716 fi
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34718 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34719
34720 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34721 for ac_func in log10f
34722 do :
34723 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34724 if test "x$ac_cv_func_log10f" = x""yes; then :
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE_LOG10F 1
34727 _ACEOF
34728
34729 fi
34730 done
34731
34732 else
34733
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34735 $as_echo_n "checking for _log10f declaration... " >&6; }
34736 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34737 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34738 $as_echo_n "(cached) " >&6
34739 else
34740
34741
34742 ac_ext=cpp
34743 ac_cpp='$CXXCPP $CPPFLAGS'
34744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34747
34748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34749 /* end confdefs.h. */
34750 #include <math.h>
34751 #ifdef HAVE_IEEEFP_H
34752 #include <ieeefp.h>
34753 #endif
34754
34755 int
34756 main ()
34757 {
34758 _log10f(0);
34759 ;
34760 return 0;
34761 }
34762 _ACEOF
34763 if ac_fn_cxx_try_compile "$LINENO"; then :
34764 glibcxx_cv_func__log10f_use=yes
34765 else
34766 glibcxx_cv_func__log10f_use=no
34767 fi
34768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34769 ac_ext=c
34770 ac_cpp='$CPP $CPPFLAGS'
34771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34774
34775
34776 fi
34777
34778 fi
34779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34780 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34781
34782 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34783 for ac_func in _log10f
34784 do :
34785 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34786 if test "x$ac_cv_func__log10f" = x""yes; then :
34787 cat >>confdefs.h <<_ACEOF
34788 #define HAVE__LOG10F 1
34789 _ACEOF
34790
34791 fi
34792 done
34793
34794 fi
34795 fi
34796
34797
34798
34799
34800
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34802 $as_echo_n "checking for modff declaration... " >&6; }
34803 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34804 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34805 $as_echo_n "(cached) " >&6
34806 else
34807
34808
34809 ac_ext=cpp
34810 ac_cpp='$CXXCPP $CPPFLAGS'
34811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34814
34815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34816 /* end confdefs.h. */
34817 #include <math.h>
34818 int
34819 main ()
34820 {
34821 modff(0, 0);
34822 ;
34823 return 0;
34824 }
34825 _ACEOF
34826 if ac_fn_cxx_try_compile "$LINENO"; then :
34827 glibcxx_cv_func_modff_use=yes
34828 else
34829 glibcxx_cv_func_modff_use=no
34830 fi
34831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34832 ac_ext=c
34833 ac_cpp='$CPP $CPPFLAGS'
34834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34837
34838
34839 fi
34840
34841 fi
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
34843 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
34844
34845 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34846 for ac_func in modff
34847 do :
34848 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
34849 if test "x$ac_cv_func_modff" = x""yes; then :
34850 cat >>confdefs.h <<_ACEOF
34851 #define HAVE_MODFF 1
34852 _ACEOF
34853
34854 fi
34855 done
34856
34857 else
34858
34859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
34860 $as_echo_n "checking for _modff declaration... " >&6; }
34861 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34862 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
34863 $as_echo_n "(cached) " >&6
34864 else
34865
34866
34867 ac_ext=cpp
34868 ac_cpp='$CXXCPP $CPPFLAGS'
34869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34872
34873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34874 /* end confdefs.h. */
34875 #include <math.h>
34876 int
34877 main ()
34878 {
34879 _modff(0, 0);
34880 ;
34881 return 0;
34882 }
34883 _ACEOF
34884 if ac_fn_cxx_try_compile "$LINENO"; then :
34885 glibcxx_cv_func__modff_use=yes
34886 else
34887 glibcxx_cv_func__modff_use=no
34888 fi
34889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34895
34896
34897 fi
34898
34899 fi
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
34901 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
34902
34903 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34904 for ac_func in _modff
34905 do :
34906 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
34907 if test "x$ac_cv_func__modff" = x""yes; then :
34908 cat >>confdefs.h <<_ACEOF
34909 #define HAVE__MODFF 1
34910 _ACEOF
34911
34912 fi
34913 done
34914
34915 fi
34916 fi
34917
34918
34919
34920
34921
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
34923 $as_echo_n "checking for modf declaration... " >&6; }
34924 if test x${glibcxx_cv_func_modf_use+set} != xset; then
34925 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
34926 $as_echo_n "(cached) " >&6
34927 else
34928
34929
34930 ac_ext=cpp
34931 ac_cpp='$CXXCPP $CPPFLAGS'
34932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34935
34936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34937 /* end confdefs.h. */
34938 #include <math.h>
34939 int
34940 main ()
34941 {
34942 modf(0, 0);
34943 ;
34944 return 0;
34945 }
34946 _ACEOF
34947 if ac_fn_cxx_try_compile "$LINENO"; then :
34948 glibcxx_cv_func_modf_use=yes
34949 else
34950 glibcxx_cv_func_modf_use=no
34951 fi
34952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_ext=c
34954 ac_cpp='$CPP $CPPFLAGS'
34955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34958
34959
34960 fi
34961
34962 fi
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
34964 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
34965
34966 if test x$glibcxx_cv_func_modf_use = x"yes"; then
34967 for ac_func in modf
34968 do :
34969 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
34970 if test "x$ac_cv_func_modf" = x""yes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_MODF 1
34973 _ACEOF
34974
34975 fi
34976 done
34977
34978 else
34979
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
34981 $as_echo_n "checking for _modf declaration... " >&6; }
34982 if test x${glibcxx_cv_func__modf_use+set} != xset; then
34983 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
34984 $as_echo_n "(cached) " >&6
34985 else
34986
34987
34988 ac_ext=cpp
34989 ac_cpp='$CXXCPP $CPPFLAGS'
34990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34993
34994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34995 /* end confdefs.h. */
34996 #include <math.h>
34997 int
34998 main ()
34999 {
35000 _modf(0, 0);
35001 ;
35002 return 0;
35003 }
35004 _ACEOF
35005 if ac_fn_cxx_try_compile "$LINENO"; then :
35006 glibcxx_cv_func__modf_use=yes
35007 else
35008 glibcxx_cv_func__modf_use=no
35009 fi
35010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35011 ac_ext=c
35012 ac_cpp='$CPP $CPPFLAGS'
35013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35016
35017
35018 fi
35019
35020 fi
35021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35022 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35023
35024 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35025 for ac_func in _modf
35026 do :
35027 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35028 if test "x$ac_cv_func__modf" = x""yes; then :
35029 cat >>confdefs.h <<_ACEOF
35030 #define HAVE__MODF 1
35031 _ACEOF
35032
35033 fi
35034 done
35035
35036 fi
35037 fi
35038
35039
35040
35041
35042
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35044 $as_echo_n "checking for powf declaration... " >&6; }
35045 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35046 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35047 $as_echo_n "(cached) " >&6
35048 else
35049
35050
35051 ac_ext=cpp
35052 ac_cpp='$CXXCPP $CPPFLAGS'
35053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35056
35057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35058 /* end confdefs.h. */
35059 #include <math.h>
35060 int
35061 main ()
35062 {
35063 powf(0, 0);
35064 ;
35065 return 0;
35066 }
35067 _ACEOF
35068 if ac_fn_cxx_try_compile "$LINENO"; then :
35069 glibcxx_cv_func_powf_use=yes
35070 else
35071 glibcxx_cv_func_powf_use=no
35072 fi
35073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35074 ac_ext=c
35075 ac_cpp='$CPP $CPPFLAGS'
35076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35079
35080
35081 fi
35082
35083 fi
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35085 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35086
35087 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35088 for ac_func in powf
35089 do :
35090 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35091 if test "x$ac_cv_func_powf" = x""yes; then :
35092 cat >>confdefs.h <<_ACEOF
35093 #define HAVE_POWF 1
35094 _ACEOF
35095
35096 fi
35097 done
35098
35099 else
35100
35101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35102 $as_echo_n "checking for _powf declaration... " >&6; }
35103 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35104 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35105 $as_echo_n "(cached) " >&6
35106 else
35107
35108
35109 ac_ext=cpp
35110 ac_cpp='$CXXCPP $CPPFLAGS'
35111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35114
35115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35116 /* end confdefs.h. */
35117 #include <math.h>
35118 int
35119 main ()
35120 {
35121 _powf(0, 0);
35122 ;
35123 return 0;
35124 }
35125 _ACEOF
35126 if ac_fn_cxx_try_compile "$LINENO"; then :
35127 glibcxx_cv_func__powf_use=yes
35128 else
35129 glibcxx_cv_func__powf_use=no
35130 fi
35131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35132 ac_ext=c
35133 ac_cpp='$CPP $CPPFLAGS'
35134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35137
35138
35139 fi
35140
35141 fi
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35143 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35144
35145 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35146 for ac_func in _powf
35147 do :
35148 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35149 if test "x$ac_cv_func__powf" = x""yes; then :
35150 cat >>confdefs.h <<_ACEOF
35151 #define HAVE__POWF 1
35152 _ACEOF
35153
35154 fi
35155 done
35156
35157 fi
35158 fi
35159
35160
35161
35162
35163
35164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35165 $as_echo_n "checking for sqrtf declaration... " >&6; }
35166 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35167 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35168 $as_echo_n "(cached) " >&6
35169 else
35170
35171
35172 ac_ext=cpp
35173 ac_cpp='$CXXCPP $CPPFLAGS'
35174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35177
35178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35179 /* end confdefs.h. */
35180 #include <math.h>
35181 #ifdef HAVE_IEEEFP_H
35182 #include <ieeefp.h>
35183 #endif
35184
35185 int
35186 main ()
35187 {
35188 sqrtf(0);
35189 ;
35190 return 0;
35191 }
35192 _ACEOF
35193 if ac_fn_cxx_try_compile "$LINENO"; then :
35194 glibcxx_cv_func_sqrtf_use=yes
35195 else
35196 glibcxx_cv_func_sqrtf_use=no
35197 fi
35198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35199 ac_ext=c
35200 ac_cpp='$CPP $CPPFLAGS'
35201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35204
35205
35206 fi
35207
35208 fi
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35210 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35211
35212 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35213 for ac_func in sqrtf
35214 do :
35215 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35216 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35217 cat >>confdefs.h <<_ACEOF
35218 #define HAVE_SQRTF 1
35219 _ACEOF
35220
35221 fi
35222 done
35223
35224 else
35225
35226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35227 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35228 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35229 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35230 $as_echo_n "(cached) " >&6
35231 else
35232
35233
35234 ac_ext=cpp
35235 ac_cpp='$CXXCPP $CPPFLAGS'
35236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35239
35240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35241 /* end confdefs.h. */
35242 #include <math.h>
35243 #ifdef HAVE_IEEEFP_H
35244 #include <ieeefp.h>
35245 #endif
35246
35247 int
35248 main ()
35249 {
35250 _sqrtf(0);
35251 ;
35252 return 0;
35253 }
35254 _ACEOF
35255 if ac_fn_cxx_try_compile "$LINENO"; then :
35256 glibcxx_cv_func__sqrtf_use=yes
35257 else
35258 glibcxx_cv_func__sqrtf_use=no
35259 fi
35260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35266
35267
35268 fi
35269
35270 fi
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35272 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35273
35274 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35275 for ac_func in _sqrtf
35276 do :
35277 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35278 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE__SQRTF 1
35281 _ACEOF
35282
35283 fi
35284 done
35285
35286 fi
35287 fi
35288
35289
35290
35291
35292
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35294 $as_echo_n "checking for sincosf declaration... " >&6; }
35295 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35296 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35299
35300
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35306
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35310 int
35311 main ()
35312 {
35313 sincosf(0, 0, 0);
35314 ;
35315 return 0;
35316 }
35317 _ACEOF
35318 if ac_fn_cxx_try_compile "$LINENO"; then :
35319 glibcxx_cv_func_sincosf_use=yes
35320 else
35321 glibcxx_cv_func_sincosf_use=no
35322 fi
35323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35324 ac_ext=c
35325 ac_cpp='$CPP $CPPFLAGS'
35326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35329
35330
35331 fi
35332
35333 fi
35334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35335 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35336
35337 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35338 for ac_func in sincosf
35339 do :
35340 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35341 if test "x$ac_cv_func_sincosf" = x""yes; then :
35342 cat >>confdefs.h <<_ACEOF
35343 #define HAVE_SINCOSF 1
35344 _ACEOF
35345
35346 fi
35347 done
35348
35349 else
35350
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35352 $as_echo_n "checking for _sincosf declaration... " >&6; }
35353 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35354 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35355 $as_echo_n "(cached) " >&6
35356 else
35357
35358
35359 ac_ext=cpp
35360 ac_cpp='$CXXCPP $CPPFLAGS'
35361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35364
35365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35366 /* end confdefs.h. */
35367 #include <math.h>
35368 int
35369 main ()
35370 {
35371 _sincosf(0, 0, 0);
35372 ;
35373 return 0;
35374 }
35375 _ACEOF
35376 if ac_fn_cxx_try_compile "$LINENO"; then :
35377 glibcxx_cv_func__sincosf_use=yes
35378 else
35379 glibcxx_cv_func__sincosf_use=no
35380 fi
35381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35382 ac_ext=c
35383 ac_cpp='$CPP $CPPFLAGS'
35384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35387
35388
35389 fi
35390
35391 fi
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35393 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35394
35395 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35396 for ac_func in _sincosf
35397 do :
35398 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35399 if test "x$ac_cv_func__sincosf" = x""yes; then :
35400 cat >>confdefs.h <<_ACEOF
35401 #define HAVE__SINCOSF 1
35402 _ACEOF
35403
35404 fi
35405 done
35406
35407 fi
35408 fi
35409
35410
35411
35412
35413
35414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35415 $as_echo_n "checking for finitef declaration... " >&6; }
35416 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35417 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35418 $as_echo_n "(cached) " >&6
35419 else
35420
35421
35422 ac_ext=cpp
35423 ac_cpp='$CXXCPP $CPPFLAGS'
35424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35427
35428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35429 /* end confdefs.h. */
35430 #include <math.h>
35431 #ifdef HAVE_IEEEFP_H
35432 #include <ieeefp.h>
35433 #endif
35434
35435 int
35436 main ()
35437 {
35438 finitef(0);
35439 ;
35440 return 0;
35441 }
35442 _ACEOF
35443 if ac_fn_cxx_try_compile "$LINENO"; then :
35444 glibcxx_cv_func_finitef_use=yes
35445 else
35446 glibcxx_cv_func_finitef_use=no
35447 fi
35448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35449 ac_ext=c
35450 ac_cpp='$CPP $CPPFLAGS'
35451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35454
35455
35456 fi
35457
35458 fi
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35460 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35461
35462 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35463 for ac_func in finitef
35464 do :
35465 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35466 if test "x$ac_cv_func_finitef" = x""yes; then :
35467 cat >>confdefs.h <<_ACEOF
35468 #define HAVE_FINITEF 1
35469 _ACEOF
35470
35471 fi
35472 done
35473
35474 else
35475
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35477 $as_echo_n "checking for _finitef declaration... " >&6; }
35478 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35479 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35480 $as_echo_n "(cached) " >&6
35481 else
35482
35483
35484 ac_ext=cpp
35485 ac_cpp='$CXXCPP $CPPFLAGS'
35486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35489
35490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35491 /* end confdefs.h. */
35492 #include <math.h>
35493 #ifdef HAVE_IEEEFP_H
35494 #include <ieeefp.h>
35495 #endif
35496
35497 int
35498 main ()
35499 {
35500 _finitef(0);
35501 ;
35502 return 0;
35503 }
35504 _ACEOF
35505 if ac_fn_cxx_try_compile "$LINENO"; then :
35506 glibcxx_cv_func__finitef_use=yes
35507 else
35508 glibcxx_cv_func__finitef_use=no
35509 fi
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 ac_ext=c
35512 ac_cpp='$CPP $CPPFLAGS'
35513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35516
35517
35518 fi
35519
35520 fi
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35522 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35523
35524 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35525 for ac_func in _finitef
35526 do :
35527 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35528 if test "x$ac_cv_func__finitef" = x""yes; then :
35529 cat >>confdefs.h <<_ACEOF
35530 #define HAVE__FINITEF 1
35531 _ACEOF
35532
35533 fi
35534 done
35535
35536 fi
35537 fi
35538
35539
35540
35541
35542
35543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35544 $as_echo_n "checking for long double trig functions... " >&6; }
35545 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35546 $as_echo_n "(cached) " >&6
35547 else
35548
35549
35550 ac_ext=cpp
35551 ac_cpp='$CXXCPP $CPPFLAGS'
35552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35555
35556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35557 /* end confdefs.h. */
35558 #include <math.h>
35559 int
35560 main ()
35561 {
35562 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35563 ;
35564 return 0;
35565 }
35566 _ACEOF
35567 if ac_fn_cxx_try_compile "$LINENO"; then :
35568 glibcxx_cv_func_long_double_trig_use=yes
35569 else
35570 glibcxx_cv_func_long_double_trig_use=no
35571 fi
35572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35573 ac_ext=c
35574 ac_cpp='$CPP $CPPFLAGS'
35575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35578
35579 fi
35580
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35582 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35583 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35584 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35585 do :
35586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35588 eval as_val=\$$as_ac_var
35589 if test "x$as_val" = x""yes; then :
35590 cat >>confdefs.h <<_ACEOF
35591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35592 _ACEOF
35593
35594 fi
35595 done
35596
35597 else
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35599 $as_echo_n "checking for _long double trig functions... " >&6; }
35600 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35601 $as_echo_n "(cached) " >&6
35602 else
35603
35604
35605 ac_ext=cpp
35606 ac_cpp='$CXXCPP $CPPFLAGS'
35607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35610
35611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35612 /* end confdefs.h. */
35613 #include <math.h>
35614 int
35615 main ()
35616 {
35617 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35618 ;
35619 return 0;
35620 }
35621 _ACEOF
35622 if ac_fn_cxx_try_compile "$LINENO"; then :
35623 glibcxx_cv_func__long_double_trig_use=yes
35624 else
35625 glibcxx_cv_func__long_double_trig_use=no
35626 fi
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35628 ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633
35634 fi
35635
35636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35637 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35638 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35639 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35640 do :
35641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35643 eval as_val=\$$as_ac_var
35644 if test "x$as_val" = x""yes; then :
35645 cat >>confdefs.h <<_ACEOF
35646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35647 _ACEOF
35648
35649 fi
35650 done
35651
35652 fi
35653 fi
35654
35655
35656
35657
35658
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35660 $as_echo_n "checking for long double round functions... " >&6; }
35661 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35662 $as_echo_n "(cached) " >&6
35663 else
35664
35665
35666 ac_ext=cpp
35667 ac_cpp='$CXXCPP $CPPFLAGS'
35668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35671
35672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35673 /* end confdefs.h. */
35674 #include <math.h>
35675 int
35676 main ()
35677 {
35678 ceill (0); floorl (0);
35679 ;
35680 return 0;
35681 }
35682 _ACEOF
35683 if ac_fn_cxx_try_compile "$LINENO"; then :
35684 glibcxx_cv_func_long_double_round_use=yes
35685 else
35686 glibcxx_cv_func_long_double_round_use=no
35687 fi
35688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35689 ac_ext=c
35690 ac_cpp='$CPP $CPPFLAGS'
35691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35694
35695 fi
35696
35697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35698 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35699 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35700 for ac_func in ceill floorl
35701 do :
35702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35704 eval as_val=\$$as_ac_var
35705 if test "x$as_val" = x""yes; then :
35706 cat >>confdefs.h <<_ACEOF
35707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35708 _ACEOF
35709
35710 fi
35711 done
35712
35713 else
35714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35715 $as_echo_n "checking for _long double round functions... " >&6; }
35716 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35717 $as_echo_n "(cached) " >&6
35718 else
35719
35720
35721 ac_ext=cpp
35722 ac_cpp='$CXXCPP $CPPFLAGS'
35723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35726
35727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35728 /* end confdefs.h. */
35729 #include <math.h>
35730 int
35731 main ()
35732 {
35733 _ceill (0); _floorl (0);
35734 ;
35735 return 0;
35736 }
35737 _ACEOF
35738 if ac_fn_cxx_try_compile "$LINENO"; then :
35739 glibcxx_cv_func__long_double_round_use=yes
35740 else
35741 glibcxx_cv_func__long_double_round_use=no
35742 fi
35743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35744 ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35749
35750 fi
35751
35752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35753 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35754 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35755 for ac_func in _ceill _floorl
35756 do :
35757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35758 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35759 eval as_val=\$$as_ac_var
35760 if test "x$as_val" = x""yes; then :
35761 cat >>confdefs.h <<_ACEOF
35762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35763 _ACEOF
35764
35765 fi
35766 done
35767
35768 fi
35769 fi
35770
35771
35772
35773
35774
35775
35776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35777 $as_echo_n "checking for isnanl declaration... " >&6; }
35778 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35779 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35780 $as_echo_n "(cached) " >&6
35781 else
35782
35783
35784 ac_ext=cpp
35785 ac_cpp='$CXXCPP $CPPFLAGS'
35786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789
35790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35791 /* end confdefs.h. */
35792 #include <math.h>
35793 #ifdef HAVE_IEEEFP_H
35794 #include <ieeefp.h>
35795 #endif
35796
35797 int
35798 main ()
35799 {
35800 isnanl(0);
35801 ;
35802 return 0;
35803 }
35804 _ACEOF
35805 if ac_fn_cxx_try_compile "$LINENO"; then :
35806 glibcxx_cv_func_isnanl_use=yes
35807 else
35808 glibcxx_cv_func_isnanl_use=no
35809 fi
35810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 ac_ext=c
35812 ac_cpp='$CPP $CPPFLAGS'
35813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35816
35817
35818 fi
35819
35820 fi
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35822 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35823
35824 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35825 for ac_func in isnanl
35826 do :
35827 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35828 if test "x$ac_cv_func_isnanl" = x""yes; then :
35829 cat >>confdefs.h <<_ACEOF
35830 #define HAVE_ISNANL 1
35831 _ACEOF
35832
35833 fi
35834 done
35835
35836 else
35837
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35839 $as_echo_n "checking for _isnanl declaration... " >&6; }
35840 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35841 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35842 $as_echo_n "(cached) " >&6
35843 else
35844
35845
35846 ac_ext=cpp
35847 ac_cpp='$CXXCPP $CPPFLAGS'
35848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35851
35852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h. */
35854 #include <math.h>
35855 #ifdef HAVE_IEEEFP_H
35856 #include <ieeefp.h>
35857 #endif
35858
35859 int
35860 main ()
35861 {
35862 _isnanl(0);
35863 ;
35864 return 0;
35865 }
35866 _ACEOF
35867 if ac_fn_cxx_try_compile "$LINENO"; then :
35868 glibcxx_cv_func__isnanl_use=yes
35869 else
35870 glibcxx_cv_func__isnanl_use=no
35871 fi
35872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35873 ac_ext=c
35874 ac_cpp='$CPP $CPPFLAGS'
35875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35878
35879
35880 fi
35881
35882 fi
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
35884 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
35885
35886 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35887 for ac_func in _isnanl
35888 do :
35889 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
35890 if test "x$ac_cv_func__isnanl" = x""yes; then :
35891 cat >>confdefs.h <<_ACEOF
35892 #define HAVE__ISNANL 1
35893 _ACEOF
35894
35895 fi
35896 done
35897
35898 fi
35899 fi
35900
35901
35902
35903
35904
35905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
35906 $as_echo_n "checking for isinfl declaration... " >&6; }
35907 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35908 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
35909 $as_echo_n "(cached) " >&6
35910 else
35911
35912
35913 ac_ext=cpp
35914 ac_cpp='$CXXCPP $CPPFLAGS'
35915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35918
35919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35920 /* end confdefs.h. */
35921 #include <math.h>
35922 #ifdef HAVE_IEEEFP_H
35923 #include <ieeefp.h>
35924 #endif
35925
35926 int
35927 main ()
35928 {
35929 isinfl(0);
35930 ;
35931 return 0;
35932 }
35933 _ACEOF
35934 if ac_fn_cxx_try_compile "$LINENO"; then :
35935 glibcxx_cv_func_isinfl_use=yes
35936 else
35937 glibcxx_cv_func_isinfl_use=no
35938 fi
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35940 ac_ext=c
35941 ac_cpp='$CPP $CPPFLAGS'
35942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35945
35946
35947 fi
35948
35949 fi
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
35951 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
35952
35953 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35954 for ac_func in isinfl
35955 do :
35956 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
35957 if test "x$ac_cv_func_isinfl" = x""yes; then :
35958 cat >>confdefs.h <<_ACEOF
35959 #define HAVE_ISINFL 1
35960 _ACEOF
35961
35962 fi
35963 done
35964
35965 else
35966
35967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
35968 $as_echo_n "checking for _isinfl declaration... " >&6; }
35969 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35970 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
35971 $as_echo_n "(cached) " >&6
35972 else
35973
35974
35975 ac_ext=cpp
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35980
35981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35982 /* end confdefs.h. */
35983 #include <math.h>
35984 #ifdef HAVE_IEEEFP_H
35985 #include <ieeefp.h>
35986 #endif
35987
35988 int
35989 main ()
35990 {
35991 _isinfl(0);
35992 ;
35993 return 0;
35994 }
35995 _ACEOF
35996 if ac_fn_cxx_try_compile "$LINENO"; then :
35997 glibcxx_cv_func__isinfl_use=yes
35998 else
35999 glibcxx_cv_func__isinfl_use=no
36000 fi
36001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36002 ac_ext=c
36003 ac_cpp='$CPP $CPPFLAGS'
36004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36007
36008
36009 fi
36010
36011 fi
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36013 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36014
36015 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36016 for ac_func in _isinfl
36017 do :
36018 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36019 if test "x$ac_cv_func__isinfl" = x""yes; then :
36020 cat >>confdefs.h <<_ACEOF
36021 #define HAVE__ISINFL 1
36022 _ACEOF
36023
36024 fi
36025 done
36026
36027 fi
36028 fi
36029
36030
36031
36032
36033
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36035 $as_echo_n "checking for atan2l declaration... " >&6; }
36036 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36037 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36038 $as_echo_n "(cached) " >&6
36039 else
36040
36041
36042 ac_ext=cpp
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36047
36048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36049 /* end confdefs.h. */
36050 #include <math.h>
36051 int
36052 main ()
36053 {
36054 atan2l(0, 0);
36055 ;
36056 return 0;
36057 }
36058 _ACEOF
36059 if ac_fn_cxx_try_compile "$LINENO"; then :
36060 glibcxx_cv_func_atan2l_use=yes
36061 else
36062 glibcxx_cv_func_atan2l_use=no
36063 fi
36064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36065 ac_ext=c
36066 ac_cpp='$CPP $CPPFLAGS'
36067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36070
36071
36072 fi
36073
36074 fi
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36076 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36077
36078 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36079 for ac_func in atan2l
36080 do :
36081 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36082 if test "x$ac_cv_func_atan2l" = x""yes; then :
36083 cat >>confdefs.h <<_ACEOF
36084 #define HAVE_ATAN2L 1
36085 _ACEOF
36086
36087 fi
36088 done
36089
36090 else
36091
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36093 $as_echo_n "checking for _atan2l declaration... " >&6; }
36094 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36095 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36096 $as_echo_n "(cached) " >&6
36097 else
36098
36099
36100 ac_ext=cpp
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36105
36106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36107 /* end confdefs.h. */
36108 #include <math.h>
36109 int
36110 main ()
36111 {
36112 _atan2l(0, 0);
36113 ;
36114 return 0;
36115 }
36116 _ACEOF
36117 if ac_fn_cxx_try_compile "$LINENO"; then :
36118 glibcxx_cv_func__atan2l_use=yes
36119 else
36120 glibcxx_cv_func__atan2l_use=no
36121 fi
36122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36123 ac_ext=c
36124 ac_cpp='$CPP $CPPFLAGS'
36125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36128
36129
36130 fi
36131
36132 fi
36133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36134 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36135
36136 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36137 for ac_func in _atan2l
36138 do :
36139 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36140 if test "x$ac_cv_func__atan2l" = x""yes; then :
36141 cat >>confdefs.h <<_ACEOF
36142 #define HAVE__ATAN2L 1
36143 _ACEOF
36144
36145 fi
36146 done
36147
36148 fi
36149 fi
36150
36151
36152
36153
36154
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36156 $as_echo_n "checking for expl declaration... " >&6; }
36157 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36158 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36159 $as_echo_n "(cached) " >&6
36160 else
36161
36162
36163 ac_ext=cpp
36164 ac_cpp='$CXXCPP $CPPFLAGS'
36165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36168
36169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36170 /* end confdefs.h. */
36171 #include <math.h>
36172 #ifdef HAVE_IEEEFP_H
36173 #include <ieeefp.h>
36174 #endif
36175
36176 int
36177 main ()
36178 {
36179 expl(0);
36180 ;
36181 return 0;
36182 }
36183 _ACEOF
36184 if ac_fn_cxx_try_compile "$LINENO"; then :
36185 glibcxx_cv_func_expl_use=yes
36186 else
36187 glibcxx_cv_func_expl_use=no
36188 fi
36189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36190 ac_ext=c
36191 ac_cpp='$CPP $CPPFLAGS'
36192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36195
36196
36197 fi
36198
36199 fi
36200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36201 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36202
36203 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36204 for ac_func in expl
36205 do :
36206 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36207 if test "x$ac_cv_func_expl" = x""yes; then :
36208 cat >>confdefs.h <<_ACEOF
36209 #define HAVE_EXPL 1
36210 _ACEOF
36211
36212 fi
36213 done
36214
36215 else
36216
36217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36218 $as_echo_n "checking for _expl declaration... " >&6; }
36219 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36220 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36221 $as_echo_n "(cached) " >&6
36222 else
36223
36224
36225 ac_ext=cpp
36226 ac_cpp='$CXXCPP $CPPFLAGS'
36227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36230
36231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36232 /* end confdefs.h. */
36233 #include <math.h>
36234 #ifdef HAVE_IEEEFP_H
36235 #include <ieeefp.h>
36236 #endif
36237
36238 int
36239 main ()
36240 {
36241 _expl(0);
36242 ;
36243 return 0;
36244 }
36245 _ACEOF
36246 if ac_fn_cxx_try_compile "$LINENO"; then :
36247 glibcxx_cv_func__expl_use=yes
36248 else
36249 glibcxx_cv_func__expl_use=no
36250 fi
36251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36252 ac_ext=c
36253 ac_cpp='$CPP $CPPFLAGS'
36254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36257
36258
36259 fi
36260
36261 fi
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36263 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36264
36265 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36266 for ac_func in _expl
36267 do :
36268 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36269 if test "x$ac_cv_func__expl" = x""yes; then :
36270 cat >>confdefs.h <<_ACEOF
36271 #define HAVE__EXPL 1
36272 _ACEOF
36273
36274 fi
36275 done
36276
36277 fi
36278 fi
36279
36280
36281
36282
36283
36284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36285 $as_echo_n "checking for fabsl declaration... " >&6; }
36286 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36287 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36288 $as_echo_n "(cached) " >&6
36289 else
36290
36291
36292 ac_ext=cpp
36293 ac_cpp='$CXXCPP $CPPFLAGS'
36294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36297
36298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299 /* end confdefs.h. */
36300 #include <math.h>
36301 #ifdef HAVE_IEEEFP_H
36302 #include <ieeefp.h>
36303 #endif
36304
36305 int
36306 main ()
36307 {
36308 fabsl(0);
36309 ;
36310 return 0;
36311 }
36312 _ACEOF
36313 if ac_fn_cxx_try_compile "$LINENO"; then :
36314 glibcxx_cv_func_fabsl_use=yes
36315 else
36316 glibcxx_cv_func_fabsl_use=no
36317 fi
36318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36319 ac_ext=c
36320 ac_cpp='$CPP $CPPFLAGS'
36321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36324
36325
36326 fi
36327
36328 fi
36329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36330 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36331
36332 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36333 for ac_func in fabsl
36334 do :
36335 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36336 if test "x$ac_cv_func_fabsl" = x""yes; then :
36337 cat >>confdefs.h <<_ACEOF
36338 #define HAVE_FABSL 1
36339 _ACEOF
36340
36341 fi
36342 done
36343
36344 else
36345
36346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36347 $as_echo_n "checking for _fabsl declaration... " >&6; }
36348 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36349 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36350 $as_echo_n "(cached) " >&6
36351 else
36352
36353
36354 ac_ext=cpp
36355 ac_cpp='$CXXCPP $CPPFLAGS'
36356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36359
36360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36361 /* end confdefs.h. */
36362 #include <math.h>
36363 #ifdef HAVE_IEEEFP_H
36364 #include <ieeefp.h>
36365 #endif
36366
36367 int
36368 main ()
36369 {
36370 _fabsl(0);
36371 ;
36372 return 0;
36373 }
36374 _ACEOF
36375 if ac_fn_cxx_try_compile "$LINENO"; then :
36376 glibcxx_cv_func__fabsl_use=yes
36377 else
36378 glibcxx_cv_func__fabsl_use=no
36379 fi
36380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36381 ac_ext=c
36382 ac_cpp='$CPP $CPPFLAGS'
36383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36386
36387
36388 fi
36389
36390 fi
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36392 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36393
36394 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36395 for ac_func in _fabsl
36396 do :
36397 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36398 if test "x$ac_cv_func__fabsl" = x""yes; then :
36399 cat >>confdefs.h <<_ACEOF
36400 #define HAVE__FABSL 1
36401 _ACEOF
36402
36403 fi
36404 done
36405
36406 fi
36407 fi
36408
36409
36410
36411
36412
36413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36414 $as_echo_n "checking for fmodl declaration... " >&6; }
36415 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36416 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36417 $as_echo_n "(cached) " >&6
36418 else
36419
36420
36421 ac_ext=cpp
36422 ac_cpp='$CXXCPP $CPPFLAGS'
36423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36426
36427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36428 /* end confdefs.h. */
36429 #include <math.h>
36430 int
36431 main ()
36432 {
36433 fmodl(0, 0);
36434 ;
36435 return 0;
36436 }
36437 _ACEOF
36438 if ac_fn_cxx_try_compile "$LINENO"; then :
36439 glibcxx_cv_func_fmodl_use=yes
36440 else
36441 glibcxx_cv_func_fmodl_use=no
36442 fi
36443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36444 ac_ext=c
36445 ac_cpp='$CPP $CPPFLAGS'
36446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36449
36450
36451 fi
36452
36453 fi
36454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36455 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36456
36457 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36458 for ac_func in fmodl
36459 do :
36460 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36461 if test "x$ac_cv_func_fmodl" = x""yes; then :
36462 cat >>confdefs.h <<_ACEOF
36463 #define HAVE_FMODL 1
36464 _ACEOF
36465
36466 fi
36467 done
36468
36469 else
36470
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36472 $as_echo_n "checking for _fmodl declaration... " >&6; }
36473 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36474 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36475 $as_echo_n "(cached) " >&6
36476 else
36477
36478
36479 ac_ext=cpp
36480 ac_cpp='$CXXCPP $CPPFLAGS'
36481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36484
36485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36486 /* end confdefs.h. */
36487 #include <math.h>
36488 int
36489 main ()
36490 {
36491 _fmodl(0, 0);
36492 ;
36493 return 0;
36494 }
36495 _ACEOF
36496 if ac_fn_cxx_try_compile "$LINENO"; then :
36497 glibcxx_cv_func__fmodl_use=yes
36498 else
36499 glibcxx_cv_func__fmodl_use=no
36500 fi
36501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36502 ac_ext=c
36503 ac_cpp='$CPP $CPPFLAGS'
36504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36507
36508
36509 fi
36510
36511 fi
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36513 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36514
36515 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36516 for ac_func in _fmodl
36517 do :
36518 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36519 if test "x$ac_cv_func__fmodl" = x""yes; then :
36520 cat >>confdefs.h <<_ACEOF
36521 #define HAVE__FMODL 1
36522 _ACEOF
36523
36524 fi
36525 done
36526
36527 fi
36528 fi
36529
36530
36531
36532
36533
36534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36535 $as_echo_n "checking for frexpl declaration... " >&6; }
36536 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36537 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36538 $as_echo_n "(cached) " >&6
36539 else
36540
36541
36542 ac_ext=cpp
36543 ac_cpp='$CXXCPP $CPPFLAGS'
36544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36547
36548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36549 /* end confdefs.h. */
36550 #include <math.h>
36551 int
36552 main ()
36553 {
36554 frexpl(0, 0);
36555 ;
36556 return 0;
36557 }
36558 _ACEOF
36559 if ac_fn_cxx_try_compile "$LINENO"; then :
36560 glibcxx_cv_func_frexpl_use=yes
36561 else
36562 glibcxx_cv_func_frexpl_use=no
36563 fi
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 ac_ext=c
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36570
36571
36572 fi
36573
36574 fi
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36576 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36577
36578 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36579 for ac_func in frexpl
36580 do :
36581 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36582 if test "x$ac_cv_func_frexpl" = x""yes; then :
36583 cat >>confdefs.h <<_ACEOF
36584 #define HAVE_FREXPL 1
36585 _ACEOF
36586
36587 fi
36588 done
36589
36590 else
36591
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36593 $as_echo_n "checking for _frexpl declaration... " >&6; }
36594 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36595 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36596 $as_echo_n "(cached) " >&6
36597 else
36598
36599
36600 ac_ext=cpp
36601 ac_cpp='$CXXCPP $CPPFLAGS'
36602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36605
36606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36607 /* end confdefs.h. */
36608 #include <math.h>
36609 int
36610 main ()
36611 {
36612 _frexpl(0, 0);
36613 ;
36614 return 0;
36615 }
36616 _ACEOF
36617 if ac_fn_cxx_try_compile "$LINENO"; then :
36618 glibcxx_cv_func__frexpl_use=yes
36619 else
36620 glibcxx_cv_func__frexpl_use=no
36621 fi
36622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36623 ac_ext=c
36624 ac_cpp='$CPP $CPPFLAGS'
36625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36628
36629
36630 fi
36631
36632 fi
36633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36634 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36635
36636 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36637 for ac_func in _frexpl
36638 do :
36639 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36640 if test "x$ac_cv_func__frexpl" = x""yes; then :
36641 cat >>confdefs.h <<_ACEOF
36642 #define HAVE__FREXPL 1
36643 _ACEOF
36644
36645 fi
36646 done
36647
36648 fi
36649 fi
36650
36651
36652
36653
36654
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36656 $as_echo_n "checking for hypotl declaration... " >&6; }
36657 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36658 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36659 $as_echo_n "(cached) " >&6
36660 else
36661
36662
36663 ac_ext=cpp
36664 ac_cpp='$CXXCPP $CPPFLAGS'
36665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36668
36669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36670 /* end confdefs.h. */
36671 #include <math.h>
36672 int
36673 main ()
36674 {
36675 hypotl(0, 0);
36676 ;
36677 return 0;
36678 }
36679 _ACEOF
36680 if ac_fn_cxx_try_compile "$LINENO"; then :
36681 glibcxx_cv_func_hypotl_use=yes
36682 else
36683 glibcxx_cv_func_hypotl_use=no
36684 fi
36685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36686 ac_ext=c
36687 ac_cpp='$CPP $CPPFLAGS'
36688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36691
36692
36693 fi
36694
36695 fi
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36697 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36698
36699 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36700 for ac_func in hypotl
36701 do :
36702 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36703 if test "x$ac_cv_func_hypotl" = x""yes; then :
36704 cat >>confdefs.h <<_ACEOF
36705 #define HAVE_HYPOTL 1
36706 _ACEOF
36707
36708 fi
36709 done
36710
36711 else
36712
36713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36714 $as_echo_n "checking for _hypotl declaration... " >&6; }
36715 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36716 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36717 $as_echo_n "(cached) " >&6
36718 else
36719
36720
36721 ac_ext=cpp
36722 ac_cpp='$CXXCPP $CPPFLAGS'
36723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36726
36727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36728 /* end confdefs.h. */
36729 #include <math.h>
36730 int
36731 main ()
36732 {
36733 _hypotl(0, 0);
36734 ;
36735 return 0;
36736 }
36737 _ACEOF
36738 if ac_fn_cxx_try_compile "$LINENO"; then :
36739 glibcxx_cv_func__hypotl_use=yes
36740 else
36741 glibcxx_cv_func__hypotl_use=no
36742 fi
36743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36744 ac_ext=c
36745 ac_cpp='$CPP $CPPFLAGS'
36746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36749
36750
36751 fi
36752
36753 fi
36754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36755 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36756
36757 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36758 for ac_func in _hypotl
36759 do :
36760 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36761 if test "x$ac_cv_func__hypotl" = x""yes; then :
36762 cat >>confdefs.h <<_ACEOF
36763 #define HAVE__HYPOTL 1
36764 _ACEOF
36765
36766 fi
36767 done
36768
36769 fi
36770 fi
36771
36772
36773
36774
36775
36776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36777 $as_echo_n "checking for ldexpl declaration... " >&6; }
36778 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36779 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36780 $as_echo_n "(cached) " >&6
36781 else
36782
36783
36784 ac_ext=cpp
36785 ac_cpp='$CXXCPP $CPPFLAGS'
36786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36789
36790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36791 /* end confdefs.h. */
36792 #include <math.h>
36793 int
36794 main ()
36795 {
36796 ldexpl(0, 0);
36797 ;
36798 return 0;
36799 }
36800 _ACEOF
36801 if ac_fn_cxx_try_compile "$LINENO"; then :
36802 glibcxx_cv_func_ldexpl_use=yes
36803 else
36804 glibcxx_cv_func_ldexpl_use=no
36805 fi
36806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36807 ac_ext=c
36808 ac_cpp='$CPP $CPPFLAGS'
36809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36812
36813
36814 fi
36815
36816 fi
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36818 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36819
36820 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36821 for ac_func in ldexpl
36822 do :
36823 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36824 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36825 cat >>confdefs.h <<_ACEOF
36826 #define HAVE_LDEXPL 1
36827 _ACEOF
36828
36829 fi
36830 done
36831
36832 else
36833
36834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36835 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36836 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36837 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36838 $as_echo_n "(cached) " >&6
36839 else
36840
36841
36842 ac_ext=cpp
36843 ac_cpp='$CXXCPP $CPPFLAGS'
36844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36847
36848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36849 /* end confdefs.h. */
36850 #include <math.h>
36851 int
36852 main ()
36853 {
36854 _ldexpl(0, 0);
36855 ;
36856 return 0;
36857 }
36858 _ACEOF
36859 if ac_fn_cxx_try_compile "$LINENO"; then :
36860 glibcxx_cv_func__ldexpl_use=yes
36861 else
36862 glibcxx_cv_func__ldexpl_use=no
36863 fi
36864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36865 ac_ext=c
36866 ac_cpp='$CPP $CPPFLAGS'
36867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36870
36871
36872 fi
36873
36874 fi
36875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
36876 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
36877
36878 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36879 for ac_func in _ldexpl
36880 do :
36881 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
36882 if test "x$ac_cv_func__ldexpl" = x""yes; then :
36883 cat >>confdefs.h <<_ACEOF
36884 #define HAVE__LDEXPL 1
36885 _ACEOF
36886
36887 fi
36888 done
36889
36890 fi
36891 fi
36892
36893
36894
36895
36896
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
36898 $as_echo_n "checking for logl declaration... " >&6; }
36899 if test x${glibcxx_cv_func_logl_use+set} != xset; then
36900 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
36901 $as_echo_n "(cached) " >&6
36902 else
36903
36904
36905 ac_ext=cpp
36906 ac_cpp='$CXXCPP $CPPFLAGS'
36907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36910
36911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36912 /* end confdefs.h. */
36913 #include <math.h>
36914 #ifdef HAVE_IEEEFP_H
36915 #include <ieeefp.h>
36916 #endif
36917
36918 int
36919 main ()
36920 {
36921 logl(0);
36922 ;
36923 return 0;
36924 }
36925 _ACEOF
36926 if ac_fn_cxx_try_compile "$LINENO"; then :
36927 glibcxx_cv_func_logl_use=yes
36928 else
36929 glibcxx_cv_func_logl_use=no
36930 fi
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937
36938
36939 fi
36940
36941 fi
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
36943 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
36944
36945 if test x$glibcxx_cv_func_logl_use = x"yes"; then
36946 for ac_func in logl
36947 do :
36948 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
36949 if test "x$ac_cv_func_logl" = x""yes; then :
36950 cat >>confdefs.h <<_ACEOF
36951 #define HAVE_LOGL 1
36952 _ACEOF
36953
36954 fi
36955 done
36956
36957 else
36958
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
36960 $as_echo_n "checking for _logl declaration... " >&6; }
36961 if test x${glibcxx_cv_func__logl_use+set} != xset; then
36962 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
36963 $as_echo_n "(cached) " >&6
36964 else
36965
36966
36967 ac_ext=cpp
36968 ac_cpp='$CXXCPP $CPPFLAGS'
36969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36972
36973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36974 /* end confdefs.h. */
36975 #include <math.h>
36976 #ifdef HAVE_IEEEFP_H
36977 #include <ieeefp.h>
36978 #endif
36979
36980 int
36981 main ()
36982 {
36983 _logl(0);
36984 ;
36985 return 0;
36986 }
36987 _ACEOF
36988 if ac_fn_cxx_try_compile "$LINENO"; then :
36989 glibcxx_cv_func__logl_use=yes
36990 else
36991 glibcxx_cv_func__logl_use=no
36992 fi
36993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36994 ac_ext=c
36995 ac_cpp='$CPP $CPPFLAGS'
36996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36999
37000
37001 fi
37002
37003 fi
37004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37005 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37006
37007 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37008 for ac_func in _logl
37009 do :
37010 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37011 if test "x$ac_cv_func__logl" = x""yes; then :
37012 cat >>confdefs.h <<_ACEOF
37013 #define HAVE__LOGL 1
37014 _ACEOF
37015
37016 fi
37017 done
37018
37019 fi
37020 fi
37021
37022
37023
37024
37025
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37027 $as_echo_n "checking for log10l declaration... " >&6; }
37028 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37029 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37030 $as_echo_n "(cached) " >&6
37031 else
37032
37033
37034 ac_ext=cpp
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37039
37040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37041 /* end confdefs.h. */
37042 #include <math.h>
37043 #ifdef HAVE_IEEEFP_H
37044 #include <ieeefp.h>
37045 #endif
37046
37047 int
37048 main ()
37049 {
37050 log10l(0);
37051 ;
37052 return 0;
37053 }
37054 _ACEOF
37055 if ac_fn_cxx_try_compile "$LINENO"; then :
37056 glibcxx_cv_func_log10l_use=yes
37057 else
37058 glibcxx_cv_func_log10l_use=no
37059 fi
37060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37061 ac_ext=c
37062 ac_cpp='$CPP $CPPFLAGS'
37063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37066
37067
37068 fi
37069
37070 fi
37071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37072 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37073
37074 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37075 for ac_func in log10l
37076 do :
37077 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37078 if test "x$ac_cv_func_log10l" = x""yes; then :
37079 cat >>confdefs.h <<_ACEOF
37080 #define HAVE_LOG10L 1
37081 _ACEOF
37082
37083 fi
37084 done
37085
37086 else
37087
37088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37089 $as_echo_n "checking for _log10l declaration... " >&6; }
37090 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37091 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37092 $as_echo_n "(cached) " >&6
37093 else
37094
37095
37096 ac_ext=cpp
37097 ac_cpp='$CXXCPP $CPPFLAGS'
37098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37101
37102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37103 /* end confdefs.h. */
37104 #include <math.h>
37105 #ifdef HAVE_IEEEFP_H
37106 #include <ieeefp.h>
37107 #endif
37108
37109 int
37110 main ()
37111 {
37112 _log10l(0);
37113 ;
37114 return 0;
37115 }
37116 _ACEOF
37117 if ac_fn_cxx_try_compile "$LINENO"; then :
37118 glibcxx_cv_func__log10l_use=yes
37119 else
37120 glibcxx_cv_func__log10l_use=no
37121 fi
37122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37123 ac_ext=c
37124 ac_cpp='$CPP $CPPFLAGS'
37125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37128
37129
37130 fi
37131
37132 fi
37133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37134 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37135
37136 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37137 for ac_func in _log10l
37138 do :
37139 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37140 if test "x$ac_cv_func__log10l" = x""yes; then :
37141 cat >>confdefs.h <<_ACEOF
37142 #define HAVE__LOG10L 1
37143 _ACEOF
37144
37145 fi
37146 done
37147
37148 fi
37149 fi
37150
37151
37152
37153
37154
37155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37156 $as_echo_n "checking for modfl declaration... " >&6; }
37157 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37158 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37159 $as_echo_n "(cached) " >&6
37160 else
37161
37162
37163 ac_ext=cpp
37164 ac_cpp='$CXXCPP $CPPFLAGS'
37165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37168
37169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37170 /* end confdefs.h. */
37171 #include <math.h>
37172 int
37173 main ()
37174 {
37175 modfl(0, 0);
37176 ;
37177 return 0;
37178 }
37179 _ACEOF
37180 if ac_fn_cxx_try_compile "$LINENO"; then :
37181 glibcxx_cv_func_modfl_use=yes
37182 else
37183 glibcxx_cv_func_modfl_use=no
37184 fi
37185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37186 ac_ext=c
37187 ac_cpp='$CPP $CPPFLAGS'
37188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37191
37192
37193 fi
37194
37195 fi
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37197 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37198
37199 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37200 for ac_func in modfl
37201 do :
37202 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37203 if test "x$ac_cv_func_modfl" = x""yes; then :
37204 cat >>confdefs.h <<_ACEOF
37205 #define HAVE_MODFL 1
37206 _ACEOF
37207
37208 fi
37209 done
37210
37211 else
37212
37213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37214 $as_echo_n "checking for _modfl declaration... " >&6; }
37215 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37216 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37217 $as_echo_n "(cached) " >&6
37218 else
37219
37220
37221 ac_ext=cpp
37222 ac_cpp='$CXXCPP $CPPFLAGS'
37223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37226
37227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37228 /* end confdefs.h. */
37229 #include <math.h>
37230 int
37231 main ()
37232 {
37233 _modfl(0, 0);
37234 ;
37235 return 0;
37236 }
37237 _ACEOF
37238 if ac_fn_cxx_try_compile "$LINENO"; then :
37239 glibcxx_cv_func__modfl_use=yes
37240 else
37241 glibcxx_cv_func__modfl_use=no
37242 fi
37243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37244 ac_ext=c
37245 ac_cpp='$CPP $CPPFLAGS'
37246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37249
37250
37251 fi
37252
37253 fi
37254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37255 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37256
37257 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37258 for ac_func in _modfl
37259 do :
37260 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37261 if test "x$ac_cv_func__modfl" = x""yes; then :
37262 cat >>confdefs.h <<_ACEOF
37263 #define HAVE__MODFL 1
37264 _ACEOF
37265
37266 fi
37267 done
37268
37269 fi
37270 fi
37271
37272
37273
37274
37275
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37277 $as_echo_n "checking for powl declaration... " >&6; }
37278 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37279 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37280 $as_echo_n "(cached) " >&6
37281 else
37282
37283
37284 ac_ext=cpp
37285 ac_cpp='$CXXCPP $CPPFLAGS'
37286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37289
37290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37291 /* end confdefs.h. */
37292 #include <math.h>
37293 int
37294 main ()
37295 {
37296 powl(0, 0);
37297 ;
37298 return 0;
37299 }
37300 _ACEOF
37301 if ac_fn_cxx_try_compile "$LINENO"; then :
37302 glibcxx_cv_func_powl_use=yes
37303 else
37304 glibcxx_cv_func_powl_use=no
37305 fi
37306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37307 ac_ext=c
37308 ac_cpp='$CPP $CPPFLAGS'
37309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37312
37313
37314 fi
37315
37316 fi
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37318 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37319
37320 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37321 for ac_func in powl
37322 do :
37323 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37324 if test "x$ac_cv_func_powl" = x""yes; then :
37325 cat >>confdefs.h <<_ACEOF
37326 #define HAVE_POWL 1
37327 _ACEOF
37328
37329 fi
37330 done
37331
37332 else
37333
37334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37335 $as_echo_n "checking for _powl declaration... " >&6; }
37336 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37337 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37338 $as_echo_n "(cached) " >&6
37339 else
37340
37341
37342 ac_ext=cpp
37343 ac_cpp='$CXXCPP $CPPFLAGS'
37344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37347
37348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37349 /* end confdefs.h. */
37350 #include <math.h>
37351 int
37352 main ()
37353 {
37354 _powl(0, 0);
37355 ;
37356 return 0;
37357 }
37358 _ACEOF
37359 if ac_fn_cxx_try_compile "$LINENO"; then :
37360 glibcxx_cv_func__powl_use=yes
37361 else
37362 glibcxx_cv_func__powl_use=no
37363 fi
37364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37365 ac_ext=c
37366 ac_cpp='$CPP $CPPFLAGS'
37367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37370
37371
37372 fi
37373
37374 fi
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37376 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37377
37378 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37379 for ac_func in _powl
37380 do :
37381 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37382 if test "x$ac_cv_func__powl" = x""yes; then :
37383 cat >>confdefs.h <<_ACEOF
37384 #define HAVE__POWL 1
37385 _ACEOF
37386
37387 fi
37388 done
37389
37390 fi
37391 fi
37392
37393
37394
37395
37396
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37398 $as_echo_n "checking for sqrtl declaration... " >&6; }
37399 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37400 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37401 $as_echo_n "(cached) " >&6
37402 else
37403
37404
37405 ac_ext=cpp
37406 ac_cpp='$CXXCPP $CPPFLAGS'
37407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37410
37411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37412 /* end confdefs.h. */
37413 #include <math.h>
37414 #ifdef HAVE_IEEEFP_H
37415 #include <ieeefp.h>
37416 #endif
37417
37418 int
37419 main ()
37420 {
37421 sqrtl(0);
37422 ;
37423 return 0;
37424 }
37425 _ACEOF
37426 if ac_fn_cxx_try_compile "$LINENO"; then :
37427 glibcxx_cv_func_sqrtl_use=yes
37428 else
37429 glibcxx_cv_func_sqrtl_use=no
37430 fi
37431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37432 ac_ext=c
37433 ac_cpp='$CPP $CPPFLAGS'
37434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37437
37438
37439 fi
37440
37441 fi
37442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37443 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37444
37445 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37446 for ac_func in sqrtl
37447 do :
37448 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37449 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37450 cat >>confdefs.h <<_ACEOF
37451 #define HAVE_SQRTL 1
37452 _ACEOF
37453
37454 fi
37455 done
37456
37457 else
37458
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37460 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37461 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37462 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37463 $as_echo_n "(cached) " >&6
37464 else
37465
37466
37467 ac_ext=cpp
37468 ac_cpp='$CXXCPP $CPPFLAGS'
37469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37472
37473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37474 /* end confdefs.h. */
37475 #include <math.h>
37476 #ifdef HAVE_IEEEFP_H
37477 #include <ieeefp.h>
37478 #endif
37479
37480 int
37481 main ()
37482 {
37483 _sqrtl(0);
37484 ;
37485 return 0;
37486 }
37487 _ACEOF
37488 if ac_fn_cxx_try_compile "$LINENO"; then :
37489 glibcxx_cv_func__sqrtl_use=yes
37490 else
37491 glibcxx_cv_func__sqrtl_use=no
37492 fi
37493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37494 ac_ext=c
37495 ac_cpp='$CPP $CPPFLAGS'
37496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37499
37500
37501 fi
37502
37503 fi
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37505 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37506
37507 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37508 for ac_func in _sqrtl
37509 do :
37510 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37511 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37512 cat >>confdefs.h <<_ACEOF
37513 #define HAVE__SQRTL 1
37514 _ACEOF
37515
37516 fi
37517 done
37518
37519 fi
37520 fi
37521
37522
37523
37524
37525
37526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37527 $as_echo_n "checking for sincosl declaration... " >&6; }
37528 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37529 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37530 $as_echo_n "(cached) " >&6
37531 else
37532
37533
37534 ac_ext=cpp
37535 ac_cpp='$CXXCPP $CPPFLAGS'
37536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37539
37540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37541 /* end confdefs.h. */
37542 #include <math.h>
37543 int
37544 main ()
37545 {
37546 sincosl(0, 0, 0);
37547 ;
37548 return 0;
37549 }
37550 _ACEOF
37551 if ac_fn_cxx_try_compile "$LINENO"; then :
37552 glibcxx_cv_func_sincosl_use=yes
37553 else
37554 glibcxx_cv_func_sincosl_use=no
37555 fi
37556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37557 ac_ext=c
37558 ac_cpp='$CPP $CPPFLAGS'
37559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37562
37563
37564 fi
37565
37566 fi
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37568 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37569
37570 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37571 for ac_func in sincosl
37572 do :
37573 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37574 if test "x$ac_cv_func_sincosl" = x""yes; then :
37575 cat >>confdefs.h <<_ACEOF
37576 #define HAVE_SINCOSL 1
37577 _ACEOF
37578
37579 fi
37580 done
37581
37582 else
37583
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37585 $as_echo_n "checking for _sincosl declaration... " >&6; }
37586 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37587 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37588 $as_echo_n "(cached) " >&6
37589 else
37590
37591
37592 ac_ext=cpp
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37597
37598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37599 /* end confdefs.h. */
37600 #include <math.h>
37601 int
37602 main ()
37603 {
37604 _sincosl(0, 0, 0);
37605 ;
37606 return 0;
37607 }
37608 _ACEOF
37609 if ac_fn_cxx_try_compile "$LINENO"; then :
37610 glibcxx_cv_func__sincosl_use=yes
37611 else
37612 glibcxx_cv_func__sincosl_use=no
37613 fi
37614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37615 ac_ext=c
37616 ac_cpp='$CPP $CPPFLAGS'
37617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37620
37621
37622 fi
37623
37624 fi
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37626 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37627
37628 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37629 for ac_func in _sincosl
37630 do :
37631 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37632 if test "x$ac_cv_func__sincosl" = x""yes; then :
37633 cat >>confdefs.h <<_ACEOF
37634 #define HAVE__SINCOSL 1
37635 _ACEOF
37636
37637 fi
37638 done
37639
37640 fi
37641 fi
37642
37643
37644
37645
37646
37647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37648 $as_echo_n "checking for finitel declaration... " >&6; }
37649 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37650 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37652 else
37653
37654
37655 ac_ext=cpp
37656 ac_cpp='$CXXCPP $CPPFLAGS'
37657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37660
37661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37662 /* end confdefs.h. */
37663 #include <math.h>
37664 #ifdef HAVE_IEEEFP_H
37665 #include <ieeefp.h>
37666 #endif
37667
37668 int
37669 main ()
37670 {
37671 finitel(0);
37672 ;
37673 return 0;
37674 }
37675 _ACEOF
37676 if ac_fn_cxx_try_compile "$LINENO"; then :
37677 glibcxx_cv_func_finitel_use=yes
37678 else
37679 glibcxx_cv_func_finitel_use=no
37680 fi
37681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37682 ac_ext=c
37683 ac_cpp='$CPP $CPPFLAGS'
37684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37687
37688
37689 fi
37690
37691 fi
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37693 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37694
37695 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37696 for ac_func in finitel
37697 do :
37698 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37699 if test "x$ac_cv_func_finitel" = x""yes; then :
37700 cat >>confdefs.h <<_ACEOF
37701 #define HAVE_FINITEL 1
37702 _ACEOF
37703
37704 fi
37705 done
37706
37707 else
37708
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37710 $as_echo_n "checking for _finitel declaration... " >&6; }
37711 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37712 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37713 $as_echo_n "(cached) " >&6
37714 else
37715
37716
37717 ac_ext=cpp
37718 ac_cpp='$CXXCPP $CPPFLAGS'
37719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37722
37723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37724 /* end confdefs.h. */
37725 #include <math.h>
37726 #ifdef HAVE_IEEEFP_H
37727 #include <ieeefp.h>
37728 #endif
37729
37730 int
37731 main ()
37732 {
37733 _finitel(0);
37734 ;
37735 return 0;
37736 }
37737 _ACEOF
37738 if ac_fn_cxx_try_compile "$LINENO"; then :
37739 glibcxx_cv_func__finitel_use=yes
37740 else
37741 glibcxx_cv_func__finitel_use=no
37742 fi
37743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37744 ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37749
37750
37751 fi
37752
37753 fi
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37755 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37756
37757 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37758 for ac_func in _finitel
37759 do :
37760 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37761 if test "x$ac_cv_func__finitel" = x""yes; then :
37762 cat >>confdefs.h <<_ACEOF
37763 #define HAVE__FINITEL 1
37764 _ACEOF
37765
37766 fi
37767 done
37768
37769 fi
37770 fi
37771
37772
37773
37774
37775 LIBS="$ac_save_LIBS"
37776 CXXFLAGS="$ac_save_CXXFLAGS"
37777
37778
37779 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37780 ac_save_CXXFLAGS="$CXXFLAGS"
37781 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37782
37783
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37785 $as_echo_n "checking for strtold declaration... " >&6; }
37786 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37787 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37788 $as_echo_n "(cached) " >&6
37789 else
37790
37791
37792 ac_ext=cpp
37793 ac_cpp='$CXXCPP $CPPFLAGS'
37794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37797
37798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37799 /* end confdefs.h. */
37800 #include <stdlib.h>
37801 int
37802 main ()
37803 {
37804 strtold(0, 0);
37805 ;
37806 return 0;
37807 }
37808 _ACEOF
37809 if ac_fn_cxx_try_compile "$LINENO"; then :
37810 glibcxx_cv_func_strtold_use=yes
37811 else
37812 glibcxx_cv_func_strtold_use=no
37813 fi
37814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37815 ac_ext=c
37816 ac_cpp='$CPP $CPPFLAGS'
37817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37820
37821
37822 fi
37823
37824 fi
37825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37826 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37827 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37828 for ac_func in strtold
37829 do :
37830 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37831 if test "x$ac_cv_func_strtold" = x""yes; then :
37832 cat >>confdefs.h <<_ACEOF
37833 #define HAVE_STRTOLD 1
37834 _ACEOF
37835
37836 fi
37837 done
37838
37839 fi
37840
37841
37842
37843
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37845 $as_echo_n "checking for strtof declaration... " >&6; }
37846 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37847 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
37848 $as_echo_n "(cached) " >&6
37849 else
37850
37851
37852 ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37857
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h. */
37860 #include <stdlib.h>
37861 int
37862 main ()
37863 {
37864 strtof(0, 0);
37865 ;
37866 return 0;
37867 }
37868 _ACEOF
37869 if ac_fn_cxx_try_compile "$LINENO"; then :
37870 glibcxx_cv_func_strtof_use=yes
37871 else
37872 glibcxx_cv_func_strtof_use=no
37873 fi
37874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37875 ac_ext=c
37876 ac_cpp='$CPP $CPPFLAGS'
37877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880
37881
37882 fi
37883
37884 fi
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37886 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37887 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37888 for ac_func in strtof
37889 do :
37890 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37891 if test "x$ac_cv_func_strtof" = x""yes; then :
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE_STRTOF 1
37894 _ACEOF
37895
37896 fi
37897 done
37898
37899 fi
37900
37901
37902
37903
37904 CXXFLAGS="$ac_save_CXXFLAGS"
37905
37906 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
37907
37908 # We don't yet support AIX's TLS ABI.
37909 #GCC_CHECK_TLS
37910
37911
37912
37913
37914
37915 am_save_CPPFLAGS="$CPPFLAGS"
37916
37917 for element in $INCICONV; do
37918 haveit=
37919 for x in $CPPFLAGS; do
37920
37921 acl_save_prefix="$prefix"
37922 prefix="$acl_final_prefix"
37923 acl_save_exec_prefix="$exec_prefix"
37924 exec_prefix="$acl_final_exec_prefix"
37925 eval x=\"$x\"
37926 exec_prefix="$acl_save_exec_prefix"
37927 prefix="$acl_save_prefix"
37928
37929 if test "X$x" = "X$element"; then
37930 haveit=yes
37931 break
37932 fi
37933 done
37934 if test -z "$haveit"; then
37935 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
37936 fi
37937 done
37938
37939
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
37941 $as_echo_n "checking for iconv... " >&6; }
37942 if test "${am_cv_func_iconv+set}" = set; then :
37943 $as_echo_n "(cached) " >&6
37944 else
37945
37946 am_cv_func_iconv="no, consider installing GNU libiconv"
37947 am_cv_lib_iconv=no
37948 if test x$gcc_no_link = xyes; then
37949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37950 fi
37951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37952 /* end confdefs.h. */
37953 #include <stdlib.h>
37954 #include <iconv.h>
37955 int
37956 main ()
37957 {
37958 iconv_t cd = iconv_open("","");
37959 iconv(cd,NULL,NULL,NULL,NULL);
37960 iconv_close(cd);
37961 ;
37962 return 0;
37963 }
37964 _ACEOF
37965 if ac_fn_c_try_link "$LINENO"; then :
37966 am_cv_func_iconv=yes
37967 fi
37968 rm -f core conftest.err conftest.$ac_objext \
37969 conftest$ac_exeext conftest.$ac_ext
37970 if test "$am_cv_func_iconv" != yes; then
37971 am_save_LIBS="$LIBS"
37972 LIBS="$LIBS $LIBICONV"
37973 if test x$gcc_no_link = xyes; then
37974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37975 fi
37976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37977 /* end confdefs.h. */
37978 #include <stdlib.h>
37979 #include <iconv.h>
37980 int
37981 main ()
37982 {
37983 iconv_t cd = iconv_open("","");
37984 iconv(cd,NULL,NULL,NULL,NULL);
37985 iconv_close(cd);
37986 ;
37987 return 0;
37988 }
37989 _ACEOF
37990 if ac_fn_c_try_link "$LINENO"; then :
37991 am_cv_lib_iconv=yes
37992 am_cv_func_iconv=yes
37993 fi
37994 rm -f core conftest.err conftest.$ac_objext \
37995 conftest$ac_exeext conftest.$ac_ext
37996 LIBS="$am_save_LIBS"
37997 fi
37998
37999 fi
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38001 $as_echo "$am_cv_func_iconv" >&6; }
38002 if test "$am_cv_func_iconv" = yes; then
38003
38004 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38005
38006 fi
38007 if test "$am_cv_lib_iconv" = yes; then
38008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38009 $as_echo_n "checking how to link with libiconv... " >&6; }
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38011 $as_echo "$LIBICONV" >&6; }
38012 else
38013 CPPFLAGS="$am_save_CPPFLAGS"
38014 LIBICONV=
38015 LTLIBICONV=
38016 fi
38017
38018
38019
38020 if test "$am_cv_func_iconv" = yes; then
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38022 $as_echo_n "checking for iconv declaration... " >&6; }
38023 if test "${am_cv_proto_iconv+set}" = set; then :
38024 $as_echo_n "(cached) " >&6
38025 else
38026
38027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38028 /* end confdefs.h. */
38029
38030 #include <stdlib.h>
38031 #include <iconv.h>
38032 extern
38033 #ifdef __cplusplus
38034 "C"
38035 #endif
38036 #if defined(__STDC__) || defined(__cplusplus)
38037 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38038 #else
38039 size_t iconv();
38040 #endif
38041
38042 int
38043 main ()
38044 {
38045
38046 ;
38047 return 0;
38048 }
38049 _ACEOF
38050 if ac_fn_c_try_compile "$LINENO"; then :
38051 am_cv_proto_iconv_arg1=""
38052 else
38053 am_cv_proto_iconv_arg1="const"
38054 fi
38055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38056 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);"
38057 fi
38058
38059 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38061 }$am_cv_proto_iconv" >&5
38062 $as_echo "${ac_t:-
38063 }$am_cv_proto_iconv" >&6; }
38064
38065 cat >>confdefs.h <<_ACEOF
38066 #define ICONV_CONST $am_cv_proto_iconv_arg1
38067 _ACEOF
38068
38069 fi
38070
38071 ;;
38072
38073 *-darwin*)
38074 # Darwin versions vary, but the linker should work in a cross environment,
38075 # so we just check for all the features here.
38076 # Check for available headers.
38077
38078 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38079
38080 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38081 ac_save_CXXFLAGS="$CXXFLAGS"
38082 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38083
38084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38085 $as_echo_n "checking for sin in -lm... " >&6; }
38086 if test "${ac_cv_lib_m_sin+set}" = set; then :
38087 $as_echo_n "(cached) " >&6
38088 else
38089 ac_check_lib_save_LIBS=$LIBS
38090 LIBS="-lm $LIBS"
38091 if test x$gcc_no_link = xyes; then
38092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38093 fi
38094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38095 /* end confdefs.h. */
38096
38097 /* Override any GCC internal prototype to avoid an error.
38098 Use char because int might match the return type of a GCC
38099 builtin and then its argument prototype would still apply. */
38100 #ifdef __cplusplus
38101 extern "C"
38102 #endif
38103 char sin ();
38104 int
38105 main ()
38106 {
38107 return sin ();
38108 ;
38109 return 0;
38110 }
38111 _ACEOF
38112 if ac_fn_c_try_link "$LINENO"; then :
38113 ac_cv_lib_m_sin=yes
38114 else
38115 ac_cv_lib_m_sin=no
38116 fi
38117 rm -f core conftest.err conftest.$ac_objext \
38118 conftest$ac_exeext conftest.$ac_ext
38119 LIBS=$ac_check_lib_save_LIBS
38120 fi
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38122 $as_echo "$ac_cv_lib_m_sin" >&6; }
38123 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38124 libm="-lm"
38125 fi
38126
38127 ac_save_LIBS="$LIBS"
38128 LIBS="$LIBS $libm"
38129
38130
38131
38132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38133 $as_echo_n "checking for isinf declaration... " >&6; }
38134 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38135 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38136 $as_echo_n "(cached) " >&6
38137 else
38138
38139
38140 ac_ext=cpp
38141 ac_cpp='$CXXCPP $CPPFLAGS'
38142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38145
38146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38147 /* end confdefs.h. */
38148 #include <math.h>
38149 #ifdef HAVE_IEEEFP_H
38150 #include <ieeefp.h>
38151 #endif
38152
38153 int
38154 main ()
38155 {
38156 isinf(0);
38157 ;
38158 return 0;
38159 }
38160 _ACEOF
38161 if ac_fn_cxx_try_compile "$LINENO"; then :
38162 glibcxx_cv_func_isinf_use=yes
38163 else
38164 glibcxx_cv_func_isinf_use=no
38165 fi
38166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38167 ac_ext=c
38168 ac_cpp='$CPP $CPPFLAGS'
38169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38172
38173
38174 fi
38175
38176 fi
38177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38178 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38179
38180 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38181 for ac_func in isinf
38182 do :
38183 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38184 if test "x$ac_cv_func_isinf" = x""yes; then :
38185 cat >>confdefs.h <<_ACEOF
38186 #define HAVE_ISINF 1
38187 _ACEOF
38188
38189 fi
38190 done
38191
38192 else
38193
38194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38195 $as_echo_n "checking for _isinf declaration... " >&6; }
38196 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38197 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38198 $as_echo_n "(cached) " >&6
38199 else
38200
38201
38202 ac_ext=cpp
38203 ac_cpp='$CXXCPP $CPPFLAGS'
38204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38207
38208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38209 /* end confdefs.h. */
38210 #include <math.h>
38211 #ifdef HAVE_IEEEFP_H
38212 #include <ieeefp.h>
38213 #endif
38214
38215 int
38216 main ()
38217 {
38218 _isinf(0);
38219 ;
38220 return 0;
38221 }
38222 _ACEOF
38223 if ac_fn_cxx_try_compile "$LINENO"; then :
38224 glibcxx_cv_func__isinf_use=yes
38225 else
38226 glibcxx_cv_func__isinf_use=no
38227 fi
38228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38229 ac_ext=c
38230 ac_cpp='$CPP $CPPFLAGS'
38231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38234
38235
38236 fi
38237
38238 fi
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38240 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38241
38242 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38243 for ac_func in _isinf
38244 do :
38245 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38246 if test "x$ac_cv_func__isinf" = x""yes; then :
38247 cat >>confdefs.h <<_ACEOF
38248 #define HAVE__ISINF 1
38249 _ACEOF
38250
38251 fi
38252 done
38253
38254 fi
38255 fi
38256
38257
38258
38259
38260
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38262 $as_echo_n "checking for isnan declaration... " >&6; }
38263 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38264 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38265 $as_echo_n "(cached) " >&6
38266 else
38267
38268
38269 ac_ext=cpp
38270 ac_cpp='$CXXCPP $CPPFLAGS'
38271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38274
38275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38276 /* end confdefs.h. */
38277 #include <math.h>
38278 #ifdef HAVE_IEEEFP_H
38279 #include <ieeefp.h>
38280 #endif
38281
38282 int
38283 main ()
38284 {
38285 isnan(0);
38286 ;
38287 return 0;
38288 }
38289 _ACEOF
38290 if ac_fn_cxx_try_compile "$LINENO"; then :
38291 glibcxx_cv_func_isnan_use=yes
38292 else
38293 glibcxx_cv_func_isnan_use=no
38294 fi
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38296 ac_ext=c
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38301
38302
38303 fi
38304
38305 fi
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38307 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38308
38309 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38310 for ac_func in isnan
38311 do :
38312 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38313 if test "x$ac_cv_func_isnan" = x""yes; then :
38314 cat >>confdefs.h <<_ACEOF
38315 #define HAVE_ISNAN 1
38316 _ACEOF
38317
38318 fi
38319 done
38320
38321 else
38322
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38324 $as_echo_n "checking for _isnan declaration... " >&6; }
38325 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38326 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38327 $as_echo_n "(cached) " >&6
38328 else
38329
38330
38331 ac_ext=cpp
38332 ac_cpp='$CXXCPP $CPPFLAGS'
38333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38336
38337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338 /* end confdefs.h. */
38339 #include <math.h>
38340 #ifdef HAVE_IEEEFP_H
38341 #include <ieeefp.h>
38342 #endif
38343
38344 int
38345 main ()
38346 {
38347 _isnan(0);
38348 ;
38349 return 0;
38350 }
38351 _ACEOF
38352 if ac_fn_cxx_try_compile "$LINENO"; then :
38353 glibcxx_cv_func__isnan_use=yes
38354 else
38355 glibcxx_cv_func__isnan_use=no
38356 fi
38357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38358 ac_ext=c
38359 ac_cpp='$CPP $CPPFLAGS'
38360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38363
38364
38365 fi
38366
38367 fi
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38369 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38370
38371 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38372 for ac_func in _isnan
38373 do :
38374 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38375 if test "x$ac_cv_func__isnan" = x""yes; then :
38376 cat >>confdefs.h <<_ACEOF
38377 #define HAVE__ISNAN 1
38378 _ACEOF
38379
38380 fi
38381 done
38382
38383 fi
38384 fi
38385
38386
38387
38388
38389
38390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38391 $as_echo_n "checking for finite declaration... " >&6; }
38392 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38393 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38394 $as_echo_n "(cached) " >&6
38395 else
38396
38397
38398 ac_ext=cpp
38399 ac_cpp='$CXXCPP $CPPFLAGS'
38400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38403
38404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38405 /* end confdefs.h. */
38406 #include <math.h>
38407 #ifdef HAVE_IEEEFP_H
38408 #include <ieeefp.h>
38409 #endif
38410
38411 int
38412 main ()
38413 {
38414 finite(0);
38415 ;
38416 return 0;
38417 }
38418 _ACEOF
38419 if ac_fn_cxx_try_compile "$LINENO"; then :
38420 glibcxx_cv_func_finite_use=yes
38421 else
38422 glibcxx_cv_func_finite_use=no
38423 fi
38424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 ac_ext=c
38426 ac_cpp='$CPP $CPPFLAGS'
38427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38430
38431
38432 fi
38433
38434 fi
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38436 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38437
38438 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38439 for ac_func in finite
38440 do :
38441 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38442 if test "x$ac_cv_func_finite" = x""yes; then :
38443 cat >>confdefs.h <<_ACEOF
38444 #define HAVE_FINITE 1
38445 _ACEOF
38446
38447 fi
38448 done
38449
38450 else
38451
38452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38453 $as_echo_n "checking for _finite declaration... " >&6; }
38454 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38455 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38456 $as_echo_n "(cached) " >&6
38457 else
38458
38459
38460 ac_ext=cpp
38461 ac_cpp='$CXXCPP $CPPFLAGS'
38462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38465
38466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38467 /* end confdefs.h. */
38468 #include <math.h>
38469 #ifdef HAVE_IEEEFP_H
38470 #include <ieeefp.h>
38471 #endif
38472
38473 int
38474 main ()
38475 {
38476 _finite(0);
38477 ;
38478 return 0;
38479 }
38480 _ACEOF
38481 if ac_fn_cxx_try_compile "$LINENO"; then :
38482 glibcxx_cv_func__finite_use=yes
38483 else
38484 glibcxx_cv_func__finite_use=no
38485 fi
38486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38487 ac_ext=c
38488 ac_cpp='$CPP $CPPFLAGS'
38489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38492
38493
38494 fi
38495
38496 fi
38497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38498 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38499
38500 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38501 for ac_func in _finite
38502 do :
38503 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38504 if test "x$ac_cv_func__finite" = x""yes; then :
38505 cat >>confdefs.h <<_ACEOF
38506 #define HAVE__FINITE 1
38507 _ACEOF
38508
38509 fi
38510 done
38511
38512 fi
38513 fi
38514
38515
38516
38517
38518
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38520 $as_echo_n "checking for sincos declaration... " >&6; }
38521 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38522 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38523 $as_echo_n "(cached) " >&6
38524 else
38525
38526
38527 ac_ext=cpp
38528 ac_cpp='$CXXCPP $CPPFLAGS'
38529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38532
38533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38534 /* end confdefs.h. */
38535 #include <math.h>
38536 int
38537 main ()
38538 {
38539 sincos(0, 0, 0);
38540 ;
38541 return 0;
38542 }
38543 _ACEOF
38544 if ac_fn_cxx_try_compile "$LINENO"; then :
38545 glibcxx_cv_func_sincos_use=yes
38546 else
38547 glibcxx_cv_func_sincos_use=no
38548 fi
38549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38550 ac_ext=c
38551 ac_cpp='$CPP $CPPFLAGS'
38552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38555
38556
38557 fi
38558
38559 fi
38560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38561 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38562
38563 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38564 for ac_func in sincos
38565 do :
38566 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38567 if test "x$ac_cv_func_sincos" = x""yes; then :
38568 cat >>confdefs.h <<_ACEOF
38569 #define HAVE_SINCOS 1
38570 _ACEOF
38571
38572 fi
38573 done
38574
38575 else
38576
38577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38578 $as_echo_n "checking for _sincos declaration... " >&6; }
38579 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38580 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38581 $as_echo_n "(cached) " >&6
38582 else
38583
38584
38585 ac_ext=cpp
38586 ac_cpp='$CXXCPP $CPPFLAGS'
38587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38590
38591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38592 /* end confdefs.h. */
38593 #include <math.h>
38594 int
38595 main ()
38596 {
38597 _sincos(0, 0, 0);
38598 ;
38599 return 0;
38600 }
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__sincos_use=yes
38604 else
38605 glibcxx_cv_func__sincos_use=no
38606 fi
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38613
38614
38615 fi
38616
38617 fi
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38619 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38620
38621 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38622 for ac_func in _sincos
38623 do :
38624 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38625 if test "x$ac_cv_func__sincos" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define HAVE__SINCOS 1
38628 _ACEOF
38629
38630 fi
38631 done
38632
38633 fi
38634 fi
38635
38636
38637
38638
38639
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38641 $as_echo_n "checking for fpclass declaration... " >&6; }
38642 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38643 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38644 $as_echo_n "(cached) " >&6
38645 else
38646
38647
38648 ac_ext=cpp
38649 ac_cpp='$CXXCPP $CPPFLAGS'
38650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38653
38654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38655 /* end confdefs.h. */
38656 #include <math.h>
38657 #ifdef HAVE_IEEEFP_H
38658 #include <ieeefp.h>
38659 #endif
38660
38661 int
38662 main ()
38663 {
38664 fpclass(0);
38665 ;
38666 return 0;
38667 }
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func_fpclass_use=yes
38671 else
38672 glibcxx_cv_func_fpclass_use=no
38673 fi
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38680
38681
38682 fi
38683
38684 fi
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38686 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38687
38688 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38689 for ac_func in fpclass
38690 do :
38691 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38692 if test "x$ac_cv_func_fpclass" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE_FPCLASS 1
38695 _ACEOF
38696
38697 fi
38698 done
38699
38700 else
38701
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38703 $as_echo_n "checking for _fpclass declaration... " >&6; }
38704 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38705 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38706 $as_echo_n "(cached) " >&6
38707 else
38708
38709
38710 ac_ext=cpp
38711 ac_cpp='$CXXCPP $CPPFLAGS'
38712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38715
38716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38717 /* end confdefs.h. */
38718 #include <math.h>
38719 #ifdef HAVE_IEEEFP_H
38720 #include <ieeefp.h>
38721 #endif
38722
38723 int
38724 main ()
38725 {
38726 _fpclass(0);
38727 ;
38728 return 0;
38729 }
38730 _ACEOF
38731 if ac_fn_cxx_try_compile "$LINENO"; then :
38732 glibcxx_cv_func__fpclass_use=yes
38733 else
38734 glibcxx_cv_func__fpclass_use=no
38735 fi
38736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38737 ac_ext=c
38738 ac_cpp='$CPP $CPPFLAGS'
38739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38742
38743
38744 fi
38745
38746 fi
38747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38748 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38749
38750 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38751 for ac_func in _fpclass
38752 do :
38753 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38754 if test "x$ac_cv_func__fpclass" = x""yes; then :
38755 cat >>confdefs.h <<_ACEOF
38756 #define HAVE__FPCLASS 1
38757 _ACEOF
38758
38759 fi
38760 done
38761
38762 fi
38763 fi
38764
38765
38766
38767
38768
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38770 $as_echo_n "checking for qfpclass declaration... " >&6; }
38771 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38772 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38775
38776
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38786 #ifdef HAVE_IEEEFP_H
38787 #include <ieeefp.h>
38788 #endif
38789
38790 int
38791 main ()
38792 {
38793 qfpclass(0);
38794 ;
38795 return 0;
38796 }
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func_qfpclass_use=yes
38800 else
38801 glibcxx_cv_func_qfpclass_use=no
38802 fi
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38809
38810
38811 fi
38812
38813 fi
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38815 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38816
38817 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38818 for ac_func in qfpclass
38819 do :
38820 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38821 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38822 cat >>confdefs.h <<_ACEOF
38823 #define HAVE_QFPCLASS 1
38824 _ACEOF
38825
38826 fi
38827 done
38828
38829 else
38830
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38832 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38833 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38834 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38835 $as_echo_n "(cached) " >&6
38836 else
38837
38838
38839 ac_ext=cpp
38840 ac_cpp='$CXXCPP $CPPFLAGS'
38841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38844
38845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38846 /* end confdefs.h. */
38847 #include <math.h>
38848 #ifdef HAVE_IEEEFP_H
38849 #include <ieeefp.h>
38850 #endif
38851
38852 int
38853 main ()
38854 {
38855 _qfpclass(0);
38856 ;
38857 return 0;
38858 }
38859 _ACEOF
38860 if ac_fn_cxx_try_compile "$LINENO"; then :
38861 glibcxx_cv_func__qfpclass_use=yes
38862 else
38863 glibcxx_cv_func__qfpclass_use=no
38864 fi
38865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38866 ac_ext=c
38867 ac_cpp='$CPP $CPPFLAGS'
38868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38871
38872
38873 fi
38874
38875 fi
38876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38877 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38878
38879 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38880 for ac_func in _qfpclass
38881 do :
38882 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38883 if test "x$ac_cv_func__qfpclass" = x""yes; then :
38884 cat >>confdefs.h <<_ACEOF
38885 #define HAVE__QFPCLASS 1
38886 _ACEOF
38887
38888 fi
38889 done
38890
38891 fi
38892 fi
38893
38894
38895
38896
38897
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38899 $as_echo_n "checking for hypot declaration... " >&6; }
38900 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38901 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38904
38905
38906 ac_ext=cpp
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38911
38912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38913 /* end confdefs.h. */
38914 #include <math.h>
38915 int
38916 main ()
38917 {
38918 hypot(0, 0);
38919 ;
38920 return 0;
38921 }
38922 _ACEOF
38923 if ac_fn_cxx_try_compile "$LINENO"; then :
38924 glibcxx_cv_func_hypot_use=yes
38925 else
38926 glibcxx_cv_func_hypot_use=no
38927 fi
38928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38929 ac_ext=c
38930 ac_cpp='$CPP $CPPFLAGS'
38931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38934
38935
38936 fi
38937
38938 fi
38939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
38940 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
38941
38942 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
38943 for ac_func in hypot
38944 do :
38945 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
38946 if test "x$ac_cv_func_hypot" = x""yes; then :
38947 cat >>confdefs.h <<_ACEOF
38948 #define HAVE_HYPOT 1
38949 _ACEOF
38950
38951 fi
38952 done
38953
38954 else
38955
38956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
38957 $as_echo_n "checking for _hypot declaration... " >&6; }
38958 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
38959 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
38960 $as_echo_n "(cached) " >&6
38961 else
38962
38963
38964 ac_ext=cpp
38965 ac_cpp='$CXXCPP $CPPFLAGS'
38966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38969
38970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38971 /* end confdefs.h. */
38972 #include <math.h>
38973 int
38974 main ()
38975 {
38976 _hypot(0, 0);
38977 ;
38978 return 0;
38979 }
38980 _ACEOF
38981 if ac_fn_cxx_try_compile "$LINENO"; then :
38982 glibcxx_cv_func__hypot_use=yes
38983 else
38984 glibcxx_cv_func__hypot_use=no
38985 fi
38986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38987 ac_ext=c
38988 ac_cpp='$CPP $CPPFLAGS'
38989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38992
38993
38994 fi
38995
38996 fi
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
38998 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
38999
39000 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39001 for ac_func in _hypot
39002 do :
39003 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39004 if test "x$ac_cv_func__hypot" = x""yes; then :
39005 cat >>confdefs.h <<_ACEOF
39006 #define HAVE__HYPOT 1
39007 _ACEOF
39008
39009 fi
39010 done
39011
39012 fi
39013 fi
39014
39015
39016
39017
39018
39019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39020 $as_echo_n "checking for float trig functions... " >&6; }
39021 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39022 $as_echo_n "(cached) " >&6
39023 else
39024
39025
39026 ac_ext=cpp
39027 ac_cpp='$CXXCPP $CPPFLAGS'
39028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39031
39032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39033 /* end confdefs.h. */
39034 #include <math.h>
39035 int
39036 main ()
39037 {
39038 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39039 ;
39040 return 0;
39041 }
39042 _ACEOF
39043 if ac_fn_cxx_try_compile "$LINENO"; then :
39044 glibcxx_cv_func_float_trig_use=yes
39045 else
39046 glibcxx_cv_func_float_trig_use=no
39047 fi
39048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39049 ac_ext=c
39050 ac_cpp='$CPP $CPPFLAGS'
39051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39054
39055 fi
39056
39057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39058 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39059 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39060 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39061 do :
39062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39064 eval as_val=\$$as_ac_var
39065 if test "x$as_val" = x""yes; then :
39066 cat >>confdefs.h <<_ACEOF
39067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39068 _ACEOF
39069
39070 fi
39071 done
39072
39073 else
39074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39075 $as_echo_n "checking for _float trig functions... " >&6; }
39076 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39079
39080
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 int
39091 main ()
39092 {
39093 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39094 ;
39095 return 0;
39096 }
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func__float_trig_use=yes
39100 else
39101 glibcxx_cv_func__float_trig_use=no
39102 fi
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39109
39110 fi
39111
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39113 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39114 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39115 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39116 do :
39117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39119 eval as_val=\$$as_ac_var
39120 if test "x$as_val" = x""yes; then :
39121 cat >>confdefs.h <<_ACEOF
39122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39123 _ACEOF
39124
39125 fi
39126 done
39127
39128 fi
39129 fi
39130
39131
39132
39133
39134
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39136 $as_echo_n "checking for float round functions... " >&6; }
39137 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39138 $as_echo_n "(cached) " >&6
39139 else
39140
39141
39142 ac_ext=cpp
39143 ac_cpp='$CXXCPP $CPPFLAGS'
39144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39147
39148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39149 /* end confdefs.h. */
39150 #include <math.h>
39151 int
39152 main ()
39153 {
39154 ceilf (0); floorf (0);
39155 ;
39156 return 0;
39157 }
39158 _ACEOF
39159 if ac_fn_cxx_try_compile "$LINENO"; then :
39160 glibcxx_cv_func_float_round_use=yes
39161 else
39162 glibcxx_cv_func_float_round_use=no
39163 fi
39164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39165 ac_ext=c
39166 ac_cpp='$CPP $CPPFLAGS'
39167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39170
39171 fi
39172
39173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39174 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39175 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39176 for ac_func in ceilf floorf
39177 do :
39178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39180 eval as_val=\$$as_ac_var
39181 if test "x$as_val" = x""yes; then :
39182 cat >>confdefs.h <<_ACEOF
39183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39184 _ACEOF
39185
39186 fi
39187 done
39188
39189 else
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39191 $as_echo_n "checking for _float round functions... " >&6; }
39192 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39193 $as_echo_n "(cached) " >&6
39194 else
39195
39196
39197 ac_ext=cpp
39198 ac_cpp='$CXXCPP $CPPFLAGS'
39199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39202
39203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39204 /* end confdefs.h. */
39205 #include <math.h>
39206 int
39207 main ()
39208 {
39209 _ceilf (0); _floorf (0);
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 if ac_fn_cxx_try_compile "$LINENO"; then :
39215 glibcxx_cv_func__float_round_use=yes
39216 else
39217 glibcxx_cv_func__float_round_use=no
39218 fi
39219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39220 ac_ext=c
39221 ac_cpp='$CPP $CPPFLAGS'
39222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39225
39226 fi
39227
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39229 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39230 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39231 for ac_func in _ceilf _floorf
39232 do :
39233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39235 eval as_val=\$$as_ac_var
39236 if test "x$as_val" = x""yes; then :
39237 cat >>confdefs.h <<_ACEOF
39238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39239 _ACEOF
39240
39241 fi
39242 done
39243
39244 fi
39245 fi
39246
39247
39248
39249
39250
39251
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39253 $as_echo_n "checking for expf declaration... " >&6; }
39254 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39255 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39256 $as_echo_n "(cached) " >&6
39257 else
39258
39259
39260 ac_ext=cpp
39261 ac_cpp='$CXXCPP $CPPFLAGS'
39262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39265
39266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39267 /* end confdefs.h. */
39268 #include <math.h>
39269 #ifdef HAVE_IEEEFP_H
39270 #include <ieeefp.h>
39271 #endif
39272
39273 int
39274 main ()
39275 {
39276 expf(0);
39277 ;
39278 return 0;
39279 }
39280 _ACEOF
39281 if ac_fn_cxx_try_compile "$LINENO"; then :
39282 glibcxx_cv_func_expf_use=yes
39283 else
39284 glibcxx_cv_func_expf_use=no
39285 fi
39286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39287 ac_ext=c
39288 ac_cpp='$CPP $CPPFLAGS'
39289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39292
39293
39294 fi
39295
39296 fi
39297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39298 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39299
39300 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39301 for ac_func in expf
39302 do :
39303 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39304 if test "x$ac_cv_func_expf" = x""yes; then :
39305 cat >>confdefs.h <<_ACEOF
39306 #define HAVE_EXPF 1
39307 _ACEOF
39308
39309 fi
39310 done
39311
39312 else
39313
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39315 $as_echo_n "checking for _expf declaration... " >&6; }
39316 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39317 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39318 $as_echo_n "(cached) " >&6
39319 else
39320
39321
39322 ac_ext=cpp
39323 ac_cpp='$CXXCPP $CPPFLAGS'
39324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39327
39328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39329 /* end confdefs.h. */
39330 #include <math.h>
39331 #ifdef HAVE_IEEEFP_H
39332 #include <ieeefp.h>
39333 #endif
39334
39335 int
39336 main ()
39337 {
39338 _expf(0);
39339 ;
39340 return 0;
39341 }
39342 _ACEOF
39343 if ac_fn_cxx_try_compile "$LINENO"; then :
39344 glibcxx_cv_func__expf_use=yes
39345 else
39346 glibcxx_cv_func__expf_use=no
39347 fi
39348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39349 ac_ext=c
39350 ac_cpp='$CPP $CPPFLAGS'
39351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39354
39355
39356 fi
39357
39358 fi
39359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39360 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39361
39362 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39363 for ac_func in _expf
39364 do :
39365 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39366 if test "x$ac_cv_func__expf" = x""yes; then :
39367 cat >>confdefs.h <<_ACEOF
39368 #define HAVE__EXPF 1
39369 _ACEOF
39370
39371 fi
39372 done
39373
39374 fi
39375 fi
39376
39377
39378
39379
39380
39381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39382 $as_echo_n "checking for isnanf declaration... " >&6; }
39383 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39384 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39385 $as_echo_n "(cached) " >&6
39386 else
39387
39388
39389 ac_ext=cpp
39390 ac_cpp='$CXXCPP $CPPFLAGS'
39391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394
39395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39396 /* end confdefs.h. */
39397 #include <math.h>
39398 #ifdef HAVE_IEEEFP_H
39399 #include <ieeefp.h>
39400 #endif
39401
39402 int
39403 main ()
39404 {
39405 isnanf(0);
39406 ;
39407 return 0;
39408 }
39409 _ACEOF
39410 if ac_fn_cxx_try_compile "$LINENO"; then :
39411 glibcxx_cv_func_isnanf_use=yes
39412 else
39413 glibcxx_cv_func_isnanf_use=no
39414 fi
39415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39416 ac_ext=c
39417 ac_cpp='$CPP $CPPFLAGS'
39418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39421
39422
39423 fi
39424
39425 fi
39426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39427 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39428
39429 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39430 for ac_func in isnanf
39431 do :
39432 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39433 if test "x$ac_cv_func_isnanf" = x""yes; then :
39434 cat >>confdefs.h <<_ACEOF
39435 #define HAVE_ISNANF 1
39436 _ACEOF
39437
39438 fi
39439 done
39440
39441 else
39442
39443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39444 $as_echo_n "checking for _isnanf declaration... " >&6; }
39445 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39446 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39447 $as_echo_n "(cached) " >&6
39448 else
39449
39450
39451 ac_ext=cpp
39452 ac_cpp='$CXXCPP $CPPFLAGS'
39453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39456
39457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39458 /* end confdefs.h. */
39459 #include <math.h>
39460 #ifdef HAVE_IEEEFP_H
39461 #include <ieeefp.h>
39462 #endif
39463
39464 int
39465 main ()
39466 {
39467 _isnanf(0);
39468 ;
39469 return 0;
39470 }
39471 _ACEOF
39472 if ac_fn_cxx_try_compile "$LINENO"; then :
39473 glibcxx_cv_func__isnanf_use=yes
39474 else
39475 glibcxx_cv_func__isnanf_use=no
39476 fi
39477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39478 ac_ext=c
39479 ac_cpp='$CPP $CPPFLAGS'
39480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39483
39484
39485 fi
39486
39487 fi
39488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39489 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39490
39491 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39492 for ac_func in _isnanf
39493 do :
39494 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39495 if test "x$ac_cv_func__isnanf" = x""yes; then :
39496 cat >>confdefs.h <<_ACEOF
39497 #define HAVE__ISNANF 1
39498 _ACEOF
39499
39500 fi
39501 done
39502
39503 fi
39504 fi
39505
39506
39507
39508
39509
39510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39511 $as_echo_n "checking for isinff declaration... " >&6; }
39512 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39513 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39514 $as_echo_n "(cached) " >&6
39515 else
39516
39517
39518 ac_ext=cpp
39519 ac_cpp='$CXXCPP $CPPFLAGS'
39520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39523
39524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39525 /* end confdefs.h. */
39526 #include <math.h>
39527 #ifdef HAVE_IEEEFP_H
39528 #include <ieeefp.h>
39529 #endif
39530
39531 int
39532 main ()
39533 {
39534 isinff(0);
39535 ;
39536 return 0;
39537 }
39538 _ACEOF
39539 if ac_fn_cxx_try_compile "$LINENO"; then :
39540 glibcxx_cv_func_isinff_use=yes
39541 else
39542 glibcxx_cv_func_isinff_use=no
39543 fi
39544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39550
39551
39552 fi
39553
39554 fi
39555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39556 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39557
39558 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39559 for ac_func in isinff
39560 do :
39561 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39562 if test "x$ac_cv_func_isinff" = x""yes; then :
39563 cat >>confdefs.h <<_ACEOF
39564 #define HAVE_ISINFF 1
39565 _ACEOF
39566
39567 fi
39568 done
39569
39570 else
39571
39572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39573 $as_echo_n "checking for _isinff declaration... " >&6; }
39574 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39575 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39576 $as_echo_n "(cached) " >&6
39577 else
39578
39579
39580 ac_ext=cpp
39581 ac_cpp='$CXXCPP $CPPFLAGS'
39582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39585
39586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39587 /* end confdefs.h. */
39588 #include <math.h>
39589 #ifdef HAVE_IEEEFP_H
39590 #include <ieeefp.h>
39591 #endif
39592
39593 int
39594 main ()
39595 {
39596 _isinff(0);
39597 ;
39598 return 0;
39599 }
39600 _ACEOF
39601 if ac_fn_cxx_try_compile "$LINENO"; then :
39602 glibcxx_cv_func__isinff_use=yes
39603 else
39604 glibcxx_cv_func__isinff_use=no
39605 fi
39606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39607 ac_ext=c
39608 ac_cpp='$CPP $CPPFLAGS'
39609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39612
39613
39614 fi
39615
39616 fi
39617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39618 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39619
39620 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39621 for ac_func in _isinff
39622 do :
39623 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39624 if test "x$ac_cv_func__isinff" = x""yes; then :
39625 cat >>confdefs.h <<_ACEOF
39626 #define HAVE__ISINFF 1
39627 _ACEOF
39628
39629 fi
39630 done
39631
39632 fi
39633 fi
39634
39635
39636
39637
39638
39639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39640 $as_echo_n "checking for atan2f declaration... " >&6; }
39641 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39642 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39643 $as_echo_n "(cached) " >&6
39644 else
39645
39646
39647 ac_ext=cpp
39648 ac_cpp='$CXXCPP $CPPFLAGS'
39649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39652
39653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39654 /* end confdefs.h. */
39655 #include <math.h>
39656 int
39657 main ()
39658 {
39659 atan2f(0, 0);
39660 ;
39661 return 0;
39662 }
39663 _ACEOF
39664 if ac_fn_cxx_try_compile "$LINENO"; then :
39665 glibcxx_cv_func_atan2f_use=yes
39666 else
39667 glibcxx_cv_func_atan2f_use=no
39668 fi
39669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39670 ac_ext=c
39671 ac_cpp='$CPP $CPPFLAGS'
39672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39675
39676
39677 fi
39678
39679 fi
39680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39681 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39682
39683 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39684 for ac_func in atan2f
39685 do :
39686 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39687 if test "x$ac_cv_func_atan2f" = x""yes; then :
39688 cat >>confdefs.h <<_ACEOF
39689 #define HAVE_ATAN2F 1
39690 _ACEOF
39691
39692 fi
39693 done
39694
39695 else
39696
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39698 $as_echo_n "checking for _atan2f declaration... " >&6; }
39699 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39700 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39701 $as_echo_n "(cached) " >&6
39702 else
39703
39704
39705 ac_ext=cpp
39706 ac_cpp='$CXXCPP $CPPFLAGS'
39707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39710
39711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39712 /* end confdefs.h. */
39713 #include <math.h>
39714 int
39715 main ()
39716 {
39717 _atan2f(0, 0);
39718 ;
39719 return 0;
39720 }
39721 _ACEOF
39722 if ac_fn_cxx_try_compile "$LINENO"; then :
39723 glibcxx_cv_func__atan2f_use=yes
39724 else
39725 glibcxx_cv_func__atan2f_use=no
39726 fi
39727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39728 ac_ext=c
39729 ac_cpp='$CPP $CPPFLAGS'
39730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39733
39734
39735 fi
39736
39737 fi
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39739 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39740
39741 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39742 for ac_func in _atan2f
39743 do :
39744 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39745 if test "x$ac_cv_func__atan2f" = x""yes; then :
39746 cat >>confdefs.h <<_ACEOF
39747 #define HAVE__ATAN2F 1
39748 _ACEOF
39749
39750 fi
39751 done
39752
39753 fi
39754 fi
39755
39756
39757
39758
39759
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39761 $as_echo_n "checking for fabsf declaration... " >&6; }
39762 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39763 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39764 $as_echo_n "(cached) " >&6
39765 else
39766
39767
39768 ac_ext=cpp
39769 ac_cpp='$CXXCPP $CPPFLAGS'
39770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39773
39774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39775 /* end confdefs.h. */
39776 #include <math.h>
39777 #ifdef HAVE_IEEEFP_H
39778 #include <ieeefp.h>
39779 #endif
39780
39781 int
39782 main ()
39783 {
39784 fabsf(0);
39785 ;
39786 return 0;
39787 }
39788 _ACEOF
39789 if ac_fn_cxx_try_compile "$LINENO"; then :
39790 glibcxx_cv_func_fabsf_use=yes
39791 else
39792 glibcxx_cv_func_fabsf_use=no
39793 fi
39794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39795 ac_ext=c
39796 ac_cpp='$CPP $CPPFLAGS'
39797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39800
39801
39802 fi
39803
39804 fi
39805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39806 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39807
39808 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39809 for ac_func in fabsf
39810 do :
39811 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39812 if test "x$ac_cv_func_fabsf" = x""yes; then :
39813 cat >>confdefs.h <<_ACEOF
39814 #define HAVE_FABSF 1
39815 _ACEOF
39816
39817 fi
39818 done
39819
39820 else
39821
39822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39823 $as_echo_n "checking for _fabsf declaration... " >&6; }
39824 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39825 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39826 $as_echo_n "(cached) " >&6
39827 else
39828
39829
39830 ac_ext=cpp
39831 ac_cpp='$CXXCPP $CPPFLAGS'
39832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39835
39836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39837 /* end confdefs.h. */
39838 #include <math.h>
39839 #ifdef HAVE_IEEEFP_H
39840 #include <ieeefp.h>
39841 #endif
39842
39843 int
39844 main ()
39845 {
39846 _fabsf(0);
39847 ;
39848 return 0;
39849 }
39850 _ACEOF
39851 if ac_fn_cxx_try_compile "$LINENO"; then :
39852 glibcxx_cv_func__fabsf_use=yes
39853 else
39854 glibcxx_cv_func__fabsf_use=no
39855 fi
39856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39857 ac_ext=c
39858 ac_cpp='$CPP $CPPFLAGS'
39859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39862
39863
39864 fi
39865
39866 fi
39867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39868 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39869
39870 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39871 for ac_func in _fabsf
39872 do :
39873 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39874 if test "x$ac_cv_func__fabsf" = x""yes; then :
39875 cat >>confdefs.h <<_ACEOF
39876 #define HAVE__FABSF 1
39877 _ACEOF
39878
39879 fi
39880 done
39881
39882 fi
39883 fi
39884
39885
39886
39887
39888
39889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39890 $as_echo_n "checking for fmodf declaration... " >&6; }
39891 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39892 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
39893 $as_echo_n "(cached) " >&6
39894 else
39895
39896
39897 ac_ext=cpp
39898 ac_cpp='$CXXCPP $CPPFLAGS'
39899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39902
39903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39904 /* end confdefs.h. */
39905 #include <math.h>
39906 int
39907 main ()
39908 {
39909 fmodf(0, 0);
39910 ;
39911 return 0;
39912 }
39913 _ACEOF
39914 if ac_fn_cxx_try_compile "$LINENO"; then :
39915 glibcxx_cv_func_fmodf_use=yes
39916 else
39917 glibcxx_cv_func_fmodf_use=no
39918 fi
39919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39920 ac_ext=c
39921 ac_cpp='$CPP $CPPFLAGS'
39922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39925
39926
39927 fi
39928
39929 fi
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
39931 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
39932
39933 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
39934 for ac_func in fmodf
39935 do :
39936 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
39937 if test "x$ac_cv_func_fmodf" = x""yes; then :
39938 cat >>confdefs.h <<_ACEOF
39939 #define HAVE_FMODF 1
39940 _ACEOF
39941
39942 fi
39943 done
39944
39945 else
39946
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
39948 $as_echo_n "checking for _fmodf declaration... " >&6; }
39949 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
39950 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
39951 $as_echo_n "(cached) " >&6
39952 else
39953
39954
39955 ac_ext=cpp
39956 ac_cpp='$CXXCPP $CPPFLAGS'
39957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39960
39961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39962 /* end confdefs.h. */
39963 #include <math.h>
39964 int
39965 main ()
39966 {
39967 _fmodf(0, 0);
39968 ;
39969 return 0;
39970 }
39971 _ACEOF
39972 if ac_fn_cxx_try_compile "$LINENO"; then :
39973 glibcxx_cv_func__fmodf_use=yes
39974 else
39975 glibcxx_cv_func__fmodf_use=no
39976 fi
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978 ac_ext=c
39979 ac_cpp='$CPP $CPPFLAGS'
39980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39983
39984
39985 fi
39986
39987 fi
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
39989 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
39990
39991 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
39992 for ac_func in _fmodf
39993 do :
39994 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
39995 if test "x$ac_cv_func__fmodf" = x""yes; then :
39996 cat >>confdefs.h <<_ACEOF
39997 #define HAVE__FMODF 1
39998 _ACEOF
39999
40000 fi
40001 done
40002
40003 fi
40004 fi
40005
40006
40007
40008
40009
40010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40011 $as_echo_n "checking for frexpf declaration... " >&6; }
40012 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40013 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40014 $as_echo_n "(cached) " >&6
40015 else
40016
40017
40018 ac_ext=cpp
40019 ac_cpp='$CXXCPP $CPPFLAGS'
40020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40023
40024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40025 /* end confdefs.h. */
40026 #include <math.h>
40027 int
40028 main ()
40029 {
40030 frexpf(0, 0);
40031 ;
40032 return 0;
40033 }
40034 _ACEOF
40035 if ac_fn_cxx_try_compile "$LINENO"; then :
40036 glibcxx_cv_func_frexpf_use=yes
40037 else
40038 glibcxx_cv_func_frexpf_use=no
40039 fi
40040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40041 ac_ext=c
40042 ac_cpp='$CPP $CPPFLAGS'
40043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40046
40047
40048 fi
40049
40050 fi
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40052 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40053
40054 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40055 for ac_func in frexpf
40056 do :
40057 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40058 if test "x$ac_cv_func_frexpf" = x""yes; then :
40059 cat >>confdefs.h <<_ACEOF
40060 #define HAVE_FREXPF 1
40061 _ACEOF
40062
40063 fi
40064 done
40065
40066 else
40067
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40069 $as_echo_n "checking for _frexpf declaration... " >&6; }
40070 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40071 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40072 $as_echo_n "(cached) " >&6
40073 else
40074
40075
40076 ac_ext=cpp
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40081
40082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40083 /* end confdefs.h. */
40084 #include <math.h>
40085 int
40086 main ()
40087 {
40088 _frexpf(0, 0);
40089 ;
40090 return 0;
40091 }
40092 _ACEOF
40093 if ac_fn_cxx_try_compile "$LINENO"; then :
40094 glibcxx_cv_func__frexpf_use=yes
40095 else
40096 glibcxx_cv_func__frexpf_use=no
40097 fi
40098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40099 ac_ext=c
40100 ac_cpp='$CPP $CPPFLAGS'
40101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40104
40105
40106 fi
40107
40108 fi
40109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40110 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40111
40112 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40113 for ac_func in _frexpf
40114 do :
40115 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40116 if test "x$ac_cv_func__frexpf" = x""yes; then :
40117 cat >>confdefs.h <<_ACEOF
40118 #define HAVE__FREXPF 1
40119 _ACEOF
40120
40121 fi
40122 done
40123
40124 fi
40125 fi
40126
40127
40128
40129
40130
40131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40132 $as_echo_n "checking for hypotf declaration... " >&6; }
40133 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40134 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40135 $as_echo_n "(cached) " >&6
40136 else
40137
40138
40139 ac_ext=cpp
40140 ac_cpp='$CXXCPP $CPPFLAGS'
40141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40144
40145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40146 /* end confdefs.h. */
40147 #include <math.h>
40148 int
40149 main ()
40150 {
40151 hypotf(0, 0);
40152 ;
40153 return 0;
40154 }
40155 _ACEOF
40156 if ac_fn_cxx_try_compile "$LINENO"; then :
40157 glibcxx_cv_func_hypotf_use=yes
40158 else
40159 glibcxx_cv_func_hypotf_use=no
40160 fi
40161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40162 ac_ext=c
40163 ac_cpp='$CPP $CPPFLAGS'
40164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40167
40168
40169 fi
40170
40171 fi
40172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40173 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40174
40175 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40176 for ac_func in hypotf
40177 do :
40178 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40179 if test "x$ac_cv_func_hypotf" = x""yes; then :
40180 cat >>confdefs.h <<_ACEOF
40181 #define HAVE_HYPOTF 1
40182 _ACEOF
40183
40184 fi
40185 done
40186
40187 else
40188
40189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40190 $as_echo_n "checking for _hypotf declaration... " >&6; }
40191 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40192 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40193 $as_echo_n "(cached) " >&6
40194 else
40195
40196
40197 ac_ext=cpp
40198 ac_cpp='$CXXCPP $CPPFLAGS'
40199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40202
40203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40204 /* end confdefs.h. */
40205 #include <math.h>
40206 int
40207 main ()
40208 {
40209 _hypotf(0, 0);
40210 ;
40211 return 0;
40212 }
40213 _ACEOF
40214 if ac_fn_cxx_try_compile "$LINENO"; then :
40215 glibcxx_cv_func__hypotf_use=yes
40216 else
40217 glibcxx_cv_func__hypotf_use=no
40218 fi
40219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40220 ac_ext=c
40221 ac_cpp='$CPP $CPPFLAGS'
40222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40225
40226
40227 fi
40228
40229 fi
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40231 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40232
40233 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40234 for ac_func in _hypotf
40235 do :
40236 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40237 if test "x$ac_cv_func__hypotf" = x""yes; then :
40238 cat >>confdefs.h <<_ACEOF
40239 #define HAVE__HYPOTF 1
40240 _ACEOF
40241
40242 fi
40243 done
40244
40245 fi
40246 fi
40247
40248
40249
40250
40251
40252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40253 $as_echo_n "checking for ldexpf declaration... " >&6; }
40254 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40255 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40256 $as_echo_n "(cached) " >&6
40257 else
40258
40259
40260 ac_ext=cpp
40261 ac_cpp='$CXXCPP $CPPFLAGS'
40262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40265
40266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40267 /* end confdefs.h. */
40268 #include <math.h>
40269 int
40270 main ()
40271 {
40272 ldexpf(0, 0);
40273 ;
40274 return 0;
40275 }
40276 _ACEOF
40277 if ac_fn_cxx_try_compile "$LINENO"; then :
40278 glibcxx_cv_func_ldexpf_use=yes
40279 else
40280 glibcxx_cv_func_ldexpf_use=no
40281 fi
40282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40283 ac_ext=c
40284 ac_cpp='$CPP $CPPFLAGS'
40285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40288
40289
40290 fi
40291
40292 fi
40293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40294 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40295
40296 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40297 for ac_func in ldexpf
40298 do :
40299 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40300 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40301 cat >>confdefs.h <<_ACEOF
40302 #define HAVE_LDEXPF 1
40303 _ACEOF
40304
40305 fi
40306 done
40307
40308 else
40309
40310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40311 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40312 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40313 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40314 $as_echo_n "(cached) " >&6
40315 else
40316
40317
40318 ac_ext=cpp
40319 ac_cpp='$CXXCPP $CPPFLAGS'
40320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40323
40324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40325 /* end confdefs.h. */
40326 #include <math.h>
40327 int
40328 main ()
40329 {
40330 _ldexpf(0, 0);
40331 ;
40332 return 0;
40333 }
40334 _ACEOF
40335 if ac_fn_cxx_try_compile "$LINENO"; then :
40336 glibcxx_cv_func__ldexpf_use=yes
40337 else
40338 glibcxx_cv_func__ldexpf_use=no
40339 fi
40340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40341 ac_ext=c
40342 ac_cpp='$CPP $CPPFLAGS'
40343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40346
40347
40348 fi
40349
40350 fi
40351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40352 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40353
40354 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40355 for ac_func in _ldexpf
40356 do :
40357 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40358 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40359 cat >>confdefs.h <<_ACEOF
40360 #define HAVE__LDEXPF 1
40361 _ACEOF
40362
40363 fi
40364 done
40365
40366 fi
40367 fi
40368
40369
40370
40371
40372
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40374 $as_echo_n "checking for logf declaration... " >&6; }
40375 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40376 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40379
40380
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40386
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40390 #ifdef HAVE_IEEEFP_H
40391 #include <ieeefp.h>
40392 #endif
40393
40394 int
40395 main ()
40396 {
40397 logf(0);
40398 ;
40399 return 0;
40400 }
40401 _ACEOF
40402 if ac_fn_cxx_try_compile "$LINENO"; then :
40403 glibcxx_cv_func_logf_use=yes
40404 else
40405 glibcxx_cv_func_logf_use=no
40406 fi
40407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40408 ac_ext=c
40409 ac_cpp='$CPP $CPPFLAGS'
40410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40413
40414
40415 fi
40416
40417 fi
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40419 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40420
40421 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40422 for ac_func in logf
40423 do :
40424 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40425 if test "x$ac_cv_func_logf" = x""yes; then :
40426 cat >>confdefs.h <<_ACEOF
40427 #define HAVE_LOGF 1
40428 _ACEOF
40429
40430 fi
40431 done
40432
40433 else
40434
40435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40436 $as_echo_n "checking for _logf declaration... " >&6; }
40437 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40438 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40439 $as_echo_n "(cached) " >&6
40440 else
40441
40442
40443 ac_ext=cpp
40444 ac_cpp='$CXXCPP $CPPFLAGS'
40445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40448
40449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40450 /* end confdefs.h. */
40451 #include <math.h>
40452 #ifdef HAVE_IEEEFP_H
40453 #include <ieeefp.h>
40454 #endif
40455
40456 int
40457 main ()
40458 {
40459 _logf(0);
40460 ;
40461 return 0;
40462 }
40463 _ACEOF
40464 if ac_fn_cxx_try_compile "$LINENO"; then :
40465 glibcxx_cv_func__logf_use=yes
40466 else
40467 glibcxx_cv_func__logf_use=no
40468 fi
40469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40470 ac_ext=c
40471 ac_cpp='$CPP $CPPFLAGS'
40472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40475
40476
40477 fi
40478
40479 fi
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40481 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40482
40483 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40484 for ac_func in _logf
40485 do :
40486 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40487 if test "x$ac_cv_func__logf" = x""yes; then :
40488 cat >>confdefs.h <<_ACEOF
40489 #define HAVE__LOGF 1
40490 _ACEOF
40491
40492 fi
40493 done
40494
40495 fi
40496 fi
40497
40498
40499
40500
40501
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40503 $as_echo_n "checking for log10f declaration... " >&6; }
40504 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40505 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40506 $as_echo_n "(cached) " >&6
40507 else
40508
40509
40510 ac_ext=cpp
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40515
40516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40517 /* end confdefs.h. */
40518 #include <math.h>
40519 #ifdef HAVE_IEEEFP_H
40520 #include <ieeefp.h>
40521 #endif
40522
40523 int
40524 main ()
40525 {
40526 log10f(0);
40527 ;
40528 return 0;
40529 }
40530 _ACEOF
40531 if ac_fn_cxx_try_compile "$LINENO"; then :
40532 glibcxx_cv_func_log10f_use=yes
40533 else
40534 glibcxx_cv_func_log10f_use=no
40535 fi
40536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 ac_ext=c
40538 ac_cpp='$CPP $CPPFLAGS'
40539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40542
40543
40544 fi
40545
40546 fi
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40548 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40549
40550 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40551 for ac_func in log10f
40552 do :
40553 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40554 if test "x$ac_cv_func_log10f" = x""yes; then :
40555 cat >>confdefs.h <<_ACEOF
40556 #define HAVE_LOG10F 1
40557 _ACEOF
40558
40559 fi
40560 done
40561
40562 else
40563
40564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40565 $as_echo_n "checking for _log10f declaration... " >&6; }
40566 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40567 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40568 $as_echo_n "(cached) " >&6
40569 else
40570
40571
40572 ac_ext=cpp
40573 ac_cpp='$CXXCPP $CPPFLAGS'
40574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40577
40578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40579 /* end confdefs.h. */
40580 #include <math.h>
40581 #ifdef HAVE_IEEEFP_H
40582 #include <ieeefp.h>
40583 #endif
40584
40585 int
40586 main ()
40587 {
40588 _log10f(0);
40589 ;
40590 return 0;
40591 }
40592 _ACEOF
40593 if ac_fn_cxx_try_compile "$LINENO"; then :
40594 glibcxx_cv_func__log10f_use=yes
40595 else
40596 glibcxx_cv_func__log10f_use=no
40597 fi
40598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40599 ac_ext=c
40600 ac_cpp='$CPP $CPPFLAGS'
40601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40604
40605
40606 fi
40607
40608 fi
40609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40610 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40611
40612 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40613 for ac_func in _log10f
40614 do :
40615 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40616 if test "x$ac_cv_func__log10f" = x""yes; then :
40617 cat >>confdefs.h <<_ACEOF
40618 #define HAVE__LOG10F 1
40619 _ACEOF
40620
40621 fi
40622 done
40623
40624 fi
40625 fi
40626
40627
40628
40629
40630
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40632 $as_echo_n "checking for modff declaration... " >&6; }
40633 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40634 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40635 $as_echo_n "(cached) " >&6
40636 else
40637
40638
40639 ac_ext=cpp
40640 ac_cpp='$CXXCPP $CPPFLAGS'
40641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40644
40645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40646 /* end confdefs.h. */
40647 #include <math.h>
40648 int
40649 main ()
40650 {
40651 modff(0, 0);
40652 ;
40653 return 0;
40654 }
40655 _ACEOF
40656 if ac_fn_cxx_try_compile "$LINENO"; then :
40657 glibcxx_cv_func_modff_use=yes
40658 else
40659 glibcxx_cv_func_modff_use=no
40660 fi
40661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40662 ac_ext=c
40663 ac_cpp='$CPP $CPPFLAGS'
40664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40667
40668
40669 fi
40670
40671 fi
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40673 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40674
40675 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40676 for ac_func in modff
40677 do :
40678 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40679 if test "x$ac_cv_func_modff" = x""yes; then :
40680 cat >>confdefs.h <<_ACEOF
40681 #define HAVE_MODFF 1
40682 _ACEOF
40683
40684 fi
40685 done
40686
40687 else
40688
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40690 $as_echo_n "checking for _modff declaration... " >&6; }
40691 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40692 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40693 $as_echo_n "(cached) " >&6
40694 else
40695
40696
40697 ac_ext=cpp
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40702
40703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40704 /* end confdefs.h. */
40705 #include <math.h>
40706 int
40707 main ()
40708 {
40709 _modff(0, 0);
40710 ;
40711 return 0;
40712 }
40713 _ACEOF
40714 if ac_fn_cxx_try_compile "$LINENO"; then :
40715 glibcxx_cv_func__modff_use=yes
40716 else
40717 glibcxx_cv_func__modff_use=no
40718 fi
40719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40720 ac_ext=c
40721 ac_cpp='$CPP $CPPFLAGS'
40722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40725
40726
40727 fi
40728
40729 fi
40730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40731 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40732
40733 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40734 for ac_func in _modff
40735 do :
40736 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40737 if test "x$ac_cv_func__modff" = x""yes; then :
40738 cat >>confdefs.h <<_ACEOF
40739 #define HAVE__MODFF 1
40740 _ACEOF
40741
40742 fi
40743 done
40744
40745 fi
40746 fi
40747
40748
40749
40750
40751
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40753 $as_echo_n "checking for modf declaration... " >&6; }
40754 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40755 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40756 $as_echo_n "(cached) " >&6
40757 else
40758
40759
40760 ac_ext=cpp
40761 ac_cpp='$CXXCPP $CPPFLAGS'
40762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40765
40766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40767 /* end confdefs.h. */
40768 #include <math.h>
40769 int
40770 main ()
40771 {
40772 modf(0, 0);
40773 ;
40774 return 0;
40775 }
40776 _ACEOF
40777 if ac_fn_cxx_try_compile "$LINENO"; then :
40778 glibcxx_cv_func_modf_use=yes
40779 else
40780 glibcxx_cv_func_modf_use=no
40781 fi
40782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40783 ac_ext=c
40784 ac_cpp='$CPP $CPPFLAGS'
40785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40788
40789
40790 fi
40791
40792 fi
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40794 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40795
40796 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40797 for ac_func in modf
40798 do :
40799 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40800 if test "x$ac_cv_func_modf" = x""yes; then :
40801 cat >>confdefs.h <<_ACEOF
40802 #define HAVE_MODF 1
40803 _ACEOF
40804
40805 fi
40806 done
40807
40808 else
40809
40810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40811 $as_echo_n "checking for _modf declaration... " >&6; }
40812 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40813 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40814 $as_echo_n "(cached) " >&6
40815 else
40816
40817
40818 ac_ext=cpp
40819 ac_cpp='$CXXCPP $CPPFLAGS'
40820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40823
40824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40825 /* end confdefs.h. */
40826 #include <math.h>
40827 int
40828 main ()
40829 {
40830 _modf(0, 0);
40831 ;
40832 return 0;
40833 }
40834 _ACEOF
40835 if ac_fn_cxx_try_compile "$LINENO"; then :
40836 glibcxx_cv_func__modf_use=yes
40837 else
40838 glibcxx_cv_func__modf_use=no
40839 fi
40840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40841 ac_ext=c
40842 ac_cpp='$CPP $CPPFLAGS'
40843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40846
40847
40848 fi
40849
40850 fi
40851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40852 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40853
40854 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40855 for ac_func in _modf
40856 do :
40857 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40858 if test "x$ac_cv_func__modf" = x""yes; then :
40859 cat >>confdefs.h <<_ACEOF
40860 #define HAVE__MODF 1
40861 _ACEOF
40862
40863 fi
40864 done
40865
40866 fi
40867 fi
40868
40869
40870
40871
40872
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40874 $as_echo_n "checking for powf declaration... " >&6; }
40875 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40876 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
40877 $as_echo_n "(cached) " >&6
40878 else
40879
40880
40881 ac_ext=cpp
40882 ac_cpp='$CXXCPP $CPPFLAGS'
40883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40886
40887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40888 /* end confdefs.h. */
40889 #include <math.h>
40890 int
40891 main ()
40892 {
40893 powf(0, 0);
40894 ;
40895 return 0;
40896 }
40897 _ACEOF
40898 if ac_fn_cxx_try_compile "$LINENO"; then :
40899 glibcxx_cv_func_powf_use=yes
40900 else
40901 glibcxx_cv_func_powf_use=no
40902 fi
40903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40904 ac_ext=c
40905 ac_cpp='$CPP $CPPFLAGS'
40906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40909
40910
40911 fi
40912
40913 fi
40914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40915 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40916
40917 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40918 for ac_func in powf
40919 do :
40920 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
40921 if test "x$ac_cv_func_powf" = x""yes; then :
40922 cat >>confdefs.h <<_ACEOF
40923 #define HAVE_POWF 1
40924 _ACEOF
40925
40926 fi
40927 done
40928
40929 else
40930
40931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
40932 $as_echo_n "checking for _powf declaration... " >&6; }
40933 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40934 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
40935 $as_echo_n "(cached) " >&6
40936 else
40937
40938
40939 ac_ext=cpp
40940 ac_cpp='$CXXCPP $CPPFLAGS'
40941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40944
40945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40946 /* end confdefs.h. */
40947 #include <math.h>
40948 int
40949 main ()
40950 {
40951 _powf(0, 0);
40952 ;
40953 return 0;
40954 }
40955 _ACEOF
40956 if ac_fn_cxx_try_compile "$LINENO"; then :
40957 glibcxx_cv_func__powf_use=yes
40958 else
40959 glibcxx_cv_func__powf_use=no
40960 fi
40961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40962 ac_ext=c
40963 ac_cpp='$CPP $CPPFLAGS'
40964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40967
40968
40969 fi
40970
40971 fi
40972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
40973 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
40974
40975 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40976 for ac_func in _powf
40977 do :
40978 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
40979 if test "x$ac_cv_func__powf" = x""yes; then :
40980 cat >>confdefs.h <<_ACEOF
40981 #define HAVE__POWF 1
40982 _ACEOF
40983
40984 fi
40985 done
40986
40987 fi
40988 fi
40989
40990
40991
40992
40993
40994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
40995 $as_echo_n "checking for sqrtf declaration... " >&6; }
40996 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40997 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
40998 $as_echo_n "(cached) " >&6
40999 else
41000
41001
41002 ac_ext=cpp
41003 ac_cpp='$CXXCPP $CPPFLAGS'
41004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41007
41008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41009 /* end confdefs.h. */
41010 #include <math.h>
41011 #ifdef HAVE_IEEEFP_H
41012 #include <ieeefp.h>
41013 #endif
41014
41015 int
41016 main ()
41017 {
41018 sqrtf(0);
41019 ;
41020 return 0;
41021 }
41022 _ACEOF
41023 if ac_fn_cxx_try_compile "$LINENO"; then :
41024 glibcxx_cv_func_sqrtf_use=yes
41025 else
41026 glibcxx_cv_func_sqrtf_use=no
41027 fi
41028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41029 ac_ext=c
41030 ac_cpp='$CPP $CPPFLAGS'
41031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41034
41035
41036 fi
41037
41038 fi
41039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41040 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41041
41042 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41043 for ac_func in sqrtf
41044 do :
41045 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41046 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41047 cat >>confdefs.h <<_ACEOF
41048 #define HAVE_SQRTF 1
41049 _ACEOF
41050
41051 fi
41052 done
41053
41054 else
41055
41056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41057 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41058 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41059 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41060 $as_echo_n "(cached) " >&6
41061 else
41062
41063
41064 ac_ext=cpp
41065 ac_cpp='$CXXCPP $CPPFLAGS'
41066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41069
41070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41071 /* end confdefs.h. */
41072 #include <math.h>
41073 #ifdef HAVE_IEEEFP_H
41074 #include <ieeefp.h>
41075 #endif
41076
41077 int
41078 main ()
41079 {
41080 _sqrtf(0);
41081 ;
41082 return 0;
41083 }
41084 _ACEOF
41085 if ac_fn_cxx_try_compile "$LINENO"; then :
41086 glibcxx_cv_func__sqrtf_use=yes
41087 else
41088 glibcxx_cv_func__sqrtf_use=no
41089 fi
41090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41091 ac_ext=c
41092 ac_cpp='$CPP $CPPFLAGS'
41093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41096
41097
41098 fi
41099
41100 fi
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41102 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41103
41104 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41105 for ac_func in _sqrtf
41106 do :
41107 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41108 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41109 cat >>confdefs.h <<_ACEOF
41110 #define HAVE__SQRTF 1
41111 _ACEOF
41112
41113 fi
41114 done
41115
41116 fi
41117 fi
41118
41119
41120
41121
41122
41123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41124 $as_echo_n "checking for sincosf declaration... " >&6; }
41125 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41126 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41127 $as_echo_n "(cached) " >&6
41128 else
41129
41130
41131 ac_ext=cpp
41132 ac_cpp='$CXXCPP $CPPFLAGS'
41133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41136
41137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41138 /* end confdefs.h. */
41139 #include <math.h>
41140 int
41141 main ()
41142 {
41143 sincosf(0, 0, 0);
41144 ;
41145 return 0;
41146 }
41147 _ACEOF
41148 if ac_fn_cxx_try_compile "$LINENO"; then :
41149 glibcxx_cv_func_sincosf_use=yes
41150 else
41151 glibcxx_cv_func_sincosf_use=no
41152 fi
41153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41154 ac_ext=c
41155 ac_cpp='$CPP $CPPFLAGS'
41156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41159
41160
41161 fi
41162
41163 fi
41164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41165 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41166
41167 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41168 for ac_func in sincosf
41169 do :
41170 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41171 if test "x$ac_cv_func_sincosf" = x""yes; then :
41172 cat >>confdefs.h <<_ACEOF
41173 #define HAVE_SINCOSF 1
41174 _ACEOF
41175
41176 fi
41177 done
41178
41179 else
41180
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41182 $as_echo_n "checking for _sincosf declaration... " >&6; }
41183 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41184 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41185 $as_echo_n "(cached) " >&6
41186 else
41187
41188
41189 ac_ext=cpp
41190 ac_cpp='$CXXCPP $CPPFLAGS'
41191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41194
41195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41196 /* end confdefs.h. */
41197 #include <math.h>
41198 int
41199 main ()
41200 {
41201 _sincosf(0, 0, 0);
41202 ;
41203 return 0;
41204 }
41205 _ACEOF
41206 if ac_fn_cxx_try_compile "$LINENO"; then :
41207 glibcxx_cv_func__sincosf_use=yes
41208 else
41209 glibcxx_cv_func__sincosf_use=no
41210 fi
41211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41212 ac_ext=c
41213 ac_cpp='$CPP $CPPFLAGS'
41214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41217
41218
41219 fi
41220
41221 fi
41222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41223 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41224
41225 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41226 for ac_func in _sincosf
41227 do :
41228 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41229 if test "x$ac_cv_func__sincosf" = x""yes; then :
41230 cat >>confdefs.h <<_ACEOF
41231 #define HAVE__SINCOSF 1
41232 _ACEOF
41233
41234 fi
41235 done
41236
41237 fi
41238 fi
41239
41240
41241
41242
41243
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41245 $as_echo_n "checking for finitef declaration... " >&6; }
41246 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41247 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41248 $as_echo_n "(cached) " >&6
41249 else
41250
41251
41252 ac_ext=cpp
41253 ac_cpp='$CXXCPP $CPPFLAGS'
41254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41257
41258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41259 /* end confdefs.h. */
41260 #include <math.h>
41261 #ifdef HAVE_IEEEFP_H
41262 #include <ieeefp.h>
41263 #endif
41264
41265 int
41266 main ()
41267 {
41268 finitef(0);
41269 ;
41270 return 0;
41271 }
41272 _ACEOF
41273 if ac_fn_cxx_try_compile "$LINENO"; then :
41274 glibcxx_cv_func_finitef_use=yes
41275 else
41276 glibcxx_cv_func_finitef_use=no
41277 fi
41278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41279 ac_ext=c
41280 ac_cpp='$CPP $CPPFLAGS'
41281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41284
41285
41286 fi
41287
41288 fi
41289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41290 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41291
41292 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41293 for ac_func in finitef
41294 do :
41295 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41296 if test "x$ac_cv_func_finitef" = x""yes; then :
41297 cat >>confdefs.h <<_ACEOF
41298 #define HAVE_FINITEF 1
41299 _ACEOF
41300
41301 fi
41302 done
41303
41304 else
41305
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41307 $as_echo_n "checking for _finitef declaration... " >&6; }
41308 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41309 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41310 $as_echo_n "(cached) " >&6
41311 else
41312
41313
41314 ac_ext=cpp
41315 ac_cpp='$CXXCPP $CPPFLAGS'
41316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41319
41320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41321 /* end confdefs.h. */
41322 #include <math.h>
41323 #ifdef HAVE_IEEEFP_H
41324 #include <ieeefp.h>
41325 #endif
41326
41327 int
41328 main ()
41329 {
41330 _finitef(0);
41331 ;
41332 return 0;
41333 }
41334 _ACEOF
41335 if ac_fn_cxx_try_compile "$LINENO"; then :
41336 glibcxx_cv_func__finitef_use=yes
41337 else
41338 glibcxx_cv_func__finitef_use=no
41339 fi
41340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41341 ac_ext=c
41342 ac_cpp='$CPP $CPPFLAGS'
41343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41346
41347
41348 fi
41349
41350 fi
41351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41352 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41353
41354 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41355 for ac_func in _finitef
41356 do :
41357 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41358 if test "x$ac_cv_func__finitef" = x""yes; then :
41359 cat >>confdefs.h <<_ACEOF
41360 #define HAVE__FINITEF 1
41361 _ACEOF
41362
41363 fi
41364 done
41365
41366 fi
41367 fi
41368
41369
41370
41371
41372
41373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41374 $as_echo_n "checking for long double trig functions... " >&6; }
41375 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41376 $as_echo_n "(cached) " >&6
41377 else
41378
41379
41380 ac_ext=cpp
41381 ac_cpp='$CXXCPP $CPPFLAGS'
41382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41385
41386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41387 /* end confdefs.h. */
41388 #include <math.h>
41389 int
41390 main ()
41391 {
41392 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41393 ;
41394 return 0;
41395 }
41396 _ACEOF
41397 if ac_fn_cxx_try_compile "$LINENO"; then :
41398 glibcxx_cv_func_long_double_trig_use=yes
41399 else
41400 glibcxx_cv_func_long_double_trig_use=no
41401 fi
41402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41403 ac_ext=c
41404 ac_cpp='$CPP $CPPFLAGS'
41405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41408
41409 fi
41410
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41412 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41413 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41414 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41415 do :
41416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41418 eval as_val=\$$as_ac_var
41419 if test "x$as_val" = x""yes; then :
41420 cat >>confdefs.h <<_ACEOF
41421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41422 _ACEOF
41423
41424 fi
41425 done
41426
41427 else
41428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41429 $as_echo_n "checking for _long double trig functions... " >&6; }
41430 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41431 $as_echo_n "(cached) " >&6
41432 else
41433
41434
41435 ac_ext=cpp
41436 ac_cpp='$CXXCPP $CPPFLAGS'
41437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41440
41441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41442 /* end confdefs.h. */
41443 #include <math.h>
41444 int
41445 main ()
41446 {
41447 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41448 ;
41449 return 0;
41450 }
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func__long_double_trig_use=yes
41454 else
41455 glibcxx_cv_func__long_double_trig_use=no
41456 fi
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41463
41464 fi
41465
41466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41467 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41468 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41469 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41470 do :
41471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41473 eval as_val=\$$as_ac_var
41474 if test "x$as_val" = x""yes; then :
41475 cat >>confdefs.h <<_ACEOF
41476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41477 _ACEOF
41478
41479 fi
41480 done
41481
41482 fi
41483 fi
41484
41485
41486
41487
41488
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41490 $as_echo_n "checking for long double round functions... " >&6; }
41491 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41492 $as_echo_n "(cached) " >&6
41493 else
41494
41495
41496 ac_ext=cpp
41497 ac_cpp='$CXXCPP $CPPFLAGS'
41498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41501
41502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41503 /* end confdefs.h. */
41504 #include <math.h>
41505 int
41506 main ()
41507 {
41508 ceill (0); floorl (0);
41509 ;
41510 return 0;
41511 }
41512 _ACEOF
41513 if ac_fn_cxx_try_compile "$LINENO"; then :
41514 glibcxx_cv_func_long_double_round_use=yes
41515 else
41516 glibcxx_cv_func_long_double_round_use=no
41517 fi
41518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41519 ac_ext=c
41520 ac_cpp='$CPP $CPPFLAGS'
41521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41524
41525 fi
41526
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41528 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41529 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41530 for ac_func in ceill floorl
41531 do :
41532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41534 eval as_val=\$$as_ac_var
41535 if test "x$as_val" = x""yes; then :
41536 cat >>confdefs.h <<_ACEOF
41537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41538 _ACEOF
41539
41540 fi
41541 done
41542
41543 else
41544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41545 $as_echo_n "checking for _long double round functions... " >&6; }
41546 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41547 $as_echo_n "(cached) " >&6
41548 else
41549
41550
41551 ac_ext=cpp
41552 ac_cpp='$CXXCPP $CPPFLAGS'
41553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41556
41557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41558 /* end confdefs.h. */
41559 #include <math.h>
41560 int
41561 main ()
41562 {
41563 _ceill (0); _floorl (0);
41564 ;
41565 return 0;
41566 }
41567 _ACEOF
41568 if ac_fn_cxx_try_compile "$LINENO"; then :
41569 glibcxx_cv_func__long_double_round_use=yes
41570 else
41571 glibcxx_cv_func__long_double_round_use=no
41572 fi
41573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41574 ac_ext=c
41575 ac_cpp='$CPP $CPPFLAGS'
41576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41579
41580 fi
41581
41582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41583 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41584 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41585 for ac_func in _ceill _floorl
41586 do :
41587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41589 eval as_val=\$$as_ac_var
41590 if test "x$as_val" = x""yes; then :
41591 cat >>confdefs.h <<_ACEOF
41592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41593 _ACEOF
41594
41595 fi
41596 done
41597
41598 fi
41599 fi
41600
41601
41602
41603
41604
41605
41606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41607 $as_echo_n "checking for isnanl declaration... " >&6; }
41608 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41609 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41610 $as_echo_n "(cached) " >&6
41611 else
41612
41613
41614 ac_ext=cpp
41615 ac_cpp='$CXXCPP $CPPFLAGS'
41616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41619
41620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41621 /* end confdefs.h. */
41622 #include <math.h>
41623 #ifdef HAVE_IEEEFP_H
41624 #include <ieeefp.h>
41625 #endif
41626
41627 int
41628 main ()
41629 {
41630 isnanl(0);
41631 ;
41632 return 0;
41633 }
41634 _ACEOF
41635 if ac_fn_cxx_try_compile "$LINENO"; then :
41636 glibcxx_cv_func_isnanl_use=yes
41637 else
41638 glibcxx_cv_func_isnanl_use=no
41639 fi
41640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41641 ac_ext=c
41642 ac_cpp='$CPP $CPPFLAGS'
41643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41646
41647
41648 fi
41649
41650 fi
41651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41652 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41653
41654 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41655 for ac_func in isnanl
41656 do :
41657 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41658 if test "x$ac_cv_func_isnanl" = x""yes; then :
41659 cat >>confdefs.h <<_ACEOF
41660 #define HAVE_ISNANL 1
41661 _ACEOF
41662
41663 fi
41664 done
41665
41666 else
41667
41668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41669 $as_echo_n "checking for _isnanl declaration... " >&6; }
41670 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41671 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41672 $as_echo_n "(cached) " >&6
41673 else
41674
41675
41676 ac_ext=cpp
41677 ac_cpp='$CXXCPP $CPPFLAGS'
41678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41681
41682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41683 /* end confdefs.h. */
41684 #include <math.h>
41685 #ifdef HAVE_IEEEFP_H
41686 #include <ieeefp.h>
41687 #endif
41688
41689 int
41690 main ()
41691 {
41692 _isnanl(0);
41693 ;
41694 return 0;
41695 }
41696 _ACEOF
41697 if ac_fn_cxx_try_compile "$LINENO"; then :
41698 glibcxx_cv_func__isnanl_use=yes
41699 else
41700 glibcxx_cv_func__isnanl_use=no
41701 fi
41702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41703 ac_ext=c
41704 ac_cpp='$CPP $CPPFLAGS'
41705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41708
41709
41710 fi
41711
41712 fi
41713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41714 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41715
41716 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41717 for ac_func in _isnanl
41718 do :
41719 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41720 if test "x$ac_cv_func__isnanl" = x""yes; then :
41721 cat >>confdefs.h <<_ACEOF
41722 #define HAVE__ISNANL 1
41723 _ACEOF
41724
41725 fi
41726 done
41727
41728 fi
41729 fi
41730
41731
41732
41733
41734
41735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41736 $as_echo_n "checking for isinfl declaration... " >&6; }
41737 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41738 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41739 $as_echo_n "(cached) " >&6
41740 else
41741
41742
41743 ac_ext=cpp
41744 ac_cpp='$CXXCPP $CPPFLAGS'
41745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41748
41749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41750 /* end confdefs.h. */
41751 #include <math.h>
41752 #ifdef HAVE_IEEEFP_H
41753 #include <ieeefp.h>
41754 #endif
41755
41756 int
41757 main ()
41758 {
41759 isinfl(0);
41760 ;
41761 return 0;
41762 }
41763 _ACEOF
41764 if ac_fn_cxx_try_compile "$LINENO"; then :
41765 glibcxx_cv_func_isinfl_use=yes
41766 else
41767 glibcxx_cv_func_isinfl_use=no
41768 fi
41769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41770 ac_ext=c
41771 ac_cpp='$CPP $CPPFLAGS'
41772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41775
41776
41777 fi
41778
41779 fi
41780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41781 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41782
41783 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41784 for ac_func in isinfl
41785 do :
41786 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41787 if test "x$ac_cv_func_isinfl" = x""yes; then :
41788 cat >>confdefs.h <<_ACEOF
41789 #define HAVE_ISINFL 1
41790 _ACEOF
41791
41792 fi
41793 done
41794
41795 else
41796
41797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41798 $as_echo_n "checking for _isinfl declaration... " >&6; }
41799 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41800 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41801 $as_echo_n "(cached) " >&6
41802 else
41803
41804
41805 ac_ext=cpp
41806 ac_cpp='$CXXCPP $CPPFLAGS'
41807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41810
41811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41812 /* end confdefs.h. */
41813 #include <math.h>
41814 #ifdef HAVE_IEEEFP_H
41815 #include <ieeefp.h>
41816 #endif
41817
41818 int
41819 main ()
41820 {
41821 _isinfl(0);
41822 ;
41823 return 0;
41824 }
41825 _ACEOF
41826 if ac_fn_cxx_try_compile "$LINENO"; then :
41827 glibcxx_cv_func__isinfl_use=yes
41828 else
41829 glibcxx_cv_func__isinfl_use=no
41830 fi
41831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41832 ac_ext=c
41833 ac_cpp='$CPP $CPPFLAGS'
41834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41837
41838
41839 fi
41840
41841 fi
41842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41843 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41844
41845 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41846 for ac_func in _isinfl
41847 do :
41848 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41849 if test "x$ac_cv_func__isinfl" = x""yes; then :
41850 cat >>confdefs.h <<_ACEOF
41851 #define HAVE__ISINFL 1
41852 _ACEOF
41853
41854 fi
41855 done
41856
41857 fi
41858 fi
41859
41860
41861
41862
41863
41864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41865 $as_echo_n "checking for atan2l declaration... " >&6; }
41866 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41867 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
41868 $as_echo_n "(cached) " >&6
41869 else
41870
41871
41872 ac_ext=cpp
41873 ac_cpp='$CXXCPP $CPPFLAGS'
41874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41877
41878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41879 /* end confdefs.h. */
41880 #include <math.h>
41881 int
41882 main ()
41883 {
41884 atan2l(0, 0);
41885 ;
41886 return 0;
41887 }
41888 _ACEOF
41889 if ac_fn_cxx_try_compile "$LINENO"; then :
41890 glibcxx_cv_func_atan2l_use=yes
41891 else
41892 glibcxx_cv_func_atan2l_use=no
41893 fi
41894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41895 ac_ext=c
41896 ac_cpp='$CPP $CPPFLAGS'
41897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41900
41901
41902 fi
41903
41904 fi
41905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41906 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41907
41908 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41909 for ac_func in atan2l
41910 do :
41911 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41912 if test "x$ac_cv_func_atan2l" = x""yes; then :
41913 cat >>confdefs.h <<_ACEOF
41914 #define HAVE_ATAN2L 1
41915 _ACEOF
41916
41917 fi
41918 done
41919
41920 else
41921
41922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
41923 $as_echo_n "checking for _atan2l declaration... " >&6; }
41924 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41925 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
41926 $as_echo_n "(cached) " >&6
41927 else
41928
41929
41930 ac_ext=cpp
41931 ac_cpp='$CXXCPP $CPPFLAGS'
41932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41935
41936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41937 /* end confdefs.h. */
41938 #include <math.h>
41939 int
41940 main ()
41941 {
41942 _atan2l(0, 0);
41943 ;
41944 return 0;
41945 }
41946 _ACEOF
41947 if ac_fn_cxx_try_compile "$LINENO"; then :
41948 glibcxx_cv_func__atan2l_use=yes
41949 else
41950 glibcxx_cv_func__atan2l_use=no
41951 fi
41952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41953 ac_ext=c
41954 ac_cpp='$CPP $CPPFLAGS'
41955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41958
41959
41960 fi
41961
41962 fi
41963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
41964 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
41965
41966 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41967 for ac_func in _atan2l
41968 do :
41969 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
41970 if test "x$ac_cv_func__atan2l" = x""yes; then :
41971 cat >>confdefs.h <<_ACEOF
41972 #define HAVE__ATAN2L 1
41973 _ACEOF
41974
41975 fi
41976 done
41977
41978 fi
41979 fi
41980
41981
41982
41983
41984
41985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
41986 $as_echo_n "checking for expl declaration... " >&6; }
41987 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41988 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
41989 $as_echo_n "(cached) " >&6
41990 else
41991
41992
41993 ac_ext=cpp
41994 ac_cpp='$CXXCPP $CPPFLAGS'
41995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41998
41999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42000 /* end confdefs.h. */
42001 #include <math.h>
42002 #ifdef HAVE_IEEEFP_H
42003 #include <ieeefp.h>
42004 #endif
42005
42006 int
42007 main ()
42008 {
42009 expl(0);
42010 ;
42011 return 0;
42012 }
42013 _ACEOF
42014 if ac_fn_cxx_try_compile "$LINENO"; then :
42015 glibcxx_cv_func_expl_use=yes
42016 else
42017 glibcxx_cv_func_expl_use=no
42018 fi
42019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42020 ac_ext=c
42021 ac_cpp='$CPP $CPPFLAGS'
42022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42025
42026
42027 fi
42028
42029 fi
42030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42031 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42032
42033 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42034 for ac_func in expl
42035 do :
42036 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42037 if test "x$ac_cv_func_expl" = x""yes; then :
42038 cat >>confdefs.h <<_ACEOF
42039 #define HAVE_EXPL 1
42040 _ACEOF
42041
42042 fi
42043 done
42044
42045 else
42046
42047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42048 $as_echo_n "checking for _expl declaration... " >&6; }
42049 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42050 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42051 $as_echo_n "(cached) " >&6
42052 else
42053
42054
42055 ac_ext=cpp
42056 ac_cpp='$CXXCPP $CPPFLAGS'
42057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42060
42061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42062 /* end confdefs.h. */
42063 #include <math.h>
42064 #ifdef HAVE_IEEEFP_H
42065 #include <ieeefp.h>
42066 #endif
42067
42068 int
42069 main ()
42070 {
42071 _expl(0);
42072 ;
42073 return 0;
42074 }
42075 _ACEOF
42076 if ac_fn_cxx_try_compile "$LINENO"; then :
42077 glibcxx_cv_func__expl_use=yes
42078 else
42079 glibcxx_cv_func__expl_use=no
42080 fi
42081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42082 ac_ext=c
42083 ac_cpp='$CPP $CPPFLAGS'
42084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42087
42088
42089 fi
42090
42091 fi
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42093 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42094
42095 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42096 for ac_func in _expl
42097 do :
42098 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42099 if test "x$ac_cv_func__expl" = x""yes; then :
42100 cat >>confdefs.h <<_ACEOF
42101 #define HAVE__EXPL 1
42102 _ACEOF
42103
42104 fi
42105 done
42106
42107 fi
42108 fi
42109
42110
42111
42112
42113
42114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42115 $as_echo_n "checking for fabsl declaration... " >&6; }
42116 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42117 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42118 $as_echo_n "(cached) " >&6
42119 else
42120
42121
42122 ac_ext=cpp
42123 ac_cpp='$CXXCPP $CPPFLAGS'
42124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42127
42128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42129 /* end confdefs.h. */
42130 #include <math.h>
42131 #ifdef HAVE_IEEEFP_H
42132 #include <ieeefp.h>
42133 #endif
42134
42135 int
42136 main ()
42137 {
42138 fabsl(0);
42139 ;
42140 return 0;
42141 }
42142 _ACEOF
42143 if ac_fn_cxx_try_compile "$LINENO"; then :
42144 glibcxx_cv_func_fabsl_use=yes
42145 else
42146 glibcxx_cv_func_fabsl_use=no
42147 fi
42148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42149 ac_ext=c
42150 ac_cpp='$CPP $CPPFLAGS'
42151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42154
42155
42156 fi
42157
42158 fi
42159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42160 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42161
42162 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42163 for ac_func in fabsl
42164 do :
42165 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42166 if test "x$ac_cv_func_fabsl" = x""yes; then :
42167 cat >>confdefs.h <<_ACEOF
42168 #define HAVE_FABSL 1
42169 _ACEOF
42170
42171 fi
42172 done
42173
42174 else
42175
42176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42177 $as_echo_n "checking for _fabsl declaration... " >&6; }
42178 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42179 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42180 $as_echo_n "(cached) " >&6
42181 else
42182
42183
42184 ac_ext=cpp
42185 ac_cpp='$CXXCPP $CPPFLAGS'
42186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42189
42190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42191 /* end confdefs.h. */
42192 #include <math.h>
42193 #ifdef HAVE_IEEEFP_H
42194 #include <ieeefp.h>
42195 #endif
42196
42197 int
42198 main ()
42199 {
42200 _fabsl(0);
42201 ;
42202 return 0;
42203 }
42204 _ACEOF
42205 if ac_fn_cxx_try_compile "$LINENO"; then :
42206 glibcxx_cv_func__fabsl_use=yes
42207 else
42208 glibcxx_cv_func__fabsl_use=no
42209 fi
42210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42211 ac_ext=c
42212 ac_cpp='$CPP $CPPFLAGS'
42213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42216
42217
42218 fi
42219
42220 fi
42221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42222 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42223
42224 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42225 for ac_func in _fabsl
42226 do :
42227 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42228 if test "x$ac_cv_func__fabsl" = x""yes; then :
42229 cat >>confdefs.h <<_ACEOF
42230 #define HAVE__FABSL 1
42231 _ACEOF
42232
42233 fi
42234 done
42235
42236 fi
42237 fi
42238
42239
42240
42241
42242
42243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42244 $as_echo_n "checking for fmodl declaration... " >&6; }
42245 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42246 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42247 $as_echo_n "(cached) " >&6
42248 else
42249
42250
42251 ac_ext=cpp
42252 ac_cpp='$CXXCPP $CPPFLAGS'
42253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42256
42257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42258 /* end confdefs.h. */
42259 #include <math.h>
42260 int
42261 main ()
42262 {
42263 fmodl(0, 0);
42264 ;
42265 return 0;
42266 }
42267 _ACEOF
42268 if ac_fn_cxx_try_compile "$LINENO"; then :
42269 glibcxx_cv_func_fmodl_use=yes
42270 else
42271 glibcxx_cv_func_fmodl_use=no
42272 fi
42273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42274 ac_ext=c
42275 ac_cpp='$CPP $CPPFLAGS'
42276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42279
42280
42281 fi
42282
42283 fi
42284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42285 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42286
42287 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42288 for ac_func in fmodl
42289 do :
42290 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42291 if test "x$ac_cv_func_fmodl" = x""yes; then :
42292 cat >>confdefs.h <<_ACEOF
42293 #define HAVE_FMODL 1
42294 _ACEOF
42295
42296 fi
42297 done
42298
42299 else
42300
42301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42302 $as_echo_n "checking for _fmodl declaration... " >&6; }
42303 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42304 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42305 $as_echo_n "(cached) " >&6
42306 else
42307
42308
42309 ac_ext=cpp
42310 ac_cpp='$CXXCPP $CPPFLAGS'
42311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42314
42315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42316 /* end confdefs.h. */
42317 #include <math.h>
42318 int
42319 main ()
42320 {
42321 _fmodl(0, 0);
42322 ;
42323 return 0;
42324 }
42325 _ACEOF
42326 if ac_fn_cxx_try_compile "$LINENO"; then :
42327 glibcxx_cv_func__fmodl_use=yes
42328 else
42329 glibcxx_cv_func__fmodl_use=no
42330 fi
42331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42332 ac_ext=c
42333 ac_cpp='$CPP $CPPFLAGS'
42334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42337
42338
42339 fi
42340
42341 fi
42342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42343 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42344
42345 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42346 for ac_func in _fmodl
42347 do :
42348 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42349 if test "x$ac_cv_func__fmodl" = x""yes; then :
42350 cat >>confdefs.h <<_ACEOF
42351 #define HAVE__FMODL 1
42352 _ACEOF
42353
42354 fi
42355 done
42356
42357 fi
42358 fi
42359
42360
42361
42362
42363
42364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42365 $as_echo_n "checking for frexpl declaration... " >&6; }
42366 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42367 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42368 $as_echo_n "(cached) " >&6
42369 else
42370
42371
42372 ac_ext=cpp
42373 ac_cpp='$CXXCPP $CPPFLAGS'
42374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42377
42378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42379 /* end confdefs.h. */
42380 #include <math.h>
42381 int
42382 main ()
42383 {
42384 frexpl(0, 0);
42385 ;
42386 return 0;
42387 }
42388 _ACEOF
42389 if ac_fn_cxx_try_compile "$LINENO"; then :
42390 glibcxx_cv_func_frexpl_use=yes
42391 else
42392 glibcxx_cv_func_frexpl_use=no
42393 fi
42394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42395 ac_ext=c
42396 ac_cpp='$CPP $CPPFLAGS'
42397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42400
42401
42402 fi
42403
42404 fi
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42406 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42407
42408 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42409 for ac_func in frexpl
42410 do :
42411 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42412 if test "x$ac_cv_func_frexpl" = x""yes; then :
42413 cat >>confdefs.h <<_ACEOF
42414 #define HAVE_FREXPL 1
42415 _ACEOF
42416
42417 fi
42418 done
42419
42420 else
42421
42422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42423 $as_echo_n "checking for _frexpl declaration... " >&6; }
42424 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42425 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42426 $as_echo_n "(cached) " >&6
42427 else
42428
42429
42430 ac_ext=cpp
42431 ac_cpp='$CXXCPP $CPPFLAGS'
42432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42435
42436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437 /* end confdefs.h. */
42438 #include <math.h>
42439 int
42440 main ()
42441 {
42442 _frexpl(0, 0);
42443 ;
42444 return 0;
42445 }
42446 _ACEOF
42447 if ac_fn_cxx_try_compile "$LINENO"; then :
42448 glibcxx_cv_func__frexpl_use=yes
42449 else
42450 glibcxx_cv_func__frexpl_use=no
42451 fi
42452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42453 ac_ext=c
42454 ac_cpp='$CPP $CPPFLAGS'
42455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42458
42459
42460 fi
42461
42462 fi
42463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42464 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42465
42466 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42467 for ac_func in _frexpl
42468 do :
42469 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42470 if test "x$ac_cv_func__frexpl" = x""yes; then :
42471 cat >>confdefs.h <<_ACEOF
42472 #define HAVE__FREXPL 1
42473 _ACEOF
42474
42475 fi
42476 done
42477
42478 fi
42479 fi
42480
42481
42482
42483
42484
42485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42486 $as_echo_n "checking for hypotl declaration... " >&6; }
42487 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42488 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42489 $as_echo_n "(cached) " >&6
42490 else
42491
42492
42493 ac_ext=cpp
42494 ac_cpp='$CXXCPP $CPPFLAGS'
42495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42498
42499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42500 /* end confdefs.h. */
42501 #include <math.h>
42502 int
42503 main ()
42504 {
42505 hypotl(0, 0);
42506 ;
42507 return 0;
42508 }
42509 _ACEOF
42510 if ac_fn_cxx_try_compile "$LINENO"; then :
42511 glibcxx_cv_func_hypotl_use=yes
42512 else
42513 glibcxx_cv_func_hypotl_use=no
42514 fi
42515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42516 ac_ext=c
42517 ac_cpp='$CPP $CPPFLAGS'
42518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42521
42522
42523 fi
42524
42525 fi
42526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42527 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42528
42529 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42530 for ac_func in hypotl
42531 do :
42532 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42533 if test "x$ac_cv_func_hypotl" = x""yes; then :
42534 cat >>confdefs.h <<_ACEOF
42535 #define HAVE_HYPOTL 1
42536 _ACEOF
42537
42538 fi
42539 done
42540
42541 else
42542
42543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42544 $as_echo_n "checking for _hypotl declaration... " >&6; }
42545 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42546 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42547 $as_echo_n "(cached) " >&6
42548 else
42549
42550
42551 ac_ext=cpp
42552 ac_cpp='$CXXCPP $CPPFLAGS'
42553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42556
42557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42558 /* end confdefs.h. */
42559 #include <math.h>
42560 int
42561 main ()
42562 {
42563 _hypotl(0, 0);
42564 ;
42565 return 0;
42566 }
42567 _ACEOF
42568 if ac_fn_cxx_try_compile "$LINENO"; then :
42569 glibcxx_cv_func__hypotl_use=yes
42570 else
42571 glibcxx_cv_func__hypotl_use=no
42572 fi
42573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42574 ac_ext=c
42575 ac_cpp='$CPP $CPPFLAGS'
42576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42579
42580
42581 fi
42582
42583 fi
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42585 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42586
42587 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42588 for ac_func in _hypotl
42589 do :
42590 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42591 if test "x$ac_cv_func__hypotl" = x""yes; then :
42592 cat >>confdefs.h <<_ACEOF
42593 #define HAVE__HYPOTL 1
42594 _ACEOF
42595
42596 fi
42597 done
42598
42599 fi
42600 fi
42601
42602
42603
42604
42605
42606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42607 $as_echo_n "checking for ldexpl declaration... " >&6; }
42608 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42609 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42610 $as_echo_n "(cached) " >&6
42611 else
42612
42613
42614 ac_ext=cpp
42615 ac_cpp='$CXXCPP $CPPFLAGS'
42616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42619
42620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42621 /* end confdefs.h. */
42622 #include <math.h>
42623 int
42624 main ()
42625 {
42626 ldexpl(0, 0);
42627 ;
42628 return 0;
42629 }
42630 _ACEOF
42631 if ac_fn_cxx_try_compile "$LINENO"; then :
42632 glibcxx_cv_func_ldexpl_use=yes
42633 else
42634 glibcxx_cv_func_ldexpl_use=no
42635 fi
42636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42637 ac_ext=c
42638 ac_cpp='$CPP $CPPFLAGS'
42639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42642
42643
42644 fi
42645
42646 fi
42647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42648 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42649
42650 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42651 for ac_func in ldexpl
42652 do :
42653 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42654 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42655 cat >>confdefs.h <<_ACEOF
42656 #define HAVE_LDEXPL 1
42657 _ACEOF
42658
42659 fi
42660 done
42661
42662 else
42663
42664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42665 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42666 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42667 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42668 $as_echo_n "(cached) " >&6
42669 else
42670
42671
42672 ac_ext=cpp
42673 ac_cpp='$CXXCPP $CPPFLAGS'
42674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42677
42678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42679 /* end confdefs.h. */
42680 #include <math.h>
42681 int
42682 main ()
42683 {
42684 _ldexpl(0, 0);
42685 ;
42686 return 0;
42687 }
42688 _ACEOF
42689 if ac_fn_cxx_try_compile "$LINENO"; then :
42690 glibcxx_cv_func__ldexpl_use=yes
42691 else
42692 glibcxx_cv_func__ldexpl_use=no
42693 fi
42694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42695 ac_ext=c
42696 ac_cpp='$CPP $CPPFLAGS'
42697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42700
42701
42702 fi
42703
42704 fi
42705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42706 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42707
42708 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42709 for ac_func in _ldexpl
42710 do :
42711 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42712 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42713 cat >>confdefs.h <<_ACEOF
42714 #define HAVE__LDEXPL 1
42715 _ACEOF
42716
42717 fi
42718 done
42719
42720 fi
42721 fi
42722
42723
42724
42725
42726
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42728 $as_echo_n "checking for logl declaration... " >&6; }
42729 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42730 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42731 $as_echo_n "(cached) " >&6
42732 else
42733
42734
42735 ac_ext=cpp
42736 ac_cpp='$CXXCPP $CPPFLAGS'
42737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42740
42741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42742 /* end confdefs.h. */
42743 #include <math.h>
42744 #ifdef HAVE_IEEEFP_H
42745 #include <ieeefp.h>
42746 #endif
42747
42748 int
42749 main ()
42750 {
42751 logl(0);
42752 ;
42753 return 0;
42754 }
42755 _ACEOF
42756 if ac_fn_cxx_try_compile "$LINENO"; then :
42757 glibcxx_cv_func_logl_use=yes
42758 else
42759 glibcxx_cv_func_logl_use=no
42760 fi
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 ac_ext=c
42763 ac_cpp='$CPP $CPPFLAGS'
42764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42767
42768
42769 fi
42770
42771 fi
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42773 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42774
42775 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42776 for ac_func in logl
42777 do :
42778 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42779 if test "x$ac_cv_func_logl" = x""yes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE_LOGL 1
42782 _ACEOF
42783
42784 fi
42785 done
42786
42787 else
42788
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42790 $as_echo_n "checking for _logl declaration... " >&6; }
42791 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42792 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42793 $as_echo_n "(cached) " >&6
42794 else
42795
42796
42797 ac_ext=cpp
42798 ac_cpp='$CXXCPP $CPPFLAGS'
42799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42802
42803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42804 /* end confdefs.h. */
42805 #include <math.h>
42806 #ifdef HAVE_IEEEFP_H
42807 #include <ieeefp.h>
42808 #endif
42809
42810 int
42811 main ()
42812 {
42813 _logl(0);
42814 ;
42815 return 0;
42816 }
42817 _ACEOF
42818 if ac_fn_cxx_try_compile "$LINENO"; then :
42819 glibcxx_cv_func__logl_use=yes
42820 else
42821 glibcxx_cv_func__logl_use=no
42822 fi
42823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42824 ac_ext=c
42825 ac_cpp='$CPP $CPPFLAGS'
42826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42829
42830
42831 fi
42832
42833 fi
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42835 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42836
42837 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42838 for ac_func in _logl
42839 do :
42840 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42841 if test "x$ac_cv_func__logl" = x""yes; then :
42842 cat >>confdefs.h <<_ACEOF
42843 #define HAVE__LOGL 1
42844 _ACEOF
42845
42846 fi
42847 done
42848
42849 fi
42850 fi
42851
42852
42853
42854
42855
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42857 $as_echo_n "checking for log10l declaration... " >&6; }
42858 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42859 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
42860 $as_echo_n "(cached) " >&6
42861 else
42862
42863
42864 ac_ext=cpp
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42869
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42871 /* end confdefs.h. */
42872 #include <math.h>
42873 #ifdef HAVE_IEEEFP_H
42874 #include <ieeefp.h>
42875 #endif
42876
42877 int
42878 main ()
42879 {
42880 log10l(0);
42881 ;
42882 return 0;
42883 }
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func_log10l_use=yes
42887 else
42888 glibcxx_cv_func_log10l_use=no
42889 fi
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42896
42897
42898 fi
42899
42900 fi
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42902 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42903
42904 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42905 for ac_func in log10l
42906 do :
42907 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42908 if test "x$ac_cv_func_log10l" = x""yes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE_LOG10L 1
42911 _ACEOF
42912
42913 fi
42914 done
42915
42916 else
42917
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
42919 $as_echo_n "checking for _log10l declaration... " >&6; }
42920 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
42921 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
42922 $as_echo_n "(cached) " >&6
42923 else
42924
42925
42926 ac_ext=cpp
42927 ac_cpp='$CXXCPP $CPPFLAGS'
42928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42931
42932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42933 /* end confdefs.h. */
42934 #include <math.h>
42935 #ifdef HAVE_IEEEFP_H
42936 #include <ieeefp.h>
42937 #endif
42938
42939 int
42940 main ()
42941 {
42942 _log10l(0);
42943 ;
42944 return 0;
42945 }
42946 _ACEOF
42947 if ac_fn_cxx_try_compile "$LINENO"; then :
42948 glibcxx_cv_func__log10l_use=yes
42949 else
42950 glibcxx_cv_func__log10l_use=no
42951 fi
42952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42953 ac_ext=c
42954 ac_cpp='$CPP $CPPFLAGS'
42955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42958
42959
42960 fi
42961
42962 fi
42963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
42964 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
42965
42966 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
42967 for ac_func in _log10l
42968 do :
42969 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
42970 if test "x$ac_cv_func__log10l" = x""yes; then :
42971 cat >>confdefs.h <<_ACEOF
42972 #define HAVE__LOG10L 1
42973 _ACEOF
42974
42975 fi
42976 done
42977
42978 fi
42979 fi
42980
42981
42982
42983
42984
42985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
42986 $as_echo_n "checking for modfl declaration... " >&6; }
42987 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
42988 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
42989 $as_echo_n "(cached) " >&6
42990 else
42991
42992
42993 ac_ext=cpp
42994 ac_cpp='$CXXCPP $CPPFLAGS'
42995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42998
42999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43000 /* end confdefs.h. */
43001 #include <math.h>
43002 int
43003 main ()
43004 {
43005 modfl(0, 0);
43006 ;
43007 return 0;
43008 }
43009 _ACEOF
43010 if ac_fn_cxx_try_compile "$LINENO"; then :
43011 glibcxx_cv_func_modfl_use=yes
43012 else
43013 glibcxx_cv_func_modfl_use=no
43014 fi
43015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43016 ac_ext=c
43017 ac_cpp='$CPP $CPPFLAGS'
43018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43021
43022
43023 fi
43024
43025 fi
43026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43027 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43028
43029 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43030 for ac_func in modfl
43031 do :
43032 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43033 if test "x$ac_cv_func_modfl" = x""yes; then :
43034 cat >>confdefs.h <<_ACEOF
43035 #define HAVE_MODFL 1
43036 _ACEOF
43037
43038 fi
43039 done
43040
43041 else
43042
43043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43044 $as_echo_n "checking for _modfl declaration... " >&6; }
43045 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43046 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43047 $as_echo_n "(cached) " >&6
43048 else
43049
43050
43051 ac_ext=cpp
43052 ac_cpp='$CXXCPP $CPPFLAGS'
43053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43056
43057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43058 /* end confdefs.h. */
43059 #include <math.h>
43060 int
43061 main ()
43062 {
43063 _modfl(0, 0);
43064 ;
43065 return 0;
43066 }
43067 _ACEOF
43068 if ac_fn_cxx_try_compile "$LINENO"; then :
43069 glibcxx_cv_func__modfl_use=yes
43070 else
43071 glibcxx_cv_func__modfl_use=no
43072 fi
43073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43074 ac_ext=c
43075 ac_cpp='$CPP $CPPFLAGS'
43076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43079
43080
43081 fi
43082
43083 fi
43084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43085 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43086
43087 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43088 for ac_func in _modfl
43089 do :
43090 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43091 if test "x$ac_cv_func__modfl" = x""yes; then :
43092 cat >>confdefs.h <<_ACEOF
43093 #define HAVE__MODFL 1
43094 _ACEOF
43095
43096 fi
43097 done
43098
43099 fi
43100 fi
43101
43102
43103
43104
43105
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43107 $as_echo_n "checking for powl declaration... " >&6; }
43108 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43109 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43112
43113
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43119
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43123 int
43124 main ()
43125 {
43126 powl(0, 0);
43127 ;
43128 return 0;
43129 }
43130 _ACEOF
43131 if ac_fn_cxx_try_compile "$LINENO"; then :
43132 glibcxx_cv_func_powl_use=yes
43133 else
43134 glibcxx_cv_func_powl_use=no
43135 fi
43136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43137 ac_ext=c
43138 ac_cpp='$CPP $CPPFLAGS'
43139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43142
43143
43144 fi
43145
43146 fi
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43148 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43149
43150 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43151 for ac_func in powl
43152 do :
43153 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43154 if test "x$ac_cv_func_powl" = x""yes; then :
43155 cat >>confdefs.h <<_ACEOF
43156 #define HAVE_POWL 1
43157 _ACEOF
43158
43159 fi
43160 done
43161
43162 else
43163
43164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43165 $as_echo_n "checking for _powl declaration... " >&6; }
43166 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43167 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43168 $as_echo_n "(cached) " >&6
43169 else
43170
43171
43172 ac_ext=cpp
43173 ac_cpp='$CXXCPP $CPPFLAGS'
43174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43177
43178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43179 /* end confdefs.h. */
43180 #include <math.h>
43181 int
43182 main ()
43183 {
43184 _powl(0, 0);
43185 ;
43186 return 0;
43187 }
43188 _ACEOF
43189 if ac_fn_cxx_try_compile "$LINENO"; then :
43190 glibcxx_cv_func__powl_use=yes
43191 else
43192 glibcxx_cv_func__powl_use=no
43193 fi
43194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43195 ac_ext=c
43196 ac_cpp='$CPP $CPPFLAGS'
43197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43200
43201
43202 fi
43203
43204 fi
43205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43206 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43207
43208 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43209 for ac_func in _powl
43210 do :
43211 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43212 if test "x$ac_cv_func__powl" = x""yes; then :
43213 cat >>confdefs.h <<_ACEOF
43214 #define HAVE__POWL 1
43215 _ACEOF
43216
43217 fi
43218 done
43219
43220 fi
43221 fi
43222
43223
43224
43225
43226
43227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43228 $as_echo_n "checking for sqrtl declaration... " >&6; }
43229 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43230 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43231 $as_echo_n "(cached) " >&6
43232 else
43233
43234
43235 ac_ext=cpp
43236 ac_cpp='$CXXCPP $CPPFLAGS'
43237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43240
43241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43242 /* end confdefs.h. */
43243 #include <math.h>
43244 #ifdef HAVE_IEEEFP_H
43245 #include <ieeefp.h>
43246 #endif
43247
43248 int
43249 main ()
43250 {
43251 sqrtl(0);
43252 ;
43253 return 0;
43254 }
43255 _ACEOF
43256 if ac_fn_cxx_try_compile "$LINENO"; then :
43257 glibcxx_cv_func_sqrtl_use=yes
43258 else
43259 glibcxx_cv_func_sqrtl_use=no
43260 fi
43261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43262 ac_ext=c
43263 ac_cpp='$CPP $CPPFLAGS'
43264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43267
43268
43269 fi
43270
43271 fi
43272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43273 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43274
43275 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43276 for ac_func in sqrtl
43277 do :
43278 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43279 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43280 cat >>confdefs.h <<_ACEOF
43281 #define HAVE_SQRTL 1
43282 _ACEOF
43283
43284 fi
43285 done
43286
43287 else
43288
43289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43290 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43291 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43292 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43293 $as_echo_n "(cached) " >&6
43294 else
43295
43296
43297 ac_ext=cpp
43298 ac_cpp='$CXXCPP $CPPFLAGS'
43299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43302
43303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43304 /* end confdefs.h. */
43305 #include <math.h>
43306 #ifdef HAVE_IEEEFP_H
43307 #include <ieeefp.h>
43308 #endif
43309
43310 int
43311 main ()
43312 {
43313 _sqrtl(0);
43314 ;
43315 return 0;
43316 }
43317 _ACEOF
43318 if ac_fn_cxx_try_compile "$LINENO"; then :
43319 glibcxx_cv_func__sqrtl_use=yes
43320 else
43321 glibcxx_cv_func__sqrtl_use=no
43322 fi
43323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43324 ac_ext=c
43325 ac_cpp='$CPP $CPPFLAGS'
43326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43329
43330
43331 fi
43332
43333 fi
43334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43335 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43336
43337 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43338 for ac_func in _sqrtl
43339 do :
43340 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43341 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43342 cat >>confdefs.h <<_ACEOF
43343 #define HAVE__SQRTL 1
43344 _ACEOF
43345
43346 fi
43347 done
43348
43349 fi
43350 fi
43351
43352
43353
43354
43355
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43357 $as_echo_n "checking for sincosl declaration... " >&6; }
43358 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43359 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43360 $as_echo_n "(cached) " >&6
43361 else
43362
43363
43364 ac_ext=cpp
43365 ac_cpp='$CXXCPP $CPPFLAGS'
43366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43369
43370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371 /* end confdefs.h. */
43372 #include <math.h>
43373 int
43374 main ()
43375 {
43376 sincosl(0, 0, 0);
43377 ;
43378 return 0;
43379 }
43380 _ACEOF
43381 if ac_fn_cxx_try_compile "$LINENO"; then :
43382 glibcxx_cv_func_sincosl_use=yes
43383 else
43384 glibcxx_cv_func_sincosl_use=no
43385 fi
43386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43387 ac_ext=c
43388 ac_cpp='$CPP $CPPFLAGS'
43389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43392
43393
43394 fi
43395
43396 fi
43397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43398 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43399
43400 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43401 for ac_func in sincosl
43402 do :
43403 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43404 if test "x$ac_cv_func_sincosl" = x""yes; then :
43405 cat >>confdefs.h <<_ACEOF
43406 #define HAVE_SINCOSL 1
43407 _ACEOF
43408
43409 fi
43410 done
43411
43412 else
43413
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43415 $as_echo_n "checking for _sincosl declaration... " >&6; }
43416 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43417 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43418 $as_echo_n "(cached) " >&6
43419 else
43420
43421
43422 ac_ext=cpp
43423 ac_cpp='$CXXCPP $CPPFLAGS'
43424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43427
43428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43429 /* end confdefs.h. */
43430 #include <math.h>
43431 int
43432 main ()
43433 {
43434 _sincosl(0, 0, 0);
43435 ;
43436 return 0;
43437 }
43438 _ACEOF
43439 if ac_fn_cxx_try_compile "$LINENO"; then :
43440 glibcxx_cv_func__sincosl_use=yes
43441 else
43442 glibcxx_cv_func__sincosl_use=no
43443 fi
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43450
43451
43452 fi
43453
43454 fi
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43456 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43457
43458 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43459 for ac_func in _sincosl
43460 do :
43461 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43462 if test "x$ac_cv_func__sincosl" = x""yes; then :
43463 cat >>confdefs.h <<_ACEOF
43464 #define HAVE__SINCOSL 1
43465 _ACEOF
43466
43467 fi
43468 done
43469
43470 fi
43471 fi
43472
43473
43474
43475
43476
43477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43478 $as_echo_n "checking for finitel declaration... " >&6; }
43479 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43480 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43481 $as_echo_n "(cached) " >&6
43482 else
43483
43484
43485 ac_ext=cpp
43486 ac_cpp='$CXXCPP $CPPFLAGS'
43487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43490
43491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43492 /* end confdefs.h. */
43493 #include <math.h>
43494 #ifdef HAVE_IEEEFP_H
43495 #include <ieeefp.h>
43496 #endif
43497
43498 int
43499 main ()
43500 {
43501 finitel(0);
43502 ;
43503 return 0;
43504 }
43505 _ACEOF
43506 if ac_fn_cxx_try_compile "$LINENO"; then :
43507 glibcxx_cv_func_finitel_use=yes
43508 else
43509 glibcxx_cv_func_finitel_use=no
43510 fi
43511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43512 ac_ext=c
43513 ac_cpp='$CPP $CPPFLAGS'
43514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43517
43518
43519 fi
43520
43521 fi
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43523 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43524
43525 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43526 for ac_func in finitel
43527 do :
43528 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43529 if test "x$ac_cv_func_finitel" = x""yes; then :
43530 cat >>confdefs.h <<_ACEOF
43531 #define HAVE_FINITEL 1
43532 _ACEOF
43533
43534 fi
43535 done
43536
43537 else
43538
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43540 $as_echo_n "checking for _finitel declaration... " >&6; }
43541 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43542 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43543 $as_echo_n "(cached) " >&6
43544 else
43545
43546
43547 ac_ext=cpp
43548 ac_cpp='$CXXCPP $CPPFLAGS'
43549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43552
43553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43554 /* end confdefs.h. */
43555 #include <math.h>
43556 #ifdef HAVE_IEEEFP_H
43557 #include <ieeefp.h>
43558 #endif
43559
43560 int
43561 main ()
43562 {
43563 _finitel(0);
43564 ;
43565 return 0;
43566 }
43567 _ACEOF
43568 if ac_fn_cxx_try_compile "$LINENO"; then :
43569 glibcxx_cv_func__finitel_use=yes
43570 else
43571 glibcxx_cv_func__finitel_use=no
43572 fi
43573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43574 ac_ext=c
43575 ac_cpp='$CPP $CPPFLAGS'
43576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43579
43580
43581 fi
43582
43583 fi
43584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43585 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43586
43587 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43588 for ac_func in _finitel
43589 do :
43590 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43591 if test "x$ac_cv_func__finitel" = x""yes; then :
43592 cat >>confdefs.h <<_ACEOF
43593 #define HAVE__FINITEL 1
43594 _ACEOF
43595
43596 fi
43597 done
43598
43599 fi
43600 fi
43601
43602
43603
43604
43605 LIBS="$ac_save_LIBS"
43606 CXXFLAGS="$ac_save_CXXFLAGS"
43607
43608
43609 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43610 ac_save_CXXFLAGS="$CXXFLAGS"
43611 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43612
43613
43614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43615 $as_echo_n "checking for strtold declaration... " >&6; }
43616 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43617 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43618 $as_echo_n "(cached) " >&6
43619 else
43620
43621
43622 ac_ext=cpp
43623 ac_cpp='$CXXCPP $CPPFLAGS'
43624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43627
43628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43629 /* end confdefs.h. */
43630 #include <stdlib.h>
43631 int
43632 main ()
43633 {
43634 strtold(0, 0);
43635 ;
43636 return 0;
43637 }
43638 _ACEOF
43639 if ac_fn_cxx_try_compile "$LINENO"; then :
43640 glibcxx_cv_func_strtold_use=yes
43641 else
43642 glibcxx_cv_func_strtold_use=no
43643 fi
43644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43645 ac_ext=c
43646 ac_cpp='$CPP $CPPFLAGS'
43647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43650
43651
43652 fi
43653
43654 fi
43655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43656 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43657 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43658 for ac_func in strtold
43659 do :
43660 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43661 if test "x$ac_cv_func_strtold" = x""yes; then :
43662 cat >>confdefs.h <<_ACEOF
43663 #define HAVE_STRTOLD 1
43664 _ACEOF
43665
43666 fi
43667 done
43668
43669 fi
43670
43671
43672
43673
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43675 $as_echo_n "checking for strtof declaration... " >&6; }
43676 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43677 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43678 $as_echo_n "(cached) " >&6
43679 else
43680
43681
43682 ac_ext=cpp
43683 ac_cpp='$CXXCPP $CPPFLAGS'
43684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43687
43688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43689 /* end confdefs.h. */
43690 #include <stdlib.h>
43691 int
43692 main ()
43693 {
43694 strtof(0, 0);
43695 ;
43696 return 0;
43697 }
43698 _ACEOF
43699 if ac_fn_cxx_try_compile "$LINENO"; then :
43700 glibcxx_cv_func_strtof_use=yes
43701 else
43702 glibcxx_cv_func_strtof_use=no
43703 fi
43704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43705 ac_ext=c
43706 ac_cpp='$CPP $CPPFLAGS'
43707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43710
43711
43712 fi
43713
43714 fi
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43716 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43717 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43718 for ac_func in strtof
43719 do :
43720 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43721 if test "x$ac_cv_func_strtof" = x""yes; then :
43722 cat >>confdefs.h <<_ACEOF
43723 #define HAVE_STRTOF 1
43724 _ACEOF
43725
43726 fi
43727 done
43728
43729 fi
43730
43731
43732
43733
43734 CXXFLAGS="$ac_save_CXXFLAGS"
43735
43736 ;;
43737
43738 *djgpp)
43739 # GLIBCXX_CHECK_MATH_SUPPORT
43740 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43741
43742 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43743
43744 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43745
43746 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43747
43748 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43749
43750 ;;
43751
43752 *-freebsd*)
43753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43754
43755
43756 # If we're not using GNU ld, then there's no point in even trying these
43757 # tests. Check for that first. We should have already tested for gld
43758 # by now (in libtool), but require it now just to be safe...
43759 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43760 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43761
43762
43763
43764 # The name set by libtool depends on the version of libtool. Shame on us
43765 # for depending on an impl detail, but c'est la vie. Older versions used
43766 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43767 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43768 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43769 # set (hence we're using an older libtool), then set it.
43770 if test x${with_gnu_ld+set} != xset; then
43771 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43772 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43773 with_gnu_ld=no
43774 else
43775 with_gnu_ld=$ac_cv_prog_gnu_ld
43776 fi
43777 fi
43778
43779 # Start by getting the version number. I think the libtool test already
43780 # does some of this, but throws away the result.
43781 glibcxx_ld_is_gold=no
43782 if test x"$with_gnu_ld" = x"yes"; then
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43784 $as_echo_n "checking for ld version... " >&6; }
43785
43786 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43787 glibcxx_ld_is_gold=yes
43788 fi
43789 ldver=`$LD --version 2>/dev/null |
43790 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'`
43791
43792 glibcxx_gnu_ld_version=`echo $ldver | \
43793 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43795 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43796 fi
43797
43798 # Set --gc-sections.
43799 glibcxx_have_gc_sections=no
43800 if test "$glibcxx_ld_is_gold" = "yes"; then
43801 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43802 glibcxx_have_gc_sections=yes
43803 fi
43804 else
43805 glibcxx_gcsections_min_ld=21602
43806 if test x"$with_gnu_ld" = x"yes" &&
43807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43808 glibcxx_have_gc_sections=yes
43809 fi
43810 fi
43811 if test "$glibcxx_have_gc_sections" = "yes"; then
43812 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43813 # NB: This flag only works reliably after 2.16.1. Configure tests
43814 # for this are difficult, so hard wire a value that should work.
43815
43816 ac_test_CFLAGS="${CFLAGS+set}"
43817 ac_save_CFLAGS="$CFLAGS"
43818 CFLAGS='-Wl,--gc-sections'
43819
43820 # Check for -Wl,--gc-sections
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43822 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43823 if test x$gcc_no_link = xyes; then
43824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43825 fi
43826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43827 /* end confdefs.h. */
43828 int one(void) { return 1; }
43829 int two(void) { return 2; }
43830
43831 int
43832 main ()
43833 {
43834 two();
43835 ;
43836 return 0;
43837 }
43838 _ACEOF
43839 if ac_fn_c_try_link "$LINENO"; then :
43840 ac_gcsections=yes
43841 else
43842 ac_gcsections=no
43843 fi
43844 rm -f core conftest.err conftest.$ac_objext \
43845 conftest$ac_exeext conftest.$ac_ext
43846 if test "$ac_gcsections" = "yes"; then
43847 rm -f conftest.c
43848 touch conftest.c
43849 if $CC -c conftest.c; then
43850 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43851 grep "Warning: gc-sections option ignored" > /dev/null; then
43852 ac_gcsections=no
43853 fi
43854 fi
43855 rm -f conftest.c conftest.o conftest
43856 fi
43857 if test "$ac_gcsections" = "yes"; then
43858 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43859 fi
43860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
43861 $as_echo "$ac_gcsections" >&6; }
43862
43863 if test "$ac_test_CFLAGS" = set; then
43864 CFLAGS="$ac_save_CFLAGS"
43865 else
43866 # this is the suspicious part
43867 CFLAGS=''
43868 fi
43869 fi
43870
43871 # Set -z,relro.
43872 # Note this is only for shared objects.
43873 ac_ld_relro=no
43874 if test x"$with_gnu_ld" = x"yes"; then
43875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
43876 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
43877 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43878 if test -n "$cxx_z_relo"; then
43879 OPT_LDFLAGS="-Wl,-z,relro"
43880 ac_ld_relro=yes
43881 fi
43882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
43883 $as_echo "$ac_ld_relro" >&6; }
43884 fi
43885
43886 # Set linker optimization flags.
43887 if test x"$with_gnu_ld" = x"yes"; then
43888 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43889 fi
43890
43891
43892
43893
43894 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
43895
43896 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
43897
43898 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43899
43900 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
43901
43902 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43903
43904 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
43905
43906 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43907
43908 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43909
43910 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
43911
43912
43913 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
43914
43915 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
43916
43917 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
43918
43919 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
43920
43921 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
43922
43923 $as_echo "#define HAVE_COSF 1" >>confdefs.h
43924
43925 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
43926
43927 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
43928
43929 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
43930
43931 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
43932
43933 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
43934
43935 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
43936
43937 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
43938
43939 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
43940
43941 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
43942
43943 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
43944
43945 $as_echo "#define HAVE_POWF 1" >>confdefs.h
43946
43947 $as_echo "#define HAVE_SINF 1" >>confdefs.h
43948
43949 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
43950
43951 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
43952
43953 $as_echo "#define HAVE_TANF 1" >>confdefs.h
43954
43955 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
43956
43957 if test x"long_double_math_on_this_cpu" = x"yes"; then
43958 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
43959
43960 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
43961
43962 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
43963
43964 fi
43965 ;;
43966 *-hpux*)
43967 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43968
43969
43970 # If we're not using GNU ld, then there's no point in even trying these
43971 # tests. Check for that first. We should have already tested for gld
43972 # by now (in libtool), but require it now just to be safe...
43973 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43974 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43975
43976
43977
43978 # The name set by libtool depends on the version of libtool. Shame on us
43979 # for depending on an impl detail, but c'est la vie. Older versions used
43980 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43981 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43982 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43983 # set (hence we're using an older libtool), then set it.
43984 if test x${with_gnu_ld+set} != xset; then
43985 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43986 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43987 with_gnu_ld=no
43988 else
43989 with_gnu_ld=$ac_cv_prog_gnu_ld
43990 fi
43991 fi
43992
43993 # Start by getting the version number. I think the libtool test already
43994 # does some of this, but throws away the result.
43995 glibcxx_ld_is_gold=no
43996 if test x"$with_gnu_ld" = x"yes"; then
43997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43998 $as_echo_n "checking for ld version... " >&6; }
43999
44000 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44001 glibcxx_ld_is_gold=yes
44002 fi
44003 ldver=`$LD --version 2>/dev/null |
44004 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'`
44005
44006 glibcxx_gnu_ld_version=`echo $ldver | \
44007 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44009 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44010 fi
44011
44012 # Set --gc-sections.
44013 glibcxx_have_gc_sections=no
44014 if test "$glibcxx_ld_is_gold" = "yes"; then
44015 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44016 glibcxx_have_gc_sections=yes
44017 fi
44018 else
44019 glibcxx_gcsections_min_ld=21602
44020 if test x"$with_gnu_ld" = x"yes" &&
44021 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44022 glibcxx_have_gc_sections=yes
44023 fi
44024 fi
44025 if test "$glibcxx_have_gc_sections" = "yes"; then
44026 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44027 # NB: This flag only works reliably after 2.16.1. Configure tests
44028 # for this are difficult, so hard wire a value that should work.
44029
44030 ac_test_CFLAGS="${CFLAGS+set}"
44031 ac_save_CFLAGS="$CFLAGS"
44032 CFLAGS='-Wl,--gc-sections'
44033
44034 # Check for -Wl,--gc-sections
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44036 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44037 if test x$gcc_no_link = xyes; then
44038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44039 fi
44040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44041 /* end confdefs.h. */
44042 int one(void) { return 1; }
44043 int two(void) { return 2; }
44044
44045 int
44046 main ()
44047 {
44048 two();
44049 ;
44050 return 0;
44051 }
44052 _ACEOF
44053 if ac_fn_c_try_link "$LINENO"; then :
44054 ac_gcsections=yes
44055 else
44056 ac_gcsections=no
44057 fi
44058 rm -f core conftest.err conftest.$ac_objext \
44059 conftest$ac_exeext conftest.$ac_ext
44060 if test "$ac_gcsections" = "yes"; then
44061 rm -f conftest.c
44062 touch conftest.c
44063 if $CC -c conftest.c; then
44064 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44065 grep "Warning: gc-sections option ignored" > /dev/null; then
44066 ac_gcsections=no
44067 fi
44068 fi
44069 rm -f conftest.c conftest.o conftest
44070 fi
44071 if test "$ac_gcsections" = "yes"; then
44072 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44073 fi
44074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44075 $as_echo "$ac_gcsections" >&6; }
44076
44077 if test "$ac_test_CFLAGS" = set; then
44078 CFLAGS="$ac_save_CFLAGS"
44079 else
44080 # this is the suspicious part
44081 CFLAGS=''
44082 fi
44083 fi
44084
44085 # Set -z,relro.
44086 # Note this is only for shared objects.
44087 ac_ld_relro=no
44088 if test x"$with_gnu_ld" = x"yes"; then
44089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44090 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44091 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44092 if test -n "$cxx_z_relo"; then
44093 OPT_LDFLAGS="-Wl,-z,relro"
44094 ac_ld_relro=yes
44095 fi
44096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44097 $as_echo "$ac_ld_relro" >&6; }
44098 fi
44099
44100 # Set linker optimization flags.
44101 if test x"$with_gnu_ld" = x"yes"; then
44102 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44103 fi
44104
44105
44106
44107
44108
44109 # GLIBCXX_CHECK_MATH_SUPPORT
44110 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44111
44112 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44113
44114 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44115
44116 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44117
44118 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44119
44120 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44121
44122 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44123
44124 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44125
44126 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44127
44128 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44129
44130 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44131
44132 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44133
44134 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44135
44136 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44137
44138 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44139
44140 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44141
44142 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44143
44144 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44145
44146 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44147
44148 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44149
44150 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44151
44152
44153 # GLIBCXX_CHECK_STDLIB_SUPPORT
44154 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44155
44156
44157
44158
44159 # Check whether --enable-tls was given.
44160 if test "${enable_tls+set}" = set; then :
44161 enableval=$enable_tls;
44162 case "$enableval" in
44163 yes|no) ;;
44164 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44165 esac
44166
44167 else
44168 enable_tls=yes
44169 fi
44170
44171
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44173 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44174 if test "${gcc_cv_have_tls+set}" = set; then :
44175 $as_echo_n "(cached) " >&6
44176 else
44177
44178 if test "$cross_compiling" = yes; then :
44179 if test x$gcc_no_link = xyes; then
44180 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44181 fi
44182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44183 /* end confdefs.h. */
44184 __thread int a; int b; int main() { return a = b; }
44185 _ACEOF
44186 if ac_fn_c_try_link "$LINENO"; then :
44187 chktls_save_LDFLAGS="$LDFLAGS"
44188 case $host in
44189 *-*-linux*)
44190 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44191 ;;
44192 esac
44193 chktls_save_CFLAGS="$CFLAGS"
44194 CFLAGS="-fPIC $CFLAGS"
44195 if test x$gcc_no_link = xyes; then
44196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44197 fi
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 int f() { return 0; }
44201 _ACEOF
44202 if ac_fn_c_try_link "$LINENO"; then :
44203 if test x$gcc_no_link = xyes; then
44204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44205 fi
44206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44207 /* end confdefs.h. */
44208 __thread int a; int b; int f() { return a = b; }
44209 _ACEOF
44210 if ac_fn_c_try_link "$LINENO"; then :
44211 gcc_cv_have_tls=yes
44212 else
44213 gcc_cv_have_tls=no
44214 fi
44215 rm -f core conftest.err conftest.$ac_objext \
44216 conftest$ac_exeext conftest.$ac_ext
44217 else
44218 gcc_cv_have_tls=yes
44219 fi
44220 rm -f core conftest.err conftest.$ac_objext \
44221 conftest$ac_exeext conftest.$ac_ext
44222 CFLAGS="$chktls_save_CFLAGS"
44223 LDFLAGS="$chktls_save_LDFLAGS"
44224 else
44225 gcc_cv_have_tls=no
44226 fi
44227 rm -f core conftest.err conftest.$ac_objext \
44228 conftest$ac_exeext conftest.$ac_ext
44229
44230
44231 else
44232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44233 /* end confdefs.h. */
44234 __thread int a; int b; int main() { return a = b; }
44235 _ACEOF
44236 if ac_fn_c_try_run "$LINENO"; then :
44237 chktls_save_LDFLAGS="$LDFLAGS"
44238 LDFLAGS="-static $LDFLAGS"
44239 if test x$gcc_no_link = xyes; then
44240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44241 fi
44242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44243 /* end confdefs.h. */
44244 int main() { return 0; }
44245 _ACEOF
44246 if ac_fn_c_try_link "$LINENO"; then :
44247 if test "$cross_compiling" = yes; then :
44248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44250 as_fn_error "cannot run test program while cross compiling
44251 See \`config.log' for more details." "$LINENO" 5; }
44252 else
44253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44254 /* end confdefs.h. */
44255 __thread int a; int b; int main() { return a = b; }
44256 _ACEOF
44257 if ac_fn_c_try_run "$LINENO"; then :
44258 gcc_cv_have_tls=yes
44259 else
44260 gcc_cv_have_tls=no
44261 fi
44262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44263 conftest.$ac_objext conftest.beam conftest.$ac_ext
44264 fi
44265
44266 else
44267 gcc_cv_have_tls=yes
44268 fi
44269 rm -f core conftest.err conftest.$ac_objext \
44270 conftest$ac_exeext conftest.$ac_ext
44271 LDFLAGS="$chktls_save_LDFLAGS"
44272 if test $gcc_cv_have_tls = yes; then
44273 chktls_save_CFLAGS="$CFLAGS"
44274 thread_CFLAGS=failed
44275 for flag in '' '-pthread' '-lpthread'; do
44276 CFLAGS="$flag $chktls_save_CFLAGS"
44277 if test x$gcc_no_link = xyes; then
44278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44279 fi
44280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44281 /* end confdefs.h. */
44282 #include <pthread.h>
44283 void *g(void *d) { return NULL; }
44284 int
44285 main ()
44286 {
44287 pthread_t t; pthread_create(&t,NULL,g,NULL);
44288 ;
44289 return 0;
44290 }
44291 _ACEOF
44292 if ac_fn_c_try_link "$LINENO"; then :
44293 thread_CFLAGS="$flag"
44294 fi
44295 rm -f core conftest.err conftest.$ac_objext \
44296 conftest$ac_exeext conftest.$ac_ext
44297 if test "X$thread_CFLAGS" != Xfailed; then
44298 break
44299 fi
44300 done
44301 CFLAGS="$chktls_save_CFLAGS"
44302 if test "X$thread_CFLAGS" != Xfailed; then
44303 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44304 if test "$cross_compiling" = yes; then :
44305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44307 as_fn_error "cannot run test program while cross compiling
44308 See \`config.log' for more details." "$LINENO" 5; }
44309 else
44310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44311 /* end confdefs.h. */
44312 #include <pthread.h>
44313 __thread int a;
44314 static int *a_in_other_thread;
44315 static void *
44316 thread_func (void *arg)
44317 {
44318 a_in_other_thread = &a;
44319 return (void *)0;
44320 }
44321 int
44322 main ()
44323 {
44324 pthread_t thread;
44325 void *thread_retval;
44326 int *a_in_main_thread;
44327 if (pthread_create (&thread, (pthread_attr_t *)0,
44328 thread_func, (void *)0))
44329 return 0;
44330 a_in_main_thread = &a;
44331 if (pthread_join (thread, &thread_retval))
44332 return 0;
44333 return (a_in_other_thread == a_in_main_thread);
44334 ;
44335 return 0;
44336 }
44337 _ACEOF
44338 if ac_fn_c_try_run "$LINENO"; then :
44339 gcc_cv_have_tls=yes
44340 else
44341 gcc_cv_have_tls=no
44342 fi
44343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44344 conftest.$ac_objext conftest.beam conftest.$ac_ext
44345 fi
44346
44347 CFLAGS="$chktls_save_CFLAGS"
44348 fi
44349 fi
44350 else
44351 gcc_cv_have_tls=no
44352 fi
44353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44354 conftest.$ac_objext conftest.beam conftest.$ac_ext
44355 fi
44356
44357 fi
44358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44359 $as_echo "$gcc_cv_have_tls" >&6; }
44360 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44361
44362 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44363
44364 fi
44365 case "$target" in
44366 *-hpux10*)
44367 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44368
44369 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44370
44371 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44372
44373 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44374
44375 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44376
44377 ;;
44378 esac
44379 ;;
44380 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44381
44382 # All these tests are for C++; save the language and the compiler flags.
44383 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44384 # found in GLIBCXX_CONFIGURE.
44385
44386 ac_ext=cpp
44387 ac_cpp='$CXXCPP $CPPFLAGS'
44388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44391
44392 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44393 ac_save_CXXFLAGS="$CXXFLAGS"
44394
44395 # Check for maintainer-mode bits.
44396 if test x"$USE_MAINTAINER_MODE" = xno; then
44397 WERROR=''
44398 else
44399 WERROR='-Werror'
44400 fi
44401
44402 # Check for -ffunction-sections -fdata-sections
44403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44404 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44405 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44407 /* end confdefs.h. */
44408 int foo; void bar() { };
44409 int
44410 main ()
44411 {
44412
44413 ;
44414 return 0;
44415 }
44416 _ACEOF
44417 if ac_fn_cxx_try_compile "$LINENO"; then :
44418 ac_fdsections=yes
44419 else
44420 ac_fdsections=no
44421 fi
44422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44423 if test "$ac_test_CXXFLAGS" = set; then
44424 CXXFLAGS="$ac_save_CXXFLAGS"
44425 else
44426 # this is the suspicious part
44427 CXXFLAGS=''
44428 fi
44429 if test x"$ac_fdsections" = x"yes"; then
44430 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44431 fi
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44433 $as_echo "$ac_fdsections" >&6; }
44434
44435 ac_ext=c
44436 ac_cpp='$CPP $CPPFLAGS'
44437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44440
44441
44442
44443
44444
44445 # If we're not using GNU ld, then there's no point in even trying these
44446 # tests. Check for that first. We should have already tested for gld
44447 # by now (in libtool), but require it now just to be safe...
44448 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44449 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44450
44451
44452
44453 # The name set by libtool depends on the version of libtool. Shame on us
44454 # for depending on an impl detail, but c'est la vie. Older versions used
44455 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44456 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44457 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44458 # set (hence we're using an older libtool), then set it.
44459 if test x${with_gnu_ld+set} != xset; then
44460 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44461 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44462 with_gnu_ld=no
44463 else
44464 with_gnu_ld=$ac_cv_prog_gnu_ld
44465 fi
44466 fi
44467
44468 # Start by getting the version number. I think the libtool test already
44469 # does some of this, but throws away the result.
44470 glibcxx_ld_is_gold=no
44471 if test x"$with_gnu_ld" = x"yes"; then
44472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44473 $as_echo_n "checking for ld version... " >&6; }
44474
44475 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44476 glibcxx_ld_is_gold=yes
44477 fi
44478 ldver=`$LD --version 2>/dev/null |
44479 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'`
44480
44481 glibcxx_gnu_ld_version=`echo $ldver | \
44482 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44484 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44485 fi
44486
44487 # Set --gc-sections.
44488 glibcxx_have_gc_sections=no
44489 if test "$glibcxx_ld_is_gold" = "yes"; then
44490 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44491 glibcxx_have_gc_sections=yes
44492 fi
44493 else
44494 glibcxx_gcsections_min_ld=21602
44495 if test x"$with_gnu_ld" = x"yes" &&
44496 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44497 glibcxx_have_gc_sections=yes
44498 fi
44499 fi
44500 if test "$glibcxx_have_gc_sections" = "yes"; then
44501 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44502 # NB: This flag only works reliably after 2.16.1. Configure tests
44503 # for this are difficult, so hard wire a value that should work.
44504
44505 ac_test_CFLAGS="${CFLAGS+set}"
44506 ac_save_CFLAGS="$CFLAGS"
44507 CFLAGS='-Wl,--gc-sections'
44508
44509 # Check for -Wl,--gc-sections
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44511 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44512 if test x$gcc_no_link = xyes; then
44513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44514 fi
44515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44516 /* end confdefs.h. */
44517 int one(void) { return 1; }
44518 int two(void) { return 2; }
44519
44520 int
44521 main ()
44522 {
44523 two();
44524 ;
44525 return 0;
44526 }
44527 _ACEOF
44528 if ac_fn_c_try_link "$LINENO"; then :
44529 ac_gcsections=yes
44530 else
44531 ac_gcsections=no
44532 fi
44533 rm -f core conftest.err conftest.$ac_objext \
44534 conftest$ac_exeext conftest.$ac_ext
44535 if test "$ac_gcsections" = "yes"; then
44536 rm -f conftest.c
44537 touch conftest.c
44538 if $CC -c conftest.c; then
44539 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44540 grep "Warning: gc-sections option ignored" > /dev/null; then
44541 ac_gcsections=no
44542 fi
44543 fi
44544 rm -f conftest.c conftest.o conftest
44545 fi
44546 if test "$ac_gcsections" = "yes"; then
44547 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44548 fi
44549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44550 $as_echo "$ac_gcsections" >&6; }
44551
44552 if test "$ac_test_CFLAGS" = set; then
44553 CFLAGS="$ac_save_CFLAGS"
44554 else
44555 # this is the suspicious part
44556 CFLAGS=''
44557 fi
44558 fi
44559
44560 # Set -z,relro.
44561 # Note this is only for shared objects.
44562 ac_ld_relro=no
44563 if test x"$with_gnu_ld" = x"yes"; then
44564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44565 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44566 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44567 if test -n "$cxx_z_relo"; then
44568 OPT_LDFLAGS="-Wl,-z,relro"
44569 ac_ld_relro=yes
44570 fi
44571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44572 $as_echo "$ac_ld_relro" >&6; }
44573 fi
44574
44575 # Set linker optimization flags.
44576 if test x"$with_gnu_ld" = x"yes"; then
44577 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44578 fi
44579
44580
44581
44582
44583
44584 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44585 ac_save_CXXFLAGS="$CXXFLAGS"
44586 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44587
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44589 $as_echo_n "checking for sin in -lm... " >&6; }
44590 if test "${ac_cv_lib_m_sin+set}" = set; then :
44591 $as_echo_n "(cached) " >&6
44592 else
44593 ac_check_lib_save_LIBS=$LIBS
44594 LIBS="-lm $LIBS"
44595 if test x$gcc_no_link = xyes; then
44596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44597 fi
44598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44599 /* end confdefs.h. */
44600
44601 /* Override any GCC internal prototype to avoid an error.
44602 Use char because int might match the return type of a GCC
44603 builtin and then its argument prototype would still apply. */
44604 #ifdef __cplusplus
44605 extern "C"
44606 #endif
44607 char sin ();
44608 int
44609 main ()
44610 {
44611 return sin ();
44612 ;
44613 return 0;
44614 }
44615 _ACEOF
44616 if ac_fn_c_try_link "$LINENO"; then :
44617 ac_cv_lib_m_sin=yes
44618 else
44619 ac_cv_lib_m_sin=no
44620 fi
44621 rm -f core conftest.err conftest.$ac_objext \
44622 conftest$ac_exeext conftest.$ac_ext
44623 LIBS=$ac_check_lib_save_LIBS
44624 fi
44625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44626 $as_echo "$ac_cv_lib_m_sin" >&6; }
44627 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44628 libm="-lm"
44629 fi
44630
44631 ac_save_LIBS="$LIBS"
44632 LIBS="$LIBS $libm"
44633
44634
44635
44636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44637 $as_echo_n "checking for isinf declaration... " >&6; }
44638 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44639 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44640 $as_echo_n "(cached) " >&6
44641 else
44642
44643
44644 ac_ext=cpp
44645 ac_cpp='$CXXCPP $CPPFLAGS'
44646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44649
44650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44651 /* end confdefs.h. */
44652 #include <math.h>
44653 #ifdef HAVE_IEEEFP_H
44654 #include <ieeefp.h>
44655 #endif
44656
44657 int
44658 main ()
44659 {
44660 isinf(0);
44661 ;
44662 return 0;
44663 }
44664 _ACEOF
44665 if ac_fn_cxx_try_compile "$LINENO"; then :
44666 glibcxx_cv_func_isinf_use=yes
44667 else
44668 glibcxx_cv_func_isinf_use=no
44669 fi
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671 ac_ext=c
44672 ac_cpp='$CPP $CPPFLAGS'
44673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44676
44677
44678 fi
44679
44680 fi
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44682 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44683
44684 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44685 for ac_func in isinf
44686 do :
44687 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44688 if test "x$ac_cv_func_isinf" = x""yes; then :
44689 cat >>confdefs.h <<_ACEOF
44690 #define HAVE_ISINF 1
44691 _ACEOF
44692
44693 fi
44694 done
44695
44696 else
44697
44698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44699 $as_echo_n "checking for _isinf declaration... " >&6; }
44700 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44701 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44702 $as_echo_n "(cached) " >&6
44703 else
44704
44705
44706 ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44711
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h. */
44714 #include <math.h>
44715 #ifdef HAVE_IEEEFP_H
44716 #include <ieeefp.h>
44717 #endif
44718
44719 int
44720 main ()
44721 {
44722 _isinf(0);
44723 ;
44724 return 0;
44725 }
44726 _ACEOF
44727 if ac_fn_cxx_try_compile "$LINENO"; then :
44728 glibcxx_cv_func__isinf_use=yes
44729 else
44730 glibcxx_cv_func__isinf_use=no
44731 fi
44732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44733 ac_ext=c
44734 ac_cpp='$CPP $CPPFLAGS'
44735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44738
44739
44740 fi
44741
44742 fi
44743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44744 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44745
44746 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44747 for ac_func in _isinf
44748 do :
44749 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44750 if test "x$ac_cv_func__isinf" = x""yes; then :
44751 cat >>confdefs.h <<_ACEOF
44752 #define HAVE__ISINF 1
44753 _ACEOF
44754
44755 fi
44756 done
44757
44758 fi
44759 fi
44760
44761
44762
44763
44764
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44766 $as_echo_n "checking for isnan declaration... " >&6; }
44767 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44768 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44769 $as_echo_n "(cached) " >&6
44770 else
44771
44772
44773 ac_ext=cpp
44774 ac_cpp='$CXXCPP $CPPFLAGS'
44775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44778
44779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44780 /* end confdefs.h. */
44781 #include <math.h>
44782 #ifdef HAVE_IEEEFP_H
44783 #include <ieeefp.h>
44784 #endif
44785
44786 int
44787 main ()
44788 {
44789 isnan(0);
44790 ;
44791 return 0;
44792 }
44793 _ACEOF
44794 if ac_fn_cxx_try_compile "$LINENO"; then :
44795 glibcxx_cv_func_isnan_use=yes
44796 else
44797 glibcxx_cv_func_isnan_use=no
44798 fi
44799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44800 ac_ext=c
44801 ac_cpp='$CPP $CPPFLAGS'
44802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44805
44806
44807 fi
44808
44809 fi
44810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44811 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44812
44813 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44814 for ac_func in isnan
44815 do :
44816 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44817 if test "x$ac_cv_func_isnan" = x""yes; then :
44818 cat >>confdefs.h <<_ACEOF
44819 #define HAVE_ISNAN 1
44820 _ACEOF
44821
44822 fi
44823 done
44824
44825 else
44826
44827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44828 $as_echo_n "checking for _isnan declaration... " >&6; }
44829 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44830 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44831 $as_echo_n "(cached) " >&6
44832 else
44833
44834
44835 ac_ext=cpp
44836 ac_cpp='$CXXCPP $CPPFLAGS'
44837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44840
44841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44842 /* end confdefs.h. */
44843 #include <math.h>
44844 #ifdef HAVE_IEEEFP_H
44845 #include <ieeefp.h>
44846 #endif
44847
44848 int
44849 main ()
44850 {
44851 _isnan(0);
44852 ;
44853 return 0;
44854 }
44855 _ACEOF
44856 if ac_fn_cxx_try_compile "$LINENO"; then :
44857 glibcxx_cv_func__isnan_use=yes
44858 else
44859 glibcxx_cv_func__isnan_use=no
44860 fi
44861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44862 ac_ext=c
44863 ac_cpp='$CPP $CPPFLAGS'
44864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44867
44868
44869 fi
44870
44871 fi
44872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
44873 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
44874
44875 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44876 for ac_func in _isnan
44877 do :
44878 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
44879 if test "x$ac_cv_func__isnan" = x""yes; then :
44880 cat >>confdefs.h <<_ACEOF
44881 #define HAVE__ISNAN 1
44882 _ACEOF
44883
44884 fi
44885 done
44886
44887 fi
44888 fi
44889
44890
44891
44892
44893
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
44895 $as_echo_n "checking for finite declaration... " >&6; }
44896 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44897 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
44898 $as_echo_n "(cached) " >&6
44899 else
44900
44901
44902 ac_ext=cpp
44903 ac_cpp='$CXXCPP $CPPFLAGS'
44904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44907
44908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44909 /* end confdefs.h. */
44910 #include <math.h>
44911 #ifdef HAVE_IEEEFP_H
44912 #include <ieeefp.h>
44913 #endif
44914
44915 int
44916 main ()
44917 {
44918 finite(0);
44919 ;
44920 return 0;
44921 }
44922 _ACEOF
44923 if ac_fn_cxx_try_compile "$LINENO"; then :
44924 glibcxx_cv_func_finite_use=yes
44925 else
44926 glibcxx_cv_func_finite_use=no
44927 fi
44928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44929 ac_ext=c
44930 ac_cpp='$CPP $CPPFLAGS'
44931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44934
44935
44936 fi
44937
44938 fi
44939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
44940 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
44941
44942 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44943 for ac_func in finite
44944 do :
44945 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
44946 if test "x$ac_cv_func_finite" = x""yes; then :
44947 cat >>confdefs.h <<_ACEOF
44948 #define HAVE_FINITE 1
44949 _ACEOF
44950
44951 fi
44952 done
44953
44954 else
44955
44956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
44957 $as_echo_n "checking for _finite declaration... " >&6; }
44958 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44959 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
44960 $as_echo_n "(cached) " >&6
44961 else
44962
44963
44964 ac_ext=cpp
44965 ac_cpp='$CXXCPP $CPPFLAGS'
44966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44969
44970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44971 /* end confdefs.h. */
44972 #include <math.h>
44973 #ifdef HAVE_IEEEFP_H
44974 #include <ieeefp.h>
44975 #endif
44976
44977 int
44978 main ()
44979 {
44980 _finite(0);
44981 ;
44982 return 0;
44983 }
44984 _ACEOF
44985 if ac_fn_cxx_try_compile "$LINENO"; then :
44986 glibcxx_cv_func__finite_use=yes
44987 else
44988 glibcxx_cv_func__finite_use=no
44989 fi
44990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44991 ac_ext=c
44992 ac_cpp='$CPP $CPPFLAGS'
44993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44996
44997
44998 fi
44999
45000 fi
45001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45002 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45003
45004 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45005 for ac_func in _finite
45006 do :
45007 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45008 if test "x$ac_cv_func__finite" = x""yes; then :
45009 cat >>confdefs.h <<_ACEOF
45010 #define HAVE__FINITE 1
45011 _ACEOF
45012
45013 fi
45014 done
45015
45016 fi
45017 fi
45018
45019
45020
45021
45022
45023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45024 $as_echo_n "checking for sincos declaration... " >&6; }
45025 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45026 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45027 $as_echo_n "(cached) " >&6
45028 else
45029
45030
45031 ac_ext=cpp
45032 ac_cpp='$CXXCPP $CPPFLAGS'
45033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45036
45037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45038 /* end confdefs.h. */
45039 #include <math.h>
45040 int
45041 main ()
45042 {
45043 sincos(0, 0, 0);
45044 ;
45045 return 0;
45046 }
45047 _ACEOF
45048 if ac_fn_cxx_try_compile "$LINENO"; then :
45049 glibcxx_cv_func_sincos_use=yes
45050 else
45051 glibcxx_cv_func_sincos_use=no
45052 fi
45053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45054 ac_ext=c
45055 ac_cpp='$CPP $CPPFLAGS'
45056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45059
45060
45061 fi
45062
45063 fi
45064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45065 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45066
45067 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45068 for ac_func in sincos
45069 do :
45070 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45071 if test "x$ac_cv_func_sincos" = x""yes; then :
45072 cat >>confdefs.h <<_ACEOF
45073 #define HAVE_SINCOS 1
45074 _ACEOF
45075
45076 fi
45077 done
45078
45079 else
45080
45081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45082 $as_echo_n "checking for _sincos declaration... " >&6; }
45083 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45084 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45085 $as_echo_n "(cached) " >&6
45086 else
45087
45088
45089 ac_ext=cpp
45090 ac_cpp='$CXXCPP $CPPFLAGS'
45091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45094
45095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45096 /* end confdefs.h. */
45097 #include <math.h>
45098 int
45099 main ()
45100 {
45101 _sincos(0, 0, 0);
45102 ;
45103 return 0;
45104 }
45105 _ACEOF
45106 if ac_fn_cxx_try_compile "$LINENO"; then :
45107 glibcxx_cv_func__sincos_use=yes
45108 else
45109 glibcxx_cv_func__sincos_use=no
45110 fi
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 ac_ext=c
45113 ac_cpp='$CPP $CPPFLAGS'
45114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45117
45118
45119 fi
45120
45121 fi
45122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45123 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45124
45125 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45126 for ac_func in _sincos
45127 do :
45128 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45129 if test "x$ac_cv_func__sincos" = x""yes; then :
45130 cat >>confdefs.h <<_ACEOF
45131 #define HAVE__SINCOS 1
45132 _ACEOF
45133
45134 fi
45135 done
45136
45137 fi
45138 fi
45139
45140
45141
45142
45143
45144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45145 $as_echo_n "checking for fpclass declaration... " >&6; }
45146 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45147 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45148 $as_echo_n "(cached) " >&6
45149 else
45150
45151
45152 ac_ext=cpp
45153 ac_cpp='$CXXCPP $CPPFLAGS'
45154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45157
45158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45159 /* end confdefs.h. */
45160 #include <math.h>
45161 #ifdef HAVE_IEEEFP_H
45162 #include <ieeefp.h>
45163 #endif
45164
45165 int
45166 main ()
45167 {
45168 fpclass(0);
45169 ;
45170 return 0;
45171 }
45172 _ACEOF
45173 if ac_fn_cxx_try_compile "$LINENO"; then :
45174 glibcxx_cv_func_fpclass_use=yes
45175 else
45176 glibcxx_cv_func_fpclass_use=no
45177 fi
45178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45179 ac_ext=c
45180 ac_cpp='$CPP $CPPFLAGS'
45181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45184
45185
45186 fi
45187
45188 fi
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45190 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45191
45192 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45193 for ac_func in fpclass
45194 do :
45195 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45196 if test "x$ac_cv_func_fpclass" = x""yes; then :
45197 cat >>confdefs.h <<_ACEOF
45198 #define HAVE_FPCLASS 1
45199 _ACEOF
45200
45201 fi
45202 done
45203
45204 else
45205
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45207 $as_echo_n "checking for _fpclass declaration... " >&6; }
45208 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45209 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45210 $as_echo_n "(cached) " >&6
45211 else
45212
45213
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45219
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 #include <math.h>
45223 #ifdef HAVE_IEEEFP_H
45224 #include <ieeefp.h>
45225 #endif
45226
45227 int
45228 main ()
45229 {
45230 _fpclass(0);
45231 ;
45232 return 0;
45233 }
45234 _ACEOF
45235 if ac_fn_cxx_try_compile "$LINENO"; then :
45236 glibcxx_cv_func__fpclass_use=yes
45237 else
45238 glibcxx_cv_func__fpclass_use=no
45239 fi
45240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45241 ac_ext=c
45242 ac_cpp='$CPP $CPPFLAGS'
45243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45246
45247
45248 fi
45249
45250 fi
45251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45252 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45253
45254 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45255 for ac_func in _fpclass
45256 do :
45257 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45258 if test "x$ac_cv_func__fpclass" = x""yes; then :
45259 cat >>confdefs.h <<_ACEOF
45260 #define HAVE__FPCLASS 1
45261 _ACEOF
45262
45263 fi
45264 done
45265
45266 fi
45267 fi
45268
45269
45270
45271
45272
45273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45274 $as_echo_n "checking for qfpclass declaration... " >&6; }
45275 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45276 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45277 $as_echo_n "(cached) " >&6
45278 else
45279
45280
45281 ac_ext=cpp
45282 ac_cpp='$CXXCPP $CPPFLAGS'
45283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45286
45287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45288 /* end confdefs.h. */
45289 #include <math.h>
45290 #ifdef HAVE_IEEEFP_H
45291 #include <ieeefp.h>
45292 #endif
45293
45294 int
45295 main ()
45296 {
45297 qfpclass(0);
45298 ;
45299 return 0;
45300 }
45301 _ACEOF
45302 if ac_fn_cxx_try_compile "$LINENO"; then :
45303 glibcxx_cv_func_qfpclass_use=yes
45304 else
45305 glibcxx_cv_func_qfpclass_use=no
45306 fi
45307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45308 ac_ext=c
45309 ac_cpp='$CPP $CPPFLAGS'
45310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45313
45314
45315 fi
45316
45317 fi
45318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45319 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45320
45321 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45322 for ac_func in qfpclass
45323 do :
45324 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45325 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45326 cat >>confdefs.h <<_ACEOF
45327 #define HAVE_QFPCLASS 1
45328 _ACEOF
45329
45330 fi
45331 done
45332
45333 else
45334
45335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45336 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45337 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45338 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45339 $as_echo_n "(cached) " >&6
45340 else
45341
45342
45343 ac_ext=cpp
45344 ac_cpp='$CXXCPP $CPPFLAGS'
45345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45348
45349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45350 /* end confdefs.h. */
45351 #include <math.h>
45352 #ifdef HAVE_IEEEFP_H
45353 #include <ieeefp.h>
45354 #endif
45355
45356 int
45357 main ()
45358 {
45359 _qfpclass(0);
45360 ;
45361 return 0;
45362 }
45363 _ACEOF
45364 if ac_fn_cxx_try_compile "$LINENO"; then :
45365 glibcxx_cv_func__qfpclass_use=yes
45366 else
45367 glibcxx_cv_func__qfpclass_use=no
45368 fi
45369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45370 ac_ext=c
45371 ac_cpp='$CPP $CPPFLAGS'
45372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45375
45376
45377 fi
45378
45379 fi
45380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45381 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45382
45383 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45384 for ac_func in _qfpclass
45385 do :
45386 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45387 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45388 cat >>confdefs.h <<_ACEOF
45389 #define HAVE__QFPCLASS 1
45390 _ACEOF
45391
45392 fi
45393 done
45394
45395 fi
45396 fi
45397
45398
45399
45400
45401
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45403 $as_echo_n "checking for hypot declaration... " >&6; }
45404 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45405 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45406 $as_echo_n "(cached) " >&6
45407 else
45408
45409
45410 ac_ext=cpp
45411 ac_cpp='$CXXCPP $CPPFLAGS'
45412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45415
45416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45417 /* end confdefs.h. */
45418 #include <math.h>
45419 int
45420 main ()
45421 {
45422 hypot(0, 0);
45423 ;
45424 return 0;
45425 }
45426 _ACEOF
45427 if ac_fn_cxx_try_compile "$LINENO"; then :
45428 glibcxx_cv_func_hypot_use=yes
45429 else
45430 glibcxx_cv_func_hypot_use=no
45431 fi
45432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45433 ac_ext=c
45434 ac_cpp='$CPP $CPPFLAGS'
45435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45438
45439
45440 fi
45441
45442 fi
45443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45444 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45445
45446 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45447 for ac_func in hypot
45448 do :
45449 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45450 if test "x$ac_cv_func_hypot" = x""yes; then :
45451 cat >>confdefs.h <<_ACEOF
45452 #define HAVE_HYPOT 1
45453 _ACEOF
45454
45455 fi
45456 done
45457
45458 else
45459
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45461 $as_echo_n "checking for _hypot declaration... " >&6; }
45462 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45463 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45464 $as_echo_n "(cached) " >&6
45465 else
45466
45467
45468 ac_ext=cpp
45469 ac_cpp='$CXXCPP $CPPFLAGS'
45470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45473
45474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45475 /* end confdefs.h. */
45476 #include <math.h>
45477 int
45478 main ()
45479 {
45480 _hypot(0, 0);
45481 ;
45482 return 0;
45483 }
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func__hypot_use=yes
45487 else
45488 glibcxx_cv_func__hypot_use=no
45489 fi
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45496
45497
45498 fi
45499
45500 fi
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45502 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45503
45504 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45505 for ac_func in _hypot
45506 do :
45507 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45508 if test "x$ac_cv_func__hypot" = x""yes; then :
45509 cat >>confdefs.h <<_ACEOF
45510 #define HAVE__HYPOT 1
45511 _ACEOF
45512
45513 fi
45514 done
45515
45516 fi
45517 fi
45518
45519
45520
45521
45522
45523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45524 $as_echo_n "checking for float trig functions... " >&6; }
45525 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45526 $as_echo_n "(cached) " >&6
45527 else
45528
45529
45530 ac_ext=cpp
45531 ac_cpp='$CXXCPP $CPPFLAGS'
45532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45535
45536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45537 /* end confdefs.h. */
45538 #include <math.h>
45539 int
45540 main ()
45541 {
45542 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45543 ;
45544 return 0;
45545 }
45546 _ACEOF
45547 if ac_fn_cxx_try_compile "$LINENO"; then :
45548 glibcxx_cv_func_float_trig_use=yes
45549 else
45550 glibcxx_cv_func_float_trig_use=no
45551 fi
45552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45553 ac_ext=c
45554 ac_cpp='$CPP $CPPFLAGS'
45555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45558
45559 fi
45560
45561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45562 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45563 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45564 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45565 do :
45566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45568 eval as_val=\$$as_ac_var
45569 if test "x$as_val" = x""yes; then :
45570 cat >>confdefs.h <<_ACEOF
45571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45572 _ACEOF
45573
45574 fi
45575 done
45576
45577 else
45578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45579 $as_echo_n "checking for _float trig functions... " >&6; }
45580 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45581 $as_echo_n "(cached) " >&6
45582 else
45583
45584
45585 ac_ext=cpp
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45590
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 #include <math.h>
45594 int
45595 main ()
45596 {
45597 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45598 ;
45599 return 0;
45600 }
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func__float_trig_use=yes
45604 else
45605 glibcxx_cv_func__float_trig_use=no
45606 fi
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45613
45614 fi
45615
45616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45617 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45618 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45619 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45620 do :
45621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45623 eval as_val=\$$as_ac_var
45624 if test "x$as_val" = x""yes; then :
45625 cat >>confdefs.h <<_ACEOF
45626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45627 _ACEOF
45628
45629 fi
45630 done
45631
45632 fi
45633 fi
45634
45635
45636
45637
45638
45639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45640 $as_echo_n "checking for float round functions... " >&6; }
45641 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45642 $as_echo_n "(cached) " >&6
45643 else
45644
45645
45646 ac_ext=cpp
45647 ac_cpp='$CXXCPP $CPPFLAGS'
45648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45651
45652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45653 /* end confdefs.h. */
45654 #include <math.h>
45655 int
45656 main ()
45657 {
45658 ceilf (0); floorf (0);
45659 ;
45660 return 0;
45661 }
45662 _ACEOF
45663 if ac_fn_cxx_try_compile "$LINENO"; then :
45664 glibcxx_cv_func_float_round_use=yes
45665 else
45666 glibcxx_cv_func_float_round_use=no
45667 fi
45668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45669 ac_ext=c
45670 ac_cpp='$CPP $CPPFLAGS'
45671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45674
45675 fi
45676
45677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45678 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45679 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45680 for ac_func in ceilf floorf
45681 do :
45682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45684 eval as_val=\$$as_ac_var
45685 if test "x$as_val" = x""yes; then :
45686 cat >>confdefs.h <<_ACEOF
45687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45688 _ACEOF
45689
45690 fi
45691 done
45692
45693 else
45694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45695 $as_echo_n "checking for _float round functions... " >&6; }
45696 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45699
45700
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45710 int
45711 main ()
45712 {
45713 _ceilf (0); _floorf (0);
45714 ;
45715 return 0;
45716 }
45717 _ACEOF
45718 if ac_fn_cxx_try_compile "$LINENO"; then :
45719 glibcxx_cv_func__float_round_use=yes
45720 else
45721 glibcxx_cv_func__float_round_use=no
45722 fi
45723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45724 ac_ext=c
45725 ac_cpp='$CPP $CPPFLAGS'
45726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45729
45730 fi
45731
45732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45733 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45734 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45735 for ac_func in _ceilf _floorf
45736 do :
45737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45739 eval as_val=\$$as_ac_var
45740 if test "x$as_val" = x""yes; then :
45741 cat >>confdefs.h <<_ACEOF
45742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45743 _ACEOF
45744
45745 fi
45746 done
45747
45748 fi
45749 fi
45750
45751
45752
45753
45754
45755
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45757 $as_echo_n "checking for expf declaration... " >&6; }
45758 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45759 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45762
45763
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45773 #ifdef HAVE_IEEEFP_H
45774 #include <ieeefp.h>
45775 #endif
45776
45777 int
45778 main ()
45779 {
45780 expf(0);
45781 ;
45782 return 0;
45783 }
45784 _ACEOF
45785 if ac_fn_cxx_try_compile "$LINENO"; then :
45786 glibcxx_cv_func_expf_use=yes
45787 else
45788 glibcxx_cv_func_expf_use=no
45789 fi
45790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45791 ac_ext=c
45792 ac_cpp='$CPP $CPPFLAGS'
45793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45796
45797
45798 fi
45799
45800 fi
45801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45802 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45803
45804 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45805 for ac_func in expf
45806 do :
45807 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45808 if test "x$ac_cv_func_expf" = x""yes; then :
45809 cat >>confdefs.h <<_ACEOF
45810 #define HAVE_EXPF 1
45811 _ACEOF
45812
45813 fi
45814 done
45815
45816 else
45817
45818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45819 $as_echo_n "checking for _expf declaration... " >&6; }
45820 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45821 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45822 $as_echo_n "(cached) " >&6
45823 else
45824
45825
45826 ac_ext=cpp
45827 ac_cpp='$CXXCPP $CPPFLAGS'
45828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45831
45832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45833 /* end confdefs.h. */
45834 #include <math.h>
45835 #ifdef HAVE_IEEEFP_H
45836 #include <ieeefp.h>
45837 #endif
45838
45839 int
45840 main ()
45841 {
45842 _expf(0);
45843 ;
45844 return 0;
45845 }
45846 _ACEOF
45847 if ac_fn_cxx_try_compile "$LINENO"; then :
45848 glibcxx_cv_func__expf_use=yes
45849 else
45850 glibcxx_cv_func__expf_use=no
45851 fi
45852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45853 ac_ext=c
45854 ac_cpp='$CPP $CPPFLAGS'
45855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45858
45859
45860 fi
45861
45862 fi
45863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
45864 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
45865
45866 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45867 for ac_func in _expf
45868 do :
45869 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
45870 if test "x$ac_cv_func__expf" = x""yes; then :
45871 cat >>confdefs.h <<_ACEOF
45872 #define HAVE__EXPF 1
45873 _ACEOF
45874
45875 fi
45876 done
45877
45878 fi
45879 fi
45880
45881
45882
45883
45884
45885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
45886 $as_echo_n "checking for isnanf declaration... " >&6; }
45887 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
45888 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
45889 $as_echo_n "(cached) " >&6
45890 else
45891
45892
45893 ac_ext=cpp
45894 ac_cpp='$CXXCPP $CPPFLAGS'
45895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45898
45899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45900 /* end confdefs.h. */
45901 #include <math.h>
45902 #ifdef HAVE_IEEEFP_H
45903 #include <ieeefp.h>
45904 #endif
45905
45906 int
45907 main ()
45908 {
45909 isnanf(0);
45910 ;
45911 return 0;
45912 }
45913 _ACEOF
45914 if ac_fn_cxx_try_compile "$LINENO"; then :
45915 glibcxx_cv_func_isnanf_use=yes
45916 else
45917 glibcxx_cv_func_isnanf_use=no
45918 fi
45919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45920 ac_ext=c
45921 ac_cpp='$CPP $CPPFLAGS'
45922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45925
45926
45927 fi
45928
45929 fi
45930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
45931 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
45932
45933 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
45934 for ac_func in isnanf
45935 do :
45936 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
45937 if test "x$ac_cv_func_isnanf" = x""yes; then :
45938 cat >>confdefs.h <<_ACEOF
45939 #define HAVE_ISNANF 1
45940 _ACEOF
45941
45942 fi
45943 done
45944
45945 else
45946
45947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
45948 $as_echo_n "checking for _isnanf declaration... " >&6; }
45949 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
45950 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
45951 $as_echo_n "(cached) " >&6
45952 else
45953
45954
45955 ac_ext=cpp
45956 ac_cpp='$CXXCPP $CPPFLAGS'
45957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45960
45961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45962 /* end confdefs.h. */
45963 #include <math.h>
45964 #ifdef HAVE_IEEEFP_H
45965 #include <ieeefp.h>
45966 #endif
45967
45968 int
45969 main ()
45970 {
45971 _isnanf(0);
45972 ;
45973 return 0;
45974 }
45975 _ACEOF
45976 if ac_fn_cxx_try_compile "$LINENO"; then :
45977 glibcxx_cv_func__isnanf_use=yes
45978 else
45979 glibcxx_cv_func__isnanf_use=no
45980 fi
45981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45982 ac_ext=c
45983 ac_cpp='$CPP $CPPFLAGS'
45984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45987
45988
45989 fi
45990
45991 fi
45992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
45993 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
45994
45995 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
45996 for ac_func in _isnanf
45997 do :
45998 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
45999 if test "x$ac_cv_func__isnanf" = x""yes; then :
46000 cat >>confdefs.h <<_ACEOF
46001 #define HAVE__ISNANF 1
46002 _ACEOF
46003
46004 fi
46005 done
46006
46007 fi
46008 fi
46009
46010
46011
46012
46013
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46015 $as_echo_n "checking for isinff declaration... " >&6; }
46016 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46017 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46020
46021
46022 ac_ext=cpp
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46027
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 #include <math.h>
46031 #ifdef HAVE_IEEEFP_H
46032 #include <ieeefp.h>
46033 #endif
46034
46035 int
46036 main ()
46037 {
46038 isinff(0);
46039 ;
46040 return 0;
46041 }
46042 _ACEOF
46043 if ac_fn_cxx_try_compile "$LINENO"; then :
46044 glibcxx_cv_func_isinff_use=yes
46045 else
46046 glibcxx_cv_func_isinff_use=no
46047 fi
46048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46049 ac_ext=c
46050 ac_cpp='$CPP $CPPFLAGS'
46051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46054
46055
46056 fi
46057
46058 fi
46059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46060 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46061
46062 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46063 for ac_func in isinff
46064 do :
46065 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46066 if test "x$ac_cv_func_isinff" = x""yes; then :
46067 cat >>confdefs.h <<_ACEOF
46068 #define HAVE_ISINFF 1
46069 _ACEOF
46070
46071 fi
46072 done
46073
46074 else
46075
46076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46077 $as_echo_n "checking for _isinff declaration... " >&6; }
46078 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46079 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46080 $as_echo_n "(cached) " >&6
46081 else
46082
46083
46084 ac_ext=cpp
46085 ac_cpp='$CXXCPP $CPPFLAGS'
46086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46089
46090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46091 /* end confdefs.h. */
46092 #include <math.h>
46093 #ifdef HAVE_IEEEFP_H
46094 #include <ieeefp.h>
46095 #endif
46096
46097 int
46098 main ()
46099 {
46100 _isinff(0);
46101 ;
46102 return 0;
46103 }
46104 _ACEOF
46105 if ac_fn_cxx_try_compile "$LINENO"; then :
46106 glibcxx_cv_func__isinff_use=yes
46107 else
46108 glibcxx_cv_func__isinff_use=no
46109 fi
46110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46111 ac_ext=c
46112 ac_cpp='$CPP $CPPFLAGS'
46113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46116
46117
46118 fi
46119
46120 fi
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46122 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46123
46124 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46125 for ac_func in _isinff
46126 do :
46127 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46128 if test "x$ac_cv_func__isinff" = x""yes; then :
46129 cat >>confdefs.h <<_ACEOF
46130 #define HAVE__ISINFF 1
46131 _ACEOF
46132
46133 fi
46134 done
46135
46136 fi
46137 fi
46138
46139
46140
46141
46142
46143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46144 $as_echo_n "checking for atan2f declaration... " >&6; }
46145 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46146 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46147 $as_echo_n "(cached) " >&6
46148 else
46149
46150
46151 ac_ext=cpp
46152 ac_cpp='$CXXCPP $CPPFLAGS'
46153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46156
46157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46158 /* end confdefs.h. */
46159 #include <math.h>
46160 int
46161 main ()
46162 {
46163 atan2f(0, 0);
46164 ;
46165 return 0;
46166 }
46167 _ACEOF
46168 if ac_fn_cxx_try_compile "$LINENO"; then :
46169 glibcxx_cv_func_atan2f_use=yes
46170 else
46171 glibcxx_cv_func_atan2f_use=no
46172 fi
46173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46174 ac_ext=c
46175 ac_cpp='$CPP $CPPFLAGS'
46176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46179
46180
46181 fi
46182
46183 fi
46184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46185 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46186
46187 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46188 for ac_func in atan2f
46189 do :
46190 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46191 if test "x$ac_cv_func_atan2f" = x""yes; then :
46192 cat >>confdefs.h <<_ACEOF
46193 #define HAVE_ATAN2F 1
46194 _ACEOF
46195
46196 fi
46197 done
46198
46199 else
46200
46201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46202 $as_echo_n "checking for _atan2f declaration... " >&6; }
46203 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46204 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46205 $as_echo_n "(cached) " >&6
46206 else
46207
46208
46209 ac_ext=cpp
46210 ac_cpp='$CXXCPP $CPPFLAGS'
46211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46214
46215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46216 /* end confdefs.h. */
46217 #include <math.h>
46218 int
46219 main ()
46220 {
46221 _atan2f(0, 0);
46222 ;
46223 return 0;
46224 }
46225 _ACEOF
46226 if ac_fn_cxx_try_compile "$LINENO"; then :
46227 glibcxx_cv_func__atan2f_use=yes
46228 else
46229 glibcxx_cv_func__atan2f_use=no
46230 fi
46231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46232 ac_ext=c
46233 ac_cpp='$CPP $CPPFLAGS'
46234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46237
46238
46239 fi
46240
46241 fi
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46243 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46244
46245 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46246 for ac_func in _atan2f
46247 do :
46248 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46249 if test "x$ac_cv_func__atan2f" = x""yes; then :
46250 cat >>confdefs.h <<_ACEOF
46251 #define HAVE__ATAN2F 1
46252 _ACEOF
46253
46254 fi
46255 done
46256
46257 fi
46258 fi
46259
46260
46261
46262
46263
46264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46265 $as_echo_n "checking for fabsf declaration... " >&6; }
46266 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46267 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46268 $as_echo_n "(cached) " >&6
46269 else
46270
46271
46272 ac_ext=cpp
46273 ac_cpp='$CXXCPP $CPPFLAGS'
46274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46277
46278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46279 /* end confdefs.h. */
46280 #include <math.h>
46281 #ifdef HAVE_IEEEFP_H
46282 #include <ieeefp.h>
46283 #endif
46284
46285 int
46286 main ()
46287 {
46288 fabsf(0);
46289 ;
46290 return 0;
46291 }
46292 _ACEOF
46293 if ac_fn_cxx_try_compile "$LINENO"; then :
46294 glibcxx_cv_func_fabsf_use=yes
46295 else
46296 glibcxx_cv_func_fabsf_use=no
46297 fi
46298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46299 ac_ext=c
46300 ac_cpp='$CPP $CPPFLAGS'
46301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46304
46305
46306 fi
46307
46308 fi
46309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46310 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46311
46312 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46313 for ac_func in fabsf
46314 do :
46315 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46316 if test "x$ac_cv_func_fabsf" = x""yes; then :
46317 cat >>confdefs.h <<_ACEOF
46318 #define HAVE_FABSF 1
46319 _ACEOF
46320
46321 fi
46322 done
46323
46324 else
46325
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46327 $as_echo_n "checking for _fabsf declaration... " >&6; }
46328 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46329 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46330 $as_echo_n "(cached) " >&6
46331 else
46332
46333
46334 ac_ext=cpp
46335 ac_cpp='$CXXCPP $CPPFLAGS'
46336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46339
46340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46341 /* end confdefs.h. */
46342 #include <math.h>
46343 #ifdef HAVE_IEEEFP_H
46344 #include <ieeefp.h>
46345 #endif
46346
46347 int
46348 main ()
46349 {
46350 _fabsf(0);
46351 ;
46352 return 0;
46353 }
46354 _ACEOF
46355 if ac_fn_cxx_try_compile "$LINENO"; then :
46356 glibcxx_cv_func__fabsf_use=yes
46357 else
46358 glibcxx_cv_func__fabsf_use=no
46359 fi
46360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46361 ac_ext=c
46362 ac_cpp='$CPP $CPPFLAGS'
46363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46366
46367
46368 fi
46369
46370 fi
46371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46372 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46373
46374 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46375 for ac_func in _fabsf
46376 do :
46377 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46378 if test "x$ac_cv_func__fabsf" = x""yes; then :
46379 cat >>confdefs.h <<_ACEOF
46380 #define HAVE__FABSF 1
46381 _ACEOF
46382
46383 fi
46384 done
46385
46386 fi
46387 fi
46388
46389
46390
46391
46392
46393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46394 $as_echo_n "checking for fmodf declaration... " >&6; }
46395 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46396 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46397 $as_echo_n "(cached) " >&6
46398 else
46399
46400
46401 ac_ext=cpp
46402 ac_cpp='$CXXCPP $CPPFLAGS'
46403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46406
46407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46408 /* end confdefs.h. */
46409 #include <math.h>
46410 int
46411 main ()
46412 {
46413 fmodf(0, 0);
46414 ;
46415 return 0;
46416 }
46417 _ACEOF
46418 if ac_fn_cxx_try_compile "$LINENO"; then :
46419 glibcxx_cv_func_fmodf_use=yes
46420 else
46421 glibcxx_cv_func_fmodf_use=no
46422 fi
46423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46424 ac_ext=c
46425 ac_cpp='$CPP $CPPFLAGS'
46426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46429
46430
46431 fi
46432
46433 fi
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46435 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46436
46437 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46438 for ac_func in fmodf
46439 do :
46440 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46441 if test "x$ac_cv_func_fmodf" = x""yes; then :
46442 cat >>confdefs.h <<_ACEOF
46443 #define HAVE_FMODF 1
46444 _ACEOF
46445
46446 fi
46447 done
46448
46449 else
46450
46451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46452 $as_echo_n "checking for _fmodf declaration... " >&6; }
46453 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46454 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46455 $as_echo_n "(cached) " >&6
46456 else
46457
46458
46459 ac_ext=cpp
46460 ac_cpp='$CXXCPP $CPPFLAGS'
46461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46464
46465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46466 /* end confdefs.h. */
46467 #include <math.h>
46468 int
46469 main ()
46470 {
46471 _fmodf(0, 0);
46472 ;
46473 return 0;
46474 }
46475 _ACEOF
46476 if ac_fn_cxx_try_compile "$LINENO"; then :
46477 glibcxx_cv_func__fmodf_use=yes
46478 else
46479 glibcxx_cv_func__fmodf_use=no
46480 fi
46481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46482 ac_ext=c
46483 ac_cpp='$CPP $CPPFLAGS'
46484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46487
46488
46489 fi
46490
46491 fi
46492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46493 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46494
46495 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46496 for ac_func in _fmodf
46497 do :
46498 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46499 if test "x$ac_cv_func__fmodf" = x""yes; then :
46500 cat >>confdefs.h <<_ACEOF
46501 #define HAVE__FMODF 1
46502 _ACEOF
46503
46504 fi
46505 done
46506
46507 fi
46508 fi
46509
46510
46511
46512
46513
46514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46515 $as_echo_n "checking for frexpf declaration... " >&6; }
46516 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46517 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46518 $as_echo_n "(cached) " >&6
46519 else
46520
46521
46522 ac_ext=cpp
46523 ac_cpp='$CXXCPP $CPPFLAGS'
46524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46527
46528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46529 /* end confdefs.h. */
46530 #include <math.h>
46531 int
46532 main ()
46533 {
46534 frexpf(0, 0);
46535 ;
46536 return 0;
46537 }
46538 _ACEOF
46539 if ac_fn_cxx_try_compile "$LINENO"; then :
46540 glibcxx_cv_func_frexpf_use=yes
46541 else
46542 glibcxx_cv_func_frexpf_use=no
46543 fi
46544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46545 ac_ext=c
46546 ac_cpp='$CPP $CPPFLAGS'
46547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46550
46551
46552 fi
46553
46554 fi
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46556 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46557
46558 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46559 for ac_func in frexpf
46560 do :
46561 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46562 if test "x$ac_cv_func_frexpf" = x""yes; then :
46563 cat >>confdefs.h <<_ACEOF
46564 #define HAVE_FREXPF 1
46565 _ACEOF
46566
46567 fi
46568 done
46569
46570 else
46571
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46573 $as_echo_n "checking for _frexpf declaration... " >&6; }
46574 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46575 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46576 $as_echo_n "(cached) " >&6
46577 else
46578
46579
46580 ac_ext=cpp
46581 ac_cpp='$CXXCPP $CPPFLAGS'
46582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46585
46586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46587 /* end confdefs.h. */
46588 #include <math.h>
46589 int
46590 main ()
46591 {
46592 _frexpf(0, 0);
46593 ;
46594 return 0;
46595 }
46596 _ACEOF
46597 if ac_fn_cxx_try_compile "$LINENO"; then :
46598 glibcxx_cv_func__frexpf_use=yes
46599 else
46600 glibcxx_cv_func__frexpf_use=no
46601 fi
46602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46603 ac_ext=c
46604 ac_cpp='$CPP $CPPFLAGS'
46605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46608
46609
46610 fi
46611
46612 fi
46613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46614 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46615
46616 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46617 for ac_func in _frexpf
46618 do :
46619 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46620 if test "x$ac_cv_func__frexpf" = x""yes; then :
46621 cat >>confdefs.h <<_ACEOF
46622 #define HAVE__FREXPF 1
46623 _ACEOF
46624
46625 fi
46626 done
46627
46628 fi
46629 fi
46630
46631
46632
46633
46634
46635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46636 $as_echo_n "checking for hypotf declaration... " >&6; }
46637 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46638 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46639 $as_echo_n "(cached) " >&6
46640 else
46641
46642
46643 ac_ext=cpp
46644 ac_cpp='$CXXCPP $CPPFLAGS'
46645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46648
46649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46650 /* end confdefs.h. */
46651 #include <math.h>
46652 int
46653 main ()
46654 {
46655 hypotf(0, 0);
46656 ;
46657 return 0;
46658 }
46659 _ACEOF
46660 if ac_fn_cxx_try_compile "$LINENO"; then :
46661 glibcxx_cv_func_hypotf_use=yes
46662 else
46663 glibcxx_cv_func_hypotf_use=no
46664 fi
46665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46666 ac_ext=c
46667 ac_cpp='$CPP $CPPFLAGS'
46668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46671
46672
46673 fi
46674
46675 fi
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46677 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46678
46679 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46680 for ac_func in hypotf
46681 do :
46682 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46683 if test "x$ac_cv_func_hypotf" = x""yes; then :
46684 cat >>confdefs.h <<_ACEOF
46685 #define HAVE_HYPOTF 1
46686 _ACEOF
46687
46688 fi
46689 done
46690
46691 else
46692
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46694 $as_echo_n "checking for _hypotf declaration... " >&6; }
46695 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46696 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46697 $as_echo_n "(cached) " >&6
46698 else
46699
46700
46701 ac_ext=cpp
46702 ac_cpp='$CXXCPP $CPPFLAGS'
46703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46706
46707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46708 /* end confdefs.h. */
46709 #include <math.h>
46710 int
46711 main ()
46712 {
46713 _hypotf(0, 0);
46714 ;
46715 return 0;
46716 }
46717 _ACEOF
46718 if ac_fn_cxx_try_compile "$LINENO"; then :
46719 glibcxx_cv_func__hypotf_use=yes
46720 else
46721 glibcxx_cv_func__hypotf_use=no
46722 fi
46723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46724 ac_ext=c
46725 ac_cpp='$CPP $CPPFLAGS'
46726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46729
46730
46731 fi
46732
46733 fi
46734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46735 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46736
46737 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46738 for ac_func in _hypotf
46739 do :
46740 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46741 if test "x$ac_cv_func__hypotf" = x""yes; then :
46742 cat >>confdefs.h <<_ACEOF
46743 #define HAVE__HYPOTF 1
46744 _ACEOF
46745
46746 fi
46747 done
46748
46749 fi
46750 fi
46751
46752
46753
46754
46755
46756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46757 $as_echo_n "checking for ldexpf declaration... " >&6; }
46758 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46759 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46760 $as_echo_n "(cached) " >&6
46761 else
46762
46763
46764 ac_ext=cpp
46765 ac_cpp='$CXXCPP $CPPFLAGS'
46766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46769
46770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46771 /* end confdefs.h. */
46772 #include <math.h>
46773 int
46774 main ()
46775 {
46776 ldexpf(0, 0);
46777 ;
46778 return 0;
46779 }
46780 _ACEOF
46781 if ac_fn_cxx_try_compile "$LINENO"; then :
46782 glibcxx_cv_func_ldexpf_use=yes
46783 else
46784 glibcxx_cv_func_ldexpf_use=no
46785 fi
46786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46787 ac_ext=c
46788 ac_cpp='$CPP $CPPFLAGS'
46789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46792
46793
46794 fi
46795
46796 fi
46797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46798 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46799
46800 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46801 for ac_func in ldexpf
46802 do :
46803 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46804 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46805 cat >>confdefs.h <<_ACEOF
46806 #define HAVE_LDEXPF 1
46807 _ACEOF
46808
46809 fi
46810 done
46811
46812 else
46813
46814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46815 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46816 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46817 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46818 $as_echo_n "(cached) " >&6
46819 else
46820
46821
46822 ac_ext=cpp
46823 ac_cpp='$CXXCPP $CPPFLAGS'
46824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46827
46828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46829 /* end confdefs.h. */
46830 #include <math.h>
46831 int
46832 main ()
46833 {
46834 _ldexpf(0, 0);
46835 ;
46836 return 0;
46837 }
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840 glibcxx_cv_func__ldexpf_use=yes
46841 else
46842 glibcxx_cv_func__ldexpf_use=no
46843 fi
46844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845 ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46850
46851
46852 fi
46853
46854 fi
46855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
46856 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
46857
46858 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
46859 for ac_func in _ldexpf
46860 do :
46861 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
46862 if test "x$ac_cv_func__ldexpf" = x""yes; then :
46863 cat >>confdefs.h <<_ACEOF
46864 #define HAVE__LDEXPF 1
46865 _ACEOF
46866
46867 fi
46868 done
46869
46870 fi
46871 fi
46872
46873
46874
46875
46876
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
46878 $as_echo_n "checking for logf declaration... " >&6; }
46879 if test x${glibcxx_cv_func_logf_use+set} != xset; then
46880 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
46881 $as_echo_n "(cached) " >&6
46882 else
46883
46884
46885 ac_ext=cpp
46886 ac_cpp='$CXXCPP $CPPFLAGS'
46887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46890
46891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46892 /* end confdefs.h. */
46893 #include <math.h>
46894 #ifdef HAVE_IEEEFP_H
46895 #include <ieeefp.h>
46896 #endif
46897
46898 int
46899 main ()
46900 {
46901 logf(0);
46902 ;
46903 return 0;
46904 }
46905 _ACEOF
46906 if ac_fn_cxx_try_compile "$LINENO"; then :
46907 glibcxx_cv_func_logf_use=yes
46908 else
46909 glibcxx_cv_func_logf_use=no
46910 fi
46911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46912 ac_ext=c
46913 ac_cpp='$CPP $CPPFLAGS'
46914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46917
46918
46919 fi
46920
46921 fi
46922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
46923 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
46924
46925 if test x$glibcxx_cv_func_logf_use = x"yes"; then
46926 for ac_func in logf
46927 do :
46928 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
46929 if test "x$ac_cv_func_logf" = x""yes; then :
46930 cat >>confdefs.h <<_ACEOF
46931 #define HAVE_LOGF 1
46932 _ACEOF
46933
46934 fi
46935 done
46936
46937 else
46938
46939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
46940 $as_echo_n "checking for _logf declaration... " >&6; }
46941 if test x${glibcxx_cv_func__logf_use+set} != xset; then
46942 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
46943 $as_echo_n "(cached) " >&6
46944 else
46945
46946
46947 ac_ext=cpp
46948 ac_cpp='$CXXCPP $CPPFLAGS'
46949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46952
46953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46954 /* end confdefs.h. */
46955 #include <math.h>
46956 #ifdef HAVE_IEEEFP_H
46957 #include <ieeefp.h>
46958 #endif
46959
46960 int
46961 main ()
46962 {
46963 _logf(0);
46964 ;
46965 return 0;
46966 }
46967 _ACEOF
46968 if ac_fn_cxx_try_compile "$LINENO"; then :
46969 glibcxx_cv_func__logf_use=yes
46970 else
46971 glibcxx_cv_func__logf_use=no
46972 fi
46973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46974 ac_ext=c
46975 ac_cpp='$CPP $CPPFLAGS'
46976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46979
46980
46981 fi
46982
46983 fi
46984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
46985 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
46986
46987 if test x$glibcxx_cv_func__logf_use = x"yes"; then
46988 for ac_func in _logf
46989 do :
46990 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
46991 if test "x$ac_cv_func__logf" = x""yes; then :
46992 cat >>confdefs.h <<_ACEOF
46993 #define HAVE__LOGF 1
46994 _ACEOF
46995
46996 fi
46997 done
46998
46999 fi
47000 fi
47001
47002
47003
47004
47005
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47007 $as_echo_n "checking for log10f declaration... " >&6; }
47008 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47009 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47012
47013
47014 ac_ext=cpp
47015 ac_cpp='$CXXCPP $CPPFLAGS'
47016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47019
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <math.h>
47023 #ifdef HAVE_IEEEFP_H
47024 #include <ieeefp.h>
47025 #endif
47026
47027 int
47028 main ()
47029 {
47030 log10f(0);
47031 ;
47032 return 0;
47033 }
47034 _ACEOF
47035 if ac_fn_cxx_try_compile "$LINENO"; then :
47036 glibcxx_cv_func_log10f_use=yes
47037 else
47038 glibcxx_cv_func_log10f_use=no
47039 fi
47040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47041 ac_ext=c
47042 ac_cpp='$CPP $CPPFLAGS'
47043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47046
47047
47048 fi
47049
47050 fi
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47052 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47053
47054 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47055 for ac_func in log10f
47056 do :
47057 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47058 if test "x$ac_cv_func_log10f" = x""yes; then :
47059 cat >>confdefs.h <<_ACEOF
47060 #define HAVE_LOG10F 1
47061 _ACEOF
47062
47063 fi
47064 done
47065
47066 else
47067
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47069 $as_echo_n "checking for _log10f declaration... " >&6; }
47070 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47071 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47072 $as_echo_n "(cached) " >&6
47073 else
47074
47075
47076 ac_ext=cpp
47077 ac_cpp='$CXXCPP $CPPFLAGS'
47078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47081
47082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47083 /* end confdefs.h. */
47084 #include <math.h>
47085 #ifdef HAVE_IEEEFP_H
47086 #include <ieeefp.h>
47087 #endif
47088
47089 int
47090 main ()
47091 {
47092 _log10f(0);
47093 ;
47094 return 0;
47095 }
47096 _ACEOF
47097 if ac_fn_cxx_try_compile "$LINENO"; then :
47098 glibcxx_cv_func__log10f_use=yes
47099 else
47100 glibcxx_cv_func__log10f_use=no
47101 fi
47102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 ac_ext=c
47104 ac_cpp='$CPP $CPPFLAGS'
47105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47108
47109
47110 fi
47111
47112 fi
47113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47114 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47115
47116 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47117 for ac_func in _log10f
47118 do :
47119 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47120 if test "x$ac_cv_func__log10f" = x""yes; then :
47121 cat >>confdefs.h <<_ACEOF
47122 #define HAVE__LOG10F 1
47123 _ACEOF
47124
47125 fi
47126 done
47127
47128 fi
47129 fi
47130
47131
47132
47133
47134
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47136 $as_echo_n "checking for modff declaration... " >&6; }
47137 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47138 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47139 $as_echo_n "(cached) " >&6
47140 else
47141
47142
47143 ac_ext=cpp
47144 ac_cpp='$CXXCPP $CPPFLAGS'
47145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47148
47149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47150 /* end confdefs.h. */
47151 #include <math.h>
47152 int
47153 main ()
47154 {
47155 modff(0, 0);
47156 ;
47157 return 0;
47158 }
47159 _ACEOF
47160 if ac_fn_cxx_try_compile "$LINENO"; then :
47161 glibcxx_cv_func_modff_use=yes
47162 else
47163 glibcxx_cv_func_modff_use=no
47164 fi
47165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47166 ac_ext=c
47167 ac_cpp='$CPP $CPPFLAGS'
47168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47171
47172
47173 fi
47174
47175 fi
47176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47177 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47178
47179 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47180 for ac_func in modff
47181 do :
47182 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47183 if test "x$ac_cv_func_modff" = x""yes; then :
47184 cat >>confdefs.h <<_ACEOF
47185 #define HAVE_MODFF 1
47186 _ACEOF
47187
47188 fi
47189 done
47190
47191 else
47192
47193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47194 $as_echo_n "checking for _modff declaration... " >&6; }
47195 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47196 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47197 $as_echo_n "(cached) " >&6
47198 else
47199
47200
47201 ac_ext=cpp
47202 ac_cpp='$CXXCPP $CPPFLAGS'
47203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47206
47207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47208 /* end confdefs.h. */
47209 #include <math.h>
47210 int
47211 main ()
47212 {
47213 _modff(0, 0);
47214 ;
47215 return 0;
47216 }
47217 _ACEOF
47218 if ac_fn_cxx_try_compile "$LINENO"; then :
47219 glibcxx_cv_func__modff_use=yes
47220 else
47221 glibcxx_cv_func__modff_use=no
47222 fi
47223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47224 ac_ext=c
47225 ac_cpp='$CPP $CPPFLAGS'
47226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47229
47230
47231 fi
47232
47233 fi
47234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47235 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47236
47237 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47238 for ac_func in _modff
47239 do :
47240 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47241 if test "x$ac_cv_func__modff" = x""yes; then :
47242 cat >>confdefs.h <<_ACEOF
47243 #define HAVE__MODFF 1
47244 _ACEOF
47245
47246 fi
47247 done
47248
47249 fi
47250 fi
47251
47252
47253
47254
47255
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47257 $as_echo_n "checking for modf declaration... " >&6; }
47258 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47259 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47260 $as_echo_n "(cached) " >&6
47261 else
47262
47263
47264 ac_ext=cpp
47265 ac_cpp='$CXXCPP $CPPFLAGS'
47266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47269
47270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47271 /* end confdefs.h. */
47272 #include <math.h>
47273 int
47274 main ()
47275 {
47276 modf(0, 0);
47277 ;
47278 return 0;
47279 }
47280 _ACEOF
47281 if ac_fn_cxx_try_compile "$LINENO"; then :
47282 glibcxx_cv_func_modf_use=yes
47283 else
47284 glibcxx_cv_func_modf_use=no
47285 fi
47286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47287 ac_ext=c
47288 ac_cpp='$CPP $CPPFLAGS'
47289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47292
47293
47294 fi
47295
47296 fi
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47298 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47299
47300 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47301 for ac_func in modf
47302 do :
47303 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47304 if test "x$ac_cv_func_modf" = x""yes; then :
47305 cat >>confdefs.h <<_ACEOF
47306 #define HAVE_MODF 1
47307 _ACEOF
47308
47309 fi
47310 done
47311
47312 else
47313
47314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47315 $as_echo_n "checking for _modf declaration... " >&6; }
47316 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47317 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47318 $as_echo_n "(cached) " >&6
47319 else
47320
47321
47322 ac_ext=cpp
47323 ac_cpp='$CXXCPP $CPPFLAGS'
47324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47327
47328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47329 /* end confdefs.h. */
47330 #include <math.h>
47331 int
47332 main ()
47333 {
47334 _modf(0, 0);
47335 ;
47336 return 0;
47337 }
47338 _ACEOF
47339 if ac_fn_cxx_try_compile "$LINENO"; then :
47340 glibcxx_cv_func__modf_use=yes
47341 else
47342 glibcxx_cv_func__modf_use=no
47343 fi
47344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47345 ac_ext=c
47346 ac_cpp='$CPP $CPPFLAGS'
47347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47350
47351
47352 fi
47353
47354 fi
47355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47356 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47357
47358 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47359 for ac_func in _modf
47360 do :
47361 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47362 if test "x$ac_cv_func__modf" = x""yes; then :
47363 cat >>confdefs.h <<_ACEOF
47364 #define HAVE__MODF 1
47365 _ACEOF
47366
47367 fi
47368 done
47369
47370 fi
47371 fi
47372
47373
47374
47375
47376
47377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47378 $as_echo_n "checking for powf declaration... " >&6; }
47379 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47380 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47381 $as_echo_n "(cached) " >&6
47382 else
47383
47384
47385 ac_ext=cpp
47386 ac_cpp='$CXXCPP $CPPFLAGS'
47387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47390
47391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47392 /* end confdefs.h. */
47393 #include <math.h>
47394 int
47395 main ()
47396 {
47397 powf(0, 0);
47398 ;
47399 return 0;
47400 }
47401 _ACEOF
47402 if ac_fn_cxx_try_compile "$LINENO"; then :
47403 glibcxx_cv_func_powf_use=yes
47404 else
47405 glibcxx_cv_func_powf_use=no
47406 fi
47407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47408 ac_ext=c
47409 ac_cpp='$CPP $CPPFLAGS'
47410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47413
47414
47415 fi
47416
47417 fi
47418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47419 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47420
47421 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47422 for ac_func in powf
47423 do :
47424 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47425 if test "x$ac_cv_func_powf" = x""yes; then :
47426 cat >>confdefs.h <<_ACEOF
47427 #define HAVE_POWF 1
47428 _ACEOF
47429
47430 fi
47431 done
47432
47433 else
47434
47435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47436 $as_echo_n "checking for _powf declaration... " >&6; }
47437 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47438 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47439 $as_echo_n "(cached) " >&6
47440 else
47441
47442
47443 ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47448
47449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h. */
47451 #include <math.h>
47452 int
47453 main ()
47454 {
47455 _powf(0, 0);
47456 ;
47457 return 0;
47458 }
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461 glibcxx_cv_func__powf_use=yes
47462 else
47463 glibcxx_cv_func__powf_use=no
47464 fi
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466 ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47471
47472
47473 fi
47474
47475 fi
47476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47477 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47478
47479 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47480 for ac_func in _powf
47481 do :
47482 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47483 if test "x$ac_cv_func__powf" = x""yes; then :
47484 cat >>confdefs.h <<_ACEOF
47485 #define HAVE__POWF 1
47486 _ACEOF
47487
47488 fi
47489 done
47490
47491 fi
47492 fi
47493
47494
47495
47496
47497
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47499 $as_echo_n "checking for sqrtf declaration... " >&6; }
47500 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47501 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47502 $as_echo_n "(cached) " >&6
47503 else
47504
47505
47506 ac_ext=cpp
47507 ac_cpp='$CXXCPP $CPPFLAGS'
47508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47511
47512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47513 /* end confdefs.h. */
47514 #include <math.h>
47515 #ifdef HAVE_IEEEFP_H
47516 #include <ieeefp.h>
47517 #endif
47518
47519 int
47520 main ()
47521 {
47522 sqrtf(0);
47523 ;
47524 return 0;
47525 }
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528 glibcxx_cv_func_sqrtf_use=yes
47529 else
47530 glibcxx_cv_func_sqrtf_use=no
47531 fi
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533 ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47538
47539
47540 fi
47541
47542 fi
47543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47544 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47545
47546 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47547 for ac_func in sqrtf
47548 do :
47549 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47550 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47551 cat >>confdefs.h <<_ACEOF
47552 #define HAVE_SQRTF 1
47553 _ACEOF
47554
47555 fi
47556 done
47557
47558 else
47559
47560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47561 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47562 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47563 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47564 $as_echo_n "(cached) " >&6
47565 else
47566
47567
47568 ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47573
47574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h. */
47576 #include <math.h>
47577 #ifdef HAVE_IEEEFP_H
47578 #include <ieeefp.h>
47579 #endif
47580
47581 int
47582 main ()
47583 {
47584 _sqrtf(0);
47585 ;
47586 return 0;
47587 }
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590 glibcxx_cv_func__sqrtf_use=yes
47591 else
47592 glibcxx_cv_func__sqrtf_use=no
47593 fi
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47600
47601
47602 fi
47603
47604 fi
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47606 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47607
47608 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47609 for ac_func in _sqrtf
47610 do :
47611 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47612 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47613 cat >>confdefs.h <<_ACEOF
47614 #define HAVE__SQRTF 1
47615 _ACEOF
47616
47617 fi
47618 done
47619
47620 fi
47621 fi
47622
47623
47624
47625
47626
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47628 $as_echo_n "checking for sincosf declaration... " >&6; }
47629 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47630 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47631 $as_echo_n "(cached) " >&6
47632 else
47633
47634
47635 ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47640
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 #include <math.h>
47644 int
47645 main ()
47646 {
47647 sincosf(0, 0, 0);
47648 ;
47649 return 0;
47650 }
47651 _ACEOF
47652 if ac_fn_cxx_try_compile "$LINENO"; then :
47653 glibcxx_cv_func_sincosf_use=yes
47654 else
47655 glibcxx_cv_func_sincosf_use=no
47656 fi
47657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 ac_ext=c
47659 ac_cpp='$CPP $CPPFLAGS'
47660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47663
47664
47665 fi
47666
47667 fi
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47669 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47670
47671 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47672 for ac_func in sincosf
47673 do :
47674 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47675 if test "x$ac_cv_func_sincosf" = x""yes; then :
47676 cat >>confdefs.h <<_ACEOF
47677 #define HAVE_SINCOSF 1
47678 _ACEOF
47679
47680 fi
47681 done
47682
47683 else
47684
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47686 $as_echo_n "checking for _sincosf declaration... " >&6; }
47687 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47688 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47689 $as_echo_n "(cached) " >&6
47690 else
47691
47692
47693 ac_ext=cpp
47694 ac_cpp='$CXXCPP $CPPFLAGS'
47695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47698
47699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47700 /* end confdefs.h. */
47701 #include <math.h>
47702 int
47703 main ()
47704 {
47705 _sincosf(0, 0, 0);
47706 ;
47707 return 0;
47708 }
47709 _ACEOF
47710 if ac_fn_cxx_try_compile "$LINENO"; then :
47711 glibcxx_cv_func__sincosf_use=yes
47712 else
47713 glibcxx_cv_func__sincosf_use=no
47714 fi
47715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47716 ac_ext=c
47717 ac_cpp='$CPP $CPPFLAGS'
47718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47721
47722
47723 fi
47724
47725 fi
47726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47727 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47728
47729 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47730 for ac_func in _sincosf
47731 do :
47732 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47733 if test "x$ac_cv_func__sincosf" = x""yes; then :
47734 cat >>confdefs.h <<_ACEOF
47735 #define HAVE__SINCOSF 1
47736 _ACEOF
47737
47738 fi
47739 done
47740
47741 fi
47742 fi
47743
47744
47745
47746
47747
47748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47749 $as_echo_n "checking for finitef declaration... " >&6; }
47750 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47751 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47752 $as_echo_n "(cached) " >&6
47753 else
47754
47755
47756 ac_ext=cpp
47757 ac_cpp='$CXXCPP $CPPFLAGS'
47758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47761
47762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47763 /* end confdefs.h. */
47764 #include <math.h>
47765 #ifdef HAVE_IEEEFP_H
47766 #include <ieeefp.h>
47767 #endif
47768
47769 int
47770 main ()
47771 {
47772 finitef(0);
47773 ;
47774 return 0;
47775 }
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func_finitef_use=yes
47779 else
47780 glibcxx_cv_func_finitef_use=no
47781 fi
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47788
47789
47790 fi
47791
47792 fi
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47794 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47795
47796 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47797 for ac_func in finitef
47798 do :
47799 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47800 if test "x$ac_cv_func_finitef" = x""yes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE_FINITEF 1
47803 _ACEOF
47804
47805 fi
47806 done
47807
47808 else
47809
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47811 $as_echo_n "checking for _finitef declaration... " >&6; }
47812 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47813 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47814 $as_echo_n "(cached) " >&6
47815 else
47816
47817
47818 ac_ext=cpp
47819 ac_cpp='$CXXCPP $CPPFLAGS'
47820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47823
47824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47825 /* end confdefs.h. */
47826 #include <math.h>
47827 #ifdef HAVE_IEEEFP_H
47828 #include <ieeefp.h>
47829 #endif
47830
47831 int
47832 main ()
47833 {
47834 _finitef(0);
47835 ;
47836 return 0;
47837 }
47838 _ACEOF
47839 if ac_fn_cxx_try_compile "$LINENO"; then :
47840 glibcxx_cv_func__finitef_use=yes
47841 else
47842 glibcxx_cv_func__finitef_use=no
47843 fi
47844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47845 ac_ext=c
47846 ac_cpp='$CPP $CPPFLAGS'
47847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47850
47851
47852 fi
47853
47854 fi
47855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
47856 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
47857
47858 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
47859 for ac_func in _finitef
47860 do :
47861 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
47862 if test "x$ac_cv_func__finitef" = x""yes; then :
47863 cat >>confdefs.h <<_ACEOF
47864 #define HAVE__FINITEF 1
47865 _ACEOF
47866
47867 fi
47868 done
47869
47870 fi
47871 fi
47872
47873
47874
47875
47876
47877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
47878 $as_echo_n "checking for long double trig functions... " >&6; }
47879 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
47880 $as_echo_n "(cached) " >&6
47881 else
47882
47883
47884 ac_ext=cpp
47885 ac_cpp='$CXXCPP $CPPFLAGS'
47886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47889
47890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47891 /* end confdefs.h. */
47892 #include <math.h>
47893 int
47894 main ()
47895 {
47896 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
47897 ;
47898 return 0;
47899 }
47900 _ACEOF
47901 if ac_fn_cxx_try_compile "$LINENO"; then :
47902 glibcxx_cv_func_long_double_trig_use=yes
47903 else
47904 glibcxx_cv_func_long_double_trig_use=no
47905 fi
47906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47907 ac_ext=c
47908 ac_cpp='$CPP $CPPFLAGS'
47909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47912
47913 fi
47914
47915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
47916 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
47917 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
47918 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
47919 do :
47920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47922 eval as_val=\$$as_ac_var
47923 if test "x$as_val" = x""yes; then :
47924 cat >>confdefs.h <<_ACEOF
47925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47926 _ACEOF
47927
47928 fi
47929 done
47930
47931 else
47932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
47933 $as_echo_n "checking for _long double trig functions... " >&6; }
47934 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
47935 $as_echo_n "(cached) " >&6
47936 else
47937
47938
47939 ac_ext=cpp
47940 ac_cpp='$CXXCPP $CPPFLAGS'
47941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47944
47945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47946 /* end confdefs.h. */
47947 #include <math.h>
47948 int
47949 main ()
47950 {
47951 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
47952 ;
47953 return 0;
47954 }
47955 _ACEOF
47956 if ac_fn_cxx_try_compile "$LINENO"; then :
47957 glibcxx_cv_func__long_double_trig_use=yes
47958 else
47959 glibcxx_cv_func__long_double_trig_use=no
47960 fi
47961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47962 ac_ext=c
47963 ac_cpp='$CPP $CPPFLAGS'
47964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47967
47968 fi
47969
47970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
47971 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
47972 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47973 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
47974 do :
47975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47977 eval as_val=\$$as_ac_var
47978 if test "x$as_val" = x""yes; then :
47979 cat >>confdefs.h <<_ACEOF
47980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47981 _ACEOF
47982
47983 fi
47984 done
47985
47986 fi
47987 fi
47988
47989
47990
47991
47992
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
47994 $as_echo_n "checking for long double round functions... " >&6; }
47995 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
47996 $as_echo_n "(cached) " >&6
47997 else
47998
47999
48000 ac_ext=cpp
48001 ac_cpp='$CXXCPP $CPPFLAGS'
48002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48005
48006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48007 /* end confdefs.h. */
48008 #include <math.h>
48009 int
48010 main ()
48011 {
48012 ceill (0); floorl (0);
48013 ;
48014 return 0;
48015 }
48016 _ACEOF
48017 if ac_fn_cxx_try_compile "$LINENO"; then :
48018 glibcxx_cv_func_long_double_round_use=yes
48019 else
48020 glibcxx_cv_func_long_double_round_use=no
48021 fi
48022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48023 ac_ext=c
48024 ac_cpp='$CPP $CPPFLAGS'
48025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48028
48029 fi
48030
48031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48032 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48033 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48034 for ac_func in ceill floorl
48035 do :
48036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48038 eval as_val=\$$as_ac_var
48039 if test "x$as_val" = x""yes; then :
48040 cat >>confdefs.h <<_ACEOF
48041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48042 _ACEOF
48043
48044 fi
48045 done
48046
48047 else
48048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48049 $as_echo_n "checking for _long double round functions... " >&6; }
48050 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48051 $as_echo_n "(cached) " >&6
48052 else
48053
48054
48055 ac_ext=cpp
48056 ac_cpp='$CXXCPP $CPPFLAGS'
48057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48060
48061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48062 /* end confdefs.h. */
48063 #include <math.h>
48064 int
48065 main ()
48066 {
48067 _ceill (0); _floorl (0);
48068 ;
48069 return 0;
48070 }
48071 _ACEOF
48072 if ac_fn_cxx_try_compile "$LINENO"; then :
48073 glibcxx_cv_func__long_double_round_use=yes
48074 else
48075 glibcxx_cv_func__long_double_round_use=no
48076 fi
48077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48078 ac_ext=c
48079 ac_cpp='$CPP $CPPFLAGS'
48080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48083
48084 fi
48085
48086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48087 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48088 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48089 for ac_func in _ceill _floorl
48090 do :
48091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48093 eval as_val=\$$as_ac_var
48094 if test "x$as_val" = x""yes; then :
48095 cat >>confdefs.h <<_ACEOF
48096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48097 _ACEOF
48098
48099 fi
48100 done
48101
48102 fi
48103 fi
48104
48105
48106
48107
48108
48109
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48111 $as_echo_n "checking for isnanl declaration... " >&6; }
48112 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48113 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48114 $as_echo_n "(cached) " >&6
48115 else
48116
48117
48118 ac_ext=cpp
48119 ac_cpp='$CXXCPP $CPPFLAGS'
48120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48123
48124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48125 /* end confdefs.h. */
48126 #include <math.h>
48127 #ifdef HAVE_IEEEFP_H
48128 #include <ieeefp.h>
48129 #endif
48130
48131 int
48132 main ()
48133 {
48134 isnanl(0);
48135 ;
48136 return 0;
48137 }
48138 _ACEOF
48139 if ac_fn_cxx_try_compile "$LINENO"; then :
48140 glibcxx_cv_func_isnanl_use=yes
48141 else
48142 glibcxx_cv_func_isnanl_use=no
48143 fi
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 ac_ext=c
48146 ac_cpp='$CPP $CPPFLAGS'
48147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48150
48151
48152 fi
48153
48154 fi
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48156 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48157
48158 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48159 for ac_func in isnanl
48160 do :
48161 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48162 if test "x$ac_cv_func_isnanl" = x""yes; then :
48163 cat >>confdefs.h <<_ACEOF
48164 #define HAVE_ISNANL 1
48165 _ACEOF
48166
48167 fi
48168 done
48169
48170 else
48171
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48173 $as_echo_n "checking for _isnanl declaration... " >&6; }
48174 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48175 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48176 $as_echo_n "(cached) " >&6
48177 else
48178
48179
48180 ac_ext=cpp
48181 ac_cpp='$CXXCPP $CPPFLAGS'
48182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48185
48186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48187 /* end confdefs.h. */
48188 #include <math.h>
48189 #ifdef HAVE_IEEEFP_H
48190 #include <ieeefp.h>
48191 #endif
48192
48193 int
48194 main ()
48195 {
48196 _isnanl(0);
48197 ;
48198 return 0;
48199 }
48200 _ACEOF
48201 if ac_fn_cxx_try_compile "$LINENO"; then :
48202 glibcxx_cv_func__isnanl_use=yes
48203 else
48204 glibcxx_cv_func__isnanl_use=no
48205 fi
48206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48207 ac_ext=c
48208 ac_cpp='$CPP $CPPFLAGS'
48209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48212
48213
48214 fi
48215
48216 fi
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48218 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48219
48220 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48221 for ac_func in _isnanl
48222 do :
48223 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48224 if test "x$ac_cv_func__isnanl" = x""yes; then :
48225 cat >>confdefs.h <<_ACEOF
48226 #define HAVE__ISNANL 1
48227 _ACEOF
48228
48229 fi
48230 done
48231
48232 fi
48233 fi
48234
48235
48236
48237
48238
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48240 $as_echo_n "checking for isinfl declaration... " >&6; }
48241 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48242 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48243 $as_echo_n "(cached) " >&6
48244 else
48245
48246
48247 ac_ext=cpp
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48252
48253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48254 /* end confdefs.h. */
48255 #include <math.h>
48256 #ifdef HAVE_IEEEFP_H
48257 #include <ieeefp.h>
48258 #endif
48259
48260 int
48261 main ()
48262 {
48263 isinfl(0);
48264 ;
48265 return 0;
48266 }
48267 _ACEOF
48268 if ac_fn_cxx_try_compile "$LINENO"; then :
48269 glibcxx_cv_func_isinfl_use=yes
48270 else
48271 glibcxx_cv_func_isinfl_use=no
48272 fi
48273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48274 ac_ext=c
48275 ac_cpp='$CPP $CPPFLAGS'
48276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48279
48280
48281 fi
48282
48283 fi
48284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48285 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48286
48287 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48288 for ac_func in isinfl
48289 do :
48290 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48291 if test "x$ac_cv_func_isinfl" = x""yes; then :
48292 cat >>confdefs.h <<_ACEOF
48293 #define HAVE_ISINFL 1
48294 _ACEOF
48295
48296 fi
48297 done
48298
48299 else
48300
48301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48302 $as_echo_n "checking for _isinfl declaration... " >&6; }
48303 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48304 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48305 $as_echo_n "(cached) " >&6
48306 else
48307
48308
48309 ac_ext=cpp
48310 ac_cpp='$CXXCPP $CPPFLAGS'
48311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48314
48315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48316 /* end confdefs.h. */
48317 #include <math.h>
48318 #ifdef HAVE_IEEEFP_H
48319 #include <ieeefp.h>
48320 #endif
48321
48322 int
48323 main ()
48324 {
48325 _isinfl(0);
48326 ;
48327 return 0;
48328 }
48329 _ACEOF
48330 if ac_fn_cxx_try_compile "$LINENO"; then :
48331 glibcxx_cv_func__isinfl_use=yes
48332 else
48333 glibcxx_cv_func__isinfl_use=no
48334 fi
48335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48336 ac_ext=c
48337 ac_cpp='$CPP $CPPFLAGS'
48338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48341
48342
48343 fi
48344
48345 fi
48346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48347 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48348
48349 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48350 for ac_func in _isinfl
48351 do :
48352 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48353 if test "x$ac_cv_func__isinfl" = x""yes; then :
48354 cat >>confdefs.h <<_ACEOF
48355 #define HAVE__ISINFL 1
48356 _ACEOF
48357
48358 fi
48359 done
48360
48361 fi
48362 fi
48363
48364
48365
48366
48367
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48369 $as_echo_n "checking for atan2l declaration... " >&6; }
48370 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48371 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48372 $as_echo_n "(cached) " >&6
48373 else
48374
48375
48376 ac_ext=cpp
48377 ac_cpp='$CXXCPP $CPPFLAGS'
48378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48381
48382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48383 /* end confdefs.h. */
48384 #include <math.h>
48385 int
48386 main ()
48387 {
48388 atan2l(0, 0);
48389 ;
48390 return 0;
48391 }
48392 _ACEOF
48393 if ac_fn_cxx_try_compile "$LINENO"; then :
48394 glibcxx_cv_func_atan2l_use=yes
48395 else
48396 glibcxx_cv_func_atan2l_use=no
48397 fi
48398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48399 ac_ext=c
48400 ac_cpp='$CPP $CPPFLAGS'
48401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48404
48405
48406 fi
48407
48408 fi
48409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48410 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48411
48412 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48413 for ac_func in atan2l
48414 do :
48415 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48416 if test "x$ac_cv_func_atan2l" = x""yes; then :
48417 cat >>confdefs.h <<_ACEOF
48418 #define HAVE_ATAN2L 1
48419 _ACEOF
48420
48421 fi
48422 done
48423
48424 else
48425
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48427 $as_echo_n "checking for _atan2l declaration... " >&6; }
48428 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48429 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48430 $as_echo_n "(cached) " >&6
48431 else
48432
48433
48434 ac_ext=cpp
48435 ac_cpp='$CXXCPP $CPPFLAGS'
48436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48439
48440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48441 /* end confdefs.h. */
48442 #include <math.h>
48443 int
48444 main ()
48445 {
48446 _atan2l(0, 0);
48447 ;
48448 return 0;
48449 }
48450 _ACEOF
48451 if ac_fn_cxx_try_compile "$LINENO"; then :
48452 glibcxx_cv_func__atan2l_use=yes
48453 else
48454 glibcxx_cv_func__atan2l_use=no
48455 fi
48456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48457 ac_ext=c
48458 ac_cpp='$CPP $CPPFLAGS'
48459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48462
48463
48464 fi
48465
48466 fi
48467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48468 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48469
48470 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48471 for ac_func in _atan2l
48472 do :
48473 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48474 if test "x$ac_cv_func__atan2l" = x""yes; then :
48475 cat >>confdefs.h <<_ACEOF
48476 #define HAVE__ATAN2L 1
48477 _ACEOF
48478
48479 fi
48480 done
48481
48482 fi
48483 fi
48484
48485
48486
48487
48488
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48490 $as_echo_n "checking for expl declaration... " >&6; }
48491 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48492 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48493 $as_echo_n "(cached) " >&6
48494 else
48495
48496
48497 ac_ext=cpp
48498 ac_cpp='$CXXCPP $CPPFLAGS'
48499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48502
48503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48504 /* end confdefs.h. */
48505 #include <math.h>
48506 #ifdef HAVE_IEEEFP_H
48507 #include <ieeefp.h>
48508 #endif
48509
48510 int
48511 main ()
48512 {
48513 expl(0);
48514 ;
48515 return 0;
48516 }
48517 _ACEOF
48518 if ac_fn_cxx_try_compile "$LINENO"; then :
48519 glibcxx_cv_func_expl_use=yes
48520 else
48521 glibcxx_cv_func_expl_use=no
48522 fi
48523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48524 ac_ext=c
48525 ac_cpp='$CPP $CPPFLAGS'
48526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48529
48530
48531 fi
48532
48533 fi
48534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48535 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48536
48537 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48538 for ac_func in expl
48539 do :
48540 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48541 if test "x$ac_cv_func_expl" = x""yes; then :
48542 cat >>confdefs.h <<_ACEOF
48543 #define HAVE_EXPL 1
48544 _ACEOF
48545
48546 fi
48547 done
48548
48549 else
48550
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48552 $as_echo_n "checking for _expl declaration... " >&6; }
48553 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48554 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48555 $as_echo_n "(cached) " >&6
48556 else
48557
48558
48559 ac_ext=cpp
48560 ac_cpp='$CXXCPP $CPPFLAGS'
48561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48564
48565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48566 /* end confdefs.h. */
48567 #include <math.h>
48568 #ifdef HAVE_IEEEFP_H
48569 #include <ieeefp.h>
48570 #endif
48571
48572 int
48573 main ()
48574 {
48575 _expl(0);
48576 ;
48577 return 0;
48578 }
48579 _ACEOF
48580 if ac_fn_cxx_try_compile "$LINENO"; then :
48581 glibcxx_cv_func__expl_use=yes
48582 else
48583 glibcxx_cv_func__expl_use=no
48584 fi
48585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48586 ac_ext=c
48587 ac_cpp='$CPP $CPPFLAGS'
48588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48591
48592
48593 fi
48594
48595 fi
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48597 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48598
48599 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48600 for ac_func in _expl
48601 do :
48602 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48603 if test "x$ac_cv_func__expl" = x""yes; then :
48604 cat >>confdefs.h <<_ACEOF
48605 #define HAVE__EXPL 1
48606 _ACEOF
48607
48608 fi
48609 done
48610
48611 fi
48612 fi
48613
48614
48615
48616
48617
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48619 $as_echo_n "checking for fabsl declaration... " >&6; }
48620 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48621 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48622 $as_echo_n "(cached) " >&6
48623 else
48624
48625
48626 ac_ext=cpp
48627 ac_cpp='$CXXCPP $CPPFLAGS'
48628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48631
48632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48633 /* end confdefs.h. */
48634 #include <math.h>
48635 #ifdef HAVE_IEEEFP_H
48636 #include <ieeefp.h>
48637 #endif
48638
48639 int
48640 main ()
48641 {
48642 fabsl(0);
48643 ;
48644 return 0;
48645 }
48646 _ACEOF
48647 if ac_fn_cxx_try_compile "$LINENO"; then :
48648 glibcxx_cv_func_fabsl_use=yes
48649 else
48650 glibcxx_cv_func_fabsl_use=no
48651 fi
48652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48653 ac_ext=c
48654 ac_cpp='$CPP $CPPFLAGS'
48655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48658
48659
48660 fi
48661
48662 fi
48663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48664 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48665
48666 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48667 for ac_func in fabsl
48668 do :
48669 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48670 if test "x$ac_cv_func_fabsl" = x""yes; then :
48671 cat >>confdefs.h <<_ACEOF
48672 #define HAVE_FABSL 1
48673 _ACEOF
48674
48675 fi
48676 done
48677
48678 else
48679
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48681 $as_echo_n "checking for _fabsl declaration... " >&6; }
48682 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48683 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48684 $as_echo_n "(cached) " >&6
48685 else
48686
48687
48688 ac_ext=cpp
48689 ac_cpp='$CXXCPP $CPPFLAGS'
48690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48693
48694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48695 /* end confdefs.h. */
48696 #include <math.h>
48697 #ifdef HAVE_IEEEFP_H
48698 #include <ieeefp.h>
48699 #endif
48700
48701 int
48702 main ()
48703 {
48704 _fabsl(0);
48705 ;
48706 return 0;
48707 }
48708 _ACEOF
48709 if ac_fn_cxx_try_compile "$LINENO"; then :
48710 glibcxx_cv_func__fabsl_use=yes
48711 else
48712 glibcxx_cv_func__fabsl_use=no
48713 fi
48714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48715 ac_ext=c
48716 ac_cpp='$CPP $CPPFLAGS'
48717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48720
48721
48722 fi
48723
48724 fi
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48726 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48727
48728 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48729 for ac_func in _fabsl
48730 do :
48731 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48732 if test "x$ac_cv_func__fabsl" = x""yes; then :
48733 cat >>confdefs.h <<_ACEOF
48734 #define HAVE__FABSL 1
48735 _ACEOF
48736
48737 fi
48738 done
48739
48740 fi
48741 fi
48742
48743
48744
48745
48746
48747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48748 $as_echo_n "checking for fmodl declaration... " >&6; }
48749 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48750 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48751 $as_echo_n "(cached) " >&6
48752 else
48753
48754
48755 ac_ext=cpp
48756 ac_cpp='$CXXCPP $CPPFLAGS'
48757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48760
48761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48762 /* end confdefs.h. */
48763 #include <math.h>
48764 int
48765 main ()
48766 {
48767 fmodl(0, 0);
48768 ;
48769 return 0;
48770 }
48771 _ACEOF
48772 if ac_fn_cxx_try_compile "$LINENO"; then :
48773 glibcxx_cv_func_fmodl_use=yes
48774 else
48775 glibcxx_cv_func_fmodl_use=no
48776 fi
48777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48778 ac_ext=c
48779 ac_cpp='$CPP $CPPFLAGS'
48780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48783
48784
48785 fi
48786
48787 fi
48788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48789 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48790
48791 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48792 for ac_func in fmodl
48793 do :
48794 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48795 if test "x$ac_cv_func_fmodl" = x""yes; then :
48796 cat >>confdefs.h <<_ACEOF
48797 #define HAVE_FMODL 1
48798 _ACEOF
48799
48800 fi
48801 done
48802
48803 else
48804
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48806 $as_echo_n "checking for _fmodl declaration... " >&6; }
48807 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48808 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48809 $as_echo_n "(cached) " >&6
48810 else
48811
48812
48813 ac_ext=cpp
48814 ac_cpp='$CXXCPP $CPPFLAGS'
48815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48818
48819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48820 /* end confdefs.h. */
48821 #include <math.h>
48822 int
48823 main ()
48824 {
48825 _fmodl(0, 0);
48826 ;
48827 return 0;
48828 }
48829 _ACEOF
48830 if ac_fn_cxx_try_compile "$LINENO"; then :
48831 glibcxx_cv_func__fmodl_use=yes
48832 else
48833 glibcxx_cv_func__fmodl_use=no
48834 fi
48835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48836 ac_ext=c
48837 ac_cpp='$CPP $CPPFLAGS'
48838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48841
48842
48843 fi
48844
48845 fi
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
48847 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
48848
48849 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
48850 for ac_func in _fmodl
48851 do :
48852 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
48853 if test "x$ac_cv_func__fmodl" = x""yes; then :
48854 cat >>confdefs.h <<_ACEOF
48855 #define HAVE__FMODL 1
48856 _ACEOF
48857
48858 fi
48859 done
48860
48861 fi
48862 fi
48863
48864
48865
48866
48867
48868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
48869 $as_echo_n "checking for frexpl declaration... " >&6; }
48870 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
48871 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
48872 $as_echo_n "(cached) " >&6
48873 else
48874
48875
48876 ac_ext=cpp
48877 ac_cpp='$CXXCPP $CPPFLAGS'
48878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48881
48882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48883 /* end confdefs.h. */
48884 #include <math.h>
48885 int
48886 main ()
48887 {
48888 frexpl(0, 0);
48889 ;
48890 return 0;
48891 }
48892 _ACEOF
48893 if ac_fn_cxx_try_compile "$LINENO"; then :
48894 glibcxx_cv_func_frexpl_use=yes
48895 else
48896 glibcxx_cv_func_frexpl_use=no
48897 fi
48898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48899 ac_ext=c
48900 ac_cpp='$CPP $CPPFLAGS'
48901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48904
48905
48906 fi
48907
48908 fi
48909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
48910 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
48911
48912 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
48913 for ac_func in frexpl
48914 do :
48915 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
48916 if test "x$ac_cv_func_frexpl" = x""yes; then :
48917 cat >>confdefs.h <<_ACEOF
48918 #define HAVE_FREXPL 1
48919 _ACEOF
48920
48921 fi
48922 done
48923
48924 else
48925
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
48927 $as_echo_n "checking for _frexpl declaration... " >&6; }
48928 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
48929 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
48930 $as_echo_n "(cached) " >&6
48931 else
48932
48933
48934 ac_ext=cpp
48935 ac_cpp='$CXXCPP $CPPFLAGS'
48936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48939
48940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48941 /* end confdefs.h. */
48942 #include <math.h>
48943 int
48944 main ()
48945 {
48946 _frexpl(0, 0);
48947 ;
48948 return 0;
48949 }
48950 _ACEOF
48951 if ac_fn_cxx_try_compile "$LINENO"; then :
48952 glibcxx_cv_func__frexpl_use=yes
48953 else
48954 glibcxx_cv_func__frexpl_use=no
48955 fi
48956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48957 ac_ext=c
48958 ac_cpp='$CPP $CPPFLAGS'
48959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48962
48963
48964 fi
48965
48966 fi
48967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
48968 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
48969
48970 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
48971 for ac_func in _frexpl
48972 do :
48973 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
48974 if test "x$ac_cv_func__frexpl" = x""yes; then :
48975 cat >>confdefs.h <<_ACEOF
48976 #define HAVE__FREXPL 1
48977 _ACEOF
48978
48979 fi
48980 done
48981
48982 fi
48983 fi
48984
48985
48986
48987
48988
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
48990 $as_echo_n "checking for hypotl declaration... " >&6; }
48991 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
48992 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
48993 $as_echo_n "(cached) " >&6
48994 else
48995
48996
48997 ac_ext=cpp
48998 ac_cpp='$CXXCPP $CPPFLAGS'
48999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49002
49003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49004 /* end confdefs.h. */
49005 #include <math.h>
49006 int
49007 main ()
49008 {
49009 hypotl(0, 0);
49010 ;
49011 return 0;
49012 }
49013 _ACEOF
49014 if ac_fn_cxx_try_compile "$LINENO"; then :
49015 glibcxx_cv_func_hypotl_use=yes
49016 else
49017 glibcxx_cv_func_hypotl_use=no
49018 fi
49019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49020 ac_ext=c
49021 ac_cpp='$CPP $CPPFLAGS'
49022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49025
49026
49027 fi
49028
49029 fi
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49031 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49032
49033 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49034 for ac_func in hypotl
49035 do :
49036 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49037 if test "x$ac_cv_func_hypotl" = x""yes; then :
49038 cat >>confdefs.h <<_ACEOF
49039 #define HAVE_HYPOTL 1
49040 _ACEOF
49041
49042 fi
49043 done
49044
49045 else
49046
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49048 $as_echo_n "checking for _hypotl declaration... " >&6; }
49049 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49050 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49051 $as_echo_n "(cached) " >&6
49052 else
49053
49054
49055 ac_ext=cpp
49056 ac_cpp='$CXXCPP $CPPFLAGS'
49057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49060
49061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49062 /* end confdefs.h. */
49063 #include <math.h>
49064 int
49065 main ()
49066 {
49067 _hypotl(0, 0);
49068 ;
49069 return 0;
49070 }
49071 _ACEOF
49072 if ac_fn_cxx_try_compile "$LINENO"; then :
49073 glibcxx_cv_func__hypotl_use=yes
49074 else
49075 glibcxx_cv_func__hypotl_use=no
49076 fi
49077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49078 ac_ext=c
49079 ac_cpp='$CPP $CPPFLAGS'
49080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49083
49084
49085 fi
49086
49087 fi
49088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49089 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49090
49091 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49092 for ac_func in _hypotl
49093 do :
49094 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49095 if test "x$ac_cv_func__hypotl" = x""yes; then :
49096 cat >>confdefs.h <<_ACEOF
49097 #define HAVE__HYPOTL 1
49098 _ACEOF
49099
49100 fi
49101 done
49102
49103 fi
49104 fi
49105
49106
49107
49108
49109
49110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49111 $as_echo_n "checking for ldexpl declaration... " >&6; }
49112 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49113 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49114 $as_echo_n "(cached) " >&6
49115 else
49116
49117
49118 ac_ext=cpp
49119 ac_cpp='$CXXCPP $CPPFLAGS'
49120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49123
49124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49125 /* end confdefs.h. */
49126 #include <math.h>
49127 int
49128 main ()
49129 {
49130 ldexpl(0, 0);
49131 ;
49132 return 0;
49133 }
49134 _ACEOF
49135 if ac_fn_cxx_try_compile "$LINENO"; then :
49136 glibcxx_cv_func_ldexpl_use=yes
49137 else
49138 glibcxx_cv_func_ldexpl_use=no
49139 fi
49140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49141 ac_ext=c
49142 ac_cpp='$CPP $CPPFLAGS'
49143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49146
49147
49148 fi
49149
49150 fi
49151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49152 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49153
49154 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49155 for ac_func in ldexpl
49156 do :
49157 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49158 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49159 cat >>confdefs.h <<_ACEOF
49160 #define HAVE_LDEXPL 1
49161 _ACEOF
49162
49163 fi
49164 done
49165
49166 else
49167
49168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49169 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49170 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49171 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49172 $as_echo_n "(cached) " >&6
49173 else
49174
49175
49176 ac_ext=cpp
49177 ac_cpp='$CXXCPP $CPPFLAGS'
49178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49181
49182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49183 /* end confdefs.h. */
49184 #include <math.h>
49185 int
49186 main ()
49187 {
49188 _ldexpl(0, 0);
49189 ;
49190 return 0;
49191 }
49192 _ACEOF
49193 if ac_fn_cxx_try_compile "$LINENO"; then :
49194 glibcxx_cv_func__ldexpl_use=yes
49195 else
49196 glibcxx_cv_func__ldexpl_use=no
49197 fi
49198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49199 ac_ext=c
49200 ac_cpp='$CPP $CPPFLAGS'
49201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49204
49205
49206 fi
49207
49208 fi
49209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49210 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49211
49212 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49213 for ac_func in _ldexpl
49214 do :
49215 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49216 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49217 cat >>confdefs.h <<_ACEOF
49218 #define HAVE__LDEXPL 1
49219 _ACEOF
49220
49221 fi
49222 done
49223
49224 fi
49225 fi
49226
49227
49228
49229
49230
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49232 $as_echo_n "checking for logl declaration... " >&6; }
49233 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49234 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49235 $as_echo_n "(cached) " >&6
49236 else
49237
49238
49239 ac_ext=cpp
49240 ac_cpp='$CXXCPP $CPPFLAGS'
49241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49244
49245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49246 /* end confdefs.h. */
49247 #include <math.h>
49248 #ifdef HAVE_IEEEFP_H
49249 #include <ieeefp.h>
49250 #endif
49251
49252 int
49253 main ()
49254 {
49255 logl(0);
49256 ;
49257 return 0;
49258 }
49259 _ACEOF
49260 if ac_fn_cxx_try_compile "$LINENO"; then :
49261 glibcxx_cv_func_logl_use=yes
49262 else
49263 glibcxx_cv_func_logl_use=no
49264 fi
49265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49266 ac_ext=c
49267 ac_cpp='$CPP $CPPFLAGS'
49268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49271
49272
49273 fi
49274
49275 fi
49276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49277 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49278
49279 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49280 for ac_func in logl
49281 do :
49282 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49283 if test "x$ac_cv_func_logl" = x""yes; then :
49284 cat >>confdefs.h <<_ACEOF
49285 #define HAVE_LOGL 1
49286 _ACEOF
49287
49288 fi
49289 done
49290
49291 else
49292
49293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49294 $as_echo_n "checking for _logl declaration... " >&6; }
49295 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49296 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49297 $as_echo_n "(cached) " >&6
49298 else
49299
49300
49301 ac_ext=cpp
49302 ac_cpp='$CXXCPP $CPPFLAGS'
49303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49306
49307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49308 /* end confdefs.h. */
49309 #include <math.h>
49310 #ifdef HAVE_IEEEFP_H
49311 #include <ieeefp.h>
49312 #endif
49313
49314 int
49315 main ()
49316 {
49317 _logl(0);
49318 ;
49319 return 0;
49320 }
49321 _ACEOF
49322 if ac_fn_cxx_try_compile "$LINENO"; then :
49323 glibcxx_cv_func__logl_use=yes
49324 else
49325 glibcxx_cv_func__logl_use=no
49326 fi
49327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49328 ac_ext=c
49329 ac_cpp='$CPP $CPPFLAGS'
49330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49333
49334
49335 fi
49336
49337 fi
49338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49339 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49340
49341 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49342 for ac_func in _logl
49343 do :
49344 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49345 if test "x$ac_cv_func__logl" = x""yes; then :
49346 cat >>confdefs.h <<_ACEOF
49347 #define HAVE__LOGL 1
49348 _ACEOF
49349
49350 fi
49351 done
49352
49353 fi
49354 fi
49355
49356
49357
49358
49359
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49361 $as_echo_n "checking for log10l declaration... " >&6; }
49362 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49363 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49364 $as_echo_n "(cached) " >&6
49365 else
49366
49367
49368 ac_ext=cpp
49369 ac_cpp='$CXXCPP $CPPFLAGS'
49370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49373
49374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49375 /* end confdefs.h. */
49376 #include <math.h>
49377 #ifdef HAVE_IEEEFP_H
49378 #include <ieeefp.h>
49379 #endif
49380
49381 int
49382 main ()
49383 {
49384 log10l(0);
49385 ;
49386 return 0;
49387 }
49388 _ACEOF
49389 if ac_fn_cxx_try_compile "$LINENO"; then :
49390 glibcxx_cv_func_log10l_use=yes
49391 else
49392 glibcxx_cv_func_log10l_use=no
49393 fi
49394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49395 ac_ext=c
49396 ac_cpp='$CPP $CPPFLAGS'
49397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49400
49401
49402 fi
49403
49404 fi
49405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49406 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49407
49408 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49409 for ac_func in log10l
49410 do :
49411 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49412 if test "x$ac_cv_func_log10l" = x""yes; then :
49413 cat >>confdefs.h <<_ACEOF
49414 #define HAVE_LOG10L 1
49415 _ACEOF
49416
49417 fi
49418 done
49419
49420 else
49421
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49423 $as_echo_n "checking for _log10l declaration... " >&6; }
49424 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49425 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49426 $as_echo_n "(cached) " >&6
49427 else
49428
49429
49430 ac_ext=cpp
49431 ac_cpp='$CXXCPP $CPPFLAGS'
49432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49435
49436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49437 /* end confdefs.h. */
49438 #include <math.h>
49439 #ifdef HAVE_IEEEFP_H
49440 #include <ieeefp.h>
49441 #endif
49442
49443 int
49444 main ()
49445 {
49446 _log10l(0);
49447 ;
49448 return 0;
49449 }
49450 _ACEOF
49451 if ac_fn_cxx_try_compile "$LINENO"; then :
49452 glibcxx_cv_func__log10l_use=yes
49453 else
49454 glibcxx_cv_func__log10l_use=no
49455 fi
49456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49457 ac_ext=c
49458 ac_cpp='$CPP $CPPFLAGS'
49459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49462
49463
49464 fi
49465
49466 fi
49467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49468 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49469
49470 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49471 for ac_func in _log10l
49472 do :
49473 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49474 if test "x$ac_cv_func__log10l" = x""yes; then :
49475 cat >>confdefs.h <<_ACEOF
49476 #define HAVE__LOG10L 1
49477 _ACEOF
49478
49479 fi
49480 done
49481
49482 fi
49483 fi
49484
49485
49486
49487
49488
49489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49490 $as_echo_n "checking for modfl declaration... " >&6; }
49491 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49492 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49493 $as_echo_n "(cached) " >&6
49494 else
49495
49496
49497 ac_ext=cpp
49498 ac_cpp='$CXXCPP $CPPFLAGS'
49499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49502
49503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49504 /* end confdefs.h. */
49505 #include <math.h>
49506 int
49507 main ()
49508 {
49509 modfl(0, 0);
49510 ;
49511 return 0;
49512 }
49513 _ACEOF
49514 if ac_fn_cxx_try_compile "$LINENO"; then :
49515 glibcxx_cv_func_modfl_use=yes
49516 else
49517 glibcxx_cv_func_modfl_use=no
49518 fi
49519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49520 ac_ext=c
49521 ac_cpp='$CPP $CPPFLAGS'
49522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49525
49526
49527 fi
49528
49529 fi
49530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49531 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49532
49533 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49534 for ac_func in modfl
49535 do :
49536 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49537 if test "x$ac_cv_func_modfl" = x""yes; then :
49538 cat >>confdefs.h <<_ACEOF
49539 #define HAVE_MODFL 1
49540 _ACEOF
49541
49542 fi
49543 done
49544
49545 else
49546
49547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49548 $as_echo_n "checking for _modfl declaration... " >&6; }
49549 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49550 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49551 $as_echo_n "(cached) " >&6
49552 else
49553
49554
49555 ac_ext=cpp
49556 ac_cpp='$CXXCPP $CPPFLAGS'
49557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49560
49561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49562 /* end confdefs.h. */
49563 #include <math.h>
49564 int
49565 main ()
49566 {
49567 _modfl(0, 0);
49568 ;
49569 return 0;
49570 }
49571 _ACEOF
49572 if ac_fn_cxx_try_compile "$LINENO"; then :
49573 glibcxx_cv_func__modfl_use=yes
49574 else
49575 glibcxx_cv_func__modfl_use=no
49576 fi
49577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49578 ac_ext=c
49579 ac_cpp='$CPP $CPPFLAGS'
49580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49583
49584
49585 fi
49586
49587 fi
49588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49589 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49590
49591 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49592 for ac_func in _modfl
49593 do :
49594 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49595 if test "x$ac_cv_func__modfl" = x""yes; then :
49596 cat >>confdefs.h <<_ACEOF
49597 #define HAVE__MODFL 1
49598 _ACEOF
49599
49600 fi
49601 done
49602
49603 fi
49604 fi
49605
49606
49607
49608
49609
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49611 $as_echo_n "checking for powl declaration... " >&6; }
49612 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49613 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49614 $as_echo_n "(cached) " >&6
49615 else
49616
49617
49618 ac_ext=cpp
49619 ac_cpp='$CXXCPP $CPPFLAGS'
49620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49623
49624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49625 /* end confdefs.h. */
49626 #include <math.h>
49627 int
49628 main ()
49629 {
49630 powl(0, 0);
49631 ;
49632 return 0;
49633 }
49634 _ACEOF
49635 if ac_fn_cxx_try_compile "$LINENO"; then :
49636 glibcxx_cv_func_powl_use=yes
49637 else
49638 glibcxx_cv_func_powl_use=no
49639 fi
49640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49641 ac_ext=c
49642 ac_cpp='$CPP $CPPFLAGS'
49643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49646
49647
49648 fi
49649
49650 fi
49651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49652 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49653
49654 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49655 for ac_func in powl
49656 do :
49657 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49658 if test "x$ac_cv_func_powl" = x""yes; then :
49659 cat >>confdefs.h <<_ACEOF
49660 #define HAVE_POWL 1
49661 _ACEOF
49662
49663 fi
49664 done
49665
49666 else
49667
49668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49669 $as_echo_n "checking for _powl declaration... " >&6; }
49670 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49671 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49672 $as_echo_n "(cached) " >&6
49673 else
49674
49675
49676 ac_ext=cpp
49677 ac_cpp='$CXXCPP $CPPFLAGS'
49678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49681
49682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49683 /* end confdefs.h. */
49684 #include <math.h>
49685 int
49686 main ()
49687 {
49688 _powl(0, 0);
49689 ;
49690 return 0;
49691 }
49692 _ACEOF
49693 if ac_fn_cxx_try_compile "$LINENO"; then :
49694 glibcxx_cv_func__powl_use=yes
49695 else
49696 glibcxx_cv_func__powl_use=no
49697 fi
49698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49699 ac_ext=c
49700 ac_cpp='$CPP $CPPFLAGS'
49701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49704
49705
49706 fi
49707
49708 fi
49709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49710 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49711
49712 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49713 for ac_func in _powl
49714 do :
49715 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49716 if test "x$ac_cv_func__powl" = x""yes; then :
49717 cat >>confdefs.h <<_ACEOF
49718 #define HAVE__POWL 1
49719 _ACEOF
49720
49721 fi
49722 done
49723
49724 fi
49725 fi
49726
49727
49728
49729
49730
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49732 $as_echo_n "checking for sqrtl declaration... " >&6; }
49733 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49734 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49735 $as_echo_n "(cached) " >&6
49736 else
49737
49738
49739 ac_ext=cpp
49740 ac_cpp='$CXXCPP $CPPFLAGS'
49741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49744
49745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49746 /* end confdefs.h. */
49747 #include <math.h>
49748 #ifdef HAVE_IEEEFP_H
49749 #include <ieeefp.h>
49750 #endif
49751
49752 int
49753 main ()
49754 {
49755 sqrtl(0);
49756 ;
49757 return 0;
49758 }
49759 _ACEOF
49760 if ac_fn_cxx_try_compile "$LINENO"; then :
49761 glibcxx_cv_func_sqrtl_use=yes
49762 else
49763 glibcxx_cv_func_sqrtl_use=no
49764 fi
49765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766 ac_ext=c
49767 ac_cpp='$CPP $CPPFLAGS'
49768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49771
49772
49773 fi
49774
49775 fi
49776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49777 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49778
49779 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49780 for ac_func in sqrtl
49781 do :
49782 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49783 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49784 cat >>confdefs.h <<_ACEOF
49785 #define HAVE_SQRTL 1
49786 _ACEOF
49787
49788 fi
49789 done
49790
49791 else
49792
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49794 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49795 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49796 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49797 $as_echo_n "(cached) " >&6
49798 else
49799
49800
49801 ac_ext=cpp
49802 ac_cpp='$CXXCPP $CPPFLAGS'
49803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49806
49807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49808 /* end confdefs.h. */
49809 #include <math.h>
49810 #ifdef HAVE_IEEEFP_H
49811 #include <ieeefp.h>
49812 #endif
49813
49814 int
49815 main ()
49816 {
49817 _sqrtl(0);
49818 ;
49819 return 0;
49820 }
49821 _ACEOF
49822 if ac_fn_cxx_try_compile "$LINENO"; then :
49823 glibcxx_cv_func__sqrtl_use=yes
49824 else
49825 glibcxx_cv_func__sqrtl_use=no
49826 fi
49827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49828 ac_ext=c
49829 ac_cpp='$CPP $CPPFLAGS'
49830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49833
49834
49835 fi
49836
49837 fi
49838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49839 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49840
49841 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49842 for ac_func in _sqrtl
49843 do :
49844 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
49845 if test "x$ac_cv_func__sqrtl" = x""yes; then :
49846 cat >>confdefs.h <<_ACEOF
49847 #define HAVE__SQRTL 1
49848 _ACEOF
49849
49850 fi
49851 done
49852
49853 fi
49854 fi
49855
49856
49857
49858
49859
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
49861 $as_echo_n "checking for sincosl declaration... " >&6; }
49862 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49863 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
49864 $as_echo_n "(cached) " >&6
49865 else
49866
49867
49868 ac_ext=cpp
49869 ac_cpp='$CXXCPP $CPPFLAGS'
49870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49873
49874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49875 /* end confdefs.h. */
49876 #include <math.h>
49877 int
49878 main ()
49879 {
49880 sincosl(0, 0, 0);
49881 ;
49882 return 0;
49883 }
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func_sincosl_use=yes
49887 else
49888 glibcxx_cv_func_sincosl_use=no
49889 fi
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49896
49897
49898 fi
49899
49900 fi
49901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
49902 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
49903
49904 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49905 for ac_func in sincosl
49906 do :
49907 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
49908 if test "x$ac_cv_func_sincosl" = x""yes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE_SINCOSL 1
49911 _ACEOF
49912
49913 fi
49914 done
49915
49916 else
49917
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
49919 $as_echo_n "checking for _sincosl declaration... " >&6; }
49920 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49921 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
49922 $as_echo_n "(cached) " >&6
49923 else
49924
49925
49926 ac_ext=cpp
49927 ac_cpp='$CXXCPP $CPPFLAGS'
49928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49931
49932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49933 /* end confdefs.h. */
49934 #include <math.h>
49935 int
49936 main ()
49937 {
49938 _sincosl(0, 0, 0);
49939 ;
49940 return 0;
49941 }
49942 _ACEOF
49943 if ac_fn_cxx_try_compile "$LINENO"; then :
49944 glibcxx_cv_func__sincosl_use=yes
49945 else
49946 glibcxx_cv_func__sincosl_use=no
49947 fi
49948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49954
49955
49956 fi
49957
49958 fi
49959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
49960 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
49961
49962 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49963 for ac_func in _sincosl
49964 do :
49965 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
49966 if test "x$ac_cv_func__sincosl" = x""yes; then :
49967 cat >>confdefs.h <<_ACEOF
49968 #define HAVE__SINCOSL 1
49969 _ACEOF
49970
49971 fi
49972 done
49973
49974 fi
49975 fi
49976
49977
49978
49979
49980
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
49982 $as_echo_n "checking for finitel declaration... " >&6; }
49983 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49984 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49987
49988
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49994
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49998 #ifdef HAVE_IEEEFP_H
49999 #include <ieeefp.h>
50000 #endif
50001
50002 int
50003 main ()
50004 {
50005 finitel(0);
50006 ;
50007 return 0;
50008 }
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_finitel_use=yes
50012 else
50013 glibcxx_cv_func_finitel_use=no
50014 fi
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50021
50022
50023 fi
50024
50025 fi
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50027 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50028
50029 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50030 for ac_func in finitel
50031 do :
50032 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50033 if test "x$ac_cv_func_finitel" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_FINITEL 1
50036 _ACEOF
50037
50038 fi
50039 done
50040
50041 else
50042
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50044 $as_echo_n "checking for _finitel declaration... " >&6; }
50045 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50046 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50049
50050
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50056
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50060 #ifdef HAVE_IEEEFP_H
50061 #include <ieeefp.h>
50062 #endif
50063
50064 int
50065 main ()
50066 {
50067 _finitel(0);
50068 ;
50069 return 0;
50070 }
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073 glibcxx_cv_func__finitel_use=yes
50074 else
50075 glibcxx_cv_func__finitel_use=no
50076 fi
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078 ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50083
50084
50085 fi
50086
50087 fi
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50089 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50090
50091 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50092 for ac_func in _finitel
50093 do :
50094 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50095 if test "x$ac_cv_func__finitel" = x""yes; then :
50096 cat >>confdefs.h <<_ACEOF
50097 #define HAVE__FINITEL 1
50098 _ACEOF
50099
50100 fi
50101 done
50102
50103 fi
50104 fi
50105
50106
50107
50108
50109 LIBS="$ac_save_LIBS"
50110 CXXFLAGS="$ac_save_CXXFLAGS"
50111
50112
50113 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50114 ac_save_CXXFLAGS="$CXXFLAGS"
50115 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50116
50117
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50119 $as_echo_n "checking for strtold declaration... " >&6; }
50120 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50121 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50122 $as_echo_n "(cached) " >&6
50123 else
50124
50125
50126 ac_ext=cpp
50127 ac_cpp='$CXXCPP $CPPFLAGS'
50128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50131
50132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50133 /* end confdefs.h. */
50134 #include <stdlib.h>
50135 int
50136 main ()
50137 {
50138 strtold(0, 0);
50139 ;
50140 return 0;
50141 }
50142 _ACEOF
50143 if ac_fn_cxx_try_compile "$LINENO"; then :
50144 glibcxx_cv_func_strtold_use=yes
50145 else
50146 glibcxx_cv_func_strtold_use=no
50147 fi
50148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50149 ac_ext=c
50150 ac_cpp='$CPP $CPPFLAGS'
50151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50154
50155
50156 fi
50157
50158 fi
50159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50160 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50161 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50162 for ac_func in strtold
50163 do :
50164 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50165 if test "x$ac_cv_func_strtold" = x""yes; then :
50166 cat >>confdefs.h <<_ACEOF
50167 #define HAVE_STRTOLD 1
50168 _ACEOF
50169
50170 fi
50171 done
50172
50173 fi
50174
50175
50176
50177
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50179 $as_echo_n "checking for strtof declaration... " >&6; }
50180 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50181 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50184
50185
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50191
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <stdlib.h>
50195 int
50196 main ()
50197 {
50198 strtof(0, 0);
50199 ;
50200 return 0;
50201 }
50202 _ACEOF
50203 if ac_fn_cxx_try_compile "$LINENO"; then :
50204 glibcxx_cv_func_strtof_use=yes
50205 else
50206 glibcxx_cv_func_strtof_use=no
50207 fi
50208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50209 ac_ext=c
50210 ac_cpp='$CPP $CPPFLAGS'
50211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50214
50215
50216 fi
50217
50218 fi
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50220 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50221 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50222 for ac_func in strtof
50223 do :
50224 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50225 if test "x$ac_cv_func_strtof" = x""yes; then :
50226 cat >>confdefs.h <<_ACEOF
50227 #define HAVE_STRTOF 1
50228 _ACEOF
50229
50230 fi
50231 done
50232
50233 fi
50234
50235
50236
50237
50238 CXXFLAGS="$ac_save_CXXFLAGS"
50239
50240 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50241
50242
50243
50244 # Check whether --enable-tls was given.
50245 if test "${enable_tls+set}" = set; then :
50246 enableval=$enable_tls;
50247 case "$enableval" in
50248 yes|no) ;;
50249 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50250 esac
50251
50252 else
50253 enable_tls=yes
50254 fi
50255
50256
50257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50258 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50259 if test "${gcc_cv_have_tls+set}" = set; then :
50260 $as_echo_n "(cached) " >&6
50261 else
50262
50263 if test "$cross_compiling" = yes; then :
50264 if test x$gcc_no_link = xyes; then
50265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50266 fi
50267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50268 /* end confdefs.h. */
50269 __thread int a; int b; int main() { return a = b; }
50270 _ACEOF
50271 if ac_fn_c_try_link "$LINENO"; then :
50272 chktls_save_LDFLAGS="$LDFLAGS"
50273 case $host in
50274 *-*-linux*)
50275 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50276 ;;
50277 esac
50278 chktls_save_CFLAGS="$CFLAGS"
50279 CFLAGS="-fPIC $CFLAGS"
50280 if test x$gcc_no_link = xyes; then
50281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50282 fi
50283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50284 /* end confdefs.h. */
50285 int f() { return 0; }
50286 _ACEOF
50287 if ac_fn_c_try_link "$LINENO"; then :
50288 if test x$gcc_no_link = xyes; then
50289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50290 fi
50291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50292 /* end confdefs.h. */
50293 __thread int a; int b; int f() { return a = b; }
50294 _ACEOF
50295 if ac_fn_c_try_link "$LINENO"; then :
50296 gcc_cv_have_tls=yes
50297 else
50298 gcc_cv_have_tls=no
50299 fi
50300 rm -f core conftest.err conftest.$ac_objext \
50301 conftest$ac_exeext conftest.$ac_ext
50302 else
50303 gcc_cv_have_tls=yes
50304 fi
50305 rm -f core conftest.err conftest.$ac_objext \
50306 conftest$ac_exeext conftest.$ac_ext
50307 CFLAGS="$chktls_save_CFLAGS"
50308 LDFLAGS="$chktls_save_LDFLAGS"
50309 else
50310 gcc_cv_have_tls=no
50311 fi
50312 rm -f core conftest.err conftest.$ac_objext \
50313 conftest$ac_exeext conftest.$ac_ext
50314
50315
50316 else
50317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h. */
50319 __thread int a; int b; int main() { return a = b; }
50320 _ACEOF
50321 if ac_fn_c_try_run "$LINENO"; then :
50322 chktls_save_LDFLAGS="$LDFLAGS"
50323 LDFLAGS="-static $LDFLAGS"
50324 if test x$gcc_no_link = xyes; then
50325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50326 fi
50327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50328 /* end confdefs.h. */
50329 int main() { return 0; }
50330 _ACEOF
50331 if ac_fn_c_try_link "$LINENO"; then :
50332 if test "$cross_compiling" = yes; then :
50333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50335 as_fn_error "cannot run test program while cross compiling
50336 See \`config.log' for more details." "$LINENO" 5; }
50337 else
50338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50339 /* end confdefs.h. */
50340 __thread int a; int b; int main() { return a = b; }
50341 _ACEOF
50342 if ac_fn_c_try_run "$LINENO"; then :
50343 gcc_cv_have_tls=yes
50344 else
50345 gcc_cv_have_tls=no
50346 fi
50347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50348 conftest.$ac_objext conftest.beam conftest.$ac_ext
50349 fi
50350
50351 else
50352 gcc_cv_have_tls=yes
50353 fi
50354 rm -f core conftest.err conftest.$ac_objext \
50355 conftest$ac_exeext conftest.$ac_ext
50356 LDFLAGS="$chktls_save_LDFLAGS"
50357 if test $gcc_cv_have_tls = yes; then
50358 chktls_save_CFLAGS="$CFLAGS"
50359 thread_CFLAGS=failed
50360 for flag in '' '-pthread' '-lpthread'; do
50361 CFLAGS="$flag $chktls_save_CFLAGS"
50362 if test x$gcc_no_link = xyes; then
50363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50364 fi
50365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50366 /* end confdefs.h. */
50367 #include <pthread.h>
50368 void *g(void *d) { return NULL; }
50369 int
50370 main ()
50371 {
50372 pthread_t t; pthread_create(&t,NULL,g,NULL);
50373 ;
50374 return 0;
50375 }
50376 _ACEOF
50377 if ac_fn_c_try_link "$LINENO"; then :
50378 thread_CFLAGS="$flag"
50379 fi
50380 rm -f core conftest.err conftest.$ac_objext \
50381 conftest$ac_exeext conftest.$ac_ext
50382 if test "X$thread_CFLAGS" != Xfailed; then
50383 break
50384 fi
50385 done
50386 CFLAGS="$chktls_save_CFLAGS"
50387 if test "X$thread_CFLAGS" != Xfailed; then
50388 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50389 if test "$cross_compiling" = yes; then :
50390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50392 as_fn_error "cannot run test program while cross compiling
50393 See \`config.log' for more details." "$LINENO" 5; }
50394 else
50395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50396 /* end confdefs.h. */
50397 #include <pthread.h>
50398 __thread int a;
50399 static int *a_in_other_thread;
50400 static void *
50401 thread_func (void *arg)
50402 {
50403 a_in_other_thread = &a;
50404 return (void *)0;
50405 }
50406 int
50407 main ()
50408 {
50409 pthread_t thread;
50410 void *thread_retval;
50411 int *a_in_main_thread;
50412 if (pthread_create (&thread, (pthread_attr_t *)0,
50413 thread_func, (void *)0))
50414 return 0;
50415 a_in_main_thread = &a;
50416 if (pthread_join (thread, &thread_retval))
50417 return 0;
50418 return (a_in_other_thread == a_in_main_thread);
50419 ;
50420 return 0;
50421 }
50422 _ACEOF
50423 if ac_fn_c_try_run "$LINENO"; then :
50424 gcc_cv_have_tls=yes
50425 else
50426 gcc_cv_have_tls=no
50427 fi
50428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50429 conftest.$ac_objext conftest.beam conftest.$ac_ext
50430 fi
50431
50432 CFLAGS="$chktls_save_CFLAGS"
50433 fi
50434 fi
50435 else
50436 gcc_cv_have_tls=no
50437 fi
50438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50439 conftest.$ac_objext conftest.beam conftest.$ac_ext
50440 fi
50441
50442 fi
50443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50444 $as_echo "$gcc_cv_have_tls" >&6; }
50445 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50446
50447 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50448
50449 fi
50450
50451
50452
50453
50454
50455 am_save_CPPFLAGS="$CPPFLAGS"
50456
50457 for element in $INCICONV; do
50458 haveit=
50459 for x in $CPPFLAGS; do
50460
50461 acl_save_prefix="$prefix"
50462 prefix="$acl_final_prefix"
50463 acl_save_exec_prefix="$exec_prefix"
50464 exec_prefix="$acl_final_exec_prefix"
50465 eval x=\"$x\"
50466 exec_prefix="$acl_save_exec_prefix"
50467 prefix="$acl_save_prefix"
50468
50469 if test "X$x" = "X$element"; then
50470 haveit=yes
50471 break
50472 fi
50473 done
50474 if test -z "$haveit"; then
50475 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50476 fi
50477 done
50478
50479
50480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50481 $as_echo_n "checking for iconv... " >&6; }
50482 if test "${am_cv_func_iconv+set}" = set; then :
50483 $as_echo_n "(cached) " >&6
50484 else
50485
50486 am_cv_func_iconv="no, consider installing GNU libiconv"
50487 am_cv_lib_iconv=no
50488 if test x$gcc_no_link = xyes; then
50489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50490 fi
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 #include <stdlib.h>
50494 #include <iconv.h>
50495 int
50496 main ()
50497 {
50498 iconv_t cd = iconv_open("","");
50499 iconv(cd,NULL,NULL,NULL,NULL);
50500 iconv_close(cd);
50501 ;
50502 return 0;
50503 }
50504 _ACEOF
50505 if ac_fn_c_try_link "$LINENO"; then :
50506 am_cv_func_iconv=yes
50507 fi
50508 rm -f core conftest.err conftest.$ac_objext \
50509 conftest$ac_exeext conftest.$ac_ext
50510 if test "$am_cv_func_iconv" != yes; then
50511 am_save_LIBS="$LIBS"
50512 LIBS="$LIBS $LIBICONV"
50513 if test x$gcc_no_link = xyes; then
50514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50515 fi
50516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50517 /* end confdefs.h. */
50518 #include <stdlib.h>
50519 #include <iconv.h>
50520 int
50521 main ()
50522 {
50523 iconv_t cd = iconv_open("","");
50524 iconv(cd,NULL,NULL,NULL,NULL);
50525 iconv_close(cd);
50526 ;
50527 return 0;
50528 }
50529 _ACEOF
50530 if ac_fn_c_try_link "$LINENO"; then :
50531 am_cv_lib_iconv=yes
50532 am_cv_func_iconv=yes
50533 fi
50534 rm -f core conftest.err conftest.$ac_objext \
50535 conftest$ac_exeext conftest.$ac_ext
50536 LIBS="$am_save_LIBS"
50537 fi
50538
50539 fi
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50541 $as_echo "$am_cv_func_iconv" >&6; }
50542 if test "$am_cv_func_iconv" = yes; then
50543
50544 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50545
50546 fi
50547 if test "$am_cv_lib_iconv" = yes; then
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50549 $as_echo_n "checking how to link with libiconv... " >&6; }
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50551 $as_echo "$LIBICONV" >&6; }
50552 else
50553 CPPFLAGS="$am_save_CPPFLAGS"
50554 LIBICONV=
50555 LTLIBICONV=
50556 fi
50557
50558
50559
50560 if test "$am_cv_func_iconv" = yes; then
50561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50562 $as_echo_n "checking for iconv declaration... " >&6; }
50563 if test "${am_cv_proto_iconv+set}" = set; then :
50564 $as_echo_n "(cached) " >&6
50565 else
50566
50567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50568 /* end confdefs.h. */
50569
50570 #include <stdlib.h>
50571 #include <iconv.h>
50572 extern
50573 #ifdef __cplusplus
50574 "C"
50575 #endif
50576 #if defined(__STDC__) || defined(__cplusplus)
50577 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50578 #else
50579 size_t iconv();
50580 #endif
50581
50582 int
50583 main ()
50584 {
50585
50586 ;
50587 return 0;
50588 }
50589 _ACEOF
50590 if ac_fn_c_try_compile "$LINENO"; then :
50591 am_cv_proto_iconv_arg1=""
50592 else
50593 am_cv_proto_iconv_arg1="const"
50594 fi
50595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50596 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);"
50597 fi
50598
50599 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50601 }$am_cv_proto_iconv" >&5
50602 $as_echo "${ac_t:-
50603 }$am_cv_proto_iconv" >&6; }
50604
50605 cat >>confdefs.h <<_ACEOF
50606 #define ICONV_CONST $am_cv_proto_iconv_arg1
50607 _ACEOF
50608
50609 fi
50610
50611 ;;
50612 *-mingw32*)
50613
50614 # If we're not using GNU ld, then there's no point in even trying these
50615 # tests. Check for that first. We should have already tested for gld
50616 # by now (in libtool), but require it now just to be safe...
50617 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50618 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50619
50620
50621
50622 # The name set by libtool depends on the version of libtool. Shame on us
50623 # for depending on an impl detail, but c'est la vie. Older versions used
50624 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50625 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50626 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50627 # set (hence we're using an older libtool), then set it.
50628 if test x${with_gnu_ld+set} != xset; then
50629 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50630 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50631 with_gnu_ld=no
50632 else
50633 with_gnu_ld=$ac_cv_prog_gnu_ld
50634 fi
50635 fi
50636
50637 # Start by getting the version number. I think the libtool test already
50638 # does some of this, but throws away the result.
50639 glibcxx_ld_is_gold=no
50640 if test x"$with_gnu_ld" = x"yes"; then
50641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50642 $as_echo_n "checking for ld version... " >&6; }
50643
50644 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50645 glibcxx_ld_is_gold=yes
50646 fi
50647 ldver=`$LD --version 2>/dev/null |
50648 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'`
50649
50650 glibcxx_gnu_ld_version=`echo $ldver | \
50651 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50653 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50654 fi
50655
50656 # Set --gc-sections.
50657 glibcxx_have_gc_sections=no
50658 if test "$glibcxx_ld_is_gold" = "yes"; then
50659 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50660 glibcxx_have_gc_sections=yes
50661 fi
50662 else
50663 glibcxx_gcsections_min_ld=21602
50664 if test x"$with_gnu_ld" = x"yes" &&
50665 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50666 glibcxx_have_gc_sections=yes
50667 fi
50668 fi
50669 if test "$glibcxx_have_gc_sections" = "yes"; then
50670 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50671 # NB: This flag only works reliably after 2.16.1. Configure tests
50672 # for this are difficult, so hard wire a value that should work.
50673
50674 ac_test_CFLAGS="${CFLAGS+set}"
50675 ac_save_CFLAGS="$CFLAGS"
50676 CFLAGS='-Wl,--gc-sections'
50677
50678 # Check for -Wl,--gc-sections
50679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50680 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50681 if test x$gcc_no_link = xyes; then
50682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50683 fi
50684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50685 /* end confdefs.h. */
50686 int one(void) { return 1; }
50687 int two(void) { return 2; }
50688
50689 int
50690 main ()
50691 {
50692 two();
50693 ;
50694 return 0;
50695 }
50696 _ACEOF
50697 if ac_fn_c_try_link "$LINENO"; then :
50698 ac_gcsections=yes
50699 else
50700 ac_gcsections=no
50701 fi
50702 rm -f core conftest.err conftest.$ac_objext \
50703 conftest$ac_exeext conftest.$ac_ext
50704 if test "$ac_gcsections" = "yes"; then
50705 rm -f conftest.c
50706 touch conftest.c
50707 if $CC -c conftest.c; then
50708 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50709 grep "Warning: gc-sections option ignored" > /dev/null; then
50710 ac_gcsections=no
50711 fi
50712 fi
50713 rm -f conftest.c conftest.o conftest
50714 fi
50715 if test "$ac_gcsections" = "yes"; then
50716 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50717 fi
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50719 $as_echo "$ac_gcsections" >&6; }
50720
50721 if test "$ac_test_CFLAGS" = set; then
50722 CFLAGS="$ac_save_CFLAGS"
50723 else
50724 # this is the suspicious part
50725 CFLAGS=''
50726 fi
50727 fi
50728
50729 # Set -z,relro.
50730 # Note this is only for shared objects.
50731 ac_ld_relro=no
50732 if test x"$with_gnu_ld" = x"yes"; then
50733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50734 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50735 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50736 if test -n "$cxx_z_relo"; then
50737 OPT_LDFLAGS="-Wl,-z,relro"
50738 ac_ld_relro=yes
50739 fi
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50741 $as_echo "$ac_ld_relro" >&6; }
50742 fi
50743
50744 # Set linker optimization flags.
50745 if test x"$with_gnu_ld" = x"yes"; then
50746 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50747 fi
50748
50749
50750
50751
50752
50753 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50754 ac_save_CXXFLAGS="$CXXFLAGS"
50755 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50756
50757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50758 $as_echo_n "checking for sin in -lm... " >&6; }
50759 if test "${ac_cv_lib_m_sin+set}" = set; then :
50760 $as_echo_n "(cached) " >&6
50761 else
50762 ac_check_lib_save_LIBS=$LIBS
50763 LIBS="-lm $LIBS"
50764 if test x$gcc_no_link = xyes; then
50765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50766 fi
50767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h. */
50769
50770 /* Override any GCC internal prototype to avoid an error.
50771 Use char because int might match the return type of a GCC
50772 builtin and then its argument prototype would still apply. */
50773 #ifdef __cplusplus
50774 extern "C"
50775 #endif
50776 char sin ();
50777 int
50778 main ()
50779 {
50780 return sin ();
50781 ;
50782 return 0;
50783 }
50784 _ACEOF
50785 if ac_fn_c_try_link "$LINENO"; then :
50786 ac_cv_lib_m_sin=yes
50787 else
50788 ac_cv_lib_m_sin=no
50789 fi
50790 rm -f core conftest.err conftest.$ac_objext \
50791 conftest$ac_exeext conftest.$ac_ext
50792 LIBS=$ac_check_lib_save_LIBS
50793 fi
50794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50795 $as_echo "$ac_cv_lib_m_sin" >&6; }
50796 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50797 libm="-lm"
50798 fi
50799
50800 ac_save_LIBS="$LIBS"
50801 LIBS="$LIBS $libm"
50802
50803
50804
50805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50806 $as_echo_n "checking for isinf declaration... " >&6; }
50807 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50808 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50809 $as_echo_n "(cached) " >&6
50810 else
50811
50812
50813 ac_ext=cpp
50814 ac_cpp='$CXXCPP $CPPFLAGS'
50815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818
50819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50820 /* end confdefs.h. */
50821 #include <math.h>
50822 #ifdef HAVE_IEEEFP_H
50823 #include <ieeefp.h>
50824 #endif
50825
50826 int
50827 main ()
50828 {
50829 isinf(0);
50830 ;
50831 return 0;
50832 }
50833 _ACEOF
50834 if ac_fn_cxx_try_compile "$LINENO"; then :
50835 glibcxx_cv_func_isinf_use=yes
50836 else
50837 glibcxx_cv_func_isinf_use=no
50838 fi
50839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50840 ac_ext=c
50841 ac_cpp='$CPP $CPPFLAGS'
50842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50845
50846
50847 fi
50848
50849 fi
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50851 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50852
50853 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50854 for ac_func in isinf
50855 do :
50856 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50857 if test "x$ac_cv_func_isinf" = x""yes; then :
50858 cat >>confdefs.h <<_ACEOF
50859 #define HAVE_ISINF 1
50860 _ACEOF
50861
50862 fi
50863 done
50864
50865 else
50866
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50868 $as_echo_n "checking for _isinf declaration... " >&6; }
50869 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50870 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
50871 $as_echo_n "(cached) " >&6
50872 else
50873
50874
50875 ac_ext=cpp
50876 ac_cpp='$CXXCPP $CPPFLAGS'
50877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50880
50881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h. */
50883 #include <math.h>
50884 #ifdef HAVE_IEEEFP_H
50885 #include <ieeefp.h>
50886 #endif
50887
50888 int
50889 main ()
50890 {
50891 _isinf(0);
50892 ;
50893 return 0;
50894 }
50895 _ACEOF
50896 if ac_fn_cxx_try_compile "$LINENO"; then :
50897 glibcxx_cv_func__isinf_use=yes
50898 else
50899 glibcxx_cv_func__isinf_use=no
50900 fi
50901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902 ac_ext=c
50903 ac_cpp='$CPP $CPPFLAGS'
50904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50907
50908
50909 fi
50910
50911 fi
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50913 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50914
50915 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50916 for ac_func in _isinf
50917 do :
50918 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
50919 if test "x$ac_cv_func__isinf" = x""yes; then :
50920 cat >>confdefs.h <<_ACEOF
50921 #define HAVE__ISINF 1
50922 _ACEOF
50923
50924 fi
50925 done
50926
50927 fi
50928 fi
50929
50930
50931
50932
50933
50934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
50935 $as_echo_n "checking for isnan declaration... " >&6; }
50936 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
50937 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
50938 $as_echo_n "(cached) " >&6
50939 else
50940
50941
50942 ac_ext=cpp
50943 ac_cpp='$CXXCPP $CPPFLAGS'
50944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50947
50948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50949 /* end confdefs.h. */
50950 #include <math.h>
50951 #ifdef HAVE_IEEEFP_H
50952 #include <ieeefp.h>
50953 #endif
50954
50955 int
50956 main ()
50957 {
50958 isnan(0);
50959 ;
50960 return 0;
50961 }
50962 _ACEOF
50963 if ac_fn_cxx_try_compile "$LINENO"; then :
50964 glibcxx_cv_func_isnan_use=yes
50965 else
50966 glibcxx_cv_func_isnan_use=no
50967 fi
50968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50969 ac_ext=c
50970 ac_cpp='$CPP $CPPFLAGS'
50971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50974
50975
50976 fi
50977
50978 fi
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
50980 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
50981
50982 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
50983 for ac_func in isnan
50984 do :
50985 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
50986 if test "x$ac_cv_func_isnan" = x""yes; then :
50987 cat >>confdefs.h <<_ACEOF
50988 #define HAVE_ISNAN 1
50989 _ACEOF
50990
50991 fi
50992 done
50993
50994 else
50995
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
50997 $as_echo_n "checking for _isnan declaration... " >&6; }
50998 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
50999 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51002
51003
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51009
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <math.h>
51013 #ifdef HAVE_IEEEFP_H
51014 #include <ieeefp.h>
51015 #endif
51016
51017 int
51018 main ()
51019 {
51020 _isnan(0);
51021 ;
51022 return 0;
51023 }
51024 _ACEOF
51025 if ac_fn_cxx_try_compile "$LINENO"; then :
51026 glibcxx_cv_func__isnan_use=yes
51027 else
51028 glibcxx_cv_func__isnan_use=no
51029 fi
51030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51031 ac_ext=c
51032 ac_cpp='$CPP $CPPFLAGS'
51033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51036
51037
51038 fi
51039
51040 fi
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51042 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51043
51044 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51045 for ac_func in _isnan
51046 do :
51047 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51048 if test "x$ac_cv_func__isnan" = x""yes; then :
51049 cat >>confdefs.h <<_ACEOF
51050 #define HAVE__ISNAN 1
51051 _ACEOF
51052
51053 fi
51054 done
51055
51056 fi
51057 fi
51058
51059
51060
51061
51062
51063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51064 $as_echo_n "checking for finite declaration... " >&6; }
51065 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51066 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51067 $as_echo_n "(cached) " >&6
51068 else
51069
51070
51071 ac_ext=cpp
51072 ac_cpp='$CXXCPP $CPPFLAGS'
51073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51076
51077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51078 /* end confdefs.h. */
51079 #include <math.h>
51080 #ifdef HAVE_IEEEFP_H
51081 #include <ieeefp.h>
51082 #endif
51083
51084 int
51085 main ()
51086 {
51087 finite(0);
51088 ;
51089 return 0;
51090 }
51091 _ACEOF
51092 if ac_fn_cxx_try_compile "$LINENO"; then :
51093 glibcxx_cv_func_finite_use=yes
51094 else
51095 glibcxx_cv_func_finite_use=no
51096 fi
51097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51098 ac_ext=c
51099 ac_cpp='$CPP $CPPFLAGS'
51100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51103
51104
51105 fi
51106
51107 fi
51108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51109 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51110
51111 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51112 for ac_func in finite
51113 do :
51114 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51115 if test "x$ac_cv_func_finite" = x""yes; then :
51116 cat >>confdefs.h <<_ACEOF
51117 #define HAVE_FINITE 1
51118 _ACEOF
51119
51120 fi
51121 done
51122
51123 else
51124
51125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51126 $as_echo_n "checking for _finite declaration... " >&6; }
51127 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51128 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51129 $as_echo_n "(cached) " >&6
51130 else
51131
51132
51133 ac_ext=cpp
51134 ac_cpp='$CXXCPP $CPPFLAGS'
51135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138
51139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51140 /* end confdefs.h. */
51141 #include <math.h>
51142 #ifdef HAVE_IEEEFP_H
51143 #include <ieeefp.h>
51144 #endif
51145
51146 int
51147 main ()
51148 {
51149 _finite(0);
51150 ;
51151 return 0;
51152 }
51153 _ACEOF
51154 if ac_fn_cxx_try_compile "$LINENO"; then :
51155 glibcxx_cv_func__finite_use=yes
51156 else
51157 glibcxx_cv_func__finite_use=no
51158 fi
51159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51160 ac_ext=c
51161 ac_cpp='$CPP $CPPFLAGS'
51162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51165
51166
51167 fi
51168
51169 fi
51170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51171 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51172
51173 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51174 for ac_func in _finite
51175 do :
51176 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51177 if test "x$ac_cv_func__finite" = x""yes; then :
51178 cat >>confdefs.h <<_ACEOF
51179 #define HAVE__FINITE 1
51180 _ACEOF
51181
51182 fi
51183 done
51184
51185 fi
51186 fi
51187
51188
51189
51190
51191
51192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51193 $as_echo_n "checking for sincos declaration... " >&6; }
51194 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51195 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51196 $as_echo_n "(cached) " >&6
51197 else
51198
51199
51200 ac_ext=cpp
51201 ac_cpp='$CXXCPP $CPPFLAGS'
51202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51205
51206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51207 /* end confdefs.h. */
51208 #include <math.h>
51209 int
51210 main ()
51211 {
51212 sincos(0, 0, 0);
51213 ;
51214 return 0;
51215 }
51216 _ACEOF
51217 if ac_fn_cxx_try_compile "$LINENO"; then :
51218 glibcxx_cv_func_sincos_use=yes
51219 else
51220 glibcxx_cv_func_sincos_use=no
51221 fi
51222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51223 ac_ext=c
51224 ac_cpp='$CPP $CPPFLAGS'
51225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51228
51229
51230 fi
51231
51232 fi
51233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51234 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51235
51236 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51237 for ac_func in sincos
51238 do :
51239 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51240 if test "x$ac_cv_func_sincos" = x""yes; then :
51241 cat >>confdefs.h <<_ACEOF
51242 #define HAVE_SINCOS 1
51243 _ACEOF
51244
51245 fi
51246 done
51247
51248 else
51249
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51251 $as_echo_n "checking for _sincos declaration... " >&6; }
51252 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51253 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51256
51257
51258 ac_ext=cpp
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51263
51264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51265 /* end confdefs.h. */
51266 #include <math.h>
51267 int
51268 main ()
51269 {
51270 _sincos(0, 0, 0);
51271 ;
51272 return 0;
51273 }
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276 glibcxx_cv_func__sincos_use=yes
51277 else
51278 glibcxx_cv_func__sincos_use=no
51279 fi
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281 ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51286
51287
51288 fi
51289
51290 fi
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51292 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51293
51294 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51295 for ac_func in _sincos
51296 do :
51297 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51298 if test "x$ac_cv_func__sincos" = x""yes; then :
51299 cat >>confdefs.h <<_ACEOF
51300 #define HAVE__SINCOS 1
51301 _ACEOF
51302
51303 fi
51304 done
51305
51306 fi
51307 fi
51308
51309
51310
51311
51312
51313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51314 $as_echo_n "checking for fpclass declaration... " >&6; }
51315 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51316 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51317 $as_echo_n "(cached) " >&6
51318 else
51319
51320
51321 ac_ext=cpp
51322 ac_cpp='$CXXCPP $CPPFLAGS'
51323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51326
51327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51328 /* end confdefs.h. */
51329 #include <math.h>
51330 #ifdef HAVE_IEEEFP_H
51331 #include <ieeefp.h>
51332 #endif
51333
51334 int
51335 main ()
51336 {
51337 fpclass(0);
51338 ;
51339 return 0;
51340 }
51341 _ACEOF
51342 if ac_fn_cxx_try_compile "$LINENO"; then :
51343 glibcxx_cv_func_fpclass_use=yes
51344 else
51345 glibcxx_cv_func_fpclass_use=no
51346 fi
51347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51348 ac_ext=c
51349 ac_cpp='$CPP $CPPFLAGS'
51350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51353
51354
51355 fi
51356
51357 fi
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51359 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51360
51361 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51362 for ac_func in fpclass
51363 do :
51364 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51365 if test "x$ac_cv_func_fpclass" = x""yes; then :
51366 cat >>confdefs.h <<_ACEOF
51367 #define HAVE_FPCLASS 1
51368 _ACEOF
51369
51370 fi
51371 done
51372
51373 else
51374
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51376 $as_echo_n "checking for _fpclass declaration... " >&6; }
51377 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51378 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51379 $as_echo_n "(cached) " >&6
51380 else
51381
51382
51383 ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51388
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <math.h>
51392 #ifdef HAVE_IEEEFP_H
51393 #include <ieeefp.h>
51394 #endif
51395
51396 int
51397 main ()
51398 {
51399 _fpclass(0);
51400 ;
51401 return 0;
51402 }
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func__fpclass_use=yes
51406 else
51407 glibcxx_cv_func__fpclass_use=no
51408 fi
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51415
51416
51417 fi
51418
51419 fi
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51421 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51422
51423 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51424 for ac_func in _fpclass
51425 do :
51426 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51427 if test "x$ac_cv_func__fpclass" = x""yes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE__FPCLASS 1
51430 _ACEOF
51431
51432 fi
51433 done
51434
51435 fi
51436 fi
51437
51438
51439
51440
51441
51442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51443 $as_echo_n "checking for qfpclass declaration... " >&6; }
51444 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51445 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51446 $as_echo_n "(cached) " >&6
51447 else
51448
51449
51450 ac_ext=cpp
51451 ac_cpp='$CXXCPP $CPPFLAGS'
51452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51455
51456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51457 /* end confdefs.h. */
51458 #include <math.h>
51459 #ifdef HAVE_IEEEFP_H
51460 #include <ieeefp.h>
51461 #endif
51462
51463 int
51464 main ()
51465 {
51466 qfpclass(0);
51467 ;
51468 return 0;
51469 }
51470 _ACEOF
51471 if ac_fn_cxx_try_compile "$LINENO"; then :
51472 glibcxx_cv_func_qfpclass_use=yes
51473 else
51474 glibcxx_cv_func_qfpclass_use=no
51475 fi
51476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51477 ac_ext=c
51478 ac_cpp='$CPP $CPPFLAGS'
51479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51482
51483
51484 fi
51485
51486 fi
51487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51488 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51489
51490 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51491 for ac_func in qfpclass
51492 do :
51493 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51494 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51495 cat >>confdefs.h <<_ACEOF
51496 #define HAVE_QFPCLASS 1
51497 _ACEOF
51498
51499 fi
51500 done
51501
51502 else
51503
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51505 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51506 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51507 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51510
51511
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51521 #ifdef HAVE_IEEEFP_H
51522 #include <ieeefp.h>
51523 #endif
51524
51525 int
51526 main ()
51527 {
51528 _qfpclass(0);
51529 ;
51530 return 0;
51531 }
51532 _ACEOF
51533 if ac_fn_cxx_try_compile "$LINENO"; then :
51534 glibcxx_cv_func__qfpclass_use=yes
51535 else
51536 glibcxx_cv_func__qfpclass_use=no
51537 fi
51538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51539 ac_ext=c
51540 ac_cpp='$CPP $CPPFLAGS'
51541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51544
51545
51546 fi
51547
51548 fi
51549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51550 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51551
51552 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51553 for ac_func in _qfpclass
51554 do :
51555 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51556 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51557 cat >>confdefs.h <<_ACEOF
51558 #define HAVE__QFPCLASS 1
51559 _ACEOF
51560
51561 fi
51562 done
51563
51564 fi
51565 fi
51566
51567
51568
51569
51570
51571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51572 $as_echo_n "checking for hypot declaration... " >&6; }
51573 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51574 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51575 $as_echo_n "(cached) " >&6
51576 else
51577
51578
51579 ac_ext=cpp
51580 ac_cpp='$CXXCPP $CPPFLAGS'
51581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51584
51585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51586 /* end confdefs.h. */
51587 #include <math.h>
51588 int
51589 main ()
51590 {
51591 hypot(0, 0);
51592 ;
51593 return 0;
51594 }
51595 _ACEOF
51596 if ac_fn_cxx_try_compile "$LINENO"; then :
51597 glibcxx_cv_func_hypot_use=yes
51598 else
51599 glibcxx_cv_func_hypot_use=no
51600 fi
51601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51602 ac_ext=c
51603 ac_cpp='$CPP $CPPFLAGS'
51604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51607
51608
51609 fi
51610
51611 fi
51612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51613 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51614
51615 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51616 for ac_func in hypot
51617 do :
51618 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51619 if test "x$ac_cv_func_hypot" = x""yes; then :
51620 cat >>confdefs.h <<_ACEOF
51621 #define HAVE_HYPOT 1
51622 _ACEOF
51623
51624 fi
51625 done
51626
51627 else
51628
51629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51630 $as_echo_n "checking for _hypot declaration... " >&6; }
51631 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51632 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51633 $as_echo_n "(cached) " >&6
51634 else
51635
51636
51637 ac_ext=cpp
51638 ac_cpp='$CXXCPP $CPPFLAGS'
51639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51642
51643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51644 /* end confdefs.h. */
51645 #include <math.h>
51646 int
51647 main ()
51648 {
51649 _hypot(0, 0);
51650 ;
51651 return 0;
51652 }
51653 _ACEOF
51654 if ac_fn_cxx_try_compile "$LINENO"; then :
51655 glibcxx_cv_func__hypot_use=yes
51656 else
51657 glibcxx_cv_func__hypot_use=no
51658 fi
51659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51660 ac_ext=c
51661 ac_cpp='$CPP $CPPFLAGS'
51662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51665
51666
51667 fi
51668
51669 fi
51670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51671 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51672
51673 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51674 for ac_func in _hypot
51675 do :
51676 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51677 if test "x$ac_cv_func__hypot" = x""yes; then :
51678 cat >>confdefs.h <<_ACEOF
51679 #define HAVE__HYPOT 1
51680 _ACEOF
51681
51682 fi
51683 done
51684
51685 fi
51686 fi
51687
51688
51689
51690
51691
51692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51693 $as_echo_n "checking for float trig functions... " >&6; }
51694 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51695 $as_echo_n "(cached) " >&6
51696 else
51697
51698
51699 ac_ext=cpp
51700 ac_cpp='$CXXCPP $CPPFLAGS'
51701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51704
51705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51706 /* end confdefs.h. */
51707 #include <math.h>
51708 int
51709 main ()
51710 {
51711 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51712 ;
51713 return 0;
51714 }
51715 _ACEOF
51716 if ac_fn_cxx_try_compile "$LINENO"; then :
51717 glibcxx_cv_func_float_trig_use=yes
51718 else
51719 glibcxx_cv_func_float_trig_use=no
51720 fi
51721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51722 ac_ext=c
51723 ac_cpp='$CPP $CPPFLAGS'
51724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51727
51728 fi
51729
51730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51731 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51732 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51733 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51734 do :
51735 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51736 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51737 eval as_val=\$$as_ac_var
51738 if test "x$as_val" = x""yes; then :
51739 cat >>confdefs.h <<_ACEOF
51740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51741 _ACEOF
51742
51743 fi
51744 done
51745
51746 else
51747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51748 $as_echo_n "checking for _float trig functions... " >&6; }
51749 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51751 else
51752
51753
51754 ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 #include <math.h>
51763 int
51764 main ()
51765 {
51766 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51767 ;
51768 return 0;
51769 }
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func__float_trig_use=yes
51773 else
51774 glibcxx_cv_func__float_trig_use=no
51775 fi
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51782
51783 fi
51784
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51786 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51787 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51788 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51789 do :
51790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51792 eval as_val=\$$as_ac_var
51793 if test "x$as_val" = x""yes; then :
51794 cat >>confdefs.h <<_ACEOF
51795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51796 _ACEOF
51797
51798 fi
51799 done
51800
51801 fi
51802 fi
51803
51804
51805
51806
51807
51808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51809 $as_echo_n "checking for float round functions... " >&6; }
51810 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51811 $as_echo_n "(cached) " >&6
51812 else
51813
51814
51815 ac_ext=cpp
51816 ac_cpp='$CXXCPP $CPPFLAGS'
51817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51820
51821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51822 /* end confdefs.h. */
51823 #include <math.h>
51824 int
51825 main ()
51826 {
51827 ceilf (0); floorf (0);
51828 ;
51829 return 0;
51830 }
51831 _ACEOF
51832 if ac_fn_cxx_try_compile "$LINENO"; then :
51833 glibcxx_cv_func_float_round_use=yes
51834 else
51835 glibcxx_cv_func_float_round_use=no
51836 fi
51837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51838 ac_ext=c
51839 ac_cpp='$CPP $CPPFLAGS'
51840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843
51844 fi
51845
51846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51847 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51848 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51849 for ac_func in ceilf floorf
51850 do :
51851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51853 eval as_val=\$$as_ac_var
51854 if test "x$as_val" = x""yes; then :
51855 cat >>confdefs.h <<_ACEOF
51856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51857 _ACEOF
51858
51859 fi
51860 done
51861
51862 else
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51864 $as_echo_n "checking for _float round functions... " >&6; }
51865 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
51866 $as_echo_n "(cached) " >&6
51867 else
51868
51869
51870 ac_ext=cpp
51871 ac_cpp='$CXXCPP $CPPFLAGS'
51872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875
51876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51877 /* end confdefs.h. */
51878 #include <math.h>
51879 int
51880 main ()
51881 {
51882 _ceilf (0); _floorf (0);
51883 ;
51884 return 0;
51885 }
51886 _ACEOF
51887 if ac_fn_cxx_try_compile "$LINENO"; then :
51888 glibcxx_cv_func__float_round_use=yes
51889 else
51890 glibcxx_cv_func__float_round_use=no
51891 fi
51892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51893 ac_ext=c
51894 ac_cpp='$CPP $CPPFLAGS'
51895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51898
51899 fi
51900
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51902 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51903 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51904 for ac_func in _ceilf _floorf
51905 do :
51906 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51908 eval as_val=\$$as_ac_var
51909 if test "x$as_val" = x""yes; then :
51910 cat >>confdefs.h <<_ACEOF
51911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51912 _ACEOF
51913
51914 fi
51915 done
51916
51917 fi
51918 fi
51919
51920
51921
51922
51923
51924
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
51926 $as_echo_n "checking for expf declaration... " >&6; }
51927 if test x${glibcxx_cv_func_expf_use+set} != xset; then
51928 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51931
51932
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51942 #ifdef HAVE_IEEEFP_H
51943 #include <ieeefp.h>
51944 #endif
51945
51946 int
51947 main ()
51948 {
51949 expf(0);
51950 ;
51951 return 0;
51952 }
51953 _ACEOF
51954 if ac_fn_cxx_try_compile "$LINENO"; then :
51955 glibcxx_cv_func_expf_use=yes
51956 else
51957 glibcxx_cv_func_expf_use=no
51958 fi
51959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51960 ac_ext=c
51961 ac_cpp='$CPP $CPPFLAGS'
51962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51965
51966
51967 fi
51968
51969 fi
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
51971 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
51972
51973 if test x$glibcxx_cv_func_expf_use = x"yes"; then
51974 for ac_func in expf
51975 do :
51976 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
51977 if test "x$ac_cv_func_expf" = x""yes; then :
51978 cat >>confdefs.h <<_ACEOF
51979 #define HAVE_EXPF 1
51980 _ACEOF
51981
51982 fi
51983 done
51984
51985 else
51986
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
51988 $as_echo_n "checking for _expf declaration... " >&6; }
51989 if test x${glibcxx_cv_func__expf_use+set} != xset; then
51990 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
51991 $as_echo_n "(cached) " >&6
51992 else
51993
51994
51995 ac_ext=cpp
51996 ac_cpp='$CXXCPP $CPPFLAGS'
51997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52000
52001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52002 /* end confdefs.h. */
52003 #include <math.h>
52004 #ifdef HAVE_IEEEFP_H
52005 #include <ieeefp.h>
52006 #endif
52007
52008 int
52009 main ()
52010 {
52011 _expf(0);
52012 ;
52013 return 0;
52014 }
52015 _ACEOF
52016 if ac_fn_cxx_try_compile "$LINENO"; then :
52017 glibcxx_cv_func__expf_use=yes
52018 else
52019 glibcxx_cv_func__expf_use=no
52020 fi
52021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52022 ac_ext=c
52023 ac_cpp='$CPP $CPPFLAGS'
52024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52027
52028
52029 fi
52030
52031 fi
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52033 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52034
52035 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52036 for ac_func in _expf
52037 do :
52038 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52039 if test "x$ac_cv_func__expf" = x""yes; then :
52040 cat >>confdefs.h <<_ACEOF
52041 #define HAVE__EXPF 1
52042 _ACEOF
52043
52044 fi
52045 done
52046
52047 fi
52048 fi
52049
52050
52051
52052
52053
52054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52055 $as_echo_n "checking for isnanf declaration... " >&6; }
52056 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52057 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52058 $as_echo_n "(cached) " >&6
52059 else
52060
52061
52062 ac_ext=cpp
52063 ac_cpp='$CXXCPP $CPPFLAGS'
52064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52067
52068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52069 /* end confdefs.h. */
52070 #include <math.h>
52071 #ifdef HAVE_IEEEFP_H
52072 #include <ieeefp.h>
52073 #endif
52074
52075 int
52076 main ()
52077 {
52078 isnanf(0);
52079 ;
52080 return 0;
52081 }
52082 _ACEOF
52083 if ac_fn_cxx_try_compile "$LINENO"; then :
52084 glibcxx_cv_func_isnanf_use=yes
52085 else
52086 glibcxx_cv_func_isnanf_use=no
52087 fi
52088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52089 ac_ext=c
52090 ac_cpp='$CPP $CPPFLAGS'
52091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52094
52095
52096 fi
52097
52098 fi
52099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52100 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52101
52102 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52103 for ac_func in isnanf
52104 do :
52105 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52106 if test "x$ac_cv_func_isnanf" = x""yes; then :
52107 cat >>confdefs.h <<_ACEOF
52108 #define HAVE_ISNANF 1
52109 _ACEOF
52110
52111 fi
52112 done
52113
52114 else
52115
52116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52117 $as_echo_n "checking for _isnanf declaration... " >&6; }
52118 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52119 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52120 $as_echo_n "(cached) " >&6
52121 else
52122
52123
52124 ac_ext=cpp
52125 ac_cpp='$CXXCPP $CPPFLAGS'
52126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52129
52130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52131 /* end confdefs.h. */
52132 #include <math.h>
52133 #ifdef HAVE_IEEEFP_H
52134 #include <ieeefp.h>
52135 #endif
52136
52137 int
52138 main ()
52139 {
52140 _isnanf(0);
52141 ;
52142 return 0;
52143 }
52144 _ACEOF
52145 if ac_fn_cxx_try_compile "$LINENO"; then :
52146 glibcxx_cv_func__isnanf_use=yes
52147 else
52148 glibcxx_cv_func__isnanf_use=no
52149 fi
52150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52151 ac_ext=c
52152 ac_cpp='$CPP $CPPFLAGS'
52153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52156
52157
52158 fi
52159
52160 fi
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52162 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52163
52164 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52165 for ac_func in _isnanf
52166 do :
52167 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52168 if test "x$ac_cv_func__isnanf" = x""yes; then :
52169 cat >>confdefs.h <<_ACEOF
52170 #define HAVE__ISNANF 1
52171 _ACEOF
52172
52173 fi
52174 done
52175
52176 fi
52177 fi
52178
52179
52180
52181
52182
52183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52184 $as_echo_n "checking for isinff declaration... " >&6; }
52185 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52186 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52187 $as_echo_n "(cached) " >&6
52188 else
52189
52190
52191 ac_ext=cpp
52192 ac_cpp='$CXXCPP $CPPFLAGS'
52193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52196
52197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52198 /* end confdefs.h. */
52199 #include <math.h>
52200 #ifdef HAVE_IEEEFP_H
52201 #include <ieeefp.h>
52202 #endif
52203
52204 int
52205 main ()
52206 {
52207 isinff(0);
52208 ;
52209 return 0;
52210 }
52211 _ACEOF
52212 if ac_fn_cxx_try_compile "$LINENO"; then :
52213 glibcxx_cv_func_isinff_use=yes
52214 else
52215 glibcxx_cv_func_isinff_use=no
52216 fi
52217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52218 ac_ext=c
52219 ac_cpp='$CPP $CPPFLAGS'
52220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52223
52224
52225 fi
52226
52227 fi
52228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52229 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52230
52231 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52232 for ac_func in isinff
52233 do :
52234 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52235 if test "x$ac_cv_func_isinff" = x""yes; then :
52236 cat >>confdefs.h <<_ACEOF
52237 #define HAVE_ISINFF 1
52238 _ACEOF
52239
52240 fi
52241 done
52242
52243 else
52244
52245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52246 $as_echo_n "checking for _isinff declaration... " >&6; }
52247 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52248 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52249 $as_echo_n "(cached) " >&6
52250 else
52251
52252
52253 ac_ext=cpp
52254 ac_cpp='$CXXCPP $CPPFLAGS'
52255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52258
52259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52260 /* end confdefs.h. */
52261 #include <math.h>
52262 #ifdef HAVE_IEEEFP_H
52263 #include <ieeefp.h>
52264 #endif
52265
52266 int
52267 main ()
52268 {
52269 _isinff(0);
52270 ;
52271 return 0;
52272 }
52273 _ACEOF
52274 if ac_fn_cxx_try_compile "$LINENO"; then :
52275 glibcxx_cv_func__isinff_use=yes
52276 else
52277 glibcxx_cv_func__isinff_use=no
52278 fi
52279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52280 ac_ext=c
52281 ac_cpp='$CPP $CPPFLAGS'
52282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52285
52286
52287 fi
52288
52289 fi
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52291 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52292
52293 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52294 for ac_func in _isinff
52295 do :
52296 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52297 if test "x$ac_cv_func__isinff" = x""yes; then :
52298 cat >>confdefs.h <<_ACEOF
52299 #define HAVE__ISINFF 1
52300 _ACEOF
52301
52302 fi
52303 done
52304
52305 fi
52306 fi
52307
52308
52309
52310
52311
52312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52313 $as_echo_n "checking for atan2f declaration... " >&6; }
52314 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52315 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52316 $as_echo_n "(cached) " >&6
52317 else
52318
52319
52320 ac_ext=cpp
52321 ac_cpp='$CXXCPP $CPPFLAGS'
52322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52325
52326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52327 /* end confdefs.h. */
52328 #include <math.h>
52329 int
52330 main ()
52331 {
52332 atan2f(0, 0);
52333 ;
52334 return 0;
52335 }
52336 _ACEOF
52337 if ac_fn_cxx_try_compile "$LINENO"; then :
52338 glibcxx_cv_func_atan2f_use=yes
52339 else
52340 glibcxx_cv_func_atan2f_use=no
52341 fi
52342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52343 ac_ext=c
52344 ac_cpp='$CPP $CPPFLAGS'
52345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52348
52349
52350 fi
52351
52352 fi
52353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52354 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52355
52356 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52357 for ac_func in atan2f
52358 do :
52359 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52360 if test "x$ac_cv_func_atan2f" = x""yes; then :
52361 cat >>confdefs.h <<_ACEOF
52362 #define HAVE_ATAN2F 1
52363 _ACEOF
52364
52365 fi
52366 done
52367
52368 else
52369
52370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52371 $as_echo_n "checking for _atan2f declaration... " >&6; }
52372 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52373 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52374 $as_echo_n "(cached) " >&6
52375 else
52376
52377
52378 ac_ext=cpp
52379 ac_cpp='$CXXCPP $CPPFLAGS'
52380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52383
52384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52385 /* end confdefs.h. */
52386 #include <math.h>
52387 int
52388 main ()
52389 {
52390 _atan2f(0, 0);
52391 ;
52392 return 0;
52393 }
52394 _ACEOF
52395 if ac_fn_cxx_try_compile "$LINENO"; then :
52396 glibcxx_cv_func__atan2f_use=yes
52397 else
52398 glibcxx_cv_func__atan2f_use=no
52399 fi
52400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52401 ac_ext=c
52402 ac_cpp='$CPP $CPPFLAGS'
52403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52406
52407
52408 fi
52409
52410 fi
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52412 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52413
52414 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52415 for ac_func in _atan2f
52416 do :
52417 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52418 if test "x$ac_cv_func__atan2f" = x""yes; then :
52419 cat >>confdefs.h <<_ACEOF
52420 #define HAVE__ATAN2F 1
52421 _ACEOF
52422
52423 fi
52424 done
52425
52426 fi
52427 fi
52428
52429
52430
52431
52432
52433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52434 $as_echo_n "checking for fabsf declaration... " >&6; }
52435 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52436 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52437 $as_echo_n "(cached) " >&6
52438 else
52439
52440
52441 ac_ext=cpp
52442 ac_cpp='$CXXCPP $CPPFLAGS'
52443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52446
52447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52448 /* end confdefs.h. */
52449 #include <math.h>
52450 #ifdef HAVE_IEEEFP_H
52451 #include <ieeefp.h>
52452 #endif
52453
52454 int
52455 main ()
52456 {
52457 fabsf(0);
52458 ;
52459 return 0;
52460 }
52461 _ACEOF
52462 if ac_fn_cxx_try_compile "$LINENO"; then :
52463 glibcxx_cv_func_fabsf_use=yes
52464 else
52465 glibcxx_cv_func_fabsf_use=no
52466 fi
52467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52468 ac_ext=c
52469 ac_cpp='$CPP $CPPFLAGS'
52470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52473
52474
52475 fi
52476
52477 fi
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52479 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52480
52481 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52482 for ac_func in fabsf
52483 do :
52484 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52485 if test "x$ac_cv_func_fabsf" = x""yes; then :
52486 cat >>confdefs.h <<_ACEOF
52487 #define HAVE_FABSF 1
52488 _ACEOF
52489
52490 fi
52491 done
52492
52493 else
52494
52495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52496 $as_echo_n "checking for _fabsf declaration... " >&6; }
52497 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52498 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52499 $as_echo_n "(cached) " >&6
52500 else
52501
52502
52503 ac_ext=cpp
52504 ac_cpp='$CXXCPP $CPPFLAGS'
52505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52508
52509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52510 /* end confdefs.h. */
52511 #include <math.h>
52512 #ifdef HAVE_IEEEFP_H
52513 #include <ieeefp.h>
52514 #endif
52515
52516 int
52517 main ()
52518 {
52519 _fabsf(0);
52520 ;
52521 return 0;
52522 }
52523 _ACEOF
52524 if ac_fn_cxx_try_compile "$LINENO"; then :
52525 glibcxx_cv_func__fabsf_use=yes
52526 else
52527 glibcxx_cv_func__fabsf_use=no
52528 fi
52529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52530 ac_ext=c
52531 ac_cpp='$CPP $CPPFLAGS'
52532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52535
52536
52537 fi
52538
52539 fi
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52541 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52542
52543 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52544 for ac_func in _fabsf
52545 do :
52546 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52547 if test "x$ac_cv_func__fabsf" = x""yes; then :
52548 cat >>confdefs.h <<_ACEOF
52549 #define HAVE__FABSF 1
52550 _ACEOF
52551
52552 fi
52553 done
52554
52555 fi
52556 fi
52557
52558
52559
52560
52561
52562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52563 $as_echo_n "checking for fmodf declaration... " >&6; }
52564 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52565 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52566 $as_echo_n "(cached) " >&6
52567 else
52568
52569
52570 ac_ext=cpp
52571 ac_cpp='$CXXCPP $CPPFLAGS'
52572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52575
52576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52577 /* end confdefs.h. */
52578 #include <math.h>
52579 int
52580 main ()
52581 {
52582 fmodf(0, 0);
52583 ;
52584 return 0;
52585 }
52586 _ACEOF
52587 if ac_fn_cxx_try_compile "$LINENO"; then :
52588 glibcxx_cv_func_fmodf_use=yes
52589 else
52590 glibcxx_cv_func_fmodf_use=no
52591 fi
52592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52593 ac_ext=c
52594 ac_cpp='$CPP $CPPFLAGS'
52595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52598
52599
52600 fi
52601
52602 fi
52603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52604 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52605
52606 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52607 for ac_func in fmodf
52608 do :
52609 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52610 if test "x$ac_cv_func_fmodf" = x""yes; then :
52611 cat >>confdefs.h <<_ACEOF
52612 #define HAVE_FMODF 1
52613 _ACEOF
52614
52615 fi
52616 done
52617
52618 else
52619
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52621 $as_echo_n "checking for _fmodf declaration... " >&6; }
52622 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52623 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52624 $as_echo_n "(cached) " >&6
52625 else
52626
52627
52628 ac_ext=cpp
52629 ac_cpp='$CXXCPP $CPPFLAGS'
52630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52633
52634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52635 /* end confdefs.h. */
52636 #include <math.h>
52637 int
52638 main ()
52639 {
52640 _fmodf(0, 0);
52641 ;
52642 return 0;
52643 }
52644 _ACEOF
52645 if ac_fn_cxx_try_compile "$LINENO"; then :
52646 glibcxx_cv_func__fmodf_use=yes
52647 else
52648 glibcxx_cv_func__fmodf_use=no
52649 fi
52650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52651 ac_ext=c
52652 ac_cpp='$CPP $CPPFLAGS'
52653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52656
52657
52658 fi
52659
52660 fi
52661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52662 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52663
52664 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52665 for ac_func in _fmodf
52666 do :
52667 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52668 if test "x$ac_cv_func__fmodf" = x""yes; then :
52669 cat >>confdefs.h <<_ACEOF
52670 #define HAVE__FMODF 1
52671 _ACEOF
52672
52673 fi
52674 done
52675
52676 fi
52677 fi
52678
52679
52680
52681
52682
52683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52684 $as_echo_n "checking for frexpf declaration... " >&6; }
52685 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52686 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52687 $as_echo_n "(cached) " >&6
52688 else
52689
52690
52691 ac_ext=cpp
52692 ac_cpp='$CXXCPP $CPPFLAGS'
52693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52696
52697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52698 /* end confdefs.h. */
52699 #include <math.h>
52700 int
52701 main ()
52702 {
52703 frexpf(0, 0);
52704 ;
52705 return 0;
52706 }
52707 _ACEOF
52708 if ac_fn_cxx_try_compile "$LINENO"; then :
52709 glibcxx_cv_func_frexpf_use=yes
52710 else
52711 glibcxx_cv_func_frexpf_use=no
52712 fi
52713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52714 ac_ext=c
52715 ac_cpp='$CPP $CPPFLAGS'
52716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52719
52720
52721 fi
52722
52723 fi
52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52725 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52726
52727 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52728 for ac_func in frexpf
52729 do :
52730 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52731 if test "x$ac_cv_func_frexpf" = x""yes; then :
52732 cat >>confdefs.h <<_ACEOF
52733 #define HAVE_FREXPF 1
52734 _ACEOF
52735
52736 fi
52737 done
52738
52739 else
52740
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52742 $as_echo_n "checking for _frexpf declaration... " >&6; }
52743 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52744 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52745 $as_echo_n "(cached) " >&6
52746 else
52747
52748
52749 ac_ext=cpp
52750 ac_cpp='$CXXCPP $CPPFLAGS'
52751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754
52755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52756 /* end confdefs.h. */
52757 #include <math.h>
52758 int
52759 main ()
52760 {
52761 _frexpf(0, 0);
52762 ;
52763 return 0;
52764 }
52765 _ACEOF
52766 if ac_fn_cxx_try_compile "$LINENO"; then :
52767 glibcxx_cv_func__frexpf_use=yes
52768 else
52769 glibcxx_cv_func__frexpf_use=no
52770 fi
52771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52772 ac_ext=c
52773 ac_cpp='$CPP $CPPFLAGS'
52774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52777
52778
52779 fi
52780
52781 fi
52782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52783 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52784
52785 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52786 for ac_func in _frexpf
52787 do :
52788 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52789 if test "x$ac_cv_func__frexpf" = x""yes; then :
52790 cat >>confdefs.h <<_ACEOF
52791 #define HAVE__FREXPF 1
52792 _ACEOF
52793
52794 fi
52795 done
52796
52797 fi
52798 fi
52799
52800
52801
52802
52803
52804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52805 $as_echo_n "checking for hypotf declaration... " >&6; }
52806 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52807 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52808 $as_echo_n "(cached) " >&6
52809 else
52810
52811
52812 ac_ext=cpp
52813 ac_cpp='$CXXCPP $CPPFLAGS'
52814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52817
52818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52819 /* end confdefs.h. */
52820 #include <math.h>
52821 int
52822 main ()
52823 {
52824 hypotf(0, 0);
52825 ;
52826 return 0;
52827 }
52828 _ACEOF
52829 if ac_fn_cxx_try_compile "$LINENO"; then :
52830 glibcxx_cv_func_hypotf_use=yes
52831 else
52832 glibcxx_cv_func_hypotf_use=no
52833 fi
52834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52835 ac_ext=c
52836 ac_cpp='$CPP $CPPFLAGS'
52837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52840
52841
52842 fi
52843
52844 fi
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52846 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52847
52848 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52849 for ac_func in hypotf
52850 do :
52851 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52852 if test "x$ac_cv_func_hypotf" = x""yes; then :
52853 cat >>confdefs.h <<_ACEOF
52854 #define HAVE_HYPOTF 1
52855 _ACEOF
52856
52857 fi
52858 done
52859
52860 else
52861
52862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52863 $as_echo_n "checking for _hypotf declaration... " >&6; }
52864 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52865 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
52866 $as_echo_n "(cached) " >&6
52867 else
52868
52869
52870 ac_ext=cpp
52871 ac_cpp='$CXXCPP $CPPFLAGS'
52872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52875
52876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52877 /* end confdefs.h. */
52878 #include <math.h>
52879 int
52880 main ()
52881 {
52882 _hypotf(0, 0);
52883 ;
52884 return 0;
52885 }
52886 _ACEOF
52887 if ac_fn_cxx_try_compile "$LINENO"; then :
52888 glibcxx_cv_func__hypotf_use=yes
52889 else
52890 glibcxx_cv_func__hypotf_use=no
52891 fi
52892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52893 ac_ext=c
52894 ac_cpp='$CPP $CPPFLAGS'
52895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52898
52899
52900 fi
52901
52902 fi
52903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52904 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52905
52906 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52907 for ac_func in _hypotf
52908 do :
52909 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52910 if test "x$ac_cv_func__hypotf" = x""yes; then :
52911 cat >>confdefs.h <<_ACEOF
52912 #define HAVE__HYPOTF 1
52913 _ACEOF
52914
52915 fi
52916 done
52917
52918 fi
52919 fi
52920
52921
52922
52923
52924
52925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
52926 $as_echo_n "checking for ldexpf declaration... " >&6; }
52927 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52928 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
52929 $as_echo_n "(cached) " >&6
52930 else
52931
52932
52933 ac_ext=cpp
52934 ac_cpp='$CXXCPP $CPPFLAGS'
52935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52938
52939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52940 /* end confdefs.h. */
52941 #include <math.h>
52942 int
52943 main ()
52944 {
52945 ldexpf(0, 0);
52946 ;
52947 return 0;
52948 }
52949 _ACEOF
52950 if ac_fn_cxx_try_compile "$LINENO"; then :
52951 glibcxx_cv_func_ldexpf_use=yes
52952 else
52953 glibcxx_cv_func_ldexpf_use=no
52954 fi
52955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52956 ac_ext=c
52957 ac_cpp='$CPP $CPPFLAGS'
52958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52961
52962
52963 fi
52964
52965 fi
52966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
52967 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
52968
52969 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52970 for ac_func in ldexpf
52971 do :
52972 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
52973 if test "x$ac_cv_func_ldexpf" = x""yes; then :
52974 cat >>confdefs.h <<_ACEOF
52975 #define HAVE_LDEXPF 1
52976 _ACEOF
52977
52978 fi
52979 done
52980
52981 else
52982
52983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
52984 $as_echo_n "checking for _ldexpf declaration... " >&6; }
52985 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52986 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
52987 $as_echo_n "(cached) " >&6
52988 else
52989
52990
52991 ac_ext=cpp
52992 ac_cpp='$CXXCPP $CPPFLAGS'
52993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52996
52997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52998 /* end confdefs.h. */
52999 #include <math.h>
53000 int
53001 main ()
53002 {
53003 _ldexpf(0, 0);
53004 ;
53005 return 0;
53006 }
53007 _ACEOF
53008 if ac_fn_cxx_try_compile "$LINENO"; then :
53009 glibcxx_cv_func__ldexpf_use=yes
53010 else
53011 glibcxx_cv_func__ldexpf_use=no
53012 fi
53013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53014 ac_ext=c
53015 ac_cpp='$CPP $CPPFLAGS'
53016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53019
53020
53021 fi
53022
53023 fi
53024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53025 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53026
53027 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53028 for ac_func in _ldexpf
53029 do :
53030 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53031 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53032 cat >>confdefs.h <<_ACEOF
53033 #define HAVE__LDEXPF 1
53034 _ACEOF
53035
53036 fi
53037 done
53038
53039 fi
53040 fi
53041
53042
53043
53044
53045
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53047 $as_echo_n "checking for logf declaration... " >&6; }
53048 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53049 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53050 $as_echo_n "(cached) " >&6
53051 else
53052
53053
53054 ac_ext=cpp
53055 ac_cpp='$CXXCPP $CPPFLAGS'
53056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53059
53060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53061 /* end confdefs.h. */
53062 #include <math.h>
53063 #ifdef HAVE_IEEEFP_H
53064 #include <ieeefp.h>
53065 #endif
53066
53067 int
53068 main ()
53069 {
53070 logf(0);
53071 ;
53072 return 0;
53073 }
53074 _ACEOF
53075 if ac_fn_cxx_try_compile "$LINENO"; then :
53076 glibcxx_cv_func_logf_use=yes
53077 else
53078 glibcxx_cv_func_logf_use=no
53079 fi
53080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53081 ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53086
53087
53088 fi
53089
53090 fi
53091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53092 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53093
53094 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53095 for ac_func in logf
53096 do :
53097 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53098 if test "x$ac_cv_func_logf" = x""yes; then :
53099 cat >>confdefs.h <<_ACEOF
53100 #define HAVE_LOGF 1
53101 _ACEOF
53102
53103 fi
53104 done
53105
53106 else
53107
53108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53109 $as_echo_n "checking for _logf declaration... " >&6; }
53110 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53111 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53112 $as_echo_n "(cached) " >&6
53113 else
53114
53115
53116 ac_ext=cpp
53117 ac_cpp='$CXXCPP $CPPFLAGS'
53118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53121
53122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53123 /* end confdefs.h. */
53124 #include <math.h>
53125 #ifdef HAVE_IEEEFP_H
53126 #include <ieeefp.h>
53127 #endif
53128
53129 int
53130 main ()
53131 {
53132 _logf(0);
53133 ;
53134 return 0;
53135 }
53136 _ACEOF
53137 if ac_fn_cxx_try_compile "$LINENO"; then :
53138 glibcxx_cv_func__logf_use=yes
53139 else
53140 glibcxx_cv_func__logf_use=no
53141 fi
53142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53143 ac_ext=c
53144 ac_cpp='$CPP $CPPFLAGS'
53145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53148
53149
53150 fi
53151
53152 fi
53153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53154 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53155
53156 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53157 for ac_func in _logf
53158 do :
53159 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53160 if test "x$ac_cv_func__logf" = x""yes; then :
53161 cat >>confdefs.h <<_ACEOF
53162 #define HAVE__LOGF 1
53163 _ACEOF
53164
53165 fi
53166 done
53167
53168 fi
53169 fi
53170
53171
53172
53173
53174
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53176 $as_echo_n "checking for log10f declaration... " >&6; }
53177 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53178 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53179 $as_echo_n "(cached) " >&6
53180 else
53181
53182
53183 ac_ext=cpp
53184 ac_cpp='$CXXCPP $CPPFLAGS'
53185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53188
53189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53190 /* end confdefs.h. */
53191 #include <math.h>
53192 #ifdef HAVE_IEEEFP_H
53193 #include <ieeefp.h>
53194 #endif
53195
53196 int
53197 main ()
53198 {
53199 log10f(0);
53200 ;
53201 return 0;
53202 }
53203 _ACEOF
53204 if ac_fn_cxx_try_compile "$LINENO"; then :
53205 glibcxx_cv_func_log10f_use=yes
53206 else
53207 glibcxx_cv_func_log10f_use=no
53208 fi
53209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53210 ac_ext=c
53211 ac_cpp='$CPP $CPPFLAGS'
53212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53215
53216
53217 fi
53218
53219 fi
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53221 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53222
53223 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53224 for ac_func in log10f
53225 do :
53226 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53227 if test "x$ac_cv_func_log10f" = x""yes; then :
53228 cat >>confdefs.h <<_ACEOF
53229 #define HAVE_LOG10F 1
53230 _ACEOF
53231
53232 fi
53233 done
53234
53235 else
53236
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53238 $as_echo_n "checking for _log10f declaration... " >&6; }
53239 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53240 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53241 $as_echo_n "(cached) " >&6
53242 else
53243
53244
53245 ac_ext=cpp
53246 ac_cpp='$CXXCPP $CPPFLAGS'
53247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53250
53251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53252 /* end confdefs.h. */
53253 #include <math.h>
53254 #ifdef HAVE_IEEEFP_H
53255 #include <ieeefp.h>
53256 #endif
53257
53258 int
53259 main ()
53260 {
53261 _log10f(0);
53262 ;
53263 return 0;
53264 }
53265 _ACEOF
53266 if ac_fn_cxx_try_compile "$LINENO"; then :
53267 glibcxx_cv_func__log10f_use=yes
53268 else
53269 glibcxx_cv_func__log10f_use=no
53270 fi
53271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53272 ac_ext=c
53273 ac_cpp='$CPP $CPPFLAGS'
53274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53277
53278
53279 fi
53280
53281 fi
53282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53283 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53284
53285 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53286 for ac_func in _log10f
53287 do :
53288 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53289 if test "x$ac_cv_func__log10f" = x""yes; then :
53290 cat >>confdefs.h <<_ACEOF
53291 #define HAVE__LOG10F 1
53292 _ACEOF
53293
53294 fi
53295 done
53296
53297 fi
53298 fi
53299
53300
53301
53302
53303
53304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53305 $as_echo_n "checking for modff declaration... " >&6; }
53306 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53307 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53308 $as_echo_n "(cached) " >&6
53309 else
53310
53311
53312 ac_ext=cpp
53313 ac_cpp='$CXXCPP $CPPFLAGS'
53314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53317
53318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53319 /* end confdefs.h. */
53320 #include <math.h>
53321 int
53322 main ()
53323 {
53324 modff(0, 0);
53325 ;
53326 return 0;
53327 }
53328 _ACEOF
53329 if ac_fn_cxx_try_compile "$LINENO"; then :
53330 glibcxx_cv_func_modff_use=yes
53331 else
53332 glibcxx_cv_func_modff_use=no
53333 fi
53334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53335 ac_ext=c
53336 ac_cpp='$CPP $CPPFLAGS'
53337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53340
53341
53342 fi
53343
53344 fi
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53346 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53347
53348 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53349 for ac_func in modff
53350 do :
53351 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53352 if test "x$ac_cv_func_modff" = x""yes; then :
53353 cat >>confdefs.h <<_ACEOF
53354 #define HAVE_MODFF 1
53355 _ACEOF
53356
53357 fi
53358 done
53359
53360 else
53361
53362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53363 $as_echo_n "checking for _modff declaration... " >&6; }
53364 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53365 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53366 $as_echo_n "(cached) " >&6
53367 else
53368
53369
53370 ac_ext=cpp
53371 ac_cpp='$CXXCPP $CPPFLAGS'
53372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53375
53376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53377 /* end confdefs.h. */
53378 #include <math.h>
53379 int
53380 main ()
53381 {
53382 _modff(0, 0);
53383 ;
53384 return 0;
53385 }
53386 _ACEOF
53387 if ac_fn_cxx_try_compile "$LINENO"; then :
53388 glibcxx_cv_func__modff_use=yes
53389 else
53390 glibcxx_cv_func__modff_use=no
53391 fi
53392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53393 ac_ext=c
53394 ac_cpp='$CPP $CPPFLAGS'
53395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53398
53399
53400 fi
53401
53402 fi
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53404 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53405
53406 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53407 for ac_func in _modff
53408 do :
53409 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53410 if test "x$ac_cv_func__modff" = x""yes; then :
53411 cat >>confdefs.h <<_ACEOF
53412 #define HAVE__MODFF 1
53413 _ACEOF
53414
53415 fi
53416 done
53417
53418 fi
53419 fi
53420
53421
53422
53423
53424
53425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53426 $as_echo_n "checking for modf declaration... " >&6; }
53427 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53428 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53429 $as_echo_n "(cached) " >&6
53430 else
53431
53432
53433 ac_ext=cpp
53434 ac_cpp='$CXXCPP $CPPFLAGS'
53435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53438
53439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53440 /* end confdefs.h. */
53441 #include <math.h>
53442 int
53443 main ()
53444 {
53445 modf(0, 0);
53446 ;
53447 return 0;
53448 }
53449 _ACEOF
53450 if ac_fn_cxx_try_compile "$LINENO"; then :
53451 glibcxx_cv_func_modf_use=yes
53452 else
53453 glibcxx_cv_func_modf_use=no
53454 fi
53455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53456 ac_ext=c
53457 ac_cpp='$CPP $CPPFLAGS'
53458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53461
53462
53463 fi
53464
53465 fi
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53467 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53468
53469 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53470 for ac_func in modf
53471 do :
53472 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53473 if test "x$ac_cv_func_modf" = x""yes; then :
53474 cat >>confdefs.h <<_ACEOF
53475 #define HAVE_MODF 1
53476 _ACEOF
53477
53478 fi
53479 done
53480
53481 else
53482
53483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53484 $as_echo_n "checking for _modf declaration... " >&6; }
53485 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53486 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53487 $as_echo_n "(cached) " >&6
53488 else
53489
53490
53491 ac_ext=cpp
53492 ac_cpp='$CXXCPP $CPPFLAGS'
53493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53496
53497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53498 /* end confdefs.h. */
53499 #include <math.h>
53500 int
53501 main ()
53502 {
53503 _modf(0, 0);
53504 ;
53505 return 0;
53506 }
53507 _ACEOF
53508 if ac_fn_cxx_try_compile "$LINENO"; then :
53509 glibcxx_cv_func__modf_use=yes
53510 else
53511 glibcxx_cv_func__modf_use=no
53512 fi
53513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53514 ac_ext=c
53515 ac_cpp='$CPP $CPPFLAGS'
53516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53519
53520
53521 fi
53522
53523 fi
53524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53525 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53526
53527 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53528 for ac_func in _modf
53529 do :
53530 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53531 if test "x$ac_cv_func__modf" = x""yes; then :
53532 cat >>confdefs.h <<_ACEOF
53533 #define HAVE__MODF 1
53534 _ACEOF
53535
53536 fi
53537 done
53538
53539 fi
53540 fi
53541
53542
53543
53544
53545
53546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53547 $as_echo_n "checking for powf declaration... " >&6; }
53548 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53549 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53550 $as_echo_n "(cached) " >&6
53551 else
53552
53553
53554 ac_ext=cpp
53555 ac_cpp='$CXXCPP $CPPFLAGS'
53556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53559
53560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53561 /* end confdefs.h. */
53562 #include <math.h>
53563 int
53564 main ()
53565 {
53566 powf(0, 0);
53567 ;
53568 return 0;
53569 }
53570 _ACEOF
53571 if ac_fn_cxx_try_compile "$LINENO"; then :
53572 glibcxx_cv_func_powf_use=yes
53573 else
53574 glibcxx_cv_func_powf_use=no
53575 fi
53576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53577 ac_ext=c
53578 ac_cpp='$CPP $CPPFLAGS'
53579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53582
53583
53584 fi
53585
53586 fi
53587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53588 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53589
53590 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53591 for ac_func in powf
53592 do :
53593 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53594 if test "x$ac_cv_func_powf" = x""yes; then :
53595 cat >>confdefs.h <<_ACEOF
53596 #define HAVE_POWF 1
53597 _ACEOF
53598
53599 fi
53600 done
53601
53602 else
53603
53604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53605 $as_echo_n "checking for _powf declaration... " >&6; }
53606 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53607 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53608 $as_echo_n "(cached) " >&6
53609 else
53610
53611
53612 ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53617
53618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h. */
53620 #include <math.h>
53621 int
53622 main ()
53623 {
53624 _powf(0, 0);
53625 ;
53626 return 0;
53627 }
53628 _ACEOF
53629 if ac_fn_cxx_try_compile "$LINENO"; then :
53630 glibcxx_cv_func__powf_use=yes
53631 else
53632 glibcxx_cv_func__powf_use=no
53633 fi
53634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53635 ac_ext=c
53636 ac_cpp='$CPP $CPPFLAGS'
53637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53640
53641
53642 fi
53643
53644 fi
53645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53646 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53647
53648 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53649 for ac_func in _powf
53650 do :
53651 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53652 if test "x$ac_cv_func__powf" = x""yes; then :
53653 cat >>confdefs.h <<_ACEOF
53654 #define HAVE__POWF 1
53655 _ACEOF
53656
53657 fi
53658 done
53659
53660 fi
53661 fi
53662
53663
53664
53665
53666
53667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53668 $as_echo_n "checking for sqrtf declaration... " >&6; }
53669 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53670 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53671 $as_echo_n "(cached) " >&6
53672 else
53673
53674
53675 ac_ext=cpp
53676 ac_cpp='$CXXCPP $CPPFLAGS'
53677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53680
53681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53682 /* end confdefs.h. */
53683 #include <math.h>
53684 #ifdef HAVE_IEEEFP_H
53685 #include <ieeefp.h>
53686 #endif
53687
53688 int
53689 main ()
53690 {
53691 sqrtf(0);
53692 ;
53693 return 0;
53694 }
53695 _ACEOF
53696 if ac_fn_cxx_try_compile "$LINENO"; then :
53697 glibcxx_cv_func_sqrtf_use=yes
53698 else
53699 glibcxx_cv_func_sqrtf_use=no
53700 fi
53701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53702 ac_ext=c
53703 ac_cpp='$CPP $CPPFLAGS'
53704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53707
53708
53709 fi
53710
53711 fi
53712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53713 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53714
53715 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53716 for ac_func in sqrtf
53717 do :
53718 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53719 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53720 cat >>confdefs.h <<_ACEOF
53721 #define HAVE_SQRTF 1
53722 _ACEOF
53723
53724 fi
53725 done
53726
53727 else
53728
53729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53730 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53731 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53732 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53733 $as_echo_n "(cached) " >&6
53734 else
53735
53736
53737 ac_ext=cpp
53738 ac_cpp='$CXXCPP $CPPFLAGS'
53739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53742
53743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53744 /* end confdefs.h. */
53745 #include <math.h>
53746 #ifdef HAVE_IEEEFP_H
53747 #include <ieeefp.h>
53748 #endif
53749
53750 int
53751 main ()
53752 {
53753 _sqrtf(0);
53754 ;
53755 return 0;
53756 }
53757 _ACEOF
53758 if ac_fn_cxx_try_compile "$LINENO"; then :
53759 glibcxx_cv_func__sqrtf_use=yes
53760 else
53761 glibcxx_cv_func__sqrtf_use=no
53762 fi
53763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53764 ac_ext=c
53765 ac_cpp='$CPP $CPPFLAGS'
53766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53769
53770
53771 fi
53772
53773 fi
53774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53775 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53776
53777 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53778 for ac_func in _sqrtf
53779 do :
53780 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53781 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53782 cat >>confdefs.h <<_ACEOF
53783 #define HAVE__SQRTF 1
53784 _ACEOF
53785
53786 fi
53787 done
53788
53789 fi
53790 fi
53791
53792
53793
53794
53795
53796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53797 $as_echo_n "checking for sincosf declaration... " >&6; }
53798 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53799 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53800 $as_echo_n "(cached) " >&6
53801 else
53802
53803
53804 ac_ext=cpp
53805 ac_cpp='$CXXCPP $CPPFLAGS'
53806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53809
53810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53811 /* end confdefs.h. */
53812 #include <math.h>
53813 int
53814 main ()
53815 {
53816 sincosf(0, 0, 0);
53817 ;
53818 return 0;
53819 }
53820 _ACEOF
53821 if ac_fn_cxx_try_compile "$LINENO"; then :
53822 glibcxx_cv_func_sincosf_use=yes
53823 else
53824 glibcxx_cv_func_sincosf_use=no
53825 fi
53826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53827 ac_ext=c
53828 ac_cpp='$CPP $CPPFLAGS'
53829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53832
53833
53834 fi
53835
53836 fi
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53838 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53839
53840 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53841 for ac_func in sincosf
53842 do :
53843 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53844 if test "x$ac_cv_func_sincosf" = x""yes; then :
53845 cat >>confdefs.h <<_ACEOF
53846 #define HAVE_SINCOSF 1
53847 _ACEOF
53848
53849 fi
53850 done
53851
53852 else
53853
53854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53855 $as_echo_n "checking for _sincosf declaration... " >&6; }
53856 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53857 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
53858 $as_echo_n "(cached) " >&6
53859 else
53860
53861
53862 ac_ext=cpp
53863 ac_cpp='$CXXCPP $CPPFLAGS'
53864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53867
53868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53869 /* end confdefs.h. */
53870 #include <math.h>
53871 int
53872 main ()
53873 {
53874 _sincosf(0, 0, 0);
53875 ;
53876 return 0;
53877 }
53878 _ACEOF
53879 if ac_fn_cxx_try_compile "$LINENO"; then :
53880 glibcxx_cv_func__sincosf_use=yes
53881 else
53882 glibcxx_cv_func__sincosf_use=no
53883 fi
53884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53885 ac_ext=c
53886 ac_cpp='$CPP $CPPFLAGS'
53887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53890
53891
53892 fi
53893
53894 fi
53895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53896 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53897
53898 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53899 for ac_func in _sincosf
53900 do :
53901 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53902 if test "x$ac_cv_func__sincosf" = x""yes; then :
53903 cat >>confdefs.h <<_ACEOF
53904 #define HAVE__SINCOSF 1
53905 _ACEOF
53906
53907 fi
53908 done
53909
53910 fi
53911 fi
53912
53913
53914
53915
53916
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
53918 $as_echo_n "checking for finitef declaration... " >&6; }
53919 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53920 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
53921 $as_echo_n "(cached) " >&6
53922 else
53923
53924
53925 ac_ext=cpp
53926 ac_cpp='$CXXCPP $CPPFLAGS'
53927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53930
53931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53932 /* end confdefs.h. */
53933 #include <math.h>
53934 #ifdef HAVE_IEEEFP_H
53935 #include <ieeefp.h>
53936 #endif
53937
53938 int
53939 main ()
53940 {
53941 finitef(0);
53942 ;
53943 return 0;
53944 }
53945 _ACEOF
53946 if ac_fn_cxx_try_compile "$LINENO"; then :
53947 glibcxx_cv_func_finitef_use=yes
53948 else
53949 glibcxx_cv_func_finitef_use=no
53950 fi
53951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53952 ac_ext=c
53953 ac_cpp='$CPP $CPPFLAGS'
53954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53957
53958
53959 fi
53960
53961 fi
53962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
53963 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
53964
53965 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53966 for ac_func in finitef
53967 do :
53968 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
53969 if test "x$ac_cv_func_finitef" = x""yes; then :
53970 cat >>confdefs.h <<_ACEOF
53971 #define HAVE_FINITEF 1
53972 _ACEOF
53973
53974 fi
53975 done
53976
53977 else
53978
53979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
53980 $as_echo_n "checking for _finitef declaration... " >&6; }
53981 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53982 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
53983 $as_echo_n "(cached) " >&6
53984 else
53985
53986
53987 ac_ext=cpp
53988 ac_cpp='$CXXCPP $CPPFLAGS'
53989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53992
53993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53994 /* end confdefs.h. */
53995 #include <math.h>
53996 #ifdef HAVE_IEEEFP_H
53997 #include <ieeefp.h>
53998 #endif
53999
54000 int
54001 main ()
54002 {
54003 _finitef(0);
54004 ;
54005 return 0;
54006 }
54007 _ACEOF
54008 if ac_fn_cxx_try_compile "$LINENO"; then :
54009 glibcxx_cv_func__finitef_use=yes
54010 else
54011 glibcxx_cv_func__finitef_use=no
54012 fi
54013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54014 ac_ext=c
54015 ac_cpp='$CPP $CPPFLAGS'
54016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54019
54020
54021 fi
54022
54023 fi
54024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54025 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54026
54027 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54028 for ac_func in _finitef
54029 do :
54030 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54031 if test "x$ac_cv_func__finitef" = x""yes; then :
54032 cat >>confdefs.h <<_ACEOF
54033 #define HAVE__FINITEF 1
54034 _ACEOF
54035
54036 fi
54037 done
54038
54039 fi
54040 fi
54041
54042
54043
54044
54045
54046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54047 $as_echo_n "checking for long double trig functions... " >&6; }
54048 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54049 $as_echo_n "(cached) " >&6
54050 else
54051
54052
54053 ac_ext=cpp
54054 ac_cpp='$CXXCPP $CPPFLAGS'
54055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54058
54059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54060 /* end confdefs.h. */
54061 #include <math.h>
54062 int
54063 main ()
54064 {
54065 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54066 ;
54067 return 0;
54068 }
54069 _ACEOF
54070 if ac_fn_cxx_try_compile "$LINENO"; then :
54071 glibcxx_cv_func_long_double_trig_use=yes
54072 else
54073 glibcxx_cv_func_long_double_trig_use=no
54074 fi
54075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54076 ac_ext=c
54077 ac_cpp='$CPP $CPPFLAGS'
54078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54081
54082 fi
54083
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54085 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54086 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54087 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54088 do :
54089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54091 eval as_val=\$$as_ac_var
54092 if test "x$as_val" = x""yes; then :
54093 cat >>confdefs.h <<_ACEOF
54094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54095 _ACEOF
54096
54097 fi
54098 done
54099
54100 else
54101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54102 $as_echo_n "checking for _long double trig functions... " >&6; }
54103 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54104 $as_echo_n "(cached) " >&6
54105 else
54106
54107
54108 ac_ext=cpp
54109 ac_cpp='$CXXCPP $CPPFLAGS'
54110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54113
54114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54115 /* end confdefs.h. */
54116 #include <math.h>
54117 int
54118 main ()
54119 {
54120 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54121 ;
54122 return 0;
54123 }
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126 glibcxx_cv_func__long_double_trig_use=yes
54127 else
54128 glibcxx_cv_func__long_double_trig_use=no
54129 fi
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54136
54137 fi
54138
54139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54140 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54141 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54142 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54143 do :
54144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54146 eval as_val=\$$as_ac_var
54147 if test "x$as_val" = x""yes; then :
54148 cat >>confdefs.h <<_ACEOF
54149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54150 _ACEOF
54151
54152 fi
54153 done
54154
54155 fi
54156 fi
54157
54158
54159
54160
54161
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54163 $as_echo_n "checking for long double round functions... " >&6; }
54164 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54165 $as_echo_n "(cached) " >&6
54166 else
54167
54168
54169 ac_ext=cpp
54170 ac_cpp='$CXXCPP $CPPFLAGS'
54171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54174
54175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54176 /* end confdefs.h. */
54177 #include <math.h>
54178 int
54179 main ()
54180 {
54181 ceill (0); floorl (0);
54182 ;
54183 return 0;
54184 }
54185 _ACEOF
54186 if ac_fn_cxx_try_compile "$LINENO"; then :
54187 glibcxx_cv_func_long_double_round_use=yes
54188 else
54189 glibcxx_cv_func_long_double_round_use=no
54190 fi
54191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54192 ac_ext=c
54193 ac_cpp='$CPP $CPPFLAGS'
54194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54197
54198 fi
54199
54200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54201 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54202 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54203 for ac_func in ceill floorl
54204 do :
54205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54207 eval as_val=\$$as_ac_var
54208 if test "x$as_val" = x""yes; then :
54209 cat >>confdefs.h <<_ACEOF
54210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54211 _ACEOF
54212
54213 fi
54214 done
54215
54216 else
54217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54218 $as_echo_n "checking for _long double round functions... " >&6; }
54219 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54220 $as_echo_n "(cached) " >&6
54221 else
54222
54223
54224 ac_ext=cpp
54225 ac_cpp='$CXXCPP $CPPFLAGS'
54226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54229
54230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54231 /* end confdefs.h. */
54232 #include <math.h>
54233 int
54234 main ()
54235 {
54236 _ceill (0); _floorl (0);
54237 ;
54238 return 0;
54239 }
54240 _ACEOF
54241 if ac_fn_cxx_try_compile "$LINENO"; then :
54242 glibcxx_cv_func__long_double_round_use=yes
54243 else
54244 glibcxx_cv_func__long_double_round_use=no
54245 fi
54246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54247 ac_ext=c
54248 ac_cpp='$CPP $CPPFLAGS'
54249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54252
54253 fi
54254
54255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54256 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54257 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54258 for ac_func in _ceill _floorl
54259 do :
54260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54262 eval as_val=\$$as_ac_var
54263 if test "x$as_val" = x""yes; then :
54264 cat >>confdefs.h <<_ACEOF
54265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54266 _ACEOF
54267
54268 fi
54269 done
54270
54271 fi
54272 fi
54273
54274
54275
54276
54277
54278
54279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54280 $as_echo_n "checking for isnanl declaration... " >&6; }
54281 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54282 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54283 $as_echo_n "(cached) " >&6
54284 else
54285
54286
54287 ac_ext=cpp
54288 ac_cpp='$CXXCPP $CPPFLAGS'
54289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54292
54293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54294 /* end confdefs.h. */
54295 #include <math.h>
54296 #ifdef HAVE_IEEEFP_H
54297 #include <ieeefp.h>
54298 #endif
54299
54300 int
54301 main ()
54302 {
54303 isnanl(0);
54304 ;
54305 return 0;
54306 }
54307 _ACEOF
54308 if ac_fn_cxx_try_compile "$LINENO"; then :
54309 glibcxx_cv_func_isnanl_use=yes
54310 else
54311 glibcxx_cv_func_isnanl_use=no
54312 fi
54313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54314 ac_ext=c
54315 ac_cpp='$CPP $CPPFLAGS'
54316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54319
54320
54321 fi
54322
54323 fi
54324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54325 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54326
54327 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54328 for ac_func in isnanl
54329 do :
54330 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54331 if test "x$ac_cv_func_isnanl" = x""yes; then :
54332 cat >>confdefs.h <<_ACEOF
54333 #define HAVE_ISNANL 1
54334 _ACEOF
54335
54336 fi
54337 done
54338
54339 else
54340
54341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54342 $as_echo_n "checking for _isnanl declaration... " >&6; }
54343 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54344 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54345 $as_echo_n "(cached) " >&6
54346 else
54347
54348
54349 ac_ext=cpp
54350 ac_cpp='$CXXCPP $CPPFLAGS'
54351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54354
54355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54356 /* end confdefs.h. */
54357 #include <math.h>
54358 #ifdef HAVE_IEEEFP_H
54359 #include <ieeefp.h>
54360 #endif
54361
54362 int
54363 main ()
54364 {
54365 _isnanl(0);
54366 ;
54367 return 0;
54368 }
54369 _ACEOF
54370 if ac_fn_cxx_try_compile "$LINENO"; then :
54371 glibcxx_cv_func__isnanl_use=yes
54372 else
54373 glibcxx_cv_func__isnanl_use=no
54374 fi
54375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54376 ac_ext=c
54377 ac_cpp='$CPP $CPPFLAGS'
54378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54381
54382
54383 fi
54384
54385 fi
54386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54387 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54388
54389 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54390 for ac_func in _isnanl
54391 do :
54392 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54393 if test "x$ac_cv_func__isnanl" = x""yes; then :
54394 cat >>confdefs.h <<_ACEOF
54395 #define HAVE__ISNANL 1
54396 _ACEOF
54397
54398 fi
54399 done
54400
54401 fi
54402 fi
54403
54404
54405
54406
54407
54408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54409 $as_echo_n "checking for isinfl declaration... " >&6; }
54410 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54411 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54412 $as_echo_n "(cached) " >&6
54413 else
54414
54415
54416 ac_ext=cpp
54417 ac_cpp='$CXXCPP $CPPFLAGS'
54418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54421
54422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54423 /* end confdefs.h. */
54424 #include <math.h>
54425 #ifdef HAVE_IEEEFP_H
54426 #include <ieeefp.h>
54427 #endif
54428
54429 int
54430 main ()
54431 {
54432 isinfl(0);
54433 ;
54434 return 0;
54435 }
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func_isinfl_use=yes
54439 else
54440 glibcxx_cv_func_isinfl_use=no
54441 fi
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448
54449
54450 fi
54451
54452 fi
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54454 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54455
54456 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54457 for ac_func in isinfl
54458 do :
54459 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54460 if test "x$ac_cv_func_isinfl" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE_ISINFL 1
54463 _ACEOF
54464
54465 fi
54466 done
54467
54468 else
54469
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54471 $as_echo_n "checking for _isinfl declaration... " >&6; }
54472 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54473 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54476
54477
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54483
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54487 #ifdef HAVE_IEEEFP_H
54488 #include <ieeefp.h>
54489 #endif
54490
54491 int
54492 main ()
54493 {
54494 _isinfl(0);
54495 ;
54496 return 0;
54497 }
54498 _ACEOF
54499 if ac_fn_cxx_try_compile "$LINENO"; then :
54500 glibcxx_cv_func__isinfl_use=yes
54501 else
54502 glibcxx_cv_func__isinfl_use=no
54503 fi
54504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54505 ac_ext=c
54506 ac_cpp='$CPP $CPPFLAGS'
54507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54510
54511
54512 fi
54513
54514 fi
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54516 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54517
54518 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54519 for ac_func in _isinfl
54520 do :
54521 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54522 if test "x$ac_cv_func__isinfl" = x""yes; then :
54523 cat >>confdefs.h <<_ACEOF
54524 #define HAVE__ISINFL 1
54525 _ACEOF
54526
54527 fi
54528 done
54529
54530 fi
54531 fi
54532
54533
54534
54535
54536
54537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54538 $as_echo_n "checking for atan2l declaration... " >&6; }
54539 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54540 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54541 $as_echo_n "(cached) " >&6
54542 else
54543
54544
54545 ac_ext=cpp
54546 ac_cpp='$CXXCPP $CPPFLAGS'
54547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54550
54551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54552 /* end confdefs.h. */
54553 #include <math.h>
54554 int
54555 main ()
54556 {
54557 atan2l(0, 0);
54558 ;
54559 return 0;
54560 }
54561 _ACEOF
54562 if ac_fn_cxx_try_compile "$LINENO"; then :
54563 glibcxx_cv_func_atan2l_use=yes
54564 else
54565 glibcxx_cv_func_atan2l_use=no
54566 fi
54567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54568 ac_ext=c
54569 ac_cpp='$CPP $CPPFLAGS'
54570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54573
54574
54575 fi
54576
54577 fi
54578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54579 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54580
54581 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54582 for ac_func in atan2l
54583 do :
54584 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54585 if test "x$ac_cv_func_atan2l" = x""yes; then :
54586 cat >>confdefs.h <<_ACEOF
54587 #define HAVE_ATAN2L 1
54588 _ACEOF
54589
54590 fi
54591 done
54592
54593 else
54594
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54596 $as_echo_n "checking for _atan2l declaration... " >&6; }
54597 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54598 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54599 $as_echo_n "(cached) " >&6
54600 else
54601
54602
54603 ac_ext=cpp
54604 ac_cpp='$CXXCPP $CPPFLAGS'
54605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54608
54609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54610 /* end confdefs.h. */
54611 #include <math.h>
54612 int
54613 main ()
54614 {
54615 _atan2l(0, 0);
54616 ;
54617 return 0;
54618 }
54619 _ACEOF
54620 if ac_fn_cxx_try_compile "$LINENO"; then :
54621 glibcxx_cv_func__atan2l_use=yes
54622 else
54623 glibcxx_cv_func__atan2l_use=no
54624 fi
54625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54626 ac_ext=c
54627 ac_cpp='$CPP $CPPFLAGS'
54628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54631
54632
54633 fi
54634
54635 fi
54636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54637 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54638
54639 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54640 for ac_func in _atan2l
54641 do :
54642 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54643 if test "x$ac_cv_func__atan2l" = x""yes; then :
54644 cat >>confdefs.h <<_ACEOF
54645 #define HAVE__ATAN2L 1
54646 _ACEOF
54647
54648 fi
54649 done
54650
54651 fi
54652 fi
54653
54654
54655
54656
54657
54658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54659 $as_echo_n "checking for expl declaration... " >&6; }
54660 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54661 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54662 $as_echo_n "(cached) " >&6
54663 else
54664
54665
54666 ac_ext=cpp
54667 ac_cpp='$CXXCPP $CPPFLAGS'
54668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54671
54672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54673 /* end confdefs.h. */
54674 #include <math.h>
54675 #ifdef HAVE_IEEEFP_H
54676 #include <ieeefp.h>
54677 #endif
54678
54679 int
54680 main ()
54681 {
54682 expl(0);
54683 ;
54684 return 0;
54685 }
54686 _ACEOF
54687 if ac_fn_cxx_try_compile "$LINENO"; then :
54688 glibcxx_cv_func_expl_use=yes
54689 else
54690 glibcxx_cv_func_expl_use=no
54691 fi
54692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54693 ac_ext=c
54694 ac_cpp='$CPP $CPPFLAGS'
54695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54698
54699
54700 fi
54701
54702 fi
54703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54704 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54705
54706 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54707 for ac_func in expl
54708 do :
54709 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54710 if test "x$ac_cv_func_expl" = x""yes; then :
54711 cat >>confdefs.h <<_ACEOF
54712 #define HAVE_EXPL 1
54713 _ACEOF
54714
54715 fi
54716 done
54717
54718 else
54719
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54721 $as_echo_n "checking for _expl declaration... " >&6; }
54722 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54723 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54724 $as_echo_n "(cached) " >&6
54725 else
54726
54727
54728 ac_ext=cpp
54729 ac_cpp='$CXXCPP $CPPFLAGS'
54730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54733
54734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735 /* end confdefs.h. */
54736 #include <math.h>
54737 #ifdef HAVE_IEEEFP_H
54738 #include <ieeefp.h>
54739 #endif
54740
54741 int
54742 main ()
54743 {
54744 _expl(0);
54745 ;
54746 return 0;
54747 }
54748 _ACEOF
54749 if ac_fn_cxx_try_compile "$LINENO"; then :
54750 glibcxx_cv_func__expl_use=yes
54751 else
54752 glibcxx_cv_func__expl_use=no
54753 fi
54754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54760
54761
54762 fi
54763
54764 fi
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54766 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54767
54768 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54769 for ac_func in _expl
54770 do :
54771 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54772 if test "x$ac_cv_func__expl" = x""yes; then :
54773 cat >>confdefs.h <<_ACEOF
54774 #define HAVE__EXPL 1
54775 _ACEOF
54776
54777 fi
54778 done
54779
54780 fi
54781 fi
54782
54783
54784
54785
54786
54787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54788 $as_echo_n "checking for fabsl declaration... " >&6; }
54789 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54790 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54791 $as_echo_n "(cached) " >&6
54792 else
54793
54794
54795 ac_ext=cpp
54796 ac_cpp='$CXXCPP $CPPFLAGS'
54797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54800
54801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54802 /* end confdefs.h. */
54803 #include <math.h>
54804 #ifdef HAVE_IEEEFP_H
54805 #include <ieeefp.h>
54806 #endif
54807
54808 int
54809 main ()
54810 {
54811 fabsl(0);
54812 ;
54813 return 0;
54814 }
54815 _ACEOF
54816 if ac_fn_cxx_try_compile "$LINENO"; then :
54817 glibcxx_cv_func_fabsl_use=yes
54818 else
54819 glibcxx_cv_func_fabsl_use=no
54820 fi
54821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54822 ac_ext=c
54823 ac_cpp='$CPP $CPPFLAGS'
54824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54827
54828
54829 fi
54830
54831 fi
54832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54833 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54834
54835 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54836 for ac_func in fabsl
54837 do :
54838 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54839 if test "x$ac_cv_func_fabsl" = x""yes; then :
54840 cat >>confdefs.h <<_ACEOF
54841 #define HAVE_FABSL 1
54842 _ACEOF
54843
54844 fi
54845 done
54846
54847 else
54848
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54850 $as_echo_n "checking for _fabsl declaration... " >&6; }
54851 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54852 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
54853 $as_echo_n "(cached) " >&6
54854 else
54855
54856
54857 ac_ext=cpp
54858 ac_cpp='$CXXCPP $CPPFLAGS'
54859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862
54863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54864 /* end confdefs.h. */
54865 #include <math.h>
54866 #ifdef HAVE_IEEEFP_H
54867 #include <ieeefp.h>
54868 #endif
54869
54870 int
54871 main ()
54872 {
54873 _fabsl(0);
54874 ;
54875 return 0;
54876 }
54877 _ACEOF
54878 if ac_fn_cxx_try_compile "$LINENO"; then :
54879 glibcxx_cv_func__fabsl_use=yes
54880 else
54881 glibcxx_cv_func__fabsl_use=no
54882 fi
54883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54884 ac_ext=c
54885 ac_cpp='$CPP $CPPFLAGS'
54886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54889
54890
54891 fi
54892
54893 fi
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54895 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54896
54897 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54898 for ac_func in _fabsl
54899 do :
54900 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54901 if test "x$ac_cv_func__fabsl" = x""yes; then :
54902 cat >>confdefs.h <<_ACEOF
54903 #define HAVE__FABSL 1
54904 _ACEOF
54905
54906 fi
54907 done
54908
54909 fi
54910 fi
54911
54912
54913
54914
54915
54916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
54917 $as_echo_n "checking for fmodl declaration... " >&6; }
54918 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54919 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
54920 $as_echo_n "(cached) " >&6
54921 else
54922
54923
54924 ac_ext=cpp
54925 ac_cpp='$CXXCPP $CPPFLAGS'
54926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54929
54930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54931 /* end confdefs.h. */
54932 #include <math.h>
54933 int
54934 main ()
54935 {
54936 fmodl(0, 0);
54937 ;
54938 return 0;
54939 }
54940 _ACEOF
54941 if ac_fn_cxx_try_compile "$LINENO"; then :
54942 glibcxx_cv_func_fmodl_use=yes
54943 else
54944 glibcxx_cv_func_fmodl_use=no
54945 fi
54946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54947 ac_ext=c
54948 ac_cpp='$CPP $CPPFLAGS'
54949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54952
54953
54954 fi
54955
54956 fi
54957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
54958 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
54959
54960 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54961 for ac_func in fmodl
54962 do :
54963 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
54964 if test "x$ac_cv_func_fmodl" = x""yes; then :
54965 cat >>confdefs.h <<_ACEOF
54966 #define HAVE_FMODL 1
54967 _ACEOF
54968
54969 fi
54970 done
54971
54972 else
54973
54974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
54975 $as_echo_n "checking for _fmodl declaration... " >&6; }
54976 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54977 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54980
54981
54982 ac_ext=cpp
54983 ac_cpp='$CXXCPP $CPPFLAGS'
54984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54987
54988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54989 /* end confdefs.h. */
54990 #include <math.h>
54991 int
54992 main ()
54993 {
54994 _fmodl(0, 0);
54995 ;
54996 return 0;
54997 }
54998 _ACEOF
54999 if ac_fn_cxx_try_compile "$LINENO"; then :
55000 glibcxx_cv_func__fmodl_use=yes
55001 else
55002 glibcxx_cv_func__fmodl_use=no
55003 fi
55004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55005 ac_ext=c
55006 ac_cpp='$CPP $CPPFLAGS'
55007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55010
55011
55012 fi
55013
55014 fi
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55016 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55017
55018 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55019 for ac_func in _fmodl
55020 do :
55021 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55022 if test "x$ac_cv_func__fmodl" = x""yes; then :
55023 cat >>confdefs.h <<_ACEOF
55024 #define HAVE__FMODL 1
55025 _ACEOF
55026
55027 fi
55028 done
55029
55030 fi
55031 fi
55032
55033
55034
55035
55036
55037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55038 $as_echo_n "checking for frexpl declaration... " >&6; }
55039 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55040 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55041 $as_echo_n "(cached) " >&6
55042 else
55043
55044
55045 ac_ext=cpp
55046 ac_cpp='$CXXCPP $CPPFLAGS'
55047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55050
55051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55052 /* end confdefs.h. */
55053 #include <math.h>
55054 int
55055 main ()
55056 {
55057 frexpl(0, 0);
55058 ;
55059 return 0;
55060 }
55061 _ACEOF
55062 if ac_fn_cxx_try_compile "$LINENO"; then :
55063 glibcxx_cv_func_frexpl_use=yes
55064 else
55065 glibcxx_cv_func_frexpl_use=no
55066 fi
55067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55068 ac_ext=c
55069 ac_cpp='$CPP $CPPFLAGS'
55070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55073
55074
55075 fi
55076
55077 fi
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55079 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55080
55081 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55082 for ac_func in frexpl
55083 do :
55084 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55085 if test "x$ac_cv_func_frexpl" = x""yes; then :
55086 cat >>confdefs.h <<_ACEOF
55087 #define HAVE_FREXPL 1
55088 _ACEOF
55089
55090 fi
55091 done
55092
55093 else
55094
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55096 $as_echo_n "checking for _frexpl declaration... " >&6; }
55097 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55098 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55099 $as_echo_n "(cached) " >&6
55100 else
55101
55102
55103 ac_ext=cpp
55104 ac_cpp='$CXXCPP $CPPFLAGS'
55105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55108
55109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55110 /* end confdefs.h. */
55111 #include <math.h>
55112 int
55113 main ()
55114 {
55115 _frexpl(0, 0);
55116 ;
55117 return 0;
55118 }
55119 _ACEOF
55120 if ac_fn_cxx_try_compile "$LINENO"; then :
55121 glibcxx_cv_func__frexpl_use=yes
55122 else
55123 glibcxx_cv_func__frexpl_use=no
55124 fi
55125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55126 ac_ext=c
55127 ac_cpp='$CPP $CPPFLAGS'
55128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55131
55132
55133 fi
55134
55135 fi
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55137 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55138
55139 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55140 for ac_func in _frexpl
55141 do :
55142 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55143 if test "x$ac_cv_func__frexpl" = x""yes; then :
55144 cat >>confdefs.h <<_ACEOF
55145 #define HAVE__FREXPL 1
55146 _ACEOF
55147
55148 fi
55149 done
55150
55151 fi
55152 fi
55153
55154
55155
55156
55157
55158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55159 $as_echo_n "checking for hypotl declaration... " >&6; }
55160 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55161 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55162 $as_echo_n "(cached) " >&6
55163 else
55164
55165
55166 ac_ext=cpp
55167 ac_cpp='$CXXCPP $CPPFLAGS'
55168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55171
55172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55173 /* end confdefs.h. */
55174 #include <math.h>
55175 int
55176 main ()
55177 {
55178 hypotl(0, 0);
55179 ;
55180 return 0;
55181 }
55182 _ACEOF
55183 if ac_fn_cxx_try_compile "$LINENO"; then :
55184 glibcxx_cv_func_hypotl_use=yes
55185 else
55186 glibcxx_cv_func_hypotl_use=no
55187 fi
55188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55189 ac_ext=c
55190 ac_cpp='$CPP $CPPFLAGS'
55191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55194
55195
55196 fi
55197
55198 fi
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55200 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55201
55202 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55203 for ac_func in hypotl
55204 do :
55205 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55206 if test "x$ac_cv_func_hypotl" = x""yes; then :
55207 cat >>confdefs.h <<_ACEOF
55208 #define HAVE_HYPOTL 1
55209 _ACEOF
55210
55211 fi
55212 done
55213
55214 else
55215
55216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55217 $as_echo_n "checking for _hypotl declaration... " >&6; }
55218 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55219 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55220 $as_echo_n "(cached) " >&6
55221 else
55222
55223
55224 ac_ext=cpp
55225 ac_cpp='$CXXCPP $CPPFLAGS'
55226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55229
55230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55231 /* end confdefs.h. */
55232 #include <math.h>
55233 int
55234 main ()
55235 {
55236 _hypotl(0, 0);
55237 ;
55238 return 0;
55239 }
55240 _ACEOF
55241 if ac_fn_cxx_try_compile "$LINENO"; then :
55242 glibcxx_cv_func__hypotl_use=yes
55243 else
55244 glibcxx_cv_func__hypotl_use=no
55245 fi
55246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55247 ac_ext=c
55248 ac_cpp='$CPP $CPPFLAGS'
55249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55252
55253
55254 fi
55255
55256 fi
55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55258 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55259
55260 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55261 for ac_func in _hypotl
55262 do :
55263 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55264 if test "x$ac_cv_func__hypotl" = x""yes; then :
55265 cat >>confdefs.h <<_ACEOF
55266 #define HAVE__HYPOTL 1
55267 _ACEOF
55268
55269 fi
55270 done
55271
55272 fi
55273 fi
55274
55275
55276
55277
55278
55279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55280 $as_echo_n "checking for ldexpl declaration... " >&6; }
55281 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55282 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55283 $as_echo_n "(cached) " >&6
55284 else
55285
55286
55287 ac_ext=cpp
55288 ac_cpp='$CXXCPP $CPPFLAGS'
55289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55292
55293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55294 /* end confdefs.h. */
55295 #include <math.h>
55296 int
55297 main ()
55298 {
55299 ldexpl(0, 0);
55300 ;
55301 return 0;
55302 }
55303 _ACEOF
55304 if ac_fn_cxx_try_compile "$LINENO"; then :
55305 glibcxx_cv_func_ldexpl_use=yes
55306 else
55307 glibcxx_cv_func_ldexpl_use=no
55308 fi
55309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55310 ac_ext=c
55311 ac_cpp='$CPP $CPPFLAGS'
55312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55315
55316
55317 fi
55318
55319 fi
55320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55321 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55322
55323 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55324 for ac_func in ldexpl
55325 do :
55326 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55327 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55328 cat >>confdefs.h <<_ACEOF
55329 #define HAVE_LDEXPL 1
55330 _ACEOF
55331
55332 fi
55333 done
55334
55335 else
55336
55337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55338 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55339 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55340 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55341 $as_echo_n "(cached) " >&6
55342 else
55343
55344
55345 ac_ext=cpp
55346 ac_cpp='$CXXCPP $CPPFLAGS'
55347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55350
55351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55352 /* end confdefs.h. */
55353 #include <math.h>
55354 int
55355 main ()
55356 {
55357 _ldexpl(0, 0);
55358 ;
55359 return 0;
55360 }
55361 _ACEOF
55362 if ac_fn_cxx_try_compile "$LINENO"; then :
55363 glibcxx_cv_func__ldexpl_use=yes
55364 else
55365 glibcxx_cv_func__ldexpl_use=no
55366 fi
55367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55368 ac_ext=c
55369 ac_cpp='$CPP $CPPFLAGS'
55370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55373
55374
55375 fi
55376
55377 fi
55378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55379 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55380
55381 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55382 for ac_func in _ldexpl
55383 do :
55384 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55385 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55386 cat >>confdefs.h <<_ACEOF
55387 #define HAVE__LDEXPL 1
55388 _ACEOF
55389
55390 fi
55391 done
55392
55393 fi
55394 fi
55395
55396
55397
55398
55399
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55401 $as_echo_n "checking for logl declaration... " >&6; }
55402 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55403 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55404 $as_echo_n "(cached) " >&6
55405 else
55406
55407
55408 ac_ext=cpp
55409 ac_cpp='$CXXCPP $CPPFLAGS'
55410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55413
55414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55415 /* end confdefs.h. */
55416 #include <math.h>
55417 #ifdef HAVE_IEEEFP_H
55418 #include <ieeefp.h>
55419 #endif
55420
55421 int
55422 main ()
55423 {
55424 logl(0);
55425 ;
55426 return 0;
55427 }
55428 _ACEOF
55429 if ac_fn_cxx_try_compile "$LINENO"; then :
55430 glibcxx_cv_func_logl_use=yes
55431 else
55432 glibcxx_cv_func_logl_use=no
55433 fi
55434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55435 ac_ext=c
55436 ac_cpp='$CPP $CPPFLAGS'
55437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55440
55441
55442 fi
55443
55444 fi
55445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55446 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55447
55448 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55449 for ac_func in logl
55450 do :
55451 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55452 if test "x$ac_cv_func_logl" = x""yes; then :
55453 cat >>confdefs.h <<_ACEOF
55454 #define HAVE_LOGL 1
55455 _ACEOF
55456
55457 fi
55458 done
55459
55460 else
55461
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55463 $as_echo_n "checking for _logl declaration... " >&6; }
55464 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55465 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55466 $as_echo_n "(cached) " >&6
55467 else
55468
55469
55470 ac_ext=cpp
55471 ac_cpp='$CXXCPP $CPPFLAGS'
55472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55475
55476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55477 /* end confdefs.h. */
55478 #include <math.h>
55479 #ifdef HAVE_IEEEFP_H
55480 #include <ieeefp.h>
55481 #endif
55482
55483 int
55484 main ()
55485 {
55486 _logl(0);
55487 ;
55488 return 0;
55489 }
55490 _ACEOF
55491 if ac_fn_cxx_try_compile "$LINENO"; then :
55492 glibcxx_cv_func__logl_use=yes
55493 else
55494 glibcxx_cv_func__logl_use=no
55495 fi
55496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55497 ac_ext=c
55498 ac_cpp='$CPP $CPPFLAGS'
55499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55502
55503
55504 fi
55505
55506 fi
55507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55508 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55509
55510 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55511 for ac_func in _logl
55512 do :
55513 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55514 if test "x$ac_cv_func__logl" = x""yes; then :
55515 cat >>confdefs.h <<_ACEOF
55516 #define HAVE__LOGL 1
55517 _ACEOF
55518
55519 fi
55520 done
55521
55522 fi
55523 fi
55524
55525
55526
55527
55528
55529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55530 $as_echo_n "checking for log10l declaration... " >&6; }
55531 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55532 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55533 $as_echo_n "(cached) " >&6
55534 else
55535
55536
55537 ac_ext=cpp
55538 ac_cpp='$CXXCPP $CPPFLAGS'
55539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55542
55543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55544 /* end confdefs.h. */
55545 #include <math.h>
55546 #ifdef HAVE_IEEEFP_H
55547 #include <ieeefp.h>
55548 #endif
55549
55550 int
55551 main ()
55552 {
55553 log10l(0);
55554 ;
55555 return 0;
55556 }
55557 _ACEOF
55558 if ac_fn_cxx_try_compile "$LINENO"; then :
55559 glibcxx_cv_func_log10l_use=yes
55560 else
55561 glibcxx_cv_func_log10l_use=no
55562 fi
55563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55564 ac_ext=c
55565 ac_cpp='$CPP $CPPFLAGS'
55566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55569
55570
55571 fi
55572
55573 fi
55574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55575 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55576
55577 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55578 for ac_func in log10l
55579 do :
55580 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55581 if test "x$ac_cv_func_log10l" = x""yes; then :
55582 cat >>confdefs.h <<_ACEOF
55583 #define HAVE_LOG10L 1
55584 _ACEOF
55585
55586 fi
55587 done
55588
55589 else
55590
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55592 $as_echo_n "checking for _log10l declaration... " >&6; }
55593 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55594 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55595 $as_echo_n "(cached) " >&6
55596 else
55597
55598
55599 ac_ext=cpp
55600 ac_cpp='$CXXCPP $CPPFLAGS'
55601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55604
55605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55606 /* end confdefs.h. */
55607 #include <math.h>
55608 #ifdef HAVE_IEEEFP_H
55609 #include <ieeefp.h>
55610 #endif
55611
55612 int
55613 main ()
55614 {
55615 _log10l(0);
55616 ;
55617 return 0;
55618 }
55619 _ACEOF
55620 if ac_fn_cxx_try_compile "$LINENO"; then :
55621 glibcxx_cv_func__log10l_use=yes
55622 else
55623 glibcxx_cv_func__log10l_use=no
55624 fi
55625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55626 ac_ext=c
55627 ac_cpp='$CPP $CPPFLAGS'
55628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55631
55632
55633 fi
55634
55635 fi
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55637 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55638
55639 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55640 for ac_func in _log10l
55641 do :
55642 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55643 if test "x$ac_cv_func__log10l" = x""yes; then :
55644 cat >>confdefs.h <<_ACEOF
55645 #define HAVE__LOG10L 1
55646 _ACEOF
55647
55648 fi
55649 done
55650
55651 fi
55652 fi
55653
55654
55655
55656
55657
55658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55659 $as_echo_n "checking for modfl declaration... " >&6; }
55660 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55661 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55662 $as_echo_n "(cached) " >&6
55663 else
55664
55665
55666 ac_ext=cpp
55667 ac_cpp='$CXXCPP $CPPFLAGS'
55668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55671
55672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55673 /* end confdefs.h. */
55674 #include <math.h>
55675 int
55676 main ()
55677 {
55678 modfl(0, 0);
55679 ;
55680 return 0;
55681 }
55682 _ACEOF
55683 if ac_fn_cxx_try_compile "$LINENO"; then :
55684 glibcxx_cv_func_modfl_use=yes
55685 else
55686 glibcxx_cv_func_modfl_use=no
55687 fi
55688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55689 ac_ext=c
55690 ac_cpp='$CPP $CPPFLAGS'
55691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55694
55695
55696 fi
55697
55698 fi
55699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55700 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55701
55702 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55703 for ac_func in modfl
55704 do :
55705 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55706 if test "x$ac_cv_func_modfl" = x""yes; then :
55707 cat >>confdefs.h <<_ACEOF
55708 #define HAVE_MODFL 1
55709 _ACEOF
55710
55711 fi
55712 done
55713
55714 else
55715
55716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55717 $as_echo_n "checking for _modfl declaration... " >&6; }
55718 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55719 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55720 $as_echo_n "(cached) " >&6
55721 else
55722
55723
55724 ac_ext=cpp
55725 ac_cpp='$CXXCPP $CPPFLAGS'
55726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55729
55730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55731 /* end confdefs.h. */
55732 #include <math.h>
55733 int
55734 main ()
55735 {
55736 _modfl(0, 0);
55737 ;
55738 return 0;
55739 }
55740 _ACEOF
55741 if ac_fn_cxx_try_compile "$LINENO"; then :
55742 glibcxx_cv_func__modfl_use=yes
55743 else
55744 glibcxx_cv_func__modfl_use=no
55745 fi
55746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55747 ac_ext=c
55748 ac_cpp='$CPP $CPPFLAGS'
55749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55752
55753
55754 fi
55755
55756 fi
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55758 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55759
55760 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55761 for ac_func in _modfl
55762 do :
55763 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55764 if test "x$ac_cv_func__modfl" = x""yes; then :
55765 cat >>confdefs.h <<_ACEOF
55766 #define HAVE__MODFL 1
55767 _ACEOF
55768
55769 fi
55770 done
55771
55772 fi
55773 fi
55774
55775
55776
55777
55778
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55780 $as_echo_n "checking for powl declaration... " >&6; }
55781 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55782 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55783 $as_echo_n "(cached) " >&6
55784 else
55785
55786
55787 ac_ext=cpp
55788 ac_cpp='$CXXCPP $CPPFLAGS'
55789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55792
55793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55794 /* end confdefs.h. */
55795 #include <math.h>
55796 int
55797 main ()
55798 {
55799 powl(0, 0);
55800 ;
55801 return 0;
55802 }
55803 _ACEOF
55804 if ac_fn_cxx_try_compile "$LINENO"; then :
55805 glibcxx_cv_func_powl_use=yes
55806 else
55807 glibcxx_cv_func_powl_use=no
55808 fi
55809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55810 ac_ext=c
55811 ac_cpp='$CPP $CPPFLAGS'
55812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55815
55816
55817 fi
55818
55819 fi
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55821 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55822
55823 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55824 for ac_func in powl
55825 do :
55826 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55827 if test "x$ac_cv_func_powl" = x""yes; then :
55828 cat >>confdefs.h <<_ACEOF
55829 #define HAVE_POWL 1
55830 _ACEOF
55831
55832 fi
55833 done
55834
55835 else
55836
55837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55838 $as_echo_n "checking for _powl declaration... " >&6; }
55839 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55840 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55841 $as_echo_n "(cached) " >&6
55842 else
55843
55844
55845 ac_ext=cpp
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55850
55851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55852 /* end confdefs.h. */
55853 #include <math.h>
55854 int
55855 main ()
55856 {
55857 _powl(0, 0);
55858 ;
55859 return 0;
55860 }
55861 _ACEOF
55862 if ac_fn_cxx_try_compile "$LINENO"; then :
55863 glibcxx_cv_func__powl_use=yes
55864 else
55865 glibcxx_cv_func__powl_use=no
55866 fi
55867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55868 ac_ext=c
55869 ac_cpp='$CPP $CPPFLAGS'
55870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55873
55874
55875 fi
55876
55877 fi
55878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55879 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55880
55881 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55882 for ac_func in _powl
55883 do :
55884 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55885 if test "x$ac_cv_func__powl" = x""yes; then :
55886 cat >>confdefs.h <<_ACEOF
55887 #define HAVE__POWL 1
55888 _ACEOF
55889
55890 fi
55891 done
55892
55893 fi
55894 fi
55895
55896
55897
55898
55899
55900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55901 $as_echo_n "checking for sqrtl declaration... " >&6; }
55902 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55903 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
55904 $as_echo_n "(cached) " >&6
55905 else
55906
55907
55908 ac_ext=cpp
55909 ac_cpp='$CXXCPP $CPPFLAGS'
55910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55913
55914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55915 /* end confdefs.h. */
55916 #include <math.h>
55917 #ifdef HAVE_IEEEFP_H
55918 #include <ieeefp.h>
55919 #endif
55920
55921 int
55922 main ()
55923 {
55924 sqrtl(0);
55925 ;
55926 return 0;
55927 }
55928 _ACEOF
55929 if ac_fn_cxx_try_compile "$LINENO"; then :
55930 glibcxx_cv_func_sqrtl_use=yes
55931 else
55932 glibcxx_cv_func_sqrtl_use=no
55933 fi
55934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55935 ac_ext=c
55936 ac_cpp='$CPP $CPPFLAGS'
55937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55940
55941
55942 fi
55943
55944 fi
55945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
55946 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
55947
55948 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
55949 for ac_func in sqrtl
55950 do :
55951 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
55952 if test "x$ac_cv_func_sqrtl" = x""yes; then :
55953 cat >>confdefs.h <<_ACEOF
55954 #define HAVE_SQRTL 1
55955 _ACEOF
55956
55957 fi
55958 done
55959
55960 else
55961
55962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
55963 $as_echo_n "checking for _sqrtl declaration... " >&6; }
55964 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
55965 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
55966 $as_echo_n "(cached) " >&6
55967 else
55968
55969
55970 ac_ext=cpp
55971 ac_cpp='$CXXCPP $CPPFLAGS'
55972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55975
55976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55977 /* end confdefs.h. */
55978 #include <math.h>
55979 #ifdef HAVE_IEEEFP_H
55980 #include <ieeefp.h>
55981 #endif
55982
55983 int
55984 main ()
55985 {
55986 _sqrtl(0);
55987 ;
55988 return 0;
55989 }
55990 _ACEOF
55991 if ac_fn_cxx_try_compile "$LINENO"; then :
55992 glibcxx_cv_func__sqrtl_use=yes
55993 else
55994 glibcxx_cv_func__sqrtl_use=no
55995 fi
55996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55997 ac_ext=c
55998 ac_cpp='$CPP $CPPFLAGS'
55999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56002
56003
56004 fi
56005
56006 fi
56007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56008 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56009
56010 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56011 for ac_func in _sqrtl
56012 do :
56013 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56014 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56015 cat >>confdefs.h <<_ACEOF
56016 #define HAVE__SQRTL 1
56017 _ACEOF
56018
56019 fi
56020 done
56021
56022 fi
56023 fi
56024
56025
56026
56027
56028
56029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56030 $as_echo_n "checking for sincosl declaration... " >&6; }
56031 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56032 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56033 $as_echo_n "(cached) " >&6
56034 else
56035
56036
56037 ac_ext=cpp
56038 ac_cpp='$CXXCPP $CPPFLAGS'
56039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56042
56043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56044 /* end confdefs.h. */
56045 #include <math.h>
56046 int
56047 main ()
56048 {
56049 sincosl(0, 0, 0);
56050 ;
56051 return 0;
56052 }
56053 _ACEOF
56054 if ac_fn_cxx_try_compile "$LINENO"; then :
56055 glibcxx_cv_func_sincosl_use=yes
56056 else
56057 glibcxx_cv_func_sincosl_use=no
56058 fi
56059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56060 ac_ext=c
56061 ac_cpp='$CPP $CPPFLAGS'
56062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065
56066
56067 fi
56068
56069 fi
56070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56071 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56072
56073 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56074 for ac_func in sincosl
56075 do :
56076 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56077 if test "x$ac_cv_func_sincosl" = x""yes; then :
56078 cat >>confdefs.h <<_ACEOF
56079 #define HAVE_SINCOSL 1
56080 _ACEOF
56081
56082 fi
56083 done
56084
56085 else
56086
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56088 $as_echo_n "checking for _sincosl declaration... " >&6; }
56089 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56090 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56091 $as_echo_n "(cached) " >&6
56092 else
56093
56094
56095 ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56100
56101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h. */
56103 #include <math.h>
56104 int
56105 main ()
56106 {
56107 _sincosl(0, 0, 0);
56108 ;
56109 return 0;
56110 }
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113 glibcxx_cv_func__sincosl_use=yes
56114 else
56115 glibcxx_cv_func__sincosl_use=no
56116 fi
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118 ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56123
56124
56125 fi
56126
56127 fi
56128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56129 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56130
56131 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56132 for ac_func in _sincosl
56133 do :
56134 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56135 if test "x$ac_cv_func__sincosl" = x""yes; then :
56136 cat >>confdefs.h <<_ACEOF
56137 #define HAVE__SINCOSL 1
56138 _ACEOF
56139
56140 fi
56141 done
56142
56143 fi
56144 fi
56145
56146
56147
56148
56149
56150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56151 $as_echo_n "checking for finitel declaration... " >&6; }
56152 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56153 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56154 $as_echo_n "(cached) " >&6
56155 else
56156
56157
56158 ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56163
56164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h. */
56166 #include <math.h>
56167 #ifdef HAVE_IEEEFP_H
56168 #include <ieeefp.h>
56169 #endif
56170
56171 int
56172 main ()
56173 {
56174 finitel(0);
56175 ;
56176 return 0;
56177 }
56178 _ACEOF
56179 if ac_fn_cxx_try_compile "$LINENO"; then :
56180 glibcxx_cv_func_finitel_use=yes
56181 else
56182 glibcxx_cv_func_finitel_use=no
56183 fi
56184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56185 ac_ext=c
56186 ac_cpp='$CPP $CPPFLAGS'
56187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56190
56191
56192 fi
56193
56194 fi
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56196 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56197
56198 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56199 for ac_func in finitel
56200 do :
56201 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56202 if test "x$ac_cv_func_finitel" = x""yes; then :
56203 cat >>confdefs.h <<_ACEOF
56204 #define HAVE_FINITEL 1
56205 _ACEOF
56206
56207 fi
56208 done
56209
56210 else
56211
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56213 $as_echo_n "checking for _finitel declaration... " >&6; }
56214 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56215 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56216 $as_echo_n "(cached) " >&6
56217 else
56218
56219
56220 ac_ext=cpp
56221 ac_cpp='$CXXCPP $CPPFLAGS'
56222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56225
56226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56227 /* end confdefs.h. */
56228 #include <math.h>
56229 #ifdef HAVE_IEEEFP_H
56230 #include <ieeefp.h>
56231 #endif
56232
56233 int
56234 main ()
56235 {
56236 _finitel(0);
56237 ;
56238 return 0;
56239 }
56240 _ACEOF
56241 if ac_fn_cxx_try_compile "$LINENO"; then :
56242 glibcxx_cv_func__finitel_use=yes
56243 else
56244 glibcxx_cv_func__finitel_use=no
56245 fi
56246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56247 ac_ext=c
56248 ac_cpp='$CPP $CPPFLAGS'
56249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56252
56253
56254 fi
56255
56256 fi
56257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56258 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56259
56260 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56261 for ac_func in _finitel
56262 do :
56263 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56264 if test "x$ac_cv_func__finitel" = x""yes; then :
56265 cat >>confdefs.h <<_ACEOF
56266 #define HAVE__FINITEL 1
56267 _ACEOF
56268
56269 fi
56270 done
56271
56272 fi
56273 fi
56274
56275
56276
56277
56278 LIBS="$ac_save_LIBS"
56279 CXXFLAGS="$ac_save_CXXFLAGS"
56280
56281
56282 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56283 ac_save_CXXFLAGS="$CXXFLAGS"
56284 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56285
56286
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56288 $as_echo_n "checking for strtold declaration... " >&6; }
56289 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56290 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56291 $as_echo_n "(cached) " >&6
56292 else
56293
56294
56295 ac_ext=cpp
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56300
56301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56302 /* end confdefs.h. */
56303 #include <stdlib.h>
56304 int
56305 main ()
56306 {
56307 strtold(0, 0);
56308 ;
56309 return 0;
56310 }
56311 _ACEOF
56312 if ac_fn_cxx_try_compile "$LINENO"; then :
56313 glibcxx_cv_func_strtold_use=yes
56314 else
56315 glibcxx_cv_func_strtold_use=no
56316 fi
56317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56318 ac_ext=c
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56323
56324
56325 fi
56326
56327 fi
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56329 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56330 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56331 for ac_func in strtold
56332 do :
56333 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56334 if test "x$ac_cv_func_strtold" = x""yes; then :
56335 cat >>confdefs.h <<_ACEOF
56336 #define HAVE_STRTOLD 1
56337 _ACEOF
56338
56339 fi
56340 done
56341
56342 fi
56343
56344
56345
56346
56347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56348 $as_echo_n "checking for strtof declaration... " >&6; }
56349 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56350 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56351 $as_echo_n "(cached) " >&6
56352 else
56353
56354
56355 ac_ext=cpp
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56360
56361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56362 /* end confdefs.h. */
56363 #include <stdlib.h>
56364 int
56365 main ()
56366 {
56367 strtof(0, 0);
56368 ;
56369 return 0;
56370 }
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373 glibcxx_cv_func_strtof_use=yes
56374 else
56375 glibcxx_cv_func_strtof_use=no
56376 fi
56377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56378 ac_ext=c
56379 ac_cpp='$CPP $CPPFLAGS'
56380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56383
56384
56385 fi
56386
56387 fi
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56389 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56390 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56391 for ac_func in strtof
56392 do :
56393 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56394 if test "x$ac_cv_func_strtof" = x""yes; then :
56395 cat >>confdefs.h <<_ACEOF
56396 #define HAVE_STRTOF 1
56397 _ACEOF
56398
56399 fi
56400 done
56401
56402 fi
56403
56404
56405
56406
56407 CXXFLAGS="$ac_save_CXXFLAGS"
56408
56409 ;;
56410 *-netbsd*)
56411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56412
56413
56414 # If we're not using GNU ld, then there's no point in even trying these
56415 # tests. Check for that first. We should have already tested for gld
56416 # by now (in libtool), but require it now just to be safe...
56417 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56418 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56419
56420
56421
56422 # The name set by libtool depends on the version of libtool. Shame on us
56423 # for depending on an impl detail, but c'est la vie. Older versions used
56424 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56425 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56426 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56427 # set (hence we're using an older libtool), then set it.
56428 if test x${with_gnu_ld+set} != xset; then
56429 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56430 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56431 with_gnu_ld=no
56432 else
56433 with_gnu_ld=$ac_cv_prog_gnu_ld
56434 fi
56435 fi
56436
56437 # Start by getting the version number. I think the libtool test already
56438 # does some of this, but throws away the result.
56439 glibcxx_ld_is_gold=no
56440 if test x"$with_gnu_ld" = x"yes"; then
56441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56442 $as_echo_n "checking for ld version... " >&6; }
56443
56444 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56445 glibcxx_ld_is_gold=yes
56446 fi
56447 ldver=`$LD --version 2>/dev/null |
56448 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'`
56449
56450 glibcxx_gnu_ld_version=`echo $ldver | \
56451 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56453 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56454 fi
56455
56456 # Set --gc-sections.
56457 glibcxx_have_gc_sections=no
56458 if test "$glibcxx_ld_is_gold" = "yes"; then
56459 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56460 glibcxx_have_gc_sections=yes
56461 fi
56462 else
56463 glibcxx_gcsections_min_ld=21602
56464 if test x"$with_gnu_ld" = x"yes" &&
56465 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56466 glibcxx_have_gc_sections=yes
56467 fi
56468 fi
56469 if test "$glibcxx_have_gc_sections" = "yes"; then
56470 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56471 # NB: This flag only works reliably after 2.16.1. Configure tests
56472 # for this are difficult, so hard wire a value that should work.
56473
56474 ac_test_CFLAGS="${CFLAGS+set}"
56475 ac_save_CFLAGS="$CFLAGS"
56476 CFLAGS='-Wl,--gc-sections'
56477
56478 # Check for -Wl,--gc-sections
56479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56480 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56481 if test x$gcc_no_link = xyes; then
56482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56483 fi
56484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56485 /* end confdefs.h. */
56486 int one(void) { return 1; }
56487 int two(void) { return 2; }
56488
56489 int
56490 main ()
56491 {
56492 two();
56493 ;
56494 return 0;
56495 }
56496 _ACEOF
56497 if ac_fn_c_try_link "$LINENO"; then :
56498 ac_gcsections=yes
56499 else
56500 ac_gcsections=no
56501 fi
56502 rm -f core conftest.err conftest.$ac_objext \
56503 conftest$ac_exeext conftest.$ac_ext
56504 if test "$ac_gcsections" = "yes"; then
56505 rm -f conftest.c
56506 touch conftest.c
56507 if $CC -c conftest.c; then
56508 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56509 grep "Warning: gc-sections option ignored" > /dev/null; then
56510 ac_gcsections=no
56511 fi
56512 fi
56513 rm -f conftest.c conftest.o conftest
56514 fi
56515 if test "$ac_gcsections" = "yes"; then
56516 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56517 fi
56518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56519 $as_echo "$ac_gcsections" >&6; }
56520
56521 if test "$ac_test_CFLAGS" = set; then
56522 CFLAGS="$ac_save_CFLAGS"
56523 else
56524 # this is the suspicious part
56525 CFLAGS=''
56526 fi
56527 fi
56528
56529 # Set -z,relro.
56530 # Note this is only for shared objects.
56531 ac_ld_relro=no
56532 if test x"$with_gnu_ld" = x"yes"; then
56533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56534 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56535 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56536 if test -n "$cxx_z_relo"; then
56537 OPT_LDFLAGS="-Wl,-z,relro"
56538 ac_ld_relro=yes
56539 fi
56540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56541 $as_echo "$ac_ld_relro" >&6; }
56542 fi
56543
56544 # Set linker optimization flags.
56545 if test x"$with_gnu_ld" = x"yes"; then
56546 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56547 fi
56548
56549
56550
56551
56552 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56553
56554 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56555
56556 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56557
56558 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56559
56560 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56561
56562 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56563
56564 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56565
56566 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56567
56568 if test x"long_double_math_on_this_cpu" = x"yes"; then
56569 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56570
56571 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56572
56573 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56574
56575 fi
56576 ;;
56577 *-netware)
56578 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56579
56580
56581 # If we're not using GNU ld, then there's no point in even trying these
56582 # tests. Check for that first. We should have already tested for gld
56583 # by now (in libtool), but require it now just to be safe...
56584 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56585 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56586
56587
56588
56589 # The name set by libtool depends on the version of libtool. Shame on us
56590 # for depending on an impl detail, but c'est la vie. Older versions used
56591 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56592 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56593 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56594 # set (hence we're using an older libtool), then set it.
56595 if test x${with_gnu_ld+set} != xset; then
56596 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56597 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56598 with_gnu_ld=no
56599 else
56600 with_gnu_ld=$ac_cv_prog_gnu_ld
56601 fi
56602 fi
56603
56604 # Start by getting the version number. I think the libtool test already
56605 # does some of this, but throws away the result.
56606 glibcxx_ld_is_gold=no
56607 if test x"$with_gnu_ld" = x"yes"; then
56608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56609 $as_echo_n "checking for ld version... " >&6; }
56610
56611 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56612 glibcxx_ld_is_gold=yes
56613 fi
56614 ldver=`$LD --version 2>/dev/null |
56615 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'`
56616
56617 glibcxx_gnu_ld_version=`echo $ldver | \
56618 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56620 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56621 fi
56622
56623 # Set --gc-sections.
56624 glibcxx_have_gc_sections=no
56625 if test "$glibcxx_ld_is_gold" = "yes"; then
56626 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56627 glibcxx_have_gc_sections=yes
56628 fi
56629 else
56630 glibcxx_gcsections_min_ld=21602
56631 if test x"$with_gnu_ld" = x"yes" &&
56632 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56633 glibcxx_have_gc_sections=yes
56634 fi
56635 fi
56636 if test "$glibcxx_have_gc_sections" = "yes"; then
56637 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56638 # NB: This flag only works reliably after 2.16.1. Configure tests
56639 # for this are difficult, so hard wire a value that should work.
56640
56641 ac_test_CFLAGS="${CFLAGS+set}"
56642 ac_save_CFLAGS="$CFLAGS"
56643 CFLAGS='-Wl,--gc-sections'
56644
56645 # Check for -Wl,--gc-sections
56646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56647 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56648 if test x$gcc_no_link = xyes; then
56649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56650 fi
56651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56652 /* end confdefs.h. */
56653 int one(void) { return 1; }
56654 int two(void) { return 2; }
56655
56656 int
56657 main ()
56658 {
56659 two();
56660 ;
56661 return 0;
56662 }
56663 _ACEOF
56664 if ac_fn_c_try_link "$LINENO"; then :
56665 ac_gcsections=yes
56666 else
56667 ac_gcsections=no
56668 fi
56669 rm -f core conftest.err conftest.$ac_objext \
56670 conftest$ac_exeext conftest.$ac_ext
56671 if test "$ac_gcsections" = "yes"; then
56672 rm -f conftest.c
56673 touch conftest.c
56674 if $CC -c conftest.c; then
56675 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56676 grep "Warning: gc-sections option ignored" > /dev/null; then
56677 ac_gcsections=no
56678 fi
56679 fi
56680 rm -f conftest.c conftest.o conftest
56681 fi
56682 if test "$ac_gcsections" = "yes"; then
56683 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56684 fi
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56686 $as_echo "$ac_gcsections" >&6; }
56687
56688 if test "$ac_test_CFLAGS" = set; then
56689 CFLAGS="$ac_save_CFLAGS"
56690 else
56691 # this is the suspicious part
56692 CFLAGS=''
56693 fi
56694 fi
56695
56696 # Set -z,relro.
56697 # Note this is only for shared objects.
56698 ac_ld_relro=no
56699 if test x"$with_gnu_ld" = x"yes"; then
56700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56701 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56702 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56703 if test -n "$cxx_z_relo"; then
56704 OPT_LDFLAGS="-Wl,-z,relro"
56705 ac_ld_relro=yes
56706 fi
56707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56708 $as_echo "$ac_ld_relro" >&6; }
56709 fi
56710
56711 # Set linker optimization flags.
56712 if test x"$with_gnu_ld" = x"yes"; then
56713 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56714 fi
56715
56716
56717
56718
56719 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56720
56721 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56722
56723 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56724
56725 ;;
56726 *-qnx6.1* | *-qnx6.2*)
56727 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56728
56729
56730 # If we're not using GNU ld, then there's no point in even trying these
56731 # tests. Check for that first. We should have already tested for gld
56732 # by now (in libtool), but require it now just to be safe...
56733 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56734 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56735
56736
56737
56738 # The name set by libtool depends on the version of libtool. Shame on us
56739 # for depending on an impl detail, but c'est la vie. Older versions used
56740 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56741 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56742 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56743 # set (hence we're using an older libtool), then set it.
56744 if test x${with_gnu_ld+set} != xset; then
56745 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56746 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56747 with_gnu_ld=no
56748 else
56749 with_gnu_ld=$ac_cv_prog_gnu_ld
56750 fi
56751 fi
56752
56753 # Start by getting the version number. I think the libtool test already
56754 # does some of this, but throws away the result.
56755 glibcxx_ld_is_gold=no
56756 if test x"$with_gnu_ld" = x"yes"; then
56757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56758 $as_echo_n "checking for ld version... " >&6; }
56759
56760 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56761 glibcxx_ld_is_gold=yes
56762 fi
56763 ldver=`$LD --version 2>/dev/null |
56764 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'`
56765
56766 glibcxx_gnu_ld_version=`echo $ldver | \
56767 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56769 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56770 fi
56771
56772 # Set --gc-sections.
56773 glibcxx_have_gc_sections=no
56774 if test "$glibcxx_ld_is_gold" = "yes"; then
56775 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56776 glibcxx_have_gc_sections=yes
56777 fi
56778 else
56779 glibcxx_gcsections_min_ld=21602
56780 if test x"$with_gnu_ld" = x"yes" &&
56781 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56782 glibcxx_have_gc_sections=yes
56783 fi
56784 fi
56785 if test "$glibcxx_have_gc_sections" = "yes"; then
56786 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56787 # NB: This flag only works reliably after 2.16.1. Configure tests
56788 # for this are difficult, so hard wire a value that should work.
56789
56790 ac_test_CFLAGS="${CFLAGS+set}"
56791 ac_save_CFLAGS="$CFLAGS"
56792 CFLAGS='-Wl,--gc-sections'
56793
56794 # Check for -Wl,--gc-sections
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56796 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56797 if test x$gcc_no_link = xyes; then
56798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56799 fi
56800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56801 /* end confdefs.h. */
56802 int one(void) { return 1; }
56803 int two(void) { return 2; }
56804
56805 int
56806 main ()
56807 {
56808 two();
56809 ;
56810 return 0;
56811 }
56812 _ACEOF
56813 if ac_fn_c_try_link "$LINENO"; then :
56814 ac_gcsections=yes
56815 else
56816 ac_gcsections=no
56817 fi
56818 rm -f core conftest.err conftest.$ac_objext \
56819 conftest$ac_exeext conftest.$ac_ext
56820 if test "$ac_gcsections" = "yes"; then
56821 rm -f conftest.c
56822 touch conftest.c
56823 if $CC -c conftest.c; then
56824 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56825 grep "Warning: gc-sections option ignored" > /dev/null; then
56826 ac_gcsections=no
56827 fi
56828 fi
56829 rm -f conftest.c conftest.o conftest
56830 fi
56831 if test "$ac_gcsections" = "yes"; then
56832 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56833 fi
56834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56835 $as_echo "$ac_gcsections" >&6; }
56836
56837 if test "$ac_test_CFLAGS" = set; then
56838 CFLAGS="$ac_save_CFLAGS"
56839 else
56840 # this is the suspicious part
56841 CFLAGS=''
56842 fi
56843 fi
56844
56845 # Set -z,relro.
56846 # Note this is only for shared objects.
56847 ac_ld_relro=no
56848 if test x"$with_gnu_ld" = x"yes"; then
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56850 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56851 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56852 if test -n "$cxx_z_relo"; then
56853 OPT_LDFLAGS="-Wl,-z,relro"
56854 ac_ld_relro=yes
56855 fi
56856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56857 $as_echo "$ac_ld_relro" >&6; }
56858 fi
56859
56860 # Set linker optimization flags.
56861 if test x"$with_gnu_ld" = x"yes"; then
56862 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56863 fi
56864
56865
56866
56867
56868 $as_echo "#define HAVE_COSF 1" >>confdefs.h
56869
56870 $as_echo "#define HAVE_COSL 1" >>confdefs.h
56871
56872 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
56873
56874 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
56875
56876 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
56877
56878 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
56879
56880 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
56881
56882 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
56883
56884 $as_echo "#define HAVE_SINF 1" >>confdefs.h
56885
56886 $as_echo "#define HAVE_SINL 1" >>confdefs.h
56887
56888 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
56889
56890 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
56891
56892 ;;
56893 *-solaris*)
56894 case "$target" in
56895 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
56896
56897 # If we're not using GNU ld, then there's no point in even trying these
56898 # tests. Check for that first. We should have already tested for gld
56899 # by now (in libtool), but require it now just to be safe...
56900 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56901 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56902
56903
56904
56905 # The name set by libtool depends on the version of libtool. Shame on us
56906 # for depending on an impl detail, but c'est la vie. Older versions used
56907 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56908 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56909 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56910 # set (hence we're using an older libtool), then set it.
56911 if test x${with_gnu_ld+set} != xset; then
56912 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56913 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56914 with_gnu_ld=no
56915 else
56916 with_gnu_ld=$ac_cv_prog_gnu_ld
56917 fi
56918 fi
56919
56920 # Start by getting the version number. I think the libtool test already
56921 # does some of this, but throws away the result.
56922 glibcxx_ld_is_gold=no
56923 if test x"$with_gnu_ld" = x"yes"; then
56924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56925 $as_echo_n "checking for ld version... " >&6; }
56926
56927 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56928 glibcxx_ld_is_gold=yes
56929 fi
56930 ldver=`$LD --version 2>/dev/null |
56931 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'`
56932
56933 glibcxx_gnu_ld_version=`echo $ldver | \
56934 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56936 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56937 fi
56938
56939 # Set --gc-sections.
56940 glibcxx_have_gc_sections=no
56941 if test "$glibcxx_ld_is_gold" = "yes"; then
56942 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56943 glibcxx_have_gc_sections=yes
56944 fi
56945 else
56946 glibcxx_gcsections_min_ld=21602
56947 if test x"$with_gnu_ld" = x"yes" &&
56948 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56949 glibcxx_have_gc_sections=yes
56950 fi
56951 fi
56952 if test "$glibcxx_have_gc_sections" = "yes"; then
56953 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56954 # NB: This flag only works reliably after 2.16.1. Configure tests
56955 # for this are difficult, so hard wire a value that should work.
56956
56957 ac_test_CFLAGS="${CFLAGS+set}"
56958 ac_save_CFLAGS="$CFLAGS"
56959 CFLAGS='-Wl,--gc-sections'
56960
56961 # Check for -Wl,--gc-sections
56962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56963 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56964 if test x$gcc_no_link = xyes; then
56965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56966 fi
56967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h. */
56969 int one(void) { return 1; }
56970 int two(void) { return 2; }
56971
56972 int
56973 main ()
56974 {
56975 two();
56976 ;
56977 return 0;
56978 }
56979 _ACEOF
56980 if ac_fn_c_try_link "$LINENO"; then :
56981 ac_gcsections=yes
56982 else
56983 ac_gcsections=no
56984 fi
56985 rm -f core conftest.err conftest.$ac_objext \
56986 conftest$ac_exeext conftest.$ac_ext
56987 if test "$ac_gcsections" = "yes"; then
56988 rm -f conftest.c
56989 touch conftest.c
56990 if $CC -c conftest.c; then
56991 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56992 grep "Warning: gc-sections option ignored" > /dev/null; then
56993 ac_gcsections=no
56994 fi
56995 fi
56996 rm -f conftest.c conftest.o conftest
56997 fi
56998 if test "$ac_gcsections" = "yes"; then
56999 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57000 fi
57001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57002 $as_echo "$ac_gcsections" >&6; }
57003
57004 if test "$ac_test_CFLAGS" = set; then
57005 CFLAGS="$ac_save_CFLAGS"
57006 else
57007 # this is the suspicious part
57008 CFLAGS=''
57009 fi
57010 fi
57011
57012 # Set -z,relro.
57013 # Note this is only for shared objects.
57014 ac_ld_relro=no
57015 if test x"$with_gnu_ld" = x"yes"; then
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57017 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57018 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57019 if test -n "$cxx_z_relo"; then
57020 OPT_LDFLAGS="-Wl,-z,relro"
57021 ac_ld_relro=yes
57022 fi
57023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57024 $as_echo "$ac_ld_relro" >&6; }
57025 fi
57026
57027 # Set linker optimization flags.
57028 if test x"$with_gnu_ld" = x"yes"; then
57029 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57030 fi
57031
57032
57033
57034
57035 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57036
57037 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57038
57039 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57040
57041 # All of the dependencies for wide character support are here, so
57042 # turn it on.
57043 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57044
57045 ;;
57046 esac
57047 case "$target" in
57048 *-*-solaris2.10)
57049 # These two C99 functions are present only in Solaris >= 10
57050 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57051
57052 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57053
57054 ;;
57055 esac
57056 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57057
57058 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57059
57060 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57061
57062 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57063
57064 ;;
57065 *-tpf)
57066 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57067
57068
57069 # If we're not using GNU ld, then there's no point in even trying these
57070 # tests. Check for that first. We should have already tested for gld
57071 # by now (in libtool), but require it now just to be safe...
57072 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57073 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57074
57075
57076
57077 # The name set by libtool depends on the version of libtool. Shame on us
57078 # for depending on an impl detail, but c'est la vie. Older versions used
57079 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57080 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57081 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57082 # set (hence we're using an older libtool), then set it.
57083 if test x${with_gnu_ld+set} != xset; then
57084 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57085 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57086 with_gnu_ld=no
57087 else
57088 with_gnu_ld=$ac_cv_prog_gnu_ld
57089 fi
57090 fi
57091
57092 # Start by getting the version number. I think the libtool test already
57093 # does some of this, but throws away the result.
57094 glibcxx_ld_is_gold=no
57095 if test x"$with_gnu_ld" = x"yes"; then
57096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57097 $as_echo_n "checking for ld version... " >&6; }
57098
57099 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57100 glibcxx_ld_is_gold=yes
57101 fi
57102 ldver=`$LD --version 2>/dev/null |
57103 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'`
57104
57105 glibcxx_gnu_ld_version=`echo $ldver | \
57106 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57108 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57109 fi
57110
57111 # Set --gc-sections.
57112 glibcxx_have_gc_sections=no
57113 if test "$glibcxx_ld_is_gold" = "yes"; then
57114 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57115 glibcxx_have_gc_sections=yes
57116 fi
57117 else
57118 glibcxx_gcsections_min_ld=21602
57119 if test x"$with_gnu_ld" = x"yes" &&
57120 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57121 glibcxx_have_gc_sections=yes
57122 fi
57123 fi
57124 if test "$glibcxx_have_gc_sections" = "yes"; then
57125 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57126 # NB: This flag only works reliably after 2.16.1. Configure tests
57127 # for this are difficult, so hard wire a value that should work.
57128
57129 ac_test_CFLAGS="${CFLAGS+set}"
57130 ac_save_CFLAGS="$CFLAGS"
57131 CFLAGS='-Wl,--gc-sections'
57132
57133 # Check for -Wl,--gc-sections
57134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57135 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57136 if test x$gcc_no_link = xyes; then
57137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57138 fi
57139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57140 /* end confdefs.h. */
57141 int one(void) { return 1; }
57142 int two(void) { return 2; }
57143
57144 int
57145 main ()
57146 {
57147 two();
57148 ;
57149 return 0;
57150 }
57151 _ACEOF
57152 if ac_fn_c_try_link "$LINENO"; then :
57153 ac_gcsections=yes
57154 else
57155 ac_gcsections=no
57156 fi
57157 rm -f core conftest.err conftest.$ac_objext \
57158 conftest$ac_exeext conftest.$ac_ext
57159 if test "$ac_gcsections" = "yes"; then
57160 rm -f conftest.c
57161 touch conftest.c
57162 if $CC -c conftest.c; then
57163 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57164 grep "Warning: gc-sections option ignored" > /dev/null; then
57165 ac_gcsections=no
57166 fi
57167 fi
57168 rm -f conftest.c conftest.o conftest
57169 fi
57170 if test "$ac_gcsections" = "yes"; then
57171 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57172 fi
57173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57174 $as_echo "$ac_gcsections" >&6; }
57175
57176 if test "$ac_test_CFLAGS" = set; then
57177 CFLAGS="$ac_save_CFLAGS"
57178 else
57179 # this is the suspicious part
57180 CFLAGS=''
57181 fi
57182 fi
57183
57184 # Set -z,relro.
57185 # Note this is only for shared objects.
57186 ac_ld_relro=no
57187 if test x"$with_gnu_ld" = x"yes"; then
57188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57189 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57190 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57191 if test -n "$cxx_z_relo"; then
57192 OPT_LDFLAGS="-Wl,-z,relro"
57193 ac_ld_relro=yes
57194 fi
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57196 $as_echo "$ac_ld_relro" >&6; }
57197 fi
57198
57199 # Set linker optimization flags.
57200 if test x"$with_gnu_ld" = x"yes"; then
57201 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57202 fi
57203
57204
57205
57206
57207 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57208
57209 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57210
57211 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57212
57213 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57214
57215 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57216
57217 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57218
57219 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57220
57221 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57222
57223 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57224
57225 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57226
57227 if test x"long_double_math_on_this_cpu" = x"yes"; then
57228 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57229
57230 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57231
57232 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57233
57234 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57235
57236 fi
57237 ;;
57238 *-vxworks)
57239 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57240
57241 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57242
57243 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57244
57245 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57246
57247 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57248
57249 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57250
57251 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57252
57253 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57254
57255 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57256
57257 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57258
57259 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57260
57261 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57262
57263 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57264
57265 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57266
57267 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57268
57269 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57270
57271 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57272
57273 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57274
57275 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57276
57277 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57278
57279 ;;
57280 *)
57281 as_fn_error "No support for this host/target combination." "$LINENO" 5
57282 ;;
57283 esac
57284
57285 fi
57286
57287 # At some point, we should differentiate between architectures
57288 # like x86, which have long double versions, and alpha/powerpc/etc.,
57289 # which don't. For the time being, punt.
57290 if test x"long_double_math_on_this_cpu" = x"yes"; then
57291 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57292
57293 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57294
57295 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57296
57297 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57298
57299 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57300
57301 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57302
57303 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57304
57305 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57306
57307 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57308
57309 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57310
57311 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57312
57313 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57314
57315 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57316
57317 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57318
57319 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57320
57321 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57322
57323 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57324
57325 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57326
57327 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57328
57329 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57330
57331 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57332
57333 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57334
57335 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57336
57337 fi
57338 fi
57339
57340 # Check for _Unwind_GetIPInfo.
57341
57342
57343 # Check whether --with-system-libunwind was given.
57344 if test "${with_system_libunwind+set}" = set; then :
57345 withval=$with_system_libunwind;
57346 fi
57347
57348 # If system-libunwind was not specifically set, pick a default setting.
57349 if test x$with_system_libunwind = x; then
57350 case ${target} in
57351 ia64-*-hpux*) with_system_libunwind=yes ;;
57352 *) with_system_libunwind=no ;;
57353 esac
57354 fi
57355 # Based on system-libunwind and target, do we have ipinfo?
57356 if test x$with_system_libunwind = xyes; then
57357 case ${target} in
57358 ia64-*-*) have_unwind_getipinfo=no ;;
57359 *) have_unwind_getipinfo=yes ;;
57360 esac
57361 else
57362 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57363
57364 case ${target} in
57365 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57366 *) have_unwind_getipinfo=yes ;;
57367 esac
57368
57369 fi
57370
57371 if test x$have_unwind_getipinfo = xyes; then
57372
57373 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57374
57375 fi
57376
57377
57378
57379 # Check whether --enable-linux-futex was given.
57380 if test "${enable_linux_futex+set}" = set; then :
57381 enableval=$enable_linux_futex;
57382 case "$enableval" in
57383 yes|no|default) ;;
57384 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57385 esac
57386
57387 else
57388 enable_linux_futex=default
57389 fi
57390
57391
57392 case "$target" in
57393 *-linux*)
57394 case "$enable_linux_futex" in
57395 default)
57396 # If headers don't have gettid/futex syscalls definition, then
57397 # default to no, otherwise there will be compile time failures.
57398 # Otherwise, default to yes. If we don't detect we are
57399 # compiled/linked against NPTL and not cross-compiling, check
57400 # if programs are run by default against NPTL and if not, issue
57401 # a warning.
57402 enable_linux_futex=no
57403 if test x$gcc_no_link = xyes; then
57404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57405 fi
57406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57407 /* end confdefs.h. */
57408 #include <sys/syscall.h>
57409 int lk;
57410 int
57411 main ()
57412 {
57413 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57414 ;
57415 return 0;
57416 }
57417 _ACEOF
57418 if ac_fn_c_try_link "$LINENO"; then :
57419 save_LIBS="$LIBS"
57420 LIBS="-lpthread $LIBS"
57421 if test x$gcc_no_link = xyes; then
57422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57423 fi
57424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57425 /* end confdefs.h. */
57426 #ifndef _GNU_SOURCE
57427 #define _GNU_SOURCE 1
57428 #endif
57429 #include <pthread.h>
57430 pthread_t th; void *status;
57431 int
57432 main ()
57433 {
57434 pthread_tryjoin_np (th, &status);
57435 ;
57436 return 0;
57437 }
57438 _ACEOF
57439 if ac_fn_c_try_link "$LINENO"; then :
57440 enable_linux_futex=yes
57441 else
57442 if test x$cross_compiling = xno; then
57443 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57444 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57446 If so, please configure with --disable-linux-futex" >&5
57447 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57448 If so, please configure with --disable-linux-futex" >&2;}
57449 fi
57450 fi
57451 enable_linux_futex=yes
57452 fi
57453 rm -f core conftest.err conftest.$ac_objext \
57454 conftest$ac_exeext conftest.$ac_ext
57455 LIBS="$save_LIBS"
57456 fi
57457 rm -f core conftest.err conftest.$ac_objext \
57458 conftest$ac_exeext conftest.$ac_ext
57459 ;;
57460 yes)
57461 if test x$gcc_no_link = xyes; then
57462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57463 fi
57464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57465 /* end confdefs.h. */
57466 #include <sys/syscall.h>
57467 int lk;
57468 int
57469 main ()
57470 {
57471 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57472 ;
57473 return 0;
57474 }
57475 _ACEOF
57476 if ac_fn_c_try_link "$LINENO"; then :
57477
57478 else
57479 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57480 fi
57481 rm -f core conftest.err conftest.$ac_objext \
57482 conftest$ac_exeext conftest.$ac_ext
57483 ;;
57484 esac
57485 ;;
57486 *)
57487 enable_linux_futex=no
57488 ;;
57489 esac
57490 if test x$enable_linux_futex = xyes; then
57491
57492 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57493
57494 fi
57495
57496
57497
57498
57499 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57500
57501 acx_cv_header_stdint=stddef.h
57502 acx_cv_header_stdint_kind="(already complete)"
57503 for i in stdint.h $inttype_headers; do
57504 unset ac_cv_type_uintptr_t
57505 unset ac_cv_type_uintmax_t
57506 unset ac_cv_type_int_least32_t
57507 unset ac_cv_type_int_fast32_t
57508 unset ac_cv_type_uint64_t
57509 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57510 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57511 #include <$i>
57512 "
57513 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57514 acx_cv_header_stdint=$i
57515 else
57516 continue
57517 fi
57518
57519 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57520 #include <$i>
57521 "
57522 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57523
57524 else
57525 acx_cv_header_stdint_kind="(mostly complete)"
57526 fi
57527
57528 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57529 #include <$i>
57530 "
57531 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57532
57533 else
57534 acx_cv_header_stdint_kind="(mostly complete)"
57535 fi
57536
57537 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57538 #include <$i>
57539 "
57540 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57541
57542 else
57543 acx_cv_header_stdint_kind="(mostly complete)"
57544 fi
57545
57546 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57547 #include <$i>
57548 "
57549 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57550
57551 else
57552 acx_cv_header_stdint_kind="(lacks uint64_t)"
57553 fi
57554
57555 break
57556 done
57557 if test "$acx_cv_header_stdint" = stddef.h; then
57558 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57559 for i in stdint.h $inttype_headers; do
57560 unset ac_cv_type_uintptr_t
57561 unset ac_cv_type_uint32_t
57562 unset ac_cv_type_uint64_t
57563 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57564 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57565 #include <$i>
57566 "
57567 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57568 acx_cv_header_stdint=$i
57569 else
57570 continue
57571 fi
57572
57573 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57574 #include <$i>
57575 "
57576 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57577
57578 fi
57579
57580 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57581 #include <$i>
57582 "
57583 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57584
57585 fi
57586
57587 break
57588 done
57589 fi
57590 if test "$acx_cv_header_stdint" = stddef.h; then
57591 acx_cv_header_stdint_kind="(u_intXX_t style)"
57592 for i in sys/types.h $inttype_headers; do
57593 unset ac_cv_type_u_int32_t
57594 unset ac_cv_type_u_int64_t
57595 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57596 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57597 #include <$i>
57598 "
57599 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57600 acx_cv_header_stdint=$i
57601 else
57602 continue
57603 fi
57604
57605 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57606 #include <$i>
57607 "
57608 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57609
57610 fi
57611
57612 break
57613 done
57614 fi
57615 if test "$acx_cv_header_stdint" = stddef.h; then
57616 acx_cv_header_stdint_kind="(using manual detection)"
57617 fi
57618
57619 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57620 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57621 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57622 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57623 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57624
57625 # ----------------- Summarize what we found so far
57626
57627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57628 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57629
57630 case `$as_basename -- include/gstdint.h ||
57631 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57632 Xinclude/gstdint.h : 'X\(//\)$' \| \
57633 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57634 $as_echo X/include/gstdint.h |
57635 sed '/^.*\/\([^/][^/]*\)\/*$/{
57636 s//\1/
57637 q
57638 }
57639 /^X\/\(\/\/\)$/{
57640 s//\1/
57641 q
57642 }
57643 /^X\/\(\/\).*/{
57644 s//\1/
57645 q
57646 }
57647 s/.*/./; q'` in
57648 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57649 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57650 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57651 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57652 *) ;;
57653 esac
57654
57655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57656 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57657
57658 # ----------------- done included file, check C basic types --------
57659
57660 # Lacking an uintptr_t? Test size of void *
57661 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57662 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57665 # This bug is HP SR number 8606223364.
57666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57667 $as_echo_n "checking size of void *... " >&6; }
57668 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57669 $as_echo_n "(cached) " >&6
57670 else
57671 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57672
57673 else
57674 if test "$ac_cv_type_void_p" = yes; then
57675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57677 { as_fn_set_status 77
57678 as_fn_error "cannot compute sizeof (void *)
57679 See \`config.log' for more details." "$LINENO" 5; }; }
57680 else
57681 ac_cv_sizeof_void_p=0
57682 fi
57683 fi
57684
57685 fi
57686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57687 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57688
57689
57690
57691 cat >>confdefs.h <<_ACEOF
57692 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57693 _ACEOF
57694
57695 ;;
57696 esac
57697
57698 # Lacking an uint64_t? Test size of long
57699 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57700 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57702 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57703 # This bug is HP SR number 8606223364.
57704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57705 $as_echo_n "checking size of long... " >&6; }
57706 if test "${ac_cv_sizeof_long+set}" = set; then :
57707 $as_echo_n "(cached) " >&6
57708 else
57709 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57710
57711 else
57712 if test "$ac_cv_type_long" = yes; then
57713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57715 { as_fn_set_status 77
57716 as_fn_error "cannot compute sizeof (long)
57717 See \`config.log' for more details." "$LINENO" 5; }; }
57718 else
57719 ac_cv_sizeof_long=0
57720 fi
57721 fi
57722
57723 fi
57724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57725 $as_echo "$ac_cv_sizeof_long" >&6; }
57726
57727
57728
57729 cat >>confdefs.h <<_ACEOF
57730 #define SIZEOF_LONG $ac_cv_sizeof_long
57731 _ACEOF
57732
57733 ;;
57734 esac
57735
57736 if test $acx_cv_header_stdint = stddef.h; then
57737 # Lacking a good header? Test size of everything and deduce all types.
57738 # The cast to long int works around a bug in the HP C Compiler
57739 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57740 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57741 # This bug is HP SR number 8606223364.
57742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57743 $as_echo_n "checking size of int... " >&6; }
57744 if test "${ac_cv_sizeof_int+set}" = set; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57747 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57748
57749 else
57750 if test "$ac_cv_type_int" = yes; then
57751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57753 { as_fn_set_status 77
57754 as_fn_error "cannot compute sizeof (int)
57755 See \`config.log' for more details." "$LINENO" 5; }; }
57756 else
57757 ac_cv_sizeof_int=0
57758 fi
57759 fi
57760
57761 fi
57762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57763 $as_echo "$ac_cv_sizeof_int" >&6; }
57764
57765
57766
57767 cat >>confdefs.h <<_ACEOF
57768 #define SIZEOF_INT $ac_cv_sizeof_int
57769 _ACEOF
57770
57771
57772 # The cast to long int works around a bug in the HP C Compiler
57773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57775 # This bug is HP SR number 8606223364.
57776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57777 $as_echo_n "checking size of short... " >&6; }
57778 if test "${ac_cv_sizeof_short+set}" = set; then :
57779 $as_echo_n "(cached) " >&6
57780 else
57781 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57782
57783 else
57784 if test "$ac_cv_type_short" = yes; then
57785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57787 { as_fn_set_status 77
57788 as_fn_error "cannot compute sizeof (short)
57789 See \`config.log' for more details." "$LINENO" 5; }; }
57790 else
57791 ac_cv_sizeof_short=0
57792 fi
57793 fi
57794
57795 fi
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57797 $as_echo "$ac_cv_sizeof_short" >&6; }
57798
57799
57800
57801 cat >>confdefs.h <<_ACEOF
57802 #define SIZEOF_SHORT $ac_cv_sizeof_short
57803 _ACEOF
57804
57805
57806 # The cast to long int works around a bug in the HP C Compiler
57807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57808 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57809 # This bug is HP SR number 8606223364.
57810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57811 $as_echo_n "checking size of char... " >&6; }
57812 if test "${ac_cv_sizeof_char+set}" = set; then :
57813 $as_echo_n "(cached) " >&6
57814 else
57815 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
57816
57817 else
57818 if test "$ac_cv_type_char" = yes; then
57819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57821 { as_fn_set_status 77
57822 as_fn_error "cannot compute sizeof (char)
57823 See \`config.log' for more details." "$LINENO" 5; }; }
57824 else
57825 ac_cv_sizeof_char=0
57826 fi
57827 fi
57828
57829 fi
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57831 $as_echo "$ac_cv_sizeof_char" >&6; }
57832
57833
57834
57835 cat >>confdefs.h <<_ACEOF
57836 #define SIZEOF_CHAR $ac_cv_sizeof_char
57837 _ACEOF
57838
57839
57840
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57842 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
57843 case "$ac_cv_sizeof_char" in
57844 1) acx_cv_type_int8_t=char ;;
57845 *) { as_fn_set_status please report a bug
57846 as_fn_error "no 8-bit type" "$LINENO" 5; }
57847 esac
57848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
57849 $as_echo "$acx_cv_type_int8_t" >&6; }
57850
57851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
57852 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
57853 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
57854 2:*) acx_cv_type_int16_t=int ;;
57855 *:2) acx_cv_type_int16_t=short ;;
57856 *) { as_fn_set_status please report a bug
57857 as_fn_error "no 16-bit type" "$LINENO" 5; }
57858 esac
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
57860 $as_echo "$acx_cv_type_int16_t" >&6; }
57861
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
57863 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
57864 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
57865 4:*) acx_cv_type_int32_t=int ;;
57866 *:4) acx_cv_type_int32_t=long ;;
57867 *) { as_fn_set_status please report a bug
57868 as_fn_error "no 32-bit type" "$LINENO" 5; }
57869 esac
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
57871 $as_echo "$acx_cv_type_int32_t" >&6; }
57872 fi
57873
57874 # These tests are here to make the output prettier
57875
57876 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
57877 case "$ac_cv_sizeof_long" in
57878 8) acx_cv_type_int64_t=long ;;
57879 esac
57880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
57881 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
57882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
57883 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
57884 fi
57885
57886 # Now we can use the above types
57887
57888 if test "$ac_cv_type_uintptr_t" != yes; then
57889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
57890 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
57891 case $ac_cv_sizeof_void_p in
57892 2) acx_cv_type_intptr_t=int16_t ;;
57893 4) acx_cv_type_intptr_t=int32_t ;;
57894 8) acx_cv_type_intptr_t=int64_t ;;
57895 *) { as_fn_set_status please report a bug
57896 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
57897 esac
57898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
57899 $as_echo "$acx_cv_type_intptr_t" >&6; }
57900 fi
57901
57902 # ----------------- done all checks, emit header -------------
57903 ac_config_commands="$ac_config_commands include/gstdint.h"
57904
57905
57906
57907
57908 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
57909
57910
57911 # Check whether --enable-symvers was given.
57912 if test "${enable_symvers+set}" = set; then :
57913 enableval=$enable_symvers;
57914 case "$enableval" in
57915 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
57916 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
57917 esac
57918
57919 else
57920 enable_symvers=yes
57921 fi
57922
57923
57924
57925 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
57926 # don't know enough about $LD to do tricks...
57927
57928
57929 # Turn a 'yes' into a suitable default.
57930 if test x$enable_symvers = xyes ; then
57931 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
57932 enable_symvers=no
57933 else
57934 if test $with_gnu_ld = yes ; then
57935 case ${target_os} in
57936 hpux*)
57937 enable_symvers=no ;;
57938 *)
57939 enable_symvers=gnu ;;
57940 esac
57941 else
57942 case ${target_os} in
57943 darwin*)
57944 enable_symvers=darwin ;;
57945 *)
57946 enable_symvers=no ;;
57947 esac
57948 fi
57949 fi
57950 fi
57951
57952 # Check to see if 'darwin' or 'darwin-export' can win.
57953 if test x$enable_symvers = xdarwin-export ; then
57954 enable_symvers=darwin
57955 fi
57956
57957 # Check to see if 'gnu' can win.
57958 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
57959 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
57960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
57961 $as_echo_n "checking for shared libgcc... " >&6; }
57962 ac_save_CFLAGS="$CFLAGS"
57963 CFLAGS=' -lgcc_s'
57964 if test x$gcc_no_link = xyes; then
57965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57966 fi
57967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57968 /* end confdefs.h. */
57969
57970 int
57971 main ()
57972 {
57973 return 0;
57974 ;
57975 return 0;
57976 }
57977 _ACEOF
57978 if ac_fn_c_try_link "$LINENO"; then :
57979 glibcxx_shared_libgcc=yes
57980 else
57981 glibcxx_shared_libgcc=no
57982 fi
57983 rm -f core conftest.err conftest.$ac_objext \
57984 conftest$ac_exeext conftest.$ac_ext
57985 CFLAGS="$ac_save_CFLAGS"
57986 if test $glibcxx_shared_libgcc = no; then
57987 cat > conftest.c <<EOF
57988 int main (void) { return 0; }
57989 EOF
57990 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
57991 -shared -shared-libgcc -o conftest.so \
57992 conftest.c -v 2>&1 >/dev/null \
57993 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
57994 rm -f conftest.c conftest.so
57995 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
57996 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
57997 if test x$gcc_no_link = xyes; then
57998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57999 fi
58000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58001 /* end confdefs.h. */
58002
58003 int
58004 main ()
58005 {
58006 return 0;
58007 ;
58008 return 0;
58009 }
58010 _ACEOF
58011 if ac_fn_c_try_link "$LINENO"; then :
58012 glibcxx_shared_libgcc=yes
58013 fi
58014 rm -f core conftest.err conftest.$ac_objext \
58015 conftest$ac_exeext conftest.$ac_ext
58016 CFLAGS="$ac_save_CFLAGS"
58017 fi
58018 fi
58019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58020 $as_echo "$glibcxx_shared_libgcc" >&6; }
58021
58022 # For GNU ld, we need at least this version. The format is described in
58023 # GLIBCXX_CHECK_LINKER_FEATURES above.
58024 glibcxx_min_gnu_ld_version=21400
58025
58026 # If no shared libgcc, can't win.
58027 if test $glibcxx_shared_libgcc != yes; then
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58029 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58031 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58033 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58034 enable_symvers=no
58035 elif test $with_gnu_ld != yes ; then
58036 # just fail for now
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58038 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58040 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58042 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58043 enable_symvers=no
58044 elif test $glibcxx_ld_is_gold = yes ; then
58045 : All versions of gold support symbol versioning.
58046 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58047 # The right tools, the right setup, but too old. Fallbacks?
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58049 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58051 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58053 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58055 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58057 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58058 enable_symvers=no
58059 fi
58060 fi
58061
58062 # Everything parsed; figure out what file to use.
58063 case $enable_symvers in
58064 no)
58065 SYMVER_FILE=config/abi/pre/none.ver
58066 ;;
58067 gnu)
58068 SYMVER_FILE=config/abi/pre/gnu.ver
58069
58070 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58071
58072 ;;
58073 gnu-versioned-namespace)
58074 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58075
58076 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58077
58078 ;;
58079 darwin)
58080 SYMVER_FILE=config/abi/pre/gnu.ver
58081
58082 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58083
58084 ;;
58085 esac
58086
58087 if test x$enable_symvers != xno ; then
58088
58089 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58090
58091 fi
58092
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58094 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58095 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58096 $as_echo_n "(cached) " >&6
58097 else
58098
58099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58100 /* end confdefs.h. */
58101 void foo (void); __asm (".symver foo, bar@SYMVER");
58102 int
58103 main ()
58104 {
58105
58106 ;
58107 return 0;
58108 }
58109 _ACEOF
58110 if ac_fn_c_try_compile "$LINENO"; then :
58111 glibcxx_cv_have_as_symver_directive=yes
58112 else
58113 glibcxx_cv_have_as_symver_directive=no
58114 fi
58115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58116 fi
58117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58118 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58119 if test $glibcxx_cv_have_as_symver_directive = yes; then
58120
58121 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58122
58123 fi
58124
58125
58126
58127
58128
58129
58130
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58132 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58133
58134 # Now, set up compatibility support, if any.
58135 # In addition, need this to deal with std::size_t mangling in
58136 # src/compatibility.cc. In a perfect world, could use
58137 # typeid(std::size_t).name()[0] to do direct substitution.
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58139 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58140 ac_save_CFLAGS="$CFLAGS"
58141 CFLAGS="-Werror"
58142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58143 /* end confdefs.h. */
58144
58145 int
58146 main ()
58147 {
58148 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58149 ;
58150 return 0;
58151 }
58152 _ACEOF
58153 if ac_fn_c_try_compile "$LINENO"; then :
58154 glibcxx_size_t_is_i=yes
58155 else
58156 glibcxx_size_t_is_i=no
58157 fi
58158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58159 CFLAGS=$ac_save_CFLAGS
58160 if test "$glibcxx_size_t_is_i" = yes; then
58161
58162 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58163
58164 fi
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58166 $as_echo "$glibcxx_size_t_is_i" >&6; }
58167
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58169 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58170 ac_save_CFLAGS="$CFLAGS"
58171 CFLAGS="-Werror"
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58174
58175 int
58176 main ()
58177 {
58178 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58179 ;
58180 return 0;
58181 }
58182 _ACEOF
58183 if ac_fn_c_try_compile "$LINENO"; then :
58184 glibcxx_ptrdiff_t_is_i=yes
58185 else
58186 glibcxx_ptrdiff_t_is_i=no
58187 fi
58188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58189 CFLAGS=$ac_save_CFLAGS
58190 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58191
58192 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58193
58194 fi
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58196 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58197
58198
58199 # Check whether --enable-visibility was given.
58200 if test "${enable_visibility+set}" = set; then :
58201 enableval=$enable_visibility;
58202 case "$enableval" in
58203 yes|no) ;;
58204 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58205 esac
58206
58207 else
58208 enable_visibility=yes
58209 fi
58210
58211
58212
58213 if test x$enable_visibility = xyes ; then
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58215 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58216 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58217 $as_echo_n "(cached) " >&6
58218 else
58219
58220 save_CFLAGS="$CFLAGS"
58221 CFLAGS="$CFLAGS -Werror"
58222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58223 /* end confdefs.h. */
58224 void __attribute__((visibility("hidden"))) foo(void) { }
58225 int
58226 main ()
58227 {
58228
58229 ;
58230 return 0;
58231 }
58232 _ACEOF
58233 if ac_fn_c_try_compile "$LINENO"; then :
58234 glibcxx_cv_have_attribute_visibility=yes
58235 else
58236 glibcxx_cv_have_attribute_visibility=no
58237 fi
58238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58239 CFLAGS="$save_CFLAGS"
58240 fi
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58242 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58243 if test $glibcxx_cv_have_attribute_visibility = no; then
58244 enable_visibility=no
58245 fi
58246 fi
58247
58248
58249 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58250 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58251
58252
58253 ac_ldbl_compat=no
58254 case "$target" in
58255 powerpc*-*-linux* | \
58256 powerpc*-*-gnu* | \
58257 sparc*-*-linux* | \
58258 s390*-*-linux* | \
58259 alpha*-*-linux*)
58260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58261 /* end confdefs.h. */
58262
58263 int
58264 main ()
58265 {
58266
58267 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58268 #error no need for long double compatibility
58269 #endif
58270
58271 ;
58272 return 0;
58273 }
58274 _ACEOF
58275 if ac_fn_c_try_compile "$LINENO"; then :
58276 ac_ldbl_compat=yes
58277 else
58278 ac_ldbl_compat=no
58279 fi
58280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58281 if test "$ac_ldbl_compat" = yes; then
58282
58283 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58284
58285 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58286 fi
58287 esac
58288
58289
58290 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58291
58292 if $GLIBCXX_IS_NATIVE ; then
58293 # Do checks for resource limit functions.
58294
58295 setrlimit_have_headers=yes
58296 for ac_header in unistd.h sys/time.h sys/resource.h
58297 do :
58298 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58299 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58300 eval as_val=\$$as_ac_Header
58301 if test "x$as_val" = x""yes; then :
58302 cat >>confdefs.h <<_ACEOF
58303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58304 _ACEOF
58305
58306 else
58307 setrlimit_have_headers=no
58308 fi
58309
58310 done
58311
58312 # If don't have the headers, then we can't run the tests now, and we
58313 # won't be seeing any of these during testsuite compilation.
58314 if test $setrlimit_have_headers = yes; then
58315 # Can't do these in a loop, else the resulting syntax is wrong.
58316
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58318 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58320 /* end confdefs.h. */
58321 #include <unistd.h>
58322 #include <sys/time.h>
58323 #include <sys/resource.h>
58324
58325 int
58326 main ()
58327 {
58328 int f = RLIMIT_DATA ;
58329 ;
58330 return 0;
58331 }
58332 _ACEOF
58333 if ac_fn_c_try_compile "$LINENO"; then :
58334 glibcxx_mresult=1
58335 else
58336 glibcxx_mresult=0
58337 fi
58338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58339
58340 cat >>confdefs.h <<_ACEOF
58341 #define HAVE_LIMIT_DATA $glibcxx_mresult
58342 _ACEOF
58343
58344 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58346 $as_echo "$res" >&6; }
58347
58348
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58350 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58352 /* end confdefs.h. */
58353 #include <unistd.h>
58354 #include <sys/time.h>
58355 #include <sys/resource.h>
58356
58357 int
58358 main ()
58359 {
58360 int f = RLIMIT_RSS ;
58361 ;
58362 return 0;
58363 }
58364 _ACEOF
58365 if ac_fn_c_try_compile "$LINENO"; then :
58366 glibcxx_mresult=1
58367 else
58368 glibcxx_mresult=0
58369 fi
58370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58371
58372 cat >>confdefs.h <<_ACEOF
58373 #define HAVE_LIMIT_RSS $glibcxx_mresult
58374 _ACEOF
58375
58376 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58378 $as_echo "$res" >&6; }
58379
58380
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58382 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58384 /* end confdefs.h. */
58385 #include <unistd.h>
58386 #include <sys/time.h>
58387 #include <sys/resource.h>
58388
58389 int
58390 main ()
58391 {
58392 int f = RLIMIT_VMEM ;
58393 ;
58394 return 0;
58395 }
58396 _ACEOF
58397 if ac_fn_c_try_compile "$LINENO"; then :
58398 glibcxx_mresult=1
58399 else
58400 glibcxx_mresult=0
58401 fi
58402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58403
58404 cat >>confdefs.h <<_ACEOF
58405 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58406 _ACEOF
58407
58408 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58410 $as_echo "$res" >&6; }
58411
58412
58413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58414 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58416 /* end confdefs.h. */
58417 #include <unistd.h>
58418 #include <sys/time.h>
58419 #include <sys/resource.h>
58420
58421 int
58422 main ()
58423 {
58424 int f = RLIMIT_AS ;
58425 ;
58426 return 0;
58427 }
58428 _ACEOF
58429 if ac_fn_c_try_compile "$LINENO"; then :
58430 glibcxx_mresult=1
58431 else
58432 glibcxx_mresult=0
58433 fi
58434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58435
58436 cat >>confdefs.h <<_ACEOF
58437 #define HAVE_LIMIT_AS $glibcxx_mresult
58438 _ACEOF
58439
58440 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58442 $as_echo "$res" >&6; }
58443
58444
58445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58446 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448 /* end confdefs.h. */
58449 #include <unistd.h>
58450 #include <sys/time.h>
58451 #include <sys/resource.h>
58452
58453 int
58454 main ()
58455 {
58456 int f = RLIMIT_FSIZE ;
58457 ;
58458 return 0;
58459 }
58460 _ACEOF
58461 if ac_fn_c_try_compile "$LINENO"; then :
58462 glibcxx_mresult=1
58463 else
58464 glibcxx_mresult=0
58465 fi
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467
58468 cat >>confdefs.h <<_ACEOF
58469 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58470 _ACEOF
58471
58472 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58474 $as_echo "$res" >&6; }
58475
58476
58477 # Check for rlimit, setrlimit.
58478 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58479 $as_echo_n "(cached) " >&6
58480 else
58481
58482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58483 /* end confdefs.h. */
58484 #include <unistd.h>
58485 #include <sys/time.h>
58486 #include <sys/resource.h>
58487
58488 int
58489 main ()
58490 {
58491 struct rlimit r;
58492 setrlimit(0, &r);
58493 ;
58494 return 0;
58495 }
58496 _ACEOF
58497 if ac_fn_c_try_compile "$LINENO"; then :
58498 glibcxx_cv_setrlimit=yes
58499 else
58500 glibcxx_cv_setrlimit=no
58501 fi
58502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58503
58504 fi
58505
58506 fi
58507
58508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58509 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58510 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58511 ac_res_limits=yes
58512
58513 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58514
58515 else
58516 ac_res_limits=no
58517 fi
58518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58519 $as_echo "$ac_res_limits" >&6; }
58520
58521
58522 # Look for setenv, so that extended locale tests can be performed.
58523
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58525 $as_echo_n "checking for setenv declaration... " >&6; }
58526 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58527 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58528 $as_echo_n "(cached) " >&6
58529 else
58530
58531
58532 ac_ext=cpp
58533 ac_cpp='$CXXCPP $CPPFLAGS'
58534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58537
58538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58539 /* end confdefs.h. */
58540 #include <stdlib.h>
58541 int
58542 main ()
58543 {
58544 setenv(0, 0, 0);
58545 ;
58546 return 0;
58547 }
58548 _ACEOF
58549 if ac_fn_cxx_try_compile "$LINENO"; then :
58550 glibcxx_cv_func_setenv_use=yes
58551 else
58552 glibcxx_cv_func_setenv_use=no
58553 fi
58554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58555 ac_ext=c
58556 ac_cpp='$CPP $CPPFLAGS'
58557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58560
58561
58562 fi
58563
58564 fi
58565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58566 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58567 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58568 for ac_func in setenv
58569 do :
58570 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58571 if test "x$ac_cv_func_setenv" = x""yes; then :
58572 cat >>confdefs.h <<_ACEOF
58573 #define HAVE_SETENV 1
58574 _ACEOF
58575
58576 fi
58577 done
58578
58579 fi
58580
58581 fi
58582
58583 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58584 test $enable_symvers != no; then
58585 case "$host" in
58586 *-*-cygwin*)
58587 enable_abi_check=no ;;
58588 *)
58589 enable_abi_check=yes ;;
58590 esac
58591 else
58592 # Only build this as native, since automake does not understand
58593 # CXX_FOR_BUILD.
58594 enable_abi_check=no
58595 fi
58596
58597 # Export file names for ABI checking.
58598 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58599
58600
58601
58602 # Propagate the target-specific source directories through the build chain.
58603 ATOMICITY_SRCDIR=config/${atomicity_dir}
58604 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58605 ATOMIC_FLAGS=${atomic_flags}
58606 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58607 OS_INC_SRCDIR=config/${os_include_dir}
58608 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58609 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58610
58611
58612
58613
58614
58615
58616
58617
58618
58619 # Determine cross-compile flags and AM_CONDITIONALs.
58620 #AC_SUBST(GLIBCXX_IS_NATIVE)
58621 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58622 if test $is_hosted = yes; then
58623 GLIBCXX_HOSTED_TRUE=
58624 GLIBCXX_HOSTED_FALSE='#'
58625 else
58626 GLIBCXX_HOSTED_TRUE='#'
58627 GLIBCXX_HOSTED_FALSE=
58628 fi
58629
58630
58631 if test $enable_libstdcxx_pch = yes; then
58632 GLIBCXX_BUILD_PCH_TRUE=
58633 GLIBCXX_BUILD_PCH_FALSE='#'
58634 else
58635 GLIBCXX_BUILD_PCH_TRUE='#'
58636 GLIBCXX_BUILD_PCH_FALSE=
58637 fi
58638
58639
58640 if test $enable_cheaders = c; then
58641 GLIBCXX_C_HEADERS_C_TRUE=
58642 GLIBCXX_C_HEADERS_C_FALSE='#'
58643 else
58644 GLIBCXX_C_HEADERS_C_TRUE='#'
58645 GLIBCXX_C_HEADERS_C_FALSE=
58646 fi
58647
58648
58649 if test $enable_cheaders = c_std; then
58650 GLIBCXX_C_HEADERS_C_STD_TRUE=
58651 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58652 else
58653 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58654 GLIBCXX_C_HEADERS_C_STD_FALSE=
58655 fi
58656
58657
58658 if test $enable_cheaders = c_global; then
58659 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58660 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58661 else
58662 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58663 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58664 fi
58665
58666
58667 if test $c_compatibility = yes; then
58668 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58669 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58670 else
58671 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58672 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58673 fi
58674
58675
58676 if test $c_extra = yes; then
58677 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58678 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58679 else
58680 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58681 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58682 fi
58683
58684
58685 if test $enable_libstdcxx_debug = yes; then
58686 GLIBCXX_BUILD_DEBUG_TRUE=
58687 GLIBCXX_BUILD_DEBUG_FALSE='#'
58688 else
58689 GLIBCXX_BUILD_DEBUG_TRUE='#'
58690 GLIBCXX_BUILD_DEBUG_FALSE=
58691 fi
58692
58693
58694 if test $enable_parallel = yes; then
58695 ENABLE_PARALLEL_TRUE=
58696 ENABLE_PARALLEL_FALSE='#'
58697 else
58698 ENABLE_PARALLEL_TRUE='#'
58699 ENABLE_PARALLEL_FALSE=
58700 fi
58701
58702
58703 if test $enable_symvers != no; then
58704 ENABLE_SYMVERS_TRUE=
58705 ENABLE_SYMVERS_FALSE='#'
58706 else
58707 ENABLE_SYMVERS_TRUE='#'
58708 ENABLE_SYMVERS_FALSE=
58709 fi
58710
58711
58712 if test $enable_symvers = gnu; then
58713 ENABLE_SYMVERS_GNU_TRUE=
58714 ENABLE_SYMVERS_GNU_FALSE='#'
58715 else
58716 ENABLE_SYMVERS_GNU_TRUE='#'
58717 ENABLE_SYMVERS_GNU_FALSE=
58718 fi
58719
58720
58721 if test $enable_symvers = gnu-versioned-namespace; then
58722 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58723 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58724 else
58725 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58726 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58727 fi
58728
58729
58730 if test $enable_symvers = darwin; then
58731 ENABLE_SYMVERS_DARWIN_TRUE=
58732 ENABLE_SYMVERS_DARWIN_FALSE='#'
58733 else
58734 ENABLE_SYMVERS_DARWIN_TRUE='#'
58735 ENABLE_SYMVERS_DARWIN_FALSE=
58736 fi
58737
58738
58739 if test $enable_visibility = yes; then
58740 ENABLE_VISIBILITY_TRUE=
58741 ENABLE_VISIBILITY_FALSE='#'
58742 else
58743 ENABLE_VISIBILITY_TRUE='#'
58744 ENABLE_VISIBILITY_FALSE=
58745 fi
58746
58747
58748 if test $ac_ldbl_compat = yes; then
58749 GLIBCXX_LDBL_COMPAT_TRUE=
58750 GLIBCXX_LDBL_COMPAT_FALSE='#'
58751 else
58752 GLIBCXX_LDBL_COMPAT_TRUE='#'
58753 GLIBCXX_LDBL_COMPAT_FALSE=
58754 fi
58755
58756
58757
58758
58759 cat >confcache <<\_ACEOF
58760 # This file is a shell script that caches the results of configure
58761 # tests run on this system so they can be shared between configure
58762 # scripts and configure runs, see configure's option --config-cache.
58763 # It is not useful on other systems. If it contains results you don't
58764 # want to keep, you may remove or edit it.
58765 #
58766 # config.status only pays attention to the cache file if you give it
58767 # the --recheck option to rerun configure.
58768 #
58769 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58770 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58771 # following values.
58772
58773 _ACEOF
58774
58775 # The following way of writing the cache mishandles newlines in values,
58776 # but we know of no workaround that is simple, portable, and efficient.
58777 # So, we kill variables containing newlines.
58778 # Ultrix sh set writes to stderr and can't be redirected directly,
58779 # and sets the high bit in the cache file unless we assign to the vars.
58780 (
58781 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58782 eval ac_val=\$$ac_var
58783 case $ac_val in #(
58784 *${as_nl}*)
58785 case $ac_var in #(
58786 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58787 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58788 esac
58789 case $ac_var in #(
58790 _ | IFS | as_nl) ;; #(
58791 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58792 *) { eval $ac_var=; unset $ac_var;} ;;
58793 esac ;;
58794 esac
58795 done
58796
58797 (set) 2>&1 |
58798 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58799 *${as_nl}ac_space=\ *)
58800 # `set' does not quote correctly, so add quotes: double-quote
58801 # substitution turns \\\\ into \\, and sed turns \\ into \.
58802 sed -n \
58803 "s/'/'\\\\''/g;
58804 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58805 ;; #(
58806 *)
58807 # `set' quotes correctly as required by POSIX, so do not add quotes.
58808 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58809 ;;
58810 esac |
58811 sort
58812 ) |
58813 sed '
58814 /^ac_cv_env_/b end
58815 t clear
58816 :clear
58817 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58818 t end
58819 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58820 :end' >>confcache
58821 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58822 if test -w "$cache_file"; then
58823 test "x$cache_file" != "x/dev/null" &&
58824 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58825 $as_echo "$as_me: updating cache $cache_file" >&6;}
58826 cat confcache >$cache_file
58827 else
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58829 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58830 fi
58831 fi
58832 rm -f confcache
58833
58834 if test ${multilib} = yes; then
58835 multilib_arg="--enable-multilib"
58836 else
58837 multilib_arg=
58838 fi
58839
58840 # Export all the install information.
58841
58842 glibcxx_toolexecdir=no
58843 glibcxx_toolexeclibdir=no
58844 glibcxx_prefixdir=$prefix
58845
58846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
58847 $as_echo_n "checking for gxx-include-dir... " >&6; }
58848
58849 # Check whether --with-gxx-include-dir was given.
58850 if test "${with_gxx_include_dir+set}" = set; then :
58851 withval=$with_gxx_include_dir; case "$withval" in
58852 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
58853 no) gxx_include_dir=no ;;
58854 *) gxx_include_dir=$withval ;;
58855 esac
58856 else
58857 gxx_include_dir=no
58858 fi
58859
58860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58861 $as_echo "$gxx_include_dir" >&6; }
58862
58863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
58864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
58865 # Check whether --enable-version-specific-runtime-libs was given.
58866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
58867 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
58868 yes) version_specific_libs=yes ;;
58869 no) version_specific_libs=no ;;
58870 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
58871 esac
58872 else
58873 version_specific_libs=no
58874 fi
58875
58876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
58877 $as_echo "$version_specific_libs" >&6; }
58878
58879 # Default case for install directory for include files.
58880 if test $version_specific_libs = no && test $gxx_include_dir = no; then
58881 gxx_include_dir='include/c++/${gcc_version}'
58882 if test -n "$with_cross_host" &&
58883 test x"$with_cross_host" != x"no"; then
58884 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
58885 else
58886 gxx_include_dir='${prefix}/'"$gxx_include_dir"
58887 fi
58888 fi
58889
58890 # Version-specific runtime libs processing.
58891 if test $version_specific_libs = yes; then
58892 # Need the gcc compiler version to know where to install libraries
58893 # and header files if --enable-version-specific-runtime-libs option
58894 # is selected. FIXME: these variables are misnamed, there are
58895 # no executables installed in _toolexecdir or _toolexeclibdir.
58896 if test x"$gxx_include_dir" = x"no"; then
58897 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
58898 fi
58899 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58900 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
58901 fi
58902
58903 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
58904 # Install a library built with a cross compiler in tooldir, not libdir.
58905 if test x"$glibcxx_toolexecdir" = x"no"; then
58906 if test -n "$with_cross_host" &&
58907 test x"$with_cross_host" != x"no"; then
58908 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
58909 glibcxx_toolexeclibdir='${toolexecdir}/lib'
58910 else
58911 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58912 glibcxx_toolexeclibdir='${libdir}'
58913 fi
58914 multi_os_directory=`$CXX -print-multi-os-directory`
58915 case $multi_os_directory in
58916 .) ;; # Avoid trailing /.
58917 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
58918 esac
58919 fi
58920
58921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
58922 $as_echo_n "checking for install location... " >&6; }
58923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58924 $as_echo "$gxx_include_dir" >&6; }
58925
58926
58927
58928
58929
58930
58931
58932 # Export all the include and flag information to Makefiles.
58933
58934 # Used for every C++ compile we perform.
58935 GLIBCXX_INCLUDES="\
58936 -I$glibcxx_builddir/include/$host_alias \
58937 -I$glibcxx_builddir/include \
58938 -I$glibcxx_srcdir/libsupc++"
58939
58940 # For Canadian crosses, pick this up too.
58941 if test $CANADIAN = yes; then
58942 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
58943 fi
58944
58945 # Stuff in the actual top level. Currently only used by libsupc++ to
58946 # get unwind* headers from the gcc dir.
58947 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
58948 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
58949
58950 # Now, export this to all the little Makefiles....
58951
58952
58953
58954
58955 # Optimization flags that are probably a good idea for thrill-seekers. Just
58956 # uncomment the lines below and make, everything else is ready to go...
58957 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
58958 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
58959
58960
58961 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
58962
58963
58964
58965 if test "$enable_shared" = yes; then
58966 LIBSUPCXX_PICFLAGS="-prefer-pic"
58967 else
58968 LIBSUPCXX_PICFLAGS=
58969 fi
58970
58971
58972 ac_config_files="$ac_config_files Makefile"
58973
58974 ac_config_files="$ac_config_files scripts/testsuite_flags"
58975
58976
58977 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
58978 # that multilib installs will end up installed in the correct place.
58979 # The testsuite needs it for multilib-aware ABI baseline files.
58980 # To work around this not being passed down from config-ml.in ->
58981 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
58982 # append it here. Only modify Makefiles that have just been created.
58983 #
58984 # Also, get rid of this simulated-VPATH thing that automake does.
58985 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
58986
58987
58988 ac_config_commands="$ac_config_commands generate-headers"
58989
58990
58991 cat >confcache <<\_ACEOF
58992 # This file is a shell script that caches the results of configure
58993 # tests run on this system so they can be shared between configure
58994 # scripts and configure runs, see configure's option --config-cache.
58995 # It is not useful on other systems. If it contains results you don't
58996 # want to keep, you may remove or edit it.
58997 #
58998 # config.status only pays attention to the cache file if you give it
58999 # the --recheck option to rerun configure.
59000 #
59001 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59002 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59003 # following values.
59004
59005 _ACEOF
59006
59007 # The following way of writing the cache mishandles newlines in values,
59008 # but we know of no workaround that is simple, portable, and efficient.
59009 # So, we kill variables containing newlines.
59010 # Ultrix sh set writes to stderr and can't be redirected directly,
59011 # and sets the high bit in the cache file unless we assign to the vars.
59012 (
59013 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59014 eval ac_val=\$$ac_var
59015 case $ac_val in #(
59016 *${as_nl}*)
59017 case $ac_var in #(
59018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59020 esac
59021 case $ac_var in #(
59022 _ | IFS | as_nl) ;; #(
59023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59024 *) { eval $ac_var=; unset $ac_var;} ;;
59025 esac ;;
59026 esac
59027 done
59028
59029 (set) 2>&1 |
59030 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59031 *${as_nl}ac_space=\ *)
59032 # `set' does not quote correctly, so add quotes: double-quote
59033 # substitution turns \\\\ into \\, and sed turns \\ into \.
59034 sed -n \
59035 "s/'/'\\\\''/g;
59036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59037 ;; #(
59038 *)
59039 # `set' quotes correctly as required by POSIX, so do not add quotes.
59040 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59041 ;;
59042 esac |
59043 sort
59044 ) |
59045 sed '
59046 /^ac_cv_env_/b end
59047 t clear
59048 :clear
59049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59050 t end
59051 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59052 :end' >>confcache
59053 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59054 if test -w "$cache_file"; then
59055 test "x$cache_file" != "x/dev/null" &&
59056 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59057 $as_echo "$as_me: updating cache $cache_file" >&6;}
59058 cat confcache >$cache_file
59059 else
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59061 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59062 fi
59063 fi
59064 rm -f confcache
59065
59066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59067 # Let make expand exec_prefix.
59068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59069
59070 DEFS=-DHAVE_CONFIG_H
59071
59072 ac_libobjs=
59073 ac_ltlibobjs=
59074 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59075 # 1. Remove the extension, and $U if already installed.
59076 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59077 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59078 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59079 # will be set to the directory where LIBOBJS objects are built.
59080 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59081 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59082 done
59083 LIBOBJS=$ac_libobjs
59084
59085 LTLIBOBJS=$ac_ltlibobjs
59086
59087
59088 if test -n "$EXEEXT"; then
59089 am__EXEEXT_TRUE=
59090 am__EXEEXT_FALSE='#'
59091 else
59092 am__EXEEXT_TRUE='#'
59093 am__EXEEXT_FALSE=
59094 fi
59095
59096 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59097 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59099 fi
59100 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59101 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59103 fi
59104 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59105 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59107 fi
59108 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59109 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59111 fi
59112 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59113 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59115 fi
59116 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59117 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59119 fi
59120 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59121 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59123 fi
59124 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59125 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59127 fi
59128 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59129 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59131 fi
59132 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59133 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59135 fi
59136 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59137 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59139 fi
59140 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59141 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59143 fi
59144 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59145 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59147 fi
59148 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59149 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59151 fi
59152 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59153 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59155 fi
59156 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59157 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59159 fi
59160
59161 : ${CONFIG_STATUS=./config.status}
59162 ac_write_fail=0
59163 ac_clean_files_save=$ac_clean_files
59164 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59167 as_write_fail=0
59168 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59169 #! $SHELL
59170 # Generated by $as_me.
59171 # Run this file to recreate the current configuration.
59172 # Compiler output produced by configure, useful for debugging
59173 # configure, is in config.log if it exists.
59174
59175 debug=false
59176 ac_cs_recheck=false
59177 ac_cs_silent=false
59178
59179 SHELL=\${CONFIG_SHELL-$SHELL}
59180 export SHELL
59181 _ASEOF
59182 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59183 ## -------------------- ##
59184 ## M4sh Initialization. ##
59185 ## -------------------- ##
59186
59187 # Be more Bourne compatible
59188 DUALCASE=1; export DUALCASE # for MKS sh
59189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59190 emulate sh
59191 NULLCMD=:
59192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59193 # is contrary to our usage. Disable this feature.
59194 alias -g '${1+"$@"}'='"$@"'
59195 setopt NO_GLOB_SUBST
59196 else
59197 case `(set -o) 2>/dev/null` in #(
59198 *posix*) :
59199 set -o posix ;; #(
59200 *) :
59201 ;;
59202 esac
59203 fi
59204
59205
59206 as_nl='
59207 '
59208 export as_nl
59209 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59210 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59211 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59213 # Prefer a ksh shell builtin over an external printf program on Solaris,
59214 # but without wasting forks for bash or zsh.
59215 if test -z "$BASH_VERSION$ZSH_VERSION" \
59216 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59217 as_echo='print -r --'
59218 as_echo_n='print -rn --'
59219 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59220 as_echo='printf %s\n'
59221 as_echo_n='printf %s'
59222 else
59223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59224 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59225 as_echo_n='/usr/ucb/echo -n'
59226 else
59227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59228 as_echo_n_body='eval
59229 arg=$1;
59230 case $arg in #(
59231 *"$as_nl"*)
59232 expr "X$arg" : "X\\(.*\\)$as_nl";
59233 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59234 esac;
59235 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59236 '
59237 export as_echo_n_body
59238 as_echo_n='sh -c $as_echo_n_body as_echo'
59239 fi
59240 export as_echo_body
59241 as_echo='sh -c $as_echo_body as_echo'
59242 fi
59243
59244 # The user is always right.
59245 if test "${PATH_SEPARATOR+set}" != set; then
59246 PATH_SEPARATOR=:
59247 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59248 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59249 PATH_SEPARATOR=';'
59250 }
59251 fi
59252
59253
59254 # IFS
59255 # We need space, tab and new line, in precisely that order. Quoting is
59256 # there to prevent editors from complaining about space-tab.
59257 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59258 # splitting by setting IFS to empty value.)
59259 IFS=" "" $as_nl"
59260
59261 # Find who we are. Look in the path if we contain no directory separator.
59262 case $0 in #((
59263 *[\\/]* ) as_myself=$0 ;;
59264 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59265 for as_dir in $PATH
59266 do
59267 IFS=$as_save_IFS
59268 test -z "$as_dir" && as_dir=.
59269 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59270 done
59271 IFS=$as_save_IFS
59272
59273 ;;
59274 esac
59275 # We did not find ourselves, most probably we were run as `sh COMMAND'
59276 # in which case we are not to be found in the path.
59277 if test "x$as_myself" = x; then
59278 as_myself=$0
59279 fi
59280 if test ! -f "$as_myself"; then
59281 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59282 exit 1
59283 fi
59284
59285 # Unset variables that we do not need and which cause bugs (e.g. in
59286 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59287 # suppresses any "Segmentation fault" message there. '((' could
59288 # trigger a bug in pdksh 5.2.14.
59289 for as_var in BASH_ENV ENV MAIL MAILPATH
59290 do eval test x\${$as_var+set} = xset \
59291 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59292 done
59293 PS1='$ '
59294 PS2='> '
59295 PS4='+ '
59296
59297 # NLS nuisances.
59298 LC_ALL=C
59299 export LC_ALL
59300 LANGUAGE=C
59301 export LANGUAGE
59302
59303 # CDPATH.
59304 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59305
59306
59307 # as_fn_error ERROR [LINENO LOG_FD]
59308 # ---------------------------------
59309 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59310 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59311 # script with status $?, using 1 if that was 0.
59312 as_fn_error ()
59313 {
59314 as_status=$?; test $as_status -eq 0 && as_status=1
59315 if test "$3"; then
59316 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59317 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59318 fi
59319 $as_echo "$as_me: error: $1" >&2
59320 as_fn_exit $as_status
59321 } # as_fn_error
59322
59323
59324 # as_fn_set_status STATUS
59325 # -----------------------
59326 # Set $? to STATUS, without forking.
59327 as_fn_set_status ()
59328 {
59329 return $1
59330 } # as_fn_set_status
59331
59332 # as_fn_exit STATUS
59333 # -----------------
59334 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59335 as_fn_exit ()
59336 {
59337 set +e
59338 as_fn_set_status $1
59339 exit $1
59340 } # as_fn_exit
59341
59342 # as_fn_unset VAR
59343 # ---------------
59344 # Portably unset VAR.
59345 as_fn_unset ()
59346 {
59347 { eval $1=; unset $1;}
59348 }
59349 as_unset=as_fn_unset
59350 # as_fn_append VAR VALUE
59351 # ----------------------
59352 # Append the text in VALUE to the end of the definition contained in VAR. Take
59353 # advantage of any shell optimizations that allow amortized linear growth over
59354 # repeated appends, instead of the typical quadratic growth present in naive
59355 # implementations.
59356 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59357 eval 'as_fn_append ()
59358 {
59359 eval $1+=\$2
59360 }'
59361 else
59362 as_fn_append ()
59363 {
59364 eval $1=\$$1\$2
59365 }
59366 fi # as_fn_append
59367
59368 # as_fn_arith ARG...
59369 # ------------------
59370 # Perform arithmetic evaluation on the ARGs, and store the result in the
59371 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59372 # must be portable across $(()) and expr.
59373 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59374 eval 'as_fn_arith ()
59375 {
59376 as_val=$(( $* ))
59377 }'
59378 else
59379 as_fn_arith ()
59380 {
59381 as_val=`expr "$@" || test $? -eq 1`
59382 }
59383 fi # as_fn_arith
59384
59385
59386 if expr a : '\(a\)' >/dev/null 2>&1 &&
59387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59388 as_expr=expr
59389 else
59390 as_expr=false
59391 fi
59392
59393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59394 as_basename=basename
59395 else
59396 as_basename=false
59397 fi
59398
59399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59400 as_dirname=dirname
59401 else
59402 as_dirname=false
59403 fi
59404
59405 as_me=`$as_basename -- "$0" ||
59406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59407 X"$0" : 'X\(//\)$' \| \
59408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59409 $as_echo X/"$0" |
59410 sed '/^.*\/\([^/][^/]*\)\/*$/{
59411 s//\1/
59412 q
59413 }
59414 /^X\/\(\/\/\)$/{
59415 s//\1/
59416 q
59417 }
59418 /^X\/\(\/\).*/{
59419 s//\1/
59420 q
59421 }
59422 s/.*/./; q'`
59423
59424 # Avoid depending upon Character Ranges.
59425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59428 as_cr_digits='0123456789'
59429 as_cr_alnum=$as_cr_Letters$as_cr_digits
59430
59431 ECHO_C= ECHO_N= ECHO_T=
59432 case `echo -n x` in #(((((
59433 -n*)
59434 case `echo 'xy\c'` in
59435 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59436 xy) ECHO_C='\c';;
59437 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59438 ECHO_T=' ';;
59439 esac;;
59440 *)
59441 ECHO_N='-n';;
59442 esac
59443
59444 rm -f conf$$ conf$$.exe conf$$.file
59445 if test -d conf$$.dir; then
59446 rm -f conf$$.dir/conf$$.file
59447 else
59448 rm -f conf$$.dir
59449 mkdir conf$$.dir 2>/dev/null
59450 fi
59451 if (echo >conf$$.file) 2>/dev/null; then
59452 if ln -s conf$$.file conf$$ 2>/dev/null; then
59453 as_ln_s='ln -s'
59454 # ... but there are two gotchas:
59455 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59456 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59457 # In both cases, we have to default to `cp -p'.
59458 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59459 as_ln_s='cp -p'
59460 elif ln conf$$.file conf$$ 2>/dev/null; then
59461 as_ln_s=ln
59462 else
59463 as_ln_s='cp -p'
59464 fi
59465 else
59466 as_ln_s='cp -p'
59467 fi
59468 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59469 rmdir conf$$.dir 2>/dev/null
59470
59471
59472 # as_fn_mkdir_p
59473 # -------------
59474 # Create "$as_dir" as a directory, including parents if necessary.
59475 as_fn_mkdir_p ()
59476 {
59477
59478 case $as_dir in #(
59479 -*) as_dir=./$as_dir;;
59480 esac
59481 test -d "$as_dir" || eval $as_mkdir_p || {
59482 as_dirs=
59483 while :; do
59484 case $as_dir in #(
59485 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59486 *) as_qdir=$as_dir;;
59487 esac
59488 as_dirs="'$as_qdir' $as_dirs"
59489 as_dir=`$as_dirname -- "$as_dir" ||
59490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59491 X"$as_dir" : 'X\(//\)[^/]' \| \
59492 X"$as_dir" : 'X\(//\)$' \| \
59493 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59494 $as_echo X"$as_dir" |
59495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59496 s//\1/
59497 q
59498 }
59499 /^X\(\/\/\)[^/].*/{
59500 s//\1/
59501 q
59502 }
59503 /^X\(\/\/\)$/{
59504 s//\1/
59505 q
59506 }
59507 /^X\(\/\).*/{
59508 s//\1/
59509 q
59510 }
59511 s/.*/./; q'`
59512 test -d "$as_dir" && break
59513 done
59514 test -z "$as_dirs" || eval "mkdir $as_dirs"
59515 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59516
59517
59518 } # as_fn_mkdir_p
59519 if mkdir -p . 2>/dev/null; then
59520 as_mkdir_p='mkdir -p "$as_dir"'
59521 else
59522 test -d ./-p && rmdir ./-p
59523 as_mkdir_p=false
59524 fi
59525
59526 if test -x / >/dev/null 2>&1; then
59527 as_test_x='test -x'
59528 else
59529 if ls -dL / >/dev/null 2>&1; then
59530 as_ls_L_option=L
59531 else
59532 as_ls_L_option=
59533 fi
59534 as_test_x='
59535 eval sh -c '\''
59536 if test -d "$1"; then
59537 test -d "$1/.";
59538 else
59539 case $1 in #(
59540 -*)set "./$1";;
59541 esac;
59542 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59543 ???[sx]*):;;*)false;;esac;fi
59544 '\'' sh
59545 '
59546 fi
59547 as_executable_p=$as_test_x
59548
59549 # Sed expression to map a string onto a valid CPP name.
59550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59551
59552 # Sed expression to map a string onto a valid variable name.
59553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59554
59555
59556 exec 6>&1
59557 ## ----------------------------------- ##
59558 ## Main body of $CONFIG_STATUS script. ##
59559 ## ----------------------------------- ##
59560 _ASEOF
59561 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59562
59563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59564 # Save the log message, to keep $0 and so on meaningful, and to
59565 # report actual input values of CONFIG_FILES etc. instead of their
59566 # values after options handling.
59567 ac_log="
59568 This file was extended by package-unused $as_me version-unused, which was
59569 generated by GNU Autoconf 2.64. Invocation command line was
59570
59571 CONFIG_FILES = $CONFIG_FILES
59572 CONFIG_HEADERS = $CONFIG_HEADERS
59573 CONFIG_LINKS = $CONFIG_LINKS
59574 CONFIG_COMMANDS = $CONFIG_COMMANDS
59575 $ $0 $@
59576
59577 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59578 "
59579
59580 _ACEOF
59581
59582 case $ac_config_files in *"
59583 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59584 esac
59585
59586 case $ac_config_headers in *"
59587 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59588 esac
59589
59590
59591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59592 # Files that config.status was made for.
59593 config_files="$ac_config_files"
59594 config_headers="$ac_config_headers"
59595 config_commands="$ac_config_commands"
59596
59597 _ACEOF
59598
59599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59600 ac_cs_usage="\
59601 \`$as_me' instantiates files and other configuration actions
59602 from templates according to the current configuration. Unless the files
59603 and actions are specified as TAGs, all are instantiated by default.
59604
59605 Usage: $0 [OPTION]... [TAG]...
59606
59607 -h, --help print this help, then exit
59608 -V, --version print version number and configuration settings, then exit
59609 -q, --quiet, --silent
59610 do not print progress messages
59611 -d, --debug don't remove temporary files
59612 --recheck update $as_me by reconfiguring in the same conditions
59613 --file=FILE[:TEMPLATE]
59614 instantiate the configuration file FILE
59615 --header=FILE[:TEMPLATE]
59616 instantiate the configuration header FILE
59617
59618 Configuration files:
59619 $config_files
59620
59621 Configuration headers:
59622 $config_headers
59623
59624 Configuration commands:
59625 $config_commands
59626
59627 Report bugs to the package provider."
59628
59629 _ACEOF
59630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59631 ac_cs_version="\\
59632 package-unused config.status version-unused
59633 configured by $0, generated by GNU Autoconf 2.64,
59634 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59635
59636 Copyright (C) 2009 Free Software Foundation, Inc.
59637 This config.status script is free software; the Free Software Foundation
59638 gives unlimited permission to copy, distribute and modify it."
59639
59640 ac_pwd='$ac_pwd'
59641 srcdir='$srcdir'
59642 INSTALL='$INSTALL'
59643 MKDIR_P='$MKDIR_P'
59644 AWK='$AWK'
59645 test -n "\$AWK" || AWK=awk
59646 _ACEOF
59647
59648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59649 # The default lists apply if the user does not specify any file.
59650 ac_need_defaults=:
59651 while test $# != 0
59652 do
59653 case $1 in
59654 --*=*)
59655 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59656 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59657 ac_shift=:
59658 ;;
59659 *)
59660 ac_option=$1
59661 ac_optarg=$2
59662 ac_shift=shift
59663 ;;
59664 esac
59665
59666 case $ac_option in
59667 # Handling of the options.
59668 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59669 ac_cs_recheck=: ;;
59670 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59671 $as_echo "$ac_cs_version"; exit ;;
59672 --debug | --debu | --deb | --de | --d | -d )
59673 debug=: ;;
59674 --file | --fil | --fi | --f )
59675 $ac_shift
59676 case $ac_optarg in
59677 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59678 esac
59679 as_fn_append CONFIG_FILES " '$ac_optarg'"
59680 ac_need_defaults=false;;
59681 --header | --heade | --head | --hea )
59682 $ac_shift
59683 case $ac_optarg in
59684 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59685 esac
59686 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59687 ac_need_defaults=false;;
59688 --he | --h)
59689 # Conflict between --help and --header
59690 as_fn_error "ambiguous option: \`$1'
59691 Try \`$0 --help' for more information.";;
59692 --help | --hel | -h )
59693 $as_echo "$ac_cs_usage"; exit ;;
59694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59695 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59696 ac_cs_silent=: ;;
59697
59698 # This is an error.
59699 -*) as_fn_error "unrecognized option: \`$1'
59700 Try \`$0 --help' for more information." ;;
59701
59702 *) as_fn_append ac_config_targets " $1"
59703 ac_need_defaults=false ;;
59704
59705 esac
59706 shift
59707 done
59708
59709 ac_configure_extra_args=
59710
59711 if $ac_cs_silent; then
59712 exec 6>/dev/null
59713 ac_configure_extra_args="$ac_configure_extra_args --silent"
59714 fi
59715
59716 _ACEOF
59717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59718 if \$ac_cs_recheck; then
59719 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59720 shift
59721 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59722 CONFIG_SHELL='$SHELL'
59723 export CONFIG_SHELL
59724 exec "\$@"
59725 fi
59726
59727 _ACEOF
59728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59729 exec 5>>config.log
59730 {
59731 echo
59732 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59733 ## Running $as_me. ##
59734 _ASBOX
59735 $as_echo "$ac_log"
59736 } >&5
59737
59738 _ACEOF
59739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59740 #
59741 # INIT-COMMANDS
59742 #
59743
59744 srcdir="$srcdir"
59745 host="$host"
59746 target="$target"
59747 with_multisubdir="$with_multisubdir"
59748 with_multisrctop="$with_multisrctop"
59749 with_target_subdir="$with_target_subdir"
59750 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59751 multi_basedir="$multi_basedir"
59752 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59753 CC="$CC"
59754 CXX="$CXX"
59755 GFORTRAN="$GFORTRAN"
59756 GCJ="$GCJ"
59757
59758
59759 # The HP-UX ksh and POSIX shell print the target directory to stdout
59760 # if CDPATH is set.
59761 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59762
59763 sed_quote_subst='$sed_quote_subst'
59764 double_quote_subst='$double_quote_subst'
59765 delay_variable_subst='$delay_variable_subst'
59766 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59767 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59768 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59769 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59770 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59771 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59772 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59773 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59774 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59775 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59776 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59777 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59778 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59779 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59780 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59781 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59782 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59783 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59784 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59785 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59786 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59787 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59788 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59789 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59790 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59791 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59792 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59793 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59794 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59795 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59796 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59797 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59798 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59799 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59800 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59801 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59802 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59803 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59804 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59805 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
59806 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
59807 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
59808 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
59809 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
59810 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
59811 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
59812 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
59813 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
59814 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"`'
59815 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
59816 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
59817 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
59818 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
59819 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
59820 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
59821 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
59822 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
59823 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
59824 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
59825 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
59826 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
59827 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
59828 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
59829 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
59830 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59831 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
59832 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
59833 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
59834 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
59835 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
59836 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
59837 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59838 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
59839 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59840 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
59841 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59842 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
59843 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
59844 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
59845 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
59846 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
59847 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
59848 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
59849 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
59850 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
59851 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
59852 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
59853 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
59854 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
59855 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
59856 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
59857 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
59858 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
59859 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
59860 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
59861 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
59862 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
59863 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
59864 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
59865 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
59866 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
59867 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
59868 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
59869 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
59870 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
59871 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
59872 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
59873 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59874 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59875 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
59876 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
59877 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
59878 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
59879 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
59880 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
59881 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
59882 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
59883 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
59884 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
59885 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
59886 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
59887 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
59888 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
59889 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
59890 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
59891 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
59892 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
59893 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
59894 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59895 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59896 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
59897 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
59898 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
59899 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
59900 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
59901 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
59902 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
59903 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
59904 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
59905 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59906 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59907 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
59908 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59909 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59910 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59911 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59912 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59913 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59914 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
59915 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
59916 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
59917 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59918 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
59919 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
59920 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
59921 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
59922 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
59923 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
59924 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
59925 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
59926 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
59927 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
59928 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
59929 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59930 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
59931 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
59932 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59933 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
59934 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
59935 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
59936 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
59937 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
59938 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
59939 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
59940 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
59941
59942 LTCC='$LTCC'
59943 LTCFLAGS='$LTCFLAGS'
59944 compiler='$compiler_DEFAULT'
59945
59946 # A function that is used when there is no print builtin or printf.
59947 func_fallback_echo ()
59948 {
59949 eval 'cat <<_LTECHO_EOF
59950 \$1
59951 _LTECHO_EOF'
59952 }
59953
59954 # Quote evaled strings.
59955 for var in SHELL \
59956 ECHO \
59957 SED \
59958 GREP \
59959 EGREP \
59960 FGREP \
59961 LD \
59962 NM \
59963 LN_S \
59964 lt_SP2NL \
59965 lt_NL2SP \
59966 reload_flag \
59967 OBJDUMP \
59968 deplibs_check_method \
59969 file_magic_cmd \
59970 AR \
59971 AR_FLAGS \
59972 STRIP \
59973 RANLIB \
59974 CC \
59975 CFLAGS \
59976 compiler \
59977 lt_cv_sys_global_symbol_pipe \
59978 lt_cv_sys_global_symbol_to_cdecl \
59979 lt_cv_sys_global_symbol_to_c_name_address \
59980 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
59981 lt_prog_compiler_no_builtin_flag \
59982 lt_prog_compiler_wl \
59983 lt_prog_compiler_pic \
59984 lt_prog_compiler_static \
59985 lt_cv_prog_compiler_c_o \
59986 need_locks \
59987 DSYMUTIL \
59988 NMEDIT \
59989 LIPO \
59990 OTOOL \
59991 OTOOL64 \
59992 shrext_cmds \
59993 export_dynamic_flag_spec \
59994 whole_archive_flag_spec \
59995 compiler_needs_object \
59996 with_gnu_ld \
59997 allow_undefined_flag \
59998 no_undefined_flag \
59999 hardcode_libdir_flag_spec \
60000 hardcode_libdir_flag_spec_ld \
60001 hardcode_libdir_separator \
60002 fix_srcfile_path \
60003 exclude_expsyms \
60004 include_expsyms \
60005 file_list_spec \
60006 variables_saved_for_relink \
60007 libname_spec \
60008 library_names_spec \
60009 soname_spec \
60010 install_override_mode \
60011 finish_eval \
60012 old_striplib \
60013 striplib \
60014 compiler_lib_search_dirs \
60015 predep_objects \
60016 postdep_objects \
60017 predeps \
60018 postdeps \
60019 compiler_lib_search_path \
60020 LD_CXX \
60021 reload_flag_CXX \
60022 compiler_CXX \
60023 lt_prog_compiler_no_builtin_flag_CXX \
60024 lt_prog_compiler_wl_CXX \
60025 lt_prog_compiler_pic_CXX \
60026 lt_prog_compiler_static_CXX \
60027 lt_cv_prog_compiler_c_o_CXX \
60028 export_dynamic_flag_spec_CXX \
60029 whole_archive_flag_spec_CXX \
60030 compiler_needs_object_CXX \
60031 with_gnu_ld_CXX \
60032 allow_undefined_flag_CXX \
60033 no_undefined_flag_CXX \
60034 hardcode_libdir_flag_spec_CXX \
60035 hardcode_libdir_flag_spec_ld_CXX \
60036 hardcode_libdir_separator_CXX \
60037 fix_srcfile_path_CXX \
60038 exclude_expsyms_CXX \
60039 include_expsyms_CXX \
60040 file_list_spec_CXX \
60041 compiler_lib_search_dirs_CXX \
60042 predep_objects_CXX \
60043 postdep_objects_CXX \
60044 predeps_CXX \
60045 postdeps_CXX \
60046 compiler_lib_search_path_CXX; do
60047 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60048 *[\\\\\\\`\\"\\\$]*)
60049 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60050 ;;
60051 *)
60052 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60053 ;;
60054 esac
60055 done
60056
60057 # Double-quote double-evaled strings.
60058 for var in reload_cmds \
60059 old_postinstall_cmds \
60060 old_postuninstall_cmds \
60061 old_archive_cmds \
60062 extract_expsyms_cmds \
60063 old_archive_from_new_cmds \
60064 old_archive_from_expsyms_cmds \
60065 archive_cmds \
60066 archive_expsym_cmds \
60067 module_cmds \
60068 module_expsym_cmds \
60069 export_symbols_cmds \
60070 prelink_cmds \
60071 postinstall_cmds \
60072 postuninstall_cmds \
60073 finish_cmds \
60074 sys_lib_search_path_spec \
60075 sys_lib_dlsearch_path_spec \
60076 reload_cmds_CXX \
60077 old_archive_cmds_CXX \
60078 old_archive_from_new_cmds_CXX \
60079 old_archive_from_expsyms_cmds_CXX \
60080 archive_cmds_CXX \
60081 archive_expsym_cmds_CXX \
60082 module_cmds_CXX \
60083 module_expsym_cmds_CXX \
60084 export_symbols_cmds_CXX \
60085 prelink_cmds_CXX; do
60086 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60087 *[\\\\\\\`\\"\\\$]*)
60088 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60089 ;;
60090 *)
60091 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60092 ;;
60093 esac
60094 done
60095
60096 ac_aux_dir='$ac_aux_dir'
60097 xsi_shell='$xsi_shell'
60098 lt_shell_append='$lt_shell_append'
60099
60100 # See if we are running on zsh, and set the options which allow our
60101 # commands through without removal of \ escapes INIT.
60102 if test -n "\${ZSH_VERSION+set}" ; then
60103 setopt NO_GLOB_SUBST
60104 fi
60105
60106
60107 PACKAGE='$PACKAGE'
60108 VERSION='$VERSION'
60109 TIMESTAMP='$TIMESTAMP'
60110 RM='$RM'
60111 ofile='$ofile'
60112
60113
60114
60115
60116
60117
60118 GCC="$GCC"
60119 CC="$CC"
60120 acx_cv_header_stdint="$acx_cv_header_stdint"
60121 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60122 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60123 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60124 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60125 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60126 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60127 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60128 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60129 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60130 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60131 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60132 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60133 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60134
60135
60136 _ACEOF
60137
60138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60139
60140 # Handling of arguments.
60141 for ac_config_target in $ac_config_targets
60142 do
60143 case $ac_config_target in
60144 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60145 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60146 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60147 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60148 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60149 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60150 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60151 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60152 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60153 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60154 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60155 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60156 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60157 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60158
60159 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60160 esac
60161 done
60162
60163
60164 # If the user did not use the arguments to specify the items to instantiate,
60165 # then the envvar interface is used. Set only those that are not.
60166 # We use the long form for the default assignment because of an extremely
60167 # bizarre bug on SunOS 4.1.3.
60168 if $ac_need_defaults; then
60169 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60170 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60171 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60172 fi
60173
60174 # Have a temporary directory for convenience. Make it in the build tree
60175 # simply because there is no reason against having it here, and in addition,
60176 # creating and moving files from /tmp can sometimes cause problems.
60177 # Hook for its removal unless debugging.
60178 # Note that there is a small window in which the directory will not be cleaned:
60179 # after its creation but before its name has been assigned to `$tmp'.
60180 $debug ||
60181 {
60182 tmp=
60183 trap 'exit_status=$?
60184 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60185 ' 0
60186 trap 'as_fn_exit 1' 1 2 13 15
60187 }
60188 # Create a (secure) tmp directory for tmp files.
60189
60190 {
60191 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60192 test -n "$tmp" && test -d "$tmp"
60193 } ||
60194 {
60195 tmp=./conf$$-$RANDOM
60196 (umask 077 && mkdir "$tmp")
60197 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60198
60199 # Set up the scripts for CONFIG_FILES section.
60200 # No need to generate them if there are no CONFIG_FILES.
60201 # This happens for instance with `./config.status config.h'.
60202 if test -n "$CONFIG_FILES"; then
60203
60204
60205 ac_cr=`echo X | tr X '\015'`
60206 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60207 # But we know of no other shell where ac_cr would be empty at this
60208 # point, so we can use a bashism as a fallback.
60209 if test "x$ac_cr" = x; then
60210 eval ac_cr=\$\'\\r\'
60211 fi
60212 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60213 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60214 ac_cs_awk_cr='\r'
60215 else
60216 ac_cs_awk_cr=$ac_cr
60217 fi
60218
60219 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60220 _ACEOF
60221
60222
60223 {
60224 echo "cat >conf$$subs.awk <<_ACEOF" &&
60225 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60226 echo "_ACEOF"
60227 } >conf$$subs.sh ||
60228 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60229 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60230 ac_delim='%!_!# '
60231 for ac_last_try in false false false false false :; do
60232 . ./conf$$subs.sh ||
60233 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60234
60235 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60236 if test $ac_delim_n = $ac_delim_num; then
60237 break
60238 elif $ac_last_try; then
60239 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60240 else
60241 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60242 fi
60243 done
60244 rm -f conf$$subs.sh
60245
60246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60247 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60248 _ACEOF
60249 sed -n '
60250 h
60251 s/^/S["/; s/!.*/"]=/
60252 p
60253 g
60254 s/^[^!]*!//
60255 :repl
60256 t repl
60257 s/'"$ac_delim"'$//
60258 t delim
60259 :nl
60260 h
60261 s/\(.\{148\}\).*/\1/
60262 t more1
60263 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60264 p
60265 n
60266 b repl
60267 :more1
60268 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60269 p
60270 g
60271 s/.\{148\}//
60272 t nl
60273 :delim
60274 h
60275 s/\(.\{148\}\).*/\1/
60276 t more2
60277 s/["\\]/\\&/g; s/^/"/; s/$/"/
60278 p
60279 b
60280 :more2
60281 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60282 p
60283 g
60284 s/.\{148\}//
60285 t delim
60286 ' <conf$$subs.awk | sed '
60287 /^[^""]/{
60288 N
60289 s/\n//
60290 }
60291 ' >>$CONFIG_STATUS || ac_write_fail=1
60292 rm -f conf$$subs.awk
60293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60294 _ACAWK
60295 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60296 for (key in S) S_is_set[key] = 1
60297 FS = "\a"
60298
60299 }
60300 {
60301 line = $ 0
60302 nfields = split(line, field, "@")
60303 substed = 0
60304 len = length(field[1])
60305 for (i = 2; i < nfields; i++) {
60306 key = field[i]
60307 keylen = length(key)
60308 if (S_is_set[key]) {
60309 value = S[key]
60310 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60311 len += length(value) + length(field[++i])
60312 substed = 1
60313 } else
60314 len += 1 + keylen
60315 }
60316
60317 print line
60318 }
60319
60320 _ACAWK
60321 _ACEOF
60322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60323 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60324 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60325 else
60326 cat
60327 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60328 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60329 _ACEOF
60330
60331 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60332 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60333 # trailing colons and then remove the whole line if VPATH becomes empty
60334 # (actually we leave an empty line to preserve line numbers).
60335 if test "x$srcdir" = x.; then
60336 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60337 s/:*\$(srcdir):*/:/
60338 s/:*\${srcdir}:*/:/
60339 s/:*@srcdir@:*/:/
60340 s/^\([^=]*=[ ]*\):*/\1/
60341 s/:*$//
60342 s/^[^=]*=[ ]*$//
60343 }'
60344 fi
60345
60346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60347 fi # test -n "$CONFIG_FILES"
60348
60349 # Set up the scripts for CONFIG_HEADERS section.
60350 # No need to generate them if there are no CONFIG_HEADERS.
60351 # This happens for instance with `./config.status Makefile'.
60352 if test -n "$CONFIG_HEADERS"; then
60353 cat >"$tmp/defines.awk" <<\_ACAWK ||
60354 BEGIN {
60355 _ACEOF
60356
60357 # Transform confdefs.h into an awk script `defines.awk', embedded as
60358 # here-document in config.status, that substitutes the proper values into
60359 # config.h.in to produce config.h.
60360
60361 # Create a delimiter string that does not exist in confdefs.h, to ease
60362 # handling of long lines.
60363 ac_delim='%!_!# '
60364 for ac_last_try in false false :; do
60365 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60366 if test -z "$ac_t"; then
60367 break
60368 elif $ac_last_try; then
60369 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60370 else
60371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60372 fi
60373 done
60374
60375 # For the awk script, D is an array of macro values keyed by name,
60376 # likewise P contains macro parameters if any. Preserve backslash
60377 # newline sequences.
60378
60379 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60380 sed -n '
60381 s/.\{148\}/&'"$ac_delim"'/g
60382 t rset
60383 :rset
60384 s/^[ ]*#[ ]*define[ ][ ]*/ /
60385 t def
60386 d
60387 :def
60388 s/\\$//
60389 t bsnl
60390 s/["\\]/\\&/g
60391 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60392 D["\1"]=" \3"/p
60393 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60394 d
60395 :bsnl
60396 s/["\\]/\\&/g
60397 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60398 D["\1"]=" \3\\\\\\n"\\/p
60399 t cont
60400 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60401 t cont
60402 d
60403 :cont
60404 n
60405 s/.\{148\}/&'"$ac_delim"'/g
60406 t clear
60407 :clear
60408 s/\\$//
60409 t bsnlc
60410 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60411 d
60412 :bsnlc
60413 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60414 b cont
60415 ' <confdefs.h | sed '
60416 s/'"$ac_delim"'/"\\\
60417 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60418
60419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60420 for (key in D) D_is_set[key] = 1
60421 FS = "\a"
60422 }
60423 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60424 line = \$ 0
60425 split(line, arg, " ")
60426 if (arg[1] == "#") {
60427 defundef = arg[2]
60428 mac1 = arg[3]
60429 } else {
60430 defundef = substr(arg[1], 2)
60431 mac1 = arg[2]
60432 }
60433 split(mac1, mac2, "(") #)
60434 macro = mac2[1]
60435 prefix = substr(line, 1, index(line, defundef) - 1)
60436 if (D_is_set[macro]) {
60437 # Preserve the white space surrounding the "#".
60438 print prefix "define", macro P[macro] D[macro]
60439 next
60440 } else {
60441 # Replace #undef with comments. This is necessary, for example,
60442 # in the case of _POSIX_SOURCE, which is predefined and required
60443 # on some systems where configure will not decide to define it.
60444 if (defundef == "undef") {
60445 print "/*", prefix defundef, macro, "*/"
60446 next
60447 }
60448 }
60449 }
60450 { print }
60451 _ACAWK
60452 _ACEOF
60453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60454 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60455 fi # test -n "$CONFIG_HEADERS"
60456
60457
60458 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60459 shift
60460 for ac_tag
60461 do
60462 case $ac_tag in
60463 :[FHLC]) ac_mode=$ac_tag; continue;;
60464 esac
60465 case $ac_mode$ac_tag in
60466 :[FHL]*:*);;
60467 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60468 :[FH]-) ac_tag=-:-;;
60469 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60470 esac
60471 ac_save_IFS=$IFS
60472 IFS=:
60473 set x $ac_tag
60474 IFS=$ac_save_IFS
60475 shift
60476 ac_file=$1
60477 shift
60478
60479 case $ac_mode in
60480 :L) ac_source=$1;;
60481 :[FH])
60482 ac_file_inputs=
60483 for ac_f
60484 do
60485 case $ac_f in
60486 -) ac_f="$tmp/stdin";;
60487 *) # Look for the file first in the build tree, then in the source tree
60488 # (if the path is not absolute). The absolute path cannot be DOS-style,
60489 # because $ac_f cannot contain `:'.
60490 test -f "$ac_f" ||
60491 case $ac_f in
60492 [\\/$]*) false;;
60493 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60494 esac ||
60495 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60496 esac
60497 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60498 as_fn_append ac_file_inputs " '$ac_f'"
60499 done
60500
60501 # Let's still pretend it is `configure' which instantiates (i.e., don't
60502 # use $as_me), people would be surprised to read:
60503 # /* config.h. Generated by config.status. */
60504 configure_input='Generated from '`
60505 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60506 `' by configure.'
60507 if test x"$ac_file" != x-; then
60508 configure_input="$ac_file. $configure_input"
60509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60510 $as_echo "$as_me: creating $ac_file" >&6;}
60511 fi
60512 # Neutralize special characters interpreted by sed in replacement strings.
60513 case $configure_input in #(
60514 *\&* | *\|* | *\\* )
60515 ac_sed_conf_input=`$as_echo "$configure_input" |
60516 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60517 *) ac_sed_conf_input=$configure_input;;
60518 esac
60519
60520 case $ac_tag in
60521 *:-:* | *:-) cat >"$tmp/stdin" \
60522 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60523 esac
60524 ;;
60525 esac
60526
60527 ac_dir=`$as_dirname -- "$ac_file" ||
60528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60529 X"$ac_file" : 'X\(//\)[^/]' \| \
60530 X"$ac_file" : 'X\(//\)$' \| \
60531 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60532 $as_echo X"$ac_file" |
60533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60534 s//\1/
60535 q
60536 }
60537 /^X\(\/\/\)[^/].*/{
60538 s//\1/
60539 q
60540 }
60541 /^X\(\/\/\)$/{
60542 s//\1/
60543 q
60544 }
60545 /^X\(\/\).*/{
60546 s//\1/
60547 q
60548 }
60549 s/.*/./; q'`
60550 as_dir="$ac_dir"; as_fn_mkdir_p
60551 ac_builddir=.
60552
60553 case "$ac_dir" in
60554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60555 *)
60556 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60557 # A ".." for each directory in $ac_dir_suffix.
60558 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60559 case $ac_top_builddir_sub in
60560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60562 esac ;;
60563 esac
60564 ac_abs_top_builddir=$ac_pwd
60565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60566 # for backward compatibility:
60567 ac_top_builddir=$ac_top_build_prefix
60568
60569 case $srcdir in
60570 .) # We are building in place.
60571 ac_srcdir=.
60572 ac_top_srcdir=$ac_top_builddir_sub
60573 ac_abs_top_srcdir=$ac_pwd ;;
60574 [\\/]* | ?:[\\/]* ) # Absolute name.
60575 ac_srcdir=$srcdir$ac_dir_suffix;
60576 ac_top_srcdir=$srcdir
60577 ac_abs_top_srcdir=$srcdir ;;
60578 *) # Relative name.
60579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60580 ac_top_srcdir=$ac_top_build_prefix$srcdir
60581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60582 esac
60583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60584
60585
60586 case $ac_mode in
60587 :F)
60588 #
60589 # CONFIG_FILE
60590 #
60591
60592 case $INSTALL in
60593 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60594 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60595 esac
60596 ac_MKDIR_P=$MKDIR_P
60597 case $MKDIR_P in
60598 [\\/$]* | ?:[\\/]* ) ;;
60599 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60600 esac
60601 _ACEOF
60602
60603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60604 # If the template does not know about datarootdir, expand it.
60605 # FIXME: This hack should be removed a few years after 2.60.
60606 ac_datarootdir_hack=; ac_datarootdir_seen=
60607 ac_sed_dataroot='
60608 /datarootdir/ {
60609 p
60610 q
60611 }
60612 /@datadir@/p
60613 /@docdir@/p
60614 /@infodir@/p
60615 /@localedir@/p
60616 /@mandir@/p'
60617 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60618 *datarootdir*) ac_datarootdir_seen=yes;;
60619 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60621 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60622 _ACEOF
60623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60624 ac_datarootdir_hack='
60625 s&@datadir@&$datadir&g
60626 s&@docdir@&$docdir&g
60627 s&@infodir@&$infodir&g
60628 s&@localedir@&$localedir&g
60629 s&@mandir@&$mandir&g
60630 s&\\\${datarootdir}&$datarootdir&g' ;;
60631 esac
60632 _ACEOF
60633
60634 # Neutralize VPATH when `$srcdir' = `.'.
60635 # Shell code in configure.ac might set extrasub.
60636 # FIXME: do we really want to maintain this feature?
60637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60638 ac_sed_extra="$ac_vpsub
60639 $extrasub
60640 _ACEOF
60641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60642 :t
60643 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60644 s|@configure_input@|$ac_sed_conf_input|;t t
60645 s&@top_builddir@&$ac_top_builddir_sub&;t t
60646 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60647 s&@srcdir@&$ac_srcdir&;t t
60648 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60649 s&@top_srcdir@&$ac_top_srcdir&;t t
60650 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60651 s&@builddir@&$ac_builddir&;t t
60652 s&@abs_builddir@&$ac_abs_builddir&;t t
60653 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60654 s&@INSTALL@&$ac_INSTALL&;t t
60655 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60656 $ac_datarootdir_hack
60657 "
60658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60659 || as_fn_error "could not create $ac_file" "$LINENO" 5
60660
60661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60662 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60665 which seems to be undefined. Please make sure it is defined." >&5
60666 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60667 which seems to be undefined. Please make sure it is defined." >&2;}
60668
60669 rm -f "$tmp/stdin"
60670 case $ac_file in
60671 -) cat "$tmp/out" && rm -f "$tmp/out";;
60672 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60673 esac \
60674 || as_fn_error "could not create $ac_file" "$LINENO" 5
60675 ;;
60676 :H)
60677 #
60678 # CONFIG_HEADER
60679 #
60680 if test x"$ac_file" != x-; then
60681 {
60682 $as_echo "/* $configure_input */" \
60683 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60684 } >"$tmp/config.h" \
60685 || as_fn_error "could not create $ac_file" "$LINENO" 5
60686 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60688 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60689 else
60690 rm -f "$ac_file"
60691 mv "$tmp/config.h" "$ac_file" \
60692 || as_fn_error "could not create $ac_file" "$LINENO" 5
60693 fi
60694 else
60695 $as_echo "/* $configure_input */" \
60696 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60697 || as_fn_error "could not create -" "$LINENO" 5
60698 fi
60699 # Compute "$ac_file"'s index in $config_headers.
60700 _am_arg="$ac_file"
60701 _am_stamp_count=1
60702 for _am_header in $config_headers :; do
60703 case $_am_header in
60704 $_am_arg | $_am_arg:* )
60705 break ;;
60706 * )
60707 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60708 esac
60709 done
60710 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60711 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60712 X"$_am_arg" : 'X\(//\)[^/]' \| \
60713 X"$_am_arg" : 'X\(//\)$' \| \
60714 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60715 $as_echo X"$_am_arg" |
60716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60717 s//\1/
60718 q
60719 }
60720 /^X\(\/\/\)[^/].*/{
60721 s//\1/
60722 q
60723 }
60724 /^X\(\/\/\)$/{
60725 s//\1/
60726 q
60727 }
60728 /^X\(\/\).*/{
60729 s//\1/
60730 q
60731 }
60732 s/.*/./; q'`/stamp-h$_am_stamp_count
60733 ;;
60734
60735 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60736 $as_echo "$as_me: executing $ac_file commands" >&6;}
60737 ;;
60738 esac
60739
60740
60741 case $ac_file$ac_mode in
60742 "default-1":C)
60743 # Only add multilib support code if we just rebuilt the top-level
60744 # Makefile.
60745 case " $CONFIG_FILES " in
60746 *" Makefile "*)
60747 ac_file=Makefile . ${multi_basedir}/config-ml.in
60748 ;;
60749 esac ;;
60750 "libtool":C)
60751
60752 # See if we are running on zsh, and set the options which allow our
60753 # commands through without removal of \ escapes.
60754 if test -n "${ZSH_VERSION+set}" ; then
60755 setopt NO_GLOB_SUBST
60756 fi
60757
60758 cfgfile="${ofile}T"
60759 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60760 $RM "$cfgfile"
60761
60762 cat <<_LT_EOF >> "$cfgfile"
60763 #! $SHELL
60764
60765 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60766 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60767 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60768 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60769 #
60770 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60771 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60772 # Written by Gordon Matzigkeit, 1996
60773 #
60774 # This file is part of GNU Libtool.
60775 #
60776 # GNU Libtool is free software; you can redistribute it and/or
60777 # modify it under the terms of the GNU General Public License as
60778 # published by the Free Software Foundation; either version 2 of
60779 # the License, or (at your option) any later version.
60780 #
60781 # As a special exception to the GNU General Public License,
60782 # if you distribute this file as part of a program or library that
60783 # is built using GNU Libtool, you may include this file under the
60784 # same distribution terms that you use for the rest of that program.
60785 #
60786 # GNU Libtool is distributed in the hope that it will be useful,
60787 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60788 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60789 # GNU General Public License for more details.
60790 #
60791 # You should have received a copy of the GNU General Public License
60792 # along with GNU Libtool; see the file COPYING. If not, a copy
60793 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60794 # obtained by writing to the Free Software Foundation, Inc.,
60795 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60796
60797
60798 # The names of the tagged configurations supported by this script.
60799 available_tags="CXX "
60800
60801 # ### BEGIN LIBTOOL CONFIG
60802
60803 # Which release of libtool.m4 was used?
60804 macro_version=$macro_version
60805 macro_revision=$macro_revision
60806
60807 # Whether or not to build shared libraries.
60808 build_libtool_libs=$enable_shared
60809
60810 # Whether or not to build static libraries.
60811 build_old_libs=$enable_static
60812
60813 # What type of objects to build.
60814 pic_mode=$pic_mode
60815
60816 # Whether or not to optimize for fast installation.
60817 fast_install=$enable_fast_install
60818
60819 # Shell to use when invoking shell scripts.
60820 SHELL=$lt_SHELL
60821
60822 # An echo program that protects backslashes.
60823 ECHO=$lt_ECHO
60824
60825 # The host system.
60826 host_alias=$host_alias
60827 host=$host
60828 host_os=$host_os
60829
60830 # The build system.
60831 build_alias=$build_alias
60832 build=$build
60833 build_os=$build_os
60834
60835 # A sed program that does not truncate output.
60836 SED=$lt_SED
60837
60838 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60839 Xsed="\$SED -e 1s/^X//"
60840
60841 # A grep program that handles long lines.
60842 GREP=$lt_GREP
60843
60844 # An ERE matcher.
60845 EGREP=$lt_EGREP
60846
60847 # A literal string matcher.
60848 FGREP=$lt_FGREP
60849
60850 # A BSD- or MS-compatible name lister.
60851 NM=$lt_NM
60852
60853 # Whether we need soft or hard links.
60854 LN_S=$lt_LN_S
60855
60856 # What is the maximum length of a command?
60857 max_cmd_len=$max_cmd_len
60858
60859 # Object file suffix (normally "o").
60860 objext=$ac_objext
60861
60862 # Executable file suffix (normally "").
60863 exeext=$exeext
60864
60865 # whether the shell understands "unset".
60866 lt_unset=$lt_unset
60867
60868 # turn spaces into newlines.
60869 SP2NL=$lt_lt_SP2NL
60870
60871 # turn newlines into spaces.
60872 NL2SP=$lt_lt_NL2SP
60873
60874 # An object symbol dumper.
60875 OBJDUMP=$lt_OBJDUMP
60876
60877 # Method to check whether dependent libraries are shared objects.
60878 deplibs_check_method=$lt_deplibs_check_method
60879
60880 # Command to use when deplibs_check_method == "file_magic".
60881 file_magic_cmd=$lt_file_magic_cmd
60882
60883 # The archiver.
60884 AR=$lt_AR
60885 AR_FLAGS=$lt_AR_FLAGS
60886
60887 # A symbol stripping program.
60888 STRIP=$lt_STRIP
60889
60890 # Commands used to install an old-style archive.
60891 RANLIB=$lt_RANLIB
60892 old_postinstall_cmds=$lt_old_postinstall_cmds
60893 old_postuninstall_cmds=$lt_old_postuninstall_cmds
60894
60895 # Whether to use a lock for old archive extraction.
60896 lock_old_archive_extraction=$lock_old_archive_extraction
60897
60898 # A C compiler.
60899 LTCC=$lt_CC
60900
60901 # LTCC compiler flags.
60902 LTCFLAGS=$lt_CFLAGS
60903
60904 # Take the output of nm and produce a listing of raw symbols and C names.
60905 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
60906
60907 # Transform the output of nm in a proper C declaration.
60908 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
60909
60910 # Transform the output of nm in a C name address pair.
60911 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
60912
60913 # Transform the output of nm in a C name address pair when lib prefix is needed.
60914 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
60915
60916 # The name of the directory that contains temporary libtool files.
60917 objdir=$objdir
60918
60919 # Used to examine libraries when file_magic_cmd begins with "file".
60920 MAGIC_CMD=$MAGIC_CMD
60921
60922 # Must we lock files when doing compilation?
60923 need_locks=$lt_need_locks
60924
60925 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
60926 DSYMUTIL=$lt_DSYMUTIL
60927
60928 # Tool to change global to local symbols on Mac OS X.
60929 NMEDIT=$lt_NMEDIT
60930
60931 # Tool to manipulate fat objects and archives on Mac OS X.
60932 LIPO=$lt_LIPO
60933
60934 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
60935 OTOOL=$lt_OTOOL
60936
60937 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
60938 OTOOL64=$lt_OTOOL64
60939
60940 # Old archive suffix (normally "a").
60941 libext=$libext
60942
60943 # Shared library suffix (normally ".so").
60944 shrext_cmds=$lt_shrext_cmds
60945
60946 # The commands to extract the exported symbol list from a shared archive.
60947 extract_expsyms_cmds=$lt_extract_expsyms_cmds
60948
60949 # Variables whose values should be saved in libtool wrapper scripts and
60950 # restored at link time.
60951 variables_saved_for_relink=$lt_variables_saved_for_relink
60952
60953 # Do we need the "lib" prefix for modules?
60954 need_lib_prefix=$need_lib_prefix
60955
60956 # Do we need a version for libraries?
60957 need_version=$need_version
60958
60959 # Library versioning type.
60960 version_type=$version_type
60961
60962 # Shared library runtime path variable.
60963 runpath_var=$runpath_var
60964
60965 # Shared library path variable.
60966 shlibpath_var=$shlibpath_var
60967
60968 # Is shlibpath searched before the hard-coded library search path?
60969 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
60970
60971 # Format of library name prefix.
60972 libname_spec=$lt_libname_spec
60973
60974 # List of archive names. First name is the real one, the rest are links.
60975 # The last name is the one that the linker finds with -lNAME
60976 library_names_spec=$lt_library_names_spec
60977
60978 # The coded name of the library, if different from the real name.
60979 soname_spec=$lt_soname_spec
60980
60981 # Permission mode override for installation of shared libraries.
60982 install_override_mode=$lt_install_override_mode
60983
60984 # Command to use after installation of a shared archive.
60985 postinstall_cmds=$lt_postinstall_cmds
60986
60987 # Command to use after uninstallation of a shared archive.
60988 postuninstall_cmds=$lt_postuninstall_cmds
60989
60990 # Commands used to finish a libtool library installation in a directory.
60991 finish_cmds=$lt_finish_cmds
60992
60993 # As "finish_cmds", except a single script fragment to be evaled but
60994 # not shown.
60995 finish_eval=$lt_finish_eval
60996
60997 # Whether we should hardcode library paths into libraries.
60998 hardcode_into_libs=$hardcode_into_libs
60999
61000 # Compile-time system search path for libraries.
61001 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61002
61003 # Run-time system search path for libraries.
61004 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61005
61006 # Whether dlopen is supported.
61007 dlopen_support=$enable_dlopen
61008
61009 # Whether dlopen of programs is supported.
61010 dlopen_self=$enable_dlopen_self
61011
61012 # Whether dlopen of statically linked programs is supported.
61013 dlopen_self_static=$enable_dlopen_self_static
61014
61015 # Commands to strip libraries.
61016 old_striplib=$lt_old_striplib
61017 striplib=$lt_striplib
61018
61019
61020 # The linker used to build libraries.
61021 LD=$lt_LD
61022
61023 # How to create reloadable object files.
61024 reload_flag=$lt_reload_flag
61025 reload_cmds=$lt_reload_cmds
61026
61027 # Commands used to build an old-style archive.
61028 old_archive_cmds=$lt_old_archive_cmds
61029
61030 # A language specific compiler.
61031 CC=$lt_compiler
61032
61033 # Is the compiler the GNU compiler?
61034 with_gcc=$GCC
61035
61036 # Compiler flag to turn off builtin functions.
61037 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61038
61039 # How to pass a linker flag through the compiler.
61040 wl=$lt_lt_prog_compiler_wl
61041
61042 # Additional compiler flags for building library objects.
61043 pic_flag=$lt_lt_prog_compiler_pic
61044
61045 # Compiler flag to prevent dynamic linking.
61046 link_static_flag=$lt_lt_prog_compiler_static
61047
61048 # Does compiler simultaneously support -c and -o options?
61049 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61050
61051 # Whether or not to add -lc for building shared libraries.
61052 build_libtool_need_lc=$archive_cmds_need_lc
61053
61054 # Whether or not to disallow shared libs when runtime libs are static.
61055 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61056
61057 # Compiler flag to allow reflexive dlopens.
61058 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61059
61060 # Compiler flag to generate shared objects directly from archives.
61061 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61062
61063 # Whether the compiler copes with passing no objects directly.
61064 compiler_needs_object=$lt_compiler_needs_object
61065
61066 # Create an old-style archive from a shared archive.
61067 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61068
61069 # Create a temporary old-style archive to link instead of a shared archive.
61070 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61071
61072 # Commands used to build a shared archive.
61073 archive_cmds=$lt_archive_cmds
61074 archive_expsym_cmds=$lt_archive_expsym_cmds
61075
61076 # Commands used to build a loadable module if different from building
61077 # a shared archive.
61078 module_cmds=$lt_module_cmds
61079 module_expsym_cmds=$lt_module_expsym_cmds
61080
61081 # Whether we are building with GNU ld or not.
61082 with_gnu_ld=$lt_with_gnu_ld
61083
61084 # Flag that allows shared libraries with undefined symbols to be built.
61085 allow_undefined_flag=$lt_allow_undefined_flag
61086
61087 # Flag that enforces no undefined symbols.
61088 no_undefined_flag=$lt_no_undefined_flag
61089
61090 # Flag to hardcode \$libdir into a binary during linking.
61091 # This must work even if \$libdir does not exist
61092 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61093
61094 # If ld is used when linking, flag to hardcode \$libdir into a binary
61095 # during linking. This must work even if \$libdir does not exist.
61096 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61097
61098 # Whether we need a single "-rpath" flag with a separated argument.
61099 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61100
61101 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61102 # DIR into the resulting binary.
61103 hardcode_direct=$hardcode_direct
61104
61105 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61106 # DIR into the resulting binary and the resulting library dependency is
61107 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61108 # library is relocated.
61109 hardcode_direct_absolute=$hardcode_direct_absolute
61110
61111 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61112 # into the resulting binary.
61113 hardcode_minus_L=$hardcode_minus_L
61114
61115 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61116 # into the resulting binary.
61117 hardcode_shlibpath_var=$hardcode_shlibpath_var
61118
61119 # Set to "yes" if building a shared library automatically hardcodes DIR
61120 # into the library and all subsequent libraries and executables linked
61121 # against it.
61122 hardcode_automatic=$hardcode_automatic
61123
61124 # Set to yes if linker adds runtime paths of dependent libraries
61125 # to runtime path list.
61126 inherit_rpath=$inherit_rpath
61127
61128 # Whether libtool must link a program against all its dependency libraries.
61129 link_all_deplibs=$link_all_deplibs
61130
61131 # Fix the shell variable \$srcfile for the compiler.
61132 fix_srcfile_path=$lt_fix_srcfile_path
61133
61134 # Set to "yes" if exported symbols are required.
61135 always_export_symbols=$always_export_symbols
61136
61137 # The commands to list exported symbols.
61138 export_symbols_cmds=$lt_export_symbols_cmds
61139
61140 # Symbols that should not be listed in the preloaded symbols.
61141 exclude_expsyms=$lt_exclude_expsyms
61142
61143 # Symbols that must always be exported.
61144 include_expsyms=$lt_include_expsyms
61145
61146 # Commands necessary for linking programs (against libraries) with templates.
61147 prelink_cmds=$lt_prelink_cmds
61148
61149 # Specify filename containing input files.
61150 file_list_spec=$lt_file_list_spec
61151
61152 # How to hardcode a shared library path into an executable.
61153 hardcode_action=$hardcode_action
61154
61155 # The directories searched by this compiler when creating a shared library.
61156 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61157
61158 # Dependencies to place before and after the objects being linked to
61159 # create a shared library.
61160 predep_objects=$lt_predep_objects
61161 postdep_objects=$lt_postdep_objects
61162 predeps=$lt_predeps
61163 postdeps=$lt_postdeps
61164
61165 # The library search path used internally by the compiler when linking
61166 # a shared library.
61167 compiler_lib_search_path=$lt_compiler_lib_search_path
61168
61169 # ### END LIBTOOL CONFIG
61170
61171 _LT_EOF
61172
61173 case $host_os in
61174 aix3*)
61175 cat <<\_LT_EOF >> "$cfgfile"
61176 # AIX sometimes has problems with the GCC collect2 program. For some
61177 # reason, if we set the COLLECT_NAMES environment variable, the problems
61178 # vanish in a puff of smoke.
61179 if test "X${COLLECT_NAMES+set}" != Xset; then
61180 COLLECT_NAMES=
61181 export COLLECT_NAMES
61182 fi
61183 _LT_EOF
61184 ;;
61185 esac
61186
61187
61188 ltmain="$ac_aux_dir/ltmain.sh"
61189
61190
61191 # We use sed instead of cat because bash on DJGPP gets confused if
61192 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61193 # text mode, it properly converts lines to CR/LF. This bash problem
61194 # is reportedly fixed, but why not run on old versions too?
61195 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61196 || (rm -f "$cfgfile"; exit 1)
61197
61198 case $xsi_shell in
61199 yes)
61200 cat << \_LT_EOF >> "$cfgfile"
61201
61202 # func_dirname file append nondir_replacement
61203 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61204 # otherwise set result to NONDIR_REPLACEMENT.
61205 func_dirname ()
61206 {
61207 case ${1} in
61208 */*) func_dirname_result="${1%/*}${2}" ;;
61209 * ) func_dirname_result="${3}" ;;
61210 esac
61211 }
61212
61213 # func_basename file
61214 func_basename ()
61215 {
61216 func_basename_result="${1##*/}"
61217 }
61218
61219 # func_dirname_and_basename file append nondir_replacement
61220 # perform func_basename and func_dirname in a single function
61221 # call:
61222 # dirname: Compute the dirname of FILE. If nonempty,
61223 # add APPEND to the result, otherwise set result
61224 # to NONDIR_REPLACEMENT.
61225 # value returned in "$func_dirname_result"
61226 # basename: Compute filename of FILE.
61227 # value retuned in "$func_basename_result"
61228 # Implementation must be kept synchronized with func_dirname
61229 # and func_basename. For efficiency, we do not delegate to
61230 # those functions but instead duplicate the functionality here.
61231 func_dirname_and_basename ()
61232 {
61233 case ${1} in
61234 */*) func_dirname_result="${1%/*}${2}" ;;
61235 * ) func_dirname_result="${3}" ;;
61236 esac
61237 func_basename_result="${1##*/}"
61238 }
61239
61240 # func_stripname prefix suffix name
61241 # strip PREFIX and SUFFIX off of NAME.
61242 # PREFIX and SUFFIX must not contain globbing or regex special
61243 # characters, hashes, percent signs, but SUFFIX may contain a leading
61244 # dot (in which case that matches only a dot).
61245 func_stripname ()
61246 {
61247 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61248 # positional parameters, so assign one to ordinary parameter first.
61249 func_stripname_result=${3}
61250 func_stripname_result=${func_stripname_result#"${1}"}
61251 func_stripname_result=${func_stripname_result%"${2}"}
61252 }
61253
61254 # func_opt_split
61255 func_opt_split ()
61256 {
61257 func_opt_split_opt=${1%%=*}
61258 func_opt_split_arg=${1#*=}
61259 }
61260
61261 # func_lo2o object
61262 func_lo2o ()
61263 {
61264 case ${1} in
61265 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61266 *) func_lo2o_result=${1} ;;
61267 esac
61268 }
61269
61270 # func_xform libobj-or-source
61271 func_xform ()
61272 {
61273 func_xform_result=${1%.*}.lo
61274 }
61275
61276 # func_arith arithmetic-term...
61277 func_arith ()
61278 {
61279 func_arith_result=$(( $* ))
61280 }
61281
61282 # func_len string
61283 # STRING may not start with a hyphen.
61284 func_len ()
61285 {
61286 func_len_result=${#1}
61287 }
61288
61289 _LT_EOF
61290 ;;
61291 *) # Bourne compatible functions.
61292 cat << \_LT_EOF >> "$cfgfile"
61293
61294 # func_dirname file append nondir_replacement
61295 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61296 # otherwise set result to NONDIR_REPLACEMENT.
61297 func_dirname ()
61298 {
61299 # Extract subdirectory from the argument.
61300 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61301 if test "X$func_dirname_result" = "X${1}"; then
61302 func_dirname_result="${3}"
61303 else
61304 func_dirname_result="$func_dirname_result${2}"
61305 fi
61306 }
61307
61308 # func_basename file
61309 func_basename ()
61310 {
61311 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61312 }
61313
61314
61315 # func_stripname prefix suffix name
61316 # strip PREFIX and SUFFIX off of NAME.
61317 # PREFIX and SUFFIX must not contain globbing or regex special
61318 # characters, hashes, percent signs, but SUFFIX may contain a leading
61319 # dot (in which case that matches only a dot).
61320 # func_strip_suffix prefix name
61321 func_stripname ()
61322 {
61323 case ${2} in
61324 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61325 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61326 esac
61327 }
61328
61329 # sed scripts:
61330 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61331 my_sed_long_arg='1s/^-[^=]*=//'
61332
61333 # func_opt_split
61334 func_opt_split ()
61335 {
61336 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61337 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61338 }
61339
61340 # func_lo2o object
61341 func_lo2o ()
61342 {
61343 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61344 }
61345
61346 # func_xform libobj-or-source
61347 func_xform ()
61348 {
61349 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61350 }
61351
61352 # func_arith arithmetic-term...
61353 func_arith ()
61354 {
61355 func_arith_result=`expr "$@"`
61356 }
61357
61358 # func_len string
61359 # STRING may not start with a hyphen.
61360 func_len ()
61361 {
61362 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61363 }
61364
61365 _LT_EOF
61366 esac
61367
61368 case $lt_shell_append in
61369 yes)
61370 cat << \_LT_EOF >> "$cfgfile"
61371
61372 # func_append var value
61373 # Append VALUE to the end of shell variable VAR.
61374 func_append ()
61375 {
61376 eval "$1+=\$2"
61377 }
61378 _LT_EOF
61379 ;;
61380 *)
61381 cat << \_LT_EOF >> "$cfgfile"
61382
61383 # func_append var value
61384 # Append VALUE to the end of shell variable VAR.
61385 func_append ()
61386 {
61387 eval "$1=\$$1\$2"
61388 }
61389
61390 _LT_EOF
61391 ;;
61392 esac
61393
61394
61395 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61396 || (rm -f "$cfgfile"; exit 1)
61397
61398 mv -f "$cfgfile" "$ofile" ||
61399 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61400 chmod +x "$ofile"
61401
61402
61403 cat <<_LT_EOF >> "$ofile"
61404
61405 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61406
61407 # The linker used to build libraries.
61408 LD=$lt_LD_CXX
61409
61410 # How to create reloadable object files.
61411 reload_flag=$lt_reload_flag_CXX
61412 reload_cmds=$lt_reload_cmds_CXX
61413
61414 # Commands used to build an old-style archive.
61415 old_archive_cmds=$lt_old_archive_cmds_CXX
61416
61417 # A language specific compiler.
61418 CC=$lt_compiler_CXX
61419
61420 # Is the compiler the GNU compiler?
61421 with_gcc=$GCC_CXX
61422
61423 # Compiler flag to turn off builtin functions.
61424 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61425
61426 # How to pass a linker flag through the compiler.
61427 wl=$lt_lt_prog_compiler_wl_CXX
61428
61429 # Additional compiler flags for building library objects.
61430 pic_flag=$lt_lt_prog_compiler_pic_CXX
61431
61432 # Compiler flag to prevent dynamic linking.
61433 link_static_flag=$lt_lt_prog_compiler_static_CXX
61434
61435 # Does compiler simultaneously support -c and -o options?
61436 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61437
61438 # Whether or not to add -lc for building shared libraries.
61439 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61440
61441 # Whether or not to disallow shared libs when runtime libs are static.
61442 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61443
61444 # Compiler flag to allow reflexive dlopens.
61445 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61446
61447 # Compiler flag to generate shared objects directly from archives.
61448 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61449
61450 # Whether the compiler copes with passing no objects directly.
61451 compiler_needs_object=$lt_compiler_needs_object_CXX
61452
61453 # Create an old-style archive from a shared archive.
61454 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61455
61456 # Create a temporary old-style archive to link instead of a shared archive.
61457 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61458
61459 # Commands used to build a shared archive.
61460 archive_cmds=$lt_archive_cmds_CXX
61461 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61462
61463 # Commands used to build a loadable module if different from building
61464 # a shared archive.
61465 module_cmds=$lt_module_cmds_CXX
61466 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61467
61468 # Whether we are building with GNU ld or not.
61469 with_gnu_ld=$lt_with_gnu_ld_CXX
61470
61471 # Flag that allows shared libraries with undefined symbols to be built.
61472 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61473
61474 # Flag that enforces no undefined symbols.
61475 no_undefined_flag=$lt_no_undefined_flag_CXX
61476
61477 # Flag to hardcode \$libdir into a binary during linking.
61478 # This must work even if \$libdir does not exist
61479 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61480
61481 # If ld is used when linking, flag to hardcode \$libdir into a binary
61482 # during linking. This must work even if \$libdir does not exist.
61483 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61484
61485 # Whether we need a single "-rpath" flag with a separated argument.
61486 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61487
61488 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61489 # DIR into the resulting binary.
61490 hardcode_direct=$hardcode_direct_CXX
61491
61492 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61493 # DIR into the resulting binary and the resulting library dependency is
61494 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61495 # library is relocated.
61496 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61497
61498 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61499 # into the resulting binary.
61500 hardcode_minus_L=$hardcode_minus_L_CXX
61501
61502 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61503 # into the resulting binary.
61504 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61505
61506 # Set to "yes" if building a shared library automatically hardcodes DIR
61507 # into the library and all subsequent libraries and executables linked
61508 # against it.
61509 hardcode_automatic=$hardcode_automatic_CXX
61510
61511 # Set to yes if linker adds runtime paths of dependent libraries
61512 # to runtime path list.
61513 inherit_rpath=$inherit_rpath_CXX
61514
61515 # Whether libtool must link a program against all its dependency libraries.
61516 link_all_deplibs=$link_all_deplibs_CXX
61517
61518 # Fix the shell variable \$srcfile for the compiler.
61519 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61520
61521 # Set to "yes" if exported symbols are required.
61522 always_export_symbols=$always_export_symbols_CXX
61523
61524 # The commands to list exported symbols.
61525 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61526
61527 # Symbols that should not be listed in the preloaded symbols.
61528 exclude_expsyms=$lt_exclude_expsyms_CXX
61529
61530 # Symbols that must always be exported.
61531 include_expsyms=$lt_include_expsyms_CXX
61532
61533 # Commands necessary for linking programs (against libraries) with templates.
61534 prelink_cmds=$lt_prelink_cmds_CXX
61535
61536 # Specify filename containing input files.
61537 file_list_spec=$lt_file_list_spec_CXX
61538
61539 # How to hardcode a shared library path into an executable.
61540 hardcode_action=$hardcode_action_CXX
61541
61542 # The directories searched by this compiler when creating a shared library.
61543 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61544
61545 # Dependencies to place before and after the objects being linked to
61546 # create a shared library.
61547 predep_objects=$lt_predep_objects_CXX
61548 postdep_objects=$lt_postdep_objects_CXX
61549 predeps=$lt_predeps_CXX
61550 postdeps=$lt_postdeps_CXX
61551
61552 # The library search path used internally by the compiler when linking
61553 # a shared library.
61554 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61555
61556 # ### END LIBTOOL TAG CONFIG: CXX
61557 _LT_EOF
61558
61559 ;;
61560 "include/gstdint.h":C)
61561 if test "$GCC" = yes; then
61562 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61563 else
61564 echo "/* generated for $CC */" > tmp-stdint.h
61565 fi
61566
61567 sed 's/^ *//' >> tmp-stdint.h <<EOF
61568
61569 #ifndef GCC_GENERATED_STDINT_H
61570 #define GCC_GENERATED_STDINT_H 1
61571
61572 #include <sys/types.h>
61573 EOF
61574
61575 if test "$acx_cv_header_stdint" != stdint.h; then
61576 echo "#include <stddef.h>" >> tmp-stdint.h
61577 fi
61578 if test "$acx_cv_header_stdint" != stddef.h; then
61579 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61580 fi
61581
61582 sed 's/^ *//' >> tmp-stdint.h <<EOF
61583 /* glibc uses these symbols as guards to prevent redefinitions. */
61584 #ifdef __int8_t_defined
61585 #define _INT8_T
61586 #define _INT16_T
61587 #define _INT32_T
61588 #endif
61589 #ifdef __uint32_t_defined
61590 #define _UINT32_T
61591 #endif
61592
61593 EOF
61594
61595 # ----------------- done header, emit basic int types -------------
61596 if test "$acx_cv_header_stdint" = stddef.h; then
61597 sed 's/^ *//' >> tmp-stdint.h <<EOF
61598
61599 #ifndef _UINT8_T
61600 #define _UINT8_T
61601 #ifndef __uint8_t_defined
61602 #define __uint8_t_defined
61603 typedef unsigned $acx_cv_type_int8_t uint8_t;
61604 #endif
61605 #endif
61606
61607 #ifndef _UINT16_T
61608 #define _UINT16_T
61609 #ifndef __uint16_t_defined
61610 #define __uint16_t_defined
61611 typedef unsigned $acx_cv_type_int16_t uint16_t;
61612 #endif
61613 #endif
61614
61615 #ifndef _UINT32_T
61616 #define _UINT32_T
61617 #ifndef __uint32_t_defined
61618 #define __uint32_t_defined
61619 typedef unsigned $acx_cv_type_int32_t uint32_t;
61620 #endif
61621 #endif
61622
61623 #ifndef _INT8_T
61624 #define _INT8_T
61625 #ifndef __int8_t_defined
61626 #define __int8_t_defined
61627 typedef $acx_cv_type_int8_t int8_t;
61628 #endif
61629 #endif
61630
61631 #ifndef _INT16_T
61632 #define _INT16_T
61633 #ifndef __int16_t_defined
61634 #define __int16_t_defined
61635 typedef $acx_cv_type_int16_t int16_t;
61636 #endif
61637 #endif
61638
61639 #ifndef _INT32_T
61640 #define _INT32_T
61641 #ifndef __int32_t_defined
61642 #define __int32_t_defined
61643 typedef $acx_cv_type_int32_t int32_t;
61644 #endif
61645 #endif
61646 EOF
61647 elif test "$ac_cv_type_u_int32_t" = yes; then
61648 sed 's/^ *//' >> tmp-stdint.h <<EOF
61649
61650 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61651 #ifndef _INT8_T
61652 #define _INT8_T
61653 #endif
61654 #ifndef _INT16_T
61655 #define _INT16_T
61656 #endif
61657 #ifndef _INT32_T
61658 #define _INT32_T
61659 #endif
61660
61661 #ifndef _UINT8_T
61662 #define _UINT8_T
61663 #ifndef __uint8_t_defined
61664 #define __uint8_t_defined
61665 typedef u_int8_t uint8_t;
61666 #endif
61667 #endif
61668
61669 #ifndef _UINT16_T
61670 #define _UINT16_T
61671 #ifndef __uint16_t_defined
61672 #define __uint16_t_defined
61673 typedef u_int16_t uint16_t;
61674 #endif
61675 #endif
61676
61677 #ifndef _UINT32_T
61678 #define _UINT32_T
61679 #ifndef __uint32_t_defined
61680 #define __uint32_t_defined
61681 typedef u_int32_t uint32_t;
61682 #endif
61683 #endif
61684 EOF
61685 else
61686 sed 's/^ *//' >> tmp-stdint.h <<EOF
61687
61688 /* Some systems have guard macros to prevent redefinitions, define them. */
61689 #ifndef _INT8_T
61690 #define _INT8_T
61691 #endif
61692 #ifndef _INT16_T
61693 #define _INT16_T
61694 #endif
61695 #ifndef _INT32_T
61696 #define _INT32_T
61697 #endif
61698 #ifndef _UINT8_T
61699 #define _UINT8_T
61700 #endif
61701 #ifndef _UINT16_T
61702 #define _UINT16_T
61703 #endif
61704 #ifndef _UINT32_T
61705 #define _UINT32_T
61706 #endif
61707 EOF
61708 fi
61709
61710 # ------------- done basic int types, emit int64_t types ------------
61711 if test "$ac_cv_type_uint64_t" = yes; then
61712 sed 's/^ *//' >> tmp-stdint.h <<EOF
61713
61714 /* system headers have good uint64_t and int64_t */
61715 #ifndef _INT64_T
61716 #define _INT64_T
61717 #endif
61718 #ifndef _UINT64_T
61719 #define _UINT64_T
61720 #endif
61721 EOF
61722 elif test "$ac_cv_type_u_int64_t" = yes; then
61723 sed 's/^ *//' >> tmp-stdint.h <<EOF
61724
61725 /* system headers have an u_int64_t (and int64_t) */
61726 #ifndef _INT64_T
61727 #define _INT64_T
61728 #endif
61729 #ifndef _UINT64_T
61730 #define _UINT64_T
61731 #ifndef __uint64_t_defined
61732 #define __uint64_t_defined
61733 typedef u_int64_t uint64_t;
61734 #endif
61735 #endif
61736 EOF
61737 elif test -n "$acx_cv_type_int64_t"; then
61738 sed 's/^ *//' >> tmp-stdint.h <<EOF
61739
61740 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61741 #ifndef _INT64_T
61742 #define _INT64_T
61743 typedef $acx_cv_type_int64_t int64_t;
61744 #endif
61745 #ifndef _UINT64_T
61746 #define _UINT64_T
61747 #ifndef __uint64_t_defined
61748 #define __uint64_t_defined
61749 typedef unsigned $acx_cv_type_int64_t uint64_t;
61750 #endif
61751 #endif
61752 EOF
61753 else
61754 sed 's/^ *//' >> tmp-stdint.h <<EOF
61755
61756 /* some common heuristics for int64_t, using compiler-specific tests */
61757 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61758 #ifndef _INT64_T
61759 #define _INT64_T
61760 #ifndef __int64_t_defined
61761 typedef long long int64_t;
61762 #endif
61763 #endif
61764 #ifndef _UINT64_T
61765 #define _UINT64_T
61766 typedef unsigned long long uint64_t;
61767 #endif
61768
61769 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61770 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61771 does not implement __extension__. But that compiler doesn't define
61772 __GNUC_MINOR__. */
61773 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61774 # define __extension__
61775 # endif
61776
61777 # ifndef _INT64_T
61778 # define _INT64_T
61779 __extension__ typedef long long int64_t;
61780 # endif
61781 # ifndef _UINT64_T
61782 # define _UINT64_T
61783 __extension__ typedef unsigned long long uint64_t;
61784 # endif
61785
61786 #elif !defined __STRICT_ANSI__
61787 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61788
61789 # ifndef _INT64_T
61790 # define _INT64_T
61791 typedef __int64 int64_t;
61792 # endif
61793 # ifndef _UINT64_T
61794 # define _UINT64_T
61795 typedef unsigned __int64 uint64_t;
61796 # endif
61797 # endif /* compiler */
61798
61799 #endif /* ANSI version */
61800 EOF
61801 fi
61802
61803 # ------------- done int64_t types, emit intptr types ------------
61804 if test "$ac_cv_type_uintptr_t" != yes; then
61805 sed 's/^ *//' >> tmp-stdint.h <<EOF
61806
61807 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
61808 #ifndef __uintptr_t_defined
61809 typedef u$acx_cv_type_intptr_t uintptr_t;
61810 #endif
61811 #ifndef __intptr_t_defined
61812 typedef $acx_cv_type_intptr_t intptr_t;
61813 #endif
61814 EOF
61815 fi
61816
61817 # ------------- done intptr types, emit int_least types ------------
61818 if test "$ac_cv_type_int_least32_t" != yes; then
61819 sed 's/^ *//' >> tmp-stdint.h <<EOF
61820
61821 /* Define int_least types */
61822 typedef int8_t int_least8_t;
61823 typedef int16_t int_least16_t;
61824 typedef int32_t int_least32_t;
61825 #ifdef _INT64_T
61826 typedef int64_t int_least64_t;
61827 #endif
61828
61829 typedef uint8_t uint_least8_t;
61830 typedef uint16_t uint_least16_t;
61831 typedef uint32_t uint_least32_t;
61832 #ifdef _UINT64_T
61833 typedef uint64_t uint_least64_t;
61834 #endif
61835 EOF
61836 fi
61837
61838 # ------------- done intptr types, emit int_fast types ------------
61839 if test "$ac_cv_type_int_fast32_t" != yes; then
61840 sed 's/^ *//' >> tmp-stdint.h <<EOF
61841
61842 /* Define int_fast types. short is often slow */
61843 typedef int8_t int_fast8_t;
61844 typedef int int_fast16_t;
61845 typedef int32_t int_fast32_t;
61846 #ifdef _INT64_T
61847 typedef int64_t int_fast64_t;
61848 #endif
61849
61850 typedef uint8_t uint_fast8_t;
61851 typedef unsigned int uint_fast16_t;
61852 typedef uint32_t uint_fast32_t;
61853 #ifdef _UINT64_T
61854 typedef uint64_t uint_fast64_t;
61855 #endif
61856 EOF
61857 fi
61858
61859 if test "$ac_cv_type_uintmax_t" != yes; then
61860 sed 's/^ *//' >> tmp-stdint.h <<EOF
61861
61862 /* Define intmax based on what we found */
61863 #ifdef _INT64_T
61864 typedef int64_t intmax_t;
61865 #else
61866 typedef long intmax_t;
61867 #endif
61868 #ifdef _UINT64_T
61869 typedef uint64_t uintmax_t;
61870 #else
61871 typedef unsigned long uintmax_t;
61872 #endif
61873 EOF
61874 fi
61875
61876 sed 's/^ *//' >> tmp-stdint.h <<EOF
61877
61878 #endif /* GCC_GENERATED_STDINT_H */
61879 EOF
61880
61881 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
61882 rm -f tmp-stdint.h
61883 else
61884 mv -f tmp-stdint.h include/gstdint.h
61885 fi
61886
61887 ;;
61888 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
61889 "include/Makefile":F) cat > vpsed$$ << \_EOF
61890 s!`test -f '$<' || echo '$(srcdir)/'`!!
61891 _EOF
61892 sed -f vpsed$$ $ac_file > tmp$$
61893 mv tmp$$ $ac_file
61894 rm vpsed$$
61895 echo 'MULTISUBDIR =' >> $ac_file
61896 ml_norecursion=yes
61897 . ${multi_basedir}/config-ml.in
61898 { ml_norecursion=; unset ml_norecursion;}
61899 ;;
61900 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
61901 s!`test -f '$<' || echo '$(srcdir)/'`!!
61902 _EOF
61903 sed -f vpsed$$ $ac_file > tmp$$
61904 mv tmp$$ $ac_file
61905 rm vpsed$$
61906 echo 'MULTISUBDIR =' >> $ac_file
61907 ml_norecursion=yes
61908 . ${multi_basedir}/config-ml.in
61909 { ml_norecursion=; unset ml_norecursion;}
61910 ;;
61911 "python/Makefile":F) cat > vpsed$$ << \_EOF
61912 s!`test -f '$<' || echo '$(srcdir)/'`!!
61913 _EOF
61914 sed -f vpsed$$ $ac_file > tmp$$
61915 mv tmp$$ $ac_file
61916 rm vpsed$$
61917 echo 'MULTISUBDIR =' >> $ac_file
61918 ml_norecursion=yes
61919 . ${multi_basedir}/config-ml.in
61920 { ml_norecursion=; unset ml_norecursion;}
61921 ;;
61922 "src/Makefile":F) cat > vpsed$$ << \_EOF
61923 s!`test -f '$<' || echo '$(srcdir)/'`!!
61924 _EOF
61925 sed -f vpsed$$ $ac_file > tmp$$
61926 mv tmp$$ $ac_file
61927 rm vpsed$$
61928 echo 'MULTISUBDIR =' >> $ac_file
61929 ml_norecursion=yes
61930 . ${multi_basedir}/config-ml.in
61931 { ml_norecursion=; unset ml_norecursion;}
61932 ;;
61933 "doc/Makefile":F) cat > vpsed$$ << \_EOF
61934 s!`test -f '$<' || echo '$(srcdir)/'`!!
61935 _EOF
61936 sed -f vpsed$$ $ac_file > tmp$$
61937 mv tmp$$ $ac_file
61938 rm vpsed$$
61939 echo 'MULTISUBDIR =' >> $ac_file
61940 ml_norecursion=yes
61941 . ${multi_basedir}/config-ml.in
61942 { ml_norecursion=; unset ml_norecursion;}
61943 ;;
61944 "po/Makefile":F) cat > vpsed$$ << \_EOF
61945 s!`test -f '$<' || echo '$(srcdir)/'`!!
61946 _EOF
61947 sed -f vpsed$$ $ac_file > tmp$$
61948 mv tmp$$ $ac_file
61949 rm vpsed$$
61950 echo 'MULTISUBDIR =' >> $ac_file
61951 ml_norecursion=yes
61952 . ${multi_basedir}/config-ml.in
61953 { ml_norecursion=; unset ml_norecursion;}
61954 ;;
61955 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
61956 s!`test -f '$<' || echo '$(srcdir)/'`!!
61957 _EOF
61958 sed -f vpsed$$ $ac_file > tmp$$
61959 mv tmp$$ $ac_file
61960 rm vpsed$$
61961 echo 'MULTISUBDIR =' >> $ac_file
61962 ml_norecursion=yes
61963 . ${multi_basedir}/config-ml.in
61964 { ml_norecursion=; unset ml_norecursion;}
61965 ;;
61966 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
61967
61968 esac
61969 done # for ac_tag
61970
61971
61972 as_fn_exit 0
61973 _ACEOF
61974 ac_clean_files=$ac_clean_files_save
61975
61976 test $ac_write_fail = 0 ||
61977 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
61978
61979
61980 # configure is writing to config.log, and then calls config.status.
61981 # config.status does its own redirection, appending to config.log.
61982 # Unfortunately, on DOS this fails, as config.log is still kept open
61983 # by configure, so config.status won't be able to write to it; its
61984 # output is simply discarded. So we exec the FD to /dev/null,
61985 # effectively closing config.log, so it can be properly (re)opened and
61986 # appended to by config.status. When coming back to configure, we
61987 # need to make the FD available again.
61988 if test "$no_create" != yes; then
61989 ac_cs_success=:
61990 ac_config_status_args=
61991 test "$silent" = yes &&
61992 ac_config_status_args="$ac_config_status_args --quiet"
61993 exec 5>/dev/null
61994 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
61995 exec 5>>config.log
61996 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
61997 # would make configure fail if this is the last instruction.
61998 $ac_cs_success || as_fn_exit $?
61999 fi
62000 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62002 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62003 fi
62004